Package org.openapitools.client.model
Class DeleteTopicData
- java.lang.Object
-
- org.openapitools.client.model.DeleteTopicData
-
@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 DeleteTopicData extends Object
DeleteTopicData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeleteTopicData.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_TOPIC_ID
-
Constructor Summary
Constructors Constructor Description DeleteTopicData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static DeleteTopicDatafromJson(String jsonString)Create an instance of DeleteTopicData given an JSON string@NotNull @Valid UUIDgetTopicId()The id of the topic to target.inthashCode()voidsetTopicId(UUID topicId)StringtoJson()Convert an instance of DeleteTopicData to an JSON stringDeleteTopicDatatopicId(UUID topicId)StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Method Detail
-
topicId
public DeleteTopicData topicId(UUID topicId)
-
getTopicId
@Nonnull @NotNull @Valid public @NotNull @Valid UUID getTopicId()
The id of the topic to target.- Returns:
- topicId
-
setTopicId
public void setTopicId(UUID topicId)
-
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 DeleteTopicData
-
fromJson
public static DeleteTopicData fromJson(String jsonString) throws IOException
Create an instance of DeleteTopicData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DeleteTopicData
- Throws:
IOException- if the JSON string is invalid with respect to DeleteTopicData
-
toJson
public String toJson()
Convert an instance of DeleteTopicData to an JSON string- Returns:
- JSON string
-
-