30
30
import com .fasterxml .jackson .annotation .JsonProperty ;
31
31
32
32
/**
33
- * FantaFlavorOneOf
33
+ * FlavorType
34
34
*/
35
35
// CHECKSTYLE:OFF
36
- public class FantaFlavorOneOf
36
+ public class FlavorType
37
37
// CHECKSTYLE:ON
38
38
{
39
39
@ JsonProperty ( "intensity" )
@@ -47,30 +47,30 @@ public class FantaFlavorOneOf
47
47
private final Map <String , Object > cloudSdkCustomFields = new LinkedHashMap <>();
48
48
49
49
/**
50
- * Default constructor for FantaFlavorOneOf .
50
+ * Default constructor for FlavorType .
51
51
*/
52
- protected FantaFlavorOneOf ()
52
+ protected FlavorType ()
53
53
{
54
54
}
55
55
56
56
/**
57
- * Set the intensity of this {@link FantaFlavorOneOf } instance and return the same instance.
57
+ * Set the intensity of this {@link FlavorType } instance and return the same instance.
58
58
*
59
59
* @param intensity
60
- * The intensity of this {@link FantaFlavorOneOf}
61
- * @return The same instance of this {@link FantaFlavorOneOf } class
60
+ * The intensity of the flavor
61
+ * @return The same instance of this {@link FlavorType } class
62
62
*/
63
63
@ Nonnull
64
- public FantaFlavorOneOf intensity ( @ Nullable final Integer intensity )
64
+ public FlavorType intensity ( @ Nullable final Integer intensity )
65
65
{
66
66
this .intensity = intensity ;
67
67
return this ;
68
68
}
69
69
70
70
/**
71
- * Get intensity
71
+ * The intensity of the flavor
72
72
*
73
- * @return intensity The intensity of this {@link FantaFlavorOneOf } instance.
73
+ * @return intensity The intensity of this {@link FlavorType } instance.
74
74
*/
75
75
@ Nonnull
76
76
public Integer getIntensity ()
@@ -79,34 +79,34 @@ public Integer getIntensity()
79
79
}
80
80
81
81
/**
82
- * Set the intensity of this {@link FantaFlavorOneOf } instance.
82
+ * Set the intensity of this {@link FlavorType } instance.
83
83
*
84
84
* @param intensity
85
- * The intensity of this {@link FantaFlavorOneOf}
85
+ * The intensity of the flavor
86
86
*/
87
87
public void setIntensity ( @ Nullable final Integer intensity )
88
88
{
89
89
this .intensity = intensity ;
90
90
}
91
91
92
92
/**
93
- * Set the nuance of this {@link FantaFlavorOneOf } instance and return the same instance.
93
+ * Set the nuance of this {@link FlavorType } instance and return the same instance.
94
94
*
95
95
* @param nuance
96
- * The nuance of this {@link FantaFlavorOneOf}
97
- * @return The same instance of this {@link FantaFlavorOneOf } class
96
+ * The nuance of the flavor
97
+ * @return The same instance of this {@link FlavorType } class
98
98
*/
99
99
@ Nonnull
100
- public FantaFlavorOneOf nuance ( @ Nullable final String nuance )
100
+ public FlavorType nuance ( @ Nullable final String nuance )
101
101
{
102
102
this .nuance = nuance ;
103
103
return this ;
104
104
}
105
105
106
106
/**
107
- * Get nuance
107
+ * The nuance of the flavor
108
108
*
109
- * @return nuance The nuance of this {@link FantaFlavorOneOf } instance.
109
+ * @return nuance The nuance of this {@link FlavorType } instance.
110
110
*/
111
111
@ Nonnull
112
112
public String getNuance ()
@@ -115,18 +115,18 @@ public String getNuance()
115
115
}
116
116
117
117
/**
118
- * Set the nuance of this {@link FantaFlavorOneOf } instance.
118
+ * Set the nuance of this {@link FlavorType } instance.
119
119
*
120
120
* @param nuance
121
- * The nuance of this {@link FantaFlavorOneOf}
121
+ * The nuance of the flavor
122
122
*/
123
123
public void setNuance ( @ Nullable final String nuance )
124
124
{
125
125
this .nuance = nuance ;
126
126
}
127
127
128
128
/**
129
- * Get the names of the unrecognizable properties of the {@link FantaFlavorOneOf }.
129
+ * Get the names of the unrecognizable properties of the {@link FlavorType }.
130
130
*
131
131
* @return The set of properties names
132
132
*/
@@ -138,7 +138,7 @@ public Set<String> getCustomFieldNames()
138
138
}
139
139
140
140
/**
141
- * Get the value of an unrecognizable property of this {@link FantaFlavorOneOf } instance.
141
+ * Get the value of an unrecognizable property of this {@link FlavorType } instance.
142
142
*
143
143
* @deprecated Use {@link #toMap()} instead.
144
144
* @param name
@@ -153,13 +153,13 @@ public Object getCustomField( @Nonnull final String name )
153
153
throws NoSuchElementException
154
154
{
155
155
if ( !cloudSdkCustomFields .containsKey (name ) ) {
156
- throw new NoSuchElementException ("FantaFlavorOneOf has no field with name '" + name + "'." );
156
+ throw new NoSuchElementException ("FlavorType has no field with name '" + name + "'." );
157
157
}
158
158
return cloudSdkCustomFields .get (name );
159
159
}
160
160
161
161
/**
162
- * Get the value of all properties of this {@link FantaFlavorOneOf } instance including unrecognized properties.
162
+ * Get the value of all properties of this {@link FlavorType } instance including unrecognized properties.
163
163
*
164
164
* @return The map of all properties
165
165
*/
@@ -176,8 +176,8 @@ public Map<String, Object> toMap()
176
176
}
177
177
178
178
/**
179
- * Set an unrecognizable property of this {@link FantaFlavorOneOf } instance. If the map previously contained a
180
- * mapping for the key, the old value is replaced by the specified value.
179
+ * Set an unrecognizable property of this {@link FlavorType } instance. If the map previously contained a mapping for
180
+ * the key, the old value is replaced by the specified value.
181
181
*
182
182
* @param customFieldName
183
183
* The name of the property
@@ -199,10 +199,10 @@ public boolean equals( @Nullable final java.lang.Object o )
199
199
if ( o == null || getClass () != o .getClass () ) {
200
200
return false ;
201
201
}
202
- final FantaFlavorOneOf fantaFlavorOneOf = (FantaFlavorOneOf ) o ;
203
- return Objects .equals (this .cloudSdkCustomFields , fantaFlavorOneOf .cloudSdkCustomFields )
204
- && Objects .equals (this .intensity , fantaFlavorOneOf .intensity )
205
- && Objects .equals (this .nuance , fantaFlavorOneOf .nuance );
202
+ final FlavorType flavorType = (FlavorType ) o ;
203
+ return Objects .equals (this .cloudSdkCustomFields , flavorType .cloudSdkCustomFields )
204
+ && Objects .equals (this .intensity , flavorType .intensity )
205
+ && Objects .equals (this .nuance , flavorType .nuance );
206
206
}
207
207
208
208
@ Override
@@ -216,7 +216,7 @@ public int hashCode()
216
216
public String toString ()
217
217
{
218
218
final StringBuilder sb = new StringBuilder ();
219
- sb .append ("class FantaFlavorOneOf {\n " );
219
+ sb .append ("class FlavorType {\n " );
220
220
sb .append (" intensity: " ).append (toIndentedString (intensity )).append ("\n " );
221
221
sb .append (" nuance: " ).append (toIndentedString (nuance )).append ("\n " );
222
222
cloudSdkCustomFields
@@ -237,11 +237,11 @@ private String toIndentedString( final java.lang.Object o )
237
237
}
238
238
239
239
/**
240
- * Create a new {@link FantaFlavorOneOf } instance. No arguments are required.
240
+ * Create a new {@link FlavorType } instance. No arguments are required.
241
241
*/
242
- public static FantaFlavorOneOf create ()
242
+ public static FlavorType create ()
243
243
{
244
- return new FantaFlavorOneOf ();
244
+ return new FlavorType ();
245
245
}
246
246
247
247
}
0 commit comments