Class ListSlackChannelsResponseChannelsInner

java.lang.Object
ai.shipeasy.admin.model.ListSlackChannelsResponseChannelsInner

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.23.0") public class ListSlackChannelsResponseChannelsInner extends Object
One Slack channel the project can post to.
  • Field Details

  • Constructor Details

    • ListSlackChannelsResponseChannelsInner

      public ListSlackChannelsResponseChannelsInner()
  • Method Details

    • id

    • getId

      @Nonnull public String getId()
      Slack channel id.
      Returns:
      id
    • setId

      public void setId(@Nonnull String id)
    • name

      public ListSlackChannelsResponseChannelsInner name(@Nonnull String name)
    • getName

      @Nonnull public String getName()
      Slack channel name (without the leading `#`).
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • isPrivate

      public ListSlackChannelsResponseChannelsInner isPrivate(@Nullable Boolean isPrivate)
    • getIsPrivate

      @Nullable public Boolean getIsPrivate()
      Whether the channel is private.
      Returns:
      isPrivate
    • setIsPrivate

      public void setIsPrivate(@Nullable Boolean isPrivate)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString 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 ListSlackChannelsResponseChannelsInner
    • fromJson

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

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