@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class TemplateProjection extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TemplateProjection.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_ID |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_UPDATED_AT |
static String |
SERIALIZED_NAME_VARIABLES |
Constructor and Description |
---|
TemplateProjection() |
Modifier and Type | Method and Description |
---|---|
TemplateProjection |
addVariablesItem(String variablesItem) |
TemplateProjection |
createdAt(OffsetDateTime createdAt) |
boolean |
equals(Object o) |
static TemplateProjection |
fromJson(String jsonString)
Create an instance of TemplateProjection given an JSON string
|
OffsetDateTime |
getCreatedAt()
Get createdAt
|
UUID |
getId()
Get id
|
String |
getName()
Get name
|
OffsetDateTime |
getUpdatedAt()
Get updatedAt
|
List<String> |
getVariables()
Get variables
|
int |
hashCode() |
TemplateProjection |
id(UUID id) |
TemplateProjection |
name(String name) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setId(UUID id) |
void |
setName(String name) |
void |
setUpdatedAt(OffsetDateTime updatedAt) |
void |
setVariables(List<String> variables) |
String |
toJson()
Convert an instance of TemplateProjection to an JSON string
|
String |
toString() |
TemplateProjection |
updatedAt(OffsetDateTime updatedAt) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
TemplateProjection |
variables(List<String> variables) |
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_VARIABLES
public TemplateProjection name(String name)
public void setName(String name)
public TemplateProjection id(UUID id)
public void setId(UUID id)
public TemplateProjection createdAt(OffsetDateTime createdAt)
@Nonnull public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public TemplateProjection updatedAt(OffsetDateTime updatedAt)
@Nonnull public OffsetDateTime getUpdatedAt()
public void setUpdatedAt(OffsetDateTime updatedAt)
public TemplateProjection variables(List<String> variables)
public TemplateProjection addVariablesItem(String variablesItem)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to TemplateProjectionpublic static TemplateProjection fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to TemplateProjectionpublic String toJson()
Copyright © 2023. All rights reserved.