Class UpdateTopicData


  • @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 UpdateTopicData
    extends Object
    UpdateTopicData
    • Constructor Detail

      • UpdateTopicData

        public UpdateTopicData()
    • Method Detail

      • getName

        @Nonnull
        @NotNull
        public @NotNull String getName()
        The new name of the topic. A name is not generated from this field, it is used as-is.
        Returns:
        name
      • setName

        public void setName​(String name)
      • getTopicId

        @Nonnull
        @NotNull
        @Valid
        public @NotNull @Valid UUID getTopicId()
        The id of the topic to target.
        Returns:
        topicId
      • setTopicId

        public void setTopicId​(UUID topicId)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates 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 UpdateTopicData
      • fromJson

        public static UpdateTopicData fromJson​(String jsonString)
                                        throws IOException
        Create an instance of UpdateTopicData given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of UpdateTopicData
        Throws:
        IOException - if the JSON string is invalid with respect to UpdateTopicData
      • toJson

        public String toJson()
        Convert an instance of UpdateTopicData to an JSON string
        Returns:
        JSON string