Package org.openapitools.client.models
Class ChannelResponse
-
- All Implemented Interfaces:
public final class ChannelResponseRepresents channel in chat
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringcidprivate final OffsetDateTimecreatedAtprivate final Map<String, Object>customprivate final Booleandisabledprivate final Booleanfrozenprivate final Stringidprivate final Stringtypeprivate final OffsetDateTimeupdatedAtprivate final BooleanautoTranslationEnabledprivate final StringautoTranslationLanguageprivate final Booleanblockedprivate final ChannelConfigWithInfoconfigprivate final Integercooldownprivate final UserObjectcreatedByprivate final OffsetDateTimedeletedAtprivate final Booleanhiddenprivate final OffsetDateTimehideMessagesBeforeprivate final OffsetDateTimelastMessageAtprivate final IntegermemberCountprivate final List<ChannelMember>membersprivate final OffsetDateTimemuteExpiresAtprivate final Booleanmutedprivate final List<String>ownCapabilitiesprivate final Stringteamprivate final OffsetDateTimetruncatedAtprivate final UserObjecttruncatedBy
-
Constructor Summary
Constructors Constructor Description ChannelResponse(String cid, OffsetDateTime createdAt, Map<String, Object> custom, Boolean disabled, Boolean frozen, String id, String type, OffsetDateTime updatedAt, Boolean autoTranslationEnabled, String autoTranslationLanguage, Boolean blocked, ChannelConfigWithInfo config, Integer cooldown, UserObject createdBy, OffsetDateTime deletedAt, Boolean hidden, OffsetDateTime hideMessagesBefore, OffsetDateTime lastMessageAt, Integer memberCount, List<ChannelMember> members, OffsetDateTime muteExpiresAt, Boolean muted, List<String> ownCapabilities, String team, OffsetDateTime truncatedAt, UserObject truncatedBy)
-
Method Summary
Modifier and Type Method Description final StringgetCid()final OffsetDateTimegetCreatedAt()final Map<String, Object>getCustom()final BooleangetDisabled()final BooleangetFrozen()final StringgetId()final StringgetType()final OffsetDateTimegetUpdatedAt()final BooleangetAutoTranslationEnabled()final StringgetAutoTranslationLanguage()final BooleangetBlocked()final ChannelConfigWithInfogetConfig()final IntegergetCooldown()final UserObjectgetCreatedBy()final OffsetDateTimegetDeletedAt()final BooleangetHidden()final OffsetDateTimegetHideMessagesBefore()final OffsetDateTimegetLastMessageAt()final IntegergetMemberCount()final List<ChannelMember>getMembers()final OffsetDateTimegetMuteExpiresAt()final BooleangetMuted()final List<String>getOwnCapabilities()final StringgetTeam()final OffsetDateTimegetTruncatedAt()final UserObjectgetTruncatedBy()-
-
Constructor Detail
-
ChannelResponse
ChannelResponse(String cid, OffsetDateTime createdAt, Map<String, Object> custom, Boolean disabled, Boolean frozen, String id, String type, OffsetDateTime updatedAt, Boolean autoTranslationEnabled, String autoTranslationLanguage, Boolean blocked, ChannelConfigWithInfo config, Integer cooldown, UserObject createdBy, OffsetDateTime deletedAt, Boolean hidden, OffsetDateTime hideMessagesBefore, OffsetDateTime lastMessageAt, Integer memberCount, List<ChannelMember> members, OffsetDateTime muteExpiresAt, Boolean muted, List<String> ownCapabilities, String team, OffsetDateTime truncatedAt, UserObject truncatedBy)
- Parameters:
cid- Channel CID (<type>:<id>)createdAt- Date/time of creationfrozen- Whether channel is frozen or notid- Channel unique IDtype- Type of the channelupdatedAt- Date/time of the last updateautoTranslationEnabled- Whether auto translation is enabled or notautoTranslationLanguage- Language to translate to when auto translation is activeblocked- Whether this channel is blocked by current user or notcooldown- Cooldown period after sending each messagedeletedAt- Date/time of deletionhidden- Whether this channel is hidden by current user or nothideMessagesBefore- Date since when the message history is accessiblelastMessageAt- Date of the last message sentmemberCount- Number of members in the channelmembers- List of channel members (max 100)muteExpiresAt- Date of mute expirationmuted- Whether this channel is muted or notownCapabilities- List of channel capabilities of authenticated userteam- Team the channel belongs to (multi-tenant only)truncatedAt- Date of the latest truncation of the channel
-
-
Method Detail
-
getCreatedAt
final OffsetDateTime getCreatedAt()
-
getDisabled
final Boolean getDisabled()
-
getUpdatedAt
final OffsetDateTime getUpdatedAt()
-
getAutoTranslationEnabled
final Boolean getAutoTranslationEnabled()
-
getAutoTranslationLanguage
final String getAutoTranslationLanguage()
-
getBlocked
final Boolean getBlocked()
-
getConfig
final ChannelConfigWithInfo getConfig()
-
getCooldown
final Integer getCooldown()
-
getCreatedBy
final UserObject getCreatedBy()
-
getDeletedAt
final OffsetDateTime getDeletedAt()
-
getHideMessagesBefore
final OffsetDateTime getHideMessagesBefore()
-
getLastMessageAt
final OffsetDateTime getLastMessageAt()
-
getMemberCount
final Integer getMemberCount()
-
getMembers
final List<ChannelMember> getMembers()
-
getMuteExpiresAt
final OffsetDateTime getMuteExpiresAt()
-
getOwnCapabilities
final List<String> getOwnCapabilities()
-
getTruncatedAt
final OffsetDateTime getTruncatedAt()
-
getTruncatedBy
final UserObject getTruncatedBy()
-
-
-
-