ProfileEnumValidValuesFormat Class
- java.
lang. Object - com.
azure. resourcemanager. customerinsights. models. ProfileEnumValidValuesFormat
- com.
Implements
public final class ProfileEnumValidValuesFormat
implements JsonSerializable<ProfileEnumValidValuesFormat>
Valid enum values in case of an enum property.
Constructor Summary
| Constructor | Description |
|---|---|
| ProfileEnumValidValuesFormat() |
Creates an instance of Profile |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Profile |
fromJson(JsonReader jsonReader)
Reads an instance of Profile |
| Map<String,String> |
localizedValueNames()
Get the localized |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Integer |
value()
Get the value property: The integer value of the enum member. |
|
Profile |
withLocalizedValueNames(Map<String,String> localizedValueNames)
Set the localized |
|
Profile |
withValue(Integer value)
Set the value property: The integer value of the enum member. |
Methods inherited from java.lang.Object
Constructor Details
ProfileEnumValidValuesFormat
public ProfileEnumValidValuesFormat()
Creates an instance of ProfileEnumValidValuesFormat class.
Method Details
fromJson
public static ProfileEnumValidValuesFormat fromJson(JsonReader jsonReader)
Reads an instance of ProfileEnumValidValuesFormat from the JsonReader.
Parameters:
Returns:
Throws:
localizedValueNames
public Map<String,String> localizedValueNames()
Get the localizedValueNames property: Localized names of the enum member.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public Integer value()
Get the value property: The integer value of the enum member.
Returns:
withLocalizedValueNames
public ProfileEnumValidValuesFormat withLocalizedValueNames(Map<String,String> localizedValueNames)
Set the localizedValueNames property: Localized names of the enum member.
Parameters:
Returns:
withValue
public ProfileEnumValidValuesFormat withValue(Integer value)
Set the value property: The integer value of the enum member.
Parameters:
Returns: