Package ai.shipeasy.admin.model
Class ListSlackChannelsResponse
java.lang.Object
ai.shipeasy.admin.model.ListSlackChannelsResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class ListSlackChannelsResponse
extends Object
Response for `GET /api/admin/slack/channels`.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddChannelsItem(ListSlackChannelsResponseChannelsInner channelsItem) channels(List<ListSlackChannelsResponseChannelsInner> channels) booleanstatic ListSlackChannelsResponseCreate an instance of ListSlackChannelsResponse given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The project's Slack channels (empty when no Slack is connected).Whether a Slack connector is connected and authenticated.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetConnected(Boolean connected) toJson()Convert an instance of ListSlackChannelsResponse 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_CONNECTED
- See Also:
-
SERIALIZED_NAME_CHANNELS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListSlackChannelsResponse
public ListSlackChannelsResponse()
-
-
Method Details
-
connected
-
getConnected
Whether a Slack connector is connected and authenticated.- Returns:
- connected
-
setConnected
-
channels
public ListSlackChannelsResponse channels(@Nonnull List<ListSlackChannelsResponseChannelsInner> channels) -
addChannelsItem
public ListSlackChannelsResponse addChannelsItem(ListSlackChannelsResponseChannelsInner channelsItem) -
getChannels
The project's Slack channels (empty when no Slack is connected).- Returns:
- channels
-
setChannels
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the ListSlackChannelsResponse instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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 ListSlackChannelsResponse
-
fromJson
Create an instance of ListSlackChannelsResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListSlackChannelsResponse
- Throws:
IOException- if the JSON string is invalid with respect to ListSlackChannelsResponse
-
toJson
Convert an instance of ListSlackChannelsResponse to an JSON string- Returns:
- JSON string
-