@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class GroupProjection extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GroupProjection.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 |
---|
GroupProjection() |
Modifier and Type | Method and Description |
---|---|
GroupProjection |
createdAt(OffsetDateTime createdAt) |
GroupProjection |
description(String description) |
boolean |
equals(Object o) |
static GroupProjection |
fromJson(String jsonString)
Create an instance of GroupProjection given an JSON string
|
OffsetDateTime |
getCreatedAt()
Get createdAt
|
String |
getDescription()
Get description
|
UUID |
getId()
Get id
|
String |
getName()
Get name
|
int |
hashCode() |
GroupProjection |
id(UUID id) |
GroupProjection |
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 GroupProjection 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_NAME
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_CREATED_AT
public GroupProjection name(String name)
public void setName(String name)
public GroupProjection id(UUID id)
public void setId(UUID id)
public GroupProjection description(String description)
public void setDescription(String description)
public GroupProjection 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 GroupProjectionpublic static GroupProjection fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to GroupProjectionpublic String toJson()
Copyright © 2023. All rights reserved.