Package ai.shipeasy.admin.model
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of ListSlackChannelsResponseChannelsInner given an JSON stringgetId()Slack channel id.Whether the channel is private.getName()Slack channel name (without the leading `#`).inthashCode()voidvoidsetIsPrivate(Boolean isPrivate) voidtoJson()Convert an instance of ListSlackChannelsResponseChannelsInner to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_IS_PRIVATE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListSlackChannelsResponseChannelsInner
public ListSlackChannelsResponseChannelsInner()
-
-
Method Details
-
id
-
getId
Slack channel id.- Returns:
- id
-
setId
-
name
-
getName
Slack channel name (without the leading `#`).- Returns:
- name
-
setName
-
isPrivate
-
getIsPrivate
Whether the channel is private.- Returns:
- isPrivate
-
setIsPrivate
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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
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
Convert an instance of ListSlackChannelsResponseChannelsInner to an JSON string- Returns:
- JSON string
-