Package org.openapitools.client.model
Class Topic
- java.lang.Object
-
- org.openapitools.client.model.Topic
-
@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 Topic extends Object
Topic
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTopic.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_DATASET_IDstatic StringSERIALIZED_NAME_DELETEDstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_UPDATED_ATstatic StringSERIALIZED_NAME_USER_ID
-
Constructor Summary
Constructors Constructor Description Topic()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TopiccreatedAt(OffsetDateTime createdAt)TopicdatasetId(UUID datasetId)Topicdeleted(Boolean deleted)booleanequals(Object o)static TopicfromJson(String jsonString)Create an instance of Topic given an JSON string@NotNull @Valid OffsetDateTimegetCreatedAt()Get createdAt@NotNull @Valid UUIDgetDatasetId()Get datasetId@NotNull BooleangetDeleted()Get deleted@NotNull @Valid UUIDgetId()Get id@NotNull StringgetName()Get name@NotNull @Valid OffsetDateTimegetUpdatedAt()Get updatedAt@NotNull @Valid UUIDgetUserId()Get userIdinthashCode()Topicid(UUID id)Topicname(String name)voidsetCreatedAt(OffsetDateTime createdAt)voidsetDatasetId(UUID datasetId)voidsetDeleted(Boolean deleted)voidsetId(UUID id)voidsetName(String name)voidsetUpdatedAt(OffsetDateTime updatedAt)voidsetUserId(UUID userId)StringtoJson()Convert an instance of Topic to an JSON stringStringtoString()TopicupdatedAt(OffsetDateTime updatedAt)TopicuserId(UUID userId)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATASET_ID
public static final String SERIALIZED_NAME_DATASET_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DELETED
public static final String SERIALIZED_NAME_DELETED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_USER_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
createdAt
public Topic createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nonnull @NotNull @Valid public @NotNull @Valid OffsetDateTime getCreatedAt()
Get createdAt- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
getDatasetId
@Nonnull @NotNull @Valid public @NotNull @Valid UUID getDatasetId()
Get datasetId- Returns:
- datasetId
-
setDatasetId
public void setDatasetId(UUID datasetId)
-
setDeleted
public void setDeleted(Boolean deleted)
-
setId
public void setId(UUID id)
-
setName
public void setName(String name)
-
updatedAt
public Topic updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nonnull @NotNull @Valid public @NotNull @Valid OffsetDateTime getUpdatedAt()
Get updatedAt- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
getUserId
@Nonnull @NotNull @Valid public @NotNull @Valid UUID getUserId()
Get userId- Returns:
- userId
-
setUserId
public void setUserId(UUID userId)
-
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 Topic
-
fromJson
public static Topic fromJson(String jsonString) throws IOException
Create an instance of Topic given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Topic
- Throws:
IOException- if the JSON string is invalid with respect to Topic
-
toJson
public String toJson()
Convert an instance of Topic to an JSON string- Returns:
- JSON string
-
-