Package org.openapitools.client.model
Class Range
- java.lang.Object
-
- org.openapitools.client.model.Range
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-29T12:34:27.506198300-05:00[America/Chicago]", comments="Generator version: 7.4.0") public class Range extends Object
Range
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRange.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_GTstatic StringSERIALIZED_NAME_GTEstatic StringSERIALIZED_NAME_LTstatic StringSERIALIZED_NAME_LTE
-
Constructor Summary
Constructors Constructor Description Range()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static RangefromJson(String jsonString)Create an instance of Range given an JSON stringDoublegetGt()Get gtDoublegetGte()Get gteDoublegetLt()Get ltDoublegetLte()Get lteRangegt(Double gt)Rangegte(Double gte)inthashCode()Rangelt(Double lt)Rangelte(Double lte)voidsetGt(Double gt)voidsetGte(Double gte)voidsetLt(Double lt)voidsetLte(Double lte)StringtoJson()Convert an instance of Range to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_GT
public static final String SERIALIZED_NAME_GT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GTE
public static final String SERIALIZED_NAME_GTE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LT
public static final String SERIALIZED_NAME_LT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LTE
public static final String SERIALIZED_NAME_LTE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setGt
public void setGt(Double gt)
-
setGte
public void setGte(Double gte)
-
setLt
public void setLt(Double lt)
-
setLte
public void setLte(Double lte)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to Range
-
fromJson
public static Range fromJson(String jsonString) throws IOException
Create an instance of Range given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Range
- Throws:
IOException- if the JSON string is invalid with respect to Range
-
toJson
public String toJson()
Convert an instance of Range to an JSON string- Returns:
- JSON string
-
-