Package org.openapitools.client.model
Class UpdateOrganizationData
- java.lang.Object
-
- org.openapitools.client.model.UpdateOrganizationData
-
@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 UpdateOrganizationData extends Object
UpdateOrganizationData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateOrganizationData.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_ORGANIZATION_ID
-
Constructor Summary
Constructors Constructor Description UpdateOrganizationData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static UpdateOrganizationDatafromJson(String jsonString)Create an instance of UpdateOrganizationData given an JSON stringStringgetName()The new name of the organization.@NotNull @Valid UUIDgetOrganizationId()The id of the organization to update.inthashCode()UpdateOrganizationDataname(String name)UpdateOrganizationDataorganizationId(UUID organizationId)voidsetName(String name)voidsetOrganizationId(UUID organizationId)StringtoJson()Convert an instance of UpdateOrganizationData 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_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ORGANIZATION_ID
public static final String SERIALIZED_NAME_ORGANIZATION_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public UpdateOrganizationData name(String name)
-
getName
@Nullable public String getName()
The new name of the organization. If not provided, the name will not be updated.- Returns:
- name
-
setName
public void setName(String name)
-
organizationId
public UpdateOrganizationData organizationId(UUID organizationId)
-
getOrganizationId
@Nonnull @NotNull @Valid public @NotNull @Valid UUID getOrganizationId()
The id of the organization to update.- Returns:
- organizationId
-
setOrganizationId
public void setOrganizationId(UUID organizationId)
-
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 UpdateOrganizationData
-
fromJson
public static UpdateOrganizationData fromJson(String jsonString) throws IOException
Create an instance of UpdateOrganizationData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateOrganizationData
- Throws:
IOException- if the JSON string is invalid with respect to UpdateOrganizationData
-
toJson
public String toJson()
Convert an instance of UpdateOrganizationData to an JSON string- Returns:
- JSON string
-
-