Package io.voucherify.client.model
Class MetadataSchemaDefinitionDeprecated
java.lang.Object
io.voucherify.client.model.MetadataSchemaDefinitionDeprecated
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class MetadataSchemaDefinitionDeprecated
extends Object
Custom definition name. This is also shown in **Project Settings** > **Metadata Schema** in the Voucherify Dashboard.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets type -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexactLength(Integer exactLength) Create an instance of MetadataSchemaDefinitionDeprecated given an JSON stringgetArray()Indicates whether the definition is an array.Indicates whether the definition was deleted from the schema.getEq()Array of possible values when the setting for `is equal to any of` in the Dashboard is defined explicitly.Value indicating exact length when the setting for `has exact length of` in the Dashboard is defined explicitly.getGt()A property of `number` type must be `greater than` this value.getGte()A property of `number` type must be `greater than or equal` to this value.getLt()A property of `number` type must have `less than` this value.getLte()A property of `number` type must be `less than or equal` to this value.Value for maximum length when the setting for `has maximum length of` in the Dashboard is defined explicitly.Value indicating minimum length when the setting for `has minimum length of` in the Dashboard is defined explicitly.getNe()Array of values that are not allowed when the setting for `is not equal to any of` in the Dashboard is defined explicitly.Returns the name of the custom resource if the resource was previously defined in the Dashboard as a custom (non-standard) Nested object.Indicates whether this definition is optional or not optional for the resource.getType()Get typeinthashCode()objectType(String objectType) voidvoidsetDeleted(Boolean deleted) voidvoidsetExactLength(Integer exactLength) voidvoidvoidvoidvoidsetMaxLength(Integer maxLength) voidsetMinLength(Integer minLength) voidvoidsetObjectType(String objectType) voidsetOptional(Boolean optional) voidtoJson()Convert an instance of MetadataSchemaDefinitionDeprecated to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_ARRAY
- See Also:
-
SERIALIZED_NAME_OPTIONAL
- See Also:
-
SERIALIZED_NAME_OBJECT_TYPE
- See Also:
-
SERIALIZED_NAME_EQ
- See Also:
-
SERIALIZED_NAME_NE
- See Also:
-
SERIALIZED_NAME_LT
- See Also:
-
SERIALIZED_NAME_LTE
- See Also:
-
SERIALIZED_NAME_GT
- See Also:
-
SERIALIZED_NAME_GTE
- See Also:
-
SERIALIZED_NAME_DELETED
- See Also:
-
SERIALIZED_NAME_MAX_LENGTH
- See Also:
-
SERIALIZED_NAME_MIN_LENGTH
- See Also:
-
SERIALIZED_NAME_EXACT_LENGTH
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
MetadataSchemaDefinitionDeprecated
public MetadataSchemaDefinitionDeprecated()
-
-
Method Details
-
type
-
getType
Get type- Returns:
- type
-
setType
-
array
-
getArray
Indicates whether the definition is an array.- Returns:
- array
-
setArray
-
optional
-
getOptional
Indicates whether this definition is optional or not optional for the resource.- Returns:
- optional
-
setOptional
-
objectType
-
getObjectType
Returns the name of the custom resource if the resource was previously defined in the Dashboard as a custom (non-standard) Nested object.- Returns:
- objectType
-
setObjectType
-
eq
-
addEqItem
-
getEq
Array of possible values when the setting for `is equal to any of` in the Dashboard is defined explicitly.- Returns:
- eq
-
setEq
-
ne
-
addNeItem
-
getNe
Array of values that are not allowed when the setting for `is not equal to any of` in the Dashboard is defined explicitly.- Returns:
- ne
-
setNe
-
lt
-
getLt
A property of `number` type must have `less than` this value.- Returns:
- lt
-
setLt
-
lte
-
getLte
A property of `number` type must be `less than or equal` to this value.- Returns:
- lte
-
setLte
-
gt
-
getGt
A property of `number` type must be `greater than` this value.- Returns:
- gt
-
setGt
-
gte
-
getGte
A property of `number` type must be `greater than or equal` to this value.- Returns:
- gte
-
setGte
-
deleted
-
getDeleted
Indicates whether the definition was deleted from the schema.- Returns:
- deleted
-
setDeleted
-
maxLength
-
getMaxLength
Value for maximum length when the setting for `has maximum length of` in the Dashboard is defined explicitly.- Returns:
- maxLength
-
setMaxLength
-
minLength
-
getMinLength
Value indicating minimum length when the setting for `has minimum length of` in the Dashboard is defined explicitly.- Returns:
- minLength
-
setMinLength
-
exactLength
-
getExactLength
Value indicating exact length when the setting for `has exact length of` in the Dashboard is defined explicitly.- Returns:
- exactLength
-
setExactLength
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of MetadataSchemaDefinitionDeprecated given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MetadataSchemaDefinitionDeprecated
- Throws:
IOException- if the JSON string is invalid with respect to MetadataSchemaDefinitionDeprecated
-
toJson
Convert an instance of MetadataSchemaDefinitionDeprecated to an JSON string- Returns:
- JSON string
-