@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class GroupDto extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GroupDto.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_DESCRIPTION |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_NAME |
Constructor and Description |
---|
GroupDto() |
Modifier and Type | Method and Description |
---|---|
GroupDto |
createdAt(OffsetDateTime createdAt) |
GroupDto |
description(String description) |
boolean |
equals(Object o) |
static GroupDto |
fromJson(String jsonString)
Create an instance of GroupDto given an JSON string
|
OffsetDateTime |
getCreatedAt()
Get createdAt
|
String |
getDescription()
Get description
|
UUID |
getId()
Get id
|
String |
getName()
Get name
|
int |
hashCode() |
GroupDto |
id(UUID id) |
GroupDto |
name(String name) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setDescription(String description) |
void |
setId(UUID id) |
void |
setName(String name) |
String |
toJson()
Convert an instance of GroupDto to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_CREATED_AT
public void setId(UUID id)
public void setName(String name)
public void setDescription(String description)
public GroupDto createdAt(OffsetDateTime createdAt)
@Nonnull public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to GroupDtopublic static GroupDto fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to GroupDtopublic String toJson()
Copyright © 2023. All rights reserved.