Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type Announcement
- func (o *Announcement) GetChannelId() string
- func (o *Announcement) GetChannelIdOk() (*string, bool)
- func (o *Announcement) GetContent() string
- func (o *Announcement) GetContentOk() (*string, bool)
- func (o *Announcement) GetCreatedAt() time.Time
- func (o *Announcement) GetCreatedAtOk() (*time.Time, bool)
- func (o *Announcement) GetCreatedBy() string
- func (o *Announcement) GetCreatedByOk() (*string, bool)
- func (o *Announcement) GetGroupId() string
- func (o *Announcement) GetGroupIdOk() (*string, bool)
- func (o *Announcement) GetId() string
- func (o *Announcement) GetIdOk() (*string, bool)
- func (o *Announcement) GetMentions() Mentions
- func (o *Announcement) GetMentionsOk() (*Mentions, bool)
- func (o *Announcement) GetServerId() string
- func (o *Announcement) GetServerIdOk() (*string, bool)
- func (o *Announcement) GetTitle() string
- func (o *Announcement) GetTitleOk() (*string, bool)
- func (o *Announcement) HasMentions() bool
- func (o Announcement) MarshalJSON() ([]byte, error)
- func (o *Announcement) SetChannelId(v string)
- func (o *Announcement) SetContent(v string)
- func (o *Announcement) SetCreatedAt(v time.Time)
- func (o *Announcement) SetCreatedBy(v string)
- func (o *Announcement) SetGroupId(v string)
- func (o *Announcement) SetId(v string)
- func (o *Announcement) SetMentions(v Mentions)
- func (o *Announcement) SetMentionsNil()
- func (o *Announcement) SetServerId(v string)
- func (o *Announcement) SetTitle(v string)
- func (o Announcement) ToMap() (map[string]interface{}, error)
- func (o *Announcement) UnmarshalJSON(data []byte) (err error)
- func (o *Announcement) UnsetMentions()
- type AnnouncementComment
- func (o *AnnouncementComment) GetAnnouncementId() string
- func (o *AnnouncementComment) GetAnnouncementIdOk() (*string, bool)
- func (o *AnnouncementComment) GetChannelId() string
- func (o *AnnouncementComment) GetChannelIdOk() (*string, bool)
- func (o *AnnouncementComment) GetContent() string
- func (o *AnnouncementComment) GetContentOk() (*string, bool)
- func (o *AnnouncementComment) GetCreatedAt() time.Time
- func (o *AnnouncementComment) GetCreatedAtOk() (*time.Time, bool)
- func (o *AnnouncementComment) GetCreatedBy() string
- func (o *AnnouncementComment) GetCreatedByOk() (*string, bool)
- func (o *AnnouncementComment) GetId() int32
- func (o *AnnouncementComment) GetIdOk() (*int32, bool)
- func (o *AnnouncementComment) GetMentions() Mentions
- func (o *AnnouncementComment) GetMentionsOk() (*Mentions, bool)
- func (o *AnnouncementComment) GetUpdatedAt() time.Time
- func (o *AnnouncementComment) GetUpdatedAtOk() (*time.Time, bool)
- func (o *AnnouncementComment) HasMentions() bool
- func (o *AnnouncementComment) HasUpdatedAt() bool
- func (o AnnouncementComment) MarshalJSON() ([]byte, error)
- func (o *AnnouncementComment) SetAnnouncementId(v string)
- func (o *AnnouncementComment) SetChannelId(v string)
- func (o *AnnouncementComment) SetContent(v string)
- func (o *AnnouncementComment) SetCreatedAt(v time.Time)
- func (o *AnnouncementComment) SetCreatedBy(v string)
- func (o *AnnouncementComment) SetId(v int32)
- func (o *AnnouncementComment) SetMentions(v Mentions)
- func (o *AnnouncementComment) SetMentionsNil()
- func (o *AnnouncementComment) SetUpdatedAt(v time.Time)
- func (o AnnouncementComment) ToMap() (map[string]interface{}, error)
- func (o *AnnouncementComment) UnmarshalJSON(data []byte) (err error)
- func (o *AnnouncementComment) UnsetMentions()
- type AnnouncementCommentCreate200Response
- func (o *AnnouncementCommentCreate200Response) GetAnnouncementComment() AnnouncementComment
- func (o *AnnouncementCommentCreate200Response) GetAnnouncementCommentOk() (*AnnouncementComment, bool)
- func (o AnnouncementCommentCreate200Response) MarshalJSON() ([]byte, error)
- func (o *AnnouncementCommentCreate200Response) SetAnnouncementComment(v AnnouncementComment)
- func (o AnnouncementCommentCreate200Response) ToMap() (map[string]interface{}, error)
- func (o *AnnouncementCommentCreate200Response) UnmarshalJSON(data []byte) (err error)
- type AnnouncementCommentCreateRequest
- func (o *AnnouncementCommentCreateRequest) GetContent() string
- func (o *AnnouncementCommentCreateRequest) GetContentOk() (*string, bool)
- func (o AnnouncementCommentCreateRequest) MarshalJSON() ([]byte, error)
- func (o *AnnouncementCommentCreateRequest) SetContent(v string)
- func (o AnnouncementCommentCreateRequest) ToMap() (map[string]interface{}, error)
- func (o *AnnouncementCommentCreateRequest) UnmarshalJSON(data []byte) (err error)
- type AnnouncementCommentReaction
- func (o *AnnouncementCommentReaction) GetAnnouncementCommentId() int32
- func (o *AnnouncementCommentReaction) GetAnnouncementCommentIdOk() (*int32, bool)
- func (o *AnnouncementCommentReaction) GetAnnouncementId() string
- func (o *AnnouncementCommentReaction) GetAnnouncementIdOk() (*string, bool)
- func (o *AnnouncementCommentReaction) GetChannelId() string
- func (o *AnnouncementCommentReaction) GetChannelIdOk() (*string, bool)
- func (o *AnnouncementCommentReaction) GetCreatedBy() string
- func (o *AnnouncementCommentReaction) GetCreatedByOk() (*string, bool)
- func (o *AnnouncementCommentReaction) GetEmote() Emote
- func (o *AnnouncementCommentReaction) GetEmoteOk() (*Emote, bool)
- func (o AnnouncementCommentReaction) MarshalJSON() ([]byte, error)
- func (o *AnnouncementCommentReaction) SetAnnouncementCommentId(v int32)
- func (o *AnnouncementCommentReaction) SetAnnouncementId(v string)
- func (o *AnnouncementCommentReaction) SetChannelId(v string)
- func (o *AnnouncementCommentReaction) SetCreatedBy(v string)
- func (o *AnnouncementCommentReaction) SetEmote(v Emote)
- func (o AnnouncementCommentReaction) ToMap() (map[string]interface{}, error)
- func (o *AnnouncementCommentReaction) UnmarshalJSON(data []byte) (err error)
- type AnnouncementCommentReadMany200Response
- func (o *AnnouncementCommentReadMany200Response) GetAnnouncementComments() []AnnouncementComment
- func (o *AnnouncementCommentReadMany200Response) GetAnnouncementCommentsOk() ([]AnnouncementComment, bool)
- func (o AnnouncementCommentReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *AnnouncementCommentReadMany200Response) SetAnnouncementComments(v []AnnouncementComment)
- func (o AnnouncementCommentReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *AnnouncementCommentReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type AnnouncementCommentsAPI
- type AnnouncementCommentsAPIAnnouncementCommentCreateRequest
- func (r AnnouncementCommentsAPIAnnouncementCommentCreateRequest) AnnouncementCommentCreateRequest(announcementCommentCreateRequest AnnouncementCommentCreateRequest) AnnouncementCommentsAPIAnnouncementCommentCreateRequest
- func (r AnnouncementCommentsAPIAnnouncementCommentCreateRequest) Execute() (*AnnouncementCommentCreate200Response, *http.Response, error)
- type AnnouncementCommentsAPIAnnouncementCommentDeleteRequest
- type AnnouncementCommentsAPIAnnouncementCommentReadManyRequest
- type AnnouncementCommentsAPIAnnouncementCommentReadRequest
- type AnnouncementCommentsAPIAnnouncementCommentUpdateRequest
- func (r AnnouncementCommentsAPIAnnouncementCommentUpdateRequest) AnnouncementCommentCreateRequest(announcementCommentCreateRequest AnnouncementCommentCreateRequest) AnnouncementCommentsAPIAnnouncementCommentUpdateRequest
- func (r AnnouncementCommentsAPIAnnouncementCommentUpdateRequest) Execute() (*AnnouncementCommentCreate200Response, *http.Response, error)
- type AnnouncementCommentsAPIService
- func (a *AnnouncementCommentsAPIService) AnnouncementCommentCreate(ctx context.Context, channelId string, announcementId string) AnnouncementCommentsAPIAnnouncementCommentCreateRequest
- func (a *AnnouncementCommentsAPIService) AnnouncementCommentCreateExecute(r AnnouncementCommentsAPIAnnouncementCommentCreateRequest) (*AnnouncementCommentCreate200Response, *http.Response, error)
- func (a *AnnouncementCommentsAPIService) AnnouncementCommentDelete(ctx context.Context, channelId string, announcementId string, ...) AnnouncementCommentsAPIAnnouncementCommentDeleteRequest
- func (a *AnnouncementCommentsAPIService) AnnouncementCommentDeleteExecute(r AnnouncementCommentsAPIAnnouncementCommentDeleteRequest) (*http.Response, error)
- func (a *AnnouncementCommentsAPIService) AnnouncementCommentRead(ctx context.Context, channelId string, announcementId string, ...) AnnouncementCommentsAPIAnnouncementCommentReadRequest
- func (a *AnnouncementCommentsAPIService) AnnouncementCommentReadExecute(r AnnouncementCommentsAPIAnnouncementCommentReadRequest) (*AnnouncementCommentCreate200Response, *http.Response, error)
- func (a *AnnouncementCommentsAPIService) AnnouncementCommentReadMany(ctx context.Context, channelId string, announcementId string) AnnouncementCommentsAPIAnnouncementCommentReadManyRequest
- func (a *AnnouncementCommentsAPIService) AnnouncementCommentReadManyExecute(r AnnouncementCommentsAPIAnnouncementCommentReadManyRequest) (*AnnouncementCommentReadMany200Response, *http.Response, error)
- func (a *AnnouncementCommentsAPIService) AnnouncementCommentUpdate(ctx context.Context, channelId string, announcementId string, ...) AnnouncementCommentsAPIAnnouncementCommentUpdateRequest
- func (a *AnnouncementCommentsAPIService) AnnouncementCommentUpdateExecute(r AnnouncementCommentsAPIAnnouncementCommentUpdateRequest) (*AnnouncementCommentCreate200Response, *http.Response, error)
- type AnnouncementCreate200Response
- func (o *AnnouncementCreate200Response) GetAnnouncement() Announcement
- func (o *AnnouncementCreate200Response) GetAnnouncementOk() (*Announcement, bool)
- func (o AnnouncementCreate200Response) MarshalJSON() ([]byte, error)
- func (o *AnnouncementCreate200Response) SetAnnouncement(v Announcement)
- func (o AnnouncementCreate200Response) ToMap() (map[string]interface{}, error)
- func (o *AnnouncementCreate200Response) UnmarshalJSON(data []byte) (err error)
- type AnnouncementCreateRequest
- func (o *AnnouncementCreateRequest) GetContent() Content4
- func (o *AnnouncementCreateRequest) GetContentOk() (*Content4, bool)
- func (o *AnnouncementCreateRequest) GetTitle() string
- func (o *AnnouncementCreateRequest) GetTitleOk() (*string, bool)
- func (o AnnouncementCreateRequest) MarshalJSON() ([]byte, error)
- func (o *AnnouncementCreateRequest) SetContent(v Content4)
- func (o *AnnouncementCreateRequest) SetTitle(v string)
- func (o AnnouncementCreateRequest) ToMap() (map[string]interface{}, error)
- func (o *AnnouncementCreateRequest) UnmarshalJSON(data []byte) (err error)
- type AnnouncementReaction
- func (o *AnnouncementReaction) GetAnnouncementId() string
- func (o *AnnouncementReaction) GetAnnouncementIdOk() (*string, bool)
- func (o *AnnouncementReaction) GetChannelId() string
- func (o *AnnouncementReaction) GetChannelIdOk() (*string, bool)
- func (o *AnnouncementReaction) GetCreatedBy() string
- func (o *AnnouncementReaction) GetCreatedByOk() (*string, bool)
- func (o *AnnouncementReaction) GetEmote() Emote
- func (o *AnnouncementReaction) GetEmoteOk() (*Emote, bool)
- func (o AnnouncementReaction) MarshalJSON() ([]byte, error)
- func (o *AnnouncementReaction) SetAnnouncementId(v string)
- func (o *AnnouncementReaction) SetChannelId(v string)
- func (o *AnnouncementReaction) SetCreatedBy(v string)
- func (o *AnnouncementReaction) SetEmote(v Emote)
- func (o AnnouncementReaction) ToMap() (map[string]interface{}, error)
- func (o *AnnouncementReaction) UnmarshalJSON(data []byte) (err error)
- type AnnouncementReadMany200Response
- func (o *AnnouncementReadMany200Response) GetAnnouncements() []Announcement
- func (o *AnnouncementReadMany200Response) GetAnnouncementsOk() ([]Announcement, bool)
- func (o AnnouncementReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *AnnouncementReadMany200Response) SetAnnouncements(v []Announcement)
- func (o AnnouncementReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *AnnouncementReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type AnnouncementUpdateRequest
- func (o *AnnouncementUpdateRequest) GetContent() Content4
- func (o *AnnouncementUpdateRequest) GetContentOk() (*Content4, bool)
- func (o *AnnouncementUpdateRequest) GetTitle() string
- func (o *AnnouncementUpdateRequest) GetTitleOk() (*string, bool)
- func (o *AnnouncementUpdateRequest) HasContent() bool
- func (o *AnnouncementUpdateRequest) HasTitle() bool
- func (o AnnouncementUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *AnnouncementUpdateRequest) SetContent(v Content4)
- func (o *AnnouncementUpdateRequest) SetTitle(v string)
- func (o AnnouncementUpdateRequest) ToMap() (map[string]interface{}, error)
- type AnnouncementsAPI
- type AnnouncementsAPIAnnouncementCreateRequest
- type AnnouncementsAPIAnnouncementDeleteRequest
- type AnnouncementsAPIAnnouncementReadManyRequest
- func (r AnnouncementsAPIAnnouncementReadManyRequest) Before(before time.Time) AnnouncementsAPIAnnouncementReadManyRequest
- func (r AnnouncementsAPIAnnouncementReadManyRequest) Execute() (*AnnouncementReadMany200Response, *http.Response, error)
- func (r AnnouncementsAPIAnnouncementReadManyRequest) Limit(limit int32) AnnouncementsAPIAnnouncementReadManyRequest
- type AnnouncementsAPIAnnouncementReadRequest
- type AnnouncementsAPIAnnouncementUpdateRequest
- type AnnouncementsAPIService
- func (a *AnnouncementsAPIService) AnnouncementCreate(ctx context.Context, channelId string) AnnouncementsAPIAnnouncementCreateRequest
- func (a *AnnouncementsAPIService) AnnouncementCreateExecute(r AnnouncementsAPIAnnouncementCreateRequest) (*AnnouncementCreate200Response, *http.Response, error)
- func (a *AnnouncementsAPIService) AnnouncementDelete(ctx context.Context, channelId string, announcementId string) AnnouncementsAPIAnnouncementDeleteRequest
- func (a *AnnouncementsAPIService) AnnouncementDeleteExecute(r AnnouncementsAPIAnnouncementDeleteRequest) (*http.Response, error)
- func (a *AnnouncementsAPIService) AnnouncementRead(ctx context.Context, channelId string, announcementId string) AnnouncementsAPIAnnouncementReadRequest
- func (a *AnnouncementsAPIService) AnnouncementReadExecute(r AnnouncementsAPIAnnouncementReadRequest) (*AnnouncementCreate200Response, *http.Response, error)
- func (a *AnnouncementsAPIService) AnnouncementReadMany(ctx context.Context, channelId string) AnnouncementsAPIAnnouncementReadManyRequest
- func (a *AnnouncementsAPIService) AnnouncementReadManyExecute(r AnnouncementsAPIAnnouncementReadManyRequest) (*AnnouncementReadMany200Response, *http.Response, error)
- func (a *AnnouncementsAPIService) AnnouncementUpdate(ctx context.Context, channelId string, announcementId string) AnnouncementsAPIAnnouncementUpdateRequest
- func (a *AnnouncementsAPIService) AnnouncementUpdateExecute(r AnnouncementsAPIAnnouncementUpdateRequest) (*AnnouncementCreate200Response, *http.Response, error)
- type BasicAuth
- type CalendarEvent
- func (o *CalendarEvent) GetAutofillWaitlist() bool
- func (o *CalendarEvent) GetAutofillWaitlistOk() (*bool, bool)
- func (o *CalendarEvent) GetCancellation() CalendarEventCancellation
- func (o *CalendarEvent) GetCancellationOk() (*CalendarEventCancellation, bool)
- func (o *CalendarEvent) GetChannelId() string
- func (o *CalendarEvent) GetChannelIdOk() (*string, bool)
- func (o *CalendarEvent) GetColor() int32
- func (o *CalendarEvent) GetColorOk() (*int32, bool)
- func (o *CalendarEvent) GetCreatedAt() time.Time
- func (o *CalendarEvent) GetCreatedAtOk() (*time.Time, bool)
- func (o *CalendarEvent) GetCreatedBy() string
- func (o *CalendarEvent) GetCreatedByOk() (*string, bool)
- func (o *CalendarEvent) GetDescription() string
- func (o *CalendarEvent) GetDescriptionOk() (*string, bool)
- func (o *CalendarEvent) GetDuration() int32
- func (o *CalendarEvent) GetDurationOk() (*int32, bool)
- func (o *CalendarEvent) GetGroupId() string
- func (o *CalendarEvent) GetGroupIdOk() (*string, bool)
- func (o *CalendarEvent) GetId() int32
- func (o *CalendarEvent) GetIdOk() (*int32, bool)
- func (o *CalendarEvent) GetIsAllDay() bool
- func (o *CalendarEvent) GetIsAllDayOk() (*bool, bool)
- func (o *CalendarEvent) GetIsPrivate() bool
- func (o *CalendarEvent) GetIsPrivateOk() (*bool, bool)
- func (o *CalendarEvent) GetLocation() string
- func (o *CalendarEvent) GetLocationOk() (*string, bool)
- func (o *CalendarEvent) GetMentions() Mentions
- func (o *CalendarEvent) GetMentionsOk() (*Mentions, bool)
- func (o *CalendarEvent) GetName() string
- func (o *CalendarEvent) GetNameOk() (*string, bool)
- func (o *CalendarEvent) GetRepeats() bool
- func (o *CalendarEvent) GetRepeatsOk() (*bool, bool)
- func (o *CalendarEvent) GetRoleIds() []int32
- func (o *CalendarEvent) GetRoleIdsOk() ([]int32, bool)
- func (o *CalendarEvent) GetRsvpDisabled() bool
- func (o *CalendarEvent) GetRsvpDisabledOk() (*bool, bool)
- func (o *CalendarEvent) GetRsvpLimit() int32
- func (o *CalendarEvent) GetRsvpLimitOk() (*int32, bool)
- func (o *CalendarEvent) GetSeriesId() string
- func (o *CalendarEvent) GetSeriesIdOk() (*string, bool)
- func (o *CalendarEvent) GetServerId() string
- func (o *CalendarEvent) GetServerIdOk() (*string, bool)
- func (o *CalendarEvent) GetStartsAt() time.Time
- func (o *CalendarEvent) GetStartsAtOk() (*time.Time, bool)
- func (o *CalendarEvent) GetUrl() string
- func (o *CalendarEvent) GetUrlOk() (*string, bool)
- func (o *CalendarEvent) HasAutofillWaitlist() bool
- func (o *CalendarEvent) HasCancellation() bool
- func (o *CalendarEvent) HasColor() bool
- func (o *CalendarEvent) HasDescription() bool
- func (o *CalendarEvent) HasDuration() bool
- func (o *CalendarEvent) HasIsAllDay() bool
- func (o *CalendarEvent) HasIsPrivate() bool
- func (o *CalendarEvent) HasLocation() bool
- func (o *CalendarEvent) HasMentions() bool
- func (o *CalendarEvent) HasRepeats() bool
- func (o *CalendarEvent) HasRoleIds() bool
- func (o *CalendarEvent) HasRsvpDisabled() bool
- func (o *CalendarEvent) HasRsvpLimit() bool
- func (o *CalendarEvent) HasSeriesId() bool
- func (o *CalendarEvent) HasUrl() bool
- func (o CalendarEvent) MarshalJSON() ([]byte, error)
- func (o *CalendarEvent) SetAutofillWaitlist(v bool)
- func (o *CalendarEvent) SetCancellation(v CalendarEventCancellation)
- func (o *CalendarEvent) SetChannelId(v string)
- func (o *CalendarEvent) SetColor(v int32)
- func (o *CalendarEvent) SetCreatedAt(v time.Time)
- func (o *CalendarEvent) SetCreatedBy(v string)
- func (o *CalendarEvent) SetDescription(v string)
- func (o *CalendarEvent) SetDuration(v int32)
- func (o *CalendarEvent) SetGroupId(v string)
- func (o *CalendarEvent) SetId(v int32)
- func (o *CalendarEvent) SetIsAllDay(v bool)
- func (o *CalendarEvent) SetIsPrivate(v bool)
- func (o *CalendarEvent) SetLocation(v string)
- func (o *CalendarEvent) SetMentions(v Mentions)
- func (o *CalendarEvent) SetMentionsNil()
- func (o *CalendarEvent) SetName(v string)
- func (o *CalendarEvent) SetRepeats(v bool)
- func (o *CalendarEvent) SetRoleIds(v []int32)
- func (o *CalendarEvent) SetRsvpDisabled(v bool)
- func (o *CalendarEvent) SetRsvpLimit(v int32)
- func (o *CalendarEvent) SetSeriesId(v string)
- func (o *CalendarEvent) SetServerId(v string)
- func (o *CalendarEvent) SetStartsAt(v time.Time)
- func (o *CalendarEvent) SetUrl(v string)
- func (o CalendarEvent) ToMap() (map[string]interface{}, error)
- func (o *CalendarEvent) UnmarshalJSON(data []byte) (err error)
- func (o *CalendarEvent) UnsetMentions()
- type CalendarEventCancellation
- func (o *CalendarEventCancellation) GetCreatedBy() string
- func (o *CalendarEventCancellation) GetCreatedByOk() (*string, bool)
- func (o *CalendarEventCancellation) GetDescription() string
- func (o *CalendarEventCancellation) GetDescriptionOk() (*string, bool)
- func (o *CalendarEventCancellation) HasDescription() bool
- func (o CalendarEventCancellation) MarshalJSON() ([]byte, error)
- func (o *CalendarEventCancellation) SetCreatedBy(v string)
- func (o *CalendarEventCancellation) SetDescription(v string)
- func (o CalendarEventCancellation) ToMap() (map[string]interface{}, error)
- func (o *CalendarEventCancellation) UnmarshalJSON(data []byte) (err error)
- type CalendarEventComment
- func (o *CalendarEventComment) GetCalendarEventId() int32
- func (o *CalendarEventComment) GetCalendarEventIdOk() (*int32, bool)
- func (o *CalendarEventComment) GetChannelId() string
- func (o *CalendarEventComment) GetChannelIdOk() (*string, bool)
- func (o *CalendarEventComment) GetContent() string
- func (o *CalendarEventComment) GetContentOk() (*string, bool)
- func (o *CalendarEventComment) GetCreatedAt() time.Time
- func (o *CalendarEventComment) GetCreatedAtOk() (*time.Time, bool)
- func (o *CalendarEventComment) GetCreatedBy() string
- func (o *CalendarEventComment) GetCreatedByOk() (*string, bool)
- func (o *CalendarEventComment) GetId() int32
- func (o *CalendarEventComment) GetIdOk() (*int32, bool)
- func (o *CalendarEventComment) GetMentions() Mentions
- func (o *CalendarEventComment) GetMentionsOk() (*Mentions, bool)
- func (o *CalendarEventComment) GetUpdatedAt() time.Time
- func (o *CalendarEventComment) GetUpdatedAtOk() (*time.Time, bool)
- func (o *CalendarEventComment) HasMentions() bool
- func (o *CalendarEventComment) HasUpdatedAt() bool
- func (o CalendarEventComment) MarshalJSON() ([]byte, error)
- func (o *CalendarEventComment) SetCalendarEventId(v int32)
- func (o *CalendarEventComment) SetChannelId(v string)
- func (o *CalendarEventComment) SetContent(v string)
- func (o *CalendarEventComment) SetCreatedAt(v time.Time)
- func (o *CalendarEventComment) SetCreatedBy(v string)
- func (o *CalendarEventComment) SetId(v int32)
- func (o *CalendarEventComment) SetMentions(v Mentions)
- func (o *CalendarEventComment) SetMentionsNil()
- func (o *CalendarEventComment) SetUpdatedAt(v time.Time)
- func (o CalendarEventComment) ToMap() (map[string]interface{}, error)
- func (o *CalendarEventComment) UnmarshalJSON(data []byte) (err error)
- func (o *CalendarEventComment) UnsetMentions()
- type CalendarEventCommentCreate200Response
- func (o *CalendarEventCommentCreate200Response) GetCalendarEventComment() CalendarEventComment
- func (o *CalendarEventCommentCreate200Response) GetCalendarEventCommentOk() (*CalendarEventComment, bool)
- func (o CalendarEventCommentCreate200Response) MarshalJSON() ([]byte, error)
- func (o *CalendarEventCommentCreate200Response) SetCalendarEventComment(v CalendarEventComment)
- func (o CalendarEventCommentCreate200Response) ToMap() (map[string]interface{}, error)
- func (o *CalendarEventCommentCreate200Response) UnmarshalJSON(data []byte) (err error)
- type CalendarEventCommentCreateRequest
- func (o *CalendarEventCommentCreateRequest) GetContent() string
- func (o *CalendarEventCommentCreateRequest) GetContentOk() (*string, bool)
- func (o CalendarEventCommentCreateRequest) MarshalJSON() ([]byte, error)
- func (o *CalendarEventCommentCreateRequest) SetContent(v string)
- func (o CalendarEventCommentCreateRequest) ToMap() (map[string]interface{}, error)
- func (o *CalendarEventCommentCreateRequest) UnmarshalJSON(data []byte) (err error)
- type CalendarEventCommentReaction
- func (o *CalendarEventCommentReaction) GetCalendarEventCommentId() int32
- func (o *CalendarEventCommentReaction) GetCalendarEventCommentIdOk() (*int32, bool)
- func (o *CalendarEventCommentReaction) GetCalendarEventId() int32
- func (o *CalendarEventCommentReaction) GetCalendarEventIdOk() (*int32, bool)
- func (o *CalendarEventCommentReaction) GetChannelId() string
- func (o *CalendarEventCommentReaction) GetChannelIdOk() (*string, bool)
- func (o *CalendarEventCommentReaction) GetCreatedBy() string
- func (o *CalendarEventCommentReaction) GetCreatedByOk() (*string, bool)
- func (o *CalendarEventCommentReaction) GetEmote() Emote
- func (o *CalendarEventCommentReaction) GetEmoteOk() (*Emote, bool)
- func (o CalendarEventCommentReaction) MarshalJSON() ([]byte, error)
- func (o *CalendarEventCommentReaction) SetCalendarEventCommentId(v int32)
- func (o *CalendarEventCommentReaction) SetCalendarEventId(v int32)
- func (o *CalendarEventCommentReaction) SetChannelId(v string)
- func (o *CalendarEventCommentReaction) SetCreatedBy(v string)
- func (o *CalendarEventCommentReaction) SetEmote(v Emote)
- func (o CalendarEventCommentReaction) ToMap() (map[string]interface{}, error)
- func (o *CalendarEventCommentReaction) UnmarshalJSON(data []byte) (err error)
- type CalendarEventCommentReadMany200Response
- func (o *CalendarEventCommentReadMany200Response) GetCalendarEventComments() []CalendarEventComment
- func (o *CalendarEventCommentReadMany200Response) GetCalendarEventCommentsOk() ([]CalendarEventComment, bool)
- func (o CalendarEventCommentReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *CalendarEventCommentReadMany200Response) SetCalendarEventComments(v []CalendarEventComment)
- func (o CalendarEventCommentReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *CalendarEventCommentReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type CalendarEventCommentsAPI
- type CalendarEventCommentsAPICalendarEventCommentCreateRequest
- func (r CalendarEventCommentsAPICalendarEventCommentCreateRequest) CalendarEventCommentCreateRequest(calendarEventCommentCreateRequest CalendarEventCommentCreateRequest) CalendarEventCommentsAPICalendarEventCommentCreateRequest
- func (r CalendarEventCommentsAPICalendarEventCommentCreateRequest) Execute() (*CalendarEventCommentCreate200Response, *http.Response, error)
- type CalendarEventCommentsAPICalendarEventCommentDeleteRequest
- type CalendarEventCommentsAPICalendarEventCommentReadManyRequest
- type CalendarEventCommentsAPICalendarEventCommentReadRequest
- type CalendarEventCommentsAPICalendarEventCommentUpdateRequest
- func (r CalendarEventCommentsAPICalendarEventCommentUpdateRequest) CalendarEventCommentCreateRequest(calendarEventCommentCreateRequest CalendarEventCommentCreateRequest) CalendarEventCommentsAPICalendarEventCommentUpdateRequest
- func (r CalendarEventCommentsAPICalendarEventCommentUpdateRequest) Execute() (*CalendarEventCommentCreate200Response, *http.Response, error)
- type CalendarEventCommentsAPIService
- func (a *CalendarEventCommentsAPIService) CalendarEventCommentCreate(ctx context.Context, channelId string, calendarEventId int32) CalendarEventCommentsAPICalendarEventCommentCreateRequest
- func (a *CalendarEventCommentsAPIService) CalendarEventCommentCreateExecute(r CalendarEventCommentsAPICalendarEventCommentCreateRequest) (*CalendarEventCommentCreate200Response, *http.Response, error)
- func (a *CalendarEventCommentsAPIService) CalendarEventCommentDelete(ctx context.Context, channelId string, calendarEventId int32, ...) CalendarEventCommentsAPICalendarEventCommentDeleteRequest
- func (a *CalendarEventCommentsAPIService) CalendarEventCommentDeleteExecute(r CalendarEventCommentsAPICalendarEventCommentDeleteRequest) (*http.Response, error)
- func (a *CalendarEventCommentsAPIService) CalendarEventCommentRead(ctx context.Context, channelId string, calendarEventId int32, ...) CalendarEventCommentsAPICalendarEventCommentReadRequest
- func (a *CalendarEventCommentsAPIService) CalendarEventCommentReadExecute(r CalendarEventCommentsAPICalendarEventCommentReadRequest) (*CalendarEventCommentCreate200Response, *http.Response, error)
- func (a *CalendarEventCommentsAPIService) CalendarEventCommentReadMany(ctx context.Context, channelId string, calendarEventId int32) CalendarEventCommentsAPICalendarEventCommentReadManyRequest
- func (a *CalendarEventCommentsAPIService) CalendarEventCommentReadManyExecute(r CalendarEventCommentsAPICalendarEventCommentReadManyRequest) (*CalendarEventCommentReadMany200Response, *http.Response, error)
- func (a *CalendarEventCommentsAPIService) CalendarEventCommentUpdate(ctx context.Context, channelId string, calendarEventId int32, ...) CalendarEventCommentsAPICalendarEventCommentUpdateRequest
- func (a *CalendarEventCommentsAPIService) CalendarEventCommentUpdateExecute(r CalendarEventCommentsAPICalendarEventCommentUpdateRequest) (*CalendarEventCommentCreate200Response, *http.Response, error)
- type CalendarEventCreate200Response
- func (o *CalendarEventCreate200Response) GetCalendarEvent() CalendarEvent
- func (o *CalendarEventCreate200Response) GetCalendarEventOk() (*CalendarEvent, bool)
- func (o CalendarEventCreate200Response) MarshalJSON() ([]byte, error)
- func (o *CalendarEventCreate200Response) SetCalendarEvent(v CalendarEvent)
- func (o CalendarEventCreate200Response) ToMap() (map[string]interface{}, error)
- func (o *CalendarEventCreate200Response) UnmarshalJSON(data []byte) (err error)
- type CalendarEventCreateRequest
- func (o *CalendarEventCreateRequest) GetAutofillWaitlist() bool
- func (o *CalendarEventCreateRequest) GetAutofillWaitlistOk() (*bool, bool)
- func (o *CalendarEventCreateRequest) GetColor() int32
- func (o *CalendarEventCreateRequest) GetColorOk() (*int32, bool)
- func (o *CalendarEventCreateRequest) GetDescription() string
- func (o *CalendarEventCreateRequest) GetDescriptionOk() (*string, bool)
- func (o *CalendarEventCreateRequest) GetDuration() int32
- func (o *CalendarEventCreateRequest) GetDurationOk() (*int32, bool)
- func (o *CalendarEventCreateRequest) GetIsAllDay() bool
- func (o *CalendarEventCreateRequest) GetIsAllDayOk() (*bool, bool)
- func (o *CalendarEventCreateRequest) GetIsPrivate() bool
- func (o *CalendarEventCreateRequest) GetIsPrivateOk() (*bool, bool)
- func (o *CalendarEventCreateRequest) GetLocation() string
- func (o *CalendarEventCreateRequest) GetLocationOk() (*string, bool)
- func (o *CalendarEventCreateRequest) GetName() string
- func (o *CalendarEventCreateRequest) GetNameOk() (*string, bool)
- func (o *CalendarEventCreateRequest) GetRepeatInfo() CalendarEventCreateRequestRepeatInfo
- func (o *CalendarEventCreateRequest) GetRepeatInfoOk() (*CalendarEventCreateRequestRepeatInfo, bool)
- func (o *CalendarEventCreateRequest) GetRoleIds() []int32
- func (o *CalendarEventCreateRequest) GetRoleIdsOk() ([]int32, bool)
- func (o *CalendarEventCreateRequest) GetRsvpDisabled() bool
- func (o *CalendarEventCreateRequest) GetRsvpDisabledOk() (*bool, bool)
- func (o *CalendarEventCreateRequest) GetRsvpLimit() int32
- func (o *CalendarEventCreateRequest) GetRsvpLimitOk() (*int32, bool)
- func (o *CalendarEventCreateRequest) GetStartsAt() time.Time
- func (o *CalendarEventCreateRequest) GetStartsAtOk() (*time.Time, bool)
- func (o *CalendarEventCreateRequest) GetUrl() string
- func (o *CalendarEventCreateRequest) GetUrlOk() (*string, bool)
- func (o *CalendarEventCreateRequest) HasAutofillWaitlist() bool
- func (o *CalendarEventCreateRequest) HasColor() bool
- func (o *CalendarEventCreateRequest) HasDescription() bool
- func (o *CalendarEventCreateRequest) HasDuration() bool
- func (o *CalendarEventCreateRequest) HasIsAllDay() bool
- func (o *CalendarEventCreateRequest) HasIsPrivate() bool
- func (o *CalendarEventCreateRequest) HasLocation() bool
- func (o *CalendarEventCreateRequest) HasRepeatInfo() bool
- func (o *CalendarEventCreateRequest) HasRoleIds() bool
- func (o *CalendarEventCreateRequest) HasRsvpDisabled() bool
- func (o *CalendarEventCreateRequest) HasRsvpLimit() bool
- func (o *CalendarEventCreateRequest) HasStartsAt() bool
- func (o *CalendarEventCreateRequest) HasUrl() bool
- func (o CalendarEventCreateRequest) MarshalJSON() ([]byte, error)
- func (o *CalendarEventCreateRequest) SetAutofillWaitlist(v bool)
- func (o *CalendarEventCreateRequest) SetColor(v int32)
- func (o *CalendarEventCreateRequest) SetDescription(v string)
- func (o *CalendarEventCreateRequest) SetDuration(v int32)
- func (o *CalendarEventCreateRequest) SetIsAllDay(v bool)
- func (o *CalendarEventCreateRequest) SetIsPrivate(v bool)
- func (o *CalendarEventCreateRequest) SetLocation(v string)
- func (o *CalendarEventCreateRequest) SetName(v string)
- func (o *CalendarEventCreateRequest) SetRepeatInfo(v CalendarEventCreateRequestRepeatInfo)
- func (o *CalendarEventCreateRequest) SetRoleIds(v []int32)
- func (o *CalendarEventCreateRequest) SetRsvpDisabled(v bool)
- func (o *CalendarEventCreateRequest) SetRsvpLimit(v int32)
- func (o *CalendarEventCreateRequest) SetStartsAt(v time.Time)
- func (o *CalendarEventCreateRequest) SetUrl(v string)
- func (o CalendarEventCreateRequest) ToMap() (map[string]interface{}, error)
- func (o *CalendarEventCreateRequest) UnmarshalJSON(data []byte) (err error)
- type CalendarEventCreateRequestRepeatInfo
- func (o *CalendarEventCreateRequestRepeatInfo) GetEndDate() time.Time
- func (o *CalendarEventCreateRequestRepeatInfo) GetEndDateOk() (*time.Time, bool)
- func (o *CalendarEventCreateRequestRepeatInfo) GetEndsAfterOccurrences() float32
- func (o *CalendarEventCreateRequestRepeatInfo) GetEndsAfterOccurrencesOk() (*float32, bool)
- func (o *CalendarEventCreateRequestRepeatInfo) GetEvery() CalendarEventCreateRequestRepeatInfoEvery
- func (o *CalendarEventCreateRequestRepeatInfo) GetEveryOk() (*CalendarEventCreateRequestRepeatInfoEvery, bool)
- func (o *CalendarEventCreateRequestRepeatInfo) GetOn() []string
- func (o *CalendarEventCreateRequestRepeatInfo) GetOnOk() ([]string, bool)
- func (o *CalendarEventCreateRequestRepeatInfo) GetType() string
- func (o *CalendarEventCreateRequestRepeatInfo) GetTypeOk() (*string, bool)
- func (o *CalendarEventCreateRequestRepeatInfo) HasEndDate() bool
- func (o *CalendarEventCreateRequestRepeatInfo) HasEndsAfterOccurrences() bool
- func (o *CalendarEventCreateRequestRepeatInfo) HasEvery() bool
- func (o *CalendarEventCreateRequestRepeatInfo) HasOn() bool
- func (o CalendarEventCreateRequestRepeatInfo) MarshalJSON() ([]byte, error)
- func (o *CalendarEventCreateRequestRepeatInfo) SetEndDate(v time.Time)
- func (o *CalendarEventCreateRequestRepeatInfo) SetEndsAfterOccurrences(v float32)
- func (o *CalendarEventCreateRequestRepeatInfo) SetEvery(v CalendarEventCreateRequestRepeatInfoEvery)
- func (o *CalendarEventCreateRequestRepeatInfo) SetOn(v []string)
- func (o *CalendarEventCreateRequestRepeatInfo) SetType(v string)
- func (o CalendarEventCreateRequestRepeatInfo) ToMap() (map[string]interface{}, error)
- func (o *CalendarEventCreateRequestRepeatInfo) UnmarshalJSON(data []byte) (err error)
- type CalendarEventCreateRequestRepeatInfoEvery
- func (o *CalendarEventCreateRequestRepeatInfoEvery) GetCount() float32
- func (o *CalendarEventCreateRequestRepeatInfoEvery) GetCountOk() (*float32, bool)
- func (o *CalendarEventCreateRequestRepeatInfoEvery) GetInterval() string
- func (o *CalendarEventCreateRequestRepeatInfoEvery) GetIntervalOk() (*string, bool)
- func (o CalendarEventCreateRequestRepeatInfoEvery) MarshalJSON() ([]byte, error)
- func (o *CalendarEventCreateRequestRepeatInfoEvery) SetCount(v float32)
- func (o *CalendarEventCreateRequestRepeatInfoEvery) SetInterval(v string)
- func (o CalendarEventCreateRequestRepeatInfoEvery) ToMap() (map[string]interface{}, error)
- func (o *CalendarEventCreateRequestRepeatInfoEvery) UnmarshalJSON(data []byte) (err error)
- type CalendarEventReaction
- func (o *CalendarEventReaction) GetCalendarEventId() int32
- func (o *CalendarEventReaction) GetCalendarEventIdOk() (*int32, bool)
- func (o *CalendarEventReaction) GetChannelId() string
- func (o *CalendarEventReaction) GetChannelIdOk() (*string, bool)
- func (o *CalendarEventReaction) GetCreatedBy() string
- func (o *CalendarEventReaction) GetCreatedByOk() (*string, bool)
- func (o *CalendarEventReaction) GetEmote() Emote
- func (o *CalendarEventReaction) GetEmoteOk() (*Emote, bool)
- func (o CalendarEventReaction) MarshalJSON() ([]byte, error)
- func (o *CalendarEventReaction) SetCalendarEventId(v int32)
- func (o *CalendarEventReaction) SetChannelId(v string)
- func (o *CalendarEventReaction) SetCreatedBy(v string)
- func (o *CalendarEventReaction) SetEmote(v Emote)
- func (o CalendarEventReaction) ToMap() (map[string]interface{}, error)
- func (o *CalendarEventReaction) UnmarshalJSON(data []byte) (err error)
- type CalendarEventReadMany200Response
- func (o *CalendarEventReadMany200Response) GetCalendarEvents() []CalendarEvent
- func (o *CalendarEventReadMany200Response) GetCalendarEventsOk() ([]CalendarEvent, bool)
- func (o CalendarEventReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *CalendarEventReadMany200Response) SetCalendarEvents(v []CalendarEvent)
- func (o CalendarEventReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *CalendarEventReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type CalendarEventRsvp
- func (o *CalendarEventRsvp) GetCalendarEventId() int32
- func (o *CalendarEventRsvp) GetCalendarEventIdOk() (*int32, bool)
- func (o *CalendarEventRsvp) GetChannelId() string
- func (o *CalendarEventRsvp) GetChannelIdOk() (*string, bool)
- func (o *CalendarEventRsvp) GetCreatedAt() time.Time
- func (o *CalendarEventRsvp) GetCreatedAtOk() (*time.Time, bool)
- func (o *CalendarEventRsvp) GetCreatedBy() string
- func (o *CalendarEventRsvp) GetCreatedByOk() (*string, bool)
- func (o *CalendarEventRsvp) GetServerId() string
- func (o *CalendarEventRsvp) GetServerIdOk() (*string, bool)
- func (o *CalendarEventRsvp) GetStatus() string
- func (o *CalendarEventRsvp) GetStatusOk() (*string, bool)
- func (o *CalendarEventRsvp) GetUpdatedAt() time.Time
- func (o *CalendarEventRsvp) GetUpdatedAtOk() (*time.Time, bool)
- func (o *CalendarEventRsvp) GetUpdatedBy() string
- func (o *CalendarEventRsvp) GetUpdatedByOk() (*string, bool)
- func (o *CalendarEventRsvp) GetUserId() string
- func (o *CalendarEventRsvp) GetUserIdOk() (*string, bool)
- func (o *CalendarEventRsvp) HasUpdatedAt() bool
- func (o *CalendarEventRsvp) HasUpdatedBy() bool
- func (o CalendarEventRsvp) MarshalJSON() ([]byte, error)
- func (o *CalendarEventRsvp) SetCalendarEventId(v int32)
- func (o *CalendarEventRsvp) SetChannelId(v string)
- func (o *CalendarEventRsvp) SetCreatedAt(v time.Time)
- func (o *CalendarEventRsvp) SetCreatedBy(v string)
- func (o *CalendarEventRsvp) SetServerId(v string)
- func (o *CalendarEventRsvp) SetStatus(v string)
- func (o *CalendarEventRsvp) SetUpdatedAt(v time.Time)
- func (o *CalendarEventRsvp) SetUpdatedBy(v string)
- func (o *CalendarEventRsvp) SetUserId(v string)
- func (o CalendarEventRsvp) ToMap() (map[string]interface{}, error)
- func (o *CalendarEventRsvp) UnmarshalJSON(data []byte) (err error)
- type CalendarEventRsvpRead200Response
- func (o *CalendarEventRsvpRead200Response) GetCalendarEventRsvp() CalendarEventRsvp
- func (o *CalendarEventRsvpRead200Response) GetCalendarEventRsvpOk() (*CalendarEventRsvp, bool)
- func (o CalendarEventRsvpRead200Response) MarshalJSON() ([]byte, error)
- func (o *CalendarEventRsvpRead200Response) SetCalendarEventRsvp(v CalendarEventRsvp)
- func (o CalendarEventRsvpRead200Response) ToMap() (map[string]interface{}, error)
- func (o *CalendarEventRsvpRead200Response) UnmarshalJSON(data []byte) (err error)
- type CalendarEventRsvpReadMany200Response
- func (o *CalendarEventRsvpReadMany200Response) GetCalendarEventRsvps() []CalendarEventRsvp
- func (o *CalendarEventRsvpReadMany200Response) GetCalendarEventRsvpsOk() ([]CalendarEventRsvp, bool)
- func (o CalendarEventRsvpReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *CalendarEventRsvpReadMany200Response) SetCalendarEventRsvps(v []CalendarEventRsvp)
- func (o CalendarEventRsvpReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *CalendarEventRsvpReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type CalendarEventRsvpUpdateManyRequest
- func (o *CalendarEventRsvpUpdateManyRequest) GetStatus() string
- func (o *CalendarEventRsvpUpdateManyRequest) GetStatusOk() (*string, bool)
- func (o *CalendarEventRsvpUpdateManyRequest) GetUserIds() []UserID
- func (o *CalendarEventRsvpUpdateManyRequest) GetUserIdsOk() ([]UserID, bool)
- func (o CalendarEventRsvpUpdateManyRequest) MarshalJSON() ([]byte, error)
- func (o *CalendarEventRsvpUpdateManyRequest) SetStatus(v string)
- func (o *CalendarEventRsvpUpdateManyRequest) SetUserIds(v []UserID)
- func (o CalendarEventRsvpUpdateManyRequest) ToMap() (map[string]interface{}, error)
- func (o *CalendarEventRsvpUpdateManyRequest) UnmarshalJSON(data []byte) (err error)
- type CalendarEventRsvpUpdateRequest
- func (o *CalendarEventRsvpUpdateRequest) GetStatus() string
- func (o *CalendarEventRsvpUpdateRequest) GetStatusOk() (*string, bool)
- func (o CalendarEventRsvpUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *CalendarEventRsvpUpdateRequest) SetStatus(v string)
- func (o CalendarEventRsvpUpdateRequest) ToMap() (map[string]interface{}, error)
- func (o *CalendarEventRsvpUpdateRequest) UnmarshalJSON(data []byte) (err error)
- type CalendarEventSeries
- func (o *CalendarEventSeries) GetChannelId() string
- func (o *CalendarEventSeries) GetChannelIdOk() (*string, bool)
- func (o *CalendarEventSeries) GetId() string
- func (o *CalendarEventSeries) GetIdOk() (*string, bool)
- func (o *CalendarEventSeries) GetServerId() string
- func (o *CalendarEventSeries) GetServerIdOk() (*string, bool)
- func (o CalendarEventSeries) MarshalJSON() ([]byte, error)
- func (o *CalendarEventSeries) SetChannelId(v string)
- func (o *CalendarEventSeries) SetId(v string)
- func (o *CalendarEventSeries) SetServerId(v string)
- func (o CalendarEventSeries) ToMap() (map[string]interface{}, error)
- func (o *CalendarEventSeries) UnmarshalJSON(data []byte) (err error)
- type CalendarEventSeriesAPI
- type CalendarEventSeriesAPICalendarEventSeriesDeleteRequest
- func (r CalendarEventSeriesAPICalendarEventSeriesDeleteRequest) CalendarEventSeriesDeleteRequest(calendarEventSeriesDeleteRequest CalendarEventSeriesDeleteRequest) CalendarEventSeriesAPICalendarEventSeriesDeleteRequest
- func (r CalendarEventSeriesAPICalendarEventSeriesDeleteRequest) Execute() (*http.Response, error)
- type CalendarEventSeriesAPICalendarEventSeriesUpdateRequest
- func (r CalendarEventSeriesAPICalendarEventSeriesUpdateRequest) CalendarEventSeriesUpdateRequest(calendarEventSeriesUpdateRequest CalendarEventSeriesUpdateRequest) CalendarEventSeriesAPICalendarEventSeriesUpdateRequest
- func (r CalendarEventSeriesAPICalendarEventSeriesUpdateRequest) Execute() (*http.Response, error)
- type CalendarEventSeriesAPIService
- func (a *CalendarEventSeriesAPIService) CalendarEventSeriesDelete(ctx context.Context, channelId string, calendarEventSeriesId string) CalendarEventSeriesAPICalendarEventSeriesDeleteRequest
- func (a *CalendarEventSeriesAPIService) CalendarEventSeriesDeleteExecute(r CalendarEventSeriesAPICalendarEventSeriesDeleteRequest) (*http.Response, error)
- func (a *CalendarEventSeriesAPIService) CalendarEventSeriesUpdate(ctx context.Context, channelId string, calendarEventSeriesId string) CalendarEventSeriesAPICalendarEventSeriesUpdateRequest
- func (a *CalendarEventSeriesAPIService) CalendarEventSeriesUpdateExecute(r CalendarEventSeriesAPICalendarEventSeriesUpdateRequest) (*http.Response, error)
- type CalendarEventSeriesDeleteRequest
- func (o *CalendarEventSeriesDeleteRequest) GetCalendarEventId() int32
- func (o *CalendarEventSeriesDeleteRequest) GetCalendarEventIdOk() (*int32, bool)
- func (o *CalendarEventSeriesDeleteRequest) HasCalendarEventId() bool
- func (o CalendarEventSeriesDeleteRequest) MarshalJSON() ([]byte, error)
- func (o *CalendarEventSeriesDeleteRequest) SetCalendarEventId(v int32)
- func (o CalendarEventSeriesDeleteRequest) ToMap() (map[string]interface{}, error)
- type CalendarEventSeriesUpdateRequest
- func (o *CalendarEventSeriesUpdateRequest) GetAutofillWaitlist() bool
- func (o *CalendarEventSeriesUpdateRequest) GetAutofillWaitlistOk() (*bool, bool)
- func (o *CalendarEventSeriesUpdateRequest) GetCalendarEventId() int32
- func (o *CalendarEventSeriesUpdateRequest) GetCalendarEventIdOk() (*int32, bool)
- func (o *CalendarEventSeriesUpdateRequest) GetColor() int32
- func (o *CalendarEventSeriesUpdateRequest) GetColorOk() (*int32, bool)
- func (o *CalendarEventSeriesUpdateRequest) GetDescription() string
- func (o *CalendarEventSeriesUpdateRequest) GetDescriptionOk() (*string, bool)
- func (o *CalendarEventSeriesUpdateRequest) GetDuration() int32
- func (o *CalendarEventSeriesUpdateRequest) GetDurationOk() (*int32, bool)
- func (o *CalendarEventSeriesUpdateRequest) GetIsAllDay() bool
- func (o *CalendarEventSeriesUpdateRequest) GetIsAllDayOk() (*bool, bool)
- func (o *CalendarEventSeriesUpdateRequest) GetIsPrivate() bool
- func (o *CalendarEventSeriesUpdateRequest) GetIsPrivateOk() (*bool, bool)
- func (o *CalendarEventSeriesUpdateRequest) GetLocation() string
- func (o *CalendarEventSeriesUpdateRequest) GetLocationOk() (*string, bool)
- func (o *CalendarEventSeriesUpdateRequest) GetName() string
- func (o *CalendarEventSeriesUpdateRequest) GetNameOk() (*string, bool)
- func (o *CalendarEventSeriesUpdateRequest) GetRepeatInfo() CalendarEventCreateRequestRepeatInfo
- func (o *CalendarEventSeriesUpdateRequest) GetRepeatInfoOk() (*CalendarEventCreateRequestRepeatInfo, bool)
- func (o *CalendarEventSeriesUpdateRequest) GetRoleIds() []int32
- func (o *CalendarEventSeriesUpdateRequest) GetRoleIdsOk() ([]int32, bool)
- func (o *CalendarEventSeriesUpdateRequest) GetRsvpDisabled() bool
- func (o *CalendarEventSeriesUpdateRequest) GetRsvpDisabledOk() (*bool, bool)
- func (o *CalendarEventSeriesUpdateRequest) GetRsvpLimit() int32
- func (o *CalendarEventSeriesUpdateRequest) GetRsvpLimitOk() (*int32, bool)
- func (o *CalendarEventSeriesUpdateRequest) GetStartsAt() time.Time
- func (o *CalendarEventSeriesUpdateRequest) GetStartsAtOk() (*time.Time, bool)
- func (o *CalendarEventSeriesUpdateRequest) GetUrl() string
- func (o *CalendarEventSeriesUpdateRequest) GetUrlOk() (*string, bool)
- func (o *CalendarEventSeriesUpdateRequest) HasAutofillWaitlist() bool
- func (o *CalendarEventSeriesUpdateRequest) HasCalendarEventId() bool
- func (o *CalendarEventSeriesUpdateRequest) HasColor() bool
- func (o *CalendarEventSeriesUpdateRequest) HasDescription() bool
- func (o *CalendarEventSeriesUpdateRequest) HasDuration() bool
- func (o *CalendarEventSeriesUpdateRequest) HasIsAllDay() bool
- func (o *CalendarEventSeriesUpdateRequest) HasIsPrivate() bool
- func (o *CalendarEventSeriesUpdateRequest) HasLocation() bool
- func (o *CalendarEventSeriesUpdateRequest) HasName() bool
- func (o *CalendarEventSeriesUpdateRequest) HasRepeatInfo() bool
- func (o *CalendarEventSeriesUpdateRequest) HasRoleIds() bool
- func (o *CalendarEventSeriesUpdateRequest) HasRsvpDisabled() bool
- func (o *CalendarEventSeriesUpdateRequest) HasRsvpLimit() bool
- func (o *CalendarEventSeriesUpdateRequest) HasStartsAt() bool
- func (o *CalendarEventSeriesUpdateRequest) HasUrl() bool
- func (o CalendarEventSeriesUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *CalendarEventSeriesUpdateRequest) SetAutofillWaitlist(v bool)
- func (o *CalendarEventSeriesUpdateRequest) SetCalendarEventId(v int32)
- func (o *CalendarEventSeriesUpdateRequest) SetColor(v int32)
- func (o *CalendarEventSeriesUpdateRequest) SetDescription(v string)
- func (o *CalendarEventSeriesUpdateRequest) SetDuration(v int32)
- func (o *CalendarEventSeriesUpdateRequest) SetIsAllDay(v bool)
- func (o *CalendarEventSeriesUpdateRequest) SetIsPrivate(v bool)
- func (o *CalendarEventSeriesUpdateRequest) SetLocation(v string)
- func (o *CalendarEventSeriesUpdateRequest) SetName(v string)
- func (o *CalendarEventSeriesUpdateRequest) SetRepeatInfo(v CalendarEventCreateRequestRepeatInfo)
- func (o *CalendarEventSeriesUpdateRequest) SetRoleIds(v []int32)
- func (o *CalendarEventSeriesUpdateRequest) SetRsvpDisabled(v bool)
- func (o *CalendarEventSeriesUpdateRequest) SetRsvpLimit(v int32)
- func (o *CalendarEventSeriesUpdateRequest) SetStartsAt(v time.Time)
- func (o *CalendarEventSeriesUpdateRequest) SetUrl(v string)
- func (o CalendarEventSeriesUpdateRequest) ToMap() (map[string]interface{}, error)
- type CalendarEventUpdateRequest
- func (o *CalendarEventUpdateRequest) GetAutofillWaitlist() bool
- func (o *CalendarEventUpdateRequest) GetAutofillWaitlistOk() (*bool, bool)
- func (o *CalendarEventUpdateRequest) GetCancellation() CalendarEventUpdateRequestCancellation
- func (o *CalendarEventUpdateRequest) GetCancellationOk() (*CalendarEventUpdateRequestCancellation, bool)
- func (o *CalendarEventUpdateRequest) GetColor() int32
- func (o *CalendarEventUpdateRequest) GetColorOk() (*int32, bool)
- func (o *CalendarEventUpdateRequest) GetDescription() string
- func (o *CalendarEventUpdateRequest) GetDescriptionOk() (*string, bool)
- func (o *CalendarEventUpdateRequest) GetDuration() int32
- func (o *CalendarEventUpdateRequest) GetDurationOk() (*int32, bool)
- func (o *CalendarEventUpdateRequest) GetIsAllDay() bool
- func (o *CalendarEventUpdateRequest) GetIsAllDayOk() (*bool, bool)
- func (o *CalendarEventUpdateRequest) GetIsPrivate() bool
- func (o *CalendarEventUpdateRequest) GetIsPrivateOk() (*bool, bool)
- func (o *CalendarEventUpdateRequest) GetLocation() string
- func (o *CalendarEventUpdateRequest) GetLocationOk() (*string, bool)
- func (o *CalendarEventUpdateRequest) GetName() string
- func (o *CalendarEventUpdateRequest) GetNameOk() (*string, bool)
- func (o *CalendarEventUpdateRequest) GetRoleIds() []int32
- func (o *CalendarEventUpdateRequest) GetRoleIdsOk() ([]int32, bool)
- func (o *CalendarEventUpdateRequest) GetRsvpDisabled() bool
- func (o *CalendarEventUpdateRequest) GetRsvpDisabledOk() (*bool, bool)
- func (o *CalendarEventUpdateRequest) GetRsvpLimit() int32
- func (o *CalendarEventUpdateRequest) GetRsvpLimitOk() (*int32, bool)
- func (o *CalendarEventUpdateRequest) GetStartsAt() time.Time
- func (o *CalendarEventUpdateRequest) GetStartsAtOk() (*time.Time, bool)
- func (o *CalendarEventUpdateRequest) GetUrl() string
- func (o *CalendarEventUpdateRequest) GetUrlOk() (*string, bool)
- func (o *CalendarEventUpdateRequest) HasAutofillWaitlist() bool
- func (o *CalendarEventUpdateRequest) HasCancellation() bool
- func (o *CalendarEventUpdateRequest) HasColor() bool
- func (o *CalendarEventUpdateRequest) HasDescription() bool
- func (o *CalendarEventUpdateRequest) HasDuration() bool
- func (o *CalendarEventUpdateRequest) HasIsAllDay() bool
- func (o *CalendarEventUpdateRequest) HasIsPrivate() bool
- func (o *CalendarEventUpdateRequest) HasLocation() bool
- func (o *CalendarEventUpdateRequest) HasName() bool
- func (o *CalendarEventUpdateRequest) HasRoleIds() bool
- func (o *CalendarEventUpdateRequest) HasRsvpDisabled() bool
- func (o *CalendarEventUpdateRequest) HasRsvpLimit() bool
- func (o *CalendarEventUpdateRequest) HasStartsAt() bool
- func (o *CalendarEventUpdateRequest) HasUrl() bool
- func (o CalendarEventUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *CalendarEventUpdateRequest) SetAutofillWaitlist(v bool)
- func (o *CalendarEventUpdateRequest) SetCancellation(v CalendarEventUpdateRequestCancellation)
- func (o *CalendarEventUpdateRequest) SetColor(v int32)
- func (o *CalendarEventUpdateRequest) SetDescription(v string)
- func (o *CalendarEventUpdateRequest) SetDuration(v int32)
- func (o *CalendarEventUpdateRequest) SetIsAllDay(v bool)
- func (o *CalendarEventUpdateRequest) SetIsPrivate(v bool)
- func (o *CalendarEventUpdateRequest) SetLocation(v string)
- func (o *CalendarEventUpdateRequest) SetName(v string)
- func (o *CalendarEventUpdateRequest) SetRoleIds(v []int32)
- func (o *CalendarEventUpdateRequest) SetRsvpDisabled(v bool)
- func (o *CalendarEventUpdateRequest) SetRsvpLimit(v int32)
- func (o *CalendarEventUpdateRequest) SetStartsAt(v time.Time)
- func (o *CalendarEventUpdateRequest) SetUrl(v string)
- func (o CalendarEventUpdateRequest) ToMap() (map[string]interface{}, error)
- type CalendarEventUpdateRequestCancellation
- func (o *CalendarEventUpdateRequestCancellation) GetDescription() string
- func (o *CalendarEventUpdateRequestCancellation) GetDescriptionOk() (*string, bool)
- func (o *CalendarEventUpdateRequestCancellation) HasDescription() bool
- func (o CalendarEventUpdateRequestCancellation) MarshalJSON() ([]byte, error)
- func (o *CalendarEventUpdateRequestCancellation) SetDescription(v string)
- func (o CalendarEventUpdateRequestCancellation) ToMap() (map[string]interface{}, error)
- type CalendarEventsAPI
- type CalendarEventsAPICalendarEventCreateRequest
- type CalendarEventsAPICalendarEventDeleteRequest
- type CalendarEventsAPICalendarEventReadManyRequest
- func (r CalendarEventsAPICalendarEventReadManyRequest) After(after time.Time) CalendarEventsAPICalendarEventReadManyRequest
- func (r CalendarEventsAPICalendarEventReadManyRequest) Before(before time.Time) CalendarEventsAPICalendarEventReadManyRequest
- func (r CalendarEventsAPICalendarEventReadManyRequest) Execute() (*CalendarEventReadMany200Response, *http.Response, error)
- func (r CalendarEventsAPICalendarEventReadManyRequest) Limit(limit int32) CalendarEventsAPICalendarEventReadManyRequest
- type CalendarEventsAPICalendarEventReadRequest
- type CalendarEventsAPICalendarEventRsvpDeleteRequest
- type CalendarEventsAPICalendarEventRsvpReadManyRequest
- type CalendarEventsAPICalendarEventRsvpReadRequest
- type CalendarEventsAPICalendarEventRsvpUpdateManyRequest
- func (r CalendarEventsAPICalendarEventRsvpUpdateManyRequest) CalendarEventRsvpUpdateManyRequest(calendarEventRsvpUpdateManyRequest CalendarEventRsvpUpdateManyRequest) CalendarEventsAPICalendarEventRsvpUpdateManyRequest
- func (r CalendarEventsAPICalendarEventRsvpUpdateManyRequest) Execute() (*http.Response, error)
- type CalendarEventsAPICalendarEventRsvpUpdateRequest
- func (r CalendarEventsAPICalendarEventRsvpUpdateRequest) CalendarEventRsvpUpdateRequest(calendarEventRsvpUpdateRequest CalendarEventRsvpUpdateRequest) CalendarEventsAPICalendarEventRsvpUpdateRequest
- func (r CalendarEventsAPICalendarEventRsvpUpdateRequest) Execute() (*CalendarEventRsvpRead200Response, *http.Response, error)
- type CalendarEventsAPICalendarEventUpdateRequest
- type CalendarEventsAPIService
- func (a *CalendarEventsAPIService) CalendarEventCreate(ctx context.Context, channelId string) CalendarEventsAPICalendarEventCreateRequest
- func (a *CalendarEventsAPIService) CalendarEventCreateExecute(r CalendarEventsAPICalendarEventCreateRequest) (*CalendarEventCreate200Response, *http.Response, error)
- func (a *CalendarEventsAPIService) CalendarEventDelete(ctx context.Context, channelId string, calendarEventId int32) CalendarEventsAPICalendarEventDeleteRequest
- func (a *CalendarEventsAPIService) CalendarEventDeleteExecute(r CalendarEventsAPICalendarEventDeleteRequest) (*http.Response, error)
- func (a *CalendarEventsAPIService) CalendarEventRead(ctx context.Context, channelId string, calendarEventId int32) CalendarEventsAPICalendarEventReadRequest
- func (a *CalendarEventsAPIService) CalendarEventReadExecute(r CalendarEventsAPICalendarEventReadRequest) (*CalendarEventCreate200Response, *http.Response, error)
- func (a *CalendarEventsAPIService) CalendarEventReadMany(ctx context.Context, channelId string) CalendarEventsAPICalendarEventReadManyRequest
- func (a *CalendarEventsAPIService) CalendarEventReadManyExecute(r CalendarEventsAPICalendarEventReadManyRequest) (*CalendarEventReadMany200Response, *http.Response, error)
- func (a *CalendarEventsAPIService) CalendarEventRsvpDelete(ctx context.Context, channelId string, calendarEventId int32, userId UserID) CalendarEventsAPICalendarEventRsvpDeleteRequest
- func (a *CalendarEventsAPIService) CalendarEventRsvpDeleteExecute(r CalendarEventsAPICalendarEventRsvpDeleteRequest) (*http.Response, error)
- func (a *CalendarEventsAPIService) CalendarEventRsvpRead(ctx context.Context, channelId string, calendarEventId int32, userId UserID) CalendarEventsAPICalendarEventRsvpReadRequest
- func (a *CalendarEventsAPIService) CalendarEventRsvpReadExecute(r CalendarEventsAPICalendarEventRsvpReadRequest) (*CalendarEventRsvpRead200Response, *http.Response, error)
- func (a *CalendarEventsAPIService) CalendarEventRsvpReadMany(ctx context.Context, channelId string, calendarEventId int32) CalendarEventsAPICalendarEventRsvpReadManyRequest
- func (a *CalendarEventsAPIService) CalendarEventRsvpReadManyExecute(r CalendarEventsAPICalendarEventRsvpReadManyRequest) (*CalendarEventRsvpReadMany200Response, *http.Response, error)
- func (a *CalendarEventsAPIService) CalendarEventRsvpUpdate(ctx context.Context, channelId string, calendarEventId int32, userId UserID) CalendarEventsAPICalendarEventRsvpUpdateRequest
- func (a *CalendarEventsAPIService) CalendarEventRsvpUpdateExecute(r CalendarEventsAPICalendarEventRsvpUpdateRequest) (*CalendarEventRsvpRead200Response, *http.Response, error)
- func (a *CalendarEventsAPIService) CalendarEventRsvpUpdateMany(ctx context.Context, channelId string, calendarEventId int32) CalendarEventsAPICalendarEventRsvpUpdateManyRequest
- func (a *CalendarEventsAPIService) CalendarEventRsvpUpdateManyExecute(r CalendarEventsAPICalendarEventRsvpUpdateManyRequest) (*http.Response, error)
- func (a *CalendarEventsAPIService) CalendarEventUpdate(ctx context.Context, channelId string, calendarEventId int32) CalendarEventsAPICalendarEventUpdateRequest
- func (a *CalendarEventsAPIService) CalendarEventUpdateExecute(r CalendarEventsAPICalendarEventUpdateRequest) (*CalendarEventCreate200Response, *http.Response, error)
- type CategoriesAPI
- type CategoriesAPICategoryCreateRequest
- type CategoriesAPICategoryDeleteRequest
- type CategoriesAPICategoryReadRequest
- type CategoriesAPICategoryUpdateRequest
- type CategoriesAPIService
- func (a *CategoriesAPIService) CategoryCreate(ctx context.Context, serverId string) CategoriesAPICategoryCreateRequest
- func (a *CategoriesAPIService) CategoryCreateExecute(r CategoriesAPICategoryCreateRequest) (*CategoryCreate200Response, *http.Response, error)
- func (a *CategoriesAPIService) CategoryDelete(ctx context.Context, serverId string, categoryId int32) CategoriesAPICategoryDeleteRequest
- func (a *CategoriesAPIService) CategoryDeleteExecute(r CategoriesAPICategoryDeleteRequest) (*CategoryCreate200Response, *http.Response, error)
- func (a *CategoriesAPIService) CategoryRead(ctx context.Context, serverId string, categoryId int32) CategoriesAPICategoryReadRequest
- func (a *CategoriesAPIService) CategoryReadExecute(r CategoriesAPICategoryReadRequest) (*CategoryCreate200Response, *http.Response, error)
- func (a *CategoriesAPIService) CategoryUpdate(ctx context.Context, serverId string, categoryId int32) CategoriesAPICategoryUpdateRequest
- func (a *CategoriesAPIService) CategoryUpdateExecute(r CategoriesAPICategoryUpdateRequest) (*CategoryCreate200Response, *http.Response, error)
- type Category
- func (o *Category) GetCreatedAt() time.Time
- func (o *Category) GetCreatedAtOk() (*time.Time, bool)
- func (o *Category) GetGroupId() string
- func (o *Category) GetGroupIdOk() (*string, bool)
- func (o *Category) GetId() int32
- func (o *Category) GetIdOk() (*int32, bool)
- func (o *Category) GetName() string
- func (o *Category) GetNameOk() (*string, bool)
- func (o *Category) GetPriority() int32
- func (o *Category) GetPriorityOk() (*int32, bool)
- func (o *Category) GetServerId() string
- func (o *Category) GetServerIdOk() (*string, bool)
- func (o *Category) GetUpdatedAt() time.Time
- func (o *Category) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Category) HasPriority() bool
- func (o *Category) HasUpdatedAt() bool
- func (o Category) MarshalJSON() ([]byte, error)
- func (o *Category) SetCreatedAt(v time.Time)
- func (o *Category) SetGroupId(v string)
- func (o *Category) SetId(v int32)
- func (o *Category) SetName(v string)
- func (o *Category) SetPriority(v int32)
- func (o *Category) SetServerId(v string)
- func (o *Category) SetUpdatedAt(v time.Time)
- func (o Category) ToMap() (map[string]interface{}, error)
- func (o *Category) UnmarshalJSON(data []byte) (err error)
- type CategoryCreate200Response
- func (o *CategoryCreate200Response) GetCategory() Category
- func (o *CategoryCreate200Response) GetCategoryOk() (*Category, bool)
- func (o CategoryCreate200Response) MarshalJSON() ([]byte, error)
- func (o *CategoryCreate200Response) SetCategory(v Category)
- func (o CategoryCreate200Response) ToMap() (map[string]interface{}, error)
- func (o *CategoryCreate200Response) UnmarshalJSON(data []byte) (err error)
- type CategoryCreateRequest
- func (o *CategoryCreateRequest) GetGroupId() string
- func (o *CategoryCreateRequest) GetGroupIdOk() (*string, bool)
- func (o *CategoryCreateRequest) GetName() string
- func (o *CategoryCreateRequest) GetNameOk() (*string, bool)
- func (o *CategoryCreateRequest) HasGroupId() bool
- func (o CategoryCreateRequest) MarshalJSON() ([]byte, error)
- func (o *CategoryCreateRequest) SetGroupId(v string)
- func (o *CategoryCreateRequest) SetName(v string)
- func (o CategoryCreateRequest) ToMap() (map[string]interface{}, error)
- func (o *CategoryCreateRequest) UnmarshalJSON(data []byte) (err error)
- type CategoryUpdateRequest
- func (o *CategoryUpdateRequest) GetName() string
- func (o *CategoryUpdateRequest) GetNameOk() (*string, bool)
- func (o *CategoryUpdateRequest) GetPriority() int32
- func (o *CategoryUpdateRequest) GetPriorityOk() (*int32, bool)
- func (o *CategoryUpdateRequest) HasName() bool
- func (o *CategoryUpdateRequest) HasPriority() bool
- func (o CategoryUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *CategoryUpdateRequest) SetName(v string)
- func (o *CategoryUpdateRequest) SetPriority(v int32)
- func (o CategoryUpdateRequest) ToMap() (map[string]interface{}, error)
- type ChannelCategoryRolePermission
- func (o *ChannelCategoryRolePermission) GetCategoryId() int32
- func (o *ChannelCategoryRolePermission) GetCategoryIdOk() (*int32, bool)
- func (o *ChannelCategoryRolePermission) GetCreatedAt() time.Time
- func (o *ChannelCategoryRolePermission) GetCreatedAtOk() (*time.Time, bool)
- func (o *ChannelCategoryRolePermission) GetPermissions() map[string]bool
- func (o *ChannelCategoryRolePermission) GetPermissionsOk() (*map[string]bool, bool)
- func (o *ChannelCategoryRolePermission) GetRoleId() int32
- func (o *ChannelCategoryRolePermission) GetRoleIdOk() (*int32, bool)
- func (o *ChannelCategoryRolePermission) GetUpdatedAt() time.Time
- func (o *ChannelCategoryRolePermission) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ChannelCategoryRolePermission) HasUpdatedAt() bool
- func (o ChannelCategoryRolePermission) MarshalJSON() ([]byte, error)
- func (o *ChannelCategoryRolePermission) SetCategoryId(v int32)
- func (o *ChannelCategoryRolePermission) SetCreatedAt(v time.Time)
- func (o *ChannelCategoryRolePermission) SetPermissions(v map[string]bool)
- func (o *ChannelCategoryRolePermission) SetRoleId(v int32)
- func (o *ChannelCategoryRolePermission) SetUpdatedAt(v time.Time)
- func (o ChannelCategoryRolePermission) ToMap() (map[string]interface{}, error)
- func (o *ChannelCategoryRolePermission) UnmarshalJSON(data []byte) (err error)
- type ChannelCategoryRolePermissionRead200Response
- func (o *ChannelCategoryRolePermissionRead200Response) GetChannelCategoryRolePermission() ChannelCategoryRolePermission
- func (o *ChannelCategoryRolePermissionRead200Response) GetChannelCategoryRolePermissionOk() (*ChannelCategoryRolePermission, bool)
- func (o ChannelCategoryRolePermissionRead200Response) MarshalJSON() ([]byte, error)
- func (o *ChannelCategoryRolePermissionRead200Response) SetChannelCategoryRolePermission(v ChannelCategoryRolePermission)
- func (o ChannelCategoryRolePermissionRead200Response) ToMap() (map[string]interface{}, error)
- func (o *ChannelCategoryRolePermissionRead200Response) UnmarshalJSON(data []byte) (err error)
- type ChannelCategoryRolePermissionReadMany200Response
- func (o *ChannelCategoryRolePermissionReadMany200Response) GetChannelCategoryRolePermissions() []ChannelCategoryRolePermission
- func (o *ChannelCategoryRolePermissionReadMany200Response) GetChannelCategoryRolePermissionsOk() ([]ChannelCategoryRolePermission, bool)
- func (o ChannelCategoryRolePermissionReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *ChannelCategoryRolePermissionReadMany200Response) SetChannelCategoryRolePermissions(v []ChannelCategoryRolePermission)
- func (o ChannelCategoryRolePermissionReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *ChannelCategoryRolePermissionReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type ChannelCategoryUserPermission
- func (o *ChannelCategoryUserPermission) GetCategoryId() int32
- func (o *ChannelCategoryUserPermission) GetCategoryIdOk() (*int32, bool)
- func (o *ChannelCategoryUserPermission) GetCreatedAt() time.Time
- func (o *ChannelCategoryUserPermission) GetCreatedAtOk() (*time.Time, bool)
- func (o *ChannelCategoryUserPermission) GetPermissions() map[string]bool
- func (o *ChannelCategoryUserPermission) GetPermissionsOk() (*map[string]bool, bool)
- func (o *ChannelCategoryUserPermission) GetUpdatedAt() time.Time
- func (o *ChannelCategoryUserPermission) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ChannelCategoryUserPermission) GetUserId() string
- func (o *ChannelCategoryUserPermission) GetUserIdOk() (*string, bool)
- func (o *ChannelCategoryUserPermission) HasUpdatedAt() bool
- func (o ChannelCategoryUserPermission) MarshalJSON() ([]byte, error)
- func (o *ChannelCategoryUserPermission) SetCategoryId(v int32)
- func (o *ChannelCategoryUserPermission) SetCreatedAt(v time.Time)
- func (o *ChannelCategoryUserPermission) SetPermissions(v map[string]bool)
- func (o *ChannelCategoryUserPermission) SetUpdatedAt(v time.Time)
- func (o *ChannelCategoryUserPermission) SetUserId(v string)
- func (o ChannelCategoryUserPermission) ToMap() (map[string]interface{}, error)
- func (o *ChannelCategoryUserPermission) UnmarshalJSON(data []byte) (err error)
- type ChannelCategoryUserPermissionRead200Response
- func (o *ChannelCategoryUserPermissionRead200Response) GetChannelCategoryUserPermission() ChannelCategoryUserPermission
- func (o *ChannelCategoryUserPermissionRead200Response) GetChannelCategoryUserPermissionOk() (*ChannelCategoryUserPermission, bool)
- func (o ChannelCategoryUserPermissionRead200Response) MarshalJSON() ([]byte, error)
- func (o *ChannelCategoryUserPermissionRead200Response) SetChannelCategoryUserPermission(v ChannelCategoryUserPermission)
- func (o ChannelCategoryUserPermissionRead200Response) ToMap() (map[string]interface{}, error)
- func (o *ChannelCategoryUserPermissionRead200Response) UnmarshalJSON(data []byte) (err error)
- type ChannelCategoryUserPermissionReadMany200Response
- func (o *ChannelCategoryUserPermissionReadMany200Response) GetChannelCategoryUserPermissions() []ChannelCategoryUserPermission
- func (o *ChannelCategoryUserPermissionReadMany200Response) GetChannelCategoryUserPermissionsOk() ([]ChannelCategoryUserPermission, bool)
- func (o ChannelCategoryUserPermissionReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *ChannelCategoryUserPermissionReadMany200Response) SetChannelCategoryUserPermissions(v []ChannelCategoryUserPermission)
- func (o ChannelCategoryUserPermissionReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *ChannelCategoryUserPermissionReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type ChannelCreate201Response
- func (o *ChannelCreate201Response) GetChannel() ServerChannel
- func (o *ChannelCreate201Response) GetChannelOk() (*ServerChannel, bool)
- func (o ChannelCreate201Response) MarshalJSON() ([]byte, error)
- func (o *ChannelCreate201Response) SetChannel(v ServerChannel)
- func (o ChannelCreate201Response) ToMap() (map[string]interface{}, error)
- func (o *ChannelCreate201Response) UnmarshalJSON(data []byte) (err error)
- type ChannelMessageCreate201Response
- func (o *ChannelMessageCreate201Response) GetMessage() ChatMessage
- func (o *ChannelMessageCreate201Response) GetMessageOk() (*ChatMessage, bool)
- func (o ChannelMessageCreate201Response) MarshalJSON() ([]byte, error)
- func (o *ChannelMessageCreate201Response) SetMessage(v ChatMessage)
- func (o ChannelMessageCreate201Response) ToMap() (map[string]interface{}, error)
- func (o *ChannelMessageCreate201Response) UnmarshalJSON(data []byte) (err error)
- type ChannelMessageCreateRequest
- func (o *ChannelMessageCreateRequest) GetContent() Content
- func (o *ChannelMessageCreateRequest) GetContentOk() (*Content, bool)
- func (o *ChannelMessageCreateRequest) GetEmbeds() []ChatEmbed
- func (o *ChannelMessageCreateRequest) GetEmbedsOk() ([]ChatEmbed, bool)
- func (o *ChannelMessageCreateRequest) GetHiddenLinkPreviewUrls() []string
- func (o *ChannelMessageCreateRequest) GetHiddenLinkPreviewUrlsOk() ([]string, bool)
- func (o *ChannelMessageCreateRequest) GetIsPrivate() bool
- func (o *ChannelMessageCreateRequest) GetIsPrivateOk() (*bool, bool)
- func (o *ChannelMessageCreateRequest) GetIsSilent() bool
- func (o *ChannelMessageCreateRequest) GetIsSilentOk() (*bool, bool)
- func (o *ChannelMessageCreateRequest) GetReplyMessageIds() []string
- func (o *ChannelMessageCreateRequest) GetReplyMessageIdsOk() ([]string, bool)
- func (o *ChannelMessageCreateRequest) HasContent() bool
- func (o *ChannelMessageCreateRequest) HasEmbeds() bool
- func (o *ChannelMessageCreateRequest) HasHiddenLinkPreviewUrls() bool
- func (o *ChannelMessageCreateRequest) HasIsPrivate() bool
- func (o *ChannelMessageCreateRequest) HasIsSilent() bool
- func (o *ChannelMessageCreateRequest) HasReplyMessageIds() bool
- func (o ChannelMessageCreateRequest) MarshalJSON() ([]byte, error)
- func (o *ChannelMessageCreateRequest) SetContent(v Content)
- func (o *ChannelMessageCreateRequest) SetEmbeds(v []ChatEmbed)
- func (o *ChannelMessageCreateRequest) SetHiddenLinkPreviewUrls(v []string)
- func (o *ChannelMessageCreateRequest) SetIsPrivate(v bool)
- func (o *ChannelMessageCreateRequest) SetIsSilent(v bool)
- func (o *ChannelMessageCreateRequest) SetReplyMessageIds(v []string)
- func (o ChannelMessageCreateRequest) ToMap() (map[string]interface{}, error)
- type ChannelMessageReadMany200Response
- func (o *ChannelMessageReadMany200Response) GetMessages() []ChatMessage
- func (o *ChannelMessageReadMany200Response) GetMessagesOk() ([]ChatMessage, bool)
- func (o ChannelMessageReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *ChannelMessageReadMany200Response) SetMessages(v []ChatMessage)
- func (o ChannelMessageReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *ChannelMessageReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type ChannelMessageUpdate200Response
- func (o *ChannelMessageUpdate200Response) GetMessage() ChannelMessageUpdate200ResponseMessage
- func (o *ChannelMessageUpdate200Response) GetMessageOk() (*ChannelMessageUpdate200ResponseMessage, bool)
- func (o ChannelMessageUpdate200Response) MarshalJSON() ([]byte, error)
- func (o *ChannelMessageUpdate200Response) SetMessage(v ChannelMessageUpdate200ResponseMessage)
- func (o ChannelMessageUpdate200Response) ToMap() (map[string]interface{}, error)
- func (o *ChannelMessageUpdate200Response) UnmarshalJSON(data []byte) (err error)
- type ChannelMessageUpdate200ResponseMessage
- func (o *ChannelMessageUpdate200ResponseMessage) GetChannelId() string
- func (o *ChannelMessageUpdate200ResponseMessage) GetChannelIdOk() (*string, bool)
- func (o *ChannelMessageUpdate200ResponseMessage) GetContent() string
- func (o *ChannelMessageUpdate200ResponseMessage) GetContentOk() (*string, bool)
- func (o *ChannelMessageUpdate200ResponseMessage) GetCreatedAt() time.Time
- func (o *ChannelMessageUpdate200ResponseMessage) GetCreatedAtOk() (*time.Time, bool)
- func (o *ChannelMessageUpdate200ResponseMessage) GetCreatedBy() string
- func (o *ChannelMessageUpdate200ResponseMessage) GetCreatedByOk() (*string, bool)
- func (o *ChannelMessageUpdate200ResponseMessage) GetCreatedByWebhookId() string
- func (o *ChannelMessageUpdate200ResponseMessage) GetCreatedByWebhookIdOk() (*string, bool)
- func (o *ChannelMessageUpdate200ResponseMessage) GetEmbeds() []ChatEmbed
- func (o *ChannelMessageUpdate200ResponseMessage) GetEmbedsOk() ([]ChatEmbed, bool)
- func (o *ChannelMessageUpdate200ResponseMessage) GetGroupId() string
- func (o *ChannelMessageUpdate200ResponseMessage) GetGroupIdOk() (*string, bool)
- func (o *ChannelMessageUpdate200ResponseMessage) GetHiddenLinkPreviewUrls() []string
- func (o *ChannelMessageUpdate200ResponseMessage) GetHiddenLinkPreviewUrlsOk() ([]string, bool)
- func (o *ChannelMessageUpdate200ResponseMessage) GetId() string
- func (o *ChannelMessageUpdate200ResponseMessage) GetIdOk() (*string, bool)
- func (o *ChannelMessageUpdate200ResponseMessage) GetIsPinned() bool
- func (o *ChannelMessageUpdate200ResponseMessage) GetIsPinnedOk() (*bool, bool)
- func (o *ChannelMessageUpdate200ResponseMessage) GetIsPrivate() bool
- func (o *ChannelMessageUpdate200ResponseMessage) GetIsPrivateOk() (*bool, bool)
- func (o *ChannelMessageUpdate200ResponseMessage) GetIsSilent() bool
- func (o *ChannelMessageUpdate200ResponseMessage) GetIsSilentOk() (*bool, bool)
- func (o *ChannelMessageUpdate200ResponseMessage) GetMentions() Mentions
- func (o *ChannelMessageUpdate200ResponseMessage) GetMentionsOk() (*Mentions, bool)
- func (o *ChannelMessageUpdate200ResponseMessage) GetReplyMessageIds() []string
- func (o *ChannelMessageUpdate200ResponseMessage) GetReplyMessageIdsOk() ([]string, bool)
- func (o *ChannelMessageUpdate200ResponseMessage) GetServerId() string
- func (o *ChannelMessageUpdate200ResponseMessage) GetServerIdOk() (*string, bool)
- func (o *ChannelMessageUpdate200ResponseMessage) GetType() string
- func (o *ChannelMessageUpdate200ResponseMessage) GetTypeOk() (*string, bool)
- func (o *ChannelMessageUpdate200ResponseMessage) GetUpdatedAt() time.Time
- func (o *ChannelMessageUpdate200ResponseMessage) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ChannelMessageUpdate200ResponseMessage) HasChannelId() bool
- func (o *ChannelMessageUpdate200ResponseMessage) HasContent() bool
- func (o *ChannelMessageUpdate200ResponseMessage) HasCreatedAt() bool
- func (o *ChannelMessageUpdate200ResponseMessage) HasCreatedBy() bool
- func (o *ChannelMessageUpdate200ResponseMessage) HasCreatedByWebhookId() bool
- func (o *ChannelMessageUpdate200ResponseMessage) HasEmbeds() bool
- func (o *ChannelMessageUpdate200ResponseMessage) HasGroupId() bool
- func (o *ChannelMessageUpdate200ResponseMessage) HasHiddenLinkPreviewUrls() bool
- func (o *ChannelMessageUpdate200ResponseMessage) HasId() bool
- func (o *ChannelMessageUpdate200ResponseMessage) HasIsPinned() bool
- func (o *ChannelMessageUpdate200ResponseMessage) HasIsPrivate() bool
- func (o *ChannelMessageUpdate200ResponseMessage) HasIsSilent() bool
- func (o *ChannelMessageUpdate200ResponseMessage) HasMentions() bool
- func (o *ChannelMessageUpdate200ResponseMessage) HasReplyMessageIds() bool
- func (o *ChannelMessageUpdate200ResponseMessage) HasServerId() bool
- func (o *ChannelMessageUpdate200ResponseMessage) HasType() bool
- func (o ChannelMessageUpdate200ResponseMessage) MarshalJSON() ([]byte, error)
- func (o *ChannelMessageUpdate200ResponseMessage) SetChannelId(v string)
- func (o *ChannelMessageUpdate200ResponseMessage) SetContent(v string)
- func (o *ChannelMessageUpdate200ResponseMessage) SetCreatedAt(v time.Time)
- func (o *ChannelMessageUpdate200ResponseMessage) SetCreatedBy(v string)
- func (o *ChannelMessageUpdate200ResponseMessage) SetCreatedByWebhookId(v string)
- func (o *ChannelMessageUpdate200ResponseMessage) SetEmbeds(v []ChatEmbed)
- func (o *ChannelMessageUpdate200ResponseMessage) SetGroupId(v string)
- func (o *ChannelMessageUpdate200ResponseMessage) SetHiddenLinkPreviewUrls(v []string)
- func (o *ChannelMessageUpdate200ResponseMessage) SetId(v string)
- func (o *ChannelMessageUpdate200ResponseMessage) SetIsPinned(v bool)
- func (o *ChannelMessageUpdate200ResponseMessage) SetIsPrivate(v bool)
- func (o *ChannelMessageUpdate200ResponseMessage) SetIsSilent(v bool)
- func (o *ChannelMessageUpdate200ResponseMessage) SetMentions(v Mentions)
- func (o *ChannelMessageUpdate200ResponseMessage) SetMentionsNil()
- func (o *ChannelMessageUpdate200ResponseMessage) SetReplyMessageIds(v []string)
- func (o *ChannelMessageUpdate200ResponseMessage) SetServerId(v string)
- func (o *ChannelMessageUpdate200ResponseMessage) SetType(v string)
- func (o *ChannelMessageUpdate200ResponseMessage) SetUpdatedAt(v time.Time)
- func (o ChannelMessageUpdate200ResponseMessage) ToMap() (map[string]interface{}, error)
- func (o *ChannelMessageUpdate200ResponseMessage) UnmarshalJSON(data []byte) (err error)
- func (o *ChannelMessageUpdate200ResponseMessage) UnsetMentions()
- type ChannelMessageUpdateRequest
- func (o *ChannelMessageUpdateRequest) GetContent() Content1
- func (o *ChannelMessageUpdateRequest) GetContentOk() (*Content1, bool)
- func (o *ChannelMessageUpdateRequest) GetEmbeds() []ChatEmbed
- func (o *ChannelMessageUpdateRequest) GetEmbedsOk() ([]ChatEmbed, bool)
- func (o *ChannelMessageUpdateRequest) GetHiddenLinkPreviewUrls() []string
- func (o *ChannelMessageUpdateRequest) GetHiddenLinkPreviewUrlsOk() ([]string, bool)
- func (o *ChannelMessageUpdateRequest) HasContent() bool
- func (o *ChannelMessageUpdateRequest) HasEmbeds() bool
- func (o *ChannelMessageUpdateRequest) HasHiddenLinkPreviewUrls() bool
- func (o ChannelMessageUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *ChannelMessageUpdateRequest) SetContent(v Content1)
- func (o *ChannelMessageUpdateRequest) SetEmbeds(v []ChatEmbed)
- func (o *ChannelMessageUpdateRequest) SetHiddenLinkPreviewUrls(v []string)
- func (o ChannelMessageUpdateRequest) ToMap() (map[string]interface{}, error)
- type ChannelRolePermission
- func (o *ChannelRolePermission) GetChannelId() string
- func (o *ChannelRolePermission) GetChannelIdOk() (*string, bool)
- func (o *ChannelRolePermission) GetCreatedAt() time.Time
- func (o *ChannelRolePermission) GetCreatedAtOk() (*time.Time, bool)
- func (o *ChannelRolePermission) GetPermissions() map[string]bool
- func (o *ChannelRolePermission) GetPermissionsOk() (*map[string]bool, bool)
- func (o *ChannelRolePermission) GetRoleId() int32
- func (o *ChannelRolePermission) GetRoleIdOk() (*int32, bool)
- func (o *ChannelRolePermission) GetUpdatedAt() time.Time
- func (o *ChannelRolePermission) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ChannelRolePermission) HasUpdatedAt() bool
- func (o ChannelRolePermission) MarshalJSON() ([]byte, error)
- func (o *ChannelRolePermission) SetChannelId(v string)
- func (o *ChannelRolePermission) SetCreatedAt(v time.Time)
- func (o *ChannelRolePermission) SetPermissions(v map[string]bool)
- func (o *ChannelRolePermission) SetRoleId(v int32)
- func (o *ChannelRolePermission) SetUpdatedAt(v time.Time)
- func (o ChannelRolePermission) ToMap() (map[string]interface{}, error)
- func (o *ChannelRolePermission) UnmarshalJSON(data []byte) (err error)
- type ChannelRolePermissionCreateRequest
- func (o *ChannelRolePermissionCreateRequest) GetPermissions() map[string]interface{}
- func (o *ChannelRolePermissionCreateRequest) GetPermissionsOk() (map[string]interface{}, bool)
- func (o ChannelRolePermissionCreateRequest) MarshalJSON() ([]byte, error)
- func (o *ChannelRolePermissionCreateRequest) SetPermissions(v map[string]interface{})
- func (o ChannelRolePermissionCreateRequest) ToMap() (map[string]interface{}, error)
- func (o *ChannelRolePermissionCreateRequest) UnmarshalJSON(data []byte) (err error)
- type ChannelRolePermissionRead200Response
- func (o *ChannelRolePermissionRead200Response) GetChannelRolePermission() ChannelRolePermission
- func (o *ChannelRolePermissionRead200Response) GetChannelRolePermissionOk() (*ChannelRolePermission, bool)
- func (o ChannelRolePermissionRead200Response) MarshalJSON() ([]byte, error)
- func (o *ChannelRolePermissionRead200Response) SetChannelRolePermission(v ChannelRolePermission)
- func (o ChannelRolePermissionRead200Response) ToMap() (map[string]interface{}, error)
- func (o *ChannelRolePermissionRead200Response) UnmarshalJSON(data []byte) (err error)
- type ChannelRolePermissionReadMany200Response
- func (o *ChannelRolePermissionReadMany200Response) GetChannelRolePermissions() []ChannelRolePermission
- func (o *ChannelRolePermissionReadMany200Response) GetChannelRolePermissionsOk() ([]ChannelRolePermission, bool)
- func (o ChannelRolePermissionReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *ChannelRolePermissionReadMany200Response) SetChannelRolePermissions(v []ChannelRolePermission)
- func (o ChannelRolePermissionReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *ChannelRolePermissionReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type ChannelUpdateRequest
- func (o *ChannelUpdateRequest) GetName() string
- func (o *ChannelUpdateRequest) GetNameOk() (*string, bool)
- func (o *ChannelUpdateRequest) GetPriority() int32
- func (o *ChannelUpdateRequest) GetPriorityOk() (*int32, bool)
- func (o *ChannelUpdateRequest) GetTopic() string
- func (o *ChannelUpdateRequest) GetTopicOk() (*string, bool)
- func (o *ChannelUpdateRequest) GetVisibility() string
- func (o *ChannelUpdateRequest) GetVisibilityOk() (*string, bool)
- func (o *ChannelUpdateRequest) HasName() bool
- func (o *ChannelUpdateRequest) HasPriority() bool
- func (o *ChannelUpdateRequest) HasTopic() bool
- func (o *ChannelUpdateRequest) HasVisibility() bool
- func (o ChannelUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *ChannelUpdateRequest) SetName(v string)
- func (o *ChannelUpdateRequest) SetPriority(v int32)
- func (o *ChannelUpdateRequest) SetTopic(v string)
- func (o *ChannelUpdateRequest) SetTopicNil()
- func (o *ChannelUpdateRequest) SetVisibility(v string)
- func (o *ChannelUpdateRequest) SetVisibilityNil()
- func (o ChannelUpdateRequest) ToMap() (map[string]interface{}, error)
- func (o *ChannelUpdateRequest) UnsetTopic()
- func (o *ChannelUpdateRequest) UnsetVisibility()
- type ChannelUserPermission
- func (o *ChannelUserPermission) GetChannelId() string
- func (o *ChannelUserPermission) GetChannelIdOk() (*string, bool)
- func (o *ChannelUserPermission) GetCreatedAt() time.Time
- func (o *ChannelUserPermission) GetCreatedAtOk() (*time.Time, bool)
- func (o *ChannelUserPermission) GetPermissions() map[string]bool
- func (o *ChannelUserPermission) GetPermissionsOk() (*map[string]bool, bool)
- func (o *ChannelUserPermission) GetUpdatedAt() time.Time
- func (o *ChannelUserPermission) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ChannelUserPermission) GetUserId() string
- func (o *ChannelUserPermission) GetUserIdOk() (*string, bool)
- func (o *ChannelUserPermission) HasUpdatedAt() bool
- func (o ChannelUserPermission) MarshalJSON() ([]byte, error)
- func (o *ChannelUserPermission) SetChannelId(v string)
- func (o *ChannelUserPermission) SetCreatedAt(v time.Time)
- func (o *ChannelUserPermission) SetPermissions(v map[string]bool)
- func (o *ChannelUserPermission) SetUpdatedAt(v time.Time)
- func (o *ChannelUserPermission) SetUserId(v string)
- func (o ChannelUserPermission) ToMap() (map[string]interface{}, error)
- func (o *ChannelUserPermission) UnmarshalJSON(data []byte) (err error)
- type ChannelUserPermissionRead200Response
- func (o *ChannelUserPermissionRead200Response) GetChannelUserPermission() ChannelUserPermission
- func (o *ChannelUserPermissionRead200Response) GetChannelUserPermissionOk() (*ChannelUserPermission, bool)
- func (o ChannelUserPermissionRead200Response) MarshalJSON() ([]byte, error)
- func (o *ChannelUserPermissionRead200Response) SetChannelUserPermission(v ChannelUserPermission)
- func (o ChannelUserPermissionRead200Response) ToMap() (map[string]interface{}, error)
- func (o *ChannelUserPermissionRead200Response) UnmarshalJSON(data []byte) (err error)
- type ChannelUserPermissionReadMany200Response
- func (o *ChannelUserPermissionReadMany200Response) GetChannelUserPermissions() []ChannelUserPermission
- func (o *ChannelUserPermissionReadMany200Response) GetChannelUserPermissionsOk() ([]ChannelUserPermission, bool)
- func (o ChannelUserPermissionReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *ChannelUserPermissionReadMany200Response) SetChannelUserPermissions(v []ChannelUserPermission)
- func (o ChannelUserPermissionReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *ChannelUserPermissionReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type ChannelsAPI
- type ChannelsAPIChannelArchiveCreateRequest
- type ChannelsAPIChannelArchiveDeleteRequest
- type ChannelsAPIChannelCreateRequest
- type ChannelsAPIChannelDeleteRequest
- type ChannelsAPIChannelReadRequest
- type ChannelsAPIChannelUpdateRequest
- type ChannelsAPIService
- func (a *ChannelsAPIService) ChannelArchiveCreate(ctx context.Context, channelId string) ChannelsAPIChannelArchiveCreateRequest
- func (a *ChannelsAPIService) ChannelArchiveCreateExecute(r ChannelsAPIChannelArchiveCreateRequest) (*http.Response, error)
- func (a *ChannelsAPIService) ChannelArchiveDelete(ctx context.Context, channelId string) ChannelsAPIChannelArchiveDeleteRequest
- func (a *ChannelsAPIService) ChannelArchiveDeleteExecute(r ChannelsAPIChannelArchiveDeleteRequest) (*http.Response, error)
- func (a *ChannelsAPIService) ChannelCreate(ctx context.Context) ChannelsAPIChannelCreateRequest
- func (a *ChannelsAPIService) ChannelCreateExecute(r ChannelsAPIChannelCreateRequest) (*ChannelCreate201Response, *http.Response, error)
- func (a *ChannelsAPIService) ChannelDelete(ctx context.Context, channelId string) ChannelsAPIChannelDeleteRequest
- func (a *ChannelsAPIService) ChannelDeleteExecute(r ChannelsAPIChannelDeleteRequest) (*http.Response, error)
- func (a *ChannelsAPIService) ChannelRead(ctx context.Context, channelId string) ChannelsAPIChannelReadRequest
- func (a *ChannelsAPIService) ChannelReadExecute(r ChannelsAPIChannelReadRequest) (*ChannelCreate201Response, *http.Response, error)
- func (a *ChannelsAPIService) ChannelUpdate(ctx context.Context, channelId string) ChannelsAPIChannelUpdateRequest
- func (a *ChannelsAPIService) ChannelUpdateExecute(r ChannelsAPIChannelUpdateRequest) (*ChannelCreate201Response, *http.Response, error)
- type ChatAPI
- type ChatAPIChannelMessageCreateRequest
- type ChatAPIChannelMessageDeleteRequest
- type ChatAPIChannelMessagePinCreateRequest
- type ChatAPIChannelMessagePinDeleteRequest
- type ChatAPIChannelMessageReadManyRequest
- func (r ChatAPIChannelMessageReadManyRequest) After(after time.Time) ChatAPIChannelMessageReadManyRequest
- func (r ChatAPIChannelMessageReadManyRequest) Before(before time.Time) ChatAPIChannelMessageReadManyRequest
- func (r ChatAPIChannelMessageReadManyRequest) Execute() (*ChannelMessageReadMany200Response, *http.Response, error)
- func (r ChatAPIChannelMessageReadManyRequest) IncludePrivate(includePrivate bool) ChatAPIChannelMessageReadManyRequest
- func (r ChatAPIChannelMessageReadManyRequest) Limit(limit int32) ChatAPIChannelMessageReadManyRequest
- type ChatAPIChannelMessageReadRequest
- type ChatAPIChannelMessageUpdateRequest
- type ChatAPIService
- func (a *ChatAPIService) ChannelMessageCreate(ctx context.Context, channelId string) ChatAPIChannelMessageCreateRequest
- func (a *ChatAPIService) ChannelMessageCreateExecute(r ChatAPIChannelMessageCreateRequest) (*ChannelMessageCreate201Response, *http.Response, error)
- func (a *ChatAPIService) ChannelMessageDelete(ctx context.Context, channelId string, messageId string) ChatAPIChannelMessageDeleteRequest
- func (a *ChatAPIService) ChannelMessageDeleteExecute(r ChatAPIChannelMessageDeleteRequest) (*http.Response, error)
- func (a *ChatAPIService) ChannelMessagePinCreate(ctx context.Context, channelId string, messageId string) ChatAPIChannelMessagePinCreateRequest
- func (a *ChatAPIService) ChannelMessagePinCreateExecute(r ChatAPIChannelMessagePinCreateRequest) (*http.Response, error)
- func (a *ChatAPIService) ChannelMessagePinDelete(ctx context.Context, channelId string, messageId string) ChatAPIChannelMessagePinDeleteRequest
- func (a *ChatAPIService) ChannelMessagePinDeleteExecute(r ChatAPIChannelMessagePinDeleteRequest) (*http.Response, error)
- func (a *ChatAPIService) ChannelMessageRead(ctx context.Context, channelId string, messageId string) ChatAPIChannelMessageReadRequest
- func (a *ChatAPIService) ChannelMessageReadExecute(r ChatAPIChannelMessageReadRequest) (*ChannelMessageCreate201Response, *http.Response, error)
- func (a *ChatAPIService) ChannelMessageReadMany(ctx context.Context, channelId string) ChatAPIChannelMessageReadManyRequest
- func (a *ChatAPIService) ChannelMessageReadManyExecute(r ChatAPIChannelMessageReadManyRequest) (*ChannelMessageReadMany200Response, *http.Response, error)
- func (a *ChatAPIService) ChannelMessageUpdate(ctx context.Context, channelId string, messageId string) ChatAPIChannelMessageUpdateRequest
- func (a *ChatAPIService) ChannelMessageUpdateExecute(r ChatAPIChannelMessageUpdateRequest) (*ChannelMessageUpdate200Response, *http.Response, error)
- type ChatEmbed
- func (o *ChatEmbed) GetAuthor() ChatEmbedAuthor
- func (o *ChatEmbed) GetAuthorOk() (*ChatEmbedAuthor, bool)
- func (o *ChatEmbed) GetColor() int32
- func (o *ChatEmbed) GetColorOk() (*int32, bool)
- func (o *ChatEmbed) GetDescription() string
- func (o *ChatEmbed) GetDescriptionOk() (*string, bool)
- func (o *ChatEmbed) GetFields() []ChatEmbedFieldsInner
- func (o *ChatEmbed) GetFieldsOk() ([]ChatEmbedFieldsInner, bool)
- func (o *ChatEmbed) GetFooter() ChatEmbedFooter
- func (o *ChatEmbed) GetFooterOk() (*ChatEmbedFooter, bool)
- func (o *ChatEmbed) GetImage() ChatEmbedImage
- func (o *ChatEmbed) GetImageOk() (*ChatEmbedImage, bool)
- func (o *ChatEmbed) GetThumbnail() ChatEmbedThumbnail
- func (o *ChatEmbed) GetThumbnailOk() (*ChatEmbedThumbnail, bool)
- func (o *ChatEmbed) GetTimestamp() time.Time
- func (o *ChatEmbed) GetTimestampOk() (*time.Time, bool)
- func (o *ChatEmbed) GetTitle() string
- func (o *ChatEmbed) GetTitleOk() (*string, bool)
- func (o *ChatEmbed) GetUrl() string
- func (o *ChatEmbed) GetUrlOk() (*string, bool)
- func (o *ChatEmbed) HasAuthor() bool
- func (o *ChatEmbed) HasColor() bool
- func (o *ChatEmbed) HasDescription() bool
- func (o *ChatEmbed) HasFields() bool
- func (o *ChatEmbed) HasFooter() bool
- func (o *ChatEmbed) HasImage() bool
- func (o *ChatEmbed) HasThumbnail() bool
- func (o *ChatEmbed) HasTimestamp() bool
- func (o *ChatEmbed) HasTitle() bool
- func (o *ChatEmbed) HasUrl() bool
- func (o ChatEmbed) MarshalJSON() ([]byte, error)
- func (o *ChatEmbed) SetAuthor(v ChatEmbedAuthor)
- func (o *ChatEmbed) SetColor(v int32)
- func (o *ChatEmbed) SetDescription(v string)
- func (o *ChatEmbed) SetFields(v []ChatEmbedFieldsInner)
- func (o *ChatEmbed) SetFooter(v ChatEmbedFooter)
- func (o *ChatEmbed) SetImage(v ChatEmbedImage)
- func (o *ChatEmbed) SetThumbnail(v ChatEmbedThumbnail)
- func (o *ChatEmbed) SetTimestamp(v time.Time)
- func (o *ChatEmbed) SetTitle(v string)
- func (o *ChatEmbed) SetUrl(v string)
- func (o ChatEmbed) ToMap() (map[string]interface{}, error)
- type ChatEmbedAuthor
- func (o *ChatEmbedAuthor) GetIconUrl() string
- func (o *ChatEmbedAuthor) GetIconUrlOk() (*string, bool)
- func (o *ChatEmbedAuthor) GetName() string
- func (o *ChatEmbedAuthor) GetNameOk() (*string, bool)
- func (o *ChatEmbedAuthor) GetUrl() string
- func (o *ChatEmbedAuthor) GetUrlOk() (*string, bool)
- func (o *ChatEmbedAuthor) HasIconUrl() bool
- func (o *ChatEmbedAuthor) HasName() bool
- func (o *ChatEmbedAuthor) HasUrl() bool
- func (o ChatEmbedAuthor) MarshalJSON() ([]byte, error)
- func (o *ChatEmbedAuthor) SetIconUrl(v string)
- func (o *ChatEmbedAuthor) SetName(v string)
- func (o *ChatEmbedAuthor) SetUrl(v string)
- func (o ChatEmbedAuthor) ToMap() (map[string]interface{}, error)
- type ChatEmbedFieldsInner
- func (o *ChatEmbedFieldsInner) GetInline() bool
- func (o *ChatEmbedFieldsInner) GetInlineOk() (*bool, bool)
- func (o *ChatEmbedFieldsInner) GetName() string
- func (o *ChatEmbedFieldsInner) GetNameOk() (*string, bool)
- func (o *ChatEmbedFieldsInner) GetValue() string
- func (o *ChatEmbedFieldsInner) GetValueOk() (*string, bool)
- func (o *ChatEmbedFieldsInner) HasInline() bool
- func (o ChatEmbedFieldsInner) MarshalJSON() ([]byte, error)
- func (o *ChatEmbedFieldsInner) SetInline(v bool)
- func (o *ChatEmbedFieldsInner) SetName(v string)
- func (o *ChatEmbedFieldsInner) SetValue(v string)
- func (o ChatEmbedFieldsInner) ToMap() (map[string]interface{}, error)
- func (o *ChatEmbedFieldsInner) UnmarshalJSON(data []byte) (err error)
- type ChatEmbedFooter
- func (o *ChatEmbedFooter) GetIconUrl() string
- func (o *ChatEmbedFooter) GetIconUrlOk() (*string, bool)
- func (o *ChatEmbedFooter) GetText() string
- func (o *ChatEmbedFooter) GetTextOk() (*string, bool)
- func (o *ChatEmbedFooter) HasIconUrl() bool
- func (o ChatEmbedFooter) MarshalJSON() ([]byte, error)
- func (o *ChatEmbedFooter) SetIconUrl(v string)
- func (o *ChatEmbedFooter) SetText(v string)
- func (o ChatEmbedFooter) ToMap() (map[string]interface{}, error)
- func (o *ChatEmbedFooter) UnmarshalJSON(data []byte) (err error)
- type ChatEmbedImage
- type ChatEmbedThumbnail
- func (o *ChatEmbedThumbnail) GetUrl() string
- func (o *ChatEmbedThumbnail) GetUrlOk() (*string, bool)
- func (o *ChatEmbedThumbnail) HasUrl() bool
- func (o ChatEmbedThumbnail) MarshalJSON() ([]byte, error)
- func (o *ChatEmbedThumbnail) SetUrl(v string)
- func (o ChatEmbedThumbnail) ToMap() (map[string]interface{}, error)
- type ChatMessage
- func (o *ChatMessage) GetChannelId() string
- func (o *ChatMessage) GetChannelIdOk() (*string, bool)
- func (o *ChatMessage) GetContent() string
- func (o *ChatMessage) GetContentOk() (*string, bool)
- func (o *ChatMessage) GetCreatedAt() time.Time
- func (o *ChatMessage) GetCreatedAtOk() (*time.Time, bool)
- func (o *ChatMessage) GetCreatedBy() string
- func (o *ChatMessage) GetCreatedByOk() (*string, bool)
- func (o *ChatMessage) GetCreatedByWebhookId() string
- func (o *ChatMessage) GetCreatedByWebhookIdOk() (*string, bool)
- func (o *ChatMessage) GetEmbeds() []ChatEmbed
- func (o *ChatMessage) GetEmbedsOk() ([]ChatEmbed, bool)
- func (o *ChatMessage) GetGroupId() string
- func (o *ChatMessage) GetGroupIdOk() (*string, bool)
- func (o *ChatMessage) GetHiddenLinkPreviewUrls() []string
- func (o *ChatMessage) GetHiddenLinkPreviewUrlsOk() ([]string, bool)
- func (o *ChatMessage) GetId() string
- func (o *ChatMessage) GetIdOk() (*string, bool)
- func (o *ChatMessage) GetIsPinned() bool
- func (o *ChatMessage) GetIsPinnedOk() (*bool, bool)
- func (o *ChatMessage) GetIsPrivate() bool
- func (o *ChatMessage) GetIsPrivateOk() (*bool, bool)
- func (o *ChatMessage) GetIsSilent() bool
- func (o *ChatMessage) GetIsSilentOk() (*bool, bool)
- func (o *ChatMessage) GetMentions() Mentions
- func (o *ChatMessage) GetMentionsOk() (*Mentions, bool)
- func (o *ChatMessage) GetReplyMessageIds() []string
- func (o *ChatMessage) GetReplyMessageIdsOk() ([]string, bool)
- func (o *ChatMessage) GetServerId() string
- func (o *ChatMessage) GetServerIdOk() (*string, bool)
- func (o *ChatMessage) GetType() string
- func (o *ChatMessage) GetTypeOk() (*string, bool)
- func (o *ChatMessage) GetUpdatedAt() time.Time
- func (o *ChatMessage) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ChatMessage) HasContent() bool
- func (o *ChatMessage) HasCreatedByWebhookId() bool
- func (o *ChatMessage) HasEmbeds() bool
- func (o *ChatMessage) HasGroupId() bool
- func (o *ChatMessage) HasHiddenLinkPreviewUrls() bool
- func (o *ChatMessage) HasIsPinned() bool
- func (o *ChatMessage) HasIsPrivate() bool
- func (o *ChatMessage) HasIsSilent() bool
- func (o *ChatMessage) HasMentions() bool
- func (o *ChatMessage) HasReplyMessageIds() bool
- func (o *ChatMessage) HasServerId() bool
- func (o *ChatMessage) HasUpdatedAt() bool
- func (o ChatMessage) MarshalJSON() ([]byte, error)
- func (o *ChatMessage) SetChannelId(v string)
- func (o *ChatMessage) SetContent(v string)
- func (o *ChatMessage) SetCreatedAt(v time.Time)
- func (o *ChatMessage) SetCreatedBy(v string)
- func (o *ChatMessage) SetCreatedByWebhookId(v string)
- func (o *ChatMessage) SetEmbeds(v []ChatEmbed)
- func (o *ChatMessage) SetGroupId(v string)
- func (o *ChatMessage) SetHiddenLinkPreviewUrls(v []string)
- func (o *ChatMessage) SetId(v string)
- func (o *ChatMessage) SetIsPinned(v bool)
- func (o *ChatMessage) SetIsPrivate(v bool)
- func (o *ChatMessage) SetIsSilent(v bool)
- func (o *ChatMessage) SetMentions(v Mentions)
- func (o *ChatMessage) SetMentionsNil()
- func (o *ChatMessage) SetReplyMessageIds(v []string)
- func (o *ChatMessage) SetServerId(v string)
- func (o *ChatMessage) SetType(v string)
- func (o *ChatMessage) SetUpdatedAt(v time.Time)
- func (o ChatMessage) ToMap() (map[string]interface{}, error)
- func (o *ChatMessage) UnmarshalJSON(data []byte) (err error)
- func (o *ChatMessage) UnsetMentions()
- type ChatMessageReaction
- func (o *ChatMessageReaction) GetChannelId() string
- func (o *ChatMessageReaction) GetChannelIdOk() (*string, bool)
- func (o *ChatMessageReaction) GetCreatedBy() string
- func (o *ChatMessageReaction) GetCreatedByOk() (*string, bool)
- func (o *ChatMessageReaction) GetEmote() Emote
- func (o *ChatMessageReaction) GetEmoteOk() (*Emote, bool)
- func (o *ChatMessageReaction) GetMessageId() string
- func (o *ChatMessageReaction) GetMessageIdOk() (*string, bool)
- func (o ChatMessageReaction) MarshalJSON() ([]byte, error)
- func (o *ChatMessageReaction) SetChannelId(v string)
- func (o *ChatMessageReaction) SetCreatedBy(v string)
- func (o *ChatMessageReaction) SetEmote(v Emote)
- func (o *ChatMessageReaction) SetMessageId(v string)
- func (o ChatMessageReaction) ToMap() (map[string]interface{}, error)
- func (o *ChatMessageReaction) UnmarshalJSON(data []byte) (err error)
- type Configuration
- type Content
- type Content1
- type Content2
- type Content3
- type Content4
- type Doc
- func (o *Doc) GetChannelId() string
- func (o *Doc) GetChannelIdOk() (*string, bool)
- func (o *Doc) GetContent() string
- func (o *Doc) GetContentOk() (*string, bool)
- func (o *Doc) GetCreatedAt() time.Time
- func (o *Doc) GetCreatedAtOk() (*time.Time, bool)
- func (o *Doc) GetCreatedBy() string
- func (o *Doc) GetCreatedByOk() (*string, bool)
- func (o *Doc) GetGroupId() string
- func (o *Doc) GetGroupIdOk() (*string, bool)
- func (o *Doc) GetId() int32
- func (o *Doc) GetIdOk() (*int32, bool)
- func (o *Doc) GetMentions() Mentions
- func (o *Doc) GetMentionsOk() (*Mentions, bool)
- func (o *Doc) GetServerId() string
- func (o *Doc) GetServerIdOk() (*string, bool)
- func (o *Doc) GetTitle() string
- func (o *Doc) GetTitleOk() (*string, bool)
- func (o *Doc) GetUpdatedAt() time.Time
- func (o *Doc) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Doc) GetUpdatedBy() string
- func (o *Doc) GetUpdatedByOk() (*string, bool)
- func (o *Doc) HasMentions() bool
- func (o *Doc) HasUpdatedAt() bool
- func (o *Doc) HasUpdatedBy() bool
- func (o Doc) MarshalJSON() ([]byte, error)
- func (o *Doc) SetChannelId(v string)
- func (o *Doc) SetContent(v string)
- func (o *Doc) SetCreatedAt(v time.Time)
- func (o *Doc) SetCreatedBy(v string)
- func (o *Doc) SetGroupId(v string)
- func (o *Doc) SetId(v int32)
- func (o *Doc) SetMentions(v Mentions)
- func (o *Doc) SetMentionsNil()
- func (o *Doc) SetServerId(v string)
- func (o *Doc) SetTitle(v string)
- func (o *Doc) SetUpdatedAt(v time.Time)
- func (o *Doc) SetUpdatedBy(v string)
- func (o Doc) ToMap() (map[string]interface{}, error)
- func (o *Doc) UnmarshalJSON(data []byte) (err error)
- func (o *Doc) UnsetMentions()
- type DocComment
- func (o *DocComment) GetChannelId() string
- func (o *DocComment) GetChannelIdOk() (*string, bool)
- func (o *DocComment) GetContent() string
- func (o *DocComment) GetContentOk() (*string, bool)
- func (o *DocComment) GetCreatedAt() time.Time
- func (o *DocComment) GetCreatedAtOk() (*time.Time, bool)
- func (o *DocComment) GetCreatedBy() string
- func (o *DocComment) GetCreatedByOk() (*string, bool)
- func (o *DocComment) GetDocId() int32
- func (o *DocComment) GetDocIdOk() (*int32, bool)
- func (o *DocComment) GetId() int32
- func (o *DocComment) GetIdOk() (*int32, bool)
- func (o *DocComment) GetMentions() Mentions
- func (o *DocComment) GetMentionsOk() (*Mentions, bool)
- func (o *DocComment) GetUpdatedAt() time.Time
- func (o *DocComment) GetUpdatedAtOk() (*time.Time, bool)
- func (o *DocComment) HasMentions() bool
- func (o *DocComment) HasUpdatedAt() bool
- func (o DocComment) MarshalJSON() ([]byte, error)
- func (o *DocComment) SetChannelId(v string)
- func (o *DocComment) SetContent(v string)
- func (o *DocComment) SetCreatedAt(v time.Time)
- func (o *DocComment) SetCreatedBy(v string)
- func (o *DocComment) SetDocId(v int32)
- func (o *DocComment) SetId(v int32)
- func (o *DocComment) SetMentions(v Mentions)
- func (o *DocComment) SetMentionsNil()
- func (o *DocComment) SetUpdatedAt(v time.Time)
- func (o DocComment) ToMap() (map[string]interface{}, error)
- func (o *DocComment) UnmarshalJSON(data []byte) (err error)
- func (o *DocComment) UnsetMentions()
- type DocCommentCreate201Response
- func (o *DocCommentCreate201Response) GetDocComment() DocComment
- func (o *DocCommentCreate201Response) GetDocCommentOk() (*DocComment, bool)
- func (o DocCommentCreate201Response) MarshalJSON() ([]byte, error)
- func (o *DocCommentCreate201Response) SetDocComment(v DocComment)
- func (o DocCommentCreate201Response) ToMap() (map[string]interface{}, error)
- func (o *DocCommentCreate201Response) UnmarshalJSON(data []byte) (err error)
- type DocCommentCreateRequest
- func (o *DocCommentCreateRequest) GetContent() string
- func (o *DocCommentCreateRequest) GetContentOk() (*string, bool)
- func (o DocCommentCreateRequest) MarshalJSON() ([]byte, error)
- func (o *DocCommentCreateRequest) SetContent(v string)
- func (o DocCommentCreateRequest) ToMap() (map[string]interface{}, error)
- func (o *DocCommentCreateRequest) UnmarshalJSON(data []byte) (err error)
- type DocCommentReaction
- func (o *DocCommentReaction) GetChannelId() string
- func (o *DocCommentReaction) GetChannelIdOk() (*string, bool)
- func (o *DocCommentReaction) GetCreatedBy() string
- func (o *DocCommentReaction) GetCreatedByOk() (*string, bool)
- func (o *DocCommentReaction) GetDocCommentId() int32
- func (o *DocCommentReaction) GetDocCommentIdOk() (*int32, bool)
- func (o *DocCommentReaction) GetDocId() int32
- func (o *DocCommentReaction) GetDocIdOk() (*int32, bool)
- func (o *DocCommentReaction) GetEmote() Emote
- func (o *DocCommentReaction) GetEmoteOk() (*Emote, bool)
- func (o DocCommentReaction) MarshalJSON() ([]byte, error)
- func (o *DocCommentReaction) SetChannelId(v string)
- func (o *DocCommentReaction) SetCreatedBy(v string)
- func (o *DocCommentReaction) SetDocCommentId(v int32)
- func (o *DocCommentReaction) SetDocId(v int32)
- func (o *DocCommentReaction) SetEmote(v Emote)
- func (o DocCommentReaction) ToMap() (map[string]interface{}, error)
- func (o *DocCommentReaction) UnmarshalJSON(data []byte) (err error)
- type DocCommentReadMany200Response
- func (o *DocCommentReadMany200Response) GetDocComments() []DocComment
- func (o *DocCommentReadMany200Response) GetDocCommentsOk() ([]DocComment, bool)
- func (o DocCommentReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *DocCommentReadMany200Response) SetDocComments(v []DocComment)
- func (o DocCommentReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *DocCommentReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type DocCommentsAPI
- type DocCommentsAPIDocCommentCreateRequest
- type DocCommentsAPIDocCommentDeleteRequest
- type DocCommentsAPIDocCommentReadManyRequest
- type DocCommentsAPIDocCommentReadRequest
- type DocCommentsAPIDocCommentUpdateRequest
- type DocCommentsAPIService
- func (a *DocCommentsAPIService) DocCommentCreate(ctx context.Context, channelId string, docId int32) DocCommentsAPIDocCommentCreateRequest
- func (a *DocCommentsAPIService) DocCommentCreateExecute(r DocCommentsAPIDocCommentCreateRequest) (*DocCommentCreate201Response, *http.Response, error)
- func (a *DocCommentsAPIService) DocCommentDelete(ctx context.Context, channelId string, docId int32, docCommentId int32) DocCommentsAPIDocCommentDeleteRequest
- func (a *DocCommentsAPIService) DocCommentDeleteExecute(r DocCommentsAPIDocCommentDeleteRequest) (*http.Response, error)
- func (a *DocCommentsAPIService) DocCommentRead(ctx context.Context, channelId string, docId int32, docCommentId int32) DocCommentsAPIDocCommentReadRequest
- func (a *DocCommentsAPIService) DocCommentReadExecute(r DocCommentsAPIDocCommentReadRequest) (*DocCommentCreate201Response, *http.Response, error)
- func (a *DocCommentsAPIService) DocCommentReadMany(ctx context.Context, channelId string, docId int32) DocCommentsAPIDocCommentReadManyRequest
- func (a *DocCommentsAPIService) DocCommentReadManyExecute(r DocCommentsAPIDocCommentReadManyRequest) (*DocCommentReadMany200Response, *http.Response, error)
- func (a *DocCommentsAPIService) DocCommentUpdate(ctx context.Context, channelId string, docId int32, docCommentId int32) DocCommentsAPIDocCommentUpdateRequest
- func (a *DocCommentsAPIService) DocCommentUpdateExecute(r DocCommentsAPIDocCommentUpdateRequest) (*DocCommentCreate201Response, *http.Response, error)
- type DocCreate201Response
- func (o *DocCreate201Response) GetDoc() Doc
- func (o *DocCreate201Response) GetDocOk() (*Doc, bool)
- func (o DocCreate201Response) MarshalJSON() ([]byte, error)
- func (o *DocCreate201Response) SetDoc(v Doc)
- func (o DocCreate201Response) ToMap() (map[string]interface{}, error)
- func (o *DocCreate201Response) UnmarshalJSON(data []byte) (err error)
- type DocCreateRequest
- func (o *DocCreateRequest) GetContent() Content3
- func (o *DocCreateRequest) GetContentOk() (*Content3, bool)
- func (o *DocCreateRequest) GetTitle() string
- func (o *DocCreateRequest) GetTitleOk() (*string, bool)
- func (o DocCreateRequest) MarshalJSON() ([]byte, error)
- func (o *DocCreateRequest) SetContent(v Content3)
- func (o *DocCreateRequest) SetTitle(v string)
- func (o DocCreateRequest) ToMap() (map[string]interface{}, error)
- func (o *DocCreateRequest) UnmarshalJSON(data []byte) (err error)
- type DocReaction
- func (o *DocReaction) GetChannelId() string
- func (o *DocReaction) GetChannelIdOk() (*string, bool)
- func (o *DocReaction) GetCreatedBy() string
- func (o *DocReaction) GetCreatedByOk() (*string, bool)
- func (o *DocReaction) GetDocId() int32
- func (o *DocReaction) GetDocIdOk() (*int32, bool)
- func (o *DocReaction) GetEmote() Emote
- func (o *DocReaction) GetEmoteOk() (*Emote, bool)
- func (o DocReaction) MarshalJSON() ([]byte, error)
- func (o *DocReaction) SetChannelId(v string)
- func (o *DocReaction) SetCreatedBy(v string)
- func (o *DocReaction) SetDocId(v int32)
- func (o *DocReaction) SetEmote(v Emote)
- func (o DocReaction) ToMap() (map[string]interface{}, error)
- func (o *DocReaction) UnmarshalJSON(data []byte) (err error)
- type DocReadMany200Response
- func (o *DocReadMany200Response) GetDocs() []Doc
- func (o *DocReadMany200Response) GetDocsOk() ([]Doc, bool)
- func (o DocReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *DocReadMany200Response) SetDocs(v []Doc)
- func (o DocReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *DocReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type DocUpdateRequest
- func (o *DocUpdateRequest) GetContent() string
- func (o *DocUpdateRequest) GetContentOk() (*string, bool)
- func (o *DocUpdateRequest) GetTitle() string
- func (o *DocUpdateRequest) GetTitleOk() (*string, bool)
- func (o DocUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *DocUpdateRequest) SetContent(v string)
- func (o *DocUpdateRequest) SetTitle(v string)
- func (o DocUpdateRequest) ToMap() (map[string]interface{}, error)
- func (o *DocUpdateRequest) UnmarshalJSON(data []byte) (err error)
- type DocsAPI
- type DocsAPIDocCreateRequest
- type DocsAPIDocDeleteRequest
- type DocsAPIDocReadManyRequest
- type DocsAPIDocReadRequest
- type DocsAPIDocUpdateRequest
- type DocsAPIService
- func (a *DocsAPIService) DocCreate(ctx context.Context, channelId string) DocsAPIDocCreateRequest
- func (a *DocsAPIService) DocCreateExecute(r DocsAPIDocCreateRequest) (*DocCreate201Response, *http.Response, error)
- func (a *DocsAPIService) DocDelete(ctx context.Context, channelId string, docId int32) DocsAPIDocDeleteRequest
- func (a *DocsAPIService) DocDeleteExecute(r DocsAPIDocDeleteRequest) (*http.Response, error)
- func (a *DocsAPIService) DocRead(ctx context.Context, channelId string, docId int32) DocsAPIDocReadRequest
- func (a *DocsAPIService) DocReadExecute(r DocsAPIDocReadRequest) (*DocCreate201Response, *http.Response, error)
- func (a *DocsAPIService) DocReadMany(ctx context.Context, channelId string) DocsAPIDocReadManyRequest
- func (a *DocsAPIService) DocReadManyExecute(r DocsAPIDocReadManyRequest) (*DocReadMany200Response, *http.Response, error)
- func (a *DocsAPIService) DocUpdate(ctx context.Context, channelId string, docId int32) DocsAPIDocUpdateRequest
- func (a *DocsAPIService) DocUpdateExecute(r DocsAPIDocUpdateRequest) (*DocCreate201Response, *http.Response, error)
- type Emote
- func (o *Emote) GetId() int32
- func (o *Emote) GetIdOk() (*int32, bool)
- func (o *Emote) GetName() string
- func (o *Emote) GetNameOk() (*string, bool)
- func (o *Emote) GetServerId() string
- func (o *Emote) GetServerIdOk() (*string, bool)
- func (o *Emote) GetUrl() string
- func (o *Emote) GetUrlOk() (*string, bool)
- func (o *Emote) HasServerId() bool
- func (o Emote) MarshalJSON() ([]byte, error)
- func (o *Emote) SetId(v int32)
- func (o *Emote) SetName(v string)
- func (o *Emote) SetServerId(v string)
- func (o *Emote) SetUrl(v string)
- func (o Emote) ToMap() (map[string]interface{}, error)
- func (o *Emote) UnmarshalJSON(data []byte) (err error)
- type ForumCommentsAPI
- type ForumCommentsAPIForumTopicCommentCreateRequest
- func (r ForumCommentsAPIForumTopicCommentCreateRequest) Execute() (*ForumTopicCommentCreate201Response, *http.Response, error)
- func (r ForumCommentsAPIForumTopicCommentCreateRequest) ForumTopicCommentCreateRequest(forumTopicCommentCreateRequest ForumTopicCommentCreateRequest) ForumCommentsAPIForumTopicCommentCreateRequest
- type ForumCommentsAPIForumTopicCommentDeleteRequest
- type ForumCommentsAPIForumTopicCommentReadManyRequest
- type ForumCommentsAPIForumTopicCommentReadRequest
- type ForumCommentsAPIForumTopicCommentUpdateRequest
- func (r ForumCommentsAPIForumTopicCommentUpdateRequest) Execute() (*ForumTopicCommentCreate201Response, *http.Response, error)
- func (r ForumCommentsAPIForumTopicCommentUpdateRequest) ForumTopicCommentUpdateRequest(forumTopicCommentUpdateRequest ForumTopicCommentUpdateRequest) ForumCommentsAPIForumTopicCommentUpdateRequest
- type ForumCommentsAPIService
- func (a *ForumCommentsAPIService) ForumTopicCommentCreate(ctx context.Context, channelId string, forumTopicId int32) ForumCommentsAPIForumTopicCommentCreateRequest
- func (a *ForumCommentsAPIService) ForumTopicCommentCreateExecute(r ForumCommentsAPIForumTopicCommentCreateRequest) (*ForumTopicCommentCreate201Response, *http.Response, error)
- func (a *ForumCommentsAPIService) ForumTopicCommentDelete(ctx context.Context, channelId string, forumTopicId int32, ...) ForumCommentsAPIForumTopicCommentDeleteRequest
- func (a *ForumCommentsAPIService) ForumTopicCommentDeleteExecute(r ForumCommentsAPIForumTopicCommentDeleteRequest) (*http.Response, error)
- func (a *ForumCommentsAPIService) ForumTopicCommentRead(ctx context.Context, channelId string, forumTopicId int32, ...) ForumCommentsAPIForumTopicCommentReadRequest
- func (a *ForumCommentsAPIService) ForumTopicCommentReadExecute(r ForumCommentsAPIForumTopicCommentReadRequest) (*ForumTopicCommentCreate201Response, *http.Response, error)
- func (a *ForumCommentsAPIService) ForumTopicCommentReadMany(ctx context.Context, channelId string, forumTopicId int32) ForumCommentsAPIForumTopicCommentReadManyRequest
- func (a *ForumCommentsAPIService) ForumTopicCommentReadManyExecute(r ForumCommentsAPIForumTopicCommentReadManyRequest) (*ForumTopicCommentReadMany200Response, *http.Response, error)
- func (a *ForumCommentsAPIService) ForumTopicCommentUpdate(ctx context.Context, channelId string, forumTopicId int32, ...) ForumCommentsAPIForumTopicCommentUpdateRequest
- func (a *ForumCommentsAPIService) ForumTopicCommentUpdateExecute(r ForumCommentsAPIForumTopicCommentUpdateRequest) (*ForumTopicCommentCreate201Response, *http.Response, error)
- type ForumTopic
- func (o *ForumTopic) GetBumpedAt() time.Time
- func (o *ForumTopic) GetBumpedAtOk() (*time.Time, bool)
- func (o *ForumTopic) GetChannelId() string
- func (o *ForumTopic) GetChannelIdOk() (*string, bool)
- func (o *ForumTopic) GetContent() string
- func (o *ForumTopic) GetContentOk() (*string, bool)
- func (o *ForumTopic) GetCreatedAt() time.Time
- func (o *ForumTopic) GetCreatedAtOk() (*time.Time, bool)
- func (o *ForumTopic) GetCreatedBy() string
- func (o *ForumTopic) GetCreatedByOk() (*string, bool)
- func (o *ForumTopic) GetGroupId() string
- func (o *ForumTopic) GetGroupIdOk() (*string, bool)
- func (o *ForumTopic) GetId() int32
- func (o *ForumTopic) GetIdOk() (*int32, bool)
- func (o *ForumTopic) GetIsLocked() bool
- func (o *ForumTopic) GetIsLockedOk() (*bool, bool)
- func (o *ForumTopic) GetIsPinned() bool
- func (o *ForumTopic) GetIsPinnedOk() (*bool, bool)
- func (o *ForumTopic) GetMentions() Mentions
- func (o *ForumTopic) GetMentionsOk() (*Mentions, bool)
- func (o *ForumTopic) GetServerId() string
- func (o *ForumTopic) GetServerIdOk() (*string, bool)
- func (o *ForumTopic) GetTitle() string
- func (o *ForumTopic) GetTitleOk() (*string, bool)
- func (o *ForumTopic) GetUpdatedAt() time.Time
- func (o *ForumTopic) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ForumTopic) HasBumpedAt() bool
- func (o *ForumTopic) HasIsLocked() bool
- func (o *ForumTopic) HasIsPinned() bool
- func (o *ForumTopic) HasMentions() bool
- func (o *ForumTopic) HasUpdatedAt() bool
- func (o ForumTopic) MarshalJSON() ([]byte, error)
- func (o *ForumTopic) SetBumpedAt(v time.Time)
- func (o *ForumTopic) SetChannelId(v string)
- func (o *ForumTopic) SetContent(v string)
- func (o *ForumTopic) SetCreatedAt(v time.Time)
- func (o *ForumTopic) SetCreatedBy(v string)
- func (o *ForumTopic) SetGroupId(v string)
- func (o *ForumTopic) SetId(v int32)
- func (o *ForumTopic) SetIsLocked(v bool)
- func (o *ForumTopic) SetIsPinned(v bool)
- func (o *ForumTopic) SetMentions(v Mentions)
- func (o *ForumTopic) SetMentionsNil()
- func (o *ForumTopic) SetServerId(v string)
- func (o *ForumTopic) SetTitle(v string)
- func (o *ForumTopic) SetUpdatedAt(v time.Time)
- func (o ForumTopic) ToMap() (map[string]interface{}, error)
- func (o *ForumTopic) UnmarshalJSON(data []byte) (err error)
- func (o *ForumTopic) UnsetMentions()
- type ForumTopicComment
- func (o *ForumTopicComment) GetChannelId() string
- func (o *ForumTopicComment) GetChannelIdOk() (*string, bool)
- func (o *ForumTopicComment) GetContent() string
- func (o *ForumTopicComment) GetContentOk() (*string, bool)
- func (o *ForumTopicComment) GetCreatedAt() time.Time
- func (o *ForumTopicComment) GetCreatedAtOk() (*time.Time, bool)
- func (o *ForumTopicComment) GetCreatedBy() string
- func (o *ForumTopicComment) GetCreatedByOk() (*string, bool)
- func (o *ForumTopicComment) GetForumTopicId() int32
- func (o *ForumTopicComment) GetForumTopicIdOk() (*int32, bool)
- func (o *ForumTopicComment) GetId() int32
- func (o *ForumTopicComment) GetIdOk() (*int32, bool)
- func (o *ForumTopicComment) GetMentions() Mentions
- func (o *ForumTopicComment) GetMentionsOk() (*Mentions, bool)
- func (o *ForumTopicComment) GetUpdatedAt() time.Time
- func (o *ForumTopicComment) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ForumTopicComment) HasMentions() bool
- func (o *ForumTopicComment) HasUpdatedAt() bool
- func (o ForumTopicComment) MarshalJSON() ([]byte, error)
- func (o *ForumTopicComment) SetChannelId(v string)
- func (o *ForumTopicComment) SetContent(v string)
- func (o *ForumTopicComment) SetCreatedAt(v time.Time)
- func (o *ForumTopicComment) SetCreatedBy(v string)
- func (o *ForumTopicComment) SetForumTopicId(v int32)
- func (o *ForumTopicComment) SetId(v int32)
- func (o *ForumTopicComment) SetMentions(v Mentions)
- func (o *ForumTopicComment) SetMentionsNil()
- func (o *ForumTopicComment) SetUpdatedAt(v time.Time)
- func (o ForumTopicComment) ToMap() (map[string]interface{}, error)
- func (o *ForumTopicComment) UnmarshalJSON(data []byte) (err error)
- func (o *ForumTopicComment) UnsetMentions()
- type ForumTopicCommentCreate201Response
- func (o *ForumTopicCommentCreate201Response) GetForumTopicComment() ForumTopicComment
- func (o *ForumTopicCommentCreate201Response) GetForumTopicCommentOk() (*ForumTopicComment, bool)
- func (o ForumTopicCommentCreate201Response) MarshalJSON() ([]byte, error)
- func (o *ForumTopicCommentCreate201Response) SetForumTopicComment(v ForumTopicComment)
- func (o ForumTopicCommentCreate201Response) ToMap() (map[string]interface{}, error)
- func (o *ForumTopicCommentCreate201Response) UnmarshalJSON(data []byte) (err error)
- type ForumTopicCommentCreateRequest
- func (o *ForumTopicCommentCreateRequest) GetContent() string
- func (o *ForumTopicCommentCreateRequest) GetContentOk() (*string, bool)
- func (o ForumTopicCommentCreateRequest) MarshalJSON() ([]byte, error)
- func (o *ForumTopicCommentCreateRequest) SetContent(v string)
- func (o ForumTopicCommentCreateRequest) ToMap() (map[string]interface{}, error)
- func (o *ForumTopicCommentCreateRequest) UnmarshalJSON(data []byte) (err error)
- type ForumTopicCommentReaction
- func (o *ForumTopicCommentReaction) GetChannelId() string
- func (o *ForumTopicCommentReaction) GetChannelIdOk() (*string, bool)
- func (o *ForumTopicCommentReaction) GetCreatedBy() string
- func (o *ForumTopicCommentReaction) GetCreatedByOk() (*string, bool)
- func (o *ForumTopicCommentReaction) GetEmote() Emote
- func (o *ForumTopicCommentReaction) GetEmoteOk() (*Emote, bool)
- func (o *ForumTopicCommentReaction) GetForumTopicCommentId() int32
- func (o *ForumTopicCommentReaction) GetForumTopicCommentIdOk() (*int32, bool)
- func (o *ForumTopicCommentReaction) GetForumTopicId() int32
- func (o *ForumTopicCommentReaction) GetForumTopicIdOk() (*int32, bool)
- func (o ForumTopicCommentReaction) MarshalJSON() ([]byte, error)
- func (o *ForumTopicCommentReaction) SetChannelId(v string)
- func (o *ForumTopicCommentReaction) SetCreatedBy(v string)
- func (o *ForumTopicCommentReaction) SetEmote(v Emote)
- func (o *ForumTopicCommentReaction) SetForumTopicCommentId(v int32)
- func (o *ForumTopicCommentReaction) SetForumTopicId(v int32)
- func (o ForumTopicCommentReaction) ToMap() (map[string]interface{}, error)
- func (o *ForumTopicCommentReaction) UnmarshalJSON(data []byte) (err error)
- type ForumTopicCommentReadMany200Response
- func (o *ForumTopicCommentReadMany200Response) GetForumTopicComments() []ForumTopicComment
- func (o *ForumTopicCommentReadMany200Response) GetForumTopicCommentsOk() ([]ForumTopicComment, bool)
- func (o ForumTopicCommentReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *ForumTopicCommentReadMany200Response) SetForumTopicComments(v []ForumTopicComment)
- func (o ForumTopicCommentReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *ForumTopicCommentReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type ForumTopicCommentUpdateRequest
- func (o *ForumTopicCommentUpdateRequest) GetContent() string
- func (o *ForumTopicCommentUpdateRequest) GetContentOk() (*string, bool)
- func (o *ForumTopicCommentUpdateRequest) HasContent() bool
- func (o ForumTopicCommentUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *ForumTopicCommentUpdateRequest) SetContent(v string)
- func (o ForumTopicCommentUpdateRequest) ToMap() (map[string]interface{}, error)
- type ForumTopicCreate201Response
- func (o *ForumTopicCreate201Response) GetForumTopic() ForumTopic
- func (o *ForumTopicCreate201Response) GetForumTopicOk() (*ForumTopic, bool)
- func (o ForumTopicCreate201Response) MarshalJSON() ([]byte, error)
- func (o *ForumTopicCreate201Response) SetForumTopic(v ForumTopic)
- func (o ForumTopicCreate201Response) ToMap() (map[string]interface{}, error)
- func (o *ForumTopicCreate201Response) UnmarshalJSON(data []byte) (err error)
- type ForumTopicCreateRequest
- func (o *ForumTopicCreateRequest) GetContent() Content2
- func (o *ForumTopicCreateRequest) GetContentOk() (*Content2, bool)
- func (o *ForumTopicCreateRequest) GetTitle() string
- func (o *ForumTopicCreateRequest) GetTitleOk() (*string, bool)
- func (o ForumTopicCreateRequest) MarshalJSON() ([]byte, error)
- func (o *ForumTopicCreateRequest) SetContent(v Content2)
- func (o *ForumTopicCreateRequest) SetTitle(v string)
- func (o ForumTopicCreateRequest) ToMap() (map[string]interface{}, error)
- func (o *ForumTopicCreateRequest) UnmarshalJSON(data []byte) (err error)
- type ForumTopicReaction
- func (o *ForumTopicReaction) GetChannelId() string
- func (o *ForumTopicReaction) GetChannelIdOk() (*string, bool)
- func (o *ForumTopicReaction) GetCreatedBy() string
- func (o *ForumTopicReaction) GetCreatedByOk() (*string, bool)
- func (o *ForumTopicReaction) GetEmote() Emote
- func (o *ForumTopicReaction) GetEmoteOk() (*Emote, bool)
- func (o *ForumTopicReaction) GetForumTopicId() int32
- func (o *ForumTopicReaction) GetForumTopicIdOk() (*int32, bool)
- func (o ForumTopicReaction) MarshalJSON() ([]byte, error)
- func (o *ForumTopicReaction) SetChannelId(v string)
- func (o *ForumTopicReaction) SetCreatedBy(v string)
- func (o *ForumTopicReaction) SetEmote(v Emote)
- func (o *ForumTopicReaction) SetForumTopicId(v int32)
- func (o ForumTopicReaction) ToMap() (map[string]interface{}, error)
- func (o *ForumTopicReaction) UnmarshalJSON(data []byte) (err error)
- type ForumTopicReadMany200Response
- func (o *ForumTopicReadMany200Response) GetForumTopics() []ForumTopicSummary
- func (o *ForumTopicReadMany200Response) GetForumTopicsOk() ([]ForumTopicSummary, bool)
- func (o ForumTopicReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *ForumTopicReadMany200Response) SetForumTopics(v []ForumTopicSummary)
- func (o ForumTopicReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *ForumTopicReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type ForumTopicSummary
- func (o *ForumTopicSummary) GetBumpedAt() time.Time
- func (o *ForumTopicSummary) GetBumpedAtOk() (*time.Time, bool)
- func (o *ForumTopicSummary) GetChannelId() string
- func (o *ForumTopicSummary) GetChannelIdOk() (*string, bool)
- func (o *ForumTopicSummary) GetCreatedAt() time.Time
- func (o *ForumTopicSummary) GetCreatedAtOk() (*time.Time, bool)
- func (o *ForumTopicSummary) GetCreatedBy() string
- func (o *ForumTopicSummary) GetCreatedByOk() (*string, bool)
- func (o *ForumTopicSummary) GetGroupId() string
- func (o *ForumTopicSummary) GetGroupIdOk() (*string, bool)
- func (o *ForumTopicSummary) GetId() int32
- func (o *ForumTopicSummary) GetIdOk() (*int32, bool)
- func (o *ForumTopicSummary) GetIsLocked() bool
- func (o *ForumTopicSummary) GetIsLockedOk() (*bool, bool)
- func (o *ForumTopicSummary) GetIsPinned() bool
- func (o *ForumTopicSummary) GetIsPinnedOk() (*bool, bool)
- func (o *ForumTopicSummary) GetServerId() string
- func (o *ForumTopicSummary) GetServerIdOk() (*string, bool)
- func (o *ForumTopicSummary) GetTitle() string
- func (o *ForumTopicSummary) GetTitleOk() (*string, bool)
- func (o *ForumTopicSummary) GetUpdatedAt() time.Time
- func (o *ForumTopicSummary) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ForumTopicSummary) HasBumpedAt() bool
- func (o *ForumTopicSummary) HasIsLocked() bool
- func (o *ForumTopicSummary) HasIsPinned() bool
- func (o *ForumTopicSummary) HasUpdatedAt() bool
- func (o ForumTopicSummary) MarshalJSON() ([]byte, error)
- func (o *ForumTopicSummary) SetBumpedAt(v time.Time)
- func (o *ForumTopicSummary) SetChannelId(v string)
- func (o *ForumTopicSummary) SetCreatedAt(v time.Time)
- func (o *ForumTopicSummary) SetCreatedBy(v string)
- func (o *ForumTopicSummary) SetGroupId(v string)
- func (o *ForumTopicSummary) SetId(v int32)
- func (o *ForumTopicSummary) SetIsLocked(v bool)
- func (o *ForumTopicSummary) SetIsPinned(v bool)
- func (o *ForumTopicSummary) SetServerId(v string)
- func (o *ForumTopicSummary) SetTitle(v string)
- func (o *ForumTopicSummary) SetUpdatedAt(v time.Time)
- func (o ForumTopicSummary) ToMap() (map[string]interface{}, error)
- func (o *ForumTopicSummary) UnmarshalJSON(data []byte) (err error)
- type ForumTopicUpdateRequest
- func (o *ForumTopicUpdateRequest) GetContent() string
- func (o *ForumTopicUpdateRequest) GetContentOk() (*string, bool)
- func (o *ForumTopicUpdateRequest) GetTitle() string
- func (o *ForumTopicUpdateRequest) GetTitleOk() (*string, bool)
- func (o *ForumTopicUpdateRequest) HasContent() bool
- func (o *ForumTopicUpdateRequest) HasTitle() bool
- func (o ForumTopicUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *ForumTopicUpdateRequest) SetContent(v string)
- func (o *ForumTopicUpdateRequest) SetTitle(v string)
- func (o ForumTopicUpdateRequest) ToMap() (map[string]interface{}, error)
- type ForumsAPI
- type ForumsAPIForumTopicCreateRequest
- type ForumsAPIForumTopicDeleteRequest
- type ForumsAPIForumTopicLockRequest
- type ForumsAPIForumTopicPinRequest
- type ForumsAPIForumTopicReadManyRequest
- func (r ForumsAPIForumTopicReadManyRequest) Before(before time.Time) ForumsAPIForumTopicReadManyRequest
- func (r ForumsAPIForumTopicReadManyRequest) Execute() (*ForumTopicReadMany200Response, *http.Response, error)
- func (r ForumsAPIForumTopicReadManyRequest) Limit(limit int32) ForumsAPIForumTopicReadManyRequest
- type ForumsAPIForumTopicReadRequest
- type ForumsAPIForumTopicUnlockRequest
- type ForumsAPIForumTopicUnpinRequest
- type ForumsAPIForumTopicUpdateRequest
- type ForumsAPIService
- func (a *ForumsAPIService) ForumTopicCreate(ctx context.Context, channelId string) ForumsAPIForumTopicCreateRequest
- func (a *ForumsAPIService) ForumTopicCreateExecute(r ForumsAPIForumTopicCreateRequest) (*ForumTopicCreate201Response, *http.Response, error)
- func (a *ForumsAPIService) ForumTopicDelete(ctx context.Context, channelId string, forumTopicId int32) ForumsAPIForumTopicDeleteRequest
- func (a *ForumsAPIService) ForumTopicDeleteExecute(r ForumsAPIForumTopicDeleteRequest) (*http.Response, error)
- func (a *ForumsAPIService) ForumTopicLock(ctx context.Context, channelId string, forumTopicId int32) ForumsAPIForumTopicLockRequest
- func (a *ForumsAPIService) ForumTopicLockExecute(r ForumsAPIForumTopicLockRequest) (*http.Response, error)
- func (a *ForumsAPIService) ForumTopicPin(ctx context.Context, channelId string, forumTopicId int32) ForumsAPIForumTopicPinRequest
- func (a *ForumsAPIService) ForumTopicPinExecute(r ForumsAPIForumTopicPinRequest) (*http.Response, error)
- func (a *ForumsAPIService) ForumTopicRead(ctx context.Context, channelId string, forumTopicId int32) ForumsAPIForumTopicReadRequest
- func (a *ForumsAPIService) ForumTopicReadExecute(r ForumsAPIForumTopicReadRequest) (*ForumTopicCreate201Response, *http.Response, error)
- func (a *ForumsAPIService) ForumTopicReadMany(ctx context.Context, channelId string) ForumsAPIForumTopicReadManyRequest
- func (a *ForumsAPIService) ForumTopicReadManyExecute(r ForumsAPIForumTopicReadManyRequest) (*ForumTopicReadMany200Response, *http.Response, error)
- func (a *ForumsAPIService) ForumTopicUnlock(ctx context.Context, channelId string, forumTopicId int32) ForumsAPIForumTopicUnlockRequest
- func (a *ForumsAPIService) ForumTopicUnlockExecute(r ForumsAPIForumTopicUnlockRequest) (*http.Response, error)
- func (a *ForumsAPIService) ForumTopicUnpin(ctx context.Context, channelId string, forumTopicId int32) ForumsAPIForumTopicUnpinRequest
- func (a *ForumsAPIService) ForumTopicUnpinExecute(r ForumsAPIForumTopicUnpinRequest) (*http.Response, error)
- func (a *ForumsAPIService) ForumTopicUpdate(ctx context.Context, channelId string, forumTopicId int32) ForumsAPIForumTopicUpdateRequest
- func (a *ForumsAPIService) ForumTopicUpdateExecute(r ForumsAPIForumTopicUpdateRequest) (*ForumTopicCreate201Response, *http.Response, error)
- type GenericOpenAPIError
- type Group
- func (o *Group) GetArchivedAt() time.Time
- func (o *Group) GetArchivedAtOk() (*time.Time, bool)
- func (o *Group) GetArchivedBy() string
- func (o *Group) GetArchivedByOk() (*string, bool)
- func (o *Group) GetAvatar() string
- func (o *Group) GetAvatarOk() (*string, bool)
- func (o *Group) GetCreatedAt() time.Time
- func (o *Group) GetCreatedAtOk() (*time.Time, bool)
- func (o *Group) GetCreatedBy() string
- func (o *Group) GetCreatedByOk() (*string, bool)
- func (o *Group) GetDescription() string
- func (o *Group) GetDescriptionOk() (*string, bool)
- func (o *Group) GetEmoteId() int32
- func (o *Group) GetEmoteIdOk() (*int32, bool)
- func (o *Group) GetId() string
- func (o *Group) GetIdOk() (*string, bool)
- func (o *Group) GetIsHome() bool
- func (o *Group) GetIsHomeOk() (*bool, bool)
- func (o *Group) GetIsPublic() bool
- func (o *Group) GetIsPublicOk() (*bool, bool)
- func (o *Group) GetName() string
- func (o *Group) GetNameOk() (*string, bool)
- func (o *Group) GetServerId() string
- func (o *Group) GetServerIdOk() (*string, bool)
- func (o *Group) GetUpdatedAt() time.Time
- func (o *Group) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Group) GetUpdatedBy() string
- func (o *Group) GetUpdatedByOk() (*string, bool)
- func (o *Group) HasArchivedAt() bool
- func (o *Group) HasArchivedBy() bool
- func (o *Group) HasAvatar() bool
- func (o *Group) HasDescription() bool
- func (o *Group) HasEmoteId() bool
- func (o *Group) HasIsHome() bool
- func (o *Group) HasIsPublic() bool
- func (o *Group) HasUpdatedAt() bool
- func (o *Group) HasUpdatedBy() bool
- func (o Group) MarshalJSON() ([]byte, error)
- func (o *Group) SetArchivedAt(v time.Time)
- func (o *Group) SetArchivedBy(v string)
- func (o *Group) SetAvatar(v string)
- func (o *Group) SetCreatedAt(v time.Time)
- func (o *Group) SetCreatedBy(v string)
- func (o *Group) SetDescription(v string)
- func (o *Group) SetEmoteId(v int32)
- func (o *Group) SetId(v string)
- func (o *Group) SetIsHome(v bool)
- func (o *Group) SetIsPublic(v bool)
- func (o *Group) SetName(v string)
- func (o *Group) SetServerId(v string)
- func (o *Group) SetUpdatedAt(v time.Time)
- func (o *Group) SetUpdatedBy(v string)
- func (o Group) ToMap() (map[string]interface{}, error)
- func (o *Group) UnmarshalJSON(data []byte) (err error)
- type GroupCreate201Response
- func (o *GroupCreate201Response) GetGroup() Group
- func (o *GroupCreate201Response) GetGroupOk() (*Group, bool)
- func (o GroupCreate201Response) MarshalJSON() ([]byte, error)
- func (o *GroupCreate201Response) SetGroup(v Group)
- func (o GroupCreate201Response) ToMap() (map[string]interface{}, error)
- func (o *GroupCreate201Response) UnmarshalJSON(data []byte) (err error)
- type GroupCreateRequest
- func (o *GroupCreateRequest) GetDescription() string
- func (o *GroupCreateRequest) GetDescriptionOk() (*string, bool)
- func (o *GroupCreateRequest) GetEmoteId() int32
- func (o *GroupCreateRequest) GetEmoteIdOk() (*int32, bool)
- func (o *GroupCreateRequest) GetIsPublic() bool
- func (o *GroupCreateRequest) GetIsPublicOk() (*bool, bool)
- func (o *GroupCreateRequest) GetName() string
- func (o *GroupCreateRequest) GetNameOk() (*string, bool)
- func (o *GroupCreateRequest) HasDescription() bool
- func (o *GroupCreateRequest) HasEmoteId() bool
- func (o *GroupCreateRequest) HasIsPublic() bool
- func (o GroupCreateRequest) MarshalJSON() ([]byte, error)
- func (o *GroupCreateRequest) SetDescription(v string)
- func (o *GroupCreateRequest) SetEmoteId(v int32)
- func (o *GroupCreateRequest) SetIsPublic(v bool)
- func (o *GroupCreateRequest) SetName(v string)
- func (o GroupCreateRequest) ToMap() (map[string]interface{}, error)
- func (o *GroupCreateRequest) UnmarshalJSON(data []byte) (err error)
- type GroupMembershipAPI
- type GroupMembershipAPIGroupMembershipCreateRequest
- type GroupMembershipAPIGroupMembershipDeleteRequest
- type GroupMembershipAPIService
- func (a *GroupMembershipAPIService) GroupMembershipCreate(ctx context.Context, groupId string, userId UserID) GroupMembershipAPIGroupMembershipCreateRequest
- func (a *GroupMembershipAPIService) GroupMembershipCreateExecute(r GroupMembershipAPIGroupMembershipCreateRequest) (*http.Response, error)
- func (a *GroupMembershipAPIService) GroupMembershipDelete(ctx context.Context, groupId string, userId UserID) GroupMembershipAPIGroupMembershipDeleteRequest
- func (a *GroupMembershipAPIService) GroupMembershipDeleteExecute(r GroupMembershipAPIGroupMembershipDeleteRequest) (*http.Response, error)
- type GroupReadMany200Response
- func (o *GroupReadMany200Response) GetGroups() []Group
- func (o *GroupReadMany200Response) GetGroupsOk() ([]Group, bool)
- func (o GroupReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *GroupReadMany200Response) SetGroups(v []Group)
- func (o GroupReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *GroupReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type GroupUpdateRequest
- func (o *GroupUpdateRequest) GetDescription() string
- func (o *GroupUpdateRequest) GetDescriptionOk() (*string, bool)
- func (o *GroupUpdateRequest) GetEmoteId() int32
- func (o *GroupUpdateRequest) GetEmoteIdOk() (*int32, bool)
- func (o *GroupUpdateRequest) GetIsPublic() bool
- func (o *GroupUpdateRequest) GetIsPublicOk() (*bool, bool)
- func (o *GroupUpdateRequest) GetName() string
- func (o *GroupUpdateRequest) GetNameOk() (*string, bool)
- func (o *GroupUpdateRequest) HasDescription() bool
- func (o *GroupUpdateRequest) HasEmoteId() bool
- func (o *GroupUpdateRequest) HasIsPublic() bool
- func (o *GroupUpdateRequest) HasName() bool
- func (o GroupUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *GroupUpdateRequest) SetDescription(v string)
- func (o *GroupUpdateRequest) SetEmoteId(v int32)
- func (o *GroupUpdateRequest) SetIsPublic(v bool)
- func (o *GroupUpdateRequest) SetName(v string)
- func (o GroupUpdateRequest) ToMap() (map[string]interface{}, error)
- type GroupsAPI
- type GroupsAPIGroupCreateRequest
- type GroupsAPIGroupDeleteRequest
- type GroupsAPIGroupReadManyRequest
- type GroupsAPIGroupReadRequest
- type GroupsAPIGroupUpdateRequest
- type GroupsAPIService
- func (a *GroupsAPIService) GroupCreate(ctx context.Context, serverId string) GroupsAPIGroupCreateRequest
- func (a *GroupsAPIService) GroupCreateExecute(r GroupsAPIGroupCreateRequest) (*GroupCreate201Response, *http.Response, error)
- func (a *GroupsAPIService) GroupDelete(ctx context.Context, serverId string, groupId string) GroupsAPIGroupDeleteRequest
- func (a *GroupsAPIService) GroupDeleteExecute(r GroupsAPIGroupDeleteRequest) (*http.Response, error)
- func (a *GroupsAPIService) GroupRead(ctx context.Context, serverId string, groupId string) GroupsAPIGroupReadRequest
- func (a *GroupsAPIService) GroupReadExecute(r GroupsAPIGroupReadRequest) (*GroupCreate201Response, *http.Response, error)
- func (a *GroupsAPIService) GroupReadMany(ctx context.Context, serverId string) GroupsAPIGroupReadManyRequest
- func (a *GroupsAPIService) GroupReadManyExecute(r GroupsAPIGroupReadManyRequest) (*GroupReadMany200Response, *http.Response, error)
- func (a *GroupsAPIService) GroupUpdate(ctx context.Context, serverId string, groupId string) GroupsAPIGroupUpdateRequest
- func (a *GroupsAPIService) GroupUpdateExecute(r GroupsAPIGroupUpdateRequest) (*GroupCreate201Response, *http.Response, error)
- type ListItem
- func (o *ListItem) GetChannelId() string
- func (o *ListItem) GetChannelIdOk() (*string, bool)
- func (o *ListItem) GetCompletedAt() time.Time
- func (o *ListItem) GetCompletedAtOk() (*time.Time, bool)
- func (o *ListItem) GetCompletedBy() string
- func (o *ListItem) GetCompletedByOk() (*string, bool)
- func (o *ListItem) GetCreatedAt() time.Time
- func (o *ListItem) GetCreatedAtOk() (*time.Time, bool)
- func (o *ListItem) GetCreatedBy() string
- func (o *ListItem) GetCreatedByOk() (*string, bool)
- func (o *ListItem) GetCreatedByWebhookId() string
- func (o *ListItem) GetCreatedByWebhookIdOk() (*string, bool)
- func (o *ListItem) GetGroupId() string
- func (o *ListItem) GetGroupIdOk() (*string, bool)
- func (o *ListItem) GetId() string
- func (o *ListItem) GetIdOk() (*string, bool)
- func (o *ListItem) GetMentions() Mentions
- func (o *ListItem) GetMentionsOk() (*Mentions, bool)
- func (o *ListItem) GetMessage() string
- func (o *ListItem) GetMessageOk() (*string, bool)
- func (o *ListItem) GetNote() ListItemNote
- func (o *ListItem) GetNoteOk() (*ListItemNote, bool)
- func (o *ListItem) GetParentListItemId() string
- func (o *ListItem) GetParentListItemIdOk() (*string, bool)
- func (o *ListItem) GetServerId() string
- func (o *ListItem) GetServerIdOk() (*string, bool)
- func (o *ListItem) GetUpdatedAt() time.Time
- func (o *ListItem) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ListItem) GetUpdatedBy() string
- func (o *ListItem) GetUpdatedByOk() (*string, bool)
- func (o *ListItem) HasCompletedAt() bool
- func (o *ListItem) HasCompletedBy() bool
- func (o *ListItem) HasCreatedByWebhookId() bool
- func (o *ListItem) HasMentions() bool
- func (o *ListItem) HasNote() bool
- func (o *ListItem) HasParentListItemId() bool
- func (o *ListItem) HasUpdatedAt() bool
- func (o *ListItem) HasUpdatedBy() bool
- func (o ListItem) MarshalJSON() ([]byte, error)
- func (o *ListItem) SetChannelId(v string)
- func (o *ListItem) SetCompletedAt(v time.Time)
- func (o *ListItem) SetCompletedBy(v string)
- func (o *ListItem) SetCreatedAt(v time.Time)
- func (o *ListItem) SetCreatedBy(v string)
- func (o *ListItem) SetCreatedByWebhookId(v string)
- func (o *ListItem) SetGroupId(v string)
- func (o *ListItem) SetId(v string)
- func (o *ListItem) SetMentions(v Mentions)
- func (o *ListItem) SetMentionsNil()
- func (o *ListItem) SetMessage(v string)
- func (o *ListItem) SetNote(v ListItemNote)
- func (o *ListItem) SetParentListItemId(v string)
- func (o *ListItem) SetServerId(v string)
- func (o *ListItem) SetUpdatedAt(v time.Time)
- func (o *ListItem) SetUpdatedBy(v string)
- func (o ListItem) ToMap() (map[string]interface{}, error)
- func (o *ListItem) UnmarshalJSON(data []byte) (err error)
- func (o *ListItem) UnsetMentions()
- type ListItemCreate201Response
- func (o *ListItemCreate201Response) GetListItem() ListItem
- func (o *ListItemCreate201Response) GetListItemOk() (*ListItem, bool)
- func (o ListItemCreate201Response) MarshalJSON() ([]byte, error)
- func (o *ListItemCreate201Response) SetListItem(v ListItem)
- func (o ListItemCreate201Response) ToMap() (map[string]interface{}, error)
- func (o *ListItemCreate201Response) UnmarshalJSON(data []byte) (err error)
- type ListItemCreateRequest
- func (o *ListItemCreateRequest) GetMessage() Message
- func (o *ListItemCreateRequest) GetMessageOk() (*Message, bool)
- func (o *ListItemCreateRequest) GetNote() ListItemCreateRequestNote
- func (o *ListItemCreateRequest) GetNoteOk() (*ListItemCreateRequestNote, bool)
- func (o *ListItemCreateRequest) HasNote() bool
- func (o ListItemCreateRequest) MarshalJSON() ([]byte, error)
- func (o *ListItemCreateRequest) SetMessage(v Message)
- func (o *ListItemCreateRequest) SetNote(v ListItemCreateRequestNote)
- func (o ListItemCreateRequest) ToMap() (map[string]interface{}, error)
- func (o *ListItemCreateRequest) UnmarshalJSON(data []byte) (err error)
- type ListItemCreateRequestNote
- func (o *ListItemCreateRequestNote) GetContent() Note
- func (o *ListItemCreateRequestNote) GetContentOk() (*Note, bool)
- func (o ListItemCreateRequestNote) MarshalJSON() ([]byte, error)
- func (o *ListItemCreateRequestNote) SetContent(v Note)
- func (o ListItemCreateRequestNote) ToMap() (map[string]interface{}, error)
- func (o *ListItemCreateRequestNote) UnmarshalJSON(data []byte) (err error)
- type ListItemNote
- func (o *ListItemNote) GetContent() string
- func (o *ListItemNote) GetContentOk() (*string, bool)
- func (o *ListItemNote) GetCreatedAt() time.Time
- func (o *ListItemNote) GetCreatedAtOk() (*time.Time, bool)
- func (o *ListItemNote) GetCreatedBy() string
- func (o *ListItemNote) GetCreatedByOk() (*string, bool)
- func (o *ListItemNote) GetMentions() Mentions
- func (o *ListItemNote) GetMentionsOk() (*Mentions, bool)
- func (o *ListItemNote) GetUpdatedAt() time.Time
- func (o *ListItemNote) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ListItemNote) GetUpdatedBy() string
- func (o *ListItemNote) GetUpdatedByOk() (*string, bool)
- func (o *ListItemNote) HasMentions() bool
- func (o *ListItemNote) HasUpdatedAt() bool
- func (o *ListItemNote) HasUpdatedBy() bool
- func (o ListItemNote) MarshalJSON() ([]byte, error)
- func (o *ListItemNote) SetContent(v string)
- func (o *ListItemNote) SetCreatedAt(v time.Time)
- func (o *ListItemNote) SetCreatedBy(v string)
- func (o *ListItemNote) SetMentions(v Mentions)
- func (o *ListItemNote) SetMentionsNil()
- func (o *ListItemNote) SetUpdatedAt(v time.Time)
- func (o *ListItemNote) SetUpdatedBy(v string)
- func (o ListItemNote) ToMap() (map[string]interface{}, error)
- func (o *ListItemNote) UnmarshalJSON(data []byte) (err error)
- func (o *ListItemNote) UnsetMentions()
- type ListItemReadMany200Response
- func (o *ListItemReadMany200Response) GetListItems() []ListItemSummary
- func (o *ListItemReadMany200Response) GetListItemsOk() ([]ListItemSummary, bool)
- func (o ListItemReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *ListItemReadMany200Response) SetListItems(v []ListItemSummary)
- func (o ListItemReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *ListItemReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type ListItemSummary
- func (o *ListItemSummary) GetChannelId() string
- func (o *ListItemSummary) GetChannelIdOk() (*string, bool)
- func (o *ListItemSummary) GetCompletedAt() time.Time
- func (o *ListItemSummary) GetCompletedAtOk() (*time.Time, bool)
- func (o *ListItemSummary) GetCompletedBy() string
- func (o *ListItemSummary) GetCompletedByOk() (*string, bool)
- func (o *ListItemSummary) GetCreatedAt() time.Time
- func (o *ListItemSummary) GetCreatedAtOk() (*time.Time, bool)
- func (o *ListItemSummary) GetCreatedBy() string
- func (o *ListItemSummary) GetCreatedByOk() (*string, bool)
- func (o *ListItemSummary) GetCreatedByWebhookId() string
- func (o *ListItemSummary) GetCreatedByWebhookIdOk() (*string, bool)
- func (o *ListItemSummary) GetId() string
- func (o *ListItemSummary) GetIdOk() (*string, bool)
- func (o *ListItemSummary) GetMentions() Mentions
- func (o *ListItemSummary) GetMentionsOk() (*Mentions, bool)
- func (o *ListItemSummary) GetMessage() string
- func (o *ListItemSummary) GetMessageOk() (*string, bool)
- func (o *ListItemSummary) GetNote() ListItemSummaryNote
- func (o *ListItemSummary) GetNoteOk() (*ListItemSummaryNote, bool)
- func (o *ListItemSummary) GetParentListItemId() string
- func (o *ListItemSummary) GetParentListItemIdOk() (*string, bool)
- func (o *ListItemSummary) GetServerId() string
- func (o *ListItemSummary) GetServerIdOk() (*string, bool)
- func (o *ListItemSummary) GetUpdatedAt() time.Time
- func (o *ListItemSummary) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ListItemSummary) GetUpdatedBy() string
- func (o *ListItemSummary) GetUpdatedByOk() (*string, bool)
- func (o *ListItemSummary) HasCompletedAt() bool
- func (o *ListItemSummary) HasCompletedBy() bool
- func (o *ListItemSummary) HasCreatedByWebhookId() bool
- func (o *ListItemSummary) HasMentions() bool
- func (o *ListItemSummary) HasNote() bool
- func (o *ListItemSummary) HasParentListItemId() bool
- func (o *ListItemSummary) HasUpdatedAt() bool
- func (o *ListItemSummary) HasUpdatedBy() bool
- func (o ListItemSummary) MarshalJSON() ([]byte, error)
- func (o *ListItemSummary) SetChannelId(v string)
- func (o *ListItemSummary) SetCompletedAt(v time.Time)
- func (o *ListItemSummary) SetCompletedBy(v string)
- func (o *ListItemSummary) SetCreatedAt(v time.Time)
- func (o *ListItemSummary) SetCreatedBy(v string)
- func (o *ListItemSummary) SetCreatedByWebhookId(v string)
- func (o *ListItemSummary) SetId(v string)
- func (o *ListItemSummary) SetMentions(v Mentions)
- func (o *ListItemSummary) SetMentionsNil()
- func (o *ListItemSummary) SetMessage(v string)
- func (o *ListItemSummary) SetNote(v ListItemSummaryNote)
- func (o *ListItemSummary) SetParentListItemId(v string)
- func (o *ListItemSummary) SetServerId(v string)
- func (o *ListItemSummary) SetUpdatedAt(v time.Time)
- func (o *ListItemSummary) SetUpdatedBy(v string)
- func (o ListItemSummary) ToMap() (map[string]interface{}, error)
- func (o *ListItemSummary) UnmarshalJSON(data []byte) (err error)
- func (o *ListItemSummary) UnsetMentions()
- type ListItemSummaryNote
- func (o *ListItemSummaryNote) GetCreatedAt() time.Time
- func (o *ListItemSummaryNote) GetCreatedAtOk() (*time.Time, bool)
- func (o *ListItemSummaryNote) GetCreatedBy() string
- func (o *ListItemSummaryNote) GetCreatedByOk() (*string, bool)
- func (o *ListItemSummaryNote) GetUpdatedAt() time.Time
- func (o *ListItemSummaryNote) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ListItemSummaryNote) GetUpdatedBy() string
- func (o *ListItemSummaryNote) GetUpdatedByOk() (*string, bool)
- func (o *ListItemSummaryNote) HasUpdatedAt() bool
- func (o *ListItemSummaryNote) HasUpdatedBy() bool
- func (o ListItemSummaryNote) MarshalJSON() ([]byte, error)
- func (o *ListItemSummaryNote) SetCreatedAt(v time.Time)
- func (o *ListItemSummaryNote) SetCreatedBy(v string)
- func (o *ListItemSummaryNote) SetUpdatedAt(v time.Time)
- func (o *ListItemSummaryNote) SetUpdatedBy(v string)
- func (o ListItemSummaryNote) ToMap() (map[string]interface{}, error)
- func (o *ListItemSummaryNote) UnmarshalJSON(data []byte) (err error)
- type ListItemUpdateRequest
- func (o *ListItemUpdateRequest) GetMessage() string
- func (o *ListItemUpdateRequest) GetMessageOk() (*string, bool)
- func (o *ListItemUpdateRequest) GetNote() ListItemUpdateRequestNote
- func (o *ListItemUpdateRequest) GetNoteOk() (*ListItemUpdateRequestNote, bool)
- func (o *ListItemUpdateRequest) HasMessage() bool
- func (o *ListItemUpdateRequest) HasNote() bool
- func (o ListItemUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *ListItemUpdateRequest) SetMessage(v string)
- func (o *ListItemUpdateRequest) SetNote(v ListItemUpdateRequestNote)
- func (o *ListItemUpdateRequest) SetNoteNil()
- func (o ListItemUpdateRequest) ToMap() (map[string]interface{}, error)
- func (o *ListItemUpdateRequest) UnsetNote()
- type ListItemUpdateRequestNote
- func (o *ListItemUpdateRequestNote) GetContent() string
- func (o *ListItemUpdateRequestNote) GetContentOk() (*string, bool)
- func (o ListItemUpdateRequestNote) MarshalJSON() ([]byte, error)
- func (o *ListItemUpdateRequestNote) SetContent(v string)
- func (o ListItemUpdateRequestNote) ToMap() (map[string]interface{}, error)
- func (o *ListItemUpdateRequestNote) UnmarshalJSON(data []byte) (err error)
- type ListItemsAPI
- type ListItemsAPIListItemCompleteCreateRequest
- type ListItemsAPIListItemCompleteDeleteRequest
- type ListItemsAPIListItemCreateRequest
- type ListItemsAPIListItemDeleteRequest
- type ListItemsAPIListItemReadManyRequest
- type ListItemsAPIListItemReadRequest
- type ListItemsAPIListItemUpdateRequest
- type ListItemsAPIService
- func (a *ListItemsAPIService) ListItemCompleteCreate(ctx context.Context, channelId string, listItemId string) ListItemsAPIListItemCompleteCreateRequest
- func (a *ListItemsAPIService) ListItemCompleteCreateExecute(r ListItemsAPIListItemCompleteCreateRequest) (*http.Response, error)
- func (a *ListItemsAPIService) ListItemCompleteDelete(ctx context.Context, channelId string, listItemId string) ListItemsAPIListItemCompleteDeleteRequest
- func (a *ListItemsAPIService) ListItemCompleteDeleteExecute(r ListItemsAPIListItemCompleteDeleteRequest) (*http.Response, error)
- func (a *ListItemsAPIService) ListItemCreate(ctx context.Context, channelId string) ListItemsAPIListItemCreateRequest
- func (a *ListItemsAPIService) ListItemCreateExecute(r ListItemsAPIListItemCreateRequest) (*ListItemCreate201Response, *http.Response, error)
- func (a *ListItemsAPIService) ListItemDelete(ctx context.Context, channelId string, listItemId string) ListItemsAPIListItemDeleteRequest
- func (a *ListItemsAPIService) ListItemDeleteExecute(r ListItemsAPIListItemDeleteRequest) (*http.Response, error)
- func (a *ListItemsAPIService) ListItemRead(ctx context.Context, channelId string, listItemId string) ListItemsAPIListItemReadRequest
- func (a *ListItemsAPIService) ListItemReadExecute(r ListItemsAPIListItemReadRequest) (*ListItemCreate201Response, *http.Response, error)
- func (a *ListItemsAPIService) ListItemReadMany(ctx context.Context, channelId string) ListItemsAPIListItemReadManyRequest
- func (a *ListItemsAPIService) ListItemReadManyExecute(r ListItemsAPIListItemReadManyRequest) (*ListItemReadMany200Response, *http.Response, error)
- func (a *ListItemsAPIService) ListItemUpdate(ctx context.Context, channelId string, listItemId string) ListItemsAPIListItemUpdateRequest
- func (a *ListItemsAPIService) ListItemUpdateExecute(r ListItemsAPIListItemUpdateRequest) (*ListItemCreate201Response, *http.Response, error)
- type MappedNullable
- type MemberBansAPI
- type MemberBansAPIServerMemberBanCreateRequest
- type MemberBansAPIServerMemberBanDeleteRequest
- type MemberBansAPIServerMemberBanReadManyRequest
- type MemberBansAPIServerMemberBanReadRequest
- type MemberBansAPIService
- func (a *MemberBansAPIService) ServerMemberBanCreate(ctx context.Context, serverId string, userId UserID) MemberBansAPIServerMemberBanCreateRequest
- func (a *MemberBansAPIService) ServerMemberBanCreateExecute(r MemberBansAPIServerMemberBanCreateRequest) (*ServerMemberBanRead200Response, *http.Response, error)
- func (a *MemberBansAPIService) ServerMemberBanDelete(ctx context.Context, serverId string, userId UserID) MemberBansAPIServerMemberBanDeleteRequest
- func (a *MemberBansAPIService) ServerMemberBanDeleteExecute(r MemberBansAPIServerMemberBanDeleteRequest) (*http.Response, error)
- func (a *MemberBansAPIService) ServerMemberBanRead(ctx context.Context, serverId string, userId UserID) MemberBansAPIServerMemberBanReadRequest
- func (a *MemberBansAPIService) ServerMemberBanReadExecute(r MemberBansAPIServerMemberBanReadRequest) (*ServerMemberBanRead200Response, *http.Response, error)
- func (a *MemberBansAPIService) ServerMemberBanReadMany(ctx context.Context, serverId string) MemberBansAPIServerMemberBanReadManyRequest
- func (a *MemberBansAPIService) ServerMemberBanReadManyExecute(r MemberBansAPIServerMemberBanReadManyRequest) (*ServerMemberBanReadMany200Response, *http.Response, error)
- type MemberNicknameUpdate200Response
- func (o *MemberNicknameUpdate200Response) GetNickname() string
- func (o *MemberNicknameUpdate200Response) GetNicknameOk() (*string, bool)
- func (o MemberNicknameUpdate200Response) MarshalJSON() ([]byte, error)
- func (o *MemberNicknameUpdate200Response) SetNickname(v string)
- func (o MemberNicknameUpdate200Response) ToMap() (map[string]interface{}, error)
- func (o *MemberNicknameUpdate200Response) UnmarshalJSON(data []byte) (err error)
- type MemberNicknameUpdateRequest
- func (o *MemberNicknameUpdateRequest) GetNickname() string
- func (o *MemberNicknameUpdateRequest) GetNicknameOk() (*string, bool)
- func (o MemberNicknameUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *MemberNicknameUpdateRequest) SetNickname(v string)
- func (o MemberNicknameUpdateRequest) ToMap() (map[string]interface{}, error)
- func (o *MemberNicknameUpdateRequest) UnmarshalJSON(data []byte) (err error)
- type MemberSocialLinkRead200Response
- func (o *MemberSocialLinkRead200Response) GetSocialLink() SocialLink
- func (o *MemberSocialLinkRead200Response) GetSocialLinkOk() (*SocialLink, bool)
- func (o MemberSocialLinkRead200Response) MarshalJSON() ([]byte, error)
- func (o *MemberSocialLinkRead200Response) SetSocialLink(v SocialLink)
- func (o MemberSocialLinkRead200Response) ToMap() (map[string]interface{}, error)
- func (o *MemberSocialLinkRead200Response) UnmarshalJSON(data []byte) (err error)
- type MembersAPI
- type MembersAPIMemberNicknameDeleteRequest
- type MembersAPIMemberNicknameUpdateRequest
- type MembersAPIServerMemberDeleteRequest
- type MembersAPIServerMemberReadManyRequest
- type MembersAPIServerMemberReadRequest
- type MembersAPIService
- func (a *MembersAPIService) MemberNicknameDelete(ctx context.Context, serverId string, userId UserID) MembersAPIMemberNicknameDeleteRequest
- func (a *MembersAPIService) MemberNicknameDeleteExecute(r MembersAPIMemberNicknameDeleteRequest) (*http.Response, error)
- func (a *MembersAPIService) MemberNicknameUpdate(ctx context.Context, serverId string, userId UserID) MembersAPIMemberNicknameUpdateRequest
- func (a *MembersAPIService) MemberNicknameUpdateExecute(r MembersAPIMemberNicknameUpdateRequest) (*MemberNicknameUpdate200Response, *http.Response, error)
- func (a *MembersAPIService) ServerMemberDelete(ctx context.Context, serverId string, userId UserID) MembersAPIServerMemberDeleteRequest
- func (a *MembersAPIService) ServerMemberDeleteExecute(r MembersAPIServerMemberDeleteRequest) (*http.Response, error)
- func (a *MembersAPIService) ServerMemberRead(ctx context.Context, serverId string, userId UserID) MembersAPIServerMemberReadRequest
- func (a *MembersAPIService) ServerMemberReadExecute(r MembersAPIServerMemberReadRequest) (*ServerMemberRead200Response, *http.Response, error)
- func (a *MembersAPIService) ServerMemberReadMany(ctx context.Context, serverId string) MembersAPIServerMemberReadManyRequest
- func (a *MembersAPIService) ServerMemberReadManyExecute(r MembersAPIServerMemberReadManyRequest) (*ServerMemberReadMany200Response, *http.Response, error)
- type Mentions
- func (o *Mentions) GetChannels() []map[string]interface{}
- func (o *Mentions) GetChannelsOk() ([]map[string]interface{}, bool)
- func (o *Mentions) GetEveryone() bool
- func (o *Mentions) GetEveryoneOk() (*bool, bool)
- func (o *Mentions) GetHere() bool
- func (o *Mentions) GetHereOk() (*bool, bool)
- func (o *Mentions) GetRoles() []map[string]interface{}
- func (o *Mentions) GetRolesOk() ([]map[string]interface{}, bool)
- func (o *Mentions) GetUsers() []map[string]interface{}
- func (o *Mentions) GetUsersOk() ([]map[string]interface{}, bool)
- func (o *Mentions) HasChannels() bool
- func (o *Mentions) HasEveryone() bool
- func (o *Mentions) HasHere() bool
- func (o *Mentions) HasRoles() bool
- func (o *Mentions) HasUsers() bool
- func (o Mentions) MarshalJSON() ([]byte, error)
- func (o *Mentions) SetChannels(v []map[string]interface{})
- func (o *Mentions) SetEveryone(v bool)
- func (o *Mentions) SetHere(v bool)
- func (o *Mentions) SetRoles(v []map[string]interface{})
- func (o *Mentions) SetUsers(v []map[string]interface{})
- func (o Mentions) ToMap() (map[string]interface{}, error)
- type Message
- type Note
- type NullableAnnouncement
- func (v NullableAnnouncement) Get() *Announcement
- func (v NullableAnnouncement) IsSet() bool
- func (v NullableAnnouncement) MarshalJSON() ([]byte, error)
- func (v *NullableAnnouncement) Set(val *Announcement)
- func (v *NullableAnnouncement) UnmarshalJSON(src []byte) error
- func (v *NullableAnnouncement) Unset()
- type NullableAnnouncementComment
- func (v NullableAnnouncementComment) Get() *AnnouncementComment
- func (v NullableAnnouncementComment) IsSet() bool
- func (v NullableAnnouncementComment) MarshalJSON() ([]byte, error)
- func (v *NullableAnnouncementComment) Set(val *AnnouncementComment)
- func (v *NullableAnnouncementComment) UnmarshalJSON(src []byte) error
- func (v *NullableAnnouncementComment) Unset()
- type NullableAnnouncementCommentCreate200Response
- func (v NullableAnnouncementCommentCreate200Response) Get() *AnnouncementCommentCreate200Response
- func (v NullableAnnouncementCommentCreate200Response) IsSet() bool
- func (v NullableAnnouncementCommentCreate200Response) MarshalJSON() ([]byte, error)
- func (v *NullableAnnouncementCommentCreate200Response) Set(val *AnnouncementCommentCreate200Response)
- func (v *NullableAnnouncementCommentCreate200Response) UnmarshalJSON(src []byte) error
- func (v *NullableAnnouncementCommentCreate200Response) Unset()
- type NullableAnnouncementCommentCreateRequest
- func (v NullableAnnouncementCommentCreateRequest) Get() *AnnouncementCommentCreateRequest
- func (v NullableAnnouncementCommentCreateRequest) IsSet() bool
- func (v NullableAnnouncementCommentCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAnnouncementCommentCreateRequest) Set(val *AnnouncementCommentCreateRequest)
- func (v *NullableAnnouncementCommentCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAnnouncementCommentCreateRequest) Unset()
- type NullableAnnouncementCommentReaction
- func (v NullableAnnouncementCommentReaction) Get() *AnnouncementCommentReaction
- func (v NullableAnnouncementCommentReaction) IsSet() bool
- func (v NullableAnnouncementCommentReaction) MarshalJSON() ([]byte, error)
- func (v *NullableAnnouncementCommentReaction) Set(val *AnnouncementCommentReaction)
- func (v *NullableAnnouncementCommentReaction) UnmarshalJSON(src []byte) error
- func (v *NullableAnnouncementCommentReaction) Unset()
- type NullableAnnouncementCommentReadMany200Response
- func (v NullableAnnouncementCommentReadMany200Response) Get() *AnnouncementCommentReadMany200Response
- func (v NullableAnnouncementCommentReadMany200Response) IsSet() bool
- func (v NullableAnnouncementCommentReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableAnnouncementCommentReadMany200Response) Set(val *AnnouncementCommentReadMany200Response)
- func (v *NullableAnnouncementCommentReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableAnnouncementCommentReadMany200Response) Unset()
- type NullableAnnouncementCreate200Response
- func (v NullableAnnouncementCreate200Response) Get() *AnnouncementCreate200Response
- func (v NullableAnnouncementCreate200Response) IsSet() bool
- func (v NullableAnnouncementCreate200Response) MarshalJSON() ([]byte, error)
- func (v *NullableAnnouncementCreate200Response) Set(val *AnnouncementCreate200Response)
- func (v *NullableAnnouncementCreate200Response) UnmarshalJSON(src []byte) error
- func (v *NullableAnnouncementCreate200Response) Unset()
- type NullableAnnouncementCreateRequest
- func (v NullableAnnouncementCreateRequest) Get() *AnnouncementCreateRequest
- func (v NullableAnnouncementCreateRequest) IsSet() bool
- func (v NullableAnnouncementCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAnnouncementCreateRequest) Set(val *AnnouncementCreateRequest)
- func (v *NullableAnnouncementCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAnnouncementCreateRequest) Unset()
- type NullableAnnouncementReaction
- func (v NullableAnnouncementReaction) Get() *AnnouncementReaction
- func (v NullableAnnouncementReaction) IsSet() bool
- func (v NullableAnnouncementReaction) MarshalJSON() ([]byte, error)
- func (v *NullableAnnouncementReaction) Set(val *AnnouncementReaction)
- func (v *NullableAnnouncementReaction) UnmarshalJSON(src []byte) error
- func (v *NullableAnnouncementReaction) Unset()
- type NullableAnnouncementReadMany200Response
- func (v NullableAnnouncementReadMany200Response) Get() *AnnouncementReadMany200Response
- func (v NullableAnnouncementReadMany200Response) IsSet() bool
- func (v NullableAnnouncementReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableAnnouncementReadMany200Response) Set(val *AnnouncementReadMany200Response)
- func (v *NullableAnnouncementReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableAnnouncementReadMany200Response) Unset()
- type NullableAnnouncementUpdateRequest
- func (v NullableAnnouncementUpdateRequest) Get() *AnnouncementUpdateRequest
- func (v NullableAnnouncementUpdateRequest) IsSet() bool
- func (v NullableAnnouncementUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAnnouncementUpdateRequest) Set(val *AnnouncementUpdateRequest)
- func (v *NullableAnnouncementUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAnnouncementUpdateRequest) Unset()
- type NullableBool
- type NullableCalendarEvent
- func (v NullableCalendarEvent) Get() *CalendarEvent
- func (v NullableCalendarEvent) IsSet() bool
- func (v NullableCalendarEvent) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEvent) Set(val *CalendarEvent)
- func (v *NullableCalendarEvent) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEvent) Unset()
- type NullableCalendarEventCancellation
- func (v NullableCalendarEventCancellation) Get() *CalendarEventCancellation
- func (v NullableCalendarEventCancellation) IsSet() bool
- func (v NullableCalendarEventCancellation) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventCancellation) Set(val *CalendarEventCancellation)
- func (v *NullableCalendarEventCancellation) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventCancellation) Unset()
- type NullableCalendarEventComment
- func (v NullableCalendarEventComment) Get() *CalendarEventComment
- func (v NullableCalendarEventComment) IsSet() bool
- func (v NullableCalendarEventComment) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventComment) Set(val *CalendarEventComment)
- func (v *NullableCalendarEventComment) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventComment) Unset()
- type NullableCalendarEventCommentCreate200Response
- func (v NullableCalendarEventCommentCreate200Response) Get() *CalendarEventCommentCreate200Response
- func (v NullableCalendarEventCommentCreate200Response) IsSet() bool
- func (v NullableCalendarEventCommentCreate200Response) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventCommentCreate200Response) Set(val *CalendarEventCommentCreate200Response)
- func (v *NullableCalendarEventCommentCreate200Response) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventCommentCreate200Response) Unset()
- type NullableCalendarEventCommentCreateRequest
- func (v NullableCalendarEventCommentCreateRequest) Get() *CalendarEventCommentCreateRequest
- func (v NullableCalendarEventCommentCreateRequest) IsSet() bool
- func (v NullableCalendarEventCommentCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventCommentCreateRequest) Set(val *CalendarEventCommentCreateRequest)
- func (v *NullableCalendarEventCommentCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventCommentCreateRequest) Unset()
- type NullableCalendarEventCommentReaction
- func (v NullableCalendarEventCommentReaction) Get() *CalendarEventCommentReaction
- func (v NullableCalendarEventCommentReaction) IsSet() bool
- func (v NullableCalendarEventCommentReaction) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventCommentReaction) Set(val *CalendarEventCommentReaction)
- func (v *NullableCalendarEventCommentReaction) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventCommentReaction) Unset()
- type NullableCalendarEventCommentReadMany200Response
- func (v NullableCalendarEventCommentReadMany200Response) Get() *CalendarEventCommentReadMany200Response
- func (v NullableCalendarEventCommentReadMany200Response) IsSet() bool
- func (v NullableCalendarEventCommentReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventCommentReadMany200Response) Set(val *CalendarEventCommentReadMany200Response)
- func (v *NullableCalendarEventCommentReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventCommentReadMany200Response) Unset()
- type NullableCalendarEventCreate200Response
- func (v NullableCalendarEventCreate200Response) Get() *CalendarEventCreate200Response
- func (v NullableCalendarEventCreate200Response) IsSet() bool
- func (v NullableCalendarEventCreate200Response) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventCreate200Response) Set(val *CalendarEventCreate200Response)
- func (v *NullableCalendarEventCreate200Response) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventCreate200Response) Unset()
- type NullableCalendarEventCreateRequest
- func (v NullableCalendarEventCreateRequest) Get() *CalendarEventCreateRequest
- func (v NullableCalendarEventCreateRequest) IsSet() bool
- func (v NullableCalendarEventCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventCreateRequest) Set(val *CalendarEventCreateRequest)
- func (v *NullableCalendarEventCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventCreateRequest) Unset()
- type NullableCalendarEventCreateRequestRepeatInfo
- func (v NullableCalendarEventCreateRequestRepeatInfo) Get() *CalendarEventCreateRequestRepeatInfo
- func (v NullableCalendarEventCreateRequestRepeatInfo) IsSet() bool
- func (v NullableCalendarEventCreateRequestRepeatInfo) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventCreateRequestRepeatInfo) Set(val *CalendarEventCreateRequestRepeatInfo)
- func (v *NullableCalendarEventCreateRequestRepeatInfo) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventCreateRequestRepeatInfo) Unset()
- type NullableCalendarEventCreateRequestRepeatInfoEvery
- func (v NullableCalendarEventCreateRequestRepeatInfoEvery) Get() *CalendarEventCreateRequestRepeatInfoEvery
- func (v NullableCalendarEventCreateRequestRepeatInfoEvery) IsSet() bool
- func (v NullableCalendarEventCreateRequestRepeatInfoEvery) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventCreateRequestRepeatInfoEvery) Set(val *CalendarEventCreateRequestRepeatInfoEvery)
- func (v *NullableCalendarEventCreateRequestRepeatInfoEvery) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventCreateRequestRepeatInfoEvery) Unset()
- type NullableCalendarEventReaction
- func (v NullableCalendarEventReaction) Get() *CalendarEventReaction
- func (v NullableCalendarEventReaction) IsSet() bool
- func (v NullableCalendarEventReaction) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventReaction) Set(val *CalendarEventReaction)
- func (v *NullableCalendarEventReaction) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventReaction) Unset()
- type NullableCalendarEventReadMany200Response
- func (v NullableCalendarEventReadMany200Response) Get() *CalendarEventReadMany200Response
- func (v NullableCalendarEventReadMany200Response) IsSet() bool
- func (v NullableCalendarEventReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventReadMany200Response) Set(val *CalendarEventReadMany200Response)
- func (v *NullableCalendarEventReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventReadMany200Response) Unset()
- type NullableCalendarEventRsvp
- func (v NullableCalendarEventRsvp) Get() *CalendarEventRsvp
- func (v NullableCalendarEventRsvp) IsSet() bool
- func (v NullableCalendarEventRsvp) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventRsvp) Set(val *CalendarEventRsvp)
- func (v *NullableCalendarEventRsvp) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventRsvp) Unset()
- type NullableCalendarEventRsvpRead200Response
- func (v NullableCalendarEventRsvpRead200Response) Get() *CalendarEventRsvpRead200Response
- func (v NullableCalendarEventRsvpRead200Response) IsSet() bool
- func (v NullableCalendarEventRsvpRead200Response) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventRsvpRead200Response) Set(val *CalendarEventRsvpRead200Response)
- func (v *NullableCalendarEventRsvpRead200Response) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventRsvpRead200Response) Unset()
- type NullableCalendarEventRsvpReadMany200Response
- func (v NullableCalendarEventRsvpReadMany200Response) Get() *CalendarEventRsvpReadMany200Response
- func (v NullableCalendarEventRsvpReadMany200Response) IsSet() bool
- func (v NullableCalendarEventRsvpReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventRsvpReadMany200Response) Set(val *CalendarEventRsvpReadMany200Response)
- func (v *NullableCalendarEventRsvpReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventRsvpReadMany200Response) Unset()
- type NullableCalendarEventRsvpUpdateManyRequest
- func (v NullableCalendarEventRsvpUpdateManyRequest) Get() *CalendarEventRsvpUpdateManyRequest
- func (v NullableCalendarEventRsvpUpdateManyRequest) IsSet() bool
- func (v NullableCalendarEventRsvpUpdateManyRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventRsvpUpdateManyRequest) Set(val *CalendarEventRsvpUpdateManyRequest)
- func (v *NullableCalendarEventRsvpUpdateManyRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventRsvpUpdateManyRequest) Unset()
- type NullableCalendarEventRsvpUpdateRequest
- func (v NullableCalendarEventRsvpUpdateRequest) Get() *CalendarEventRsvpUpdateRequest
- func (v NullableCalendarEventRsvpUpdateRequest) IsSet() bool
- func (v NullableCalendarEventRsvpUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventRsvpUpdateRequest) Set(val *CalendarEventRsvpUpdateRequest)
- func (v *NullableCalendarEventRsvpUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventRsvpUpdateRequest) Unset()
- type NullableCalendarEventSeries
- func (v NullableCalendarEventSeries) Get() *CalendarEventSeries
- func (v NullableCalendarEventSeries) IsSet() bool
- func (v NullableCalendarEventSeries) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventSeries) Set(val *CalendarEventSeries)
- func (v *NullableCalendarEventSeries) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventSeries) Unset()
- type NullableCalendarEventSeriesDeleteRequest
- func (v NullableCalendarEventSeriesDeleteRequest) Get() *CalendarEventSeriesDeleteRequest
- func (v NullableCalendarEventSeriesDeleteRequest) IsSet() bool
- func (v NullableCalendarEventSeriesDeleteRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventSeriesDeleteRequest) Set(val *CalendarEventSeriesDeleteRequest)
- func (v *NullableCalendarEventSeriesDeleteRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventSeriesDeleteRequest) Unset()
- type NullableCalendarEventSeriesUpdateRequest
- func (v NullableCalendarEventSeriesUpdateRequest) Get() *CalendarEventSeriesUpdateRequest
- func (v NullableCalendarEventSeriesUpdateRequest) IsSet() bool
- func (v NullableCalendarEventSeriesUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventSeriesUpdateRequest) Set(val *CalendarEventSeriesUpdateRequest)
- func (v *NullableCalendarEventSeriesUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventSeriesUpdateRequest) Unset()
- type NullableCalendarEventUpdateRequest
- func (v NullableCalendarEventUpdateRequest) Get() *CalendarEventUpdateRequest
- func (v NullableCalendarEventUpdateRequest) IsSet() bool
- func (v NullableCalendarEventUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventUpdateRequest) Set(val *CalendarEventUpdateRequest)
- func (v *NullableCalendarEventUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventUpdateRequest) Unset()
- type NullableCalendarEventUpdateRequestCancellation
- func (v NullableCalendarEventUpdateRequestCancellation) Get() *CalendarEventUpdateRequestCancellation
- func (v NullableCalendarEventUpdateRequestCancellation) IsSet() bool
- func (v NullableCalendarEventUpdateRequestCancellation) MarshalJSON() ([]byte, error)
- func (v *NullableCalendarEventUpdateRequestCancellation) Set(val *CalendarEventUpdateRequestCancellation)
- func (v *NullableCalendarEventUpdateRequestCancellation) UnmarshalJSON(src []byte) error
- func (v *NullableCalendarEventUpdateRequestCancellation) Unset()
- type NullableCategory
- type NullableCategoryCreate200Response
- func (v NullableCategoryCreate200Response) Get() *CategoryCreate200Response
- func (v NullableCategoryCreate200Response) IsSet() bool
- func (v NullableCategoryCreate200Response) MarshalJSON() ([]byte, error)
- func (v *NullableCategoryCreate200Response) Set(val *CategoryCreate200Response)
- func (v *NullableCategoryCreate200Response) UnmarshalJSON(src []byte) error
- func (v *NullableCategoryCreate200Response) Unset()
- type NullableCategoryCreateRequest
- func (v NullableCategoryCreateRequest) Get() *CategoryCreateRequest
- func (v NullableCategoryCreateRequest) IsSet() bool
- func (v NullableCategoryCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCategoryCreateRequest) Set(val *CategoryCreateRequest)
- func (v *NullableCategoryCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCategoryCreateRequest) Unset()
- type NullableCategoryUpdateRequest
- func (v NullableCategoryUpdateRequest) Get() *CategoryUpdateRequest
- func (v NullableCategoryUpdateRequest) IsSet() bool
- func (v NullableCategoryUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCategoryUpdateRequest) Set(val *CategoryUpdateRequest)
- func (v *NullableCategoryUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCategoryUpdateRequest) Unset()
- type NullableChannelCategoryRolePermission
- func (v NullableChannelCategoryRolePermission) Get() *ChannelCategoryRolePermission
- func (v NullableChannelCategoryRolePermission) IsSet() bool
- func (v NullableChannelCategoryRolePermission) MarshalJSON() ([]byte, error)
- func (v *NullableChannelCategoryRolePermission) Set(val *ChannelCategoryRolePermission)
- func (v *NullableChannelCategoryRolePermission) UnmarshalJSON(src []byte) error
- func (v *NullableChannelCategoryRolePermission) Unset()
- type NullableChannelCategoryRolePermissionRead200Response
- func (v NullableChannelCategoryRolePermissionRead200Response) Get() *ChannelCategoryRolePermissionRead200Response
- func (v NullableChannelCategoryRolePermissionRead200Response) IsSet() bool
- func (v NullableChannelCategoryRolePermissionRead200Response) MarshalJSON() ([]byte, error)
- func (v *NullableChannelCategoryRolePermissionRead200Response) Set(val *ChannelCategoryRolePermissionRead200Response)
- func (v *NullableChannelCategoryRolePermissionRead200Response) UnmarshalJSON(src []byte) error
- func (v *NullableChannelCategoryRolePermissionRead200Response) Unset()
- type NullableChannelCategoryRolePermissionReadMany200Response
- func (v NullableChannelCategoryRolePermissionReadMany200Response) Get() *ChannelCategoryRolePermissionReadMany200Response
- func (v NullableChannelCategoryRolePermissionReadMany200Response) IsSet() bool
- func (v NullableChannelCategoryRolePermissionReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableChannelCategoryRolePermissionReadMany200Response) Set(val *ChannelCategoryRolePermissionReadMany200Response)
- func (v *NullableChannelCategoryRolePermissionReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableChannelCategoryRolePermissionReadMany200Response) Unset()
- type NullableChannelCategoryUserPermission
- func (v NullableChannelCategoryUserPermission) Get() *ChannelCategoryUserPermission
- func (v NullableChannelCategoryUserPermission) IsSet() bool
- func (v NullableChannelCategoryUserPermission) MarshalJSON() ([]byte, error)
- func (v *NullableChannelCategoryUserPermission) Set(val *ChannelCategoryUserPermission)
- func (v *NullableChannelCategoryUserPermission) UnmarshalJSON(src []byte) error
- func (v *NullableChannelCategoryUserPermission) Unset()
- type NullableChannelCategoryUserPermissionRead200Response
- func (v NullableChannelCategoryUserPermissionRead200Response) Get() *ChannelCategoryUserPermissionRead200Response
- func (v NullableChannelCategoryUserPermissionRead200Response) IsSet() bool
- func (v NullableChannelCategoryUserPermissionRead200Response) MarshalJSON() ([]byte, error)
- func (v *NullableChannelCategoryUserPermissionRead200Response) Set(val *ChannelCategoryUserPermissionRead200Response)
- func (v *NullableChannelCategoryUserPermissionRead200Response) UnmarshalJSON(src []byte) error
- func (v *NullableChannelCategoryUserPermissionRead200Response) Unset()
- type NullableChannelCategoryUserPermissionReadMany200Response
- func (v NullableChannelCategoryUserPermissionReadMany200Response) Get() *ChannelCategoryUserPermissionReadMany200Response
- func (v NullableChannelCategoryUserPermissionReadMany200Response) IsSet() bool
- func (v NullableChannelCategoryUserPermissionReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableChannelCategoryUserPermissionReadMany200Response) Set(val *ChannelCategoryUserPermissionReadMany200Response)
- func (v *NullableChannelCategoryUserPermissionReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableChannelCategoryUserPermissionReadMany200Response) Unset()
- type NullableChannelCreate201Response
- func (v NullableChannelCreate201Response) Get() *ChannelCreate201Response
- func (v NullableChannelCreate201Response) IsSet() bool
- func (v NullableChannelCreate201Response) MarshalJSON() ([]byte, error)
- func (v *NullableChannelCreate201Response) Set(val *ChannelCreate201Response)
- func (v *NullableChannelCreate201Response) UnmarshalJSON(src []byte) error
- func (v *NullableChannelCreate201Response) Unset()
- type NullableChannelMessageCreate201Response
- func (v NullableChannelMessageCreate201Response) Get() *ChannelMessageCreate201Response
- func (v NullableChannelMessageCreate201Response) IsSet() bool
- func (v NullableChannelMessageCreate201Response) MarshalJSON() ([]byte, error)
- func (v *NullableChannelMessageCreate201Response) Set(val *ChannelMessageCreate201Response)
- func (v *NullableChannelMessageCreate201Response) UnmarshalJSON(src []byte) error
- func (v *NullableChannelMessageCreate201Response) Unset()
- type NullableChannelMessageCreateRequest
- func (v NullableChannelMessageCreateRequest) Get() *ChannelMessageCreateRequest
- func (v NullableChannelMessageCreateRequest) IsSet() bool
- func (v NullableChannelMessageCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableChannelMessageCreateRequest) Set(val *ChannelMessageCreateRequest)
- func (v *NullableChannelMessageCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableChannelMessageCreateRequest) Unset()
- type NullableChannelMessageReadMany200Response
- func (v NullableChannelMessageReadMany200Response) Get() *ChannelMessageReadMany200Response
- func (v NullableChannelMessageReadMany200Response) IsSet() bool
- func (v NullableChannelMessageReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableChannelMessageReadMany200Response) Set(val *ChannelMessageReadMany200Response)
- func (v *NullableChannelMessageReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableChannelMessageReadMany200Response) Unset()
- type NullableChannelMessageUpdate200Response
- func (v NullableChannelMessageUpdate200Response) Get() *ChannelMessageUpdate200Response
- func (v NullableChannelMessageUpdate200Response) IsSet() bool
- func (v NullableChannelMessageUpdate200Response) MarshalJSON() ([]byte, error)
- func (v *NullableChannelMessageUpdate200Response) Set(val *ChannelMessageUpdate200Response)
- func (v *NullableChannelMessageUpdate200Response) UnmarshalJSON(src []byte) error
- func (v *NullableChannelMessageUpdate200Response) Unset()
- type NullableChannelMessageUpdate200ResponseMessage
- func (v NullableChannelMessageUpdate200ResponseMessage) Get() *ChannelMessageUpdate200ResponseMessage
- func (v NullableChannelMessageUpdate200ResponseMessage) IsSet() bool
- func (v NullableChannelMessageUpdate200ResponseMessage) MarshalJSON() ([]byte, error)
- func (v *NullableChannelMessageUpdate200ResponseMessage) Set(val *ChannelMessageUpdate200ResponseMessage)
- func (v *NullableChannelMessageUpdate200ResponseMessage) UnmarshalJSON(src []byte) error
- func (v *NullableChannelMessageUpdate200ResponseMessage) Unset()
- type NullableChannelMessageUpdateRequest
- func (v NullableChannelMessageUpdateRequest) Get() *ChannelMessageUpdateRequest
- func (v NullableChannelMessageUpdateRequest) IsSet() bool
- func (v NullableChannelMessageUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableChannelMessageUpdateRequest) Set(val *ChannelMessageUpdateRequest)
- func (v *NullableChannelMessageUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableChannelMessageUpdateRequest) Unset()
- type NullableChannelRolePermission
- func (v NullableChannelRolePermission) Get() *ChannelRolePermission
- func (v NullableChannelRolePermission) IsSet() bool
- func (v NullableChannelRolePermission) MarshalJSON() ([]byte, error)
- func (v *NullableChannelRolePermission) Set(val *ChannelRolePermission)
- func (v *NullableChannelRolePermission) UnmarshalJSON(src []byte) error
- func (v *NullableChannelRolePermission) Unset()
- type NullableChannelRolePermissionCreateRequest
- func (v NullableChannelRolePermissionCreateRequest) Get() *ChannelRolePermissionCreateRequest
- func (v NullableChannelRolePermissionCreateRequest) IsSet() bool
- func (v NullableChannelRolePermissionCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableChannelRolePermissionCreateRequest) Set(val *ChannelRolePermissionCreateRequest)
- func (v *NullableChannelRolePermissionCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableChannelRolePermissionCreateRequest) Unset()
- type NullableChannelRolePermissionRead200Response
- func (v NullableChannelRolePermissionRead200Response) Get() *ChannelRolePermissionRead200Response
- func (v NullableChannelRolePermissionRead200Response) IsSet() bool
- func (v NullableChannelRolePermissionRead200Response) MarshalJSON() ([]byte, error)
- func (v *NullableChannelRolePermissionRead200Response) Set(val *ChannelRolePermissionRead200Response)
- func (v *NullableChannelRolePermissionRead200Response) UnmarshalJSON(src []byte) error
- func (v *NullableChannelRolePermissionRead200Response) Unset()
- type NullableChannelRolePermissionReadMany200Response
- func (v NullableChannelRolePermissionReadMany200Response) Get() *ChannelRolePermissionReadMany200Response
- func (v NullableChannelRolePermissionReadMany200Response) IsSet() bool
- func (v NullableChannelRolePermissionReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableChannelRolePermissionReadMany200Response) Set(val *ChannelRolePermissionReadMany200Response)
- func (v *NullableChannelRolePermissionReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableChannelRolePermissionReadMany200Response) Unset()
- type NullableChannelUpdateRequest
- func (v NullableChannelUpdateRequest) Get() *ChannelUpdateRequest
- func (v NullableChannelUpdateRequest) IsSet() bool
- func (v NullableChannelUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableChannelUpdateRequest) Set(val *ChannelUpdateRequest)
- func (v *NullableChannelUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableChannelUpdateRequest) Unset()
- type NullableChannelUserPermission
- func (v NullableChannelUserPermission) Get() *ChannelUserPermission
- func (v NullableChannelUserPermission) IsSet() bool
- func (v NullableChannelUserPermission) MarshalJSON() ([]byte, error)
- func (v *NullableChannelUserPermission) Set(val *ChannelUserPermission)
- func (v *NullableChannelUserPermission) UnmarshalJSON(src []byte) error
- func (v *NullableChannelUserPermission) Unset()
- type NullableChannelUserPermissionRead200Response
- func (v NullableChannelUserPermissionRead200Response) Get() *ChannelUserPermissionRead200Response
- func (v NullableChannelUserPermissionRead200Response) IsSet() bool
- func (v NullableChannelUserPermissionRead200Response) MarshalJSON() ([]byte, error)
- func (v *NullableChannelUserPermissionRead200Response) Set(val *ChannelUserPermissionRead200Response)
- func (v *NullableChannelUserPermissionRead200Response) UnmarshalJSON(src []byte) error
- func (v *NullableChannelUserPermissionRead200Response) Unset()
- type NullableChannelUserPermissionReadMany200Response
- func (v NullableChannelUserPermissionReadMany200Response) Get() *ChannelUserPermissionReadMany200Response
- func (v NullableChannelUserPermissionReadMany200Response) IsSet() bool
- func (v NullableChannelUserPermissionReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableChannelUserPermissionReadMany200Response) Set(val *ChannelUserPermissionReadMany200Response)
- func (v *NullableChannelUserPermissionReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableChannelUserPermissionReadMany200Response) Unset()
- type NullableChatEmbed
- type NullableChatEmbedAuthor
- func (v NullableChatEmbedAuthor) Get() *ChatEmbedAuthor
- func (v NullableChatEmbedAuthor) IsSet() bool
- func (v NullableChatEmbedAuthor) MarshalJSON() ([]byte, error)
- func (v *NullableChatEmbedAuthor) Set(val *ChatEmbedAuthor)
- func (v *NullableChatEmbedAuthor) UnmarshalJSON(src []byte) error
- func (v *NullableChatEmbedAuthor) Unset()
- type NullableChatEmbedFieldsInner
- func (v NullableChatEmbedFieldsInner) Get() *ChatEmbedFieldsInner
- func (v NullableChatEmbedFieldsInner) IsSet() bool
- func (v NullableChatEmbedFieldsInner) MarshalJSON() ([]byte, error)
- func (v *NullableChatEmbedFieldsInner) Set(val *ChatEmbedFieldsInner)
- func (v *NullableChatEmbedFieldsInner) UnmarshalJSON(src []byte) error
- func (v *NullableChatEmbedFieldsInner) Unset()
- type NullableChatEmbedFooter
- func (v NullableChatEmbedFooter) Get() *ChatEmbedFooter
- func (v NullableChatEmbedFooter) IsSet() bool
- func (v NullableChatEmbedFooter) MarshalJSON() ([]byte, error)
- func (v *NullableChatEmbedFooter) Set(val *ChatEmbedFooter)
- func (v *NullableChatEmbedFooter) UnmarshalJSON(src []byte) error
- func (v *NullableChatEmbedFooter) Unset()
- type NullableChatEmbedImage
- func (v NullableChatEmbedImage) Get() *ChatEmbedImage
- func (v NullableChatEmbedImage) IsSet() bool
- func (v NullableChatEmbedImage) MarshalJSON() ([]byte, error)
- func (v *NullableChatEmbedImage) Set(val *ChatEmbedImage)
- func (v *NullableChatEmbedImage) UnmarshalJSON(src []byte) error
- func (v *NullableChatEmbedImage) Unset()
- type NullableChatEmbedThumbnail
- func (v NullableChatEmbedThumbnail) Get() *ChatEmbedThumbnail
- func (v NullableChatEmbedThumbnail) IsSet() bool
- func (v NullableChatEmbedThumbnail) MarshalJSON() ([]byte, error)
- func (v *NullableChatEmbedThumbnail) Set(val *ChatEmbedThumbnail)
- func (v *NullableChatEmbedThumbnail) UnmarshalJSON(src []byte) error
- func (v *NullableChatEmbedThumbnail) Unset()
- type NullableChatMessage
- func (v NullableChatMessage) Get() *ChatMessage
- func (v NullableChatMessage) IsSet() bool
- func (v NullableChatMessage) MarshalJSON() ([]byte, error)
- func (v *NullableChatMessage) Set(val *ChatMessage)
- func (v *NullableChatMessage) UnmarshalJSON(src []byte) error
- func (v *NullableChatMessage) Unset()
- type NullableChatMessageReaction
- func (v NullableChatMessageReaction) Get() *ChatMessageReaction
- func (v NullableChatMessageReaction) IsSet() bool
- func (v NullableChatMessageReaction) MarshalJSON() ([]byte, error)
- func (v *NullableChatMessageReaction) Set(val *ChatMessageReaction)
- func (v *NullableChatMessageReaction) UnmarshalJSON(src []byte) error
- func (v *NullableChatMessageReaction) Unset()
- type NullableContent
- type NullableContent1
- type NullableContent2
- type NullableContent3
- type NullableContent4
- type NullableDoc
- type NullableDocComment
- type NullableDocCommentCreate201Response
- func (v NullableDocCommentCreate201Response) Get() *DocCommentCreate201Response
- func (v NullableDocCommentCreate201Response) IsSet() bool
- func (v NullableDocCommentCreate201Response) MarshalJSON() ([]byte, error)
- func (v *NullableDocCommentCreate201Response) Set(val *DocCommentCreate201Response)
- func (v *NullableDocCommentCreate201Response) UnmarshalJSON(src []byte) error
- func (v *NullableDocCommentCreate201Response) Unset()
- type NullableDocCommentCreateRequest
- func (v NullableDocCommentCreateRequest) Get() *DocCommentCreateRequest
- func (v NullableDocCommentCreateRequest) IsSet() bool
- func (v NullableDocCommentCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDocCommentCreateRequest) Set(val *DocCommentCreateRequest)
- func (v *NullableDocCommentCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDocCommentCreateRequest) Unset()
- type NullableDocCommentReaction
- func (v NullableDocCommentReaction) Get() *DocCommentReaction
- func (v NullableDocCommentReaction) IsSet() bool
- func (v NullableDocCommentReaction) MarshalJSON() ([]byte, error)
- func (v *NullableDocCommentReaction) Set(val *DocCommentReaction)
- func (v *NullableDocCommentReaction) UnmarshalJSON(src []byte) error
- func (v *NullableDocCommentReaction) Unset()
- type NullableDocCommentReadMany200Response
- func (v NullableDocCommentReadMany200Response) Get() *DocCommentReadMany200Response
- func (v NullableDocCommentReadMany200Response) IsSet() bool
- func (v NullableDocCommentReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableDocCommentReadMany200Response) Set(val *DocCommentReadMany200Response)
- func (v *NullableDocCommentReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableDocCommentReadMany200Response) Unset()
- type NullableDocCreate201Response
- func (v NullableDocCreate201Response) Get() *DocCreate201Response
- func (v NullableDocCreate201Response) IsSet() bool
- func (v NullableDocCreate201Response) MarshalJSON() ([]byte, error)
- func (v *NullableDocCreate201Response) Set(val *DocCreate201Response)
- func (v *NullableDocCreate201Response) UnmarshalJSON(src []byte) error
- func (v *NullableDocCreate201Response) Unset()
- type NullableDocCreateRequest
- func (v NullableDocCreateRequest) Get() *DocCreateRequest
- func (v NullableDocCreateRequest) IsSet() bool
- func (v NullableDocCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDocCreateRequest) Set(val *DocCreateRequest)
- func (v *NullableDocCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDocCreateRequest) Unset()
- type NullableDocReaction
- func (v NullableDocReaction) Get() *DocReaction
- func (v NullableDocReaction) IsSet() bool
- func (v NullableDocReaction) MarshalJSON() ([]byte, error)
- func (v *NullableDocReaction) Set(val *DocReaction)
- func (v *NullableDocReaction) UnmarshalJSON(src []byte) error
- func (v *NullableDocReaction) Unset()
- type NullableDocReadMany200Response
- func (v NullableDocReadMany200Response) Get() *DocReadMany200Response
- func (v NullableDocReadMany200Response) IsSet() bool
- func (v NullableDocReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableDocReadMany200Response) Set(val *DocReadMany200Response)
- func (v *NullableDocReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableDocReadMany200Response) Unset()
- type NullableDocUpdateRequest
- func (v NullableDocUpdateRequest) Get() *DocUpdateRequest
- func (v NullableDocUpdateRequest) IsSet() bool
- func (v NullableDocUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDocUpdateRequest) Set(val *DocUpdateRequest)
- func (v *NullableDocUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDocUpdateRequest) Unset()
- type NullableEmote
- type NullableFloat32
- type NullableFloat64
- type NullableForumTopic
- type NullableForumTopicComment
- func (v NullableForumTopicComment) Get() *ForumTopicComment
- func (v NullableForumTopicComment) IsSet() bool
- func (v NullableForumTopicComment) MarshalJSON() ([]byte, error)
- func (v *NullableForumTopicComment) Set(val *ForumTopicComment)
- func (v *NullableForumTopicComment) UnmarshalJSON(src []byte) error
- func (v *NullableForumTopicComment) Unset()
- type NullableForumTopicCommentCreate201Response
- func (v NullableForumTopicCommentCreate201Response) Get() *ForumTopicCommentCreate201Response
- func (v NullableForumTopicCommentCreate201Response) IsSet() bool
- func (v NullableForumTopicCommentCreate201Response) MarshalJSON() ([]byte, error)
- func (v *NullableForumTopicCommentCreate201Response) Set(val *ForumTopicCommentCreate201Response)
- func (v *NullableForumTopicCommentCreate201Response) UnmarshalJSON(src []byte) error
- func (v *NullableForumTopicCommentCreate201Response) Unset()
- type NullableForumTopicCommentCreateRequest
- func (v NullableForumTopicCommentCreateRequest) Get() *ForumTopicCommentCreateRequest
- func (v NullableForumTopicCommentCreateRequest) IsSet() bool
- func (v NullableForumTopicCommentCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableForumTopicCommentCreateRequest) Set(val *ForumTopicCommentCreateRequest)
- func (v *NullableForumTopicCommentCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableForumTopicCommentCreateRequest) Unset()
- type NullableForumTopicCommentReaction
- func (v NullableForumTopicCommentReaction) Get() *ForumTopicCommentReaction
- func (v NullableForumTopicCommentReaction) IsSet() bool
- func (v NullableForumTopicCommentReaction) MarshalJSON() ([]byte, error)
- func (v *NullableForumTopicCommentReaction) Set(val *ForumTopicCommentReaction)
- func (v *NullableForumTopicCommentReaction) UnmarshalJSON(src []byte) error
- func (v *NullableForumTopicCommentReaction) Unset()
- type NullableForumTopicCommentReadMany200Response
- func (v NullableForumTopicCommentReadMany200Response) Get() *ForumTopicCommentReadMany200Response
- func (v NullableForumTopicCommentReadMany200Response) IsSet() bool
- func (v NullableForumTopicCommentReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableForumTopicCommentReadMany200Response) Set(val *ForumTopicCommentReadMany200Response)
- func (v *NullableForumTopicCommentReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableForumTopicCommentReadMany200Response) Unset()
- type NullableForumTopicCommentUpdateRequest
- func (v NullableForumTopicCommentUpdateRequest) Get() *ForumTopicCommentUpdateRequest
- func (v NullableForumTopicCommentUpdateRequest) IsSet() bool
- func (v NullableForumTopicCommentUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableForumTopicCommentUpdateRequest) Set(val *ForumTopicCommentUpdateRequest)
- func (v *NullableForumTopicCommentUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableForumTopicCommentUpdateRequest) Unset()
- type NullableForumTopicCreate201Response
- func (v NullableForumTopicCreate201Response) Get() *ForumTopicCreate201Response
- func (v NullableForumTopicCreate201Response) IsSet() bool
- func (v NullableForumTopicCreate201Response) MarshalJSON() ([]byte, error)
- func (v *NullableForumTopicCreate201Response) Set(val *ForumTopicCreate201Response)
- func (v *NullableForumTopicCreate201Response) UnmarshalJSON(src []byte) error
- func (v *NullableForumTopicCreate201Response) Unset()
- type NullableForumTopicCreateRequest
- func (v NullableForumTopicCreateRequest) Get() *ForumTopicCreateRequest
- func (v NullableForumTopicCreateRequest) IsSet() bool
- func (v NullableForumTopicCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableForumTopicCreateRequest) Set(val *ForumTopicCreateRequest)
- func (v *NullableForumTopicCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableForumTopicCreateRequest) Unset()
- type NullableForumTopicReaction
- func (v NullableForumTopicReaction) Get() *ForumTopicReaction
- func (v NullableForumTopicReaction) IsSet() bool
- func (v NullableForumTopicReaction) MarshalJSON() ([]byte, error)
- func (v *NullableForumTopicReaction) Set(val *ForumTopicReaction)
- func (v *NullableForumTopicReaction) UnmarshalJSON(src []byte) error
- func (v *NullableForumTopicReaction) Unset()
- type NullableForumTopicReadMany200Response
- func (v NullableForumTopicReadMany200Response) Get() *ForumTopicReadMany200Response
- func (v NullableForumTopicReadMany200Response) IsSet() bool
- func (v NullableForumTopicReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableForumTopicReadMany200Response) Set(val *ForumTopicReadMany200Response)
- func (v *NullableForumTopicReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableForumTopicReadMany200Response) Unset()
- type NullableForumTopicSummary
- func (v NullableForumTopicSummary) Get() *ForumTopicSummary
- func (v NullableForumTopicSummary) IsSet() bool
- func (v NullableForumTopicSummary) MarshalJSON() ([]byte, error)
- func (v *NullableForumTopicSummary) Set(val *ForumTopicSummary)
- func (v *NullableForumTopicSummary) UnmarshalJSON(src []byte) error
- func (v *NullableForumTopicSummary) Unset()
- type NullableForumTopicUpdateRequest
- func (v NullableForumTopicUpdateRequest) Get() *ForumTopicUpdateRequest
- func (v NullableForumTopicUpdateRequest) IsSet() bool
- func (v NullableForumTopicUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableForumTopicUpdateRequest) Set(val *ForumTopicUpdateRequest)
- func (v *NullableForumTopicUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableForumTopicUpdateRequest) Unset()
- type NullableGroup
- type NullableGroupCreate201Response
- func (v NullableGroupCreate201Response) Get() *GroupCreate201Response
- func (v NullableGroupCreate201Response) IsSet() bool
- func (v NullableGroupCreate201Response) MarshalJSON() ([]byte, error)
- func (v *NullableGroupCreate201Response) Set(val *GroupCreate201Response)
- func (v *NullableGroupCreate201Response) UnmarshalJSON(src []byte) error
- func (v *NullableGroupCreate201Response) Unset()
- type NullableGroupCreateRequest
- func (v NullableGroupCreateRequest) Get() *GroupCreateRequest
- func (v NullableGroupCreateRequest) IsSet() bool
- func (v NullableGroupCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableGroupCreateRequest) Set(val *GroupCreateRequest)
- func (v *NullableGroupCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableGroupCreateRequest) Unset()
- type NullableGroupReadMany200Response
- func (v NullableGroupReadMany200Response) Get() *GroupReadMany200Response
- func (v NullableGroupReadMany200Response) IsSet() bool
- func (v NullableGroupReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableGroupReadMany200Response) Set(val *GroupReadMany200Response)
- func (v *NullableGroupReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableGroupReadMany200Response) Unset()
- type NullableGroupUpdateRequest
- func (v NullableGroupUpdateRequest) Get() *GroupUpdateRequest
- func (v NullableGroupUpdateRequest) IsSet() bool
- func (v NullableGroupUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableGroupUpdateRequest) Set(val *GroupUpdateRequest)
- func (v *NullableGroupUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableGroupUpdateRequest) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListItem
- type NullableListItemCreate201Response
- func (v NullableListItemCreate201Response) Get() *ListItemCreate201Response
- func (v NullableListItemCreate201Response) IsSet() bool
- func (v NullableListItemCreate201Response) MarshalJSON() ([]byte, error)
- func (v *NullableListItemCreate201Response) Set(val *ListItemCreate201Response)
- func (v *NullableListItemCreate201Response) UnmarshalJSON(src []byte) error
- func (v *NullableListItemCreate201Response) Unset()
- type NullableListItemCreateRequest
- func (v NullableListItemCreateRequest) Get() *ListItemCreateRequest
- func (v NullableListItemCreateRequest) IsSet() bool
- func (v NullableListItemCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableListItemCreateRequest) Set(val *ListItemCreateRequest)
- func (v *NullableListItemCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableListItemCreateRequest) Unset()
- type NullableListItemCreateRequestNote
- func (v NullableListItemCreateRequestNote) Get() *ListItemCreateRequestNote
- func (v NullableListItemCreateRequestNote) IsSet() bool
- func (v NullableListItemCreateRequestNote) MarshalJSON() ([]byte, error)
- func (v *NullableListItemCreateRequestNote) Set(val *ListItemCreateRequestNote)
- func (v *NullableListItemCreateRequestNote) UnmarshalJSON(src []byte) error
- func (v *NullableListItemCreateRequestNote) Unset()
- type NullableListItemNote
- func (v NullableListItemNote) Get() *ListItemNote
- func (v NullableListItemNote) IsSet() bool
- func (v NullableListItemNote) MarshalJSON() ([]byte, error)
- func (v *NullableListItemNote) Set(val *ListItemNote)
- func (v *NullableListItemNote) UnmarshalJSON(src []byte) error
- func (v *NullableListItemNote) Unset()
- type NullableListItemReadMany200Response
- func (v NullableListItemReadMany200Response) Get() *ListItemReadMany200Response
- func (v NullableListItemReadMany200Response) IsSet() bool
- func (v NullableListItemReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableListItemReadMany200Response) Set(val *ListItemReadMany200Response)
- func (v *NullableListItemReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableListItemReadMany200Response) Unset()
- type NullableListItemSummary
- func (v NullableListItemSummary) Get() *ListItemSummary
- func (v NullableListItemSummary) IsSet() bool
- func (v NullableListItemSummary) MarshalJSON() ([]byte, error)
- func (v *NullableListItemSummary) Set(val *ListItemSummary)
- func (v *NullableListItemSummary) UnmarshalJSON(src []byte) error
- func (v *NullableListItemSummary) Unset()
- type NullableListItemSummaryNote
- func (v NullableListItemSummaryNote) Get() *ListItemSummaryNote
- func (v NullableListItemSummaryNote) IsSet() bool
- func (v NullableListItemSummaryNote) MarshalJSON() ([]byte, error)
- func (v *NullableListItemSummaryNote) Set(val *ListItemSummaryNote)
- func (v *NullableListItemSummaryNote) UnmarshalJSON(src []byte) error
- func (v *NullableListItemSummaryNote) Unset()
- type NullableListItemUpdateRequest
- func (v NullableListItemUpdateRequest) Get() *ListItemUpdateRequest
- func (v NullableListItemUpdateRequest) IsSet() bool
- func (v NullableListItemUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableListItemUpdateRequest) Set(val *ListItemUpdateRequest)
- func (v *NullableListItemUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableListItemUpdateRequest) Unset()
- type NullableListItemUpdateRequestNote
- func (v NullableListItemUpdateRequestNote) Get() *ListItemUpdateRequestNote
- func (v NullableListItemUpdateRequestNote) IsSet() bool
- func (v NullableListItemUpdateRequestNote) MarshalJSON() ([]byte, error)
- func (v *NullableListItemUpdateRequestNote) Set(val *ListItemUpdateRequestNote)
- func (v *NullableListItemUpdateRequestNote) UnmarshalJSON(src []byte) error
- func (v *NullableListItemUpdateRequestNote) Unset()
- type NullableMemberNicknameUpdate200Response
- func (v NullableMemberNicknameUpdate200Response) Get() *MemberNicknameUpdate200Response
- func (v NullableMemberNicknameUpdate200Response) IsSet() bool
- func (v NullableMemberNicknameUpdate200Response) MarshalJSON() ([]byte, error)
- func (v *NullableMemberNicknameUpdate200Response) Set(val *MemberNicknameUpdate200Response)
- func (v *NullableMemberNicknameUpdate200Response) UnmarshalJSON(src []byte) error
- func (v *NullableMemberNicknameUpdate200Response) Unset()
- type NullableMemberNicknameUpdateRequest
- func (v NullableMemberNicknameUpdateRequest) Get() *MemberNicknameUpdateRequest
- func (v NullableMemberNicknameUpdateRequest) IsSet() bool
- func (v NullableMemberNicknameUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableMemberNicknameUpdateRequest) Set(val *MemberNicknameUpdateRequest)
- func (v *NullableMemberNicknameUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableMemberNicknameUpdateRequest) Unset()
- type NullableMemberSocialLinkRead200Response
- func (v NullableMemberSocialLinkRead200Response) Get() *MemberSocialLinkRead200Response
- func (v NullableMemberSocialLinkRead200Response) IsSet() bool
- func (v NullableMemberSocialLinkRead200Response) MarshalJSON() ([]byte, error)
- func (v *NullableMemberSocialLinkRead200Response) Set(val *MemberSocialLinkRead200Response)
- func (v *NullableMemberSocialLinkRead200Response) UnmarshalJSON(src []byte) error
- func (v *NullableMemberSocialLinkRead200Response) Unset()
- type NullableMentions
- type NullableMessage
- type NullableNote
- type NullableRole
- type NullableRoleCreate200Response
- func (v NullableRoleCreate200Response) Get() *RoleCreate200Response
- func (v NullableRoleCreate200Response) IsSet() bool
- func (v NullableRoleCreate200Response) MarshalJSON() ([]byte, error)
- func (v *NullableRoleCreate200Response) Set(val *RoleCreate200Response)
- func (v *NullableRoleCreate200Response) UnmarshalJSON(src []byte) error
- func (v *NullableRoleCreate200Response) Unset()
- type NullableRoleCreateRequest
- func (v NullableRoleCreateRequest) Get() *RoleCreateRequest
- func (v NullableRoleCreateRequest) IsSet() bool
- func (v NullableRoleCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRoleCreateRequest) Set(val *RoleCreateRequest)
- func (v *NullableRoleCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRoleCreateRequest) Unset()
- type NullableRoleMembershipReadMany200Response
- func (v NullableRoleMembershipReadMany200Response) Get() *RoleMembershipReadMany200Response
- func (v NullableRoleMembershipReadMany200Response) IsSet() bool
- func (v NullableRoleMembershipReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableRoleMembershipReadMany200Response) Set(val *RoleMembershipReadMany200Response)
- func (v *NullableRoleMembershipReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableRoleMembershipReadMany200Response) Unset()
- type NullableRolePermissionUpdateRequest
- func (v NullableRolePermissionUpdateRequest) Get() *RolePermissionUpdateRequest
- func (v NullableRolePermissionUpdateRequest) IsSet() bool
- func (v NullableRolePermissionUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRolePermissionUpdateRequest) Set(val *RolePermissionUpdateRequest)
- func (v *NullableRolePermissionUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRolePermissionUpdateRequest) Unset()
- type NullableRoleReadMany200Response
- func (v NullableRoleReadMany200Response) Get() *RoleReadMany200Response
- func (v NullableRoleReadMany200Response) IsSet() bool
- func (v NullableRoleReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableRoleReadMany200Response) Set(val *RoleReadMany200Response)
- func (v *NullableRoleReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableRoleReadMany200Response) Unset()
- type NullableRoleUpdateRequest
- func (v NullableRoleUpdateRequest) Get() *RoleUpdateRequest
- func (v NullableRoleUpdateRequest) IsSet() bool
- func (v NullableRoleUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRoleUpdateRequest) Set(val *RoleUpdateRequest)
- func (v *NullableRoleUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRoleUpdateRequest) Unset()
- type NullableServer
- type NullableServerChannel
- func (v NullableServerChannel) Get() *ServerChannel
- func (v NullableServerChannel) IsSet() bool
- func (v NullableServerChannel) MarshalJSON() ([]byte, error)
- func (v *NullableServerChannel) Set(val *ServerChannel)
- func (v *NullableServerChannel) UnmarshalJSON(src []byte) error
- func (v *NullableServerChannel) Unset()
- type NullableServerMember
- func (v NullableServerMember) Get() *ServerMember
- func (v NullableServerMember) IsSet() bool
- func (v NullableServerMember) MarshalJSON() ([]byte, error)
- func (v *NullableServerMember) Set(val *ServerMember)
- func (v *NullableServerMember) UnmarshalJSON(src []byte) error
- func (v *NullableServerMember) Unset()
- type NullableServerMemberBan
- func (v NullableServerMemberBan) Get() *ServerMemberBan
- func (v NullableServerMemberBan) IsSet() bool
- func (v NullableServerMemberBan) MarshalJSON() ([]byte, error)
- func (v *NullableServerMemberBan) Set(val *ServerMemberBan)
- func (v *NullableServerMemberBan) UnmarshalJSON(src []byte) error
- func (v *NullableServerMemberBan) Unset()
- type NullableServerMemberBanCreateRequest
- func (v NullableServerMemberBanCreateRequest) Get() *ServerMemberBanCreateRequest
- func (v NullableServerMemberBanCreateRequest) IsSet() bool
- func (v NullableServerMemberBanCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableServerMemberBanCreateRequest) Set(val *ServerMemberBanCreateRequest)
- func (v *NullableServerMemberBanCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableServerMemberBanCreateRequest) Unset()
- type NullableServerMemberBanRead200Response
- func (v NullableServerMemberBanRead200Response) Get() *ServerMemberBanRead200Response
- func (v NullableServerMemberBanRead200Response) IsSet() bool
- func (v NullableServerMemberBanRead200Response) MarshalJSON() ([]byte, error)
- func (v *NullableServerMemberBanRead200Response) Set(val *ServerMemberBanRead200Response)
- func (v *NullableServerMemberBanRead200Response) UnmarshalJSON(src []byte) error
- func (v *NullableServerMemberBanRead200Response) Unset()
- type NullableServerMemberBanReadMany200Response
- func (v NullableServerMemberBanReadMany200Response) Get() *ServerMemberBanReadMany200Response
- func (v NullableServerMemberBanReadMany200Response) IsSet() bool
- func (v NullableServerMemberBanReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableServerMemberBanReadMany200Response) Set(val *ServerMemberBanReadMany200Response)
- func (v *NullableServerMemberBanReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableServerMemberBanReadMany200Response) Unset()
- type NullableServerMemberPermissions
- func (v NullableServerMemberPermissions) Get() *ServerMemberPermissions
- func (v NullableServerMemberPermissions) IsSet() bool
- func (v NullableServerMemberPermissions) MarshalJSON() ([]byte, error)
- func (v *NullableServerMemberPermissions) Set(val *ServerMemberPermissions)
- func (v *NullableServerMemberPermissions) UnmarshalJSON(src []byte) error
- func (v *NullableServerMemberPermissions) Unset()
- type NullableServerMemberPermissionsRead200Response
- func (v NullableServerMemberPermissionsRead200Response) Get() *ServerMemberPermissionsRead200Response
- func (v NullableServerMemberPermissionsRead200Response) IsSet() bool
- func (v NullableServerMemberPermissionsRead200Response) MarshalJSON() ([]byte, error)
- func (v *NullableServerMemberPermissionsRead200Response) Set(val *ServerMemberPermissionsRead200Response)
- func (v *NullableServerMemberPermissionsRead200Response) UnmarshalJSON(src []byte) error
- func (v *NullableServerMemberPermissionsRead200Response) Unset()
- type NullableServerMemberRead200Response
- func (v NullableServerMemberRead200Response) Get() *ServerMemberRead200Response
- func (v NullableServerMemberRead200Response) IsSet() bool
- func (v NullableServerMemberRead200Response) MarshalJSON() ([]byte, error)
- func (v *NullableServerMemberRead200Response) Set(val *ServerMemberRead200Response)
- func (v *NullableServerMemberRead200Response) UnmarshalJSON(src []byte) error
- func (v *NullableServerMemberRead200Response) Unset()
- type NullableServerMemberReadMany200Response
- func (v NullableServerMemberReadMany200Response) Get() *ServerMemberReadMany200Response
- func (v NullableServerMemberReadMany200Response) IsSet() bool
- func (v NullableServerMemberReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableServerMemberReadMany200Response) Set(val *ServerMemberReadMany200Response)
- func (v *NullableServerMemberReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableServerMemberReadMany200Response) Unset()
- type NullableServerMemberSummary
- func (v NullableServerMemberSummary) Get() *ServerMemberSummary
- func (v NullableServerMemberSummary) IsSet() bool
- func (v NullableServerMemberSummary) MarshalJSON() ([]byte, error)
- func (v *NullableServerMemberSummary) Set(val *ServerMemberSummary)
- func (v *NullableServerMemberSummary) UnmarshalJSON(src []byte) error
- func (v *NullableServerMemberSummary) Unset()
- type NullableServerRead200Response
- func (v NullableServerRead200Response) Get() *ServerRead200Response
- func (v NullableServerRead200Response) IsSet() bool
- func (v NullableServerRead200Response) MarshalJSON() ([]byte, error)
- func (v *NullableServerRead200Response) Set(val *ServerRead200Response)
- func (v *NullableServerRead200Response) UnmarshalJSON(src []byte) error
- func (v *NullableServerRead200Response) Unset()
- type NullableServerSubscriptionTier
- func (v NullableServerSubscriptionTier) Get() *ServerSubscriptionTier
- func (v NullableServerSubscriptionTier) IsSet() bool
- func (v NullableServerSubscriptionTier) MarshalJSON() ([]byte, error)
- func (v *NullableServerSubscriptionTier) Set(val *ServerSubscriptionTier)
- func (v *NullableServerSubscriptionTier) UnmarshalJSON(src []byte) error
- func (v *NullableServerSubscriptionTier) Unset()
- type NullableServerSubscriptionTierRead200Response
- func (v NullableServerSubscriptionTierRead200Response) Get() *ServerSubscriptionTierRead200Response
- func (v NullableServerSubscriptionTierRead200Response) IsSet() bool
- func (v NullableServerSubscriptionTierRead200Response) MarshalJSON() ([]byte, error)
- func (v *NullableServerSubscriptionTierRead200Response) Set(val *ServerSubscriptionTierRead200Response)
- func (v *NullableServerSubscriptionTierRead200Response) UnmarshalJSON(src []byte) error
- func (v *NullableServerSubscriptionTierRead200Response) Unset()
- type NullableServerSubscriptionTierReadMany200Response
- func (v NullableServerSubscriptionTierReadMany200Response) Get() *ServerSubscriptionTierReadMany200Response
- func (v NullableServerSubscriptionTierReadMany200Response) IsSet() bool
- func (v NullableServerSubscriptionTierReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableServerSubscriptionTierReadMany200Response) Set(val *ServerSubscriptionTierReadMany200Response)
- func (v *NullableServerSubscriptionTierReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableServerSubscriptionTierReadMany200Response) Unset()
- type NullableServerXpForUserCreateManyRequest
- func (v NullableServerXpForUserCreateManyRequest) Get() *ServerXpForUserCreateManyRequest
- func (v NullableServerXpForUserCreateManyRequest) IsSet() bool
- func (v NullableServerXpForUserCreateManyRequest) MarshalJSON() ([]byte, error)
- func (v *NullableServerXpForUserCreateManyRequest) Set(val *ServerXpForUserCreateManyRequest)
- func (v *NullableServerXpForUserCreateManyRequest) UnmarshalJSON(src []byte) error
- func (v *NullableServerXpForUserCreateManyRequest) Unset()
- type NullableServerXpForUserCreateRequest
- func (v NullableServerXpForUserCreateRequest) Get() *ServerXpForUserCreateRequest
- func (v NullableServerXpForUserCreateRequest) IsSet() bool
- func (v NullableServerXpForUserCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableServerXpForUserCreateRequest) Set(val *ServerXpForUserCreateRequest)
- func (v *NullableServerXpForUserCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableServerXpForUserCreateRequest) Unset()
- type NullableServerXpForUserUpdate200Response
- func (v NullableServerXpForUserUpdate200Response) Get() *ServerXpForUserUpdate200Response
- func (v NullableServerXpForUserUpdate200Response) IsSet() bool
- func (v NullableServerXpForUserUpdate200Response) MarshalJSON() ([]byte, error)
- func (v *NullableServerXpForUserUpdate200Response) Set(val *ServerXpForUserUpdate200Response)
- func (v *NullableServerXpForUserUpdate200Response) UnmarshalJSON(src []byte) error
- func (v *NullableServerXpForUserUpdate200Response) Unset()
- type NullableServerXpForUserUpdateMany200Response
- func (v NullableServerXpForUserUpdateMany200Response) Get() *ServerXpForUserUpdateMany200Response
- func (v NullableServerXpForUserUpdateMany200Response) IsSet() bool
- func (v NullableServerXpForUserUpdateMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableServerXpForUserUpdateMany200Response) Set(val *ServerXpForUserUpdateMany200Response)
- func (v *NullableServerXpForUserUpdateMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableServerXpForUserUpdateMany200Response) Unset()
- type NullableServerXpForUserUpdateManyRequest
- func (v NullableServerXpForUserUpdateManyRequest) Get() *ServerXpForUserUpdateManyRequest
- func (v NullableServerXpForUserUpdateManyRequest) IsSet() bool
- func (v NullableServerXpForUserUpdateManyRequest) MarshalJSON() ([]byte, error)
- func (v *NullableServerXpForUserUpdateManyRequest) Set(val *ServerXpForUserUpdateManyRequest)
- func (v *NullableServerXpForUserUpdateManyRequest) UnmarshalJSON(src []byte) error
- func (v *NullableServerXpForUserUpdateManyRequest) Unset()
- type NullableServerXpForUserUpdateRequest
- func (v NullableServerXpForUserUpdateRequest) Get() *ServerXpForUserUpdateRequest
- func (v NullableServerXpForUserUpdateRequest) IsSet() bool
- func (v NullableServerXpForUserUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableServerXpForUserUpdateRequest) Set(val *ServerXpForUserUpdateRequest)
- func (v *NullableServerXpForUserUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableServerXpForUserUpdateRequest) Unset()
- type NullableSocialLink
- type NullableString
- type NullableTime
- type NullableUrlSignature
- func (v NullableUrlSignature) Get() *UrlSignature
- func (v NullableUrlSignature) IsSet() bool
- func (v NullableUrlSignature) MarshalJSON() ([]byte, error)
- func (v *NullableUrlSignature) Set(val *UrlSignature)
- func (v *NullableUrlSignature) UnmarshalJSON(src []byte) error
- func (v *NullableUrlSignature) Unset()
- type NullableUrlSignatureCreateMany200Response
- func (v NullableUrlSignatureCreateMany200Response) Get() *UrlSignatureCreateMany200Response
- func (v NullableUrlSignatureCreateMany200Response) IsSet() bool
- func (v NullableUrlSignatureCreateMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableUrlSignatureCreateMany200Response) Set(val *UrlSignatureCreateMany200Response)
- func (v *NullableUrlSignatureCreateMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableUrlSignatureCreateMany200Response) Unset()
- type NullableUrlSignatureCreateManyRequest
- func (v NullableUrlSignatureCreateManyRequest) Get() *UrlSignatureCreateManyRequest
- func (v NullableUrlSignatureCreateManyRequest) IsSet() bool
- func (v NullableUrlSignatureCreateManyRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUrlSignatureCreateManyRequest) Set(val *UrlSignatureCreateManyRequest)
- func (v *NullableUrlSignatureCreateManyRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUrlSignatureCreateManyRequest) Unset()
- type NullableUser
- type NullableUserID
- type NullableUserID1
- type NullableUserRead200Response
- func (v NullableUserRead200Response) Get() *UserRead200Response
- func (v NullableUserRead200Response) IsSet() bool
- func (v NullableUserRead200Response) MarshalJSON() ([]byte, error)
- func (v *NullableUserRead200Response) Set(val *UserRead200Response)
- func (v *NullableUserRead200Response) UnmarshalJSON(src []byte) error
- func (v *NullableUserRead200Response) Unset()
- type NullableUserServerReadMany200Response
- func (v NullableUserServerReadMany200Response) Get() *UserServerReadMany200Response
- func (v NullableUserServerReadMany200Response) IsSet() bool
- func (v NullableUserServerReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableUserServerReadMany200Response) Set(val *UserServerReadMany200Response)
- func (v *NullableUserServerReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableUserServerReadMany200Response) Unset()
- type NullableUserStatus
- type NullableUserStatusCreateRequest
- func (v NullableUserStatusCreateRequest) Get() *UserStatusCreateRequest
- func (v NullableUserStatusCreateRequest) IsSet() bool
- func (v NullableUserStatusCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUserStatusCreateRequest) Set(val *UserStatusCreateRequest)
- func (v *NullableUserStatusCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUserStatusCreateRequest) Unset()
- type NullableUserSummary
- func (v NullableUserSummary) Get() *UserSummary
- func (v NullableUserSummary) IsSet() bool
- func (v NullableUserSummary) MarshalJSON() ([]byte, error)
- func (v *NullableUserSummary) Set(val *UserSummary)
- func (v *NullableUserSummary) UnmarshalJSON(src []byte) error
- func (v *NullableUserSummary) Unset()
- type NullableWebhook
- type NullableWebhookCreate201Response
- func (v NullableWebhookCreate201Response) Get() *WebhookCreate201Response
- func (v NullableWebhookCreate201Response) IsSet() bool
- func (v NullableWebhookCreate201Response) MarshalJSON() ([]byte, error)
- func (v *NullableWebhookCreate201Response) Set(val *WebhookCreate201Response)
- func (v *NullableWebhookCreate201Response) UnmarshalJSON(src []byte) error
- func (v *NullableWebhookCreate201Response) Unset()
- type NullableWebhookCreateRequest
- func (v NullableWebhookCreateRequest) Get() *WebhookCreateRequest
- func (v NullableWebhookCreateRequest) IsSet() bool
- func (v NullableWebhookCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableWebhookCreateRequest) Set(val *WebhookCreateRequest)
- func (v *NullableWebhookCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableWebhookCreateRequest) Unset()
- type NullableWebhookReadMany200Response
- func (v NullableWebhookReadMany200Response) Get() *WebhookReadMany200Response
- func (v NullableWebhookReadMany200Response) IsSet() bool
- func (v NullableWebhookReadMany200Response) MarshalJSON() ([]byte, error)
- func (v *NullableWebhookReadMany200Response) Set(val *WebhookReadMany200Response)
- func (v *NullableWebhookReadMany200Response) UnmarshalJSON(src []byte) error
- func (v *NullableWebhookReadMany200Response) Unset()
- type NullableWebhookUpdateRequest
- func (v NullableWebhookUpdateRequest) Get() *WebhookUpdateRequest
- func (v NullableWebhookUpdateRequest) IsSet() bool
- func (v NullableWebhookUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableWebhookUpdateRequest) Set(val *WebhookUpdateRequest)
- func (v *NullableWebhookUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableWebhookUpdateRequest) Unset()
- type PermissionOverrideAPI
- type PermissionOverrideAPIChannelCategoryRolePermissionCreateRequest
- func (r PermissionOverrideAPIChannelCategoryRolePermissionCreateRequest) ChannelRolePermissionCreateRequest(channelRolePermissionCreateRequest ChannelRolePermissionCreateRequest) PermissionOverrideAPIChannelCategoryRolePermissionCreateRequest
- func (r PermissionOverrideAPIChannelCategoryRolePermissionCreateRequest) Execute() (*ChannelCategoryRolePermissionRead200Response, *http.Response, error)
- type PermissionOverrideAPIChannelCategoryRolePermissionDeleteRequest
- type PermissionOverrideAPIChannelCategoryRolePermissionReadManyRequest
- type PermissionOverrideAPIChannelCategoryRolePermissionReadRequest
- type PermissionOverrideAPIChannelCategoryRolePermissionUpdateRequest
- func (r PermissionOverrideAPIChannelCategoryRolePermissionUpdateRequest) ChannelRolePermissionCreateRequest(channelRolePermissionCreateRequest ChannelRolePermissionCreateRequest) PermissionOverrideAPIChannelCategoryRolePermissionUpdateRequest
- func (r PermissionOverrideAPIChannelCategoryRolePermissionUpdateRequest) Execute() (*ChannelCategoryRolePermissionRead200Response, *http.Response, error)
- type PermissionOverrideAPIChannelCategoryUserPermissionCreateRequest
- func (r PermissionOverrideAPIChannelCategoryUserPermissionCreateRequest) ChannelRolePermissionCreateRequest(channelRolePermissionCreateRequest ChannelRolePermissionCreateRequest) PermissionOverrideAPIChannelCategoryUserPermissionCreateRequest
- func (r PermissionOverrideAPIChannelCategoryUserPermissionCreateRequest) Execute() (*ChannelCategoryUserPermissionRead200Response, *http.Response, error)
- type PermissionOverrideAPIChannelCategoryUserPermissionDeleteRequest
- type PermissionOverrideAPIChannelCategoryUserPermissionReadManyRequest
- type PermissionOverrideAPIChannelCategoryUserPermissionReadRequest
- type PermissionOverrideAPIChannelCategoryUserPermissionUpdateRequest
- func (r PermissionOverrideAPIChannelCategoryUserPermissionUpdateRequest) ChannelRolePermissionCreateRequest(channelRolePermissionCreateRequest ChannelRolePermissionCreateRequest) PermissionOverrideAPIChannelCategoryUserPermissionUpdateRequest
- func (r PermissionOverrideAPIChannelCategoryUserPermissionUpdateRequest) Execute() (*ChannelCategoryUserPermissionRead200Response, *http.Response, error)
- type PermissionOverrideAPIChannelRolePermissionCreateRequest
- func (r PermissionOverrideAPIChannelRolePermissionCreateRequest) ChannelRolePermissionCreateRequest(channelRolePermissionCreateRequest ChannelRolePermissionCreateRequest) PermissionOverrideAPIChannelRolePermissionCreateRequest
- func (r PermissionOverrideAPIChannelRolePermissionCreateRequest) Execute() (*ChannelRolePermissionRead200Response, *http.Response, error)
- type PermissionOverrideAPIChannelRolePermissionDeleteRequest
- type PermissionOverrideAPIChannelRolePermissionReadManyRequest
- type PermissionOverrideAPIChannelRolePermissionReadRequest
- type PermissionOverrideAPIChannelRolePermissionUpdateRequest
- func (r PermissionOverrideAPIChannelRolePermissionUpdateRequest) ChannelRolePermissionCreateRequest(channelRolePermissionCreateRequest ChannelRolePermissionCreateRequest) PermissionOverrideAPIChannelRolePermissionUpdateRequest
- func (r PermissionOverrideAPIChannelRolePermissionUpdateRequest) Execute() (*ChannelRolePermissionRead200Response, *http.Response, error)
- type PermissionOverrideAPIChannelUserPermissionCreateRequest
- func (r PermissionOverrideAPIChannelUserPermissionCreateRequest) ChannelRolePermissionCreateRequest(channelRolePermissionCreateRequest ChannelRolePermissionCreateRequest) PermissionOverrideAPIChannelUserPermissionCreateRequest
- func (r PermissionOverrideAPIChannelUserPermissionCreateRequest) Execute() (*ChannelUserPermissionRead200Response, *http.Response, error)
- type PermissionOverrideAPIChannelUserPermissionDeleteRequest
- type PermissionOverrideAPIChannelUserPermissionReadManyRequest
- type PermissionOverrideAPIChannelUserPermissionReadRequest
- type PermissionOverrideAPIChannelUserPermissionUpdateRequest
- func (r PermissionOverrideAPIChannelUserPermissionUpdateRequest) ChannelRolePermissionCreateRequest(channelRolePermissionCreateRequest ChannelRolePermissionCreateRequest) PermissionOverrideAPIChannelUserPermissionUpdateRequest
- func (r PermissionOverrideAPIChannelUserPermissionUpdateRequest) Execute() (*ChannelUserPermissionRead200Response, *http.Response, error)
- type PermissionOverrideAPIService
- func (a *PermissionOverrideAPIService) ChannelCategoryRolePermissionCreate(ctx context.Context, serverId string, categoryId int32, roleId int32) PermissionOverrideAPIChannelCategoryRolePermissionCreateRequest
- func (a *PermissionOverrideAPIService) ChannelCategoryRolePermissionCreateExecute(r PermissionOverrideAPIChannelCategoryRolePermissionCreateRequest) (*ChannelCategoryRolePermissionRead200Response, *http.Response, error)
- func (a *PermissionOverrideAPIService) ChannelCategoryRolePermissionDelete(ctx context.Context, serverId string, categoryId int32, roleId int32) PermissionOverrideAPIChannelCategoryRolePermissionDeleteRequest
- func (a *PermissionOverrideAPIService) ChannelCategoryRolePermissionDeleteExecute(r PermissionOverrideAPIChannelCategoryRolePermissionDeleteRequest) (*http.Response, error)
- func (a *PermissionOverrideAPIService) ChannelCategoryRolePermissionRead(ctx context.Context, serverId string, categoryId int32, roleId int32) PermissionOverrideAPIChannelCategoryRolePermissionReadRequest
- func (a *PermissionOverrideAPIService) ChannelCategoryRolePermissionReadExecute(r PermissionOverrideAPIChannelCategoryRolePermissionReadRequest) (*ChannelCategoryRolePermissionRead200Response, *http.Response, error)
- func (a *PermissionOverrideAPIService) ChannelCategoryRolePermissionReadMany(ctx context.Context, serverId string, categoryId int32) PermissionOverrideAPIChannelCategoryRolePermissionReadManyRequest
- func (a *PermissionOverrideAPIService) ChannelCategoryRolePermissionReadManyExecute(r PermissionOverrideAPIChannelCategoryRolePermissionReadManyRequest) (*ChannelCategoryRolePermissionReadMany200Response, *http.Response, error)
- func (a *PermissionOverrideAPIService) ChannelCategoryRolePermissionUpdate(ctx context.Context, serverId string, categoryId int32, roleId int32) PermissionOverrideAPIChannelCategoryRolePermissionUpdateRequest
- func (a *PermissionOverrideAPIService) ChannelCategoryRolePermissionUpdateExecute(r PermissionOverrideAPIChannelCategoryRolePermissionUpdateRequest) (*ChannelCategoryRolePermissionRead200Response, *http.Response, error)
- func (a *PermissionOverrideAPIService) ChannelCategoryUserPermissionCreate(ctx context.Context, serverId string, categoryId int32, userId UserID) PermissionOverrideAPIChannelCategoryUserPermissionCreateRequest
- func (a *PermissionOverrideAPIService) ChannelCategoryUserPermissionCreateExecute(r PermissionOverrideAPIChannelCategoryUserPermissionCreateRequest) (*ChannelCategoryUserPermissionRead200Response, *http.Response, error)
- func (a *PermissionOverrideAPIService) ChannelCategoryUserPermissionDelete(ctx context.Context, serverId string, categoryId int32, userId UserID) PermissionOverrideAPIChannelCategoryUserPermissionDeleteRequest
- func (a *PermissionOverrideAPIService) ChannelCategoryUserPermissionDeleteExecute(r PermissionOverrideAPIChannelCategoryUserPermissionDeleteRequest) (*http.Response, error)
- func (a *PermissionOverrideAPIService) ChannelCategoryUserPermissionRead(ctx context.Context, serverId string, categoryId int32, userId UserID) PermissionOverrideAPIChannelCategoryUserPermissionReadRequest
- func (a *PermissionOverrideAPIService) ChannelCategoryUserPermissionReadExecute(r PermissionOverrideAPIChannelCategoryUserPermissionReadRequest) (*ChannelCategoryUserPermissionRead200Response, *http.Response, error)
- func (a *PermissionOverrideAPIService) ChannelCategoryUserPermissionReadMany(ctx context.Context, serverId string, categoryId int32) PermissionOverrideAPIChannelCategoryUserPermissionReadManyRequest
- func (a *PermissionOverrideAPIService) ChannelCategoryUserPermissionReadManyExecute(r PermissionOverrideAPIChannelCategoryUserPermissionReadManyRequest) (*ChannelCategoryUserPermissionReadMany200Response, *http.Response, error)
- func (a *PermissionOverrideAPIService) ChannelCategoryUserPermissionUpdate(ctx context.Context, serverId string, categoryId int32, userId UserID) PermissionOverrideAPIChannelCategoryUserPermissionUpdateRequest
- func (a *PermissionOverrideAPIService) ChannelCategoryUserPermissionUpdateExecute(r PermissionOverrideAPIChannelCategoryUserPermissionUpdateRequest) (*ChannelCategoryUserPermissionRead200Response, *http.Response, error)
- func (a *PermissionOverrideAPIService) ChannelRolePermissionCreate(ctx context.Context, serverId string, channelId string, roleId int32) PermissionOverrideAPIChannelRolePermissionCreateRequest
- func (a *PermissionOverrideAPIService) ChannelRolePermissionCreateExecute(r PermissionOverrideAPIChannelRolePermissionCreateRequest) (*ChannelRolePermissionRead200Response, *http.Response, error)
- func (a *PermissionOverrideAPIService) ChannelRolePermissionDelete(ctx context.Context, serverId string, channelId string, roleId int32) PermissionOverrideAPIChannelRolePermissionDeleteRequest
- func (a *PermissionOverrideAPIService) ChannelRolePermissionDeleteExecute(r PermissionOverrideAPIChannelRolePermissionDeleteRequest) (*http.Response, error)
- func (a *PermissionOverrideAPIService) ChannelRolePermissionRead(ctx context.Context, serverId string, channelId string, roleId int32) PermissionOverrideAPIChannelRolePermissionReadRequest
- func (a *PermissionOverrideAPIService) ChannelRolePermissionReadExecute(r PermissionOverrideAPIChannelRolePermissionReadRequest) (*ChannelRolePermissionRead200Response, *http.Response, error)
- func (a *PermissionOverrideAPIService) ChannelRolePermissionReadMany(ctx context.Context, serverId string, channelId string) PermissionOverrideAPIChannelRolePermissionReadManyRequest
- func (a *PermissionOverrideAPIService) ChannelRolePermissionReadManyExecute(r PermissionOverrideAPIChannelRolePermissionReadManyRequest) (*ChannelRolePermissionReadMany200Response, *http.Response, error)
- func (a *PermissionOverrideAPIService) ChannelRolePermissionUpdate(ctx context.Context, serverId string, channelId string, roleId int32) PermissionOverrideAPIChannelRolePermissionUpdateRequest
- func (a *PermissionOverrideAPIService) ChannelRolePermissionUpdateExecute(r PermissionOverrideAPIChannelRolePermissionUpdateRequest) (*ChannelRolePermissionRead200Response, *http.Response, error)
- func (a *PermissionOverrideAPIService) ChannelUserPermissionCreate(ctx context.Context, serverId string, channelId string, userId UserID) PermissionOverrideAPIChannelUserPermissionCreateRequest
- func (a *PermissionOverrideAPIService) ChannelUserPermissionCreateExecute(r PermissionOverrideAPIChannelUserPermissionCreateRequest) (*ChannelUserPermissionRead200Response, *http.Response, error)
- func (a *PermissionOverrideAPIService) ChannelUserPermissionDelete(ctx context.Context, serverId string, channelId string, userId UserID) PermissionOverrideAPIChannelUserPermissionDeleteRequest
- func (a *PermissionOverrideAPIService) ChannelUserPermissionDeleteExecute(r PermissionOverrideAPIChannelUserPermissionDeleteRequest) (*http.Response, error)
- func (a *PermissionOverrideAPIService) ChannelUserPermissionRead(ctx context.Context, serverId string, channelId string, userId UserID) PermissionOverrideAPIChannelUserPermissionReadRequest
- func (a *PermissionOverrideAPIService) ChannelUserPermissionReadExecute(r PermissionOverrideAPIChannelUserPermissionReadRequest) (*ChannelUserPermissionRead200Response, *http.Response, error)
- func (a *PermissionOverrideAPIService) ChannelUserPermissionReadMany(ctx context.Context, serverId string, channelId string) PermissionOverrideAPIChannelUserPermissionReadManyRequest
- func (a *PermissionOverrideAPIService) ChannelUserPermissionReadManyExecute(r PermissionOverrideAPIChannelUserPermissionReadManyRequest) (*ChannelUserPermissionReadMany200Response, *http.Response, error)
- func (a *PermissionOverrideAPIService) ChannelUserPermissionUpdate(ctx context.Context, serverId string, channelId string, userId UserID) PermissionOverrideAPIChannelUserPermissionUpdateRequest
- func (a *PermissionOverrideAPIService) ChannelUserPermissionUpdateExecute(r PermissionOverrideAPIChannelUserPermissionUpdateRequest) (*ChannelUserPermissionRead200Response, *http.Response, error)
- type ReactionsAPI
- type ReactionsAPIAnnouncementCommentReactionCreateRequest
- type ReactionsAPIAnnouncementCommentReactionDeleteRequest
- type ReactionsAPIAnnouncementReactionCreateRequest
- type ReactionsAPIAnnouncementReactionDeleteRequest
- type ReactionsAPICalendarEventCommentReactionCreateRequest
- type ReactionsAPICalendarEventCommentReactionDeleteRequest
- type ReactionsAPICalendarEventReactionCreateRequest
- type ReactionsAPICalendarEventReactionDeleteRequest
- type ReactionsAPIChannelMessageReactionCreateRequest
- type ReactionsAPIChannelMessageReactionDeleteManyRequest
- type ReactionsAPIChannelMessageReactionDeleteRequest
- type ReactionsAPIDocCommentReactionCreateRequest
- type ReactionsAPIDocCommentReactionDeleteRequest
- type ReactionsAPIDocReactionCreateRequest
- type ReactionsAPIDocReactionDeleteRequest
- type ReactionsAPIForumTopicCommentReactionCreateRequest
- type ReactionsAPIForumTopicCommentReactionDeleteRequest
- type ReactionsAPIForumTopicReactionCreateRequest
- type ReactionsAPIForumTopicReactionDeleteRequest
- type ReactionsAPIService
- func (a *ReactionsAPIService) AnnouncementCommentReactionCreate(ctx context.Context, channelId string, announcementId string, ...) ReactionsAPIAnnouncementCommentReactionCreateRequest
- func (a *ReactionsAPIService) AnnouncementCommentReactionCreateExecute(r ReactionsAPIAnnouncementCommentReactionCreateRequest) (*http.Response, error)
- func (a *ReactionsAPIService) AnnouncementCommentReactionDelete(ctx context.Context, channelId string, announcementId string, ...) ReactionsAPIAnnouncementCommentReactionDeleteRequest
- func (a *ReactionsAPIService) AnnouncementCommentReactionDeleteExecute(r ReactionsAPIAnnouncementCommentReactionDeleteRequest) (*http.Response, error)
- func (a *ReactionsAPIService) AnnouncementReactionCreate(ctx context.Context, channelId string, announcementId string, emoteId int32) ReactionsAPIAnnouncementReactionCreateRequest
- func (a *ReactionsAPIService) AnnouncementReactionCreateExecute(r ReactionsAPIAnnouncementReactionCreateRequest) (*http.Response, error)
- func (a *ReactionsAPIService) AnnouncementReactionDelete(ctx context.Context, channelId string, announcementId string, emoteId int32) ReactionsAPIAnnouncementReactionDeleteRequest
- func (a *ReactionsAPIService) AnnouncementReactionDeleteExecute(r ReactionsAPIAnnouncementReactionDeleteRequest) (*http.Response, error)
- func (a *ReactionsAPIService) CalendarEventCommentReactionCreate(ctx context.Context, channelId string, calendarEventId int32, ...) ReactionsAPICalendarEventCommentReactionCreateRequest
- func (a *ReactionsAPIService) CalendarEventCommentReactionCreateExecute(r ReactionsAPICalendarEventCommentReactionCreateRequest) (*http.Response, error)
- func (a *ReactionsAPIService) CalendarEventCommentReactionDelete(ctx context.Context, channelId string, calendarEventId int32, ...) ReactionsAPICalendarEventCommentReactionDeleteRequest
- func (a *ReactionsAPIService) CalendarEventCommentReactionDeleteExecute(r ReactionsAPICalendarEventCommentReactionDeleteRequest) (*http.Response, error)
- func (a *ReactionsAPIService) CalendarEventReactionCreate(ctx context.Context, channelId string, calendarEventId int32, emoteId int32) ReactionsAPICalendarEventReactionCreateRequest
- func (a *ReactionsAPIService) CalendarEventReactionCreateExecute(r ReactionsAPICalendarEventReactionCreateRequest) (*http.Response, error)
- func (a *ReactionsAPIService) CalendarEventReactionDelete(ctx context.Context, channelId string, calendarEventId int32, emoteId int32) ReactionsAPICalendarEventReactionDeleteRequest
- func (a *ReactionsAPIService) CalendarEventReactionDeleteExecute(r ReactionsAPICalendarEventReactionDeleteRequest) (*http.Response, error)
- func (a *ReactionsAPIService) ChannelMessageReactionCreate(ctx context.Context, channelId string, messageId string, emoteId int32) ReactionsAPIChannelMessageReactionCreateRequest
- func (a *ReactionsAPIService) ChannelMessageReactionCreateExecute(r ReactionsAPIChannelMessageReactionCreateRequest) (*http.Response, error)
- func (a *ReactionsAPIService) ChannelMessageReactionDelete(ctx context.Context, channelId string, messageId string, emoteId int32) ReactionsAPIChannelMessageReactionDeleteRequest
- func (a *ReactionsAPIService) ChannelMessageReactionDeleteExecute(r ReactionsAPIChannelMessageReactionDeleteRequest) (*http.Response, error)
- func (a *ReactionsAPIService) ChannelMessageReactionDeleteMany(ctx context.Context, channelId string, messageId string) ReactionsAPIChannelMessageReactionDeleteManyRequest
- func (a *ReactionsAPIService) ChannelMessageReactionDeleteManyExecute(r ReactionsAPIChannelMessageReactionDeleteManyRequest) (*http.Response, error)
- func (a *ReactionsAPIService) DocCommentReactionCreate(ctx context.Context, channelId string, docId int32, docCommentId int32, ...) ReactionsAPIDocCommentReactionCreateRequest
- func (a *ReactionsAPIService) DocCommentReactionCreateExecute(r ReactionsAPIDocCommentReactionCreateRequest) (*http.Response, error)
- func (a *ReactionsAPIService) DocCommentReactionDelete(ctx context.Context, channelId string, docId int32, docCommentId int32, ...) ReactionsAPIDocCommentReactionDeleteRequest
- func (a *ReactionsAPIService) DocCommentReactionDeleteExecute(r ReactionsAPIDocCommentReactionDeleteRequest) (*http.Response, error)
- func (a *ReactionsAPIService) DocReactionCreate(ctx context.Context, channelId string, docId int32, emoteId int32) ReactionsAPIDocReactionCreateRequest
- func (a *ReactionsAPIService) DocReactionCreateExecute(r ReactionsAPIDocReactionCreateRequest) (*http.Response, error)
- func (a *ReactionsAPIService) DocReactionDelete(ctx context.Context, channelId string, docId int32, emoteId int32) ReactionsAPIDocReactionDeleteRequest
- func (a *ReactionsAPIService) DocReactionDeleteExecute(r ReactionsAPIDocReactionDeleteRequest) (*http.Response, error)
- func (a *ReactionsAPIService) ForumTopicCommentReactionCreate(ctx context.Context, channelId string, forumTopicId int32, ...) ReactionsAPIForumTopicCommentReactionCreateRequest
- func (a *ReactionsAPIService) ForumTopicCommentReactionCreateExecute(r ReactionsAPIForumTopicCommentReactionCreateRequest) (*http.Response, error)
- func (a *ReactionsAPIService) ForumTopicCommentReactionDelete(ctx context.Context, channelId string, forumTopicId int32, ...) ReactionsAPIForumTopicCommentReactionDeleteRequest
- func (a *ReactionsAPIService) ForumTopicCommentReactionDeleteExecute(r ReactionsAPIForumTopicCommentReactionDeleteRequest) (*http.Response, error)
- func (a *ReactionsAPIService) ForumTopicReactionCreate(ctx context.Context, channelId string, forumTopicId int32, emoteId int32) ReactionsAPIForumTopicReactionCreateRequest
- func (a *ReactionsAPIService) ForumTopicReactionCreateExecute(r ReactionsAPIForumTopicReactionCreateRequest) (*http.Response, error)
- func (a *ReactionsAPIService) ForumTopicReactionDelete(ctx context.Context, channelId string, forumTopicId int32, emoteId int32) ReactionsAPIForumTopicReactionDeleteRequest
- func (a *ReactionsAPIService) ForumTopicReactionDeleteExecute(r ReactionsAPIForumTopicReactionDeleteRequest) (*http.Response, error)
- type Role
- func (o *Role) GetBotUserId() string
- func (o *Role) GetBotUserIdOk() (*string, bool)
- func (o *Role) GetColors() []int32
- func (o *Role) GetColorsOk() ([]int32, bool)
- func (o *Role) GetCreatedAt() time.Time
- func (o *Role) GetCreatedAtOk() (*time.Time, bool)
- func (o *Role) GetIcon() string
- func (o *Role) GetIconOk() (*string, bool)
- func (o *Role) GetId() int32
- func (o *Role) GetIdOk() (*int32, bool)
- func (o *Role) GetIsBase() bool
- func (o *Role) GetIsBaseOk() (*bool, bool)
- func (o *Role) GetIsDisplayedSeparately() bool
- func (o *Role) GetIsDisplayedSeparatelyOk() (*bool, bool)
- func (o *Role) GetIsMentionable() bool
- func (o *Role) GetIsMentionableOk() (*bool, bool)
- func (o *Role) GetIsSelfAssignable() bool
- func (o *Role) GetIsSelfAssignableOk() (*bool, bool)
- func (o *Role) GetName() string
- func (o *Role) GetNameOk() (*string, bool)
- func (o *Role) GetPermissions() []string
- func (o *Role) GetPermissionsOk() ([]string, bool)
- func (o *Role) GetPriority() int32
- func (o *Role) GetPriorityOk() (*int32, bool)
- func (o *Role) GetServerId() string
- func (o *Role) GetServerIdOk() (*string, bool)
- func (o *Role) GetUpdatedAt() time.Time
- func (o *Role) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Role) HasBotUserId() bool
- func (o *Role) HasColors() bool
- func (o *Role) HasIcon() bool
- func (o *Role) HasIsBase() bool
- func (o *Role) HasIsDisplayedSeparately() bool
- func (o *Role) HasIsMentionable() bool
- func (o *Role) HasIsSelfAssignable() bool
- func (o *Role) HasPriority() bool
- func (o *Role) HasUpdatedAt() bool
- func (o Role) MarshalJSON() ([]byte, error)
- func (o *Role) SetBotUserId(v string)
- func (o *Role) SetColors(v []int32)
- func (o *Role) SetCreatedAt(v time.Time)
- func (o *Role) SetIcon(v string)
- func (o *Role) SetId(v int32)
- func (o *Role) SetIsBase(v bool)
- func (o *Role) SetIsDisplayedSeparately(v bool)
- func (o *Role) SetIsMentionable(v bool)
- func (o *Role) SetIsSelfAssignable(v bool)
- func (o *Role) SetName(v string)
- func (o *Role) SetPermissions(v []string)
- func (o *Role) SetPriority(v int32)
- func (o *Role) SetServerId(v string)
- func (o *Role) SetUpdatedAt(v time.Time)
- func (o Role) ToMap() (map[string]interface{}, error)
- func (o *Role) UnmarshalJSON(data []byte) (err error)
- type RoleCreate200Response
- func (o *RoleCreate200Response) GetRole() Role
- func (o *RoleCreate200Response) GetRoleOk() (*Role, bool)
- func (o RoleCreate200Response) MarshalJSON() ([]byte, error)
- func (o *RoleCreate200Response) SetRole(v Role)
- func (o RoleCreate200Response) ToMap() (map[string]interface{}, error)
- func (o *RoleCreate200Response) UnmarshalJSON(data []byte) (err error)
- type RoleCreateRequest
- func (o *RoleCreateRequest) GetColors() []int32
- func (o *RoleCreateRequest) GetColorsOk() ([]int32, bool)
- func (o *RoleCreateRequest) GetIsDisplayedSeparately() bool
- func (o *RoleCreateRequest) GetIsDisplayedSeparatelyOk() (*bool, bool)
- func (o *RoleCreateRequest) GetIsMentionable() bool
- func (o *RoleCreateRequest) GetIsMentionableOk() (*bool, bool)
- func (o *RoleCreateRequest) GetIsSelfAssignable() bool
- func (o *RoleCreateRequest) GetIsSelfAssignableOk() (*bool, bool)
- func (o *RoleCreateRequest) GetName() string
- func (o *RoleCreateRequest) GetNameOk() (*string, bool)
- func (o *RoleCreateRequest) GetPermissions() []string
- func (o *RoleCreateRequest) GetPermissionsOk() ([]string, bool)
- func (o *RoleCreateRequest) HasColors() bool
- func (o *RoleCreateRequest) HasIsDisplayedSeparately() bool
- func (o *RoleCreateRequest) HasIsMentionable() bool
- func (o *RoleCreateRequest) HasIsSelfAssignable() bool
- func (o RoleCreateRequest) MarshalJSON() ([]byte, error)
- func (o *RoleCreateRequest) SetColors(v []int32)
- func (o *RoleCreateRequest) SetIsDisplayedSeparately(v bool)
- func (o *RoleCreateRequest) SetIsMentionable(v bool)
- func (o *RoleCreateRequest) SetIsSelfAssignable(v bool)
- func (o *RoleCreateRequest) SetName(v string)
- func (o *RoleCreateRequest) SetPermissions(v []string)
- func (o RoleCreateRequest) ToMap() (map[string]interface{}, error)
- func (o *RoleCreateRequest) UnmarshalJSON(data []byte) (err error)
- type RoleMembershipAPI
- type RoleMembershipAPIRoleMembershipCreateRequest
- type RoleMembershipAPIRoleMembershipDeleteRequest
- type RoleMembershipAPIRoleMembershipReadManyRequest
- type RoleMembershipAPIService
- func (a *RoleMembershipAPIService) RoleMembershipCreate(ctx context.Context, serverId string, userId UserID, roleId int32) RoleMembershipAPIRoleMembershipCreateRequest
- func (a *RoleMembershipAPIService) RoleMembershipCreateExecute(r RoleMembershipAPIRoleMembershipCreateRequest) (*http.Response, error)
- func (a *RoleMembershipAPIService) RoleMembershipDelete(ctx context.Context, serverId string, userId UserID, roleId int32) RoleMembershipAPIRoleMembershipDeleteRequest
- func (a *RoleMembershipAPIService) RoleMembershipDeleteExecute(r RoleMembershipAPIRoleMembershipDeleteRequest) (*http.Response, error)
- func (a *RoleMembershipAPIService) RoleMembershipReadMany(ctx context.Context, serverId string, userId UserID) RoleMembershipAPIRoleMembershipReadManyRequest
- func (a *RoleMembershipAPIService) RoleMembershipReadManyExecute(r RoleMembershipAPIRoleMembershipReadManyRequest) (*RoleMembershipReadMany200Response, *http.Response, error)
- type RoleMembershipReadMany200Response
- func (o *RoleMembershipReadMany200Response) GetRoleIds() []int32
- func (o *RoleMembershipReadMany200Response) GetRoleIdsOk() ([]int32, bool)
- func (o RoleMembershipReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *RoleMembershipReadMany200Response) SetRoleIds(v []int32)
- func (o RoleMembershipReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *RoleMembershipReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type RolePermissionUpdateRequest
- func (o *RolePermissionUpdateRequest) GetPermissions() map[string]interface{}
- func (o *RolePermissionUpdateRequest) GetPermissionsOk() (map[string]interface{}, bool)
- func (o RolePermissionUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *RolePermissionUpdateRequest) SetPermissions(v map[string]interface{})
- func (o RolePermissionUpdateRequest) ToMap() (map[string]interface{}, error)
- func (o *RolePermissionUpdateRequest) UnmarshalJSON(data []byte) (err error)
- type RoleReadMany200Response
- func (o *RoleReadMany200Response) GetRoles() []Role
- func (o *RoleReadMany200Response) GetRolesOk() ([]Role, bool)
- func (o RoleReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *RoleReadMany200Response) SetRoles(v []Role)
- func (o RoleReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *RoleReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type RoleUpdateRequest
- func (o *RoleUpdateRequest) GetColors() []int32
- func (o *RoleUpdateRequest) GetColorsOk() ([]int32, bool)
- func (o *RoleUpdateRequest) GetIsDisplayedSeparately() bool
- func (o *RoleUpdateRequest) GetIsDisplayedSeparatelyOk() (*bool, bool)
- func (o *RoleUpdateRequest) GetIsMentionable() bool
- func (o *RoleUpdateRequest) GetIsMentionableOk() (*bool, bool)
- func (o *RoleUpdateRequest) GetIsSelfAssignable() bool
- func (o *RoleUpdateRequest) GetIsSelfAssignableOk() (*bool, bool)
- func (o *RoleUpdateRequest) GetName() string
- func (o *RoleUpdateRequest) GetNameOk() (*string, bool)
- func (o *RoleUpdateRequest) GetPermissions() []string
- func (o *RoleUpdateRequest) GetPermissionsOk() ([]string, bool)
- func (o *RoleUpdateRequest) GetPriority() int32
- func (o *RoleUpdateRequest) GetPriorityOk() (*int32, bool)
- func (o *RoleUpdateRequest) HasColors() bool
- func (o *RoleUpdateRequest) HasIsDisplayedSeparately() bool
- func (o *RoleUpdateRequest) HasIsMentionable() bool
- func (o *RoleUpdateRequest) HasIsSelfAssignable() bool
- func (o *RoleUpdateRequest) HasName() bool
- func (o *RoleUpdateRequest) HasPermissions() bool
- func (o *RoleUpdateRequest) HasPriority() bool
- func (o RoleUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *RoleUpdateRequest) SetColors(v []int32)
- func (o *RoleUpdateRequest) SetIsDisplayedSeparately(v bool)
- func (o *RoleUpdateRequest) SetIsMentionable(v bool)
- func (o *RoleUpdateRequest) SetIsSelfAssignable(v bool)
- func (o *RoleUpdateRequest) SetName(v string)
- func (o *RoleUpdateRequest) SetPermissions(v []string)
- func (o *RoleUpdateRequest) SetPriority(v int32)
- func (o RoleUpdateRequest) ToMap() (map[string]interface{}, error)
- type RolesAPI
- type RolesAPIRoleCreateRequest
- type RolesAPIRoleDeleteRequest
- type RolesAPIRolePermissionUpdateRequest
- type RolesAPIRoleReadManyRequest
- type RolesAPIRoleReadRequest
- type RolesAPIRoleUpdateRequest
- type RolesAPIServerMemberPermissionsReadRequest
- func (r RolesAPIServerMemberPermissionsReadRequest) CategoryId(categoryId int32) RolesAPIServerMemberPermissionsReadRequest
- func (r RolesAPIServerMemberPermissionsReadRequest) ChannelId(channelId string) RolesAPIServerMemberPermissionsReadRequest
- func (r RolesAPIServerMemberPermissionsReadRequest) Execute() (*ServerMemberPermissionsRead200Response, *http.Response, error)
- func (r RolesAPIServerMemberPermissionsReadRequest) Ids(ids []string) RolesAPIServerMemberPermissionsReadRequest
- type RolesAPIService
- func (a *RolesAPIService) RoleCreate(ctx context.Context, serverId string) RolesAPIRoleCreateRequest
- func (a *RolesAPIService) RoleCreateExecute(r RolesAPIRoleCreateRequest) (*RoleCreate200Response, *http.Response, error)
- func (a *RolesAPIService) RoleDelete(ctx context.Context, serverId string, roleId int32) RolesAPIRoleDeleteRequest
- func (a *RolesAPIService) RoleDeleteExecute(r RolesAPIRoleDeleteRequest) (*RoleCreate200Response, *http.Response, error)
- func (a *RolesAPIService) RolePermissionUpdate(ctx context.Context, serverId string, roleId int32) RolesAPIRolePermissionUpdateRequest
- func (a *RolesAPIService) RolePermissionUpdateExecute(r RolesAPIRolePermissionUpdateRequest) (*RoleCreate200Response, *http.Response, error)
- func (a *RolesAPIService) RoleRead(ctx context.Context, serverId string, roleId int32) RolesAPIRoleReadRequest
- func (a *RolesAPIService) RoleReadExecute(r RolesAPIRoleReadRequest) (*RoleCreate200Response, *http.Response, error)
- func (a *RolesAPIService) RoleReadMany(ctx context.Context, serverId string) RolesAPIRoleReadManyRequest
- func (a *RolesAPIService) RoleReadManyExecute(r RolesAPIRoleReadManyRequest) (*RoleReadMany200Response, *http.Response, error)
- func (a *RolesAPIService) RoleUpdate(ctx context.Context, serverId string, roleId int32) RolesAPIRoleUpdateRequest
- func (a *RolesAPIService) RoleUpdateExecute(r RolesAPIRoleUpdateRequest) (*RoleCreate200Response, *http.Response, error)
- func (a *RolesAPIService) ServerMemberPermissionsRead(ctx context.Context, serverId string, userId UserID) RolesAPIServerMemberPermissionsReadRequest
- func (a *RolesAPIService) ServerMemberPermissionsReadExecute(r RolesAPIServerMemberPermissionsReadRequest) (*ServerMemberPermissionsRead200Response, *http.Response, error)
- type Server
- func (o *Server) GetAbout() string
- func (o *Server) GetAboutOk() (*string, bool)
- func (o *Server) GetAvatar() string
- func (o *Server) GetAvatarOk() (*string, bool)
- func (o *Server) GetBanner() string
- func (o *Server) GetBannerOk() (*string, bool)
- func (o *Server) GetCreatedAt() time.Time
- func (o *Server) GetCreatedAtOk() (*time.Time, bool)
- func (o *Server) GetDefaultChannelId() string
- func (o *Server) GetDefaultChannelIdOk() (*string, bool)
- func (o *Server) GetId() string
- func (o *Server) GetIdOk() (*string, bool)
- func (o *Server) GetIsVerified() bool
- func (o *Server) GetIsVerifiedOk() (*bool, bool)
- func (o *Server) GetName() string
- func (o *Server) GetNameOk() (*string, bool)
- func (o *Server) GetOwnerId() string
- func (o *Server) GetOwnerIdOk() (*string, bool)
- func (o *Server) GetTimezone() string
- func (o *Server) GetTimezoneOk() (*string, bool)
- func (o *Server) GetType() string
- func (o *Server) GetTypeOk() (*string, bool)
- func (o *Server) GetUrl() string
- func (o *Server) GetUrlOk() (*string, bool)
- func (o *Server) HasAbout() bool
- func (o *Server) HasAvatar() bool
- func (o *Server) HasBanner() bool
- func (o *Server) HasDefaultChannelId() bool
- func (o *Server) HasIsVerified() bool
- func (o *Server) HasTimezone() bool
- func (o *Server) HasType() bool
- func (o *Server) HasUrl() bool
- func (o Server) MarshalJSON() ([]byte, error)
- func (o *Server) SetAbout(v string)
- func (o *Server) SetAvatar(v string)
- func (o *Server) SetBanner(v string)
- func (o *Server) SetCreatedAt(v time.Time)
- func (o *Server) SetDefaultChannelId(v string)
- func (o *Server) SetId(v string)
- func (o *Server) SetIsVerified(v bool)
- func (o *Server) SetName(v string)
- func (o *Server) SetOwnerId(v string)
- func (o *Server) SetTimezone(v string)
- func (o *Server) SetType(v string)
- func (o *Server) SetUrl(v string)
- func (o Server) ToMap() (map[string]interface{}, error)
- func (o *Server) UnmarshalJSON(data []byte) (err error)
- type ServerChannel
- func (o *ServerChannel) GetArchivedAt() time.Time
- func (o *ServerChannel) GetArchivedAtOk() (*time.Time, bool)
- func (o *ServerChannel) GetArchivedBy() string
- func (o *ServerChannel) GetArchivedByOk() (*string, bool)
- func (o *ServerChannel) GetCategoryId() int32
- func (o *ServerChannel) GetCategoryIdOk() (*int32, bool)
- func (o *ServerChannel) GetCreatedAt() time.Time
- func (o *ServerChannel) GetCreatedAtOk() (*time.Time, bool)
- func (o *ServerChannel) GetCreatedBy() string
- func (o *ServerChannel) GetCreatedByOk() (*string, bool)
- func (o *ServerChannel) GetGroupId() string
- func (o *ServerChannel) GetGroupIdOk() (*string, bool)
- func (o *ServerChannel) GetId() string
- func (o *ServerChannel) GetIdOk() (*string, bool)
- func (o *ServerChannel) GetMessageId() string
- func (o *ServerChannel) GetMessageIdOk() (*string, bool)
- func (o *ServerChannel) GetName() string
- func (o *ServerChannel) GetNameOk() (*string, bool)
- func (o *ServerChannel) GetParentId() string
- func (o *ServerChannel) GetParentIdOk() (*string, bool)
- func (o *ServerChannel) GetPriority() int32
- func (o *ServerChannel) GetPriorityOk() (*int32, bool)
- func (o *ServerChannel) GetRootId() string
- func (o *ServerChannel) GetRootIdOk() (*string, bool)
- func (o *ServerChannel) GetServerId() string
- func (o *ServerChannel) GetServerIdOk() (*string, bool)
- func (o *ServerChannel) GetTopic() string
- func (o *ServerChannel) GetTopicOk() (*string, bool)
- func (o *ServerChannel) GetType() string
- func (o *ServerChannel) GetTypeOk() (*string, bool)
- func (o *ServerChannel) GetUpdatedAt() time.Time
- func (o *ServerChannel) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ServerChannel) GetVisibility() string
- func (o *ServerChannel) GetVisibilityOk() (*string, bool)
- func (o *ServerChannel) HasArchivedAt() bool
- func (o *ServerChannel) HasArchivedBy() bool
- func (o *ServerChannel) HasCategoryId() bool
- func (o *ServerChannel) HasMessageId() bool
- func (o *ServerChannel) HasParentId() bool
- func (o *ServerChannel) HasPriority() bool
- func (o *ServerChannel) HasRootId() bool
- func (o *ServerChannel) HasTopic() bool
- func (o *ServerChannel) HasUpdatedAt() bool
- func (o *ServerChannel) HasVisibility() bool
- func (o ServerChannel) MarshalJSON() ([]byte, error)
- func (o *ServerChannel) SetArchivedAt(v time.Time)
- func (o *ServerChannel) SetArchivedBy(v string)
- func (o *ServerChannel) SetCategoryId(v int32)
- func (o *ServerChannel) SetCreatedAt(v time.Time)
- func (o *ServerChannel) SetCreatedBy(v string)
- func (o *ServerChannel) SetGroupId(v string)
- func (o *ServerChannel) SetId(v string)
- func (o *ServerChannel) SetMessageId(v string)
- func (o *ServerChannel) SetName(v string)
- func (o *ServerChannel) SetParentId(v string)
- func (o *ServerChannel) SetPriority(v int32)
- func (o *ServerChannel) SetRootId(v string)
- func (o *ServerChannel) SetServerId(v string)
- func (o *ServerChannel) SetTopic(v string)
- func (o *ServerChannel) SetType(v string)
- func (o *ServerChannel) SetUpdatedAt(v time.Time)
- func (o *ServerChannel) SetVisibility(v string)
- func (o *ServerChannel) SetVisibilityNil()
- func (o ServerChannel) ToMap() (map[string]interface{}, error)
- func (o *ServerChannel) UnmarshalJSON(data []byte) (err error)
- func (o *ServerChannel) UnsetVisibility()
- type ServerConfiguration
- type ServerConfigurations
- type ServerMember
- func (o *ServerMember) GetIsOwner() bool
- func (o *ServerMember) GetIsOwnerOk() (*bool, bool)
- func (o *ServerMember) GetJoinedAt() time.Time
- func (o *ServerMember) GetJoinedAtOk() (*time.Time, bool)
- func (o *ServerMember) GetNickname() string
- func (o *ServerMember) GetNicknameOk() (*string, bool)
- func (o *ServerMember) GetRoleIds() []int32
- func (o *ServerMember) GetRoleIdsOk() ([]int32, bool)
- func (o *ServerMember) GetUser() User
- func (o *ServerMember) GetUserOk() (*User, bool)
- func (o *ServerMember) HasIsOwner() bool
- func (o *ServerMember) HasNickname() bool
- func (o ServerMember) MarshalJSON() ([]byte, error)
- func (o *ServerMember) SetIsOwner(v bool)
- func (o *ServerMember) SetJoinedAt(v time.Time)
- func (o *ServerMember) SetNickname(v string)
- func (o *ServerMember) SetRoleIds(v []int32)
- func (o *ServerMember) SetUser(v User)
- func (o ServerMember) ToMap() (map[string]interface{}, error)
- func (o *ServerMember) UnmarshalJSON(data []byte) (err error)
- type ServerMemberBan
- func (o *ServerMemberBan) GetCreatedAt() time.Time
- func (o *ServerMemberBan) GetCreatedAtOk() (*time.Time, bool)
- func (o *ServerMemberBan) GetCreatedBy() string
- func (o *ServerMemberBan) GetCreatedByOk() (*string, bool)
- func (o *ServerMemberBan) GetReason() string
- func (o *ServerMemberBan) GetReasonOk() (*string, bool)
- func (o *ServerMemberBan) GetUser() UserSummary
- func (o *ServerMemberBan) GetUserOk() (*UserSummary, bool)
- func (o *ServerMemberBan) HasReason() bool
- func (o ServerMemberBan) MarshalJSON() ([]byte, error)
- func (o *ServerMemberBan) SetCreatedAt(v time.Time)
- func (o *ServerMemberBan) SetCreatedBy(v string)
- func (o *ServerMemberBan) SetReason(v string)
- func (o *ServerMemberBan) SetUser(v UserSummary)
- func (o ServerMemberBan) ToMap() (map[string]interface{}, error)
- func (o *ServerMemberBan) UnmarshalJSON(data []byte) (err error)
- type ServerMemberBanCreateRequest
- func (o *ServerMemberBanCreateRequest) GetReason() string
- func (o *ServerMemberBanCreateRequest) GetReasonOk() (*string, bool)
- func (o *ServerMemberBanCreateRequest) HasReason() bool
- func (o ServerMemberBanCreateRequest) MarshalJSON() ([]byte, error)
- func (o *ServerMemberBanCreateRequest) SetReason(v string)
- func (o ServerMemberBanCreateRequest) ToMap() (map[string]interface{}, error)
- type ServerMemberBanRead200Response
- func (o *ServerMemberBanRead200Response) GetServerMemberBan() ServerMemberBan
- func (o *ServerMemberBanRead200Response) GetServerMemberBanOk() (*ServerMemberBan, bool)
- func (o ServerMemberBanRead200Response) MarshalJSON() ([]byte, error)
- func (o *ServerMemberBanRead200Response) SetServerMemberBan(v ServerMemberBan)
- func (o ServerMemberBanRead200Response) ToMap() (map[string]interface{}, error)
- func (o *ServerMemberBanRead200Response) UnmarshalJSON(data []byte) (err error)
- type ServerMemberBanReadMany200Response
- func (o *ServerMemberBanReadMany200Response) GetServerMemberBans() []ServerMemberBan
- func (o *ServerMemberBanReadMany200Response) GetServerMemberBansOk() ([]ServerMemberBan, bool)
- func (o ServerMemberBanReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *ServerMemberBanReadMany200Response) SetServerMemberBans(v []ServerMemberBan)
- func (o ServerMemberBanReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *ServerMemberBanReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type ServerMemberPermissions
- func (o *ServerMemberPermissions) GetPermissions() []string
- func (o *ServerMemberPermissions) GetPermissionsOk() ([]string, bool)
- func (o ServerMemberPermissions) MarshalJSON() ([]byte, error)
- func (o *ServerMemberPermissions) SetPermissions(v []string)
- func (o ServerMemberPermissions) ToMap() (map[string]interface{}, error)
- func (o *ServerMemberPermissions) UnmarshalJSON(data []byte) (err error)
- type ServerMemberPermissionsRead200Response
- func (o *ServerMemberPermissionsRead200Response) GetPermissions() []string
- func (o *ServerMemberPermissionsRead200Response) GetPermissionsOk() ([]string, bool)
- func (o ServerMemberPermissionsRead200Response) MarshalJSON() ([]byte, error)
- func (o *ServerMemberPermissionsRead200Response) SetPermissions(v []string)
- func (o ServerMemberPermissionsRead200Response) ToMap() (map[string]interface{}, error)
- func (o *ServerMemberPermissionsRead200Response) UnmarshalJSON(data []byte) (err error)
- type ServerMemberRead200Response
- func (o *ServerMemberRead200Response) GetMember() ServerMember
- func (o *ServerMemberRead200Response) GetMemberOk() (*ServerMember, bool)
- func (o ServerMemberRead200Response) MarshalJSON() ([]byte, error)
- func (o *ServerMemberRead200Response) SetMember(v ServerMember)
- func (o ServerMemberRead200Response) ToMap() (map[string]interface{}, error)
- func (o *ServerMemberRead200Response) UnmarshalJSON(data []byte) (err error)
- type ServerMemberReadMany200Response
- func (o *ServerMemberReadMany200Response) GetMembers() []ServerMemberSummary
- func (o *ServerMemberReadMany200Response) GetMembersOk() ([]ServerMemberSummary, bool)
- func (o ServerMemberReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *ServerMemberReadMany200Response) SetMembers(v []ServerMemberSummary)
- func (o ServerMemberReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *ServerMemberReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type ServerMemberSummary
- func (o *ServerMemberSummary) GetRoleIds() []int32
- func (o *ServerMemberSummary) GetRoleIdsOk() ([]int32, bool)
- func (o *ServerMemberSummary) GetUser() UserSummary
- func (o *ServerMemberSummary) GetUserOk() (*UserSummary, bool)
- func (o ServerMemberSummary) MarshalJSON() ([]byte, error)
- func (o *ServerMemberSummary) SetRoleIds(v []int32)
- func (o *ServerMemberSummary) SetUser(v UserSummary)
- func (o ServerMemberSummary) ToMap() (map[string]interface{}, error)
- func (o *ServerMemberSummary) UnmarshalJSON(data []byte) (err error)
- type ServerRead200Response
- func (o *ServerRead200Response) GetServer() Server
- func (o *ServerRead200Response) GetServerMemberCount() int32
- func (o *ServerRead200Response) GetServerMemberCountOk() (*int32, bool)
- func (o *ServerRead200Response) GetServerOk() (*Server, bool)
- func (o ServerRead200Response) MarshalJSON() ([]byte, error)
- func (o *ServerRead200Response) SetServer(v Server)
- func (o *ServerRead200Response) SetServerMemberCount(v int32)
- func (o ServerRead200Response) ToMap() (map[string]interface{}, error)
- func (o *ServerRead200Response) UnmarshalJSON(data []byte) (err error)
- type ServerSubscriptionAPI
- type ServerSubscriptionAPIServerSubscriptionTierReadManyRequest
- type ServerSubscriptionAPIServerSubscriptionTierReadRequest
- type ServerSubscriptionAPIService
- func (a *ServerSubscriptionAPIService) ServerSubscriptionTierRead(ctx context.Context, serverId string, serverSubscriptionTierType string) ServerSubscriptionAPIServerSubscriptionTierReadRequest
- func (a *ServerSubscriptionAPIService) ServerSubscriptionTierReadExecute(r ServerSubscriptionAPIServerSubscriptionTierReadRequest) (*ServerSubscriptionTierRead200Response, *http.Response, error)
- func (a *ServerSubscriptionAPIService) ServerSubscriptionTierReadMany(ctx context.Context, serverId string) ServerSubscriptionAPIServerSubscriptionTierReadManyRequest
- func (a *ServerSubscriptionAPIService) ServerSubscriptionTierReadManyExecute(r ServerSubscriptionAPIServerSubscriptionTierReadManyRequest) (*ServerSubscriptionTierReadMany200Response, *http.Response, error)
- type ServerSubscriptionTier
- func (o *ServerSubscriptionTier) GetCost() int32
- func (o *ServerSubscriptionTier) GetCostOk() (*int32, bool)
- func (o *ServerSubscriptionTier) GetCreatedAt() time.Time
- func (o *ServerSubscriptionTier) GetCreatedAtOk() (*time.Time, bool)
- func (o *ServerSubscriptionTier) GetDescription() string
- func (o *ServerSubscriptionTier) GetDescriptionOk() (*string, bool)
- func (o *ServerSubscriptionTier) GetRoleId() int32
- func (o *ServerSubscriptionTier) GetRoleIdOk() (*int32, bool)
- func (o *ServerSubscriptionTier) GetServerId() string
- func (o *ServerSubscriptionTier) GetServerIdOk() (*string, bool)
- func (o *ServerSubscriptionTier) GetType() string
- func (o *ServerSubscriptionTier) GetTypeOk() (*string, bool)
- func (o *ServerSubscriptionTier) HasDescription() bool
- func (o *ServerSubscriptionTier) HasRoleId() bool
- func (o ServerSubscriptionTier) MarshalJSON() ([]byte, error)
- func (o *ServerSubscriptionTier) SetCost(v int32)
- func (o *ServerSubscriptionTier) SetCreatedAt(v time.Time)
- func (o *ServerSubscriptionTier) SetDescription(v string)
- func (o *ServerSubscriptionTier) SetRoleId(v int32)
- func (o *ServerSubscriptionTier) SetServerId(v string)
- func (o *ServerSubscriptionTier) SetType(v string)
- func (o ServerSubscriptionTier) ToMap() (map[string]interface{}, error)
- func (o *ServerSubscriptionTier) UnmarshalJSON(data []byte) (err error)
- type ServerSubscriptionTierRead200Response
- func (o *ServerSubscriptionTierRead200Response) GetServerSubscriptionTier() ServerSubscriptionTier
- func (o *ServerSubscriptionTierRead200Response) GetServerSubscriptionTierOk() (*ServerSubscriptionTier, bool)
- func (o ServerSubscriptionTierRead200Response) MarshalJSON() ([]byte, error)
- func (o *ServerSubscriptionTierRead200Response) SetServerSubscriptionTier(v ServerSubscriptionTier)
- func (o ServerSubscriptionTierRead200Response) ToMap() (map[string]interface{}, error)
- func (o *ServerSubscriptionTierRead200Response) UnmarshalJSON(data []byte) (err error)
- type ServerSubscriptionTierReadMany200Response
- func (o *ServerSubscriptionTierReadMany200Response) GetServerSubscriptionTiers() []ServerSubscriptionTier
- func (o *ServerSubscriptionTierReadMany200Response) GetServerSubscriptionTiersOk() ([]ServerSubscriptionTier, bool)
- func (o ServerSubscriptionTierReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *ServerSubscriptionTierReadMany200Response) SetServerSubscriptionTiers(v []ServerSubscriptionTier)
- func (o ServerSubscriptionTierReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *ServerSubscriptionTierReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type ServerVariable
- type ServerXpAPI
- type ServerXpAPIServerXpForRoleCreateRequest
- type ServerXpAPIServerXpForUserCreateManyRequest
- func (r ServerXpAPIServerXpForUserCreateManyRequest) Execute() (*ServerXpForUserUpdateMany200Response, *http.Response, error)
- func (r ServerXpAPIServerXpForUserCreateManyRequest) ServerXpForUserCreateManyRequest(serverXpForUserCreateManyRequest ServerXpForUserCreateManyRequest) ServerXpAPIServerXpForUserCreateManyRequest
- type ServerXpAPIServerXpForUserCreateRequest
- type ServerXpAPIServerXpForUserUpdateManyRequest
- func (r ServerXpAPIServerXpForUserUpdateManyRequest) Execute() (*ServerXpForUserUpdateMany200Response, *http.Response, error)
- func (r ServerXpAPIServerXpForUserUpdateManyRequest) ServerXpForUserUpdateManyRequest(serverXpForUserUpdateManyRequest ServerXpForUserUpdateManyRequest) ServerXpAPIServerXpForUserUpdateManyRequest
- type ServerXpAPIServerXpForUserUpdateRequest
- type ServerXpAPIService
- func (a *ServerXpAPIService) ServerXpForRoleCreate(ctx context.Context, serverId string, roleId int32) ServerXpAPIServerXpForRoleCreateRequest
- func (a *ServerXpAPIService) ServerXpForRoleCreateExecute(r ServerXpAPIServerXpForRoleCreateRequest) (*http.Response, error)
- func (a *ServerXpAPIService) ServerXpForUserCreate(ctx context.Context, serverId string, userId UserID) ServerXpAPIServerXpForUserCreateRequest
- func (a *ServerXpAPIService) ServerXpForUserCreateExecute(r ServerXpAPIServerXpForUserCreateRequest) (*ServerXpForUserUpdate200Response, *http.Response, error)
- func (a *ServerXpAPIService) ServerXpForUserCreateMany(ctx context.Context, serverId string) ServerXpAPIServerXpForUserCreateManyRequest
- func (a *ServerXpAPIService) ServerXpForUserCreateManyExecute(r ServerXpAPIServerXpForUserCreateManyRequest) (*ServerXpForUserUpdateMany200Response, *http.Response, error)
- func (a *ServerXpAPIService) ServerXpForUserUpdate(ctx context.Context, serverId string, userId UserID) ServerXpAPIServerXpForUserUpdateRequest
- func (a *ServerXpAPIService) ServerXpForUserUpdateExecute(r ServerXpAPIServerXpForUserUpdateRequest) (*ServerXpForUserUpdate200Response, *http.Response, error)
- func (a *ServerXpAPIService) ServerXpForUserUpdateMany(ctx context.Context, serverId string) ServerXpAPIServerXpForUserUpdateManyRequest
- func (a *ServerXpAPIService) ServerXpForUserUpdateManyExecute(r ServerXpAPIServerXpForUserUpdateManyRequest) (*ServerXpForUserUpdateMany200Response, *http.Response, error)
- type ServerXpForUserCreateManyRequest
- func (o *ServerXpForUserCreateManyRequest) GetAmount() int32
- func (o *ServerXpForUserCreateManyRequest) GetAmountOk() (*int32, bool)
- func (o *ServerXpForUserCreateManyRequest) GetUserIds() []UserID
- func (o *ServerXpForUserCreateManyRequest) GetUserIdsOk() ([]UserID, bool)
- func (o ServerXpForUserCreateManyRequest) MarshalJSON() ([]byte, error)
- func (o *ServerXpForUserCreateManyRequest) SetAmount(v int32)
- func (o *ServerXpForUserCreateManyRequest) SetUserIds(v []UserID)
- func (o ServerXpForUserCreateManyRequest) ToMap() (map[string]interface{}, error)
- func (o *ServerXpForUserCreateManyRequest) UnmarshalJSON(data []byte) (err error)
- type ServerXpForUserCreateRequest
- func (o *ServerXpForUserCreateRequest) GetAmount() int32
- func (o *ServerXpForUserCreateRequest) GetAmountOk() (*int32, bool)
- func (o ServerXpForUserCreateRequest) MarshalJSON() ([]byte, error)
- func (o *ServerXpForUserCreateRequest) SetAmount(v int32)
- func (o ServerXpForUserCreateRequest) ToMap() (map[string]interface{}, error)
- func (o *ServerXpForUserCreateRequest) UnmarshalJSON(data []byte) (err error)
- type ServerXpForUserUpdate200Response
- func (o *ServerXpForUserUpdate200Response) GetTotal() int32
- func (o *ServerXpForUserUpdate200Response) GetTotalOk() (*int32, bool)
- func (o ServerXpForUserUpdate200Response) MarshalJSON() ([]byte, error)
- func (o *ServerXpForUserUpdate200Response) SetTotal(v int32)
- func (o ServerXpForUserUpdate200Response) ToMap() (map[string]interface{}, error)
- func (o *ServerXpForUserUpdate200Response) UnmarshalJSON(data []byte) (err error)
- type ServerXpForUserUpdateMany200Response
- func (o *ServerXpForUserUpdateMany200Response) GetTotalsByUserId() map[string]int32
- func (o *ServerXpForUserUpdateMany200Response) GetTotalsByUserIdOk() (*map[string]int32, bool)
- func (o ServerXpForUserUpdateMany200Response) MarshalJSON() ([]byte, error)
- func (o *ServerXpForUserUpdateMany200Response) SetTotalsByUserId(v map[string]int32)
- func (o ServerXpForUserUpdateMany200Response) ToMap() (map[string]interface{}, error)
- func (o *ServerXpForUserUpdateMany200Response) UnmarshalJSON(data []byte) (err error)
- type ServerXpForUserUpdateManyRequest
- func (o *ServerXpForUserUpdateManyRequest) GetAmount() int32
- func (o *ServerXpForUserUpdateManyRequest) GetAmountOk() (*int32, bool)
- func (o *ServerXpForUserUpdateManyRequest) GetUserIds() []UserID
- func (o *ServerXpForUserUpdateManyRequest) GetUserIdsOk() ([]UserID, bool)
- func (o ServerXpForUserUpdateManyRequest) MarshalJSON() ([]byte, error)
- func (o *ServerXpForUserUpdateManyRequest) SetAmount(v int32)
- func (o *ServerXpForUserUpdateManyRequest) SetUserIds(v []UserID)
- func (o ServerXpForUserUpdateManyRequest) ToMap() (map[string]interface{}, error)
- func (o *ServerXpForUserUpdateManyRequest) UnmarshalJSON(data []byte) (err error)
- type ServerXpForUserUpdateRequest
- func (o *ServerXpForUserUpdateRequest) GetTotal() int32
- func (o *ServerXpForUserUpdateRequest) GetTotalOk() (*int32, bool)
- func (o ServerXpForUserUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *ServerXpForUserUpdateRequest) SetTotal(v int32)
- func (o ServerXpForUserUpdateRequest) ToMap() (map[string]interface{}, error)
- func (o *ServerXpForUserUpdateRequest) UnmarshalJSON(data []byte) (err error)
- type ServersAPI
- type ServersAPIServerReadRequest
- type ServersAPIService
- type SocialLink
- func (o *SocialLink) GetCreatedAt() time.Time
- func (o *SocialLink) GetCreatedAtOk() (*time.Time, bool)
- func (o *SocialLink) GetHandle() string
- func (o *SocialLink) GetHandleOk() (*string, bool)
- func (o *SocialLink) GetServiceId() string
- func (o *SocialLink) GetServiceIdOk() (*string, bool)
- func (o *SocialLink) GetType() string
- func (o *SocialLink) GetTypeOk() (*string, bool)
- func (o *SocialLink) GetUserId() string
- func (o *SocialLink) GetUserIdOk() (*string, bool)
- func (o *SocialLink) HasHandle() bool
- func (o *SocialLink) HasServiceId() bool
- func (o SocialLink) MarshalJSON() ([]byte, error)
- func (o *SocialLink) SetCreatedAt(v time.Time)
- func (o *SocialLink) SetHandle(v string)
- func (o *SocialLink) SetServiceId(v string)
- func (o *SocialLink) SetType(v string)
- func (o *SocialLink) SetUserId(v string)
- func (o SocialLink) ToMap() (map[string]interface{}, error)
- func (o *SocialLink) UnmarshalJSON(data []byte) (err error)
- type SocialLinksAPI
- type SocialLinksAPIMemberSocialLinkReadRequest
- type SocialLinksAPIService
- func (a *SocialLinksAPIService) MemberSocialLinkRead(ctx context.Context, serverId string, userId UserID, socialLinkType string) SocialLinksAPIMemberSocialLinkReadRequest
- func (a *SocialLinksAPIService) MemberSocialLinkReadExecute(r SocialLinksAPIMemberSocialLinkReadRequest) (*MemberSocialLinkRead200Response, *http.Response, error)
- type UrlSignature
- func (o *UrlSignature) GetRetryAfter() int32
- func (o *UrlSignature) GetRetryAfterOk() (*int32, bool)
- func (o *UrlSignature) GetSignature() string
- func (o *UrlSignature) GetSignatureOk() (*string, bool)
- func (o *UrlSignature) GetUrl() string
- func (o *UrlSignature) GetUrlOk() (*string, bool)
- func (o *UrlSignature) HasRetryAfter() bool
- func (o *UrlSignature) HasSignature() bool
- func (o UrlSignature) MarshalJSON() ([]byte, error)
- func (o *UrlSignature) SetRetryAfter(v int32)
- func (o *UrlSignature) SetSignature(v string)
- func (o *UrlSignature) SetUrl(v string)
- func (o UrlSignature) ToMap() (map[string]interface{}, error)
- func (o *UrlSignature) UnmarshalJSON(data []byte) (err error)
- type UrlSignatureAPI
- type UrlSignatureAPIService
- type UrlSignatureAPIUrlSignatureCreateManyRequest
- func (r UrlSignatureAPIUrlSignatureCreateManyRequest) Execute() (*UrlSignatureCreateMany200Response, *http.Response, error)
- func (r UrlSignatureAPIUrlSignatureCreateManyRequest) UrlSignatureCreateManyRequest(urlSignatureCreateManyRequest UrlSignatureCreateManyRequest) UrlSignatureAPIUrlSignatureCreateManyRequest
- type UrlSignatureCreateMany200Response
- func (o *UrlSignatureCreateMany200Response) GetUrlSignatures() []UrlSignature
- func (o *UrlSignatureCreateMany200Response) GetUrlSignaturesOk() ([]UrlSignature, bool)
- func (o UrlSignatureCreateMany200Response) MarshalJSON() ([]byte, error)
- func (o *UrlSignatureCreateMany200Response) SetUrlSignatures(v []UrlSignature)
- func (o UrlSignatureCreateMany200Response) ToMap() (map[string]interface{}, error)
- func (o *UrlSignatureCreateMany200Response) UnmarshalJSON(data []byte) (err error)
- type UrlSignatureCreateManyRequest
- func (o *UrlSignatureCreateManyRequest) GetUrls() []string
- func (o *UrlSignatureCreateManyRequest) GetUrlsOk() ([]string, bool)
- func (o UrlSignatureCreateManyRequest) MarshalJSON() ([]byte, error)
- func (o *UrlSignatureCreateManyRequest) SetUrls(v []string)
- func (o UrlSignatureCreateManyRequest) ToMap() (map[string]interface{}, error)
- func (o *UrlSignatureCreateManyRequest) UnmarshalJSON(data []byte) (err error)
- type User
- func (o *User) GetAvatar() string
- func (o *User) GetAvatarOk() (*string, bool)
- func (o *User) GetBanner() string
- func (o *User) GetBannerOk() (*string, bool)
- func (o *User) GetCreatedAt() time.Time
- func (o *User) GetCreatedAtOk() (*time.Time, bool)
- func (o *User) GetId() string
- func (o *User) GetIdOk() (*string, bool)
- func (o *User) GetName() string
- func (o *User) GetNameOk() (*string, bool)
- func (o *User) GetStatus() UserStatus
- func (o *User) GetStatusOk() (*UserStatus, bool)
- func (o *User) GetType() string
- func (o *User) GetTypeOk() (*string, bool)
- func (o *User) HasAvatar() bool
- func (o *User) HasBanner() bool
- func (o *User) HasStatus() bool
- func (o *User) HasType() bool
- func (o User) MarshalJSON() ([]byte, error)
- func (o *User) SetAvatar(v string)
- func (o *User) SetBanner(v string)
- func (o *User) SetCreatedAt(v time.Time)
- func (o *User) SetId(v string)
- func (o *User) SetName(v string)
- func (o *User) SetStatus(v UserStatus)
- func (o *User) SetType(v string)
- func (o User) ToMap() (map[string]interface{}, error)
- func (o *User) UnmarshalJSON(data []byte) (err error)
- type UserID
- type UserID1
- type UserRead200Response
- func (o *UserRead200Response) GetUser() User
- func (o *UserRead200Response) GetUserOk() (*User, bool)
- func (o UserRead200Response) MarshalJSON() ([]byte, error)
- func (o *UserRead200Response) SetUser(v User)
- func (o UserRead200Response) ToMap() (map[string]interface{}, error)
- func (o *UserRead200Response) UnmarshalJSON(data []byte) (err error)
- type UserServerReadMany200Response
- func (o *UserServerReadMany200Response) GetServers() []Server
- func (o *UserServerReadMany200Response) GetServersOk() ([]Server, bool)
- func (o UserServerReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *UserServerReadMany200Response) SetServers(v []Server)
- func (o UserServerReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *UserServerReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type UserStatus
- func (o *UserStatus) GetContent() string
- func (o *UserStatus) GetContentOk() (*string, bool)
- func (o *UserStatus) GetEmoteId() int32
- func (o *UserStatus) GetEmoteIdOk() (*int32, bool)
- func (o *UserStatus) HasContent() bool
- func (o UserStatus) MarshalJSON() ([]byte, error)
- func (o *UserStatus) SetContent(v string)
- func (o *UserStatus) SetEmoteId(v int32)
- func (o UserStatus) ToMap() (map[string]interface{}, error)
- func (o *UserStatus) UnmarshalJSON(data []byte) (err error)
- type UserStatusAPI
- type UserStatusAPIService
- func (a *UserStatusAPIService) UserStatusCreate(ctx context.Context, userId UserID) UserStatusAPIUserStatusCreateRequest
- func (a *UserStatusAPIService) UserStatusCreateExecute(r UserStatusAPIUserStatusCreateRequest) (*http.Response, error)
- func (a *UserStatusAPIService) UserStatusDelete(ctx context.Context, userId UserID) UserStatusAPIUserStatusDeleteRequest
- func (a *UserStatusAPIService) UserStatusDeleteExecute(r UserStatusAPIUserStatusDeleteRequest) (*http.Response, error)
- type UserStatusAPIUserStatusCreateRequest
- type UserStatusAPIUserStatusDeleteRequest
- type UserStatusCreateRequest
- func (o *UserStatusCreateRequest) GetContent() string
- func (o *UserStatusCreateRequest) GetContentOk() (*string, bool)
- func (o *UserStatusCreateRequest) GetEmoteId() int32
- func (o *UserStatusCreateRequest) GetEmoteIdOk() (*int32, bool)
- func (o *UserStatusCreateRequest) GetExpiresAt() time.Time
- func (o *UserStatusCreateRequest) GetExpiresAtOk() (*time.Time, bool)
- func (o *UserStatusCreateRequest) HasContent() bool
- func (o *UserStatusCreateRequest) HasExpiresAt() bool
- func (o UserStatusCreateRequest) MarshalJSON() ([]byte, error)
- func (o *UserStatusCreateRequest) SetContent(v string)
- func (o *UserStatusCreateRequest) SetEmoteId(v int32)
- func (o *UserStatusCreateRequest) SetExpiresAt(v time.Time)
- func (o UserStatusCreateRequest) ToMap() (map[string]interface{}, error)
- func (o *UserStatusCreateRequest) UnmarshalJSON(data []byte) (err error)
- type UserSummary
- func (o *UserSummary) GetAvatar() string
- func (o *UserSummary) GetAvatarOk() (*string, bool)
- func (o *UserSummary) GetId() string
- func (o *UserSummary) GetIdOk() (*string, bool)
- func (o *UserSummary) GetName() string
- func (o *UserSummary) GetNameOk() (*string, bool)
- func (o *UserSummary) GetType() string
- func (o *UserSummary) GetTypeOk() (*string, bool)
- func (o *UserSummary) HasAvatar() bool
- func (o *UserSummary) HasType() bool
- func (o UserSummary) MarshalJSON() ([]byte, error)
- func (o *UserSummary) SetAvatar(v string)
- func (o *UserSummary) SetId(v string)
- func (o *UserSummary) SetName(v string)
- func (o *UserSummary) SetType(v string)
- func (o UserSummary) ToMap() (map[string]interface{}, error)
- func (o *UserSummary) UnmarshalJSON(data []byte) (err error)
- type UsersAPI
- type UsersAPIService
- func (a *UsersAPIService) UserRead(ctx context.Context, userId UserID) UsersAPIUserReadRequest
- func (a *UsersAPIService) UserReadExecute(r UsersAPIUserReadRequest) (*UserRead200Response, *http.Response, error)
- func (a *UsersAPIService) UserServerReadMany(ctx context.Context, userId UserID) UsersAPIUserServerReadManyRequest
- func (a *UsersAPIService) UserServerReadManyExecute(r UsersAPIUserServerReadManyRequest) (*UserServerReadMany200Response, *http.Response, error)
- type UsersAPIUserReadRequest
- type UsersAPIUserServerReadManyRequest
- type Webhook
- func (o *Webhook) GetAvatar() string
- func (o *Webhook) GetAvatarOk() (*string, bool)
- func (o *Webhook) GetChannelId() string
- func (o *Webhook) GetChannelIdOk() (*string, bool)
- func (o *Webhook) GetCreatedAt() time.Time
- func (o *Webhook) GetCreatedAtOk() (*time.Time, bool)
- func (o *Webhook) GetCreatedBy() string
- func (o *Webhook) GetCreatedByOk() (*string, bool)
- func (o *Webhook) GetDeletedAt() time.Time
- func (o *Webhook) GetDeletedAtOk() (*time.Time, bool)
- func (o *Webhook) GetId() string
- func (o *Webhook) GetIdOk() (*string, bool)
- func (o *Webhook) GetName() string
- func (o *Webhook) GetNameOk() (*string, bool)
- func (o *Webhook) GetServerId() string
- func (o *Webhook) GetServerIdOk() (*string, bool)
- func (o *Webhook) GetToken() string
- func (o *Webhook) GetTokenOk() (*string, bool)
- func (o *Webhook) HasAvatar() bool
- func (o *Webhook) HasDeletedAt() bool
- func (o *Webhook) HasToken() bool
- func (o Webhook) MarshalJSON() ([]byte, error)
- func (o *Webhook) SetAvatar(v string)
- func (o *Webhook) SetChannelId(v string)
- func (o *Webhook) SetCreatedAt(v time.Time)
- func (o *Webhook) SetCreatedBy(v string)
- func (o *Webhook) SetDeletedAt(v time.Time)
- func (o *Webhook) SetId(v string)
- func (o *Webhook) SetName(v string)
- func (o *Webhook) SetServerId(v string)
- func (o *Webhook) SetToken(v string)
- func (o Webhook) ToMap() (map[string]interface{}, error)
- func (o *Webhook) UnmarshalJSON(data []byte) (err error)
- type WebhookAPI
- type WebhookAPIService
- func (a *WebhookAPIService) WebhookCreate(ctx context.Context, serverId string) WebhookAPIWebhookCreateRequest
- func (a *WebhookAPIService) WebhookCreateExecute(r WebhookAPIWebhookCreateRequest) (*WebhookCreate201Response, *http.Response, error)
- func (a *WebhookAPIService) WebhookDelete(ctx context.Context, serverId string, webhookId string) WebhookAPIWebhookDeleteRequest
- func (a *WebhookAPIService) WebhookDeleteExecute(r WebhookAPIWebhookDeleteRequest) (*http.Response, error)
- func (a *WebhookAPIService) WebhookRead(ctx context.Context, serverId string, webhookId string) WebhookAPIWebhookReadRequest
- func (a *WebhookAPIService) WebhookReadExecute(r WebhookAPIWebhookReadRequest) (*WebhookCreate201Response, *http.Response, error)
- func (a *WebhookAPIService) WebhookReadMany(ctx context.Context, serverId string) WebhookAPIWebhookReadManyRequest
- func (a *WebhookAPIService) WebhookReadManyExecute(r WebhookAPIWebhookReadManyRequest) (*WebhookReadMany200Response, *http.Response, error)
- func (a *WebhookAPIService) WebhookUpdate(ctx context.Context, serverId string, webhookId string) WebhookAPIWebhookUpdateRequest
- func (a *WebhookAPIService) WebhookUpdateExecute(r WebhookAPIWebhookUpdateRequest) (*WebhookCreate201Response, *http.Response, error)
- type WebhookAPIWebhookCreateRequest
- type WebhookAPIWebhookDeleteRequest
- type WebhookAPIWebhookReadManyRequest
- type WebhookAPIWebhookReadRequest
- type WebhookAPIWebhookUpdateRequest
- type WebhookCreate201Response
- func (o *WebhookCreate201Response) GetWebhook() Webhook
- func (o *WebhookCreate201Response) GetWebhookOk() (*Webhook, bool)
- func (o WebhookCreate201Response) MarshalJSON() ([]byte, error)
- func (o *WebhookCreate201Response) SetWebhook(v Webhook)
- func (o WebhookCreate201Response) ToMap() (map[string]interface{}, error)
- func (o *WebhookCreate201Response) UnmarshalJSON(data []byte) (err error)
- type WebhookCreateRequest
- func (o *WebhookCreateRequest) GetChannelId() string
- func (o *WebhookCreateRequest) GetChannelIdOk() (*string, bool)
- func (o *WebhookCreateRequest) GetName() string
- func (o *WebhookCreateRequest) GetNameOk() (*string, bool)
- func (o WebhookCreateRequest) MarshalJSON() ([]byte, error)
- func (o *WebhookCreateRequest) SetChannelId(v string)
- func (o *WebhookCreateRequest) SetName(v string)
- func (o WebhookCreateRequest) ToMap() (map[string]interface{}, error)
- func (o *WebhookCreateRequest) UnmarshalJSON(data []byte) (err error)
- type WebhookReadMany200Response
- func (o *WebhookReadMany200Response) GetWebhooks() []Webhook
- func (o *WebhookReadMany200Response) GetWebhooksOk() ([]Webhook, bool)
- func (o WebhookReadMany200Response) MarshalJSON() ([]byte, error)
- func (o *WebhookReadMany200Response) SetWebhooks(v []Webhook)
- func (o WebhookReadMany200Response) ToMap() (map[string]interface{}, error)
- func (o *WebhookReadMany200Response) UnmarshalJSON(data []byte) (err error)
- type WebhookUpdateRequest
- func (o *WebhookUpdateRequest) GetChannelId() string
- func (o *WebhookUpdateRequest) GetChannelIdOk() (*string, bool)
- func (o *WebhookUpdateRequest) GetName() string
- func (o *WebhookUpdateRequest) GetNameOk() (*string, bool)
- func (o *WebhookUpdateRequest) HasChannelId() bool
- func (o WebhookUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *WebhookUpdateRequest) SetChannelId(v string)
- func (o *WebhookUpdateRequest) SetName(v string)
- func (o WebhookUpdateRequest) ToMap() (map[string]interface{}, error)
- func (o *WebhookUpdateRequest) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { AnnouncementCommentsAPI AnnouncementCommentsAPI AnnouncementsAPI AnnouncementsAPI CalendarEventCommentsAPI CalendarEventCommentsAPI CalendarEventSeriesAPI CalendarEventSeriesAPI CalendarEventsAPI CalendarEventsAPI CategoriesAPI CategoriesAPI ChannelsAPI ChannelsAPI ChatAPI ChatAPI DocCommentsAPI DocCommentsAPI DocsAPI DocsAPI ForumCommentsAPI ForumCommentsAPI ForumsAPI ForumsAPI GroupMembershipAPI GroupMembershipAPI GroupsAPI GroupsAPI ListItemsAPI ListItemsAPI MemberBansAPI MemberBansAPI MembersAPI MembersAPI PermissionOverrideAPI PermissionOverrideAPI ReactionsAPI ReactionsAPI RoleMembershipAPI RoleMembershipAPI RolesAPI RolesAPI ServerSubscriptionAPI ServerSubscriptionAPI ServerXpAPI ServerXpAPI ServersAPI ServersAPI SocialLinksAPI SocialLinksAPI UrlSignatureAPI UrlSignatureAPI UserStatusAPI UserStatusAPI UsersAPI UsersAPI WebhookAPI WebhookAPI // contains filtered or unexported fields }
APIClient manages communication with the Guilded REST API API v0.0.1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type Announcement ¶
type Announcement struct { // The ID of the announcement Id string `json:"id"` // The ID of the server ServerId string `json:"serverId"` // The ID of the group GroupId string `json:"groupId"` // The ID of the channel ChannelId string `json:"channelId"` // The ISO 8601 timestamp that the announcement was created at CreatedAt time.Time `json:"createdAt"` // The ID of the user who created this announcement CreatedBy string `json:"createdBy"` // The content of the announcement Content string `json:"content"` Mentions NullableMentions `json:"mentions,omitempty"` // The title of the announcement Title string `json:"title"` }
Announcement struct for Announcement
func NewAnnouncement ¶
func NewAnnouncement(id string, serverId string, groupId string, channelId string, createdAt time.Time, createdBy string, content string, title string) *Announcement
NewAnnouncement instantiates a new Announcement object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAnnouncementWithDefaults ¶
func NewAnnouncementWithDefaults() *Announcement
NewAnnouncementWithDefaults instantiates a new Announcement object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Announcement) GetChannelId ¶
func (o *Announcement) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*Announcement) GetChannelIdOk ¶
func (o *Announcement) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*Announcement) GetContent ¶
func (o *Announcement) GetContent() string
GetContent returns the Content field value
func (*Announcement) GetContentOk ¶
func (o *Announcement) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*Announcement) GetCreatedAt ¶
func (o *Announcement) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*Announcement) GetCreatedAtOk ¶
func (o *Announcement) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Announcement) GetCreatedBy ¶
func (o *Announcement) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*Announcement) GetCreatedByOk ¶
func (o *Announcement) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*Announcement) GetGroupId ¶
func (o *Announcement) GetGroupId() string
GetGroupId returns the GroupId field value
func (*Announcement) GetGroupIdOk ¶
func (o *Announcement) GetGroupIdOk() (*string, bool)
GetGroupIdOk returns a tuple with the GroupId field value and a boolean to check if the value has been set.
func (*Announcement) GetIdOk ¶
func (o *Announcement) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Announcement) GetMentions ¶
func (o *Announcement) GetMentions() Mentions
GetMentions returns the Mentions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Announcement) GetMentionsOk ¶
func (o *Announcement) GetMentionsOk() (*Mentions, bool)
GetMentionsOk returns a tuple with the Mentions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Announcement) GetServerId ¶
func (o *Announcement) GetServerId() string
GetServerId returns the ServerId field value
func (*Announcement) GetServerIdOk ¶
func (o *Announcement) GetServerIdOk() (*string, bool)
GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.
func (*Announcement) GetTitle ¶
func (o *Announcement) GetTitle() string
GetTitle returns the Title field value
func (*Announcement) GetTitleOk ¶
func (o *Announcement) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*Announcement) HasMentions ¶
func (o *Announcement) HasMentions() bool
HasMentions returns a boolean if a field has been set.
func (Announcement) MarshalJSON ¶
func (o Announcement) MarshalJSON() ([]byte, error)
func (*Announcement) SetChannelId ¶
func (o *Announcement) SetChannelId(v string)
SetChannelId sets field value
func (*Announcement) SetContent ¶
func (o *Announcement) SetContent(v string)
SetContent sets field value
func (*Announcement) SetCreatedAt ¶
func (o *Announcement) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*Announcement) SetCreatedBy ¶
func (o *Announcement) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*Announcement) SetGroupId ¶
func (o *Announcement) SetGroupId(v string)
SetGroupId sets field value
func (*Announcement) SetMentions ¶
func (o *Announcement) SetMentions(v Mentions)
SetMentions gets a reference to the given NullableMentions and assigns it to the Mentions field.
func (*Announcement) SetMentionsNil ¶
func (o *Announcement) SetMentionsNil()
SetMentionsNil sets the value for Mentions to be an explicit nil
func (*Announcement) SetServerId ¶
func (o *Announcement) SetServerId(v string)
SetServerId sets field value
func (Announcement) ToMap ¶
func (o Announcement) ToMap() (map[string]interface{}, error)
func (*Announcement) UnmarshalJSON ¶
func (o *Announcement) UnmarshalJSON(data []byte) (err error)
func (*Announcement) UnsetMentions ¶
func (o *Announcement) UnsetMentions()
UnsetMentions ensures that no value is present for Mentions, not even an explicit nil
type AnnouncementComment ¶
type AnnouncementComment struct { // The ID of the announcement comment Id int32 `json:"id"` // The content of the announcement comment Content string `json:"content"` // The ISO 8601 timestamp that the announcement comment was created at CreatedAt time.Time `json:"createdAt"` // The ISO 8601 timestamp that the announcement comment was updated at, if relevant UpdatedAt *time.Time `json:"updatedAt,omitempty"` // The ID of the user who created this announcement comment (Note: If this event has `createdByWebhookId` present, this field will still be populated, but can be ignored. In this case, the value of this field will always be Ann6LewA) CreatedBy string `json:"createdBy"` // The ID of the channel ChannelId string `json:"channelId"` // The ID of the announcement AnnouncementId string `json:"announcementId"` Mentions NullableMentions `json:"mentions,omitempty"` }
AnnouncementComment struct for AnnouncementComment
func NewAnnouncementComment ¶
func NewAnnouncementComment(id int32, content string, createdAt time.Time, createdBy string, channelId string, announcementId string) *AnnouncementComment
NewAnnouncementComment instantiates a new AnnouncementComment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAnnouncementCommentWithDefaults ¶
func NewAnnouncementCommentWithDefaults() *AnnouncementComment
NewAnnouncementCommentWithDefaults instantiates a new AnnouncementComment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AnnouncementComment) GetAnnouncementId ¶
func (o *AnnouncementComment) GetAnnouncementId() string
GetAnnouncementId returns the AnnouncementId field value
func (*AnnouncementComment) GetAnnouncementIdOk ¶
func (o *AnnouncementComment) GetAnnouncementIdOk() (*string, bool)
GetAnnouncementIdOk returns a tuple with the AnnouncementId field value and a boolean to check if the value has been set.
func (*AnnouncementComment) GetChannelId ¶
func (o *AnnouncementComment) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*AnnouncementComment) GetChannelIdOk ¶
func (o *AnnouncementComment) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*AnnouncementComment) GetContent ¶
func (o *AnnouncementComment) GetContent() string
GetContent returns the Content field value
func (*AnnouncementComment) GetContentOk ¶
func (o *AnnouncementComment) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*AnnouncementComment) GetCreatedAt ¶
func (o *AnnouncementComment) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*AnnouncementComment) GetCreatedAtOk ¶
func (o *AnnouncementComment) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*AnnouncementComment) GetCreatedBy ¶
func (o *AnnouncementComment) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*AnnouncementComment) GetCreatedByOk ¶
func (o *AnnouncementComment) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*AnnouncementComment) GetId ¶
func (o *AnnouncementComment) GetId() int32
GetId returns the Id field value
func (*AnnouncementComment) GetIdOk ¶
func (o *AnnouncementComment) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*AnnouncementComment) GetMentions ¶
func (o *AnnouncementComment) GetMentions() Mentions
GetMentions returns the Mentions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AnnouncementComment) GetMentionsOk ¶
func (o *AnnouncementComment) GetMentionsOk() (*Mentions, bool)
GetMentionsOk returns a tuple with the Mentions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AnnouncementComment) GetUpdatedAt ¶
func (o *AnnouncementComment) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*AnnouncementComment) GetUpdatedAtOk ¶
func (o *AnnouncementComment) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnnouncementComment) HasMentions ¶
func (o *AnnouncementComment) HasMentions() bool
HasMentions returns a boolean if a field has been set.
func (*AnnouncementComment) HasUpdatedAt ¶
func (o *AnnouncementComment) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (AnnouncementComment) MarshalJSON ¶
func (o AnnouncementComment) MarshalJSON() ([]byte, error)
func (*AnnouncementComment) SetAnnouncementId ¶
func (o *AnnouncementComment) SetAnnouncementId(v string)
SetAnnouncementId sets field value
func (*AnnouncementComment) SetChannelId ¶
func (o *AnnouncementComment) SetChannelId(v string)
SetChannelId sets field value
func (*AnnouncementComment) SetContent ¶
func (o *AnnouncementComment) SetContent(v string)
SetContent sets field value
func (*AnnouncementComment) SetCreatedAt ¶
func (o *AnnouncementComment) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*AnnouncementComment) SetCreatedBy ¶
func (o *AnnouncementComment) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*AnnouncementComment) SetId ¶
func (o *AnnouncementComment) SetId(v int32)
SetId sets field value
func (*AnnouncementComment) SetMentions ¶
func (o *AnnouncementComment) SetMentions(v Mentions)
SetMentions gets a reference to the given NullableMentions and assigns it to the Mentions field.
func (*AnnouncementComment) SetMentionsNil ¶
func (o *AnnouncementComment) SetMentionsNil()
SetMentionsNil sets the value for Mentions to be an explicit nil
func (*AnnouncementComment) SetUpdatedAt ¶
func (o *AnnouncementComment) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (AnnouncementComment) ToMap ¶
func (o AnnouncementComment) ToMap() (map[string]interface{}, error)
func (*AnnouncementComment) UnmarshalJSON ¶
func (o *AnnouncementComment) UnmarshalJSON(data []byte) (err error)
func (*AnnouncementComment) UnsetMentions ¶
func (o *AnnouncementComment) UnsetMentions()
UnsetMentions ensures that no value is present for Mentions, not even an explicit nil
type AnnouncementCommentCreate200Response ¶
type AnnouncementCommentCreate200Response struct {
AnnouncementComment AnnouncementComment `json:"announcementComment"`
}
AnnouncementCommentCreate200Response struct for AnnouncementCommentCreate200Response
func NewAnnouncementCommentCreate200Response ¶
func NewAnnouncementCommentCreate200Response(announcementComment AnnouncementComment) *AnnouncementCommentCreate200Response
NewAnnouncementCommentCreate200Response instantiates a new AnnouncementCommentCreate200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAnnouncementCommentCreate200ResponseWithDefaults ¶
func NewAnnouncementCommentCreate200ResponseWithDefaults() *AnnouncementCommentCreate200Response
NewAnnouncementCommentCreate200ResponseWithDefaults instantiates a new AnnouncementCommentCreate200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AnnouncementCommentCreate200Response) GetAnnouncementComment ¶
func (o *AnnouncementCommentCreate200Response) GetAnnouncementComment() AnnouncementComment
GetAnnouncementComment returns the AnnouncementComment field value
func (*AnnouncementCommentCreate200Response) GetAnnouncementCommentOk ¶
func (o *AnnouncementCommentCreate200Response) GetAnnouncementCommentOk() (*AnnouncementComment, bool)
GetAnnouncementCommentOk returns a tuple with the AnnouncementComment field value and a boolean to check if the value has been set.
func (AnnouncementCommentCreate200Response) MarshalJSON ¶
func (o AnnouncementCommentCreate200Response) MarshalJSON() ([]byte, error)
func (*AnnouncementCommentCreate200Response) SetAnnouncementComment ¶
func (o *AnnouncementCommentCreate200Response) SetAnnouncementComment(v AnnouncementComment)
SetAnnouncementComment sets field value
func (AnnouncementCommentCreate200Response) ToMap ¶
func (o AnnouncementCommentCreate200Response) ToMap() (map[string]interface{}, error)
func (*AnnouncementCommentCreate200Response) UnmarshalJSON ¶
func (o *AnnouncementCommentCreate200Response) UnmarshalJSON(data []byte) (err error)
type AnnouncementCommentCreateRequest ¶
type AnnouncementCommentCreateRequest struct { // The content of the announcement comment Content string `json:"content"` }
AnnouncementCommentCreateRequest struct for AnnouncementCommentCreateRequest
func NewAnnouncementCommentCreateRequest ¶
func NewAnnouncementCommentCreateRequest(content string) *AnnouncementCommentCreateRequest
NewAnnouncementCommentCreateRequest instantiates a new AnnouncementCommentCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAnnouncementCommentCreateRequestWithDefaults ¶
func NewAnnouncementCommentCreateRequestWithDefaults() *AnnouncementCommentCreateRequest
NewAnnouncementCommentCreateRequestWithDefaults instantiates a new AnnouncementCommentCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AnnouncementCommentCreateRequest) GetContent ¶
func (o *AnnouncementCommentCreateRequest) GetContent() string
GetContent returns the Content field value
func (*AnnouncementCommentCreateRequest) GetContentOk ¶
func (o *AnnouncementCommentCreateRequest) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (AnnouncementCommentCreateRequest) MarshalJSON ¶
func (o AnnouncementCommentCreateRequest) MarshalJSON() ([]byte, error)
func (*AnnouncementCommentCreateRequest) SetContent ¶
func (o *AnnouncementCommentCreateRequest) SetContent(v string)
SetContent sets field value
func (AnnouncementCommentCreateRequest) ToMap ¶
func (o AnnouncementCommentCreateRequest) ToMap() (map[string]interface{}, error)
func (*AnnouncementCommentCreateRequest) UnmarshalJSON ¶
func (o *AnnouncementCommentCreateRequest) UnmarshalJSON(data []byte) (err error)
type AnnouncementCommentReaction ¶
type AnnouncementCommentReaction struct { // The ID of the channel ChannelId string `json:"channelId"` // The ID of the user who added the reaction CreatedBy string `json:"createdBy"` Emote Emote `json:"emote"` // The ID of the announcement AnnouncementId string `json:"announcementId"` // The ID of the announcement comment AnnouncementCommentId int32 `json:"announcementCommentId"` }
AnnouncementCommentReaction struct for AnnouncementCommentReaction
func NewAnnouncementCommentReaction ¶
func NewAnnouncementCommentReaction(channelId string, createdBy string, emote Emote, announcementId string, announcementCommentId int32) *AnnouncementCommentReaction
NewAnnouncementCommentReaction instantiates a new AnnouncementCommentReaction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAnnouncementCommentReactionWithDefaults ¶
func NewAnnouncementCommentReactionWithDefaults() *AnnouncementCommentReaction
NewAnnouncementCommentReactionWithDefaults instantiates a new AnnouncementCommentReaction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AnnouncementCommentReaction) GetAnnouncementCommentId ¶
func (o *AnnouncementCommentReaction) GetAnnouncementCommentId() int32
GetAnnouncementCommentId returns the AnnouncementCommentId field value
func (*AnnouncementCommentReaction) GetAnnouncementCommentIdOk ¶
func (o *AnnouncementCommentReaction) GetAnnouncementCommentIdOk() (*int32, bool)
GetAnnouncementCommentIdOk returns a tuple with the AnnouncementCommentId field value and a boolean to check if the value has been set.
func (*AnnouncementCommentReaction) GetAnnouncementId ¶
func (o *AnnouncementCommentReaction) GetAnnouncementId() string
GetAnnouncementId returns the AnnouncementId field value
func (*AnnouncementCommentReaction) GetAnnouncementIdOk ¶
func (o *AnnouncementCommentReaction) GetAnnouncementIdOk() (*string, bool)
GetAnnouncementIdOk returns a tuple with the AnnouncementId field value and a boolean to check if the value has been set.
func (*AnnouncementCommentReaction) GetChannelId ¶
func (o *AnnouncementCommentReaction) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*AnnouncementCommentReaction) GetChannelIdOk ¶
func (o *AnnouncementCommentReaction) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*AnnouncementCommentReaction) GetCreatedBy ¶
func (o *AnnouncementCommentReaction) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*AnnouncementCommentReaction) GetCreatedByOk ¶
func (o *AnnouncementCommentReaction) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*AnnouncementCommentReaction) GetEmote ¶
func (o *AnnouncementCommentReaction) GetEmote() Emote
GetEmote returns the Emote field value
func (*AnnouncementCommentReaction) GetEmoteOk ¶
func (o *AnnouncementCommentReaction) GetEmoteOk() (*Emote, bool)
GetEmoteOk returns a tuple with the Emote field value and a boolean to check if the value has been set.
func (AnnouncementCommentReaction) MarshalJSON ¶
func (o AnnouncementCommentReaction) MarshalJSON() ([]byte, error)
func (*AnnouncementCommentReaction) SetAnnouncementCommentId ¶
func (o *AnnouncementCommentReaction) SetAnnouncementCommentId(v int32)
SetAnnouncementCommentId sets field value
func (*AnnouncementCommentReaction) SetAnnouncementId ¶
func (o *AnnouncementCommentReaction) SetAnnouncementId(v string)
SetAnnouncementId sets field value
func (*AnnouncementCommentReaction) SetChannelId ¶
func (o *AnnouncementCommentReaction) SetChannelId(v string)
SetChannelId sets field value
func (*AnnouncementCommentReaction) SetCreatedBy ¶
func (o *AnnouncementCommentReaction) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*AnnouncementCommentReaction) SetEmote ¶
func (o *AnnouncementCommentReaction) SetEmote(v Emote)
SetEmote sets field value
func (AnnouncementCommentReaction) ToMap ¶
func (o AnnouncementCommentReaction) ToMap() (map[string]interface{}, error)
func (*AnnouncementCommentReaction) UnmarshalJSON ¶
func (o *AnnouncementCommentReaction) UnmarshalJSON(data []byte) (err error)
type AnnouncementCommentReadMany200Response ¶
type AnnouncementCommentReadMany200Response struct {
AnnouncementComments []AnnouncementComment `json:"announcementComments"`
}
AnnouncementCommentReadMany200Response struct for AnnouncementCommentReadMany200Response
func NewAnnouncementCommentReadMany200Response ¶
func NewAnnouncementCommentReadMany200Response(announcementComments []AnnouncementComment) *AnnouncementCommentReadMany200Response
NewAnnouncementCommentReadMany200Response instantiates a new AnnouncementCommentReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAnnouncementCommentReadMany200ResponseWithDefaults ¶
func NewAnnouncementCommentReadMany200ResponseWithDefaults() *AnnouncementCommentReadMany200Response
NewAnnouncementCommentReadMany200ResponseWithDefaults instantiates a new AnnouncementCommentReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AnnouncementCommentReadMany200Response) GetAnnouncementComments ¶
func (o *AnnouncementCommentReadMany200Response) GetAnnouncementComments() []AnnouncementComment
GetAnnouncementComments returns the AnnouncementComments field value
func (*AnnouncementCommentReadMany200Response) GetAnnouncementCommentsOk ¶
func (o *AnnouncementCommentReadMany200Response) GetAnnouncementCommentsOk() ([]AnnouncementComment, bool)
GetAnnouncementCommentsOk returns a tuple with the AnnouncementComments field value and a boolean to check if the value has been set.
func (AnnouncementCommentReadMany200Response) MarshalJSON ¶
func (o AnnouncementCommentReadMany200Response) MarshalJSON() ([]byte, error)
func (*AnnouncementCommentReadMany200Response) SetAnnouncementComments ¶
func (o *AnnouncementCommentReadMany200Response) SetAnnouncementComments(v []AnnouncementComment)
SetAnnouncementComments sets field value
func (AnnouncementCommentReadMany200Response) ToMap ¶
func (o AnnouncementCommentReadMany200Response) ToMap() (map[string]interface{}, error)
func (*AnnouncementCommentReadMany200Response) UnmarshalJSON ¶
func (o *AnnouncementCommentReadMany200Response) UnmarshalJSON(data []byte) (err error)
type AnnouncementCommentsAPI ¶
type AnnouncementCommentsAPI interface { /* AnnouncementCommentCreate Create a comment on an announcement @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param announcementId @return AnnouncementCommentsAPIAnnouncementCommentCreateRequest */ AnnouncementCommentCreate(ctx context.Context, channelId string, announcementId string) AnnouncementCommentsAPIAnnouncementCommentCreateRequest // AnnouncementCommentCreateExecute executes the request // @return AnnouncementCommentCreate200Response AnnouncementCommentCreateExecute(r AnnouncementCommentsAPIAnnouncementCommentCreateRequest) (*AnnouncementCommentCreate200Response, *http.Response, error) /* AnnouncementCommentDelete Delete an announcement comment @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param announcementId @param announcementCommentId @return AnnouncementCommentsAPIAnnouncementCommentDeleteRequest */ AnnouncementCommentDelete(ctx context.Context, channelId string, announcementId string, announcementCommentId int32) AnnouncementCommentsAPIAnnouncementCommentDeleteRequest // AnnouncementCommentDeleteExecute executes the request AnnouncementCommentDeleteExecute(r AnnouncementCommentsAPIAnnouncementCommentDeleteRequest) (*http.Response, error) /* AnnouncementCommentRead Get a comment on the announcement @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param announcementId @param announcementCommentId @return AnnouncementCommentsAPIAnnouncementCommentReadRequest */ AnnouncementCommentRead(ctx context.Context, channelId string, announcementId string, announcementCommentId int32) AnnouncementCommentsAPIAnnouncementCommentReadRequest // AnnouncementCommentReadExecute executes the request // @return AnnouncementCommentCreate200Response AnnouncementCommentReadExecute(r AnnouncementCommentsAPIAnnouncementCommentReadRequest) (*AnnouncementCommentCreate200Response, *http.Response, error) /* AnnouncementCommentReadMany Get an announcement's comments @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param announcementId @return AnnouncementCommentsAPIAnnouncementCommentReadManyRequest */ AnnouncementCommentReadMany(ctx context.Context, channelId string, announcementId string) AnnouncementCommentsAPIAnnouncementCommentReadManyRequest // AnnouncementCommentReadManyExecute executes the request // @return AnnouncementCommentReadMany200Response AnnouncementCommentReadManyExecute(r AnnouncementCommentsAPIAnnouncementCommentReadManyRequest) (*AnnouncementCommentReadMany200Response, *http.Response, error) /* AnnouncementCommentUpdate Update an announcement comment @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param announcementId @param announcementCommentId @return AnnouncementCommentsAPIAnnouncementCommentUpdateRequest */ AnnouncementCommentUpdate(ctx context.Context, channelId string, announcementId string, announcementCommentId int32) AnnouncementCommentsAPIAnnouncementCommentUpdateRequest // AnnouncementCommentUpdateExecute executes the request // @return AnnouncementCommentCreate200Response AnnouncementCommentUpdateExecute(r AnnouncementCommentsAPIAnnouncementCommentUpdateRequest) (*AnnouncementCommentCreate200Response, *http.Response, error) }
type AnnouncementCommentsAPIAnnouncementCommentCreateRequest ¶
type AnnouncementCommentsAPIAnnouncementCommentCreateRequest struct { ApiService AnnouncementCommentsAPI // contains filtered or unexported fields }
func (AnnouncementCommentsAPIAnnouncementCommentCreateRequest) AnnouncementCommentCreateRequest ¶
func (r AnnouncementCommentsAPIAnnouncementCommentCreateRequest) AnnouncementCommentCreateRequest(announcementCommentCreateRequest AnnouncementCommentCreateRequest) AnnouncementCommentsAPIAnnouncementCommentCreateRequest
func (AnnouncementCommentsAPIAnnouncementCommentCreateRequest) Execute ¶
func (r AnnouncementCommentsAPIAnnouncementCommentCreateRequest) Execute() (*AnnouncementCommentCreate200Response, *http.Response, error)
type AnnouncementCommentsAPIAnnouncementCommentDeleteRequest ¶
type AnnouncementCommentsAPIAnnouncementCommentDeleteRequest struct { ApiService AnnouncementCommentsAPI // contains filtered or unexported fields }
type AnnouncementCommentsAPIAnnouncementCommentReadManyRequest ¶
type AnnouncementCommentsAPIAnnouncementCommentReadManyRequest struct { ApiService AnnouncementCommentsAPI // contains filtered or unexported fields }
func (AnnouncementCommentsAPIAnnouncementCommentReadManyRequest) Execute ¶
func (r AnnouncementCommentsAPIAnnouncementCommentReadManyRequest) Execute() (*AnnouncementCommentReadMany200Response, *http.Response, error)
type AnnouncementCommentsAPIAnnouncementCommentReadRequest ¶
type AnnouncementCommentsAPIAnnouncementCommentReadRequest struct { ApiService AnnouncementCommentsAPI // contains filtered or unexported fields }
func (AnnouncementCommentsAPIAnnouncementCommentReadRequest) Execute ¶
func (r AnnouncementCommentsAPIAnnouncementCommentReadRequest) Execute() (*AnnouncementCommentCreate200Response, *http.Response, error)
type AnnouncementCommentsAPIAnnouncementCommentUpdateRequest ¶
type AnnouncementCommentsAPIAnnouncementCommentUpdateRequest struct { ApiService AnnouncementCommentsAPI // contains filtered or unexported fields }
func (AnnouncementCommentsAPIAnnouncementCommentUpdateRequest) AnnouncementCommentCreateRequest ¶
func (r AnnouncementCommentsAPIAnnouncementCommentUpdateRequest) AnnouncementCommentCreateRequest(announcementCommentCreateRequest AnnouncementCommentCreateRequest) AnnouncementCommentsAPIAnnouncementCommentUpdateRequest
func (AnnouncementCommentsAPIAnnouncementCommentUpdateRequest) Execute ¶
func (r AnnouncementCommentsAPIAnnouncementCommentUpdateRequest) Execute() (*AnnouncementCommentCreate200Response, *http.Response, error)
type AnnouncementCommentsAPIService ¶
type AnnouncementCommentsAPIService service
AnnouncementCommentsAPIService AnnouncementCommentsAPI service
func (*AnnouncementCommentsAPIService) AnnouncementCommentCreate ¶
func (a *AnnouncementCommentsAPIService) AnnouncementCommentCreate(ctx context.Context, channelId string, announcementId string) AnnouncementCommentsAPIAnnouncementCommentCreateRequest
AnnouncementCommentCreate Create a comment on an announcement
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param announcementId @return AnnouncementCommentsAPIAnnouncementCommentCreateRequest
func (*AnnouncementCommentsAPIService) AnnouncementCommentCreateExecute ¶
func (a *AnnouncementCommentsAPIService) AnnouncementCommentCreateExecute(r AnnouncementCommentsAPIAnnouncementCommentCreateRequest) (*AnnouncementCommentCreate200Response, *http.Response, error)
Execute executes the request
@return AnnouncementCommentCreate200Response
func (*AnnouncementCommentsAPIService) AnnouncementCommentDelete ¶
func (a *AnnouncementCommentsAPIService) AnnouncementCommentDelete(ctx context.Context, channelId string, announcementId string, announcementCommentId int32) AnnouncementCommentsAPIAnnouncementCommentDeleteRequest
AnnouncementCommentDelete Delete an announcement comment
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param announcementId @param announcementCommentId @return AnnouncementCommentsAPIAnnouncementCommentDeleteRequest
func (*AnnouncementCommentsAPIService) AnnouncementCommentDeleteExecute ¶
func (a *AnnouncementCommentsAPIService) AnnouncementCommentDeleteExecute(r AnnouncementCommentsAPIAnnouncementCommentDeleteRequest) (*http.Response, error)
Execute executes the request
func (*AnnouncementCommentsAPIService) AnnouncementCommentRead ¶
func (a *AnnouncementCommentsAPIService) AnnouncementCommentRead(ctx context.Context, channelId string, announcementId string, announcementCommentId int32) AnnouncementCommentsAPIAnnouncementCommentReadRequest
AnnouncementCommentRead Get a comment on the announcement
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param announcementId @param announcementCommentId @return AnnouncementCommentsAPIAnnouncementCommentReadRequest
func (*AnnouncementCommentsAPIService) AnnouncementCommentReadExecute ¶
func (a *AnnouncementCommentsAPIService) AnnouncementCommentReadExecute(r AnnouncementCommentsAPIAnnouncementCommentReadRequest) (*AnnouncementCommentCreate200Response, *http.Response, error)
Execute executes the request
@return AnnouncementCommentCreate200Response
func (*AnnouncementCommentsAPIService) AnnouncementCommentReadMany ¶
func (a *AnnouncementCommentsAPIService) AnnouncementCommentReadMany(ctx context.Context, channelId string, announcementId string) AnnouncementCommentsAPIAnnouncementCommentReadManyRequest
AnnouncementCommentReadMany Get an announcement's comments
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param announcementId @return AnnouncementCommentsAPIAnnouncementCommentReadManyRequest
func (*AnnouncementCommentsAPIService) AnnouncementCommentReadManyExecute ¶
func (a *AnnouncementCommentsAPIService) AnnouncementCommentReadManyExecute(r AnnouncementCommentsAPIAnnouncementCommentReadManyRequest) (*AnnouncementCommentReadMany200Response, *http.Response, error)
Execute executes the request
@return AnnouncementCommentReadMany200Response
func (*AnnouncementCommentsAPIService) AnnouncementCommentUpdate ¶
func (a *AnnouncementCommentsAPIService) AnnouncementCommentUpdate(ctx context.Context, channelId string, announcementId string, announcementCommentId int32) AnnouncementCommentsAPIAnnouncementCommentUpdateRequest
AnnouncementCommentUpdate Update an announcement comment
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param announcementId @param announcementCommentId @return AnnouncementCommentsAPIAnnouncementCommentUpdateRequest
func (*AnnouncementCommentsAPIService) AnnouncementCommentUpdateExecute ¶
func (a *AnnouncementCommentsAPIService) AnnouncementCommentUpdateExecute(r AnnouncementCommentsAPIAnnouncementCommentUpdateRequest) (*AnnouncementCommentCreate200Response, *http.Response, error)
Execute executes the request
@return AnnouncementCommentCreate200Response
type AnnouncementCreate200Response ¶
type AnnouncementCreate200Response struct {
Announcement Announcement `json:"announcement"`
}
AnnouncementCreate200Response struct for AnnouncementCreate200Response
func NewAnnouncementCreate200Response ¶
func NewAnnouncementCreate200Response(announcement Announcement) *AnnouncementCreate200Response
NewAnnouncementCreate200Response instantiates a new AnnouncementCreate200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAnnouncementCreate200ResponseWithDefaults ¶
func NewAnnouncementCreate200ResponseWithDefaults() *AnnouncementCreate200Response
NewAnnouncementCreate200ResponseWithDefaults instantiates a new AnnouncementCreate200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AnnouncementCreate200Response) GetAnnouncement ¶
func (o *AnnouncementCreate200Response) GetAnnouncement() Announcement
GetAnnouncement returns the Announcement field value
func (*AnnouncementCreate200Response) GetAnnouncementOk ¶
func (o *AnnouncementCreate200Response) GetAnnouncementOk() (*Announcement, bool)
GetAnnouncementOk returns a tuple with the Announcement field value and a boolean to check if the value has been set.
func (AnnouncementCreate200Response) MarshalJSON ¶
func (o AnnouncementCreate200Response) MarshalJSON() ([]byte, error)
func (*AnnouncementCreate200Response) SetAnnouncement ¶
func (o *AnnouncementCreate200Response) SetAnnouncement(v Announcement)
SetAnnouncement sets field value
func (AnnouncementCreate200Response) ToMap ¶
func (o AnnouncementCreate200Response) ToMap() (map[string]interface{}, error)
func (*AnnouncementCreate200Response) UnmarshalJSON ¶
func (o *AnnouncementCreate200Response) UnmarshalJSON(data []byte) (err error)
type AnnouncementCreateRequest ¶
type AnnouncementCreateRequest struct { // The title of the announcement Title string `json:"title"` Content Content4 `json:"content"` }
AnnouncementCreateRequest struct for AnnouncementCreateRequest
func NewAnnouncementCreateRequest ¶
func NewAnnouncementCreateRequest(title string, content Content4) *AnnouncementCreateRequest
NewAnnouncementCreateRequest instantiates a new AnnouncementCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAnnouncementCreateRequestWithDefaults ¶
func NewAnnouncementCreateRequestWithDefaults() *AnnouncementCreateRequest
NewAnnouncementCreateRequestWithDefaults instantiates a new AnnouncementCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AnnouncementCreateRequest) GetContent ¶
func (o *AnnouncementCreateRequest) GetContent() Content4
GetContent returns the Content field value
func (*AnnouncementCreateRequest) GetContentOk ¶
func (o *AnnouncementCreateRequest) GetContentOk() (*Content4, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*AnnouncementCreateRequest) GetTitle ¶
func (o *AnnouncementCreateRequest) GetTitle() string
GetTitle returns the Title field value
func (*AnnouncementCreateRequest) GetTitleOk ¶
func (o *AnnouncementCreateRequest) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (AnnouncementCreateRequest) MarshalJSON ¶
func (o AnnouncementCreateRequest) MarshalJSON() ([]byte, error)
func (*AnnouncementCreateRequest) SetContent ¶
func (o *AnnouncementCreateRequest) SetContent(v Content4)
SetContent sets field value
func (*AnnouncementCreateRequest) SetTitle ¶
func (o *AnnouncementCreateRequest) SetTitle(v string)
SetTitle sets field value
func (AnnouncementCreateRequest) ToMap ¶
func (o AnnouncementCreateRequest) ToMap() (map[string]interface{}, error)
func (*AnnouncementCreateRequest) UnmarshalJSON ¶
func (o *AnnouncementCreateRequest) UnmarshalJSON(data []byte) (err error)
type AnnouncementReaction ¶
type AnnouncementReaction struct { // The ID of the channel ChannelId string `json:"channelId"` // The ID of the user who added the reaction CreatedBy string `json:"createdBy"` Emote Emote `json:"emote"` // The ID of the announcement AnnouncementId string `json:"announcementId"` }
AnnouncementReaction struct for AnnouncementReaction
func NewAnnouncementReaction ¶
func NewAnnouncementReaction(channelId string, createdBy string, emote Emote, announcementId string) *AnnouncementReaction
NewAnnouncementReaction instantiates a new AnnouncementReaction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAnnouncementReactionWithDefaults ¶
func NewAnnouncementReactionWithDefaults() *AnnouncementReaction
NewAnnouncementReactionWithDefaults instantiates a new AnnouncementReaction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AnnouncementReaction) GetAnnouncementId ¶
func (o *AnnouncementReaction) GetAnnouncementId() string
GetAnnouncementId returns the AnnouncementId field value
func (*AnnouncementReaction) GetAnnouncementIdOk ¶
func (o *AnnouncementReaction) GetAnnouncementIdOk() (*string, bool)
GetAnnouncementIdOk returns a tuple with the AnnouncementId field value and a boolean to check if the value has been set.
func (*AnnouncementReaction) GetChannelId ¶
func (o *AnnouncementReaction) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*AnnouncementReaction) GetChannelIdOk ¶
func (o *AnnouncementReaction) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*AnnouncementReaction) GetCreatedBy ¶
func (o *AnnouncementReaction) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*AnnouncementReaction) GetCreatedByOk ¶
func (o *AnnouncementReaction) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*AnnouncementReaction) GetEmote ¶
func (o *AnnouncementReaction) GetEmote() Emote
GetEmote returns the Emote field value
func (*AnnouncementReaction) GetEmoteOk ¶
func (o *AnnouncementReaction) GetEmoteOk() (*Emote, bool)
GetEmoteOk returns a tuple with the Emote field value and a boolean to check if the value has been set.
func (AnnouncementReaction) MarshalJSON ¶
func (o AnnouncementReaction) MarshalJSON() ([]byte, error)
func (*AnnouncementReaction) SetAnnouncementId ¶
func (o *AnnouncementReaction) SetAnnouncementId(v string)
SetAnnouncementId sets field value
func (*AnnouncementReaction) SetChannelId ¶
func (o *AnnouncementReaction) SetChannelId(v string)
SetChannelId sets field value
func (*AnnouncementReaction) SetCreatedBy ¶
func (o *AnnouncementReaction) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*AnnouncementReaction) SetEmote ¶
func (o *AnnouncementReaction) SetEmote(v Emote)
SetEmote sets field value
func (AnnouncementReaction) ToMap ¶
func (o AnnouncementReaction) ToMap() (map[string]interface{}, error)
func (*AnnouncementReaction) UnmarshalJSON ¶
func (o *AnnouncementReaction) UnmarshalJSON(data []byte) (err error)
type AnnouncementReadMany200Response ¶
type AnnouncementReadMany200Response struct {
Announcements []Announcement `json:"announcements"`
}
AnnouncementReadMany200Response struct for AnnouncementReadMany200Response
func NewAnnouncementReadMany200Response ¶
func NewAnnouncementReadMany200Response(announcements []Announcement) *AnnouncementReadMany200Response
NewAnnouncementReadMany200Response instantiates a new AnnouncementReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAnnouncementReadMany200ResponseWithDefaults ¶
func NewAnnouncementReadMany200ResponseWithDefaults() *AnnouncementReadMany200Response
NewAnnouncementReadMany200ResponseWithDefaults instantiates a new AnnouncementReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AnnouncementReadMany200Response) GetAnnouncements ¶
func (o *AnnouncementReadMany200Response) GetAnnouncements() []Announcement
GetAnnouncements returns the Announcements field value
func (*AnnouncementReadMany200Response) GetAnnouncementsOk ¶
func (o *AnnouncementReadMany200Response) GetAnnouncementsOk() ([]Announcement, bool)
GetAnnouncementsOk returns a tuple with the Announcements field value and a boolean to check if the value has been set.
func (AnnouncementReadMany200Response) MarshalJSON ¶
func (o AnnouncementReadMany200Response) MarshalJSON() ([]byte, error)
func (*AnnouncementReadMany200Response) SetAnnouncements ¶
func (o *AnnouncementReadMany200Response) SetAnnouncements(v []Announcement)
SetAnnouncements sets field value
func (AnnouncementReadMany200Response) ToMap ¶
func (o AnnouncementReadMany200Response) ToMap() (map[string]interface{}, error)
func (*AnnouncementReadMany200Response) UnmarshalJSON ¶
func (o *AnnouncementReadMany200Response) UnmarshalJSON(data []byte) (err error)
type AnnouncementUpdateRequest ¶
type AnnouncementUpdateRequest struct { // The title of the announcement Title *string `json:"title,omitempty"` Content *Content4 `json:"content,omitempty"` }
AnnouncementUpdateRequest struct for AnnouncementUpdateRequest
func NewAnnouncementUpdateRequest ¶
func NewAnnouncementUpdateRequest() *AnnouncementUpdateRequest
NewAnnouncementUpdateRequest instantiates a new AnnouncementUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAnnouncementUpdateRequestWithDefaults ¶
func NewAnnouncementUpdateRequestWithDefaults() *AnnouncementUpdateRequest
NewAnnouncementUpdateRequestWithDefaults instantiates a new AnnouncementUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AnnouncementUpdateRequest) GetContent ¶
func (o *AnnouncementUpdateRequest) GetContent() Content4
GetContent returns the Content field value if set, zero value otherwise.
func (*AnnouncementUpdateRequest) GetContentOk ¶
func (o *AnnouncementUpdateRequest) GetContentOk() (*Content4, bool)
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnnouncementUpdateRequest) GetTitle ¶
func (o *AnnouncementUpdateRequest) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*AnnouncementUpdateRequest) GetTitleOk ¶
func (o *AnnouncementUpdateRequest) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnnouncementUpdateRequest) HasContent ¶
func (o *AnnouncementUpdateRequest) HasContent() bool
HasContent returns a boolean if a field has been set.
func (*AnnouncementUpdateRequest) HasTitle ¶
func (o *AnnouncementUpdateRequest) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (AnnouncementUpdateRequest) MarshalJSON ¶
func (o AnnouncementUpdateRequest) MarshalJSON() ([]byte, error)
func (*AnnouncementUpdateRequest) SetContent ¶
func (o *AnnouncementUpdateRequest) SetContent(v Content4)
SetContent gets a reference to the given Content4 and assigns it to the Content field.
func (*AnnouncementUpdateRequest) SetTitle ¶
func (o *AnnouncementUpdateRequest) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (AnnouncementUpdateRequest) ToMap ¶
func (o AnnouncementUpdateRequest) ToMap() (map[string]interface{}, error)
type AnnouncementsAPI ¶
type AnnouncementsAPI interface { /* AnnouncementCreate Create an announcement @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return AnnouncementsAPIAnnouncementCreateRequest */ AnnouncementCreate(ctx context.Context, channelId string) AnnouncementsAPIAnnouncementCreateRequest // AnnouncementCreateExecute executes the request // @return AnnouncementCreate200Response AnnouncementCreateExecute(r AnnouncementsAPIAnnouncementCreateRequest) (*AnnouncementCreate200Response, *http.Response, error) /* AnnouncementDelete Delete an announcement @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param announcementId @return AnnouncementsAPIAnnouncementDeleteRequest */ AnnouncementDelete(ctx context.Context, channelId string, announcementId string) AnnouncementsAPIAnnouncementDeleteRequest // AnnouncementDeleteExecute executes the request AnnouncementDeleteExecute(r AnnouncementsAPIAnnouncementDeleteRequest) (*http.Response, error) /* AnnouncementRead Read an announcement @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param announcementId @return AnnouncementsAPIAnnouncementReadRequest */ AnnouncementRead(ctx context.Context, channelId string, announcementId string) AnnouncementsAPIAnnouncementReadRequest // AnnouncementReadExecute executes the request // @return AnnouncementCreate200Response AnnouncementReadExecute(r AnnouncementsAPIAnnouncementReadRequest) (*AnnouncementCreate200Response, *http.Response, error) /* AnnouncementReadMany Get announcements Results returned will be ordered ascending by the announcement's `createdAt`. `before` will filter based on the announcement's `createdAt` @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return AnnouncementsAPIAnnouncementReadManyRequest */ AnnouncementReadMany(ctx context.Context, channelId string) AnnouncementsAPIAnnouncementReadManyRequest // AnnouncementReadManyExecute executes the request // @return AnnouncementReadMany200Response AnnouncementReadManyExecute(r AnnouncementsAPIAnnouncementReadManyRequest) (*AnnouncementReadMany200Response, *http.Response, error) /* AnnouncementUpdate Update an announcement @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param announcementId @return AnnouncementsAPIAnnouncementUpdateRequest */ AnnouncementUpdate(ctx context.Context, channelId string, announcementId string) AnnouncementsAPIAnnouncementUpdateRequest // AnnouncementUpdateExecute executes the request // @return AnnouncementCreate200Response AnnouncementUpdateExecute(r AnnouncementsAPIAnnouncementUpdateRequest) (*AnnouncementCreate200Response, *http.Response, error) }
type AnnouncementsAPIAnnouncementCreateRequest ¶
type AnnouncementsAPIAnnouncementCreateRequest struct { ApiService AnnouncementsAPI // contains filtered or unexported fields }
func (AnnouncementsAPIAnnouncementCreateRequest) AnnouncementCreateRequest ¶
func (r AnnouncementsAPIAnnouncementCreateRequest) AnnouncementCreateRequest(announcementCreateRequest AnnouncementCreateRequest) AnnouncementsAPIAnnouncementCreateRequest
func (AnnouncementsAPIAnnouncementCreateRequest) Execute ¶
func (r AnnouncementsAPIAnnouncementCreateRequest) Execute() (*AnnouncementCreate200Response, *http.Response, error)
type AnnouncementsAPIAnnouncementDeleteRequest ¶
type AnnouncementsAPIAnnouncementDeleteRequest struct { ApiService AnnouncementsAPI // contains filtered or unexported fields }
type AnnouncementsAPIAnnouncementReadManyRequest ¶
type AnnouncementsAPIAnnouncementReadManyRequest struct { ApiService AnnouncementsAPI // contains filtered or unexported fields }
func (AnnouncementsAPIAnnouncementReadManyRequest) Before ¶
func (r AnnouncementsAPIAnnouncementReadManyRequest) Before(before time.Time) AnnouncementsAPIAnnouncementReadManyRequest
func (AnnouncementsAPIAnnouncementReadManyRequest) Execute ¶
func (r AnnouncementsAPIAnnouncementReadManyRequest) Execute() (*AnnouncementReadMany200Response, *http.Response, error)
func (AnnouncementsAPIAnnouncementReadManyRequest) Limit ¶
func (r AnnouncementsAPIAnnouncementReadManyRequest) Limit(limit int32) AnnouncementsAPIAnnouncementReadManyRequest
type AnnouncementsAPIAnnouncementReadRequest ¶
type AnnouncementsAPIAnnouncementReadRequest struct { ApiService AnnouncementsAPI // contains filtered or unexported fields }
func (AnnouncementsAPIAnnouncementReadRequest) Execute ¶
func (r AnnouncementsAPIAnnouncementReadRequest) Execute() (*AnnouncementCreate200Response, *http.Response, error)
type AnnouncementsAPIAnnouncementUpdateRequest ¶
type AnnouncementsAPIAnnouncementUpdateRequest struct { ApiService AnnouncementsAPI // contains filtered or unexported fields }
func (AnnouncementsAPIAnnouncementUpdateRequest) AnnouncementUpdateRequest ¶
func (r AnnouncementsAPIAnnouncementUpdateRequest) AnnouncementUpdateRequest(announcementUpdateRequest AnnouncementUpdateRequest) AnnouncementsAPIAnnouncementUpdateRequest
func (AnnouncementsAPIAnnouncementUpdateRequest) Execute ¶
func (r AnnouncementsAPIAnnouncementUpdateRequest) Execute() (*AnnouncementCreate200Response, *http.Response, error)
type AnnouncementsAPIService ¶
type AnnouncementsAPIService service
AnnouncementsAPIService AnnouncementsAPI service
func (*AnnouncementsAPIService) AnnouncementCreate ¶
func (a *AnnouncementsAPIService) AnnouncementCreate(ctx context.Context, channelId string) AnnouncementsAPIAnnouncementCreateRequest
AnnouncementCreate Create an announcement
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return AnnouncementsAPIAnnouncementCreateRequest
func (*AnnouncementsAPIService) AnnouncementCreateExecute ¶
func (a *AnnouncementsAPIService) AnnouncementCreateExecute(r AnnouncementsAPIAnnouncementCreateRequest) (*AnnouncementCreate200Response, *http.Response, error)
Execute executes the request
@return AnnouncementCreate200Response
func (*AnnouncementsAPIService) AnnouncementDelete ¶
func (a *AnnouncementsAPIService) AnnouncementDelete(ctx context.Context, channelId string, announcementId string) AnnouncementsAPIAnnouncementDeleteRequest
AnnouncementDelete Delete an announcement
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param announcementId @return AnnouncementsAPIAnnouncementDeleteRequest
func (*AnnouncementsAPIService) AnnouncementDeleteExecute ¶
func (a *AnnouncementsAPIService) AnnouncementDeleteExecute(r AnnouncementsAPIAnnouncementDeleteRequest) (*http.Response, error)
Execute executes the request
func (*AnnouncementsAPIService) AnnouncementRead ¶
func (a *AnnouncementsAPIService) AnnouncementRead(ctx context.Context, channelId string, announcementId string) AnnouncementsAPIAnnouncementReadRequest
AnnouncementRead Read an announcement
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param announcementId @return AnnouncementsAPIAnnouncementReadRequest
func (*AnnouncementsAPIService) AnnouncementReadExecute ¶
func (a *AnnouncementsAPIService) AnnouncementReadExecute(r AnnouncementsAPIAnnouncementReadRequest) (*AnnouncementCreate200Response, *http.Response, error)
Execute executes the request
@return AnnouncementCreate200Response
func (*AnnouncementsAPIService) AnnouncementReadMany ¶
func (a *AnnouncementsAPIService) AnnouncementReadMany(ctx context.Context, channelId string) AnnouncementsAPIAnnouncementReadManyRequest
AnnouncementReadMany Get announcements
Results returned will be ordered ascending by the announcement's `createdAt`. `before` will filter based on the announcement's `createdAt`
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return AnnouncementsAPIAnnouncementReadManyRequest
func (*AnnouncementsAPIService) AnnouncementReadManyExecute ¶
func (a *AnnouncementsAPIService) AnnouncementReadManyExecute(r AnnouncementsAPIAnnouncementReadManyRequest) (*AnnouncementReadMany200Response, *http.Response, error)
Execute executes the request
@return AnnouncementReadMany200Response
func (*AnnouncementsAPIService) AnnouncementUpdate ¶
func (a *AnnouncementsAPIService) AnnouncementUpdate(ctx context.Context, channelId string, announcementId string) AnnouncementsAPIAnnouncementUpdateRequest
AnnouncementUpdate Update an announcement
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param announcementId @return AnnouncementsAPIAnnouncementUpdateRequest
func (*AnnouncementsAPIService) AnnouncementUpdateExecute ¶
func (a *AnnouncementsAPIService) AnnouncementUpdateExecute(r AnnouncementsAPIAnnouncementUpdateRequest) (*AnnouncementCreate200Response, *http.Response, error)
Execute executes the request
@return AnnouncementCreate200Response
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type CalendarEvent ¶
type CalendarEvent struct { // The ID of the calendar event Id int32 `json:"id"` // The ID of the server ServerId string `json:"serverId"` // The ID of the group GroupId string `json:"groupId"` // The ID of the channel ChannelId string `json:"channelId"` // The name of the event Name string `json:"name"` // The description of the event Description *string `json:"description,omitempty"` // The location of the event Location *string `json:"location,omitempty"` // A URL to associate with the event Url *string `json:"url,omitempty"` // The integer value corresponds to the decimal RGB representation for the color. The color of the event when viewing in the calendar Color *int32 `json:"color,omitempty"` // Is this event a repeating event Repeats *bool `json:"repeats,omitempty"` // The ID of the calendar event series. Only shows if the event is repeating SeriesId *string `json:"seriesId,omitempty"` // The role IDs to restrict the event to RoleIds []int32 `json:"roleIds,omitempty"` // When disabled, users will not be able to RSVP to the event RsvpDisabled *bool `json:"rsvpDisabled,omitempty"` // Does the event last all day IsAllDay *bool `json:"isAllDay,omitempty"` // The number of RSVPs to allow before waitlisting RSVPs RsvpLimit *int32 `json:"rsvpLimit,omitempty"` // When `rsvpLimit` is set, users from the waitlist will be added as space becomes available in the event AutofillWaitlist *bool `json:"autofillWaitlist,omitempty"` // The ISO 8601 timestamp that the event starts at StartsAt time.Time `json:"startsAt"` // The duration of the event _**in minutes**_ Duration *int32 `json:"duration,omitempty"` IsPrivate *bool `json:"isPrivate,omitempty"` Mentions NullableMentions `json:"mentions,omitempty"` // The ISO 8601 timestamp that the event was created at CreatedAt time.Time `json:"createdAt"` // The ID of the user who created this event CreatedBy string `json:"createdBy"` Cancellation *CalendarEventCancellation `json:"cancellation,omitempty"` }
CalendarEvent struct for CalendarEvent
func NewCalendarEvent ¶
func NewCalendarEvent(id int32, serverId string, groupId string, channelId string, name string, startsAt time.Time, createdAt time.Time, createdBy string) *CalendarEvent
NewCalendarEvent instantiates a new CalendarEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventWithDefaults ¶
func NewCalendarEventWithDefaults() *CalendarEvent
NewCalendarEventWithDefaults instantiates a new CalendarEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEvent) GetAutofillWaitlist ¶
func (o *CalendarEvent) GetAutofillWaitlist() bool
GetAutofillWaitlist returns the AutofillWaitlist field value if set, zero value otherwise.
func (*CalendarEvent) GetAutofillWaitlistOk ¶
func (o *CalendarEvent) GetAutofillWaitlistOk() (*bool, bool)
GetAutofillWaitlistOk returns a tuple with the AutofillWaitlist field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEvent) GetCancellation ¶
func (o *CalendarEvent) GetCancellation() CalendarEventCancellation
GetCancellation returns the Cancellation field value if set, zero value otherwise.
func (*CalendarEvent) GetCancellationOk ¶
func (o *CalendarEvent) GetCancellationOk() (*CalendarEventCancellation, bool)
GetCancellationOk returns a tuple with the Cancellation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEvent) GetChannelId ¶
func (o *CalendarEvent) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*CalendarEvent) GetChannelIdOk ¶
func (o *CalendarEvent) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*CalendarEvent) GetColor ¶
func (o *CalendarEvent) GetColor() int32
GetColor returns the Color field value if set, zero value otherwise.
func (*CalendarEvent) GetColorOk ¶
func (o *CalendarEvent) GetColorOk() (*int32, bool)
GetColorOk returns a tuple with the Color field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEvent) GetCreatedAt ¶
func (o *CalendarEvent) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*CalendarEvent) GetCreatedAtOk ¶
func (o *CalendarEvent) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*CalendarEvent) GetCreatedBy ¶
func (o *CalendarEvent) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*CalendarEvent) GetCreatedByOk ¶
func (o *CalendarEvent) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*CalendarEvent) GetDescription ¶
func (o *CalendarEvent) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CalendarEvent) GetDescriptionOk ¶
func (o *CalendarEvent) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEvent) GetDuration ¶
func (o *CalendarEvent) GetDuration() int32
GetDuration returns the Duration field value if set, zero value otherwise.
func (*CalendarEvent) GetDurationOk ¶
func (o *CalendarEvent) GetDurationOk() (*int32, bool)
GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEvent) GetGroupId ¶
func (o *CalendarEvent) GetGroupId() string
GetGroupId returns the GroupId field value
func (*CalendarEvent) GetGroupIdOk ¶
func (o *CalendarEvent) GetGroupIdOk() (*string, bool)
GetGroupIdOk returns a tuple with the GroupId field value and a boolean to check if the value has been set.
func (*CalendarEvent) GetId ¶
func (o *CalendarEvent) GetId() int32
GetId returns the Id field value
func (*CalendarEvent) GetIdOk ¶
func (o *CalendarEvent) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*CalendarEvent) GetIsAllDay ¶
func (o *CalendarEvent) GetIsAllDay() bool
GetIsAllDay returns the IsAllDay field value if set, zero value otherwise.
func (*CalendarEvent) GetIsAllDayOk ¶
func (o *CalendarEvent) GetIsAllDayOk() (*bool, bool)
GetIsAllDayOk returns a tuple with the IsAllDay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEvent) GetIsPrivate ¶
func (o *CalendarEvent) GetIsPrivate() bool
GetIsPrivate returns the IsPrivate field value if set, zero value otherwise.
func (*CalendarEvent) GetIsPrivateOk ¶
func (o *CalendarEvent) GetIsPrivateOk() (*bool, bool)
GetIsPrivateOk returns a tuple with the IsPrivate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEvent) GetLocation ¶
func (o *CalendarEvent) GetLocation() string
GetLocation returns the Location field value if set, zero value otherwise.
func (*CalendarEvent) GetLocationOk ¶
func (o *CalendarEvent) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEvent) GetMentions ¶
func (o *CalendarEvent) GetMentions() Mentions
GetMentions returns the Mentions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CalendarEvent) GetMentionsOk ¶
func (o *CalendarEvent) GetMentionsOk() (*Mentions, bool)
GetMentionsOk returns a tuple with the Mentions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CalendarEvent) GetName ¶
func (o *CalendarEvent) GetName() string
GetName returns the Name field value
func (*CalendarEvent) GetNameOk ¶
func (o *CalendarEvent) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CalendarEvent) GetRepeats ¶
func (o *CalendarEvent) GetRepeats() bool
GetRepeats returns the Repeats field value if set, zero value otherwise.
func (*CalendarEvent) GetRepeatsOk ¶
func (o *CalendarEvent) GetRepeatsOk() (*bool, bool)
GetRepeatsOk returns a tuple with the Repeats field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEvent) GetRoleIds ¶
func (o *CalendarEvent) GetRoleIds() []int32
GetRoleIds returns the RoleIds field value if set, zero value otherwise.
func (*CalendarEvent) GetRoleIdsOk ¶
func (o *CalendarEvent) GetRoleIdsOk() ([]int32, bool)
GetRoleIdsOk returns a tuple with the RoleIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEvent) GetRsvpDisabled ¶
func (o *CalendarEvent) GetRsvpDisabled() bool
GetRsvpDisabled returns the RsvpDisabled field value if set, zero value otherwise.
func (*CalendarEvent) GetRsvpDisabledOk ¶
func (o *CalendarEvent) GetRsvpDisabledOk() (*bool, bool)
GetRsvpDisabledOk returns a tuple with the RsvpDisabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEvent) GetRsvpLimit ¶
func (o *CalendarEvent) GetRsvpLimit() int32
GetRsvpLimit returns the RsvpLimit field value if set, zero value otherwise.
func (*CalendarEvent) GetRsvpLimitOk ¶
func (o *CalendarEvent) GetRsvpLimitOk() (*int32, bool)
GetRsvpLimitOk returns a tuple with the RsvpLimit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEvent) GetSeriesId ¶
func (o *CalendarEvent) GetSeriesId() string
GetSeriesId returns the SeriesId field value if set, zero value otherwise.
func (*CalendarEvent) GetSeriesIdOk ¶
func (o *CalendarEvent) GetSeriesIdOk() (*string, bool)
GetSeriesIdOk returns a tuple with the SeriesId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEvent) GetServerId ¶
func (o *CalendarEvent) GetServerId() string
GetServerId returns the ServerId field value
func (*CalendarEvent) GetServerIdOk ¶
func (o *CalendarEvent) GetServerIdOk() (*string, bool)
GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.
func (*CalendarEvent) GetStartsAt ¶
func (o *CalendarEvent) GetStartsAt() time.Time
GetStartsAt returns the StartsAt field value
func (*CalendarEvent) GetStartsAtOk ¶
func (o *CalendarEvent) GetStartsAtOk() (*time.Time, bool)
GetStartsAtOk returns a tuple with the StartsAt field value and a boolean to check if the value has been set.
func (*CalendarEvent) GetUrl ¶
func (o *CalendarEvent) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*CalendarEvent) GetUrlOk ¶
func (o *CalendarEvent) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEvent) HasAutofillWaitlist ¶
func (o *CalendarEvent) HasAutofillWaitlist() bool
HasAutofillWaitlist returns a boolean if a field has been set.
func (*CalendarEvent) HasCancellation ¶
func (o *CalendarEvent) HasCancellation() bool
HasCancellation returns a boolean if a field has been set.
func (*CalendarEvent) HasColor ¶
func (o *CalendarEvent) HasColor() bool
HasColor returns a boolean if a field has been set.
func (*CalendarEvent) HasDescription ¶
func (o *CalendarEvent) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CalendarEvent) HasDuration ¶
func (o *CalendarEvent) HasDuration() bool
HasDuration returns a boolean if a field has been set.
func (*CalendarEvent) HasIsAllDay ¶
func (o *CalendarEvent) HasIsAllDay() bool
HasIsAllDay returns a boolean if a field has been set.
func (*CalendarEvent) HasIsPrivate ¶
func (o *CalendarEvent) HasIsPrivate() bool
HasIsPrivate returns a boolean if a field has been set.
func (*CalendarEvent) HasLocation ¶
func (o *CalendarEvent) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (*CalendarEvent) HasMentions ¶
func (o *CalendarEvent) HasMentions() bool
HasMentions returns a boolean if a field has been set.
func (*CalendarEvent) HasRepeats ¶
func (o *CalendarEvent) HasRepeats() bool
HasRepeats returns a boolean if a field has been set.
func (*CalendarEvent) HasRoleIds ¶
func (o *CalendarEvent) HasRoleIds() bool
HasRoleIds returns a boolean if a field has been set.
func (*CalendarEvent) HasRsvpDisabled ¶
func (o *CalendarEvent) HasRsvpDisabled() bool
HasRsvpDisabled returns a boolean if a field has been set.
func (*CalendarEvent) HasRsvpLimit ¶
func (o *CalendarEvent) HasRsvpLimit() bool
HasRsvpLimit returns a boolean if a field has been set.
func (*CalendarEvent) HasSeriesId ¶
func (o *CalendarEvent) HasSeriesId() bool
HasSeriesId returns a boolean if a field has been set.
func (*CalendarEvent) HasUrl ¶
func (o *CalendarEvent) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (CalendarEvent) MarshalJSON ¶
func (o CalendarEvent) MarshalJSON() ([]byte, error)
func (*CalendarEvent) SetAutofillWaitlist ¶
func (o *CalendarEvent) SetAutofillWaitlist(v bool)
SetAutofillWaitlist gets a reference to the given bool and assigns it to the AutofillWaitlist field.
func (*CalendarEvent) SetCancellation ¶
func (o *CalendarEvent) SetCancellation(v CalendarEventCancellation)
SetCancellation gets a reference to the given CalendarEventCancellation and assigns it to the Cancellation field.
func (*CalendarEvent) SetChannelId ¶
func (o *CalendarEvent) SetChannelId(v string)
SetChannelId sets field value
func (*CalendarEvent) SetColor ¶
func (o *CalendarEvent) SetColor(v int32)
SetColor gets a reference to the given int32 and assigns it to the Color field.
func (*CalendarEvent) SetCreatedAt ¶
func (o *CalendarEvent) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*CalendarEvent) SetCreatedBy ¶
func (o *CalendarEvent) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*CalendarEvent) SetDescription ¶
func (o *CalendarEvent) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CalendarEvent) SetDuration ¶
func (o *CalendarEvent) SetDuration(v int32)
SetDuration gets a reference to the given int32 and assigns it to the Duration field.
func (*CalendarEvent) SetGroupId ¶
func (o *CalendarEvent) SetGroupId(v string)
SetGroupId sets field value
func (*CalendarEvent) SetIsAllDay ¶
func (o *CalendarEvent) SetIsAllDay(v bool)
SetIsAllDay gets a reference to the given bool and assigns it to the IsAllDay field.
func (*CalendarEvent) SetIsPrivate ¶
func (o *CalendarEvent) SetIsPrivate(v bool)
SetIsPrivate gets a reference to the given bool and assigns it to the IsPrivate field.
func (*CalendarEvent) SetLocation ¶
func (o *CalendarEvent) SetLocation(v string)
SetLocation gets a reference to the given string and assigns it to the Location field.
func (*CalendarEvent) SetMentions ¶
func (o *CalendarEvent) SetMentions(v Mentions)
SetMentions gets a reference to the given NullableMentions and assigns it to the Mentions field.
func (*CalendarEvent) SetMentionsNil ¶
func (o *CalendarEvent) SetMentionsNil()
SetMentionsNil sets the value for Mentions to be an explicit nil
func (*CalendarEvent) SetRepeats ¶
func (o *CalendarEvent) SetRepeats(v bool)
SetRepeats gets a reference to the given bool and assigns it to the Repeats field.
func (*CalendarEvent) SetRoleIds ¶
func (o *CalendarEvent) SetRoleIds(v []int32)
SetRoleIds gets a reference to the given []int32 and assigns it to the RoleIds field.
func (*CalendarEvent) SetRsvpDisabled ¶
func (o *CalendarEvent) SetRsvpDisabled(v bool)
SetRsvpDisabled gets a reference to the given bool and assigns it to the RsvpDisabled field.
func (*CalendarEvent) SetRsvpLimit ¶
func (o *CalendarEvent) SetRsvpLimit(v int32)
SetRsvpLimit gets a reference to the given int32 and assigns it to the RsvpLimit field.
func (*CalendarEvent) SetSeriesId ¶
func (o *CalendarEvent) SetSeriesId(v string)
SetSeriesId gets a reference to the given string and assigns it to the SeriesId field.
func (*CalendarEvent) SetServerId ¶
func (o *CalendarEvent) SetServerId(v string)
SetServerId sets field value
func (*CalendarEvent) SetStartsAt ¶
func (o *CalendarEvent) SetStartsAt(v time.Time)
SetStartsAt sets field value
func (*CalendarEvent) SetUrl ¶
func (o *CalendarEvent) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (CalendarEvent) ToMap ¶
func (o CalendarEvent) ToMap() (map[string]interface{}, error)
func (*CalendarEvent) UnmarshalJSON ¶
func (o *CalendarEvent) UnmarshalJSON(data []byte) (err error)
func (*CalendarEvent) UnsetMentions ¶
func (o *CalendarEvent) UnsetMentions()
UnsetMentions ensures that no value is present for Mentions, not even an explicit nil
type CalendarEventCancellation ¶
type CalendarEventCancellation struct { // The description of event cancellation Description *string `json:"description,omitempty"` // The ID of the user who created this event cancellation CreatedBy string `json:"createdBy"` }
CalendarEventCancellation struct for CalendarEventCancellation
func NewCalendarEventCancellation ¶
func NewCalendarEventCancellation(createdBy string) *CalendarEventCancellation
NewCalendarEventCancellation instantiates a new CalendarEventCancellation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventCancellationWithDefaults ¶
func NewCalendarEventCancellationWithDefaults() *CalendarEventCancellation
NewCalendarEventCancellationWithDefaults instantiates a new CalendarEventCancellation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventCancellation) GetCreatedBy ¶
func (o *CalendarEventCancellation) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*CalendarEventCancellation) GetCreatedByOk ¶
func (o *CalendarEventCancellation) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*CalendarEventCancellation) GetDescription ¶
func (o *CalendarEventCancellation) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CalendarEventCancellation) GetDescriptionOk ¶
func (o *CalendarEventCancellation) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventCancellation) HasDescription ¶
func (o *CalendarEventCancellation) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (CalendarEventCancellation) MarshalJSON ¶
func (o CalendarEventCancellation) MarshalJSON() ([]byte, error)
func (*CalendarEventCancellation) SetCreatedBy ¶
func (o *CalendarEventCancellation) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*CalendarEventCancellation) SetDescription ¶
func (o *CalendarEventCancellation) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (CalendarEventCancellation) ToMap ¶
func (o CalendarEventCancellation) ToMap() (map[string]interface{}, error)
func (*CalendarEventCancellation) UnmarshalJSON ¶
func (o *CalendarEventCancellation) UnmarshalJSON(data []byte) (err error)
type CalendarEventComment ¶
type CalendarEventComment struct { // The ID of the calendar event comment Id int32 `json:"id"` // The content of the calendar event comment Content string `json:"content"` // The ISO 8601 timestamp that the calendar event comment was created at CreatedAt time.Time `json:"createdAt"` // The ISO 8601 timestamp that the calendar event comment was updated at, if relevant UpdatedAt *time.Time `json:"updatedAt,omitempty"` // The ID of the calendar event CalendarEventId int32 `json:"calendarEventId"` // The ID of the channel ChannelId string `json:"channelId"` // The ID of the user who created this calendar event comment (Note: If this event has `createdByWebhookId` present, this field will still be populated, but can be ignored. In this case, the value of this field will always be Ann6LewA) CreatedBy string `json:"createdBy"` Mentions NullableMentions `json:"mentions,omitempty"` }
CalendarEventComment struct for CalendarEventComment
func NewCalendarEventComment ¶
func NewCalendarEventComment(id int32, content string, createdAt time.Time, calendarEventId int32, channelId string, createdBy string) *CalendarEventComment
NewCalendarEventComment instantiates a new CalendarEventComment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventCommentWithDefaults ¶
func NewCalendarEventCommentWithDefaults() *CalendarEventComment
NewCalendarEventCommentWithDefaults instantiates a new CalendarEventComment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventComment) GetCalendarEventId ¶
func (o *CalendarEventComment) GetCalendarEventId() int32
GetCalendarEventId returns the CalendarEventId field value
func (*CalendarEventComment) GetCalendarEventIdOk ¶
func (o *CalendarEventComment) GetCalendarEventIdOk() (*int32, bool)
GetCalendarEventIdOk returns a tuple with the CalendarEventId field value and a boolean to check if the value has been set.
func (*CalendarEventComment) GetChannelId ¶
func (o *CalendarEventComment) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*CalendarEventComment) GetChannelIdOk ¶
func (o *CalendarEventComment) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*CalendarEventComment) GetContent ¶
func (o *CalendarEventComment) GetContent() string
GetContent returns the Content field value
func (*CalendarEventComment) GetContentOk ¶
func (o *CalendarEventComment) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*CalendarEventComment) GetCreatedAt ¶
func (o *CalendarEventComment) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*CalendarEventComment) GetCreatedAtOk ¶
func (o *CalendarEventComment) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*CalendarEventComment) GetCreatedBy ¶
func (o *CalendarEventComment) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*CalendarEventComment) GetCreatedByOk ¶
func (o *CalendarEventComment) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*CalendarEventComment) GetId ¶
func (o *CalendarEventComment) GetId() int32
GetId returns the Id field value
func (*CalendarEventComment) GetIdOk ¶
func (o *CalendarEventComment) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*CalendarEventComment) GetMentions ¶
func (o *CalendarEventComment) GetMentions() Mentions
GetMentions returns the Mentions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CalendarEventComment) GetMentionsOk ¶
func (o *CalendarEventComment) GetMentionsOk() (*Mentions, bool)
GetMentionsOk returns a tuple with the Mentions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CalendarEventComment) GetUpdatedAt ¶
func (o *CalendarEventComment) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*CalendarEventComment) GetUpdatedAtOk ¶
func (o *CalendarEventComment) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventComment) HasMentions ¶
func (o *CalendarEventComment) HasMentions() bool
HasMentions returns a boolean if a field has been set.
func (*CalendarEventComment) HasUpdatedAt ¶
func (o *CalendarEventComment) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (CalendarEventComment) MarshalJSON ¶
func (o CalendarEventComment) MarshalJSON() ([]byte, error)
func (*CalendarEventComment) SetCalendarEventId ¶
func (o *CalendarEventComment) SetCalendarEventId(v int32)
SetCalendarEventId sets field value
func (*CalendarEventComment) SetChannelId ¶
func (o *CalendarEventComment) SetChannelId(v string)
SetChannelId sets field value
func (*CalendarEventComment) SetContent ¶
func (o *CalendarEventComment) SetContent(v string)
SetContent sets field value
func (*CalendarEventComment) SetCreatedAt ¶
func (o *CalendarEventComment) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*CalendarEventComment) SetCreatedBy ¶
func (o *CalendarEventComment) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*CalendarEventComment) SetId ¶
func (o *CalendarEventComment) SetId(v int32)
SetId sets field value
func (*CalendarEventComment) SetMentions ¶
func (o *CalendarEventComment) SetMentions(v Mentions)
SetMentions gets a reference to the given NullableMentions and assigns it to the Mentions field.
func (*CalendarEventComment) SetMentionsNil ¶
func (o *CalendarEventComment) SetMentionsNil()
SetMentionsNil sets the value for Mentions to be an explicit nil
func (*CalendarEventComment) SetUpdatedAt ¶
func (o *CalendarEventComment) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (CalendarEventComment) ToMap ¶
func (o CalendarEventComment) ToMap() (map[string]interface{}, error)
func (*CalendarEventComment) UnmarshalJSON ¶
func (o *CalendarEventComment) UnmarshalJSON(data []byte) (err error)
func (*CalendarEventComment) UnsetMentions ¶
func (o *CalendarEventComment) UnsetMentions()
UnsetMentions ensures that no value is present for Mentions, not even an explicit nil
type CalendarEventCommentCreate200Response ¶
type CalendarEventCommentCreate200Response struct {
CalendarEventComment CalendarEventComment `json:"calendarEventComment"`
}
CalendarEventCommentCreate200Response struct for CalendarEventCommentCreate200Response
func NewCalendarEventCommentCreate200Response ¶
func NewCalendarEventCommentCreate200Response(calendarEventComment CalendarEventComment) *CalendarEventCommentCreate200Response
NewCalendarEventCommentCreate200Response instantiates a new CalendarEventCommentCreate200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventCommentCreate200ResponseWithDefaults ¶
func NewCalendarEventCommentCreate200ResponseWithDefaults() *CalendarEventCommentCreate200Response
NewCalendarEventCommentCreate200ResponseWithDefaults instantiates a new CalendarEventCommentCreate200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventCommentCreate200Response) GetCalendarEventComment ¶
func (o *CalendarEventCommentCreate200Response) GetCalendarEventComment() CalendarEventComment
GetCalendarEventComment returns the CalendarEventComment field value
func (*CalendarEventCommentCreate200Response) GetCalendarEventCommentOk ¶
func (o *CalendarEventCommentCreate200Response) GetCalendarEventCommentOk() (*CalendarEventComment, bool)
GetCalendarEventCommentOk returns a tuple with the CalendarEventComment field value and a boolean to check if the value has been set.
func (CalendarEventCommentCreate200Response) MarshalJSON ¶
func (o CalendarEventCommentCreate200Response) MarshalJSON() ([]byte, error)
func (*CalendarEventCommentCreate200Response) SetCalendarEventComment ¶
func (o *CalendarEventCommentCreate200Response) SetCalendarEventComment(v CalendarEventComment)
SetCalendarEventComment sets field value
func (CalendarEventCommentCreate200Response) ToMap ¶
func (o CalendarEventCommentCreate200Response) ToMap() (map[string]interface{}, error)
func (*CalendarEventCommentCreate200Response) UnmarshalJSON ¶
func (o *CalendarEventCommentCreate200Response) UnmarshalJSON(data []byte) (err error)
type CalendarEventCommentCreateRequest ¶
type CalendarEventCommentCreateRequest struct { // The content of the calendar event comment Content string `json:"content"` }
CalendarEventCommentCreateRequest struct for CalendarEventCommentCreateRequest
func NewCalendarEventCommentCreateRequest ¶
func NewCalendarEventCommentCreateRequest(content string) *CalendarEventCommentCreateRequest
NewCalendarEventCommentCreateRequest instantiates a new CalendarEventCommentCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventCommentCreateRequestWithDefaults ¶
func NewCalendarEventCommentCreateRequestWithDefaults() *CalendarEventCommentCreateRequest
NewCalendarEventCommentCreateRequestWithDefaults instantiates a new CalendarEventCommentCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventCommentCreateRequest) GetContent ¶
func (o *CalendarEventCommentCreateRequest) GetContent() string
GetContent returns the Content field value
func (*CalendarEventCommentCreateRequest) GetContentOk ¶
func (o *CalendarEventCommentCreateRequest) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (CalendarEventCommentCreateRequest) MarshalJSON ¶
func (o CalendarEventCommentCreateRequest) MarshalJSON() ([]byte, error)
func (*CalendarEventCommentCreateRequest) SetContent ¶
func (o *CalendarEventCommentCreateRequest) SetContent(v string)
SetContent sets field value
func (CalendarEventCommentCreateRequest) ToMap ¶
func (o CalendarEventCommentCreateRequest) ToMap() (map[string]interface{}, error)
func (*CalendarEventCommentCreateRequest) UnmarshalJSON ¶
func (o *CalendarEventCommentCreateRequest) UnmarshalJSON(data []byte) (err error)
type CalendarEventCommentReaction ¶
type CalendarEventCommentReaction struct { // The ID of the channel ChannelId string `json:"channelId"` // The ID of the user who added the reaction CreatedBy string `json:"createdBy"` Emote Emote `json:"emote"` // The ID of the calendar event CalendarEventId int32 `json:"calendarEventId"` // The ID of the calendar event comment CalendarEventCommentId int32 `json:"calendarEventCommentId"` }
CalendarEventCommentReaction struct for CalendarEventCommentReaction
func NewCalendarEventCommentReaction ¶
func NewCalendarEventCommentReaction(channelId string, createdBy string, emote Emote, calendarEventId int32, calendarEventCommentId int32) *CalendarEventCommentReaction
NewCalendarEventCommentReaction instantiates a new CalendarEventCommentReaction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventCommentReactionWithDefaults ¶
func NewCalendarEventCommentReactionWithDefaults() *CalendarEventCommentReaction
NewCalendarEventCommentReactionWithDefaults instantiates a new CalendarEventCommentReaction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventCommentReaction) GetCalendarEventCommentId ¶
func (o *CalendarEventCommentReaction) GetCalendarEventCommentId() int32
GetCalendarEventCommentId returns the CalendarEventCommentId field value
func (*CalendarEventCommentReaction) GetCalendarEventCommentIdOk ¶
func (o *CalendarEventCommentReaction) GetCalendarEventCommentIdOk() (*int32, bool)
GetCalendarEventCommentIdOk returns a tuple with the CalendarEventCommentId field value and a boolean to check if the value has been set.
func (*CalendarEventCommentReaction) GetCalendarEventId ¶
func (o *CalendarEventCommentReaction) GetCalendarEventId() int32
GetCalendarEventId returns the CalendarEventId field value
func (*CalendarEventCommentReaction) GetCalendarEventIdOk ¶
func (o *CalendarEventCommentReaction) GetCalendarEventIdOk() (*int32, bool)
GetCalendarEventIdOk returns a tuple with the CalendarEventId field value and a boolean to check if the value has been set.
func (*CalendarEventCommentReaction) GetChannelId ¶
func (o *CalendarEventCommentReaction) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*CalendarEventCommentReaction) GetChannelIdOk ¶
func (o *CalendarEventCommentReaction) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*CalendarEventCommentReaction) GetCreatedBy ¶
func (o *CalendarEventCommentReaction) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*CalendarEventCommentReaction) GetCreatedByOk ¶
func (o *CalendarEventCommentReaction) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*CalendarEventCommentReaction) GetEmote ¶
func (o *CalendarEventCommentReaction) GetEmote() Emote
GetEmote returns the Emote field value
func (*CalendarEventCommentReaction) GetEmoteOk ¶
func (o *CalendarEventCommentReaction) GetEmoteOk() (*Emote, bool)
GetEmoteOk returns a tuple with the Emote field value and a boolean to check if the value has been set.
func (CalendarEventCommentReaction) MarshalJSON ¶
func (o CalendarEventCommentReaction) MarshalJSON() ([]byte, error)
func (*CalendarEventCommentReaction) SetCalendarEventCommentId ¶
func (o *CalendarEventCommentReaction) SetCalendarEventCommentId(v int32)
SetCalendarEventCommentId sets field value
func (*CalendarEventCommentReaction) SetCalendarEventId ¶
func (o *CalendarEventCommentReaction) SetCalendarEventId(v int32)
SetCalendarEventId sets field value
func (*CalendarEventCommentReaction) SetChannelId ¶
func (o *CalendarEventCommentReaction) SetChannelId(v string)
SetChannelId sets field value
func (*CalendarEventCommentReaction) SetCreatedBy ¶
func (o *CalendarEventCommentReaction) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*CalendarEventCommentReaction) SetEmote ¶
func (o *CalendarEventCommentReaction) SetEmote(v Emote)
SetEmote sets field value
func (CalendarEventCommentReaction) ToMap ¶
func (o CalendarEventCommentReaction) ToMap() (map[string]interface{}, error)
func (*CalendarEventCommentReaction) UnmarshalJSON ¶
func (o *CalendarEventCommentReaction) UnmarshalJSON(data []byte) (err error)
type CalendarEventCommentReadMany200Response ¶
type CalendarEventCommentReadMany200Response struct {
CalendarEventComments []CalendarEventComment `json:"calendarEventComments"`
}
CalendarEventCommentReadMany200Response struct for CalendarEventCommentReadMany200Response
func NewCalendarEventCommentReadMany200Response ¶
func NewCalendarEventCommentReadMany200Response(calendarEventComments []CalendarEventComment) *CalendarEventCommentReadMany200Response
NewCalendarEventCommentReadMany200Response instantiates a new CalendarEventCommentReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventCommentReadMany200ResponseWithDefaults ¶
func NewCalendarEventCommentReadMany200ResponseWithDefaults() *CalendarEventCommentReadMany200Response
NewCalendarEventCommentReadMany200ResponseWithDefaults instantiates a new CalendarEventCommentReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventCommentReadMany200Response) GetCalendarEventComments ¶
func (o *CalendarEventCommentReadMany200Response) GetCalendarEventComments() []CalendarEventComment
GetCalendarEventComments returns the CalendarEventComments field value
func (*CalendarEventCommentReadMany200Response) GetCalendarEventCommentsOk ¶
func (o *CalendarEventCommentReadMany200Response) GetCalendarEventCommentsOk() ([]CalendarEventComment, bool)
GetCalendarEventCommentsOk returns a tuple with the CalendarEventComments field value and a boolean to check if the value has been set.
func (CalendarEventCommentReadMany200Response) MarshalJSON ¶
func (o CalendarEventCommentReadMany200Response) MarshalJSON() ([]byte, error)
func (*CalendarEventCommentReadMany200Response) SetCalendarEventComments ¶
func (o *CalendarEventCommentReadMany200Response) SetCalendarEventComments(v []CalendarEventComment)
SetCalendarEventComments sets field value
func (CalendarEventCommentReadMany200Response) ToMap ¶
func (o CalendarEventCommentReadMany200Response) ToMap() (map[string]interface{}, error)
func (*CalendarEventCommentReadMany200Response) UnmarshalJSON ¶
func (o *CalendarEventCommentReadMany200Response) UnmarshalJSON(data []byte) (err error)
type CalendarEventCommentsAPI ¶
type CalendarEventCommentsAPI interface { /* CalendarEventCommentCreate Create a comment on a calendar event @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @return CalendarEventCommentsAPICalendarEventCommentCreateRequest */ CalendarEventCommentCreate(ctx context.Context, channelId string, calendarEventId int32) CalendarEventCommentsAPICalendarEventCommentCreateRequest // CalendarEventCommentCreateExecute executes the request // @return CalendarEventCommentCreate200Response CalendarEventCommentCreateExecute(r CalendarEventCommentsAPICalendarEventCommentCreateRequest) (*CalendarEventCommentCreate200Response, *http.Response, error) /* CalendarEventCommentDelete Delete a calendar event comment @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @param calendarEventCommentId @return CalendarEventCommentsAPICalendarEventCommentDeleteRequest */ CalendarEventCommentDelete(ctx context.Context, channelId string, calendarEventId int32, calendarEventCommentId int32) CalendarEventCommentsAPICalendarEventCommentDeleteRequest // CalendarEventCommentDeleteExecute executes the request CalendarEventCommentDeleteExecute(r CalendarEventCommentsAPICalendarEventCommentDeleteRequest) (*http.Response, error) /* CalendarEventCommentRead Get a comment on the calendar event @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @param calendarEventCommentId @return CalendarEventCommentsAPICalendarEventCommentReadRequest */ CalendarEventCommentRead(ctx context.Context, channelId string, calendarEventId int32, calendarEventCommentId int32) CalendarEventCommentsAPICalendarEventCommentReadRequest // CalendarEventCommentReadExecute executes the request // @return CalendarEventCommentCreate200Response CalendarEventCommentReadExecute(r CalendarEventCommentsAPICalendarEventCommentReadRequest) (*CalendarEventCommentCreate200Response, *http.Response, error) /* CalendarEventCommentReadMany Get a calendar event's comments @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @return CalendarEventCommentsAPICalendarEventCommentReadManyRequest */ CalendarEventCommentReadMany(ctx context.Context, channelId string, calendarEventId int32) CalendarEventCommentsAPICalendarEventCommentReadManyRequest // CalendarEventCommentReadManyExecute executes the request // @return CalendarEventCommentReadMany200Response CalendarEventCommentReadManyExecute(r CalendarEventCommentsAPICalendarEventCommentReadManyRequest) (*CalendarEventCommentReadMany200Response, *http.Response, error) /* CalendarEventCommentUpdate Update a calendar event comment @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @param calendarEventCommentId @return CalendarEventCommentsAPICalendarEventCommentUpdateRequest */ CalendarEventCommentUpdate(ctx context.Context, channelId string, calendarEventId int32, calendarEventCommentId int32) CalendarEventCommentsAPICalendarEventCommentUpdateRequest // CalendarEventCommentUpdateExecute executes the request // @return CalendarEventCommentCreate200Response CalendarEventCommentUpdateExecute(r CalendarEventCommentsAPICalendarEventCommentUpdateRequest) (*CalendarEventCommentCreate200Response, *http.Response, error) }
type CalendarEventCommentsAPICalendarEventCommentCreateRequest ¶
type CalendarEventCommentsAPICalendarEventCommentCreateRequest struct { ApiService CalendarEventCommentsAPI // contains filtered or unexported fields }
func (CalendarEventCommentsAPICalendarEventCommentCreateRequest) CalendarEventCommentCreateRequest ¶
func (r CalendarEventCommentsAPICalendarEventCommentCreateRequest) CalendarEventCommentCreateRequest(calendarEventCommentCreateRequest CalendarEventCommentCreateRequest) CalendarEventCommentsAPICalendarEventCommentCreateRequest
func (CalendarEventCommentsAPICalendarEventCommentCreateRequest) Execute ¶
func (r CalendarEventCommentsAPICalendarEventCommentCreateRequest) Execute() (*CalendarEventCommentCreate200Response, *http.Response, error)
type CalendarEventCommentsAPICalendarEventCommentDeleteRequest ¶
type CalendarEventCommentsAPICalendarEventCommentDeleteRequest struct { ApiService CalendarEventCommentsAPI // contains filtered or unexported fields }
type CalendarEventCommentsAPICalendarEventCommentReadManyRequest ¶
type CalendarEventCommentsAPICalendarEventCommentReadManyRequest struct { ApiService CalendarEventCommentsAPI // contains filtered or unexported fields }
func (CalendarEventCommentsAPICalendarEventCommentReadManyRequest) Execute ¶
func (r CalendarEventCommentsAPICalendarEventCommentReadManyRequest) Execute() (*CalendarEventCommentReadMany200Response, *http.Response, error)
type CalendarEventCommentsAPICalendarEventCommentReadRequest ¶
type CalendarEventCommentsAPICalendarEventCommentReadRequest struct { ApiService CalendarEventCommentsAPI // contains filtered or unexported fields }
func (CalendarEventCommentsAPICalendarEventCommentReadRequest) Execute ¶
func (r CalendarEventCommentsAPICalendarEventCommentReadRequest) Execute() (*CalendarEventCommentCreate200Response, *http.Response, error)
type CalendarEventCommentsAPICalendarEventCommentUpdateRequest ¶
type CalendarEventCommentsAPICalendarEventCommentUpdateRequest struct { ApiService CalendarEventCommentsAPI // contains filtered or unexported fields }
func (CalendarEventCommentsAPICalendarEventCommentUpdateRequest) CalendarEventCommentCreateRequest ¶
func (r CalendarEventCommentsAPICalendarEventCommentUpdateRequest) CalendarEventCommentCreateRequest(calendarEventCommentCreateRequest CalendarEventCommentCreateRequest) CalendarEventCommentsAPICalendarEventCommentUpdateRequest
func (CalendarEventCommentsAPICalendarEventCommentUpdateRequest) Execute ¶
func (r CalendarEventCommentsAPICalendarEventCommentUpdateRequest) Execute() (*CalendarEventCommentCreate200Response, *http.Response, error)
type CalendarEventCommentsAPIService ¶
type CalendarEventCommentsAPIService service
CalendarEventCommentsAPIService CalendarEventCommentsAPI service
func (*CalendarEventCommentsAPIService) CalendarEventCommentCreate ¶
func (a *CalendarEventCommentsAPIService) CalendarEventCommentCreate(ctx context.Context, channelId string, calendarEventId int32) CalendarEventCommentsAPICalendarEventCommentCreateRequest
CalendarEventCommentCreate Create a comment on a calendar event
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @return CalendarEventCommentsAPICalendarEventCommentCreateRequest
func (*CalendarEventCommentsAPIService) CalendarEventCommentCreateExecute ¶
func (a *CalendarEventCommentsAPIService) CalendarEventCommentCreateExecute(r CalendarEventCommentsAPICalendarEventCommentCreateRequest) (*CalendarEventCommentCreate200Response, *http.Response, error)
Execute executes the request
@return CalendarEventCommentCreate200Response
func (*CalendarEventCommentsAPIService) CalendarEventCommentDelete ¶
func (a *CalendarEventCommentsAPIService) CalendarEventCommentDelete(ctx context.Context, channelId string, calendarEventId int32, calendarEventCommentId int32) CalendarEventCommentsAPICalendarEventCommentDeleteRequest
CalendarEventCommentDelete Delete a calendar event comment
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @param calendarEventCommentId @return CalendarEventCommentsAPICalendarEventCommentDeleteRequest
func (*CalendarEventCommentsAPIService) CalendarEventCommentDeleteExecute ¶
func (a *CalendarEventCommentsAPIService) CalendarEventCommentDeleteExecute(r CalendarEventCommentsAPICalendarEventCommentDeleteRequest) (*http.Response, error)
Execute executes the request
func (*CalendarEventCommentsAPIService) CalendarEventCommentRead ¶
func (a *CalendarEventCommentsAPIService) CalendarEventCommentRead(ctx context.Context, channelId string, calendarEventId int32, calendarEventCommentId int32) CalendarEventCommentsAPICalendarEventCommentReadRequest
CalendarEventCommentRead Get a comment on the calendar event
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @param calendarEventCommentId @return CalendarEventCommentsAPICalendarEventCommentReadRequest
func (*CalendarEventCommentsAPIService) CalendarEventCommentReadExecute ¶
func (a *CalendarEventCommentsAPIService) CalendarEventCommentReadExecute(r CalendarEventCommentsAPICalendarEventCommentReadRequest) (*CalendarEventCommentCreate200Response, *http.Response, error)
Execute executes the request
@return CalendarEventCommentCreate200Response
func (*CalendarEventCommentsAPIService) CalendarEventCommentReadMany ¶
func (a *CalendarEventCommentsAPIService) CalendarEventCommentReadMany(ctx context.Context, channelId string, calendarEventId int32) CalendarEventCommentsAPICalendarEventCommentReadManyRequest
CalendarEventCommentReadMany Get a calendar event's comments
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @return CalendarEventCommentsAPICalendarEventCommentReadManyRequest
func (*CalendarEventCommentsAPIService) CalendarEventCommentReadManyExecute ¶
func (a *CalendarEventCommentsAPIService) CalendarEventCommentReadManyExecute(r CalendarEventCommentsAPICalendarEventCommentReadManyRequest) (*CalendarEventCommentReadMany200Response, *http.Response, error)
Execute executes the request
@return CalendarEventCommentReadMany200Response
func (*CalendarEventCommentsAPIService) CalendarEventCommentUpdate ¶
func (a *CalendarEventCommentsAPIService) CalendarEventCommentUpdate(ctx context.Context, channelId string, calendarEventId int32, calendarEventCommentId int32) CalendarEventCommentsAPICalendarEventCommentUpdateRequest
CalendarEventCommentUpdate Update a calendar event comment
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @param calendarEventCommentId @return CalendarEventCommentsAPICalendarEventCommentUpdateRequest
func (*CalendarEventCommentsAPIService) CalendarEventCommentUpdateExecute ¶
func (a *CalendarEventCommentsAPIService) CalendarEventCommentUpdateExecute(r CalendarEventCommentsAPICalendarEventCommentUpdateRequest) (*CalendarEventCommentCreate200Response, *http.Response, error)
Execute executes the request
@return CalendarEventCommentCreate200Response
type CalendarEventCreate200Response ¶
type CalendarEventCreate200Response struct {
CalendarEvent CalendarEvent `json:"calendarEvent"`
}
CalendarEventCreate200Response struct for CalendarEventCreate200Response
func NewCalendarEventCreate200Response ¶
func NewCalendarEventCreate200Response(calendarEvent CalendarEvent) *CalendarEventCreate200Response
NewCalendarEventCreate200Response instantiates a new CalendarEventCreate200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventCreate200ResponseWithDefaults ¶
func NewCalendarEventCreate200ResponseWithDefaults() *CalendarEventCreate200Response
NewCalendarEventCreate200ResponseWithDefaults instantiates a new CalendarEventCreate200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventCreate200Response) GetCalendarEvent ¶
func (o *CalendarEventCreate200Response) GetCalendarEvent() CalendarEvent
GetCalendarEvent returns the CalendarEvent field value
func (*CalendarEventCreate200Response) GetCalendarEventOk ¶
func (o *CalendarEventCreate200Response) GetCalendarEventOk() (*CalendarEvent, bool)
GetCalendarEventOk returns a tuple with the CalendarEvent field value and a boolean to check if the value has been set.
func (CalendarEventCreate200Response) MarshalJSON ¶
func (o CalendarEventCreate200Response) MarshalJSON() ([]byte, error)
func (*CalendarEventCreate200Response) SetCalendarEvent ¶
func (o *CalendarEventCreate200Response) SetCalendarEvent(v CalendarEvent)
SetCalendarEvent sets field value
func (CalendarEventCreate200Response) ToMap ¶
func (o CalendarEventCreate200Response) ToMap() (map[string]interface{}, error)
func (*CalendarEventCreate200Response) UnmarshalJSON ¶
func (o *CalendarEventCreate200Response) UnmarshalJSON(data []byte) (err error)
type CalendarEventCreateRequest ¶
type CalendarEventCreateRequest struct { // The name of the event Name string `json:"name"` // The description of the event Description *string `json:"description,omitempty"` // The location of the event Location *string `json:"location,omitempty"` // The ISO 8601 timestamp that the event starts at StartsAt *time.Time `json:"startsAt,omitempty"` // A URL to associate with the event Url *string `json:"url,omitempty"` // The integer value corresponds to the decimal RGB representation for the color. The color of the event when viewing in the calendar Color *int32 `json:"color,omitempty"` // Does the event last all day? If passed with `duration`, `duration` will only be applied if it is an interval of minutes represented in days (e.g., `duration: 2880`) IsAllDay *bool `json:"isAllDay,omitempty"` // When disabled, users will not be able to RSVP to the event RsvpDisabled *bool `json:"rsvpDisabled,omitempty"` // The number of RSVPs to allow before waitlisting RSVPs RsvpLimit *int32 `json:"rsvpLimit,omitempty"` // When `rsvpLimit` is set, users from the waitlist will be added as space becomes available in the event AutofillWaitlist *bool `json:"autofillWaitlist,omitempty"` // The duration of the event _**in minutes**_ Duration *int32 `json:"duration,omitempty"` IsPrivate *bool `json:"isPrivate,omitempty"` // The role IDs to restrict the event to RoleIds []int32 `json:"roleIds,omitempty"` RepeatInfo *CalendarEventCreateRequestRepeatInfo `json:"repeatInfo,omitempty"` }
CalendarEventCreateRequest struct for CalendarEventCreateRequest
func NewCalendarEventCreateRequest ¶
func NewCalendarEventCreateRequest(name string) *CalendarEventCreateRequest
NewCalendarEventCreateRequest instantiates a new CalendarEventCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventCreateRequestWithDefaults ¶
func NewCalendarEventCreateRequestWithDefaults() *CalendarEventCreateRequest
NewCalendarEventCreateRequestWithDefaults instantiates a new CalendarEventCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventCreateRequest) GetAutofillWaitlist ¶
func (o *CalendarEventCreateRequest) GetAutofillWaitlist() bool
GetAutofillWaitlist returns the AutofillWaitlist field value if set, zero value otherwise.
func (*CalendarEventCreateRequest) GetAutofillWaitlistOk ¶
func (o *CalendarEventCreateRequest) GetAutofillWaitlistOk() (*bool, bool)
GetAutofillWaitlistOk returns a tuple with the AutofillWaitlist field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventCreateRequest) GetColor ¶
func (o *CalendarEventCreateRequest) GetColor() int32
GetColor returns the Color field value if set, zero value otherwise.
func (*CalendarEventCreateRequest) GetColorOk ¶
func (o *CalendarEventCreateRequest) GetColorOk() (*int32, bool)
GetColorOk returns a tuple with the Color field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventCreateRequest) GetDescription ¶
func (o *CalendarEventCreateRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CalendarEventCreateRequest) GetDescriptionOk ¶
func (o *CalendarEventCreateRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventCreateRequest) GetDuration ¶
func (o *CalendarEventCreateRequest) GetDuration() int32
GetDuration returns the Duration field value if set, zero value otherwise.
func (*CalendarEventCreateRequest) GetDurationOk ¶
func (o *CalendarEventCreateRequest) GetDurationOk() (*int32, bool)
GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventCreateRequest) GetIsAllDay ¶
func (o *CalendarEventCreateRequest) GetIsAllDay() bool
GetIsAllDay returns the IsAllDay field value if set, zero value otherwise.
func (*CalendarEventCreateRequest) GetIsAllDayOk ¶
func (o *CalendarEventCreateRequest) GetIsAllDayOk() (*bool, bool)
GetIsAllDayOk returns a tuple with the IsAllDay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventCreateRequest) GetIsPrivate ¶
func (o *CalendarEventCreateRequest) GetIsPrivate() bool
GetIsPrivate returns the IsPrivate field value if set, zero value otherwise.
func (*CalendarEventCreateRequest) GetIsPrivateOk ¶
func (o *CalendarEventCreateRequest) GetIsPrivateOk() (*bool, bool)
GetIsPrivateOk returns a tuple with the IsPrivate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventCreateRequest) GetLocation ¶
func (o *CalendarEventCreateRequest) GetLocation() string
GetLocation returns the Location field value if set, zero value otherwise.
func (*CalendarEventCreateRequest) GetLocationOk ¶
func (o *CalendarEventCreateRequest) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventCreateRequest) GetName ¶
func (o *CalendarEventCreateRequest) GetName() string
GetName returns the Name field value
func (*CalendarEventCreateRequest) GetNameOk ¶
func (o *CalendarEventCreateRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CalendarEventCreateRequest) GetRepeatInfo ¶
func (o *CalendarEventCreateRequest) GetRepeatInfo() CalendarEventCreateRequestRepeatInfo
GetRepeatInfo returns the RepeatInfo field value if set, zero value otherwise.
func (*CalendarEventCreateRequest) GetRepeatInfoOk ¶
func (o *CalendarEventCreateRequest) GetRepeatInfoOk() (*CalendarEventCreateRequestRepeatInfo, bool)
GetRepeatInfoOk returns a tuple with the RepeatInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventCreateRequest) GetRoleIds ¶
func (o *CalendarEventCreateRequest) GetRoleIds() []int32
GetRoleIds returns the RoleIds field value if set, zero value otherwise.
func (*CalendarEventCreateRequest) GetRoleIdsOk ¶
func (o *CalendarEventCreateRequest) GetRoleIdsOk() ([]int32, bool)
GetRoleIdsOk returns a tuple with the RoleIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventCreateRequest) GetRsvpDisabled ¶
func (o *CalendarEventCreateRequest) GetRsvpDisabled() bool
GetRsvpDisabled returns the RsvpDisabled field value if set, zero value otherwise.
func (*CalendarEventCreateRequest) GetRsvpDisabledOk ¶
func (o *CalendarEventCreateRequest) GetRsvpDisabledOk() (*bool, bool)
GetRsvpDisabledOk returns a tuple with the RsvpDisabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventCreateRequest) GetRsvpLimit ¶
func (o *CalendarEventCreateRequest) GetRsvpLimit() int32
GetRsvpLimit returns the RsvpLimit field value if set, zero value otherwise.
func (*CalendarEventCreateRequest) GetRsvpLimitOk ¶
func (o *CalendarEventCreateRequest) GetRsvpLimitOk() (*int32, bool)
GetRsvpLimitOk returns a tuple with the RsvpLimit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventCreateRequest) GetStartsAt ¶
func (o *CalendarEventCreateRequest) GetStartsAt() time.Time
GetStartsAt returns the StartsAt field value if set, zero value otherwise.
func (*CalendarEventCreateRequest) GetStartsAtOk ¶
func (o *CalendarEventCreateRequest) GetStartsAtOk() (*time.Time, bool)
GetStartsAtOk returns a tuple with the StartsAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventCreateRequest) GetUrl ¶
func (o *CalendarEventCreateRequest) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*CalendarEventCreateRequest) GetUrlOk ¶
func (o *CalendarEventCreateRequest) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventCreateRequest) HasAutofillWaitlist ¶
func (o *CalendarEventCreateRequest) HasAutofillWaitlist() bool
HasAutofillWaitlist returns a boolean if a field has been set.
func (*CalendarEventCreateRequest) HasColor ¶
func (o *CalendarEventCreateRequest) HasColor() bool
HasColor returns a boolean if a field has been set.
func (*CalendarEventCreateRequest) HasDescription ¶
func (o *CalendarEventCreateRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CalendarEventCreateRequest) HasDuration ¶
func (o *CalendarEventCreateRequest) HasDuration() bool
HasDuration returns a boolean if a field has been set.
func (*CalendarEventCreateRequest) HasIsAllDay ¶
func (o *CalendarEventCreateRequest) HasIsAllDay() bool
HasIsAllDay returns a boolean if a field has been set.
func (*CalendarEventCreateRequest) HasIsPrivate ¶
func (o *CalendarEventCreateRequest) HasIsPrivate() bool
HasIsPrivate returns a boolean if a field has been set.
func (*CalendarEventCreateRequest) HasLocation ¶
func (o *CalendarEventCreateRequest) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (*CalendarEventCreateRequest) HasRepeatInfo ¶
func (o *CalendarEventCreateRequest) HasRepeatInfo() bool
HasRepeatInfo returns a boolean if a field has been set.
func (*CalendarEventCreateRequest) HasRoleIds ¶
func (o *CalendarEventCreateRequest) HasRoleIds() bool
HasRoleIds returns a boolean if a field has been set.
func (*CalendarEventCreateRequest) HasRsvpDisabled ¶
func (o *CalendarEventCreateRequest) HasRsvpDisabled() bool
HasRsvpDisabled returns a boolean if a field has been set.
func (*CalendarEventCreateRequest) HasRsvpLimit ¶
func (o *CalendarEventCreateRequest) HasRsvpLimit() bool
HasRsvpLimit returns a boolean if a field has been set.
func (*CalendarEventCreateRequest) HasStartsAt ¶
func (o *CalendarEventCreateRequest) HasStartsAt() bool
HasStartsAt returns a boolean if a field has been set.
func (*CalendarEventCreateRequest) HasUrl ¶
func (o *CalendarEventCreateRequest) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (CalendarEventCreateRequest) MarshalJSON ¶
func (o CalendarEventCreateRequest) MarshalJSON() ([]byte, error)
func (*CalendarEventCreateRequest) SetAutofillWaitlist ¶
func (o *CalendarEventCreateRequest) SetAutofillWaitlist(v bool)
SetAutofillWaitlist gets a reference to the given bool and assigns it to the AutofillWaitlist field.
func (*CalendarEventCreateRequest) SetColor ¶
func (o *CalendarEventCreateRequest) SetColor(v int32)
SetColor gets a reference to the given int32 and assigns it to the Color field.
func (*CalendarEventCreateRequest) SetDescription ¶
func (o *CalendarEventCreateRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CalendarEventCreateRequest) SetDuration ¶
func (o *CalendarEventCreateRequest) SetDuration(v int32)
SetDuration gets a reference to the given int32 and assigns it to the Duration field.
func (*CalendarEventCreateRequest) SetIsAllDay ¶
func (o *CalendarEventCreateRequest) SetIsAllDay(v bool)
SetIsAllDay gets a reference to the given bool and assigns it to the IsAllDay field.
func (*CalendarEventCreateRequest) SetIsPrivate ¶
func (o *CalendarEventCreateRequest) SetIsPrivate(v bool)
SetIsPrivate gets a reference to the given bool and assigns it to the IsPrivate field.
func (*CalendarEventCreateRequest) SetLocation ¶
func (o *CalendarEventCreateRequest) SetLocation(v string)
SetLocation gets a reference to the given string and assigns it to the Location field.
func (*CalendarEventCreateRequest) SetName ¶
func (o *CalendarEventCreateRequest) SetName(v string)
SetName sets field value
func (*CalendarEventCreateRequest) SetRepeatInfo ¶
func (o *CalendarEventCreateRequest) SetRepeatInfo(v CalendarEventCreateRequestRepeatInfo)
SetRepeatInfo gets a reference to the given CalendarEventCreateRequestRepeatInfo and assigns it to the RepeatInfo field.
func (*CalendarEventCreateRequest) SetRoleIds ¶
func (o *CalendarEventCreateRequest) SetRoleIds(v []int32)
SetRoleIds gets a reference to the given []int32 and assigns it to the RoleIds field.
func (*CalendarEventCreateRequest) SetRsvpDisabled ¶
func (o *CalendarEventCreateRequest) SetRsvpDisabled(v bool)
SetRsvpDisabled gets a reference to the given bool and assigns it to the RsvpDisabled field.
func (*CalendarEventCreateRequest) SetRsvpLimit ¶
func (o *CalendarEventCreateRequest) SetRsvpLimit(v int32)
SetRsvpLimit gets a reference to the given int32 and assigns it to the RsvpLimit field.
func (*CalendarEventCreateRequest) SetStartsAt ¶
func (o *CalendarEventCreateRequest) SetStartsAt(v time.Time)
SetStartsAt gets a reference to the given time.Time and assigns it to the StartsAt field.
func (*CalendarEventCreateRequest) SetUrl ¶
func (o *CalendarEventCreateRequest) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (CalendarEventCreateRequest) ToMap ¶
func (o CalendarEventCreateRequest) ToMap() (map[string]interface{}, error)
func (*CalendarEventCreateRequest) UnmarshalJSON ¶
func (o *CalendarEventCreateRequest) UnmarshalJSON(data []byte) (err error)
type CalendarEventCreateRequestRepeatInfo ¶
type CalendarEventCreateRequestRepeatInfo struct { // How often you want your event to repeat (important note: this will repeat for the next 365 days unless custom is defined) Type string `json:"type"` Every *CalendarEventCreateRequestRepeatInfoEvery `json:"every,omitempty"` // Used to control the end date of the event repeat (only used when `type` is `custom`; if used with `endDate`, the earliest resultant date of the two will be used) EndsAfterOccurrences *float32 `json:"endsAfterOccurrences,omitempty"` // The ISO 8601 timestamp that the event ends at. Used to control the end date of the event repeat (only used when `type` is `custom`; if used with `endsAfterOccurrences`, the earliest resultant date of the two will be used) EndDate *time.Time `json:"endDate,omitempty"` // Used to control the day of the week that the event should repeat on (only used when `type` is `custom` and when `every.interval` is `week`) On []string `json:"on,omitempty"` }
CalendarEventCreateRequestRepeatInfo struct for CalendarEventCreateRequestRepeatInfo
func NewCalendarEventCreateRequestRepeatInfo ¶
func NewCalendarEventCreateRequestRepeatInfo(type_ string) *CalendarEventCreateRequestRepeatInfo
NewCalendarEventCreateRequestRepeatInfo instantiates a new CalendarEventCreateRequestRepeatInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventCreateRequestRepeatInfoWithDefaults ¶
func NewCalendarEventCreateRequestRepeatInfoWithDefaults() *CalendarEventCreateRequestRepeatInfo
NewCalendarEventCreateRequestRepeatInfoWithDefaults instantiates a new CalendarEventCreateRequestRepeatInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventCreateRequestRepeatInfo) GetEndDate ¶
func (o *CalendarEventCreateRequestRepeatInfo) GetEndDate() time.Time
GetEndDate returns the EndDate field value if set, zero value otherwise.
func (*CalendarEventCreateRequestRepeatInfo) GetEndDateOk ¶
func (o *CalendarEventCreateRequestRepeatInfo) GetEndDateOk() (*time.Time, bool)
GetEndDateOk returns a tuple with the EndDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventCreateRequestRepeatInfo) GetEndsAfterOccurrences ¶
func (o *CalendarEventCreateRequestRepeatInfo) GetEndsAfterOccurrences() float32
GetEndsAfterOccurrences returns the EndsAfterOccurrences field value if set, zero value otherwise.
func (*CalendarEventCreateRequestRepeatInfo) GetEndsAfterOccurrencesOk ¶
func (o *CalendarEventCreateRequestRepeatInfo) GetEndsAfterOccurrencesOk() (*float32, bool)
GetEndsAfterOccurrencesOk returns a tuple with the EndsAfterOccurrences field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventCreateRequestRepeatInfo) GetEvery ¶
func (o *CalendarEventCreateRequestRepeatInfo) GetEvery() CalendarEventCreateRequestRepeatInfoEvery
GetEvery returns the Every field value if set, zero value otherwise.
func (*CalendarEventCreateRequestRepeatInfo) GetEveryOk ¶
func (o *CalendarEventCreateRequestRepeatInfo) GetEveryOk() (*CalendarEventCreateRequestRepeatInfoEvery, bool)
GetEveryOk returns a tuple with the Every field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventCreateRequestRepeatInfo) GetOn ¶
func (o *CalendarEventCreateRequestRepeatInfo) GetOn() []string
GetOn returns the On field value if set, zero value otherwise.
func (*CalendarEventCreateRequestRepeatInfo) GetOnOk ¶
func (o *CalendarEventCreateRequestRepeatInfo) GetOnOk() ([]string, bool)
GetOnOk returns a tuple with the On field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventCreateRequestRepeatInfo) GetType ¶
func (o *CalendarEventCreateRequestRepeatInfo) GetType() string
GetType returns the Type field value
func (*CalendarEventCreateRequestRepeatInfo) GetTypeOk ¶
func (o *CalendarEventCreateRequestRepeatInfo) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*CalendarEventCreateRequestRepeatInfo) HasEndDate ¶
func (o *CalendarEventCreateRequestRepeatInfo) HasEndDate() bool
HasEndDate returns a boolean if a field has been set.
func (*CalendarEventCreateRequestRepeatInfo) HasEndsAfterOccurrences ¶
func (o *CalendarEventCreateRequestRepeatInfo) HasEndsAfterOccurrences() bool
HasEndsAfterOccurrences returns a boolean if a field has been set.
func (*CalendarEventCreateRequestRepeatInfo) HasEvery ¶
func (o *CalendarEventCreateRequestRepeatInfo) HasEvery() bool
HasEvery returns a boolean if a field has been set.
func (*CalendarEventCreateRequestRepeatInfo) HasOn ¶
func (o *CalendarEventCreateRequestRepeatInfo) HasOn() bool
HasOn returns a boolean if a field has been set.
func (CalendarEventCreateRequestRepeatInfo) MarshalJSON ¶
func (o CalendarEventCreateRequestRepeatInfo) MarshalJSON() ([]byte, error)
func (*CalendarEventCreateRequestRepeatInfo) SetEndDate ¶
func (o *CalendarEventCreateRequestRepeatInfo) SetEndDate(v time.Time)
SetEndDate gets a reference to the given time.Time and assigns it to the EndDate field.
func (*CalendarEventCreateRequestRepeatInfo) SetEndsAfterOccurrences ¶
func (o *CalendarEventCreateRequestRepeatInfo) SetEndsAfterOccurrences(v float32)
SetEndsAfterOccurrences gets a reference to the given float32 and assigns it to the EndsAfterOccurrences field.
func (*CalendarEventCreateRequestRepeatInfo) SetEvery ¶
func (o *CalendarEventCreateRequestRepeatInfo) SetEvery(v CalendarEventCreateRequestRepeatInfoEvery)
SetEvery gets a reference to the given CalendarEventCreateRequestRepeatInfoEvery and assigns it to the Every field.
func (*CalendarEventCreateRequestRepeatInfo) SetOn ¶
func (o *CalendarEventCreateRequestRepeatInfo) SetOn(v []string)
SetOn gets a reference to the given []string and assigns it to the On field.
func (*CalendarEventCreateRequestRepeatInfo) SetType ¶
func (o *CalendarEventCreateRequestRepeatInfo) SetType(v string)
SetType sets field value
func (CalendarEventCreateRequestRepeatInfo) ToMap ¶
func (o CalendarEventCreateRequestRepeatInfo) ToMap() (map[string]interface{}, error)
func (*CalendarEventCreateRequestRepeatInfo) UnmarshalJSON ¶
func (o *CalendarEventCreateRequestRepeatInfo) UnmarshalJSON(data []byte) (err error)
type CalendarEventCreateRequestRepeatInfoEvery ¶
type CalendarEventCreateRequestRepeatInfoEvery struct { // How often between your interval the event should repeat. For example, 1 would be every interval, 2 would be every second occurrence of the interval Count float32 `json:"count"` // Coupled with `count`, this indicates the time range you are repeating your event over Interval string `json:"interval"` }
CalendarEventCreateRequestRepeatInfoEvery Apply further clarification to your events. This **must** have `type` set to `custom`
func NewCalendarEventCreateRequestRepeatInfoEvery ¶
func NewCalendarEventCreateRequestRepeatInfoEvery(count float32, interval string) *CalendarEventCreateRequestRepeatInfoEvery
NewCalendarEventCreateRequestRepeatInfoEvery instantiates a new CalendarEventCreateRequestRepeatInfoEvery object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventCreateRequestRepeatInfoEveryWithDefaults ¶
func NewCalendarEventCreateRequestRepeatInfoEveryWithDefaults() *CalendarEventCreateRequestRepeatInfoEvery
NewCalendarEventCreateRequestRepeatInfoEveryWithDefaults instantiates a new CalendarEventCreateRequestRepeatInfoEvery object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventCreateRequestRepeatInfoEvery) GetCount ¶
func (o *CalendarEventCreateRequestRepeatInfoEvery) GetCount() float32
GetCount returns the Count field value
func (*CalendarEventCreateRequestRepeatInfoEvery) GetCountOk ¶
func (o *CalendarEventCreateRequestRepeatInfoEvery) GetCountOk() (*float32, bool)
GetCountOk returns a tuple with the Count field value and a boolean to check if the value has been set.
func (*CalendarEventCreateRequestRepeatInfoEvery) GetInterval ¶
func (o *CalendarEventCreateRequestRepeatInfoEvery) GetInterval() string
GetInterval returns the Interval field value
func (*CalendarEventCreateRequestRepeatInfoEvery) GetIntervalOk ¶
func (o *CalendarEventCreateRequestRepeatInfoEvery) GetIntervalOk() (*string, bool)
GetIntervalOk returns a tuple with the Interval field value and a boolean to check if the value has been set.
func (CalendarEventCreateRequestRepeatInfoEvery) MarshalJSON ¶
func (o CalendarEventCreateRequestRepeatInfoEvery) MarshalJSON() ([]byte, error)
func (*CalendarEventCreateRequestRepeatInfoEvery) SetCount ¶
func (o *CalendarEventCreateRequestRepeatInfoEvery) SetCount(v float32)
SetCount sets field value
func (*CalendarEventCreateRequestRepeatInfoEvery) SetInterval ¶
func (o *CalendarEventCreateRequestRepeatInfoEvery) SetInterval(v string)
SetInterval sets field value
func (CalendarEventCreateRequestRepeatInfoEvery) ToMap ¶
func (o CalendarEventCreateRequestRepeatInfoEvery) ToMap() (map[string]interface{}, error)
func (*CalendarEventCreateRequestRepeatInfoEvery) UnmarshalJSON ¶
func (o *CalendarEventCreateRequestRepeatInfoEvery) UnmarshalJSON(data []byte) (err error)
type CalendarEventReaction ¶
type CalendarEventReaction struct { // The ID of the channel ChannelId string `json:"channelId"` // The ID of the user who added the reaction CreatedBy string `json:"createdBy"` Emote Emote `json:"emote"` // The ID of the calendar event CalendarEventId int32 `json:"calendarEventId"` }
CalendarEventReaction struct for CalendarEventReaction
func NewCalendarEventReaction ¶
func NewCalendarEventReaction(channelId string, createdBy string, emote Emote, calendarEventId int32) *CalendarEventReaction
NewCalendarEventReaction instantiates a new CalendarEventReaction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventReactionWithDefaults ¶
func NewCalendarEventReactionWithDefaults() *CalendarEventReaction
NewCalendarEventReactionWithDefaults instantiates a new CalendarEventReaction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventReaction) GetCalendarEventId ¶
func (o *CalendarEventReaction) GetCalendarEventId() int32
GetCalendarEventId returns the CalendarEventId field value
func (*CalendarEventReaction) GetCalendarEventIdOk ¶
func (o *CalendarEventReaction) GetCalendarEventIdOk() (*int32, bool)
GetCalendarEventIdOk returns a tuple with the CalendarEventId field value and a boolean to check if the value has been set.
func (*CalendarEventReaction) GetChannelId ¶
func (o *CalendarEventReaction) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*CalendarEventReaction) GetChannelIdOk ¶
func (o *CalendarEventReaction) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*CalendarEventReaction) GetCreatedBy ¶
func (o *CalendarEventReaction) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*CalendarEventReaction) GetCreatedByOk ¶
func (o *CalendarEventReaction) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*CalendarEventReaction) GetEmote ¶
func (o *CalendarEventReaction) GetEmote() Emote
GetEmote returns the Emote field value
func (*CalendarEventReaction) GetEmoteOk ¶
func (o *CalendarEventReaction) GetEmoteOk() (*Emote, bool)
GetEmoteOk returns a tuple with the Emote field value and a boolean to check if the value has been set.
func (CalendarEventReaction) MarshalJSON ¶
func (o CalendarEventReaction) MarshalJSON() ([]byte, error)
func (*CalendarEventReaction) SetCalendarEventId ¶
func (o *CalendarEventReaction) SetCalendarEventId(v int32)
SetCalendarEventId sets field value
func (*CalendarEventReaction) SetChannelId ¶
func (o *CalendarEventReaction) SetChannelId(v string)
SetChannelId sets field value
func (*CalendarEventReaction) SetCreatedBy ¶
func (o *CalendarEventReaction) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*CalendarEventReaction) SetEmote ¶
func (o *CalendarEventReaction) SetEmote(v Emote)
SetEmote sets field value
func (CalendarEventReaction) ToMap ¶
func (o CalendarEventReaction) ToMap() (map[string]interface{}, error)
func (*CalendarEventReaction) UnmarshalJSON ¶
func (o *CalendarEventReaction) UnmarshalJSON(data []byte) (err error)
type CalendarEventReadMany200Response ¶
type CalendarEventReadMany200Response struct {
CalendarEvents []CalendarEvent `json:"calendarEvents"`
}
CalendarEventReadMany200Response struct for CalendarEventReadMany200Response
func NewCalendarEventReadMany200Response ¶
func NewCalendarEventReadMany200Response(calendarEvents []CalendarEvent) *CalendarEventReadMany200Response
NewCalendarEventReadMany200Response instantiates a new CalendarEventReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventReadMany200ResponseWithDefaults ¶
func NewCalendarEventReadMany200ResponseWithDefaults() *CalendarEventReadMany200Response
NewCalendarEventReadMany200ResponseWithDefaults instantiates a new CalendarEventReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventReadMany200Response) GetCalendarEvents ¶
func (o *CalendarEventReadMany200Response) GetCalendarEvents() []CalendarEvent
GetCalendarEvents returns the CalendarEvents field value
func (*CalendarEventReadMany200Response) GetCalendarEventsOk ¶
func (o *CalendarEventReadMany200Response) GetCalendarEventsOk() ([]CalendarEvent, bool)
GetCalendarEventsOk returns a tuple with the CalendarEvents field value and a boolean to check if the value has been set.
func (CalendarEventReadMany200Response) MarshalJSON ¶
func (o CalendarEventReadMany200Response) MarshalJSON() ([]byte, error)
func (*CalendarEventReadMany200Response) SetCalendarEvents ¶
func (o *CalendarEventReadMany200Response) SetCalendarEvents(v []CalendarEvent)
SetCalendarEvents sets field value
func (CalendarEventReadMany200Response) ToMap ¶
func (o CalendarEventReadMany200Response) ToMap() (map[string]interface{}, error)
func (*CalendarEventReadMany200Response) UnmarshalJSON ¶
func (o *CalendarEventReadMany200Response) UnmarshalJSON(data []byte) (err error)
type CalendarEventRsvp ¶
type CalendarEventRsvp struct { // The ID of the calendar event CalendarEventId int32 `json:"calendarEventId"` // The ID of the channel ChannelId string `json:"channelId"` // The ID of the server ServerId string `json:"serverId"` // The ID of the user UserId string `json:"userId"` // The status of the RSVP Status string `json:"status"` // The ID of the user who created this RSVP CreatedBy string `json:"createdBy"` // The ISO 8601 timestamp that the RSVP was created at CreatedAt time.Time `json:"createdAt"` // The ID of the user who updated this RSVP UpdatedBy *string `json:"updatedBy,omitempty"` // The ISO 8601 timestamp that the RSVP was updated at, if relevant UpdatedAt *time.Time `json:"updatedAt,omitempty"` }
CalendarEventRsvp struct for CalendarEventRsvp
func NewCalendarEventRsvp ¶
func NewCalendarEventRsvp(calendarEventId int32, channelId string, serverId string, userId string, status string, createdBy string, createdAt time.Time) *CalendarEventRsvp
NewCalendarEventRsvp instantiates a new CalendarEventRsvp object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventRsvpWithDefaults ¶
func NewCalendarEventRsvpWithDefaults() *CalendarEventRsvp
NewCalendarEventRsvpWithDefaults instantiates a new CalendarEventRsvp object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventRsvp) GetCalendarEventId ¶
func (o *CalendarEventRsvp) GetCalendarEventId() int32
GetCalendarEventId returns the CalendarEventId field value
func (*CalendarEventRsvp) GetCalendarEventIdOk ¶
func (o *CalendarEventRsvp) GetCalendarEventIdOk() (*int32, bool)
GetCalendarEventIdOk returns a tuple with the CalendarEventId field value and a boolean to check if the value has been set.
func (*CalendarEventRsvp) GetChannelId ¶
func (o *CalendarEventRsvp) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*CalendarEventRsvp) GetChannelIdOk ¶
func (o *CalendarEventRsvp) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*CalendarEventRsvp) GetCreatedAt ¶
func (o *CalendarEventRsvp) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*CalendarEventRsvp) GetCreatedAtOk ¶
func (o *CalendarEventRsvp) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*CalendarEventRsvp) GetCreatedBy ¶
func (o *CalendarEventRsvp) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*CalendarEventRsvp) GetCreatedByOk ¶
func (o *CalendarEventRsvp) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*CalendarEventRsvp) GetServerId ¶
func (o *CalendarEventRsvp) GetServerId() string
GetServerId returns the ServerId field value
func (*CalendarEventRsvp) GetServerIdOk ¶
func (o *CalendarEventRsvp) GetServerIdOk() (*string, bool)
GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.
func (*CalendarEventRsvp) GetStatus ¶
func (o *CalendarEventRsvp) GetStatus() string
GetStatus returns the Status field value
func (*CalendarEventRsvp) GetStatusOk ¶
func (o *CalendarEventRsvp) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*CalendarEventRsvp) GetUpdatedAt ¶
func (o *CalendarEventRsvp) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*CalendarEventRsvp) GetUpdatedAtOk ¶
func (o *CalendarEventRsvp) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventRsvp) GetUpdatedBy ¶
func (o *CalendarEventRsvp) GetUpdatedBy() string
GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise.
func (*CalendarEventRsvp) GetUpdatedByOk ¶
func (o *CalendarEventRsvp) GetUpdatedByOk() (*string, bool)
GetUpdatedByOk returns a tuple with the UpdatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventRsvp) GetUserId ¶
func (o *CalendarEventRsvp) GetUserId() string
GetUserId returns the UserId field value
func (*CalendarEventRsvp) GetUserIdOk ¶
func (o *CalendarEventRsvp) GetUserIdOk() (*string, bool)
GetUserIdOk returns a tuple with the UserId field value and a boolean to check if the value has been set.
func (*CalendarEventRsvp) HasUpdatedAt ¶
func (o *CalendarEventRsvp) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*CalendarEventRsvp) HasUpdatedBy ¶
func (o *CalendarEventRsvp) HasUpdatedBy() bool
HasUpdatedBy returns a boolean if a field has been set.
func (CalendarEventRsvp) MarshalJSON ¶
func (o CalendarEventRsvp) MarshalJSON() ([]byte, error)
func (*CalendarEventRsvp) SetCalendarEventId ¶
func (o *CalendarEventRsvp) SetCalendarEventId(v int32)
SetCalendarEventId sets field value
func (*CalendarEventRsvp) SetChannelId ¶
func (o *CalendarEventRsvp) SetChannelId(v string)
SetChannelId sets field value
func (*CalendarEventRsvp) SetCreatedAt ¶
func (o *CalendarEventRsvp) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*CalendarEventRsvp) SetCreatedBy ¶
func (o *CalendarEventRsvp) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*CalendarEventRsvp) SetServerId ¶
func (o *CalendarEventRsvp) SetServerId(v string)
SetServerId sets field value
func (*CalendarEventRsvp) SetStatus ¶
func (o *CalendarEventRsvp) SetStatus(v string)
SetStatus sets field value
func (*CalendarEventRsvp) SetUpdatedAt ¶
func (o *CalendarEventRsvp) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*CalendarEventRsvp) SetUpdatedBy ¶
func (o *CalendarEventRsvp) SetUpdatedBy(v string)
SetUpdatedBy gets a reference to the given string and assigns it to the UpdatedBy field.
func (*CalendarEventRsvp) SetUserId ¶
func (o *CalendarEventRsvp) SetUserId(v string)
SetUserId sets field value
func (CalendarEventRsvp) ToMap ¶
func (o CalendarEventRsvp) ToMap() (map[string]interface{}, error)
func (*CalendarEventRsvp) UnmarshalJSON ¶
func (o *CalendarEventRsvp) UnmarshalJSON(data []byte) (err error)
type CalendarEventRsvpRead200Response ¶
type CalendarEventRsvpRead200Response struct {
CalendarEventRsvp CalendarEventRsvp `json:"calendarEventRsvp"`
}
CalendarEventRsvpRead200Response struct for CalendarEventRsvpRead200Response
func NewCalendarEventRsvpRead200Response ¶
func NewCalendarEventRsvpRead200Response(calendarEventRsvp CalendarEventRsvp) *CalendarEventRsvpRead200Response
NewCalendarEventRsvpRead200Response instantiates a new CalendarEventRsvpRead200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventRsvpRead200ResponseWithDefaults ¶
func NewCalendarEventRsvpRead200ResponseWithDefaults() *CalendarEventRsvpRead200Response
NewCalendarEventRsvpRead200ResponseWithDefaults instantiates a new CalendarEventRsvpRead200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventRsvpRead200Response) GetCalendarEventRsvp ¶
func (o *CalendarEventRsvpRead200Response) GetCalendarEventRsvp() CalendarEventRsvp
GetCalendarEventRsvp returns the CalendarEventRsvp field value
func (*CalendarEventRsvpRead200Response) GetCalendarEventRsvpOk ¶
func (o *CalendarEventRsvpRead200Response) GetCalendarEventRsvpOk() (*CalendarEventRsvp, bool)
GetCalendarEventRsvpOk returns a tuple with the CalendarEventRsvp field value and a boolean to check if the value has been set.
func (CalendarEventRsvpRead200Response) MarshalJSON ¶
func (o CalendarEventRsvpRead200Response) MarshalJSON() ([]byte, error)
func (*CalendarEventRsvpRead200Response) SetCalendarEventRsvp ¶
func (o *CalendarEventRsvpRead200Response) SetCalendarEventRsvp(v CalendarEventRsvp)
SetCalendarEventRsvp sets field value
func (CalendarEventRsvpRead200Response) ToMap ¶
func (o CalendarEventRsvpRead200Response) ToMap() (map[string]interface{}, error)
func (*CalendarEventRsvpRead200Response) UnmarshalJSON ¶
func (o *CalendarEventRsvpRead200Response) UnmarshalJSON(data []byte) (err error)
type CalendarEventRsvpReadMany200Response ¶
type CalendarEventRsvpReadMany200Response struct {
CalendarEventRsvps []CalendarEventRsvp `json:"calendarEventRsvps"`
}
CalendarEventRsvpReadMany200Response struct for CalendarEventRsvpReadMany200Response
func NewCalendarEventRsvpReadMany200Response ¶
func NewCalendarEventRsvpReadMany200Response(calendarEventRsvps []CalendarEventRsvp) *CalendarEventRsvpReadMany200Response
NewCalendarEventRsvpReadMany200Response instantiates a new CalendarEventRsvpReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventRsvpReadMany200ResponseWithDefaults ¶
func NewCalendarEventRsvpReadMany200ResponseWithDefaults() *CalendarEventRsvpReadMany200Response
NewCalendarEventRsvpReadMany200ResponseWithDefaults instantiates a new CalendarEventRsvpReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventRsvpReadMany200Response) GetCalendarEventRsvps ¶
func (o *CalendarEventRsvpReadMany200Response) GetCalendarEventRsvps() []CalendarEventRsvp
GetCalendarEventRsvps returns the CalendarEventRsvps field value
func (*CalendarEventRsvpReadMany200Response) GetCalendarEventRsvpsOk ¶
func (o *CalendarEventRsvpReadMany200Response) GetCalendarEventRsvpsOk() ([]CalendarEventRsvp, bool)
GetCalendarEventRsvpsOk returns a tuple with the CalendarEventRsvps field value and a boolean to check if the value has been set.
func (CalendarEventRsvpReadMany200Response) MarshalJSON ¶
func (o CalendarEventRsvpReadMany200Response) MarshalJSON() ([]byte, error)
func (*CalendarEventRsvpReadMany200Response) SetCalendarEventRsvps ¶
func (o *CalendarEventRsvpReadMany200Response) SetCalendarEventRsvps(v []CalendarEventRsvp)
SetCalendarEventRsvps sets field value
func (CalendarEventRsvpReadMany200Response) ToMap ¶
func (o CalendarEventRsvpReadMany200Response) ToMap() (map[string]interface{}, error)
func (*CalendarEventRsvpReadMany200Response) UnmarshalJSON ¶
func (o *CalendarEventRsvpReadMany200Response) UnmarshalJSON(data []byte) (err error)
type CalendarEventRsvpUpdateManyRequest ¶
type CalendarEventRsvpUpdateManyRequest struct { UserIds []UserID `json:"userIds"` // The status of the RSVP Status string `json:"status"` }
CalendarEventRsvpUpdateManyRequest struct for CalendarEventRsvpUpdateManyRequest
func NewCalendarEventRsvpUpdateManyRequest ¶
func NewCalendarEventRsvpUpdateManyRequest(userIds []UserID, status string) *CalendarEventRsvpUpdateManyRequest
NewCalendarEventRsvpUpdateManyRequest instantiates a new CalendarEventRsvpUpdateManyRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventRsvpUpdateManyRequestWithDefaults ¶
func NewCalendarEventRsvpUpdateManyRequestWithDefaults() *CalendarEventRsvpUpdateManyRequest
NewCalendarEventRsvpUpdateManyRequestWithDefaults instantiates a new CalendarEventRsvpUpdateManyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventRsvpUpdateManyRequest) GetStatus ¶
func (o *CalendarEventRsvpUpdateManyRequest) GetStatus() string
GetStatus returns the Status field value
func (*CalendarEventRsvpUpdateManyRequest) GetStatusOk ¶
func (o *CalendarEventRsvpUpdateManyRequest) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*CalendarEventRsvpUpdateManyRequest) GetUserIds ¶
func (o *CalendarEventRsvpUpdateManyRequest) GetUserIds() []UserID
GetUserIds returns the UserIds field value
func (*CalendarEventRsvpUpdateManyRequest) GetUserIdsOk ¶
func (o *CalendarEventRsvpUpdateManyRequest) GetUserIdsOk() ([]UserID, bool)
GetUserIdsOk returns a tuple with the UserIds field value and a boolean to check if the value has been set.
func (CalendarEventRsvpUpdateManyRequest) MarshalJSON ¶
func (o CalendarEventRsvpUpdateManyRequest) MarshalJSON() ([]byte, error)
func (*CalendarEventRsvpUpdateManyRequest) SetStatus ¶
func (o *CalendarEventRsvpUpdateManyRequest) SetStatus(v string)
SetStatus sets field value
func (*CalendarEventRsvpUpdateManyRequest) SetUserIds ¶
func (o *CalendarEventRsvpUpdateManyRequest) SetUserIds(v []UserID)
SetUserIds sets field value
func (CalendarEventRsvpUpdateManyRequest) ToMap ¶
func (o CalendarEventRsvpUpdateManyRequest) ToMap() (map[string]interface{}, error)
func (*CalendarEventRsvpUpdateManyRequest) UnmarshalJSON ¶
func (o *CalendarEventRsvpUpdateManyRequest) UnmarshalJSON(data []byte) (err error)
type CalendarEventRsvpUpdateRequest ¶
type CalendarEventRsvpUpdateRequest struct { // The status of the RSVP Status string `json:"status"` }
CalendarEventRsvpUpdateRequest struct for CalendarEventRsvpUpdateRequest
func NewCalendarEventRsvpUpdateRequest ¶
func NewCalendarEventRsvpUpdateRequest(status string) *CalendarEventRsvpUpdateRequest
NewCalendarEventRsvpUpdateRequest instantiates a new CalendarEventRsvpUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventRsvpUpdateRequestWithDefaults ¶
func NewCalendarEventRsvpUpdateRequestWithDefaults() *CalendarEventRsvpUpdateRequest
NewCalendarEventRsvpUpdateRequestWithDefaults instantiates a new CalendarEventRsvpUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventRsvpUpdateRequest) GetStatus ¶
func (o *CalendarEventRsvpUpdateRequest) GetStatus() string
GetStatus returns the Status field value
func (*CalendarEventRsvpUpdateRequest) GetStatusOk ¶
func (o *CalendarEventRsvpUpdateRequest) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (CalendarEventRsvpUpdateRequest) MarshalJSON ¶
func (o CalendarEventRsvpUpdateRequest) MarshalJSON() ([]byte, error)
func (*CalendarEventRsvpUpdateRequest) SetStatus ¶
func (o *CalendarEventRsvpUpdateRequest) SetStatus(v string)
SetStatus sets field value
func (CalendarEventRsvpUpdateRequest) ToMap ¶
func (o CalendarEventRsvpUpdateRequest) ToMap() (map[string]interface{}, error)
func (*CalendarEventRsvpUpdateRequest) UnmarshalJSON ¶
func (o *CalendarEventRsvpUpdateRequest) UnmarshalJSON(data []byte) (err error)
type CalendarEventSeries ¶
type CalendarEventSeries struct { // The ID of the calendar event series Id string `json:"id"` // The ID of the server ServerId string `json:"serverId"` // The ID of the channel ChannelId string `json:"channelId"` }
CalendarEventSeries struct for CalendarEventSeries
func NewCalendarEventSeries ¶
func NewCalendarEventSeries(id string, serverId string, channelId string) *CalendarEventSeries
NewCalendarEventSeries instantiates a new CalendarEventSeries object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventSeriesWithDefaults ¶
func NewCalendarEventSeriesWithDefaults() *CalendarEventSeries
NewCalendarEventSeriesWithDefaults instantiates a new CalendarEventSeries object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventSeries) GetChannelId ¶
func (o *CalendarEventSeries) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*CalendarEventSeries) GetChannelIdOk ¶
func (o *CalendarEventSeries) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*CalendarEventSeries) GetId ¶
func (o *CalendarEventSeries) GetId() string
GetId returns the Id field value
func (*CalendarEventSeries) GetIdOk ¶
func (o *CalendarEventSeries) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*CalendarEventSeries) GetServerId ¶
func (o *CalendarEventSeries) GetServerId() string
GetServerId returns the ServerId field value
func (*CalendarEventSeries) GetServerIdOk ¶
func (o *CalendarEventSeries) GetServerIdOk() (*string, bool)
GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.
func (CalendarEventSeries) MarshalJSON ¶
func (o CalendarEventSeries) MarshalJSON() ([]byte, error)
func (*CalendarEventSeries) SetChannelId ¶
func (o *CalendarEventSeries) SetChannelId(v string)
SetChannelId sets field value
func (*CalendarEventSeries) SetId ¶
func (o *CalendarEventSeries) SetId(v string)
SetId sets field value
func (*CalendarEventSeries) SetServerId ¶
func (o *CalendarEventSeries) SetServerId(v string)
SetServerId sets field value
func (CalendarEventSeries) ToMap ¶
func (o CalendarEventSeries) ToMap() (map[string]interface{}, error)
func (*CalendarEventSeries) UnmarshalJSON ¶
func (o *CalendarEventSeries) UnmarshalJSON(data []byte) (err error)
type CalendarEventSeriesAPI ¶
type CalendarEventSeriesAPI interface { /* CalendarEventSeriesDelete Delete a calendar event series @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventSeriesId @return CalendarEventSeriesAPICalendarEventSeriesDeleteRequest */ CalendarEventSeriesDelete(ctx context.Context, channelId string, calendarEventSeriesId string) CalendarEventSeriesAPICalendarEventSeriesDeleteRequest // CalendarEventSeriesDeleteExecute executes the request CalendarEventSeriesDeleteExecute(r CalendarEventSeriesAPICalendarEventSeriesDeleteRequest) (*http.Response, error) /* CalendarEventSeriesUpdate Update a calendar event series @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventSeriesId @return CalendarEventSeriesAPICalendarEventSeriesUpdateRequest */ CalendarEventSeriesUpdate(ctx context.Context, channelId string, calendarEventSeriesId string) CalendarEventSeriesAPICalendarEventSeriesUpdateRequest // CalendarEventSeriesUpdateExecute executes the request CalendarEventSeriesUpdateExecute(r CalendarEventSeriesAPICalendarEventSeriesUpdateRequest) (*http.Response, error) }
type CalendarEventSeriesAPICalendarEventSeriesDeleteRequest ¶
type CalendarEventSeriesAPICalendarEventSeriesDeleteRequest struct { ApiService CalendarEventSeriesAPI // contains filtered or unexported fields }
func (CalendarEventSeriesAPICalendarEventSeriesDeleteRequest) CalendarEventSeriesDeleteRequest ¶
func (r CalendarEventSeriesAPICalendarEventSeriesDeleteRequest) CalendarEventSeriesDeleteRequest(calendarEventSeriesDeleteRequest CalendarEventSeriesDeleteRequest) CalendarEventSeriesAPICalendarEventSeriesDeleteRequest
type CalendarEventSeriesAPICalendarEventSeriesUpdateRequest ¶
type CalendarEventSeriesAPICalendarEventSeriesUpdateRequest struct { ApiService CalendarEventSeriesAPI // contains filtered or unexported fields }
func (CalendarEventSeriesAPICalendarEventSeriesUpdateRequest) CalendarEventSeriesUpdateRequest ¶
func (r CalendarEventSeriesAPICalendarEventSeriesUpdateRequest) CalendarEventSeriesUpdateRequest(calendarEventSeriesUpdateRequest CalendarEventSeriesUpdateRequest) CalendarEventSeriesAPICalendarEventSeriesUpdateRequest
type CalendarEventSeriesAPIService ¶
type CalendarEventSeriesAPIService service
CalendarEventSeriesAPIService CalendarEventSeriesAPI service
func (*CalendarEventSeriesAPIService) CalendarEventSeriesDelete ¶
func (a *CalendarEventSeriesAPIService) CalendarEventSeriesDelete(ctx context.Context, channelId string, calendarEventSeriesId string) CalendarEventSeriesAPICalendarEventSeriesDeleteRequest
CalendarEventSeriesDelete Delete a calendar event series
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventSeriesId @return CalendarEventSeriesAPICalendarEventSeriesDeleteRequest
func (*CalendarEventSeriesAPIService) CalendarEventSeriesDeleteExecute ¶
func (a *CalendarEventSeriesAPIService) CalendarEventSeriesDeleteExecute(r CalendarEventSeriesAPICalendarEventSeriesDeleteRequest) (*http.Response, error)
Execute executes the request
func (*CalendarEventSeriesAPIService) CalendarEventSeriesUpdate ¶
func (a *CalendarEventSeriesAPIService) CalendarEventSeriesUpdate(ctx context.Context, channelId string, calendarEventSeriesId string) CalendarEventSeriesAPICalendarEventSeriesUpdateRequest
CalendarEventSeriesUpdate Update a calendar event series
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventSeriesId @return CalendarEventSeriesAPICalendarEventSeriesUpdateRequest
func (*CalendarEventSeriesAPIService) CalendarEventSeriesUpdateExecute ¶
func (a *CalendarEventSeriesAPIService) CalendarEventSeriesUpdateExecute(r CalendarEventSeriesAPICalendarEventSeriesUpdateRequest) (*http.Response, error)
Execute executes the request
type CalendarEventSeriesDeleteRequest ¶
type CalendarEventSeriesDeleteRequest struct { // Control the deletion of the series from the `calendarEventId` forward. If not defined, it will delete all events CalendarEventId *int32 `json:"calendarEventId,omitempty"` }
CalendarEventSeriesDeleteRequest struct for CalendarEventSeriesDeleteRequest
func NewCalendarEventSeriesDeleteRequest ¶
func NewCalendarEventSeriesDeleteRequest() *CalendarEventSeriesDeleteRequest
NewCalendarEventSeriesDeleteRequest instantiates a new CalendarEventSeriesDeleteRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventSeriesDeleteRequestWithDefaults ¶
func NewCalendarEventSeriesDeleteRequestWithDefaults() *CalendarEventSeriesDeleteRequest
NewCalendarEventSeriesDeleteRequestWithDefaults instantiates a new CalendarEventSeriesDeleteRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventSeriesDeleteRequest) GetCalendarEventId ¶
func (o *CalendarEventSeriesDeleteRequest) GetCalendarEventId() int32
GetCalendarEventId returns the CalendarEventId field value if set, zero value otherwise.
func (*CalendarEventSeriesDeleteRequest) GetCalendarEventIdOk ¶
func (o *CalendarEventSeriesDeleteRequest) GetCalendarEventIdOk() (*int32, bool)
GetCalendarEventIdOk returns a tuple with the CalendarEventId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventSeriesDeleteRequest) HasCalendarEventId ¶
func (o *CalendarEventSeriesDeleteRequest) HasCalendarEventId() bool
HasCalendarEventId returns a boolean if a field has been set.
func (CalendarEventSeriesDeleteRequest) MarshalJSON ¶
func (o CalendarEventSeriesDeleteRequest) MarshalJSON() ([]byte, error)
func (*CalendarEventSeriesDeleteRequest) SetCalendarEventId ¶
func (o *CalendarEventSeriesDeleteRequest) SetCalendarEventId(v int32)
SetCalendarEventId gets a reference to the given int32 and assigns it to the CalendarEventId field.
func (CalendarEventSeriesDeleteRequest) ToMap ¶
func (o CalendarEventSeriesDeleteRequest) ToMap() (map[string]interface{}, error)
type CalendarEventSeriesUpdateRequest ¶
type CalendarEventSeriesUpdateRequest struct { // The name of the event Name *string `json:"name,omitempty"` // The description of the event Description *string `json:"description,omitempty"` // The location of the event Location *string `json:"location,omitempty"` // The ISO 8601 timestamp that the event starts at StartsAt *time.Time `json:"startsAt,omitempty"` // A URL to associate with the event Url *string `json:"url,omitempty"` // The integer value corresponds to the decimal RGB representation for the color. The color of the event when viewing in the calendar Color *int32 `json:"color,omitempty"` // Does the event last all day? If passed with `duration`, `duration` will only be applied if it is an interval of minutes represented in days (e.g., `duration: 2880`) IsAllDay *bool `json:"isAllDay,omitempty"` // When disabled, users will not be able to RSVP to the event RsvpDisabled *bool `json:"rsvpDisabled,omitempty"` // The number of RSVPs to allow before waitlisting RSVPs RsvpLimit *int32 `json:"rsvpLimit,omitempty"` // When `rsvpLimit` is set, users from the waitlist will be added as space becomes available in the event AutofillWaitlist *bool `json:"autofillWaitlist,omitempty"` // The duration of the event _**in minutes**_ Duration *int32 `json:"duration,omitempty"` IsPrivate *bool `json:"isPrivate,omitempty"` // The role IDs to restrict the event to. Passing an empty array will clear the role IDs on the event RoleIds []int32 `json:"roleIds,omitempty"` RepeatInfo *CalendarEventCreateRequestRepeatInfo `json:"repeatInfo,omitempty"` // Control the updating of the series from the `calendarEventId` forward. If not defined, it will edit all events CalendarEventId *int32 `json:"calendarEventId,omitempty"` }
CalendarEventSeriesUpdateRequest struct for CalendarEventSeriesUpdateRequest
func NewCalendarEventSeriesUpdateRequest ¶
func NewCalendarEventSeriesUpdateRequest() *CalendarEventSeriesUpdateRequest
NewCalendarEventSeriesUpdateRequest instantiates a new CalendarEventSeriesUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventSeriesUpdateRequestWithDefaults ¶
func NewCalendarEventSeriesUpdateRequestWithDefaults() *CalendarEventSeriesUpdateRequest
NewCalendarEventSeriesUpdateRequestWithDefaults instantiates a new CalendarEventSeriesUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventSeriesUpdateRequest) GetAutofillWaitlist ¶
func (o *CalendarEventSeriesUpdateRequest) GetAutofillWaitlist() bool
GetAutofillWaitlist returns the AutofillWaitlist field value if set, zero value otherwise.
func (*CalendarEventSeriesUpdateRequest) GetAutofillWaitlistOk ¶
func (o *CalendarEventSeriesUpdateRequest) GetAutofillWaitlistOk() (*bool, bool)
GetAutofillWaitlistOk returns a tuple with the AutofillWaitlist field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventSeriesUpdateRequest) GetCalendarEventId ¶
func (o *CalendarEventSeriesUpdateRequest) GetCalendarEventId() int32
GetCalendarEventId returns the CalendarEventId field value if set, zero value otherwise.
func (*CalendarEventSeriesUpdateRequest) GetCalendarEventIdOk ¶
func (o *CalendarEventSeriesUpdateRequest) GetCalendarEventIdOk() (*int32, bool)
GetCalendarEventIdOk returns a tuple with the CalendarEventId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventSeriesUpdateRequest) GetColor ¶
func (o *CalendarEventSeriesUpdateRequest) GetColor() int32
GetColor returns the Color field value if set, zero value otherwise.
func (*CalendarEventSeriesUpdateRequest) GetColorOk ¶
func (o *CalendarEventSeriesUpdateRequest) GetColorOk() (*int32, bool)
GetColorOk returns a tuple with the Color field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventSeriesUpdateRequest) GetDescription ¶
func (o *CalendarEventSeriesUpdateRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CalendarEventSeriesUpdateRequest) GetDescriptionOk ¶
func (o *CalendarEventSeriesUpdateRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventSeriesUpdateRequest) GetDuration ¶
func (o *CalendarEventSeriesUpdateRequest) GetDuration() int32
GetDuration returns the Duration field value if set, zero value otherwise.
func (*CalendarEventSeriesUpdateRequest) GetDurationOk ¶
func (o *CalendarEventSeriesUpdateRequest) GetDurationOk() (*int32, bool)
GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventSeriesUpdateRequest) GetIsAllDay ¶
func (o *CalendarEventSeriesUpdateRequest) GetIsAllDay() bool
GetIsAllDay returns the IsAllDay field value if set, zero value otherwise.
func (*CalendarEventSeriesUpdateRequest) GetIsAllDayOk ¶
func (o *CalendarEventSeriesUpdateRequest) GetIsAllDayOk() (*bool, bool)
GetIsAllDayOk returns a tuple with the IsAllDay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventSeriesUpdateRequest) GetIsPrivate ¶
func (o *CalendarEventSeriesUpdateRequest) GetIsPrivate() bool
GetIsPrivate returns the IsPrivate field value if set, zero value otherwise.
func (*CalendarEventSeriesUpdateRequest) GetIsPrivateOk ¶
func (o *CalendarEventSeriesUpdateRequest) GetIsPrivateOk() (*bool, bool)
GetIsPrivateOk returns a tuple with the IsPrivate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventSeriesUpdateRequest) GetLocation ¶
func (o *CalendarEventSeriesUpdateRequest) GetLocation() string
GetLocation returns the Location field value if set, zero value otherwise.
func (*CalendarEventSeriesUpdateRequest) GetLocationOk ¶
func (o *CalendarEventSeriesUpdateRequest) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventSeriesUpdateRequest) GetName ¶
func (o *CalendarEventSeriesUpdateRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CalendarEventSeriesUpdateRequest) GetNameOk ¶
func (o *CalendarEventSeriesUpdateRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventSeriesUpdateRequest) GetRepeatInfo ¶
func (o *CalendarEventSeriesUpdateRequest) GetRepeatInfo() CalendarEventCreateRequestRepeatInfo
GetRepeatInfo returns the RepeatInfo field value if set, zero value otherwise.
func (*CalendarEventSeriesUpdateRequest) GetRepeatInfoOk ¶
func (o *CalendarEventSeriesUpdateRequest) GetRepeatInfoOk() (*CalendarEventCreateRequestRepeatInfo, bool)
GetRepeatInfoOk returns a tuple with the RepeatInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventSeriesUpdateRequest) GetRoleIds ¶
func (o *CalendarEventSeriesUpdateRequest) GetRoleIds() []int32
GetRoleIds returns the RoleIds field value if set, zero value otherwise.
func (*CalendarEventSeriesUpdateRequest) GetRoleIdsOk ¶
func (o *CalendarEventSeriesUpdateRequest) GetRoleIdsOk() ([]int32, bool)
GetRoleIdsOk returns a tuple with the RoleIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventSeriesUpdateRequest) GetRsvpDisabled ¶
func (o *CalendarEventSeriesUpdateRequest) GetRsvpDisabled() bool
GetRsvpDisabled returns the RsvpDisabled field value if set, zero value otherwise.
func (*CalendarEventSeriesUpdateRequest) GetRsvpDisabledOk ¶
func (o *CalendarEventSeriesUpdateRequest) GetRsvpDisabledOk() (*bool, bool)
GetRsvpDisabledOk returns a tuple with the RsvpDisabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventSeriesUpdateRequest) GetRsvpLimit ¶
func (o *CalendarEventSeriesUpdateRequest) GetRsvpLimit() int32
GetRsvpLimit returns the RsvpLimit field value if set, zero value otherwise.
func (*CalendarEventSeriesUpdateRequest) GetRsvpLimitOk ¶
func (o *CalendarEventSeriesUpdateRequest) GetRsvpLimitOk() (*int32, bool)
GetRsvpLimitOk returns a tuple with the RsvpLimit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventSeriesUpdateRequest) GetStartsAt ¶
func (o *CalendarEventSeriesUpdateRequest) GetStartsAt() time.Time
GetStartsAt returns the StartsAt field value if set, zero value otherwise.
func (*CalendarEventSeriesUpdateRequest) GetStartsAtOk ¶
func (o *CalendarEventSeriesUpdateRequest) GetStartsAtOk() (*time.Time, bool)
GetStartsAtOk returns a tuple with the StartsAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventSeriesUpdateRequest) GetUrl ¶
func (o *CalendarEventSeriesUpdateRequest) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*CalendarEventSeriesUpdateRequest) GetUrlOk ¶
func (o *CalendarEventSeriesUpdateRequest) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventSeriesUpdateRequest) HasAutofillWaitlist ¶
func (o *CalendarEventSeriesUpdateRequest) HasAutofillWaitlist() bool
HasAutofillWaitlist returns a boolean if a field has been set.
func (*CalendarEventSeriesUpdateRequest) HasCalendarEventId ¶
func (o *CalendarEventSeriesUpdateRequest) HasCalendarEventId() bool
HasCalendarEventId returns a boolean if a field has been set.
func (*CalendarEventSeriesUpdateRequest) HasColor ¶
func (o *CalendarEventSeriesUpdateRequest) HasColor() bool
HasColor returns a boolean if a field has been set.
func (*CalendarEventSeriesUpdateRequest) HasDescription ¶
func (o *CalendarEventSeriesUpdateRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CalendarEventSeriesUpdateRequest) HasDuration ¶
func (o *CalendarEventSeriesUpdateRequest) HasDuration() bool
HasDuration returns a boolean if a field has been set.
func (*CalendarEventSeriesUpdateRequest) HasIsAllDay ¶
func (o *CalendarEventSeriesUpdateRequest) HasIsAllDay() bool
HasIsAllDay returns a boolean if a field has been set.
func (*CalendarEventSeriesUpdateRequest) HasIsPrivate ¶
func (o *CalendarEventSeriesUpdateRequest) HasIsPrivate() bool
HasIsPrivate returns a boolean if a field has been set.
func (*CalendarEventSeriesUpdateRequest) HasLocation ¶
func (o *CalendarEventSeriesUpdateRequest) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (*CalendarEventSeriesUpdateRequest) HasName ¶
func (o *CalendarEventSeriesUpdateRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*CalendarEventSeriesUpdateRequest) HasRepeatInfo ¶
func (o *CalendarEventSeriesUpdateRequest) HasRepeatInfo() bool
HasRepeatInfo returns a boolean if a field has been set.
func (*CalendarEventSeriesUpdateRequest) HasRoleIds ¶
func (o *CalendarEventSeriesUpdateRequest) HasRoleIds() bool
HasRoleIds returns a boolean if a field has been set.
func (*CalendarEventSeriesUpdateRequest) HasRsvpDisabled ¶
func (o *CalendarEventSeriesUpdateRequest) HasRsvpDisabled() bool
HasRsvpDisabled returns a boolean if a field has been set.
func (*CalendarEventSeriesUpdateRequest) HasRsvpLimit ¶
func (o *CalendarEventSeriesUpdateRequest) HasRsvpLimit() bool
HasRsvpLimit returns a boolean if a field has been set.
func (*CalendarEventSeriesUpdateRequest) HasStartsAt ¶
func (o *CalendarEventSeriesUpdateRequest) HasStartsAt() bool
HasStartsAt returns a boolean if a field has been set.
func (*CalendarEventSeriesUpdateRequest) HasUrl ¶
func (o *CalendarEventSeriesUpdateRequest) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (CalendarEventSeriesUpdateRequest) MarshalJSON ¶
func (o CalendarEventSeriesUpdateRequest) MarshalJSON() ([]byte, error)
func (*CalendarEventSeriesUpdateRequest) SetAutofillWaitlist ¶
func (o *CalendarEventSeriesUpdateRequest) SetAutofillWaitlist(v bool)
SetAutofillWaitlist gets a reference to the given bool and assigns it to the AutofillWaitlist field.
func (*CalendarEventSeriesUpdateRequest) SetCalendarEventId ¶
func (o *CalendarEventSeriesUpdateRequest) SetCalendarEventId(v int32)
SetCalendarEventId gets a reference to the given int32 and assigns it to the CalendarEventId field.
func (*CalendarEventSeriesUpdateRequest) SetColor ¶
func (o *CalendarEventSeriesUpdateRequest) SetColor(v int32)
SetColor gets a reference to the given int32 and assigns it to the Color field.
func (*CalendarEventSeriesUpdateRequest) SetDescription ¶
func (o *CalendarEventSeriesUpdateRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CalendarEventSeriesUpdateRequest) SetDuration ¶
func (o *CalendarEventSeriesUpdateRequest) SetDuration(v int32)
SetDuration gets a reference to the given int32 and assigns it to the Duration field.
func (*CalendarEventSeriesUpdateRequest) SetIsAllDay ¶
func (o *CalendarEventSeriesUpdateRequest) SetIsAllDay(v bool)
SetIsAllDay gets a reference to the given bool and assigns it to the IsAllDay field.
func (*CalendarEventSeriesUpdateRequest) SetIsPrivate ¶
func (o *CalendarEventSeriesUpdateRequest) SetIsPrivate(v bool)
SetIsPrivate gets a reference to the given bool and assigns it to the IsPrivate field.
func (*CalendarEventSeriesUpdateRequest) SetLocation ¶
func (o *CalendarEventSeriesUpdateRequest) SetLocation(v string)
SetLocation gets a reference to the given string and assigns it to the Location field.
func (*CalendarEventSeriesUpdateRequest) SetName ¶
func (o *CalendarEventSeriesUpdateRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CalendarEventSeriesUpdateRequest) SetRepeatInfo ¶
func (o *CalendarEventSeriesUpdateRequest) SetRepeatInfo(v CalendarEventCreateRequestRepeatInfo)
SetRepeatInfo gets a reference to the given CalendarEventCreateRequestRepeatInfo and assigns it to the RepeatInfo field.
func (*CalendarEventSeriesUpdateRequest) SetRoleIds ¶
func (o *CalendarEventSeriesUpdateRequest) SetRoleIds(v []int32)
SetRoleIds gets a reference to the given []int32 and assigns it to the RoleIds field.
func (*CalendarEventSeriesUpdateRequest) SetRsvpDisabled ¶
func (o *CalendarEventSeriesUpdateRequest) SetRsvpDisabled(v bool)
SetRsvpDisabled gets a reference to the given bool and assigns it to the RsvpDisabled field.
func (*CalendarEventSeriesUpdateRequest) SetRsvpLimit ¶
func (o *CalendarEventSeriesUpdateRequest) SetRsvpLimit(v int32)
SetRsvpLimit gets a reference to the given int32 and assigns it to the RsvpLimit field.
func (*CalendarEventSeriesUpdateRequest) SetStartsAt ¶
func (o *CalendarEventSeriesUpdateRequest) SetStartsAt(v time.Time)
SetStartsAt gets a reference to the given time.Time and assigns it to the StartsAt field.
func (*CalendarEventSeriesUpdateRequest) SetUrl ¶
func (o *CalendarEventSeriesUpdateRequest) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (CalendarEventSeriesUpdateRequest) ToMap ¶
func (o CalendarEventSeriesUpdateRequest) ToMap() (map[string]interface{}, error)
type CalendarEventUpdateRequest ¶
type CalendarEventUpdateRequest struct { // The name of the event Name *string `json:"name,omitempty"` // The description of the event Description *string `json:"description,omitempty"` // The location of the event Location *string `json:"location,omitempty"` // The ISO 8601 timestamp that the event starts at StartsAt *time.Time `json:"startsAt,omitempty"` // A URL to associate with the event Url *string `json:"url,omitempty"` // The integer value corresponds to the decimal RGB representation for the color. The color of the event when viewing in the calendar Color *int32 `json:"color,omitempty"` // Does the event last all day? If passed with `duration`, `duration` will only be applied if it is an interval of minutes represented in days (e.g., `duration: 2880`) IsAllDay *bool `json:"isAllDay,omitempty"` // When disabled, users will not be able to RSVP to the event RsvpDisabled *bool `json:"rsvpDisabled,omitempty"` // The number of RSVPs to allow before waitlisting RSVPs RsvpLimit *int32 `json:"rsvpLimit,omitempty"` // When `rsvpLimit` is set, users from the waitlist will be added as space becomes available in the event AutofillWaitlist *bool `json:"autofillWaitlist,omitempty"` // The duration of the event _**in minutes**_ Duration *int32 `json:"duration,omitempty"` IsPrivate *bool `json:"isPrivate,omitempty"` // The role IDs to restrict the event to. Passing an empty array will clear the role IDs on the event RoleIds []int32 `json:"roleIds,omitempty"` Cancellation *CalendarEventUpdateRequestCancellation `json:"cancellation,omitempty"` }
CalendarEventUpdateRequest struct for CalendarEventUpdateRequest
func NewCalendarEventUpdateRequest ¶
func NewCalendarEventUpdateRequest() *CalendarEventUpdateRequest
NewCalendarEventUpdateRequest instantiates a new CalendarEventUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventUpdateRequestWithDefaults ¶
func NewCalendarEventUpdateRequestWithDefaults() *CalendarEventUpdateRequest
NewCalendarEventUpdateRequestWithDefaults instantiates a new CalendarEventUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventUpdateRequest) GetAutofillWaitlist ¶
func (o *CalendarEventUpdateRequest) GetAutofillWaitlist() bool
GetAutofillWaitlist returns the AutofillWaitlist field value if set, zero value otherwise.
func (*CalendarEventUpdateRequest) GetAutofillWaitlistOk ¶
func (o *CalendarEventUpdateRequest) GetAutofillWaitlistOk() (*bool, bool)
GetAutofillWaitlistOk returns a tuple with the AutofillWaitlist field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventUpdateRequest) GetCancellation ¶
func (o *CalendarEventUpdateRequest) GetCancellation() CalendarEventUpdateRequestCancellation
GetCancellation returns the Cancellation field value if set, zero value otherwise.
func (*CalendarEventUpdateRequest) GetCancellationOk ¶
func (o *CalendarEventUpdateRequest) GetCancellationOk() (*CalendarEventUpdateRequestCancellation, bool)
GetCancellationOk returns a tuple with the Cancellation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventUpdateRequest) GetColor ¶
func (o *CalendarEventUpdateRequest) GetColor() int32
GetColor returns the Color field value if set, zero value otherwise.
func (*CalendarEventUpdateRequest) GetColorOk ¶
func (o *CalendarEventUpdateRequest) GetColorOk() (*int32, bool)
GetColorOk returns a tuple with the Color field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventUpdateRequest) GetDescription ¶
func (o *CalendarEventUpdateRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CalendarEventUpdateRequest) GetDescriptionOk ¶
func (o *CalendarEventUpdateRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventUpdateRequest) GetDuration ¶
func (o *CalendarEventUpdateRequest) GetDuration() int32
GetDuration returns the Duration field value if set, zero value otherwise.
func (*CalendarEventUpdateRequest) GetDurationOk ¶
func (o *CalendarEventUpdateRequest) GetDurationOk() (*int32, bool)
GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventUpdateRequest) GetIsAllDay ¶
func (o *CalendarEventUpdateRequest) GetIsAllDay() bool
GetIsAllDay returns the IsAllDay field value if set, zero value otherwise.
func (*CalendarEventUpdateRequest) GetIsAllDayOk ¶
func (o *CalendarEventUpdateRequest) GetIsAllDayOk() (*bool, bool)
GetIsAllDayOk returns a tuple with the IsAllDay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventUpdateRequest) GetIsPrivate ¶
func (o *CalendarEventUpdateRequest) GetIsPrivate() bool
GetIsPrivate returns the IsPrivate field value if set, zero value otherwise.
func (*CalendarEventUpdateRequest) GetIsPrivateOk ¶
func (o *CalendarEventUpdateRequest) GetIsPrivateOk() (*bool, bool)
GetIsPrivateOk returns a tuple with the IsPrivate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventUpdateRequest) GetLocation ¶
func (o *CalendarEventUpdateRequest) GetLocation() string
GetLocation returns the Location field value if set, zero value otherwise.
func (*CalendarEventUpdateRequest) GetLocationOk ¶
func (o *CalendarEventUpdateRequest) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventUpdateRequest) GetName ¶
func (o *CalendarEventUpdateRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CalendarEventUpdateRequest) GetNameOk ¶
func (o *CalendarEventUpdateRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventUpdateRequest) GetRoleIds ¶
func (o *CalendarEventUpdateRequest) GetRoleIds() []int32
GetRoleIds returns the RoleIds field value if set, zero value otherwise.
func (*CalendarEventUpdateRequest) GetRoleIdsOk ¶
func (o *CalendarEventUpdateRequest) GetRoleIdsOk() ([]int32, bool)
GetRoleIdsOk returns a tuple with the RoleIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventUpdateRequest) GetRsvpDisabled ¶
func (o *CalendarEventUpdateRequest) GetRsvpDisabled() bool
GetRsvpDisabled returns the RsvpDisabled field value if set, zero value otherwise.
func (*CalendarEventUpdateRequest) GetRsvpDisabledOk ¶
func (o *CalendarEventUpdateRequest) GetRsvpDisabledOk() (*bool, bool)
GetRsvpDisabledOk returns a tuple with the RsvpDisabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventUpdateRequest) GetRsvpLimit ¶
func (o *CalendarEventUpdateRequest) GetRsvpLimit() int32
GetRsvpLimit returns the RsvpLimit field value if set, zero value otherwise.
func (*CalendarEventUpdateRequest) GetRsvpLimitOk ¶
func (o *CalendarEventUpdateRequest) GetRsvpLimitOk() (*int32, bool)
GetRsvpLimitOk returns a tuple with the RsvpLimit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventUpdateRequest) GetStartsAt ¶
func (o *CalendarEventUpdateRequest) GetStartsAt() time.Time
GetStartsAt returns the StartsAt field value if set, zero value otherwise.
func (*CalendarEventUpdateRequest) GetStartsAtOk ¶
func (o *CalendarEventUpdateRequest) GetStartsAtOk() (*time.Time, bool)
GetStartsAtOk returns a tuple with the StartsAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventUpdateRequest) GetUrl ¶
func (o *CalendarEventUpdateRequest) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*CalendarEventUpdateRequest) GetUrlOk ¶
func (o *CalendarEventUpdateRequest) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventUpdateRequest) HasAutofillWaitlist ¶
func (o *CalendarEventUpdateRequest) HasAutofillWaitlist() bool
HasAutofillWaitlist returns a boolean if a field has been set.
func (*CalendarEventUpdateRequest) HasCancellation ¶
func (o *CalendarEventUpdateRequest) HasCancellation() bool
HasCancellation returns a boolean if a field has been set.
func (*CalendarEventUpdateRequest) HasColor ¶
func (o *CalendarEventUpdateRequest) HasColor() bool
HasColor returns a boolean if a field has been set.
func (*CalendarEventUpdateRequest) HasDescription ¶
func (o *CalendarEventUpdateRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CalendarEventUpdateRequest) HasDuration ¶
func (o *CalendarEventUpdateRequest) HasDuration() bool
HasDuration returns a boolean if a field has been set.
func (*CalendarEventUpdateRequest) HasIsAllDay ¶
func (o *CalendarEventUpdateRequest) HasIsAllDay() bool
HasIsAllDay returns a boolean if a field has been set.
func (*CalendarEventUpdateRequest) HasIsPrivate ¶
func (o *CalendarEventUpdateRequest) HasIsPrivate() bool
HasIsPrivate returns a boolean if a field has been set.
func (*CalendarEventUpdateRequest) HasLocation ¶
func (o *CalendarEventUpdateRequest) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (*CalendarEventUpdateRequest) HasName ¶
func (o *CalendarEventUpdateRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*CalendarEventUpdateRequest) HasRoleIds ¶
func (o *CalendarEventUpdateRequest) HasRoleIds() bool
HasRoleIds returns a boolean if a field has been set.
func (*CalendarEventUpdateRequest) HasRsvpDisabled ¶
func (o *CalendarEventUpdateRequest) HasRsvpDisabled() bool
HasRsvpDisabled returns a boolean if a field has been set.
func (*CalendarEventUpdateRequest) HasRsvpLimit ¶
func (o *CalendarEventUpdateRequest) HasRsvpLimit() bool
HasRsvpLimit returns a boolean if a field has been set.
func (*CalendarEventUpdateRequest) HasStartsAt ¶
func (o *CalendarEventUpdateRequest) HasStartsAt() bool
HasStartsAt returns a boolean if a field has been set.
func (*CalendarEventUpdateRequest) HasUrl ¶
func (o *CalendarEventUpdateRequest) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (CalendarEventUpdateRequest) MarshalJSON ¶
func (o CalendarEventUpdateRequest) MarshalJSON() ([]byte, error)
func (*CalendarEventUpdateRequest) SetAutofillWaitlist ¶
func (o *CalendarEventUpdateRequest) SetAutofillWaitlist(v bool)
SetAutofillWaitlist gets a reference to the given bool and assigns it to the AutofillWaitlist field.
func (*CalendarEventUpdateRequest) SetCancellation ¶
func (o *CalendarEventUpdateRequest) SetCancellation(v CalendarEventUpdateRequestCancellation)
SetCancellation gets a reference to the given CalendarEventUpdateRequestCancellation and assigns it to the Cancellation field.
func (*CalendarEventUpdateRequest) SetColor ¶
func (o *CalendarEventUpdateRequest) SetColor(v int32)
SetColor gets a reference to the given int32 and assigns it to the Color field.
func (*CalendarEventUpdateRequest) SetDescription ¶
func (o *CalendarEventUpdateRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CalendarEventUpdateRequest) SetDuration ¶
func (o *CalendarEventUpdateRequest) SetDuration(v int32)
SetDuration gets a reference to the given int32 and assigns it to the Duration field.
func (*CalendarEventUpdateRequest) SetIsAllDay ¶
func (o *CalendarEventUpdateRequest) SetIsAllDay(v bool)
SetIsAllDay gets a reference to the given bool and assigns it to the IsAllDay field.
func (*CalendarEventUpdateRequest) SetIsPrivate ¶
func (o *CalendarEventUpdateRequest) SetIsPrivate(v bool)
SetIsPrivate gets a reference to the given bool and assigns it to the IsPrivate field.
func (*CalendarEventUpdateRequest) SetLocation ¶
func (o *CalendarEventUpdateRequest) SetLocation(v string)
SetLocation gets a reference to the given string and assigns it to the Location field.
func (*CalendarEventUpdateRequest) SetName ¶
func (o *CalendarEventUpdateRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CalendarEventUpdateRequest) SetRoleIds ¶
func (o *CalendarEventUpdateRequest) SetRoleIds(v []int32)
SetRoleIds gets a reference to the given []int32 and assigns it to the RoleIds field.
func (*CalendarEventUpdateRequest) SetRsvpDisabled ¶
func (o *CalendarEventUpdateRequest) SetRsvpDisabled(v bool)
SetRsvpDisabled gets a reference to the given bool and assigns it to the RsvpDisabled field.
func (*CalendarEventUpdateRequest) SetRsvpLimit ¶
func (o *CalendarEventUpdateRequest) SetRsvpLimit(v int32)
SetRsvpLimit gets a reference to the given int32 and assigns it to the RsvpLimit field.
func (*CalendarEventUpdateRequest) SetStartsAt ¶
func (o *CalendarEventUpdateRequest) SetStartsAt(v time.Time)
SetStartsAt gets a reference to the given time.Time and assigns it to the StartsAt field.
func (*CalendarEventUpdateRequest) SetUrl ¶
func (o *CalendarEventUpdateRequest) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (CalendarEventUpdateRequest) ToMap ¶
func (o CalendarEventUpdateRequest) ToMap() (map[string]interface{}, error)
type CalendarEventUpdateRequestCancellation ¶
type CalendarEventUpdateRequestCancellation struct { // The description of event cancellation Description *string `json:"description,omitempty"` }
CalendarEventUpdateRequestCancellation struct for CalendarEventUpdateRequestCancellation
func NewCalendarEventUpdateRequestCancellation ¶
func NewCalendarEventUpdateRequestCancellation() *CalendarEventUpdateRequestCancellation
NewCalendarEventUpdateRequestCancellation instantiates a new CalendarEventUpdateRequestCancellation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCalendarEventUpdateRequestCancellationWithDefaults ¶
func NewCalendarEventUpdateRequestCancellationWithDefaults() *CalendarEventUpdateRequestCancellation
NewCalendarEventUpdateRequestCancellationWithDefaults instantiates a new CalendarEventUpdateRequestCancellation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CalendarEventUpdateRequestCancellation) GetDescription ¶
func (o *CalendarEventUpdateRequestCancellation) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CalendarEventUpdateRequestCancellation) GetDescriptionOk ¶
func (o *CalendarEventUpdateRequestCancellation) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CalendarEventUpdateRequestCancellation) HasDescription ¶
func (o *CalendarEventUpdateRequestCancellation) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (CalendarEventUpdateRequestCancellation) MarshalJSON ¶
func (o CalendarEventUpdateRequestCancellation) MarshalJSON() ([]byte, error)
func (*CalendarEventUpdateRequestCancellation) SetDescription ¶
func (o *CalendarEventUpdateRequestCancellation) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (CalendarEventUpdateRequestCancellation) ToMap ¶
func (o CalendarEventUpdateRequestCancellation) ToMap() (map[string]interface{}, error)
type CalendarEventsAPI ¶
type CalendarEventsAPI interface { /* CalendarEventCreate Create a calendar event We currently do not have a way to surface the `repeatInfo` after event series are updated. Stay tuned! @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId The calendar to create the event in @return CalendarEventsAPICalendarEventCreateRequest */ CalendarEventCreate(ctx context.Context, channelId string) CalendarEventsAPICalendarEventCreateRequest // CalendarEventCreateExecute executes the request // @return CalendarEventCreate200Response CalendarEventCreateExecute(r CalendarEventsAPICalendarEventCreateRequest) (*CalendarEventCreate200Response, *http.Response, error) /* CalendarEventDelete Delete a calendar event @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @return CalendarEventsAPICalendarEventDeleteRequest */ CalendarEventDelete(ctx context.Context, channelId string, calendarEventId int32) CalendarEventsAPICalendarEventDeleteRequest // CalendarEventDeleteExecute executes the request CalendarEventDeleteExecute(r CalendarEventsAPICalendarEventDeleteRequest) (*http.Response, error) /* CalendarEventRead Get a calendar event @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @return CalendarEventsAPICalendarEventReadRequest */ CalendarEventRead(ctx context.Context, channelId string, calendarEventId int32) CalendarEventsAPICalendarEventReadRequest // CalendarEventReadExecute executes the request // @return CalendarEventCreate200Response CalendarEventReadExecute(r CalendarEventsAPICalendarEventReadRequest) (*CalendarEventCreate200Response, *http.Response, error) /* CalendarEventReadMany Get calendar events Results returned will be ordered ascending by the event's `startsAt`. `before` and `after` will filter based on the event's `startsAt` @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return CalendarEventsAPICalendarEventReadManyRequest */ CalendarEventReadMany(ctx context.Context, channelId string) CalendarEventsAPICalendarEventReadManyRequest // CalendarEventReadManyExecute executes the request // @return CalendarEventReadMany200Response CalendarEventReadManyExecute(r CalendarEventsAPICalendarEventReadManyRequest) (*CalendarEventReadMany200Response, *http.Response, error) /* CalendarEventRsvpDelete Delete a calendar event RSVP @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @param userId @return CalendarEventsAPICalendarEventRsvpDeleteRequest */ CalendarEventRsvpDelete(ctx context.Context, channelId string, calendarEventId int32, userId UserID) CalendarEventsAPICalendarEventRsvpDeleteRequest // CalendarEventRsvpDeleteExecute executes the request CalendarEventRsvpDeleteExecute(r CalendarEventsAPICalendarEventRsvpDeleteRequest) (*http.Response, error) /* CalendarEventRsvpRead Get a calendar event RSVP @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @param userId @return CalendarEventsAPICalendarEventRsvpReadRequest */ CalendarEventRsvpRead(ctx context.Context, channelId string, calendarEventId int32, userId UserID) CalendarEventsAPICalendarEventRsvpReadRequest // CalendarEventRsvpReadExecute executes the request // @return CalendarEventRsvpRead200Response CalendarEventRsvpReadExecute(r CalendarEventsAPICalendarEventRsvpReadRequest) (*CalendarEventRsvpRead200Response, *http.Response, error) /* CalendarEventRsvpReadMany Get calendar event RSVPs @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @return CalendarEventsAPICalendarEventRsvpReadManyRequest */ CalendarEventRsvpReadMany(ctx context.Context, channelId string, calendarEventId int32) CalendarEventsAPICalendarEventRsvpReadManyRequest // CalendarEventRsvpReadManyExecute executes the request // @return CalendarEventRsvpReadMany200Response CalendarEventRsvpReadManyExecute(r CalendarEventsAPICalendarEventRsvpReadManyRequest) (*CalendarEventRsvpReadMany200Response, *http.Response, error) /* CalendarEventRsvpUpdate Create or update a calendar event RSVP @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @param userId @return CalendarEventsAPICalendarEventRsvpUpdateRequest */ CalendarEventRsvpUpdate(ctx context.Context, channelId string, calendarEventId int32, userId UserID) CalendarEventsAPICalendarEventRsvpUpdateRequest // CalendarEventRsvpUpdateExecute executes the request // @return CalendarEventRsvpRead200Response CalendarEventRsvpUpdateExecute(r CalendarEventsAPICalendarEventRsvpUpdateRequest) (*CalendarEventRsvpRead200Response, *http.Response, error) /* CalendarEventRsvpUpdateMany Create or update a calendar event RSVP for multiple users @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @return CalendarEventsAPICalendarEventRsvpUpdateManyRequest */ CalendarEventRsvpUpdateMany(ctx context.Context, channelId string, calendarEventId int32) CalendarEventsAPICalendarEventRsvpUpdateManyRequest // CalendarEventRsvpUpdateManyExecute executes the request CalendarEventRsvpUpdateManyExecute(r CalendarEventsAPICalendarEventRsvpUpdateManyRequest) (*http.Response, error) /* CalendarEventUpdate Update a calendar event We currently do not have a way to surface the `repeatInfo` after event series are updated. Stay tuned! @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @return CalendarEventsAPICalendarEventUpdateRequest */ CalendarEventUpdate(ctx context.Context, channelId string, calendarEventId int32) CalendarEventsAPICalendarEventUpdateRequest // CalendarEventUpdateExecute executes the request // @return CalendarEventCreate200Response CalendarEventUpdateExecute(r CalendarEventsAPICalendarEventUpdateRequest) (*CalendarEventCreate200Response, *http.Response, error) }
type CalendarEventsAPICalendarEventCreateRequest ¶
type CalendarEventsAPICalendarEventCreateRequest struct { ApiService CalendarEventsAPI // contains filtered or unexported fields }
func (CalendarEventsAPICalendarEventCreateRequest) CalendarEventCreateRequest ¶
func (r CalendarEventsAPICalendarEventCreateRequest) CalendarEventCreateRequest(calendarEventCreateRequest CalendarEventCreateRequest) CalendarEventsAPICalendarEventCreateRequest
func (CalendarEventsAPICalendarEventCreateRequest) Execute ¶
func (r CalendarEventsAPICalendarEventCreateRequest) Execute() (*CalendarEventCreate200Response, *http.Response, error)
type CalendarEventsAPICalendarEventDeleteRequest ¶
type CalendarEventsAPICalendarEventDeleteRequest struct { ApiService CalendarEventsAPI // contains filtered or unexported fields }
type CalendarEventsAPICalendarEventReadManyRequest ¶
type CalendarEventsAPICalendarEventReadManyRequest struct { ApiService CalendarEventsAPI // contains filtered or unexported fields }
func (CalendarEventsAPICalendarEventReadManyRequest) After ¶
func (r CalendarEventsAPICalendarEventReadManyRequest) After(after time.Time) CalendarEventsAPICalendarEventReadManyRequest
func (CalendarEventsAPICalendarEventReadManyRequest) Before ¶
func (r CalendarEventsAPICalendarEventReadManyRequest) Before(before time.Time) CalendarEventsAPICalendarEventReadManyRequest
func (CalendarEventsAPICalendarEventReadManyRequest) Execute ¶
func (r CalendarEventsAPICalendarEventReadManyRequest) Execute() (*CalendarEventReadMany200Response, *http.Response, error)
func (CalendarEventsAPICalendarEventReadManyRequest) Limit ¶
func (r CalendarEventsAPICalendarEventReadManyRequest) Limit(limit int32) CalendarEventsAPICalendarEventReadManyRequest
type CalendarEventsAPICalendarEventReadRequest ¶
type CalendarEventsAPICalendarEventReadRequest struct { ApiService CalendarEventsAPI // contains filtered or unexported fields }
func (CalendarEventsAPICalendarEventReadRequest) Execute ¶
func (r CalendarEventsAPICalendarEventReadRequest) Execute() (*CalendarEventCreate200Response, *http.Response, error)
type CalendarEventsAPICalendarEventRsvpDeleteRequest ¶
type CalendarEventsAPICalendarEventRsvpDeleteRequest struct { ApiService CalendarEventsAPI // contains filtered or unexported fields }
type CalendarEventsAPICalendarEventRsvpReadManyRequest ¶
type CalendarEventsAPICalendarEventRsvpReadManyRequest struct { ApiService CalendarEventsAPI // contains filtered or unexported fields }
func (CalendarEventsAPICalendarEventRsvpReadManyRequest) Execute ¶
func (r CalendarEventsAPICalendarEventRsvpReadManyRequest) Execute() (*CalendarEventRsvpReadMany200Response, *http.Response, error)
type CalendarEventsAPICalendarEventRsvpReadRequest ¶
type CalendarEventsAPICalendarEventRsvpReadRequest struct { ApiService CalendarEventsAPI // contains filtered or unexported fields }
func (CalendarEventsAPICalendarEventRsvpReadRequest) Execute ¶
func (r CalendarEventsAPICalendarEventRsvpReadRequest) Execute() (*CalendarEventRsvpRead200Response, *http.Response, error)
type CalendarEventsAPICalendarEventRsvpUpdateManyRequest ¶
type CalendarEventsAPICalendarEventRsvpUpdateManyRequest struct { ApiService CalendarEventsAPI // contains filtered or unexported fields }
func (CalendarEventsAPICalendarEventRsvpUpdateManyRequest) CalendarEventRsvpUpdateManyRequest ¶
func (r CalendarEventsAPICalendarEventRsvpUpdateManyRequest) CalendarEventRsvpUpdateManyRequest(calendarEventRsvpUpdateManyRequest CalendarEventRsvpUpdateManyRequest) CalendarEventsAPICalendarEventRsvpUpdateManyRequest
type CalendarEventsAPICalendarEventRsvpUpdateRequest ¶
type CalendarEventsAPICalendarEventRsvpUpdateRequest struct { ApiService CalendarEventsAPI // contains filtered or unexported fields }
func (CalendarEventsAPICalendarEventRsvpUpdateRequest) CalendarEventRsvpUpdateRequest ¶
func (r CalendarEventsAPICalendarEventRsvpUpdateRequest) CalendarEventRsvpUpdateRequest(calendarEventRsvpUpdateRequest CalendarEventRsvpUpdateRequest) CalendarEventsAPICalendarEventRsvpUpdateRequest
func (CalendarEventsAPICalendarEventRsvpUpdateRequest) Execute ¶
func (r CalendarEventsAPICalendarEventRsvpUpdateRequest) Execute() (*CalendarEventRsvpRead200Response, *http.Response, error)
type CalendarEventsAPICalendarEventUpdateRequest ¶
type CalendarEventsAPICalendarEventUpdateRequest struct { ApiService CalendarEventsAPI // contains filtered or unexported fields }
func (CalendarEventsAPICalendarEventUpdateRequest) CalendarEventUpdateRequest ¶
func (r CalendarEventsAPICalendarEventUpdateRequest) CalendarEventUpdateRequest(calendarEventUpdateRequest CalendarEventUpdateRequest) CalendarEventsAPICalendarEventUpdateRequest
func (CalendarEventsAPICalendarEventUpdateRequest) Execute ¶
func (r CalendarEventsAPICalendarEventUpdateRequest) Execute() (*CalendarEventCreate200Response, *http.Response, error)
type CalendarEventsAPIService ¶
type CalendarEventsAPIService service
CalendarEventsAPIService CalendarEventsAPI service
func (*CalendarEventsAPIService) CalendarEventCreate ¶
func (a *CalendarEventsAPIService) CalendarEventCreate(ctx context.Context, channelId string) CalendarEventsAPICalendarEventCreateRequest
CalendarEventCreate Create a calendar event
We currently do not have a way to surface the `repeatInfo` after event series are updated. Stay tuned!
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId The calendar to create the event in @return CalendarEventsAPICalendarEventCreateRequest
func (*CalendarEventsAPIService) CalendarEventCreateExecute ¶
func (a *CalendarEventsAPIService) CalendarEventCreateExecute(r CalendarEventsAPICalendarEventCreateRequest) (*CalendarEventCreate200Response, *http.Response, error)
Execute executes the request
@return CalendarEventCreate200Response
func (*CalendarEventsAPIService) CalendarEventDelete ¶
func (a *CalendarEventsAPIService) CalendarEventDelete(ctx context.Context, channelId string, calendarEventId int32) CalendarEventsAPICalendarEventDeleteRequest
CalendarEventDelete Delete a calendar event
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @return CalendarEventsAPICalendarEventDeleteRequest
func (*CalendarEventsAPIService) CalendarEventDeleteExecute ¶
func (a *CalendarEventsAPIService) CalendarEventDeleteExecute(r CalendarEventsAPICalendarEventDeleteRequest) (*http.Response, error)
Execute executes the request
func (*CalendarEventsAPIService) CalendarEventRead ¶
func (a *CalendarEventsAPIService) CalendarEventRead(ctx context.Context, channelId string, calendarEventId int32) CalendarEventsAPICalendarEventReadRequest
CalendarEventRead Get a calendar event
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @return CalendarEventsAPICalendarEventReadRequest
func (*CalendarEventsAPIService) CalendarEventReadExecute ¶
func (a *CalendarEventsAPIService) CalendarEventReadExecute(r CalendarEventsAPICalendarEventReadRequest) (*CalendarEventCreate200Response, *http.Response, error)
Execute executes the request
@return CalendarEventCreate200Response
func (*CalendarEventsAPIService) CalendarEventReadMany ¶
func (a *CalendarEventsAPIService) CalendarEventReadMany(ctx context.Context, channelId string) CalendarEventsAPICalendarEventReadManyRequest
CalendarEventReadMany Get calendar events
Results returned will be ordered ascending by the event's `startsAt`. `before` and `after` will filter based on the event's `startsAt`
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return CalendarEventsAPICalendarEventReadManyRequest
func (*CalendarEventsAPIService) CalendarEventReadManyExecute ¶
func (a *CalendarEventsAPIService) CalendarEventReadManyExecute(r CalendarEventsAPICalendarEventReadManyRequest) (*CalendarEventReadMany200Response, *http.Response, error)
Execute executes the request
@return CalendarEventReadMany200Response
func (*CalendarEventsAPIService) CalendarEventRsvpDelete ¶
func (a *CalendarEventsAPIService) CalendarEventRsvpDelete(ctx context.Context, channelId string, calendarEventId int32, userId UserID) CalendarEventsAPICalendarEventRsvpDeleteRequest
CalendarEventRsvpDelete Delete a calendar event RSVP
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @param userId @return CalendarEventsAPICalendarEventRsvpDeleteRequest
func (*CalendarEventsAPIService) CalendarEventRsvpDeleteExecute ¶
func (a *CalendarEventsAPIService) CalendarEventRsvpDeleteExecute(r CalendarEventsAPICalendarEventRsvpDeleteRequest) (*http.Response, error)
Execute executes the request
func (*CalendarEventsAPIService) CalendarEventRsvpRead ¶
func (a *CalendarEventsAPIService) CalendarEventRsvpRead(ctx context.Context, channelId string, calendarEventId int32, userId UserID) CalendarEventsAPICalendarEventRsvpReadRequest
CalendarEventRsvpRead Get a calendar event RSVP
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @param userId @return CalendarEventsAPICalendarEventRsvpReadRequest
func (*CalendarEventsAPIService) CalendarEventRsvpReadExecute ¶
func (a *CalendarEventsAPIService) CalendarEventRsvpReadExecute(r CalendarEventsAPICalendarEventRsvpReadRequest) (*CalendarEventRsvpRead200Response, *http.Response, error)
Execute executes the request
@return CalendarEventRsvpRead200Response
func (*CalendarEventsAPIService) CalendarEventRsvpReadMany ¶
func (a *CalendarEventsAPIService) CalendarEventRsvpReadMany(ctx context.Context, channelId string, calendarEventId int32) CalendarEventsAPICalendarEventRsvpReadManyRequest
CalendarEventRsvpReadMany Get calendar event RSVPs
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @return CalendarEventsAPICalendarEventRsvpReadManyRequest
func (*CalendarEventsAPIService) CalendarEventRsvpReadManyExecute ¶
func (a *CalendarEventsAPIService) CalendarEventRsvpReadManyExecute(r CalendarEventsAPICalendarEventRsvpReadManyRequest) (*CalendarEventRsvpReadMany200Response, *http.Response, error)
Execute executes the request
@return CalendarEventRsvpReadMany200Response
func (*CalendarEventsAPIService) CalendarEventRsvpUpdate ¶
func (a *CalendarEventsAPIService) CalendarEventRsvpUpdate(ctx context.Context, channelId string, calendarEventId int32, userId UserID) CalendarEventsAPICalendarEventRsvpUpdateRequest
CalendarEventRsvpUpdate Create or update a calendar event RSVP
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @param userId @return CalendarEventsAPICalendarEventRsvpUpdateRequest
func (*CalendarEventsAPIService) CalendarEventRsvpUpdateExecute ¶
func (a *CalendarEventsAPIService) CalendarEventRsvpUpdateExecute(r CalendarEventsAPICalendarEventRsvpUpdateRequest) (*CalendarEventRsvpRead200Response, *http.Response, error)
Execute executes the request
@return CalendarEventRsvpRead200Response
func (*CalendarEventsAPIService) CalendarEventRsvpUpdateMany ¶
func (a *CalendarEventsAPIService) CalendarEventRsvpUpdateMany(ctx context.Context, channelId string, calendarEventId int32) CalendarEventsAPICalendarEventRsvpUpdateManyRequest
CalendarEventRsvpUpdateMany Create or update a calendar event RSVP for multiple users
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @return CalendarEventsAPICalendarEventRsvpUpdateManyRequest
func (*CalendarEventsAPIService) CalendarEventRsvpUpdateManyExecute ¶
func (a *CalendarEventsAPIService) CalendarEventRsvpUpdateManyExecute(r CalendarEventsAPICalendarEventRsvpUpdateManyRequest) (*http.Response, error)
Execute executes the request
func (*CalendarEventsAPIService) CalendarEventUpdate ¶
func (a *CalendarEventsAPIService) CalendarEventUpdate(ctx context.Context, channelId string, calendarEventId int32) CalendarEventsAPICalendarEventUpdateRequest
CalendarEventUpdate Update a calendar event
We currently do not have a way to surface the `repeatInfo` after event series are updated. Stay tuned!
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @return CalendarEventsAPICalendarEventUpdateRequest
func (*CalendarEventsAPIService) CalendarEventUpdateExecute ¶
func (a *CalendarEventsAPIService) CalendarEventUpdateExecute(r CalendarEventsAPICalendarEventUpdateRequest) (*CalendarEventCreate200Response, *http.Response, error)
Execute executes the request
@return CalendarEventCreate200Response
type CategoriesAPI ¶
type CategoriesAPI interface { /* CategoryCreate Create a category @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return CategoriesAPICategoryCreateRequest */ CategoryCreate(ctx context.Context, serverId string) CategoriesAPICategoryCreateRequest // CategoryCreateExecute executes the request // @return CategoryCreate200Response CategoryCreateExecute(r CategoriesAPICategoryCreateRequest) (*CategoryCreate200Response, *http.Response, error) /* CategoryDelete Delete a category @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @return CategoriesAPICategoryDeleteRequest */ CategoryDelete(ctx context.Context, serverId string, categoryId int32) CategoriesAPICategoryDeleteRequest // CategoryDeleteExecute executes the request // @return CategoryCreate200Response CategoryDeleteExecute(r CategoriesAPICategoryDeleteRequest) (*CategoryCreate200Response, *http.Response, error) /* CategoryRead Read a category @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @return CategoriesAPICategoryReadRequest */ CategoryRead(ctx context.Context, serverId string, categoryId int32) CategoriesAPICategoryReadRequest // CategoryReadExecute executes the request // @return CategoryCreate200Response CategoryReadExecute(r CategoriesAPICategoryReadRequest) (*CategoryCreate200Response, *http.Response, error) /* CategoryUpdate Update a category @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @return CategoriesAPICategoryUpdateRequest */ CategoryUpdate(ctx context.Context, serverId string, categoryId int32) CategoriesAPICategoryUpdateRequest // CategoryUpdateExecute executes the request // @return CategoryCreate200Response CategoryUpdateExecute(r CategoriesAPICategoryUpdateRequest) (*CategoryCreate200Response, *http.Response, error) }
type CategoriesAPICategoryCreateRequest ¶
type CategoriesAPICategoryCreateRequest struct { ApiService CategoriesAPI // contains filtered or unexported fields }
func (CategoriesAPICategoryCreateRequest) CategoryCreateRequest ¶
func (r CategoriesAPICategoryCreateRequest) CategoryCreateRequest(categoryCreateRequest CategoryCreateRequest) CategoriesAPICategoryCreateRequest
func (CategoriesAPICategoryCreateRequest) Execute ¶
func (r CategoriesAPICategoryCreateRequest) Execute() (*CategoryCreate200Response, *http.Response, error)
type CategoriesAPICategoryDeleteRequest ¶
type CategoriesAPICategoryDeleteRequest struct { ApiService CategoriesAPI // contains filtered or unexported fields }
func (CategoriesAPICategoryDeleteRequest) Execute ¶
func (r CategoriesAPICategoryDeleteRequest) Execute() (*CategoryCreate200Response, *http.Response, error)
type CategoriesAPICategoryReadRequest ¶
type CategoriesAPICategoryReadRequest struct { ApiService CategoriesAPI // contains filtered or unexported fields }
func (CategoriesAPICategoryReadRequest) Execute ¶
func (r CategoriesAPICategoryReadRequest) Execute() (*CategoryCreate200Response, *http.Response, error)
type CategoriesAPICategoryUpdateRequest ¶
type CategoriesAPICategoryUpdateRequest struct { ApiService CategoriesAPI // contains filtered or unexported fields }
func (CategoriesAPICategoryUpdateRequest) CategoryUpdateRequest ¶
func (r CategoriesAPICategoryUpdateRequest) CategoryUpdateRequest(categoryUpdateRequest CategoryUpdateRequest) CategoriesAPICategoryUpdateRequest
func (CategoriesAPICategoryUpdateRequest) Execute ¶
func (r CategoriesAPICategoryUpdateRequest) Execute() (*CategoryCreate200Response, *http.Response, error)
type CategoriesAPIService ¶
type CategoriesAPIService service
CategoriesAPIService CategoriesAPI service
func (*CategoriesAPIService) CategoryCreate ¶
func (a *CategoriesAPIService) CategoryCreate(ctx context.Context, serverId string) CategoriesAPICategoryCreateRequest
CategoryCreate Create a category
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return CategoriesAPICategoryCreateRequest
func (*CategoriesAPIService) CategoryCreateExecute ¶
func (a *CategoriesAPIService) CategoryCreateExecute(r CategoriesAPICategoryCreateRequest) (*CategoryCreate200Response, *http.Response, error)
Execute executes the request
@return CategoryCreate200Response
func (*CategoriesAPIService) CategoryDelete ¶
func (a *CategoriesAPIService) CategoryDelete(ctx context.Context, serverId string, categoryId int32) CategoriesAPICategoryDeleteRequest
CategoryDelete Delete a category
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @return CategoriesAPICategoryDeleteRequest
func (*CategoriesAPIService) CategoryDeleteExecute ¶
func (a *CategoriesAPIService) CategoryDeleteExecute(r CategoriesAPICategoryDeleteRequest) (*CategoryCreate200Response, *http.Response, error)
Execute executes the request
@return CategoryCreate200Response
func (*CategoriesAPIService) CategoryRead ¶
func (a *CategoriesAPIService) CategoryRead(ctx context.Context, serverId string, categoryId int32) CategoriesAPICategoryReadRequest
CategoryRead Read a category
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @return CategoriesAPICategoryReadRequest
func (*CategoriesAPIService) CategoryReadExecute ¶
func (a *CategoriesAPIService) CategoryReadExecute(r CategoriesAPICategoryReadRequest) (*CategoryCreate200Response, *http.Response, error)
Execute executes the request
@return CategoryCreate200Response
func (*CategoriesAPIService) CategoryUpdate ¶
func (a *CategoriesAPIService) CategoryUpdate(ctx context.Context, serverId string, categoryId int32) CategoriesAPICategoryUpdateRequest
CategoryUpdate Update a category
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @return CategoriesAPICategoryUpdateRequest
func (*CategoriesAPIService) CategoryUpdateExecute ¶
func (a *CategoriesAPIService) CategoryUpdateExecute(r CategoriesAPICategoryUpdateRequest) (*CategoryCreate200Response, *http.Response, error)
Execute executes the request
@return CategoryCreate200Response
type Category ¶
type Category struct { // The ID of the category Id int32 `json:"id"` // The ID of the server ServerId string `json:"serverId"` // The ID of the group GroupId string `json:"groupId"` // The ISO 8601 timestamp that the category was created at CreatedAt time.Time `json:"createdAt"` // The ISO 8601 timestamp that the category was updated at, if relevant UpdatedAt *time.Time `json:"updatedAt,omitempty"` // Name of the category Name string `json:"name"` // The priority of the category will determine its position relative to other categories in the group. The higher the value, the higher up it will be displayed in the UI. Returned values can be null, in which case sorting will be done by `createdAt` in descending order. Due to legacy issues, sending a null value is not possible Priority *int32 `json:"priority,omitempty"` }
Category struct for Category
func NewCategory ¶
func NewCategory(id int32, serverId string, groupId string, createdAt time.Time, name string) *Category
NewCategory instantiates a new Category object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCategoryWithDefaults ¶
func NewCategoryWithDefaults() *Category
NewCategoryWithDefaults instantiates a new Category object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Category) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Category) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Category) GetGroupId ¶
GetGroupId returns the GroupId field value
func (*Category) GetGroupIdOk ¶
GetGroupIdOk returns a tuple with the GroupId field value and a boolean to check if the value has been set.
func (*Category) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Category) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Category) GetPriority ¶
GetPriority returns the Priority field value if set, zero value otherwise.
func (*Category) GetPriorityOk ¶
GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Category) GetServerId ¶
GetServerId returns the ServerId field value
func (*Category) GetServerIdOk ¶
GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.
func (*Category) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Category) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Category) HasPriority ¶
HasPriority returns a boolean if a field has been set.
func (*Category) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Category) MarshalJSON ¶
func (*Category) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Category) SetPriority ¶
SetPriority gets a reference to the given int32 and assigns it to the Priority field.
func (*Category) SetServerId ¶
SetServerId sets field value
func (*Category) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Category) UnmarshalJSON ¶
type CategoryCreate200Response ¶
type CategoryCreate200Response struct {
Category Category `json:"category"`
}
CategoryCreate200Response struct for CategoryCreate200Response
func NewCategoryCreate200Response ¶
func NewCategoryCreate200Response(category Category) *CategoryCreate200Response
NewCategoryCreate200Response instantiates a new CategoryCreate200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCategoryCreate200ResponseWithDefaults ¶
func NewCategoryCreate200ResponseWithDefaults() *CategoryCreate200Response
NewCategoryCreate200ResponseWithDefaults instantiates a new CategoryCreate200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CategoryCreate200Response) GetCategory ¶
func (o *CategoryCreate200Response) GetCategory() Category
GetCategory returns the Category field value
func (*CategoryCreate200Response) GetCategoryOk ¶
func (o *CategoryCreate200Response) GetCategoryOk() (*Category, bool)
GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set.
func (CategoryCreate200Response) MarshalJSON ¶
func (o CategoryCreate200Response) MarshalJSON() ([]byte, error)
func (*CategoryCreate200Response) SetCategory ¶
func (o *CategoryCreate200Response) SetCategory(v Category)
SetCategory sets field value
func (CategoryCreate200Response) ToMap ¶
func (o CategoryCreate200Response) ToMap() (map[string]interface{}, error)
func (*CategoryCreate200Response) UnmarshalJSON ¶
func (o *CategoryCreate200Response) UnmarshalJSON(data []byte) (err error)
type CategoryCreateRequest ¶
type CategoryCreateRequest struct { // Name of the category Name string `json:"name"` // The ID of the group. If not provided, the category will be created in the \"Server home\" group from `serverId`. GroupId *string `json:"groupId,omitempty"` }
CategoryCreateRequest struct for CategoryCreateRequest
func NewCategoryCreateRequest ¶
func NewCategoryCreateRequest(name string) *CategoryCreateRequest
NewCategoryCreateRequest instantiates a new CategoryCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCategoryCreateRequestWithDefaults ¶
func NewCategoryCreateRequestWithDefaults() *CategoryCreateRequest
NewCategoryCreateRequestWithDefaults instantiates a new CategoryCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CategoryCreateRequest) GetGroupId ¶
func (o *CategoryCreateRequest) GetGroupId() string
GetGroupId returns the GroupId field value if set, zero value otherwise.
func (*CategoryCreateRequest) GetGroupIdOk ¶
func (o *CategoryCreateRequest) GetGroupIdOk() (*string, bool)
GetGroupIdOk returns a tuple with the GroupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CategoryCreateRequest) GetName ¶
func (o *CategoryCreateRequest) GetName() string
GetName returns the Name field value
func (*CategoryCreateRequest) GetNameOk ¶
func (o *CategoryCreateRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CategoryCreateRequest) HasGroupId ¶
func (o *CategoryCreateRequest) HasGroupId() bool
HasGroupId returns a boolean if a field has been set.
func (CategoryCreateRequest) MarshalJSON ¶
func (o CategoryCreateRequest) MarshalJSON() ([]byte, error)
func (*CategoryCreateRequest) SetGroupId ¶
func (o *CategoryCreateRequest) SetGroupId(v string)
SetGroupId gets a reference to the given string and assigns it to the GroupId field.
func (*CategoryCreateRequest) SetName ¶
func (o *CategoryCreateRequest) SetName(v string)
SetName sets field value
func (CategoryCreateRequest) ToMap ¶
func (o CategoryCreateRequest) ToMap() (map[string]interface{}, error)
func (*CategoryCreateRequest) UnmarshalJSON ¶
func (o *CategoryCreateRequest) UnmarshalJSON(data []byte) (err error)
type CategoryUpdateRequest ¶
type CategoryUpdateRequest struct { // Name of the category Name *string `json:"name,omitempty"` // The priority of the category will determine its position relative to other categories in the group. The higher the value, the higher up it will be displayed in the UI. Returned values can be null, in which case sorting will be done by `createdAt` in descending order. Due to legacy issues, sending a null value is not possible Priority *int32 `json:"priority,omitempty"` }
CategoryUpdateRequest struct for CategoryUpdateRequest
func NewCategoryUpdateRequest ¶
func NewCategoryUpdateRequest() *CategoryUpdateRequest
NewCategoryUpdateRequest instantiates a new CategoryUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCategoryUpdateRequestWithDefaults ¶
func NewCategoryUpdateRequestWithDefaults() *CategoryUpdateRequest
NewCategoryUpdateRequestWithDefaults instantiates a new CategoryUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CategoryUpdateRequest) GetName ¶
func (o *CategoryUpdateRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CategoryUpdateRequest) GetNameOk ¶
func (o *CategoryUpdateRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CategoryUpdateRequest) GetPriority ¶
func (o *CategoryUpdateRequest) GetPriority() int32
GetPriority returns the Priority field value if set, zero value otherwise.
func (*CategoryUpdateRequest) GetPriorityOk ¶
func (o *CategoryUpdateRequest) GetPriorityOk() (*int32, bool)
GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CategoryUpdateRequest) HasName ¶
func (o *CategoryUpdateRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*CategoryUpdateRequest) HasPriority ¶
func (o *CategoryUpdateRequest) HasPriority() bool
HasPriority returns a boolean if a field has been set.
func (CategoryUpdateRequest) MarshalJSON ¶
func (o CategoryUpdateRequest) MarshalJSON() ([]byte, error)
func (*CategoryUpdateRequest) SetName ¶
func (o *CategoryUpdateRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CategoryUpdateRequest) SetPriority ¶
func (o *CategoryUpdateRequest) SetPriority(v int32)
SetPriority gets a reference to the given int32 and assigns it to the Priority field.
func (CategoryUpdateRequest) ToMap ¶
func (o CategoryUpdateRequest) ToMap() (map[string]interface{}, error)
type ChannelCategoryRolePermission ¶
type ChannelCategoryRolePermission struct { Permissions map[string]bool `json:"permissions"` // The ISO 8601 timestamp that the permission override was created at CreatedAt time.Time `json:"createdAt"` // The ISO 8601 timestamp that the permission override was updated at, if relevant UpdatedAt *time.Time `json:"updatedAt,omitempty"` // The ID of the role RoleId int32 `json:"roleId"` // The ID of the category CategoryId int32 `json:"categoryId"` }
ChannelCategoryRolePermission struct for ChannelCategoryRolePermission
func NewChannelCategoryRolePermission ¶
func NewChannelCategoryRolePermission(permissions map[string]bool, createdAt time.Time, roleId int32, categoryId int32) *ChannelCategoryRolePermission
NewChannelCategoryRolePermission instantiates a new ChannelCategoryRolePermission object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChannelCategoryRolePermissionWithDefaults ¶
func NewChannelCategoryRolePermissionWithDefaults() *ChannelCategoryRolePermission
NewChannelCategoryRolePermissionWithDefaults instantiates a new ChannelCategoryRolePermission object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChannelCategoryRolePermission) GetCategoryId ¶
func (o *ChannelCategoryRolePermission) GetCategoryId() int32
GetCategoryId returns the CategoryId field value
func (*ChannelCategoryRolePermission) GetCategoryIdOk ¶
func (o *ChannelCategoryRolePermission) GetCategoryIdOk() (*int32, bool)
GetCategoryIdOk returns a tuple with the CategoryId field value and a boolean to check if the value has been set.
func (*ChannelCategoryRolePermission) GetCreatedAt ¶
func (o *ChannelCategoryRolePermission) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*ChannelCategoryRolePermission) GetCreatedAtOk ¶
func (o *ChannelCategoryRolePermission) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ChannelCategoryRolePermission) GetPermissions ¶
func (o *ChannelCategoryRolePermission) GetPermissions() map[string]bool
GetPermissions returns the Permissions field value
func (*ChannelCategoryRolePermission) GetPermissionsOk ¶
func (o *ChannelCategoryRolePermission) GetPermissionsOk() (*map[string]bool, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (*ChannelCategoryRolePermission) GetRoleId ¶
func (o *ChannelCategoryRolePermission) GetRoleId() int32
GetRoleId returns the RoleId field value
func (*ChannelCategoryRolePermission) GetRoleIdOk ¶
func (o *ChannelCategoryRolePermission) GetRoleIdOk() (*int32, bool)
GetRoleIdOk returns a tuple with the RoleId field value and a boolean to check if the value has been set.
func (*ChannelCategoryRolePermission) GetUpdatedAt ¶
func (o *ChannelCategoryRolePermission) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ChannelCategoryRolePermission) GetUpdatedAtOk ¶
func (o *ChannelCategoryRolePermission) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelCategoryRolePermission) HasUpdatedAt ¶
func (o *ChannelCategoryRolePermission) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (ChannelCategoryRolePermission) MarshalJSON ¶
func (o ChannelCategoryRolePermission) MarshalJSON() ([]byte, error)
func (*ChannelCategoryRolePermission) SetCategoryId ¶
func (o *ChannelCategoryRolePermission) SetCategoryId(v int32)
SetCategoryId sets field value
func (*ChannelCategoryRolePermission) SetCreatedAt ¶
func (o *ChannelCategoryRolePermission) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*ChannelCategoryRolePermission) SetPermissions ¶
func (o *ChannelCategoryRolePermission) SetPermissions(v map[string]bool)
SetPermissions sets field value
func (*ChannelCategoryRolePermission) SetRoleId ¶
func (o *ChannelCategoryRolePermission) SetRoleId(v int32)
SetRoleId sets field value
func (*ChannelCategoryRolePermission) SetUpdatedAt ¶
func (o *ChannelCategoryRolePermission) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (ChannelCategoryRolePermission) ToMap ¶
func (o ChannelCategoryRolePermission) ToMap() (map[string]interface{}, error)
func (*ChannelCategoryRolePermission) UnmarshalJSON ¶
func (o *ChannelCategoryRolePermission) UnmarshalJSON(data []byte) (err error)
type ChannelCategoryRolePermissionRead200Response ¶
type ChannelCategoryRolePermissionRead200Response struct {
ChannelCategoryRolePermission ChannelCategoryRolePermission `json:"channelCategoryRolePermission"`
}
ChannelCategoryRolePermissionRead200Response struct for ChannelCategoryRolePermissionRead200Response
func NewChannelCategoryRolePermissionRead200Response ¶
func NewChannelCategoryRolePermissionRead200Response(channelCategoryRolePermission ChannelCategoryRolePermission) *ChannelCategoryRolePermissionRead200Response
NewChannelCategoryRolePermissionRead200Response instantiates a new ChannelCategoryRolePermissionRead200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChannelCategoryRolePermissionRead200ResponseWithDefaults ¶
func NewChannelCategoryRolePermissionRead200ResponseWithDefaults() *ChannelCategoryRolePermissionRead200Response
NewChannelCategoryRolePermissionRead200ResponseWithDefaults instantiates a new ChannelCategoryRolePermissionRead200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChannelCategoryRolePermissionRead200Response) GetChannelCategoryRolePermission ¶
func (o *ChannelCategoryRolePermissionRead200Response) GetChannelCategoryRolePermission() ChannelCategoryRolePermission
GetChannelCategoryRolePermission returns the ChannelCategoryRolePermission field value
func (*ChannelCategoryRolePermissionRead200Response) GetChannelCategoryRolePermissionOk ¶
func (o *ChannelCategoryRolePermissionRead200Response) GetChannelCategoryRolePermissionOk() (*ChannelCategoryRolePermission, bool)
GetChannelCategoryRolePermissionOk returns a tuple with the ChannelCategoryRolePermission field value and a boolean to check if the value has been set.
func (ChannelCategoryRolePermissionRead200Response) MarshalJSON ¶
func (o ChannelCategoryRolePermissionRead200Response) MarshalJSON() ([]byte, error)
func (*ChannelCategoryRolePermissionRead200Response) SetChannelCategoryRolePermission ¶
func (o *ChannelCategoryRolePermissionRead200Response) SetChannelCategoryRolePermission(v ChannelCategoryRolePermission)
SetChannelCategoryRolePermission sets field value
func (ChannelCategoryRolePermissionRead200Response) ToMap ¶
func (o ChannelCategoryRolePermissionRead200Response) ToMap() (map[string]interface{}, error)
func (*ChannelCategoryRolePermissionRead200Response) UnmarshalJSON ¶
func (o *ChannelCategoryRolePermissionRead200Response) UnmarshalJSON(data []byte) (err error)
type ChannelCategoryRolePermissionReadMany200Response ¶
type ChannelCategoryRolePermissionReadMany200Response struct {
ChannelCategoryRolePermissions []ChannelCategoryRolePermission `json:"channelCategoryRolePermissions"`
}
ChannelCategoryRolePermissionReadMany200Response struct for ChannelCategoryRolePermissionReadMany200Response
func NewChannelCategoryRolePermissionReadMany200Response ¶
func NewChannelCategoryRolePermissionReadMany200Response(channelCategoryRolePermissions []ChannelCategoryRolePermission) *ChannelCategoryRolePermissionReadMany200Response
NewChannelCategoryRolePermissionReadMany200Response instantiates a new ChannelCategoryRolePermissionReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChannelCategoryRolePermissionReadMany200ResponseWithDefaults ¶
func NewChannelCategoryRolePermissionReadMany200ResponseWithDefaults() *ChannelCategoryRolePermissionReadMany200Response
NewChannelCategoryRolePermissionReadMany200ResponseWithDefaults instantiates a new ChannelCategoryRolePermissionReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChannelCategoryRolePermissionReadMany200Response) GetChannelCategoryRolePermissions ¶
func (o *ChannelCategoryRolePermissionReadMany200Response) GetChannelCategoryRolePermissions() []ChannelCategoryRolePermission
GetChannelCategoryRolePermissions returns the ChannelCategoryRolePermissions field value
func (*ChannelCategoryRolePermissionReadMany200Response) GetChannelCategoryRolePermissionsOk ¶
func (o *ChannelCategoryRolePermissionReadMany200Response) GetChannelCategoryRolePermissionsOk() ([]ChannelCategoryRolePermission, bool)
GetChannelCategoryRolePermissionsOk returns a tuple with the ChannelCategoryRolePermissions field value and a boolean to check if the value has been set.
func (ChannelCategoryRolePermissionReadMany200Response) MarshalJSON ¶
func (o ChannelCategoryRolePermissionReadMany200Response) MarshalJSON() ([]byte, error)
func (*ChannelCategoryRolePermissionReadMany200Response) SetChannelCategoryRolePermissions ¶
func (o *ChannelCategoryRolePermissionReadMany200Response) SetChannelCategoryRolePermissions(v []ChannelCategoryRolePermission)
SetChannelCategoryRolePermissions sets field value
func (ChannelCategoryRolePermissionReadMany200Response) ToMap ¶
func (o ChannelCategoryRolePermissionReadMany200Response) ToMap() (map[string]interface{}, error)
func (*ChannelCategoryRolePermissionReadMany200Response) UnmarshalJSON ¶
func (o *ChannelCategoryRolePermissionReadMany200Response) UnmarshalJSON(data []byte) (err error)
type ChannelCategoryUserPermission ¶
type ChannelCategoryUserPermission struct { Permissions map[string]bool `json:"permissions"` // The ISO 8601 timestamp that the permission override was created at CreatedAt time.Time `json:"createdAt"` // The ISO 8601 timestamp that the permission override was updated at, if relevant UpdatedAt *time.Time `json:"updatedAt,omitempty"` // The ID of the user UserId string `json:"userId"` // The ID of the category CategoryId int32 `json:"categoryId"` }
ChannelCategoryUserPermission struct for ChannelCategoryUserPermission
func NewChannelCategoryUserPermission ¶
func NewChannelCategoryUserPermission(permissions map[string]bool, createdAt time.Time, userId string, categoryId int32) *ChannelCategoryUserPermission
NewChannelCategoryUserPermission instantiates a new ChannelCategoryUserPermission object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChannelCategoryUserPermissionWithDefaults ¶
func NewChannelCategoryUserPermissionWithDefaults() *ChannelCategoryUserPermission
NewChannelCategoryUserPermissionWithDefaults instantiates a new ChannelCategoryUserPermission object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChannelCategoryUserPermission) GetCategoryId ¶
func (o *ChannelCategoryUserPermission) GetCategoryId() int32
GetCategoryId returns the CategoryId field value
func (*ChannelCategoryUserPermission) GetCategoryIdOk ¶
func (o *ChannelCategoryUserPermission) GetCategoryIdOk() (*int32, bool)
GetCategoryIdOk returns a tuple with the CategoryId field value and a boolean to check if the value has been set.
func (*ChannelCategoryUserPermission) GetCreatedAt ¶
func (o *ChannelCategoryUserPermission) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*ChannelCategoryUserPermission) GetCreatedAtOk ¶
func (o *ChannelCategoryUserPermission) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ChannelCategoryUserPermission) GetPermissions ¶
func (o *ChannelCategoryUserPermission) GetPermissions() map[string]bool
GetPermissions returns the Permissions field value
func (*ChannelCategoryUserPermission) GetPermissionsOk ¶
func (o *ChannelCategoryUserPermission) GetPermissionsOk() (*map[string]bool, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (*ChannelCategoryUserPermission) GetUpdatedAt ¶
func (o *ChannelCategoryUserPermission) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ChannelCategoryUserPermission) GetUpdatedAtOk ¶
func (o *ChannelCategoryUserPermission) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelCategoryUserPermission) GetUserId ¶
func (o *ChannelCategoryUserPermission) GetUserId() string
GetUserId returns the UserId field value
func (*ChannelCategoryUserPermission) GetUserIdOk ¶
func (o *ChannelCategoryUserPermission) GetUserIdOk() (*string, bool)
GetUserIdOk returns a tuple with the UserId field value and a boolean to check if the value has been set.
func (*ChannelCategoryUserPermission) HasUpdatedAt ¶
func (o *ChannelCategoryUserPermission) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (ChannelCategoryUserPermission) MarshalJSON ¶
func (o ChannelCategoryUserPermission) MarshalJSON() ([]byte, error)
func (*ChannelCategoryUserPermission) SetCategoryId ¶
func (o *ChannelCategoryUserPermission) SetCategoryId(v int32)
SetCategoryId sets field value
func (*ChannelCategoryUserPermission) SetCreatedAt ¶
func (o *ChannelCategoryUserPermission) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*ChannelCategoryUserPermission) SetPermissions ¶
func (o *ChannelCategoryUserPermission) SetPermissions(v map[string]bool)
SetPermissions sets field value
func (*ChannelCategoryUserPermission) SetUpdatedAt ¶
func (o *ChannelCategoryUserPermission) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*ChannelCategoryUserPermission) SetUserId ¶
func (o *ChannelCategoryUserPermission) SetUserId(v string)
SetUserId sets field value
func (ChannelCategoryUserPermission) ToMap ¶
func (o ChannelCategoryUserPermission) ToMap() (map[string]interface{}, error)
func (*ChannelCategoryUserPermission) UnmarshalJSON ¶
func (o *ChannelCategoryUserPermission) UnmarshalJSON(data []byte) (err error)
type ChannelCategoryUserPermissionRead200Response ¶
type ChannelCategoryUserPermissionRead200Response struct {
ChannelCategoryUserPermission ChannelCategoryUserPermission `json:"channelCategoryUserPermission"`
}
ChannelCategoryUserPermissionRead200Response struct for ChannelCategoryUserPermissionRead200Response
func NewChannelCategoryUserPermissionRead200Response ¶
func NewChannelCategoryUserPermissionRead200Response(channelCategoryUserPermission ChannelCategoryUserPermission) *ChannelCategoryUserPermissionRead200Response
NewChannelCategoryUserPermissionRead200Response instantiates a new ChannelCategoryUserPermissionRead200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChannelCategoryUserPermissionRead200ResponseWithDefaults ¶
func NewChannelCategoryUserPermissionRead200ResponseWithDefaults() *ChannelCategoryUserPermissionRead200Response
NewChannelCategoryUserPermissionRead200ResponseWithDefaults instantiates a new ChannelCategoryUserPermissionRead200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChannelCategoryUserPermissionRead200Response) GetChannelCategoryUserPermission ¶
func (o *ChannelCategoryUserPermissionRead200Response) GetChannelCategoryUserPermission() ChannelCategoryUserPermission
GetChannelCategoryUserPermission returns the ChannelCategoryUserPermission field value
func (*ChannelCategoryUserPermissionRead200Response) GetChannelCategoryUserPermissionOk ¶
func (o *ChannelCategoryUserPermissionRead200Response) GetChannelCategoryUserPermissionOk() (*ChannelCategoryUserPermission, bool)
GetChannelCategoryUserPermissionOk returns a tuple with the ChannelCategoryUserPermission field value and a boolean to check if the value has been set.
func (ChannelCategoryUserPermissionRead200Response) MarshalJSON ¶
func (o ChannelCategoryUserPermissionRead200Response) MarshalJSON() ([]byte, error)
func (*ChannelCategoryUserPermissionRead200Response) SetChannelCategoryUserPermission ¶
func (o *ChannelCategoryUserPermissionRead200Response) SetChannelCategoryUserPermission(v ChannelCategoryUserPermission)
SetChannelCategoryUserPermission sets field value
func (ChannelCategoryUserPermissionRead200Response) ToMap ¶
func (o ChannelCategoryUserPermissionRead200Response) ToMap() (map[string]interface{}, error)
func (*ChannelCategoryUserPermissionRead200Response) UnmarshalJSON ¶
func (o *ChannelCategoryUserPermissionRead200Response) UnmarshalJSON(data []byte) (err error)
type ChannelCategoryUserPermissionReadMany200Response ¶
type ChannelCategoryUserPermissionReadMany200Response struct {
ChannelCategoryUserPermissions []ChannelCategoryUserPermission `json:"channelCategoryUserPermissions"`
}
ChannelCategoryUserPermissionReadMany200Response struct for ChannelCategoryUserPermissionReadMany200Response
func NewChannelCategoryUserPermissionReadMany200Response ¶
func NewChannelCategoryUserPermissionReadMany200Response(channelCategoryUserPermissions []ChannelCategoryUserPermission) *ChannelCategoryUserPermissionReadMany200Response
NewChannelCategoryUserPermissionReadMany200Response instantiates a new ChannelCategoryUserPermissionReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChannelCategoryUserPermissionReadMany200ResponseWithDefaults ¶
func NewChannelCategoryUserPermissionReadMany200ResponseWithDefaults() *ChannelCategoryUserPermissionReadMany200Response
NewChannelCategoryUserPermissionReadMany200ResponseWithDefaults instantiates a new ChannelCategoryUserPermissionReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChannelCategoryUserPermissionReadMany200Response) GetChannelCategoryUserPermissions ¶
func (o *ChannelCategoryUserPermissionReadMany200Response) GetChannelCategoryUserPermissions() []ChannelCategoryUserPermission
GetChannelCategoryUserPermissions returns the ChannelCategoryUserPermissions field value
func (*ChannelCategoryUserPermissionReadMany200Response) GetChannelCategoryUserPermissionsOk ¶
func (o *ChannelCategoryUserPermissionReadMany200Response) GetChannelCategoryUserPermissionsOk() ([]ChannelCategoryUserPermission, bool)
GetChannelCategoryUserPermissionsOk returns a tuple with the ChannelCategoryUserPermissions field value and a boolean to check if the value has been set.
func (ChannelCategoryUserPermissionReadMany200Response) MarshalJSON ¶
func (o ChannelCategoryUserPermissionReadMany200Response) MarshalJSON() ([]byte, error)
func (*ChannelCategoryUserPermissionReadMany200Response) SetChannelCategoryUserPermissions ¶
func (o *ChannelCategoryUserPermissionReadMany200Response) SetChannelCategoryUserPermissions(v []ChannelCategoryUserPermission)
SetChannelCategoryUserPermissions sets field value
func (ChannelCategoryUserPermissionReadMany200Response) ToMap ¶
func (o ChannelCategoryUserPermissionReadMany200Response) ToMap() (map[string]interface{}, error)
func (*ChannelCategoryUserPermissionReadMany200Response) UnmarshalJSON ¶
func (o *ChannelCategoryUserPermissionReadMany200Response) UnmarshalJSON(data []byte) (err error)
type ChannelCreate201Response ¶
type ChannelCreate201Response struct {
Channel ServerChannel `json:"channel"`
}
ChannelCreate201Response struct for ChannelCreate201Response
func NewChannelCreate201Response ¶
func NewChannelCreate201Response(channel ServerChannel) *ChannelCreate201Response
NewChannelCreate201Response instantiates a new ChannelCreate201Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChannelCreate201ResponseWithDefaults ¶
func NewChannelCreate201ResponseWithDefaults() *ChannelCreate201Response
NewChannelCreate201ResponseWithDefaults instantiates a new ChannelCreate201Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChannelCreate201Response) GetChannel ¶
func (o *ChannelCreate201Response) GetChannel() ServerChannel
GetChannel returns the Channel field value
func (*ChannelCreate201Response) GetChannelOk ¶
func (o *ChannelCreate201Response) GetChannelOk() (*ServerChannel, bool)
GetChannelOk returns a tuple with the Channel field value and a boolean to check if the value has been set.
func (ChannelCreate201Response) MarshalJSON ¶
func (o ChannelCreate201Response) MarshalJSON() ([]byte, error)
func (*ChannelCreate201Response) SetChannel ¶
func (o *ChannelCreate201Response) SetChannel(v ServerChannel)
SetChannel sets field value
func (ChannelCreate201Response) ToMap ¶
func (o ChannelCreate201Response) ToMap() (map[string]interface{}, error)
func (*ChannelCreate201Response) UnmarshalJSON ¶
func (o *ChannelCreate201Response) UnmarshalJSON(data []byte) (err error)
type ChannelMessageCreate201Response ¶
type ChannelMessageCreate201Response struct {
Message NullableChatMessage `json:"message"`
}
ChannelMessageCreate201Response struct for ChannelMessageCreate201Response
func NewChannelMessageCreate201Response ¶
func NewChannelMessageCreate201Response(message NullableChatMessage) *ChannelMessageCreate201Response
NewChannelMessageCreate201Response instantiates a new ChannelMessageCreate201Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChannelMessageCreate201ResponseWithDefaults ¶
func NewChannelMessageCreate201ResponseWithDefaults() *ChannelMessageCreate201Response
NewChannelMessageCreate201ResponseWithDefaults instantiates a new ChannelMessageCreate201Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChannelMessageCreate201Response) GetMessage ¶
func (o *ChannelMessageCreate201Response) GetMessage() ChatMessage
GetMessage returns the Message field value If the value is explicit nil, the zero value for ChatMessage will be returned
func (*ChannelMessageCreate201Response) GetMessageOk ¶
func (o *ChannelMessageCreate201Response) GetMessageOk() (*ChatMessage, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (ChannelMessageCreate201Response) MarshalJSON ¶
func (o ChannelMessageCreate201Response) MarshalJSON() ([]byte, error)
func (*ChannelMessageCreate201Response) SetMessage ¶
func (o *ChannelMessageCreate201Response) SetMessage(v ChatMessage)
SetMessage sets field value
func (ChannelMessageCreate201Response) ToMap ¶
func (o ChannelMessageCreate201Response) ToMap() (map[string]interface{}, error)
func (*ChannelMessageCreate201Response) UnmarshalJSON ¶
func (o *ChannelMessageCreate201Response) UnmarshalJSON(data []byte) (err error)
type ChannelMessageCreateRequest ¶
type ChannelMessageCreateRequest struct { // If set, this message will only be seen by those mentioned or replied to IsPrivate *bool `json:"isPrivate,omitempty"` // If set, this message will not notify any mentioned users or roles IsSilent *bool `json:"isSilent,omitempty"` // Message IDs to reply to ReplyMessageIds []string `json:"replyMessageIds,omitempty"` Content *Content `json:"content,omitempty"` // Links in `content` to prevent unfurling as a link preview when displaying in Guilded HiddenLinkPreviewUrls []string `json:"hiddenLinkPreviewUrls,omitempty"` // At this time, only one embed is supported per message, and attachments are not supported. If you need to send more than one embed or upload attachments, consider creating the message via a webhook. Embeds []ChatEmbed `json:"embeds,omitempty"` }
ChannelMessageCreateRequest struct for ChannelMessageCreateRequest
func NewChannelMessageCreateRequest ¶
func NewChannelMessageCreateRequest() *ChannelMessageCreateRequest
NewChannelMessageCreateRequest instantiates a new ChannelMessageCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChannelMessageCreateRequestWithDefaults ¶
func NewChannelMessageCreateRequestWithDefaults() *ChannelMessageCreateRequest
NewChannelMessageCreateRequestWithDefaults instantiates a new ChannelMessageCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChannelMessageCreateRequest) GetContent ¶
func (o *ChannelMessageCreateRequest) GetContent() Content
GetContent returns the Content field value if set, zero value otherwise.
func (*ChannelMessageCreateRequest) GetContentOk ¶
func (o *ChannelMessageCreateRequest) GetContentOk() (*Content, bool)
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageCreateRequest) GetEmbeds ¶
func (o *ChannelMessageCreateRequest) GetEmbeds() []ChatEmbed
GetEmbeds returns the Embeds field value if set, zero value otherwise.
func (*ChannelMessageCreateRequest) GetEmbedsOk ¶
func (o *ChannelMessageCreateRequest) GetEmbedsOk() ([]ChatEmbed, bool)
GetEmbedsOk returns a tuple with the Embeds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageCreateRequest) GetHiddenLinkPreviewUrls ¶
func (o *ChannelMessageCreateRequest) GetHiddenLinkPreviewUrls() []string
GetHiddenLinkPreviewUrls returns the HiddenLinkPreviewUrls field value if set, zero value otherwise.
func (*ChannelMessageCreateRequest) GetHiddenLinkPreviewUrlsOk ¶
func (o *ChannelMessageCreateRequest) GetHiddenLinkPreviewUrlsOk() ([]string, bool)
GetHiddenLinkPreviewUrlsOk returns a tuple with the HiddenLinkPreviewUrls field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageCreateRequest) GetIsPrivate ¶
func (o *ChannelMessageCreateRequest) GetIsPrivate() bool
GetIsPrivate returns the IsPrivate field value if set, zero value otherwise.
func (*ChannelMessageCreateRequest) GetIsPrivateOk ¶
func (o *ChannelMessageCreateRequest) GetIsPrivateOk() (*bool, bool)
GetIsPrivateOk returns a tuple with the IsPrivate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageCreateRequest) GetIsSilent ¶
func (o *ChannelMessageCreateRequest) GetIsSilent() bool
GetIsSilent returns the IsSilent field value if set, zero value otherwise.
func (*ChannelMessageCreateRequest) GetIsSilentOk ¶
func (o *ChannelMessageCreateRequest) GetIsSilentOk() (*bool, bool)
GetIsSilentOk returns a tuple with the IsSilent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageCreateRequest) GetReplyMessageIds ¶
func (o *ChannelMessageCreateRequest) GetReplyMessageIds() []string
GetReplyMessageIds returns the ReplyMessageIds field value if set, zero value otherwise.
func (*ChannelMessageCreateRequest) GetReplyMessageIdsOk ¶
func (o *ChannelMessageCreateRequest) GetReplyMessageIdsOk() ([]string, bool)
GetReplyMessageIdsOk returns a tuple with the ReplyMessageIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageCreateRequest) HasContent ¶
func (o *ChannelMessageCreateRequest) HasContent() bool
HasContent returns a boolean if a field has been set.
func (*ChannelMessageCreateRequest) HasEmbeds ¶
func (o *ChannelMessageCreateRequest) HasEmbeds() bool
HasEmbeds returns a boolean if a field has been set.
func (*ChannelMessageCreateRequest) HasHiddenLinkPreviewUrls ¶
func (o *ChannelMessageCreateRequest) HasHiddenLinkPreviewUrls() bool
HasHiddenLinkPreviewUrls returns a boolean if a field has been set.
func (*ChannelMessageCreateRequest) HasIsPrivate ¶
func (o *ChannelMessageCreateRequest) HasIsPrivate() bool
HasIsPrivate returns a boolean if a field has been set.
func (*ChannelMessageCreateRequest) HasIsSilent ¶
func (o *ChannelMessageCreateRequest) HasIsSilent() bool
HasIsSilent returns a boolean if a field has been set.
func (*ChannelMessageCreateRequest) HasReplyMessageIds ¶
func (o *ChannelMessageCreateRequest) HasReplyMessageIds() bool
HasReplyMessageIds returns a boolean if a field has been set.
func (ChannelMessageCreateRequest) MarshalJSON ¶
func (o ChannelMessageCreateRequest) MarshalJSON() ([]byte, error)
func (*ChannelMessageCreateRequest) SetContent ¶
func (o *ChannelMessageCreateRequest) SetContent(v Content)
SetContent gets a reference to the given Content and assigns it to the Content field.
func (*ChannelMessageCreateRequest) SetEmbeds ¶
func (o *ChannelMessageCreateRequest) SetEmbeds(v []ChatEmbed)
SetEmbeds gets a reference to the given []ChatEmbed and assigns it to the Embeds field.
func (*ChannelMessageCreateRequest) SetHiddenLinkPreviewUrls ¶
func (o *ChannelMessageCreateRequest) SetHiddenLinkPreviewUrls(v []string)
SetHiddenLinkPreviewUrls gets a reference to the given []string and assigns it to the HiddenLinkPreviewUrls field.
func (*ChannelMessageCreateRequest) SetIsPrivate ¶
func (o *ChannelMessageCreateRequest) SetIsPrivate(v bool)
SetIsPrivate gets a reference to the given bool and assigns it to the IsPrivate field.
func (*ChannelMessageCreateRequest) SetIsSilent ¶
func (o *ChannelMessageCreateRequest) SetIsSilent(v bool)
SetIsSilent gets a reference to the given bool and assigns it to the IsSilent field.
func (*ChannelMessageCreateRequest) SetReplyMessageIds ¶
func (o *ChannelMessageCreateRequest) SetReplyMessageIds(v []string)
SetReplyMessageIds gets a reference to the given []string and assigns it to the ReplyMessageIds field.
func (ChannelMessageCreateRequest) ToMap ¶
func (o ChannelMessageCreateRequest) ToMap() (map[string]interface{}, error)
type ChannelMessageReadMany200Response ¶
type ChannelMessageReadMany200Response struct {
Messages []ChatMessage `json:"messages"`
}
ChannelMessageReadMany200Response struct for ChannelMessageReadMany200Response
func NewChannelMessageReadMany200Response ¶
func NewChannelMessageReadMany200Response(messages []ChatMessage) *ChannelMessageReadMany200Response
NewChannelMessageReadMany200Response instantiates a new ChannelMessageReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChannelMessageReadMany200ResponseWithDefaults ¶
func NewChannelMessageReadMany200ResponseWithDefaults() *ChannelMessageReadMany200Response
NewChannelMessageReadMany200ResponseWithDefaults instantiates a new ChannelMessageReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChannelMessageReadMany200Response) GetMessages ¶
func (o *ChannelMessageReadMany200Response) GetMessages() []ChatMessage
GetMessages returns the Messages field value
func (*ChannelMessageReadMany200Response) GetMessagesOk ¶
func (o *ChannelMessageReadMany200Response) GetMessagesOk() ([]ChatMessage, bool)
GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set.
func (ChannelMessageReadMany200Response) MarshalJSON ¶
func (o ChannelMessageReadMany200Response) MarshalJSON() ([]byte, error)
func (*ChannelMessageReadMany200Response) SetMessages ¶
func (o *ChannelMessageReadMany200Response) SetMessages(v []ChatMessage)
SetMessages sets field value
func (ChannelMessageReadMany200Response) ToMap ¶
func (o ChannelMessageReadMany200Response) ToMap() (map[string]interface{}, error)
func (*ChannelMessageReadMany200Response) UnmarshalJSON ¶
func (o *ChannelMessageReadMany200Response) UnmarshalJSON(data []byte) (err error)
type ChannelMessageUpdate200Response ¶
type ChannelMessageUpdate200Response struct {
Message ChannelMessageUpdate200ResponseMessage `json:"message"`
}
ChannelMessageUpdate200Response struct for ChannelMessageUpdate200Response
func NewChannelMessageUpdate200Response ¶
func NewChannelMessageUpdate200Response(message ChannelMessageUpdate200ResponseMessage) *ChannelMessageUpdate200Response
NewChannelMessageUpdate200Response instantiates a new ChannelMessageUpdate200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChannelMessageUpdate200ResponseWithDefaults ¶
func NewChannelMessageUpdate200ResponseWithDefaults() *ChannelMessageUpdate200Response
NewChannelMessageUpdate200ResponseWithDefaults instantiates a new ChannelMessageUpdate200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChannelMessageUpdate200Response) GetMessage ¶
func (o *ChannelMessageUpdate200Response) GetMessage() ChannelMessageUpdate200ResponseMessage
GetMessage returns the Message field value
func (*ChannelMessageUpdate200Response) GetMessageOk ¶
func (o *ChannelMessageUpdate200Response) GetMessageOk() (*ChannelMessageUpdate200ResponseMessage, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (ChannelMessageUpdate200Response) MarshalJSON ¶
func (o ChannelMessageUpdate200Response) MarshalJSON() ([]byte, error)
func (*ChannelMessageUpdate200Response) SetMessage ¶
func (o *ChannelMessageUpdate200Response) SetMessage(v ChannelMessageUpdate200ResponseMessage)
SetMessage sets field value
func (ChannelMessageUpdate200Response) ToMap ¶
func (o ChannelMessageUpdate200Response) ToMap() (map[string]interface{}, error)
func (*ChannelMessageUpdate200Response) UnmarshalJSON ¶
func (o *ChannelMessageUpdate200Response) UnmarshalJSON(data []byte) (err error)
type ChannelMessageUpdate200ResponseMessage ¶
type ChannelMessageUpdate200ResponseMessage struct { // The ID of the message Id *string `json:"id,omitempty"` // The type of chat message. \"system\" messages are generated by Guilded, while \"default\" messages are user or bot-generated. Type *string `json:"type,omitempty"` // The ID of the server ServerId *string `json:"serverId,omitempty"` // The ID of the group GroupId *string `json:"groupId,omitempty"` // The ID of the channel ChannelId *string `json:"channelId,omitempty"` // The content of the message Content *string `json:"content,omitempty"` // Links in `content` to prevent unfurling as a link preview when displaying in Guilded HiddenLinkPreviewUrls []string `json:"hiddenLinkPreviewUrls,omitempty"` Embeds []ChatEmbed `json:"embeds,omitempty"` // Message IDs that were replied to ReplyMessageIds []string `json:"replyMessageIds,omitempty"` // If set, this message will only be seen by those mentioned or replied to IsPrivate *bool `json:"isPrivate,omitempty"` // If set, this message did not notify mention or reply recipients IsSilent *bool `json:"isSilent,omitempty"` IsPinned *bool `json:"isPinned,omitempty"` Mentions NullableMentions `json:"mentions,omitempty"` // The ISO 8601 timestamp that the message was created at CreatedAt *time.Time `json:"createdAt,omitempty"` // The ID of the user who created this message (Note: If this event has `createdByWebhookId` present, this field will still be populated, but can be ignored. In this case, the value of this field will always be Ann6LewA) CreatedBy *string `json:"createdBy,omitempty"` // The ID of the webhook who created this message, if it was created by a webhook CreatedByWebhookId *string `json:"createdByWebhookId,omitempty"` // The ISO 8601 timestamp that the message was updated at, if relevant UpdatedAt time.Time `json:"updatedAt"` }
ChannelMessageUpdate200ResponseMessage struct for ChannelMessageUpdate200ResponseMessage
func NewChannelMessageUpdate200ResponseMessage ¶
func NewChannelMessageUpdate200ResponseMessage(updatedAt time.Time, id string, type_ string, channelId string, createdAt time.Time, createdBy string) *ChannelMessageUpdate200ResponseMessage
NewChannelMessageUpdate200ResponseMessage instantiates a new ChannelMessageUpdate200ResponseMessage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChannelMessageUpdate200ResponseMessageWithDefaults ¶
func NewChannelMessageUpdate200ResponseMessageWithDefaults() *ChannelMessageUpdate200ResponseMessage
NewChannelMessageUpdate200ResponseMessageWithDefaults instantiates a new ChannelMessageUpdate200ResponseMessage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChannelMessageUpdate200ResponseMessage) GetChannelId ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetChannelId() string
GetChannelId returns the ChannelId field value if set, zero value otherwise.
func (*ChannelMessageUpdate200ResponseMessage) GetChannelIdOk ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageUpdate200ResponseMessage) GetContent ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetContent() string
GetContent returns the Content field value if set, zero value otherwise.
func (*ChannelMessageUpdate200ResponseMessage) GetContentOk ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageUpdate200ResponseMessage) GetCreatedAt ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ChannelMessageUpdate200ResponseMessage) GetCreatedAtOk ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageUpdate200ResponseMessage) GetCreatedBy ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.
func (*ChannelMessageUpdate200ResponseMessage) GetCreatedByOk ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageUpdate200ResponseMessage) GetCreatedByWebhookId ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetCreatedByWebhookId() string
GetCreatedByWebhookId returns the CreatedByWebhookId field value if set, zero value otherwise.
func (*ChannelMessageUpdate200ResponseMessage) GetCreatedByWebhookIdOk ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetCreatedByWebhookIdOk() (*string, bool)
GetCreatedByWebhookIdOk returns a tuple with the CreatedByWebhookId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageUpdate200ResponseMessage) GetEmbeds ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetEmbeds() []ChatEmbed
GetEmbeds returns the Embeds field value if set, zero value otherwise.
func (*ChannelMessageUpdate200ResponseMessage) GetEmbedsOk ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetEmbedsOk() ([]ChatEmbed, bool)
GetEmbedsOk returns a tuple with the Embeds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageUpdate200ResponseMessage) GetGroupId ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetGroupId() string
GetGroupId returns the GroupId field value if set, zero value otherwise.
func (*ChannelMessageUpdate200ResponseMessage) GetGroupIdOk ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetGroupIdOk() (*string, bool)
GetGroupIdOk returns a tuple with the GroupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageUpdate200ResponseMessage) GetHiddenLinkPreviewUrls ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetHiddenLinkPreviewUrls() []string
GetHiddenLinkPreviewUrls returns the HiddenLinkPreviewUrls field value if set, zero value otherwise.
func (*ChannelMessageUpdate200ResponseMessage) GetHiddenLinkPreviewUrlsOk ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetHiddenLinkPreviewUrlsOk() ([]string, bool)
GetHiddenLinkPreviewUrlsOk returns a tuple with the HiddenLinkPreviewUrls field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageUpdate200ResponseMessage) GetId ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ChannelMessageUpdate200ResponseMessage) GetIdOk ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageUpdate200ResponseMessage) GetIsPinned ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetIsPinned() bool
GetIsPinned returns the IsPinned field value if set, zero value otherwise.
func (*ChannelMessageUpdate200ResponseMessage) GetIsPinnedOk ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetIsPinnedOk() (*bool, bool)
GetIsPinnedOk returns a tuple with the IsPinned field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageUpdate200ResponseMessage) GetIsPrivate ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetIsPrivate() bool
GetIsPrivate returns the IsPrivate field value if set, zero value otherwise.
func (*ChannelMessageUpdate200ResponseMessage) GetIsPrivateOk ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetIsPrivateOk() (*bool, bool)
GetIsPrivateOk returns a tuple with the IsPrivate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageUpdate200ResponseMessage) GetIsSilent ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetIsSilent() bool
GetIsSilent returns the IsSilent field value if set, zero value otherwise.
func (*ChannelMessageUpdate200ResponseMessage) GetIsSilentOk ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetIsSilentOk() (*bool, bool)
GetIsSilentOk returns a tuple with the IsSilent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageUpdate200ResponseMessage) GetMentions ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetMentions() Mentions
GetMentions returns the Mentions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChannelMessageUpdate200ResponseMessage) GetMentionsOk ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetMentionsOk() (*Mentions, bool)
GetMentionsOk returns a tuple with the Mentions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChannelMessageUpdate200ResponseMessage) GetReplyMessageIds ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetReplyMessageIds() []string
GetReplyMessageIds returns the ReplyMessageIds field value if set, zero value otherwise.
func (*ChannelMessageUpdate200ResponseMessage) GetReplyMessageIdsOk ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetReplyMessageIdsOk() ([]string, bool)
GetReplyMessageIdsOk returns a tuple with the ReplyMessageIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageUpdate200ResponseMessage) GetServerId ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetServerId() string
GetServerId returns the ServerId field value if set, zero value otherwise.
func (*ChannelMessageUpdate200ResponseMessage) GetServerIdOk ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetServerIdOk() (*string, bool)
GetServerIdOk returns a tuple with the ServerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageUpdate200ResponseMessage) GetType ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ChannelMessageUpdate200ResponseMessage) GetTypeOk ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageUpdate200ResponseMessage) GetUpdatedAt ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value
func (*ChannelMessageUpdate200ResponseMessage) GetUpdatedAtOk ¶
func (o *ChannelMessageUpdate200ResponseMessage) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*ChannelMessageUpdate200ResponseMessage) HasChannelId ¶
func (o *ChannelMessageUpdate200ResponseMessage) HasChannelId() bool
HasChannelId returns a boolean if a field has been set.
func (*ChannelMessageUpdate200ResponseMessage) HasContent ¶
func (o *ChannelMessageUpdate200ResponseMessage) HasContent() bool
HasContent returns a boolean if a field has been set.
func (*ChannelMessageUpdate200ResponseMessage) HasCreatedAt ¶
func (o *ChannelMessageUpdate200ResponseMessage) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ChannelMessageUpdate200ResponseMessage) HasCreatedBy ¶
func (o *ChannelMessageUpdate200ResponseMessage) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*ChannelMessageUpdate200ResponseMessage) HasCreatedByWebhookId ¶
func (o *ChannelMessageUpdate200ResponseMessage) HasCreatedByWebhookId() bool
HasCreatedByWebhookId returns a boolean if a field has been set.
func (*ChannelMessageUpdate200ResponseMessage) HasEmbeds ¶
func (o *ChannelMessageUpdate200ResponseMessage) HasEmbeds() bool
HasEmbeds returns a boolean if a field has been set.
func (*ChannelMessageUpdate200ResponseMessage) HasGroupId ¶
func (o *ChannelMessageUpdate200ResponseMessage) HasGroupId() bool
HasGroupId returns a boolean if a field has been set.
func (*ChannelMessageUpdate200ResponseMessage) HasHiddenLinkPreviewUrls ¶
func (o *ChannelMessageUpdate200ResponseMessage) HasHiddenLinkPreviewUrls() bool
HasHiddenLinkPreviewUrls returns a boolean if a field has been set.
func (*ChannelMessageUpdate200ResponseMessage) HasId ¶
func (o *ChannelMessageUpdate200ResponseMessage) HasId() bool
HasId returns a boolean if a field has been set.
func (*ChannelMessageUpdate200ResponseMessage) HasIsPinned ¶
func (o *ChannelMessageUpdate200ResponseMessage) HasIsPinned() bool
HasIsPinned returns a boolean if a field has been set.
func (*ChannelMessageUpdate200ResponseMessage) HasIsPrivate ¶
func (o *ChannelMessageUpdate200ResponseMessage) HasIsPrivate() bool
HasIsPrivate returns a boolean if a field has been set.
func (*ChannelMessageUpdate200ResponseMessage) HasIsSilent ¶
func (o *ChannelMessageUpdate200ResponseMessage) HasIsSilent() bool
HasIsSilent returns a boolean if a field has been set.
func (*ChannelMessageUpdate200ResponseMessage) HasMentions ¶
func (o *ChannelMessageUpdate200ResponseMessage) HasMentions() bool
HasMentions returns a boolean if a field has been set.
func (*ChannelMessageUpdate200ResponseMessage) HasReplyMessageIds ¶
func (o *ChannelMessageUpdate200ResponseMessage) HasReplyMessageIds() bool
HasReplyMessageIds returns a boolean if a field has been set.
func (*ChannelMessageUpdate200ResponseMessage) HasServerId ¶
func (o *ChannelMessageUpdate200ResponseMessage) HasServerId() bool
HasServerId returns a boolean if a field has been set.
func (*ChannelMessageUpdate200ResponseMessage) HasType ¶
func (o *ChannelMessageUpdate200ResponseMessage) HasType() bool
HasType returns a boolean if a field has been set.
func (ChannelMessageUpdate200ResponseMessage) MarshalJSON ¶
func (o ChannelMessageUpdate200ResponseMessage) MarshalJSON() ([]byte, error)
func (*ChannelMessageUpdate200ResponseMessage) SetChannelId ¶
func (o *ChannelMessageUpdate200ResponseMessage) SetChannelId(v string)
SetChannelId gets a reference to the given string and assigns it to the ChannelId field.
func (*ChannelMessageUpdate200ResponseMessage) SetContent ¶
func (o *ChannelMessageUpdate200ResponseMessage) SetContent(v string)
SetContent gets a reference to the given string and assigns it to the Content field.
func (*ChannelMessageUpdate200ResponseMessage) SetCreatedAt ¶
func (o *ChannelMessageUpdate200ResponseMessage) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*ChannelMessageUpdate200ResponseMessage) SetCreatedBy ¶
func (o *ChannelMessageUpdate200ResponseMessage) SetCreatedBy(v string)
SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.
func (*ChannelMessageUpdate200ResponseMessage) SetCreatedByWebhookId ¶
func (o *ChannelMessageUpdate200ResponseMessage) SetCreatedByWebhookId(v string)
SetCreatedByWebhookId gets a reference to the given string and assigns it to the CreatedByWebhookId field.
func (*ChannelMessageUpdate200ResponseMessage) SetEmbeds ¶
func (o *ChannelMessageUpdate200ResponseMessage) SetEmbeds(v []ChatEmbed)
SetEmbeds gets a reference to the given []ChatEmbed and assigns it to the Embeds field.
func (*ChannelMessageUpdate200ResponseMessage) SetGroupId ¶
func (o *ChannelMessageUpdate200ResponseMessage) SetGroupId(v string)
SetGroupId gets a reference to the given string and assigns it to the GroupId field.
func (*ChannelMessageUpdate200ResponseMessage) SetHiddenLinkPreviewUrls ¶
func (o *ChannelMessageUpdate200ResponseMessage) SetHiddenLinkPreviewUrls(v []string)
SetHiddenLinkPreviewUrls gets a reference to the given []string and assigns it to the HiddenLinkPreviewUrls field.
func (*ChannelMessageUpdate200ResponseMessage) SetId ¶
func (o *ChannelMessageUpdate200ResponseMessage) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ChannelMessageUpdate200ResponseMessage) SetIsPinned ¶
func (o *ChannelMessageUpdate200ResponseMessage) SetIsPinned(v bool)
SetIsPinned gets a reference to the given bool and assigns it to the IsPinned field.
func (*ChannelMessageUpdate200ResponseMessage) SetIsPrivate ¶
func (o *ChannelMessageUpdate200ResponseMessage) SetIsPrivate(v bool)
SetIsPrivate gets a reference to the given bool and assigns it to the IsPrivate field.
func (*ChannelMessageUpdate200ResponseMessage) SetIsSilent ¶
func (o *ChannelMessageUpdate200ResponseMessage) SetIsSilent(v bool)
SetIsSilent gets a reference to the given bool and assigns it to the IsSilent field.
func (*ChannelMessageUpdate200ResponseMessage) SetMentions ¶
func (o *ChannelMessageUpdate200ResponseMessage) SetMentions(v Mentions)
SetMentions gets a reference to the given NullableMentions and assigns it to the Mentions field.
func (*ChannelMessageUpdate200ResponseMessage) SetMentionsNil ¶
func (o *ChannelMessageUpdate200ResponseMessage) SetMentionsNil()
SetMentionsNil sets the value for Mentions to be an explicit nil
func (*ChannelMessageUpdate200ResponseMessage) SetReplyMessageIds ¶
func (o *ChannelMessageUpdate200ResponseMessage) SetReplyMessageIds(v []string)
SetReplyMessageIds gets a reference to the given []string and assigns it to the ReplyMessageIds field.
func (*ChannelMessageUpdate200ResponseMessage) SetServerId ¶
func (o *ChannelMessageUpdate200ResponseMessage) SetServerId(v string)
SetServerId gets a reference to the given string and assigns it to the ServerId field.
func (*ChannelMessageUpdate200ResponseMessage) SetType ¶
func (o *ChannelMessageUpdate200ResponseMessage) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*ChannelMessageUpdate200ResponseMessage) SetUpdatedAt ¶
func (o *ChannelMessageUpdate200ResponseMessage) SetUpdatedAt(v time.Time)
SetUpdatedAt sets field value
func (ChannelMessageUpdate200ResponseMessage) ToMap ¶
func (o ChannelMessageUpdate200ResponseMessage) ToMap() (map[string]interface{}, error)
func (*ChannelMessageUpdate200ResponseMessage) UnmarshalJSON ¶
func (o *ChannelMessageUpdate200ResponseMessage) UnmarshalJSON(data []byte) (err error)
func (*ChannelMessageUpdate200ResponseMessage) UnsetMentions ¶
func (o *ChannelMessageUpdate200ResponseMessage) UnsetMentions()
UnsetMentions ensures that no value is present for Mentions, not even an explicit nil
type ChannelMessageUpdateRequest ¶
type ChannelMessageUpdateRequest struct { Content *Content1 `json:"content,omitempty"` // Links in `content` to prevent unfurling as a link preview when displaying in Guilded HiddenLinkPreviewUrls []string `json:"hiddenLinkPreviewUrls,omitempty"` // At this time, only one embed is supported per message, and attachments are not supported. If you need to send more than one embed or upload attachments, consider creating the message via a webhook. Embeds []ChatEmbed `json:"embeds,omitempty"` }
ChannelMessageUpdateRequest struct for ChannelMessageUpdateRequest
func NewChannelMessageUpdateRequest ¶
func NewChannelMessageUpdateRequest() *ChannelMessageUpdateRequest
NewChannelMessageUpdateRequest instantiates a new ChannelMessageUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChannelMessageUpdateRequestWithDefaults ¶
func NewChannelMessageUpdateRequestWithDefaults() *ChannelMessageUpdateRequest
NewChannelMessageUpdateRequestWithDefaults instantiates a new ChannelMessageUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChannelMessageUpdateRequest) GetContent ¶
func (o *ChannelMessageUpdateRequest) GetContent() Content1
GetContent returns the Content field value if set, zero value otherwise.
func (*ChannelMessageUpdateRequest) GetContentOk ¶
func (o *ChannelMessageUpdateRequest) GetContentOk() (*Content1, bool)
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageUpdateRequest) GetEmbeds ¶
func (o *ChannelMessageUpdateRequest) GetEmbeds() []ChatEmbed
GetEmbeds returns the Embeds field value if set, zero value otherwise.
func (*ChannelMessageUpdateRequest) GetEmbedsOk ¶
func (o *ChannelMessageUpdateRequest) GetEmbedsOk() ([]ChatEmbed, bool)
GetEmbedsOk returns a tuple with the Embeds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageUpdateRequest) GetHiddenLinkPreviewUrls ¶
func (o *ChannelMessageUpdateRequest) GetHiddenLinkPreviewUrls() []string
GetHiddenLinkPreviewUrls returns the HiddenLinkPreviewUrls field value if set, zero value otherwise.
func (*ChannelMessageUpdateRequest) GetHiddenLinkPreviewUrlsOk ¶
func (o *ChannelMessageUpdateRequest) GetHiddenLinkPreviewUrlsOk() ([]string, bool)
GetHiddenLinkPreviewUrlsOk returns a tuple with the HiddenLinkPreviewUrls field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelMessageUpdateRequest) HasContent ¶
func (o *ChannelMessageUpdateRequest) HasContent() bool
HasContent returns a boolean if a field has been set.
func (*ChannelMessageUpdateRequest) HasEmbeds ¶
func (o *ChannelMessageUpdateRequest) HasEmbeds() bool
HasEmbeds returns a boolean if a field has been set.
func (*ChannelMessageUpdateRequest) HasHiddenLinkPreviewUrls ¶
func (o *ChannelMessageUpdateRequest) HasHiddenLinkPreviewUrls() bool
HasHiddenLinkPreviewUrls returns a boolean if a field has been set.
func (ChannelMessageUpdateRequest) MarshalJSON ¶
func (o ChannelMessageUpdateRequest) MarshalJSON() ([]byte, error)
func (*ChannelMessageUpdateRequest) SetContent ¶
func (o *ChannelMessageUpdateRequest) SetContent(v Content1)
SetContent gets a reference to the given Content1 and assigns it to the Content field.
func (*ChannelMessageUpdateRequest) SetEmbeds ¶
func (o *ChannelMessageUpdateRequest) SetEmbeds(v []ChatEmbed)
SetEmbeds gets a reference to the given []ChatEmbed and assigns it to the Embeds field.
func (*ChannelMessageUpdateRequest) SetHiddenLinkPreviewUrls ¶
func (o *ChannelMessageUpdateRequest) SetHiddenLinkPreviewUrls(v []string)
SetHiddenLinkPreviewUrls gets a reference to the given []string and assigns it to the HiddenLinkPreviewUrls field.
func (ChannelMessageUpdateRequest) ToMap ¶
func (o ChannelMessageUpdateRequest) ToMap() (map[string]interface{}, error)
type ChannelRolePermission ¶
type ChannelRolePermission struct { Permissions map[string]bool `json:"permissions"` // The ISO 8601 timestamp that the permission override was created at CreatedAt time.Time `json:"createdAt"` // The ISO 8601 timestamp that the permission override was updated at, if relevant UpdatedAt *time.Time `json:"updatedAt,omitempty"` // The ID of the role RoleId int32 `json:"roleId"` // The ID of the channel ChannelId string `json:"channelId"` }
ChannelRolePermission struct for ChannelRolePermission
func NewChannelRolePermission ¶
func NewChannelRolePermission(permissions map[string]bool, createdAt time.Time, roleId int32, channelId string) *ChannelRolePermission
NewChannelRolePermission instantiates a new ChannelRolePermission object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChannelRolePermissionWithDefaults ¶
func NewChannelRolePermissionWithDefaults() *ChannelRolePermission
NewChannelRolePermissionWithDefaults instantiates a new ChannelRolePermission object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChannelRolePermission) GetChannelId ¶
func (o *ChannelRolePermission) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*ChannelRolePermission) GetChannelIdOk ¶
func (o *ChannelRolePermission) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*ChannelRolePermission) GetCreatedAt ¶
func (o *ChannelRolePermission) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*ChannelRolePermission) GetCreatedAtOk ¶
func (o *ChannelRolePermission) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ChannelRolePermission) GetPermissions ¶
func (o *ChannelRolePermission) GetPermissions() map[string]bool
GetPermissions returns the Permissions field value
func (*ChannelRolePermission) GetPermissionsOk ¶
func (o *ChannelRolePermission) GetPermissionsOk() (*map[string]bool, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (*ChannelRolePermission) GetRoleId ¶
func (o *ChannelRolePermission) GetRoleId() int32
GetRoleId returns the RoleId field value
func (*ChannelRolePermission) GetRoleIdOk ¶
func (o *ChannelRolePermission) GetRoleIdOk() (*int32, bool)
GetRoleIdOk returns a tuple with the RoleId field value and a boolean to check if the value has been set.
func (*ChannelRolePermission) GetUpdatedAt ¶
func (o *ChannelRolePermission) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ChannelRolePermission) GetUpdatedAtOk ¶
func (o *ChannelRolePermission) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelRolePermission) HasUpdatedAt ¶
func (o *ChannelRolePermission) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (ChannelRolePermission) MarshalJSON ¶
func (o ChannelRolePermission) MarshalJSON() ([]byte, error)
func (*ChannelRolePermission) SetChannelId ¶
func (o *ChannelRolePermission) SetChannelId(v string)
SetChannelId sets field value
func (*ChannelRolePermission) SetCreatedAt ¶
func (o *ChannelRolePermission) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*ChannelRolePermission) SetPermissions ¶
func (o *ChannelRolePermission) SetPermissions(v map[string]bool)
SetPermissions sets field value
func (*ChannelRolePermission) SetRoleId ¶
func (o *ChannelRolePermission) SetRoleId(v int32)
SetRoleId sets field value
func (*ChannelRolePermission) SetUpdatedAt ¶
func (o *ChannelRolePermission) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (ChannelRolePermission) ToMap ¶
func (o ChannelRolePermission) ToMap() (map[string]interface{}, error)
func (*ChannelRolePermission) UnmarshalJSON ¶
func (o *ChannelRolePermission) UnmarshalJSON(data []byte) (err error)
type ChannelRolePermissionCreateRequest ¶
type ChannelRolePermissionCreateRequest struct { // A JSON object of [Enums/Permissions](https://www.guilded.gg/docs/api/Permissions) with `true`, `false` or null values. Permission list can only contain relevant permissions for the channel type Permissions map[string]interface{} `json:"permissions"` }
ChannelRolePermissionCreateRequest struct for ChannelRolePermissionCreateRequest
func NewChannelRolePermissionCreateRequest ¶
func NewChannelRolePermissionCreateRequest(permissions map[string]interface{}) *ChannelRolePermissionCreateRequest
NewChannelRolePermissionCreateRequest instantiates a new ChannelRolePermissionCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChannelRolePermissionCreateRequestWithDefaults ¶
func NewChannelRolePermissionCreateRequestWithDefaults() *ChannelRolePermissionCreateRequest
NewChannelRolePermissionCreateRequestWithDefaults instantiates a new ChannelRolePermissionCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChannelRolePermissionCreateRequest) GetPermissions ¶
func (o *ChannelRolePermissionCreateRequest) GetPermissions() map[string]interface{}
GetPermissions returns the Permissions field value
func (*ChannelRolePermissionCreateRequest) GetPermissionsOk ¶
func (o *ChannelRolePermissionCreateRequest) GetPermissionsOk() (map[string]interface{}, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (ChannelRolePermissionCreateRequest) MarshalJSON ¶
func (o ChannelRolePermissionCreateRequest) MarshalJSON() ([]byte, error)
func (*ChannelRolePermissionCreateRequest) SetPermissions ¶
func (o *ChannelRolePermissionCreateRequest) SetPermissions(v map[string]interface{})
SetPermissions sets field value
func (ChannelRolePermissionCreateRequest) ToMap ¶
func (o ChannelRolePermissionCreateRequest) ToMap() (map[string]interface{}, error)
func (*ChannelRolePermissionCreateRequest) UnmarshalJSON ¶
func (o *ChannelRolePermissionCreateRequest) UnmarshalJSON(data []byte) (err error)
type ChannelRolePermissionRead200Response ¶
type ChannelRolePermissionRead200Response struct {
ChannelRolePermission ChannelRolePermission `json:"channelRolePermission"`
}
ChannelRolePermissionRead200Response struct for ChannelRolePermissionRead200Response
func NewChannelRolePermissionRead200Response ¶
func NewChannelRolePermissionRead200Response(channelRolePermission ChannelRolePermission) *ChannelRolePermissionRead200Response
NewChannelRolePermissionRead200Response instantiates a new ChannelRolePermissionRead200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChannelRolePermissionRead200ResponseWithDefaults ¶
func NewChannelRolePermissionRead200ResponseWithDefaults() *ChannelRolePermissionRead200Response
NewChannelRolePermissionRead200ResponseWithDefaults instantiates a new ChannelRolePermissionRead200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChannelRolePermissionRead200Response) GetChannelRolePermission ¶
func (o *ChannelRolePermissionRead200Response) GetChannelRolePermission() ChannelRolePermission
GetChannelRolePermission returns the ChannelRolePermission field value
func (*ChannelRolePermissionRead200Response) GetChannelRolePermissionOk ¶
func (o *ChannelRolePermissionRead200Response) GetChannelRolePermissionOk() (*ChannelRolePermission, bool)
GetChannelRolePermissionOk returns a tuple with the ChannelRolePermission field value and a boolean to check if the value has been set.
func (ChannelRolePermissionRead200Response) MarshalJSON ¶
func (o ChannelRolePermissionRead200Response) MarshalJSON() ([]byte, error)
func (*ChannelRolePermissionRead200Response) SetChannelRolePermission ¶
func (o *ChannelRolePermissionRead200Response) SetChannelRolePermission(v ChannelRolePermission)
SetChannelRolePermission sets field value
func (ChannelRolePermissionRead200Response) ToMap ¶
func (o ChannelRolePermissionRead200Response) ToMap() (map[string]interface{}, error)
func (*ChannelRolePermissionRead200Response) UnmarshalJSON ¶
func (o *ChannelRolePermissionRead200Response) UnmarshalJSON(data []byte) (err error)
type ChannelRolePermissionReadMany200Response ¶
type ChannelRolePermissionReadMany200Response struct {
ChannelRolePermissions []ChannelRolePermission `json:"channelRolePermissions"`
}
ChannelRolePermissionReadMany200Response struct for ChannelRolePermissionReadMany200Response
func NewChannelRolePermissionReadMany200Response ¶
func NewChannelRolePermissionReadMany200Response(channelRolePermissions []ChannelRolePermission) *ChannelRolePermissionReadMany200Response
NewChannelRolePermissionReadMany200Response instantiates a new ChannelRolePermissionReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChannelRolePermissionReadMany200ResponseWithDefaults ¶
func NewChannelRolePermissionReadMany200ResponseWithDefaults() *ChannelRolePermissionReadMany200Response
NewChannelRolePermissionReadMany200ResponseWithDefaults instantiates a new ChannelRolePermissionReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChannelRolePermissionReadMany200Response) GetChannelRolePermissions ¶
func (o *ChannelRolePermissionReadMany200Response) GetChannelRolePermissions() []ChannelRolePermission
GetChannelRolePermissions returns the ChannelRolePermissions field value
func (*ChannelRolePermissionReadMany200Response) GetChannelRolePermissionsOk ¶
func (o *ChannelRolePermissionReadMany200Response) GetChannelRolePermissionsOk() ([]ChannelRolePermission, bool)
GetChannelRolePermissionsOk returns a tuple with the ChannelRolePermissions field value and a boolean to check if the value has been set.
func (ChannelRolePermissionReadMany200Response) MarshalJSON ¶
func (o ChannelRolePermissionReadMany200Response) MarshalJSON() ([]byte, error)
func (*ChannelRolePermissionReadMany200Response) SetChannelRolePermissions ¶
func (o *ChannelRolePermissionReadMany200Response) SetChannelRolePermissions(v []ChannelRolePermission)
SetChannelRolePermissions sets field value
func (ChannelRolePermissionReadMany200Response) ToMap ¶
func (o ChannelRolePermissionReadMany200Response) ToMap() (map[string]interface{}, error)
func (*ChannelRolePermissionReadMany200Response) UnmarshalJSON ¶
func (o *ChannelRolePermissionReadMany200Response) UnmarshalJSON(data []byte) (err error)
type ChannelUpdateRequest ¶
type ChannelUpdateRequest struct { // The name of the channel or thread Name *string `json:"name,omitempty"` // The topic of the channel. Not applicable to threads Topic NullableString `json:"topic,omitempty"` // What users can access the channel. Only applicable to server channels. If not present, this channel will respect normal permissions. `public` is accessible to everyone, even those who aren't of the server. `private` is only accessible to explicitly mentioned users. Currently, threads cannot be `public` and other channels cannot be `private`. Additionally, `private` threads can only exist with an associated `messageId` that is for a private message. At this time, you cannot update the visibility on a channel to `private`; this must be set at creation Visibility NullableString `json:"visibility,omitempty"` // The priority of the channel will determine its position relative to other categories in the group. The higher the value, the higher up it will be displayed in the UI. Returned values can be null, in which case sorting will be done by `createdAt` in ascending order. Due to legacy issues, sending a null value is not possible Priority *int32 `json:"priority,omitempty"` }
ChannelUpdateRequest struct for ChannelUpdateRequest
func NewChannelUpdateRequest ¶
func NewChannelUpdateRequest() *ChannelUpdateRequest
NewChannelUpdateRequest instantiates a new ChannelUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChannelUpdateRequestWithDefaults ¶
func NewChannelUpdateRequestWithDefaults() *ChannelUpdateRequest
NewChannelUpdateRequestWithDefaults instantiates a new ChannelUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChannelUpdateRequest) GetName ¶
func (o *ChannelUpdateRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ChannelUpdateRequest) GetNameOk ¶
func (o *ChannelUpdateRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelUpdateRequest) GetPriority ¶
func (o *ChannelUpdateRequest) GetPriority() int32
GetPriority returns the Priority field value if set, zero value otherwise.
func (*ChannelUpdateRequest) GetPriorityOk ¶
func (o *ChannelUpdateRequest) GetPriorityOk() (*int32, bool)
GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelUpdateRequest) GetTopic ¶
func (o *ChannelUpdateRequest) GetTopic() string
GetTopic returns the Topic field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChannelUpdateRequest) GetTopicOk ¶
func (o *ChannelUpdateRequest) GetTopicOk() (*string, bool)
GetTopicOk returns a tuple with the Topic field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChannelUpdateRequest) GetVisibility ¶
func (o *ChannelUpdateRequest) GetVisibility() string
GetVisibility returns the Visibility field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChannelUpdateRequest) GetVisibilityOk ¶
func (o *ChannelUpdateRequest) GetVisibilityOk() (*string, bool)
GetVisibilityOk returns a tuple with the Visibility field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChannelUpdateRequest) HasName ¶
func (o *ChannelUpdateRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*ChannelUpdateRequest) HasPriority ¶
func (o *ChannelUpdateRequest) HasPriority() bool
HasPriority returns a boolean if a field has been set.
func (*ChannelUpdateRequest) HasTopic ¶
func (o *ChannelUpdateRequest) HasTopic() bool
HasTopic returns a boolean if a field has been set.
func (*ChannelUpdateRequest) HasVisibility ¶
func (o *ChannelUpdateRequest) HasVisibility() bool
HasVisibility returns a boolean if a field has been set.
func (ChannelUpdateRequest) MarshalJSON ¶
func (o ChannelUpdateRequest) MarshalJSON() ([]byte, error)
func (*ChannelUpdateRequest) SetName ¶
func (o *ChannelUpdateRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ChannelUpdateRequest) SetPriority ¶
func (o *ChannelUpdateRequest) SetPriority(v int32)
SetPriority gets a reference to the given int32 and assigns it to the Priority field.
func (*ChannelUpdateRequest) SetTopic ¶
func (o *ChannelUpdateRequest) SetTopic(v string)
SetTopic gets a reference to the given NullableString and assigns it to the Topic field.
func (*ChannelUpdateRequest) SetTopicNil ¶
func (o *ChannelUpdateRequest) SetTopicNil()
SetTopicNil sets the value for Topic to be an explicit nil
func (*ChannelUpdateRequest) SetVisibility ¶
func (o *ChannelUpdateRequest) SetVisibility(v string)
SetVisibility gets a reference to the given NullableString and assigns it to the Visibility field.
func (*ChannelUpdateRequest) SetVisibilityNil ¶
func (o *ChannelUpdateRequest) SetVisibilityNil()
SetVisibilityNil sets the value for Visibility to be an explicit nil
func (ChannelUpdateRequest) ToMap ¶
func (o ChannelUpdateRequest) ToMap() (map[string]interface{}, error)
func (*ChannelUpdateRequest) UnsetTopic ¶
func (o *ChannelUpdateRequest) UnsetTopic()
UnsetTopic ensures that no value is present for Topic, not even an explicit nil
func (*ChannelUpdateRequest) UnsetVisibility ¶
func (o *ChannelUpdateRequest) UnsetVisibility()
UnsetVisibility ensures that no value is present for Visibility, not even an explicit nil
type ChannelUserPermission ¶
type ChannelUserPermission struct { Permissions map[string]bool `json:"permissions"` // The ISO 8601 timestamp that the permission override was created at CreatedAt time.Time `json:"createdAt"` // The ISO 8601 timestamp that the permission override was updated at, if relevant UpdatedAt *time.Time `json:"updatedAt,omitempty"` // The ID of the user UserId string `json:"userId"` // The ID of the channel ChannelId string `json:"channelId"` }
ChannelUserPermission struct for ChannelUserPermission
func NewChannelUserPermission ¶
func NewChannelUserPermission(permissions map[string]bool, createdAt time.Time, userId string, channelId string) *ChannelUserPermission
NewChannelUserPermission instantiates a new ChannelUserPermission object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChannelUserPermissionWithDefaults ¶
func NewChannelUserPermissionWithDefaults() *ChannelUserPermission
NewChannelUserPermissionWithDefaults instantiates a new ChannelUserPermission object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChannelUserPermission) GetChannelId ¶
func (o *ChannelUserPermission) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*ChannelUserPermission) GetChannelIdOk ¶
func (o *ChannelUserPermission) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*ChannelUserPermission) GetCreatedAt ¶
func (o *ChannelUserPermission) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*ChannelUserPermission) GetCreatedAtOk ¶
func (o *ChannelUserPermission) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ChannelUserPermission) GetPermissions ¶
func (o *ChannelUserPermission) GetPermissions() map[string]bool
GetPermissions returns the Permissions field value
func (*ChannelUserPermission) GetPermissionsOk ¶
func (o *ChannelUserPermission) GetPermissionsOk() (*map[string]bool, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (*ChannelUserPermission) GetUpdatedAt ¶
func (o *ChannelUserPermission) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ChannelUserPermission) GetUpdatedAtOk ¶
func (o *ChannelUserPermission) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChannelUserPermission) GetUserId ¶
func (o *ChannelUserPermission) GetUserId() string
GetUserId returns the UserId field value
func (*ChannelUserPermission) GetUserIdOk ¶
func (o *ChannelUserPermission) GetUserIdOk() (*string, bool)
GetUserIdOk returns a tuple with the UserId field value and a boolean to check if the value has been set.
func (*ChannelUserPermission) HasUpdatedAt ¶
func (o *ChannelUserPermission) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (ChannelUserPermission) MarshalJSON ¶
func (o ChannelUserPermission) MarshalJSON() ([]byte, error)
func (*ChannelUserPermission) SetChannelId ¶
func (o *ChannelUserPermission) SetChannelId(v string)
SetChannelId sets field value
func (*ChannelUserPermission) SetCreatedAt ¶
func (o *ChannelUserPermission) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*ChannelUserPermission) SetPermissions ¶
func (o *ChannelUserPermission) SetPermissions(v map[string]bool)
SetPermissions sets field value
func (*ChannelUserPermission) SetUpdatedAt ¶
func (o *ChannelUserPermission) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*ChannelUserPermission) SetUserId ¶
func (o *ChannelUserPermission) SetUserId(v string)
SetUserId sets field value
func (ChannelUserPermission) ToMap ¶
func (o ChannelUserPermission) ToMap() (map[string]interface{}, error)
func (*ChannelUserPermission) UnmarshalJSON ¶
func (o *ChannelUserPermission) UnmarshalJSON(data []byte) (err error)
type ChannelUserPermissionRead200Response ¶
type ChannelUserPermissionRead200Response struct {
ChannelUserPermission ChannelUserPermission `json:"channelUserPermission"`
}
ChannelUserPermissionRead200Response struct for ChannelUserPermissionRead200Response
func NewChannelUserPermissionRead200Response ¶
func NewChannelUserPermissionRead200Response(channelUserPermission ChannelUserPermission) *ChannelUserPermissionRead200Response
NewChannelUserPermissionRead200Response instantiates a new ChannelUserPermissionRead200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChannelUserPermissionRead200ResponseWithDefaults ¶
func NewChannelUserPermissionRead200ResponseWithDefaults() *ChannelUserPermissionRead200Response
NewChannelUserPermissionRead200ResponseWithDefaults instantiates a new ChannelUserPermissionRead200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChannelUserPermissionRead200Response) GetChannelUserPermission ¶
func (o *ChannelUserPermissionRead200Response) GetChannelUserPermission() ChannelUserPermission
GetChannelUserPermission returns the ChannelUserPermission field value
func (*ChannelUserPermissionRead200Response) GetChannelUserPermissionOk ¶
func (o *ChannelUserPermissionRead200Response) GetChannelUserPermissionOk() (*ChannelUserPermission, bool)
GetChannelUserPermissionOk returns a tuple with the ChannelUserPermission field value and a boolean to check if the value has been set.
func (ChannelUserPermissionRead200Response) MarshalJSON ¶
func (o ChannelUserPermissionRead200Response) MarshalJSON() ([]byte, error)
func (*ChannelUserPermissionRead200Response) SetChannelUserPermission ¶
func (o *ChannelUserPermissionRead200Response) SetChannelUserPermission(v ChannelUserPermission)
SetChannelUserPermission sets field value
func (ChannelUserPermissionRead200Response) ToMap ¶
func (o ChannelUserPermissionRead200Response) ToMap() (map[string]interface{}, error)
func (*ChannelUserPermissionRead200Response) UnmarshalJSON ¶
func (o *ChannelUserPermissionRead200Response) UnmarshalJSON(data []byte) (err error)
type ChannelUserPermissionReadMany200Response ¶
type ChannelUserPermissionReadMany200Response struct {
ChannelUserPermissions []ChannelUserPermission `json:"channelUserPermissions"`
}
ChannelUserPermissionReadMany200Response struct for ChannelUserPermissionReadMany200Response
func NewChannelUserPermissionReadMany200Response ¶
func NewChannelUserPermissionReadMany200Response(channelUserPermissions []ChannelUserPermission) *ChannelUserPermissionReadMany200Response
NewChannelUserPermissionReadMany200Response instantiates a new ChannelUserPermissionReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChannelUserPermissionReadMany200ResponseWithDefaults ¶
func NewChannelUserPermissionReadMany200ResponseWithDefaults() *ChannelUserPermissionReadMany200Response
NewChannelUserPermissionReadMany200ResponseWithDefaults instantiates a new ChannelUserPermissionReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChannelUserPermissionReadMany200Response) GetChannelUserPermissions ¶
func (o *ChannelUserPermissionReadMany200Response) GetChannelUserPermissions() []ChannelUserPermission
GetChannelUserPermissions returns the ChannelUserPermissions field value
func (*ChannelUserPermissionReadMany200Response) GetChannelUserPermissionsOk ¶
func (o *ChannelUserPermissionReadMany200Response) GetChannelUserPermissionsOk() ([]ChannelUserPermission, bool)
GetChannelUserPermissionsOk returns a tuple with the ChannelUserPermissions field value and a boolean to check if the value has been set.
func (ChannelUserPermissionReadMany200Response) MarshalJSON ¶
func (o ChannelUserPermissionReadMany200Response) MarshalJSON() ([]byte, error)
func (*ChannelUserPermissionReadMany200Response) SetChannelUserPermissions ¶
func (o *ChannelUserPermissionReadMany200Response) SetChannelUserPermissions(v []ChannelUserPermission)
SetChannelUserPermissions sets field value
func (ChannelUserPermissionReadMany200Response) ToMap ¶
func (o ChannelUserPermissionReadMany200Response) ToMap() (map[string]interface{}, error)
func (*ChannelUserPermissionReadMany200Response) UnmarshalJSON ¶
func (o *ChannelUserPermissionReadMany200Response) UnmarshalJSON(data []byte) (err error)
type ChannelsAPI ¶
type ChannelsAPI interface { /* ChannelArchiveCreate Archive a channel @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return ChannelsAPIChannelArchiveCreateRequest */ ChannelArchiveCreate(ctx context.Context, channelId string) ChannelsAPIChannelArchiveCreateRequest // ChannelArchiveCreateExecute executes the request ChannelArchiveCreateExecute(r ChannelsAPIChannelArchiveCreateRequest) (*http.Response, error) /* ChannelArchiveDelete Restore an archived channel @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return ChannelsAPIChannelArchiveDeleteRequest */ ChannelArchiveDelete(ctx context.Context, channelId string) ChannelsAPIChannelArchiveDeleteRequest // ChannelArchiveDeleteExecute executes the request ChannelArchiveDeleteExecute(r ChannelsAPIChannelArchiveDeleteRequest) (*http.Response, error) /* ChannelCreate Create a channel Only server channels are supported at this time (coming soon™: DM Channels!). By default, a channel will be created with a null value for priority on a server. You can update its priority using [the channel update route](/docs/api/channels/ChannelUpdate) @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ChannelsAPIChannelCreateRequest */ ChannelCreate(ctx context.Context) ChannelsAPIChannelCreateRequest // ChannelCreateExecute executes the request // @return ChannelCreate201Response ChannelCreateExecute(r ChannelsAPIChannelCreateRequest) (*ChannelCreate201Response, *http.Response, error) /* ChannelDelete Delete a channel Only server channels are supported at this time (coming soon™: DM Channels!) @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return ChannelsAPIChannelDeleteRequest */ ChannelDelete(ctx context.Context, channelId string) ChannelsAPIChannelDeleteRequest // ChannelDeleteExecute executes the request ChannelDeleteExecute(r ChannelsAPIChannelDeleteRequest) (*http.Response, error) /* ChannelRead Get a channel Must be a member of the server to get the channel. Only server channels are supported at this time (coming soon™: DM Channels!) @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return ChannelsAPIChannelReadRequest */ ChannelRead(ctx context.Context, channelId string) ChannelsAPIChannelReadRequest // ChannelReadExecute executes the request // @return ChannelCreate201Response ChannelReadExecute(r ChannelsAPIChannelReadRequest) (*ChannelCreate201Response, *http.Response, error) /* ChannelUpdate Update a channel Only server channels are supported at this time (coming soon™: DM Channels!) @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return ChannelsAPIChannelUpdateRequest */ ChannelUpdate(ctx context.Context, channelId string) ChannelsAPIChannelUpdateRequest // ChannelUpdateExecute executes the request // @return ChannelCreate201Response ChannelUpdateExecute(r ChannelsAPIChannelUpdateRequest) (*ChannelCreate201Response, *http.Response, error) }
type ChannelsAPIChannelArchiveCreateRequest ¶
type ChannelsAPIChannelArchiveCreateRequest struct { ApiService ChannelsAPI // contains filtered or unexported fields }
type ChannelsAPIChannelArchiveDeleteRequest ¶
type ChannelsAPIChannelArchiveDeleteRequest struct { ApiService ChannelsAPI // contains filtered or unexported fields }
type ChannelsAPIChannelCreateRequest ¶
type ChannelsAPIChannelCreateRequest struct { ApiService ChannelsAPI // contains filtered or unexported fields }
func (ChannelsAPIChannelCreateRequest) ChannelCreateRequest ¶
func (r ChannelsAPIChannelCreateRequest) ChannelCreateRequest(channelCreateRequest ChannelCreateRequest) ChannelsAPIChannelCreateRequest
func (ChannelsAPIChannelCreateRequest) Execute ¶
func (r ChannelsAPIChannelCreateRequest) Execute() (*ChannelCreate201Response, *http.Response, error)
type ChannelsAPIChannelDeleteRequest ¶
type ChannelsAPIChannelDeleteRequest struct { ApiService ChannelsAPI // contains filtered or unexported fields }
type ChannelsAPIChannelReadRequest ¶
type ChannelsAPIChannelReadRequest struct { ApiService ChannelsAPI // contains filtered or unexported fields }
func (ChannelsAPIChannelReadRequest) Execute ¶
func (r ChannelsAPIChannelReadRequest) Execute() (*ChannelCreate201Response, *http.Response, error)
type ChannelsAPIChannelUpdateRequest ¶
type ChannelsAPIChannelUpdateRequest struct { ApiService ChannelsAPI // contains filtered or unexported fields }
func (ChannelsAPIChannelUpdateRequest) ChannelUpdateRequest ¶
func (r ChannelsAPIChannelUpdateRequest) ChannelUpdateRequest(channelUpdateRequest ChannelUpdateRequest) ChannelsAPIChannelUpdateRequest
func (ChannelsAPIChannelUpdateRequest) Execute ¶
func (r ChannelsAPIChannelUpdateRequest) Execute() (*ChannelCreate201Response, *http.Response, error)
type ChannelsAPIService ¶
type ChannelsAPIService service
ChannelsAPIService ChannelsAPI service
func (*ChannelsAPIService) ChannelArchiveCreate ¶
func (a *ChannelsAPIService) ChannelArchiveCreate(ctx context.Context, channelId string) ChannelsAPIChannelArchiveCreateRequest
ChannelArchiveCreate Archive a channel
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return ChannelsAPIChannelArchiveCreateRequest
func (*ChannelsAPIService) ChannelArchiveCreateExecute ¶
func (a *ChannelsAPIService) ChannelArchiveCreateExecute(r ChannelsAPIChannelArchiveCreateRequest) (*http.Response, error)
Execute executes the request
func (*ChannelsAPIService) ChannelArchiveDelete ¶
func (a *ChannelsAPIService) ChannelArchiveDelete(ctx context.Context, channelId string) ChannelsAPIChannelArchiveDeleteRequest
ChannelArchiveDelete Restore an archived channel
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return ChannelsAPIChannelArchiveDeleteRequest
func (*ChannelsAPIService) ChannelArchiveDeleteExecute ¶
func (a *ChannelsAPIService) ChannelArchiveDeleteExecute(r ChannelsAPIChannelArchiveDeleteRequest) (*http.Response, error)
Execute executes the request
func (*ChannelsAPIService) ChannelCreate ¶
func (a *ChannelsAPIService) ChannelCreate(ctx context.Context) ChannelsAPIChannelCreateRequest
ChannelCreate Create a channel
Only server channels are supported at this time (coming soon™: DM Channels!). By default, a channel will be created with a null value for priority on a server. You can update its priority using [the channel update route](/docs/api/channels/ChannelUpdate)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ChannelsAPIChannelCreateRequest
func (*ChannelsAPIService) ChannelCreateExecute ¶
func (a *ChannelsAPIService) ChannelCreateExecute(r ChannelsAPIChannelCreateRequest) (*ChannelCreate201Response, *http.Response, error)
Execute executes the request
@return ChannelCreate201Response
func (*ChannelsAPIService) ChannelDelete ¶
func (a *ChannelsAPIService) ChannelDelete(ctx context.Context, channelId string) ChannelsAPIChannelDeleteRequest
ChannelDelete Delete a channel
Only server channels are supported at this time (coming soon™: DM Channels!)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return ChannelsAPIChannelDeleteRequest
func (*ChannelsAPIService) ChannelDeleteExecute ¶
func (a *ChannelsAPIService) ChannelDeleteExecute(r ChannelsAPIChannelDeleteRequest) (*http.Response, error)
Execute executes the request
func (*ChannelsAPIService) ChannelRead ¶
func (a *ChannelsAPIService) ChannelRead(ctx context.Context, channelId string) ChannelsAPIChannelReadRequest
ChannelRead Get a channel
Must be a member of the server to get the channel. Only server channels are supported at this time (coming soon™: DM Channels!)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return ChannelsAPIChannelReadRequest
func (*ChannelsAPIService) ChannelReadExecute ¶
func (a *ChannelsAPIService) ChannelReadExecute(r ChannelsAPIChannelReadRequest) (*ChannelCreate201Response, *http.Response, error)
Execute executes the request
@return ChannelCreate201Response
func (*ChannelsAPIService) ChannelUpdate ¶
func (a *ChannelsAPIService) ChannelUpdate(ctx context.Context, channelId string) ChannelsAPIChannelUpdateRequest
ChannelUpdate Update a channel
Only server channels are supported at this time (coming soon™: DM Channels!)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return ChannelsAPIChannelUpdateRequest
func (*ChannelsAPIService) ChannelUpdateExecute ¶
func (a *ChannelsAPIService) ChannelUpdateExecute(r ChannelsAPIChannelUpdateRequest) (*ChannelCreate201Response, *http.Response, error)
Execute executes the request
@return ChannelCreate201Response
type ChatAPI ¶
type ChatAPI interface { /* ChannelMessageCreate Create a channel message @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId Channel ID to create the message in @return ChatAPIChannelMessageCreateRequest */ ChannelMessageCreate(ctx context.Context, channelId string) ChatAPIChannelMessageCreateRequest // ChannelMessageCreateExecute executes the request // @return ChannelMessageCreate201Response ChannelMessageCreateExecute(r ChatAPIChannelMessageCreateRequest) (*ChannelMessageCreate201Response, *http.Response, error) /* ChannelMessageDelete Delete a channel message @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param messageId @return ChatAPIChannelMessageDeleteRequest */ ChannelMessageDelete(ctx context.Context, channelId string, messageId string) ChatAPIChannelMessageDeleteRequest // ChannelMessageDeleteExecute executes the request ChannelMessageDeleteExecute(r ChatAPIChannelMessageDeleteRequest) (*http.Response, error) /* ChannelMessagePinCreate Pin a message @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param messageId @return ChatAPIChannelMessagePinCreateRequest */ ChannelMessagePinCreate(ctx context.Context, channelId string, messageId string) ChatAPIChannelMessagePinCreateRequest // ChannelMessagePinCreateExecute executes the request ChannelMessagePinCreateExecute(r ChatAPIChannelMessagePinCreateRequest) (*http.Response, error) /* ChannelMessagePinDelete Unpin a message @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param messageId @return ChatAPIChannelMessagePinDeleteRequest */ ChannelMessagePinDelete(ctx context.Context, channelId string, messageId string) ChatAPIChannelMessagePinDeleteRequest // ChannelMessagePinDeleteExecute executes the request ChannelMessagePinDeleteExecute(r ChatAPIChannelMessagePinDeleteRequest) (*http.Response, error) /* ChannelMessageRead Get a channel message Get details for a specific chat message from a chat channel. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId ID of the channel that the message exists in @param messageId @return ChatAPIChannelMessageReadRequest */ ChannelMessageRead(ctx context.Context, channelId string, messageId string) ChatAPIChannelMessageReadRequest // ChannelMessageReadExecute executes the request // @return ChannelMessageCreate201Response ChannelMessageReadExecute(r ChatAPIChannelMessageReadRequest) (*ChannelMessageCreate201Response, *http.Response, error) /* ChannelMessageReadMany Get channel messages Results returned will be ordered ascending by the message's `createdAt`. `before` and `after` will filter based on the message's `createdAt` @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId ID of the channel that the messages exist in @return ChatAPIChannelMessageReadManyRequest */ ChannelMessageReadMany(ctx context.Context, channelId string) ChatAPIChannelMessageReadManyRequest // ChannelMessageReadManyExecute executes the request // @return ChannelMessageReadMany200Response ChannelMessageReadManyExecute(r ChatAPIChannelMessageReadManyRequest) (*ChannelMessageReadMany200Response, *http.Response, error) /* ChannelMessageUpdate Update a channel message @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId ID of the channel that the message to be updated exists in @param messageId @return ChatAPIChannelMessageUpdateRequest */ ChannelMessageUpdate(ctx context.Context, channelId string, messageId string) ChatAPIChannelMessageUpdateRequest // ChannelMessageUpdateExecute executes the request // @return ChannelMessageUpdate200Response ChannelMessageUpdateExecute(r ChatAPIChannelMessageUpdateRequest) (*ChannelMessageUpdate200Response, *http.Response, error) }
type ChatAPIChannelMessageCreateRequest ¶
type ChatAPIChannelMessageCreateRequest struct { ApiService ChatAPI // contains filtered or unexported fields }
func (ChatAPIChannelMessageCreateRequest) ChannelMessageCreateRequest ¶
func (r ChatAPIChannelMessageCreateRequest) ChannelMessageCreateRequest(channelMessageCreateRequest ChannelMessageCreateRequest) ChatAPIChannelMessageCreateRequest
func (ChatAPIChannelMessageCreateRequest) Execute ¶
func (r ChatAPIChannelMessageCreateRequest) Execute() (*ChannelMessageCreate201Response, *http.Response, error)
type ChatAPIChannelMessageDeleteRequest ¶
type ChatAPIChannelMessageDeleteRequest struct { ApiService ChatAPI // contains filtered or unexported fields }
type ChatAPIChannelMessagePinCreateRequest ¶
type ChatAPIChannelMessagePinCreateRequest struct { ApiService ChatAPI // contains filtered or unexported fields }
type ChatAPIChannelMessagePinDeleteRequest ¶
type ChatAPIChannelMessagePinDeleteRequest struct { ApiService ChatAPI // contains filtered or unexported fields }
type ChatAPIChannelMessageReadManyRequest ¶
type ChatAPIChannelMessageReadManyRequest struct { ApiService ChatAPI // contains filtered or unexported fields }
func (ChatAPIChannelMessageReadManyRequest) After ¶
func (r ChatAPIChannelMessageReadManyRequest) After(after time.Time) ChatAPIChannelMessageReadManyRequest
An ISO 8601 timestamp that will be used to filter out results for the current page. Order will be reversed when compared to `before` or when omitting this parameter altogether
func (ChatAPIChannelMessageReadManyRequest) Before ¶
func (r ChatAPIChannelMessageReadManyRequest) Before(before time.Time) ChatAPIChannelMessageReadManyRequest
func (ChatAPIChannelMessageReadManyRequest) Execute ¶
func (r ChatAPIChannelMessageReadManyRequest) Execute() (*ChannelMessageReadMany200Response, *http.Response, error)
func (ChatAPIChannelMessageReadManyRequest) IncludePrivate ¶
func (r ChatAPIChannelMessageReadManyRequest) IncludePrivate(includePrivate bool) ChatAPIChannelMessageReadManyRequest
Whether to include private messages between all users in response
func (ChatAPIChannelMessageReadManyRequest) Limit ¶
func (r ChatAPIChannelMessageReadManyRequest) Limit(limit int32) ChatAPIChannelMessageReadManyRequest
type ChatAPIChannelMessageReadRequest ¶
type ChatAPIChannelMessageReadRequest struct { ApiService ChatAPI // contains filtered or unexported fields }
func (ChatAPIChannelMessageReadRequest) Execute ¶
func (r ChatAPIChannelMessageReadRequest) Execute() (*ChannelMessageCreate201Response, *http.Response, error)
type ChatAPIChannelMessageUpdateRequest ¶
type ChatAPIChannelMessageUpdateRequest struct { ApiService ChatAPI // contains filtered or unexported fields }
func (ChatAPIChannelMessageUpdateRequest) ChannelMessageUpdateRequest ¶
func (r ChatAPIChannelMessageUpdateRequest) ChannelMessageUpdateRequest(channelMessageUpdateRequest ChannelMessageUpdateRequest) ChatAPIChannelMessageUpdateRequest
func (ChatAPIChannelMessageUpdateRequest) Execute ¶
func (r ChatAPIChannelMessageUpdateRequest) Execute() (*ChannelMessageUpdate200Response, *http.Response, error)
type ChatAPIService ¶
type ChatAPIService service
ChatAPIService ChatAPI service
func (*ChatAPIService) ChannelMessageCreate ¶
func (a *ChatAPIService) ChannelMessageCreate(ctx context.Context, channelId string) ChatAPIChannelMessageCreateRequest
ChannelMessageCreate Create a channel message
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId Channel ID to create the message in @return ChatAPIChannelMessageCreateRequest
func (*ChatAPIService) ChannelMessageCreateExecute ¶
func (a *ChatAPIService) ChannelMessageCreateExecute(r ChatAPIChannelMessageCreateRequest) (*ChannelMessageCreate201Response, *http.Response, error)
Execute executes the request
@return ChannelMessageCreate201Response
func (*ChatAPIService) ChannelMessageDelete ¶
func (a *ChatAPIService) ChannelMessageDelete(ctx context.Context, channelId string, messageId string) ChatAPIChannelMessageDeleteRequest
ChannelMessageDelete Delete a channel message
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param messageId @return ChatAPIChannelMessageDeleteRequest
func (*ChatAPIService) ChannelMessageDeleteExecute ¶
func (a *ChatAPIService) ChannelMessageDeleteExecute(r ChatAPIChannelMessageDeleteRequest) (*http.Response, error)
Execute executes the request
func (*ChatAPIService) ChannelMessagePinCreate ¶
func (a *ChatAPIService) ChannelMessagePinCreate(ctx context.Context, channelId string, messageId string) ChatAPIChannelMessagePinCreateRequest
ChannelMessagePinCreate Pin a message
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param messageId @return ChatAPIChannelMessagePinCreateRequest
func (*ChatAPIService) ChannelMessagePinCreateExecute ¶
func (a *ChatAPIService) ChannelMessagePinCreateExecute(r ChatAPIChannelMessagePinCreateRequest) (*http.Response, error)
Execute executes the request
func (*ChatAPIService) ChannelMessagePinDelete ¶
func (a *ChatAPIService) ChannelMessagePinDelete(ctx context.Context, channelId string, messageId string) ChatAPIChannelMessagePinDeleteRequest
ChannelMessagePinDelete Unpin a message
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param messageId @return ChatAPIChannelMessagePinDeleteRequest
func (*ChatAPIService) ChannelMessagePinDeleteExecute ¶
func (a *ChatAPIService) ChannelMessagePinDeleteExecute(r ChatAPIChannelMessagePinDeleteRequest) (*http.Response, error)
Execute executes the request
func (*ChatAPIService) ChannelMessageRead ¶
func (a *ChatAPIService) ChannelMessageRead(ctx context.Context, channelId string, messageId string) ChatAPIChannelMessageReadRequest
ChannelMessageRead Get a channel message
Get details for a specific chat message from a chat channel.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId ID of the channel that the message exists in @param messageId @return ChatAPIChannelMessageReadRequest
func (*ChatAPIService) ChannelMessageReadExecute ¶
func (a *ChatAPIService) ChannelMessageReadExecute(r ChatAPIChannelMessageReadRequest) (*ChannelMessageCreate201Response, *http.Response, error)
Execute executes the request
@return ChannelMessageCreate201Response
func (*ChatAPIService) ChannelMessageReadMany ¶
func (a *ChatAPIService) ChannelMessageReadMany(ctx context.Context, channelId string) ChatAPIChannelMessageReadManyRequest
ChannelMessageReadMany Get channel messages
Results returned will be ordered ascending by the message's `createdAt`. `before` and `after` will filter based on the message's `createdAt`
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId ID of the channel that the messages exist in @return ChatAPIChannelMessageReadManyRequest
func (*ChatAPIService) ChannelMessageReadManyExecute ¶
func (a *ChatAPIService) ChannelMessageReadManyExecute(r ChatAPIChannelMessageReadManyRequest) (*ChannelMessageReadMany200Response, *http.Response, error)
Execute executes the request
@return ChannelMessageReadMany200Response
func (*ChatAPIService) ChannelMessageUpdate ¶
func (a *ChatAPIService) ChannelMessageUpdate(ctx context.Context, channelId string, messageId string) ChatAPIChannelMessageUpdateRequest
ChannelMessageUpdate Update a channel message
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId ID of the channel that the message to be updated exists in @param messageId @return ChatAPIChannelMessageUpdateRequest
func (*ChatAPIService) ChannelMessageUpdateExecute ¶
func (a *ChatAPIService) ChannelMessageUpdateExecute(r ChatAPIChannelMessageUpdateRequest) (*ChannelMessageUpdate200Response, *http.Response, error)
Execute executes the request
@return ChannelMessageUpdate200Response
type ChatEmbed ¶
type ChatEmbed struct { // Main header of the embed Title *string `json:"title,omitempty"` // Subtext of the embed Description *string `json:"description,omitempty"` // URL to linkify the `title` field with Url *string `json:"url,omitempty"` // The integer value corresponds to the decimal RGB representation for the color. The color that the left border should be Color *int32 `json:"color,omitempty"` // A timestamp to put in the footer Timestamp *time.Time `json:"timestamp,omitempty"` Thumbnail *ChatEmbedThumbnail `json:"thumbnail,omitempty"` Image *ChatEmbedImage `json:"image,omitempty"` Author *ChatEmbedAuthor `json:"author,omitempty"` // Table-like cells to add to the embed Fields []ChatEmbedFieldsInner `json:"fields,omitempty"` }
ChatEmbed Rich content sections optionally associated with chat messages. Properties with \"webhook-markdown\" support allow for the following: link, italic, bold, strikethrough, underline, inline code, block code, reaction, mention, and role mention.
func NewChatEmbed ¶
func NewChatEmbed() *ChatEmbed
NewChatEmbed instantiates a new ChatEmbed object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChatEmbedWithDefaults ¶
func NewChatEmbedWithDefaults() *ChatEmbed
NewChatEmbedWithDefaults instantiates a new ChatEmbed object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChatEmbed) GetAuthor ¶
func (o *ChatEmbed) GetAuthor() ChatEmbedAuthor
GetAuthor returns the Author field value if set, zero value otherwise.
func (*ChatEmbed) GetAuthorOk ¶
func (o *ChatEmbed) GetAuthorOk() (*ChatEmbedAuthor, bool)
GetAuthorOk returns a tuple with the Author field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatEmbed) GetColorOk ¶
GetColorOk returns a tuple with the Color field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatEmbed) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*ChatEmbed) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatEmbed) GetFields ¶
func (o *ChatEmbed) GetFields() []ChatEmbedFieldsInner
GetFields returns the Fields field value if set, zero value otherwise.
func (*ChatEmbed) GetFieldsOk ¶
func (o *ChatEmbed) GetFieldsOk() ([]ChatEmbedFieldsInner, bool)
GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatEmbed) GetFooter ¶
func (o *ChatEmbed) GetFooter() ChatEmbedFooter
GetFooter returns the Footer field value if set, zero value otherwise.
func (*ChatEmbed) GetFooterOk ¶
func (o *ChatEmbed) GetFooterOk() (*ChatEmbedFooter, bool)
GetFooterOk returns a tuple with the Footer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatEmbed) GetImage ¶
func (o *ChatEmbed) GetImage() ChatEmbedImage
GetImage returns the Image field value if set, zero value otherwise.
func (*ChatEmbed) GetImageOk ¶
func (o *ChatEmbed) GetImageOk() (*ChatEmbedImage, bool)
GetImageOk returns a tuple with the Image field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatEmbed) GetThumbnail ¶
func (o *ChatEmbed) GetThumbnail() ChatEmbedThumbnail
GetThumbnail returns the Thumbnail field value if set, zero value otherwise.
func (*ChatEmbed) GetThumbnailOk ¶
func (o *ChatEmbed) GetThumbnailOk() (*ChatEmbedThumbnail, bool)
GetThumbnailOk returns a tuple with the Thumbnail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatEmbed) GetTimestamp ¶
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*ChatEmbed) GetTimestampOk ¶
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatEmbed) GetTitleOk ¶
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatEmbed) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatEmbed) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*ChatEmbed) HasThumbnail ¶
HasThumbnail returns a boolean if a field has been set.
func (*ChatEmbed) HasTimestamp ¶
HasTimestamp returns a boolean if a field has been set.
func (ChatEmbed) MarshalJSON ¶
func (*ChatEmbed) SetAuthor ¶
func (o *ChatEmbed) SetAuthor(v ChatEmbedAuthor)
SetAuthor gets a reference to the given ChatEmbedAuthor and assigns it to the Author field.
func (*ChatEmbed) SetColor ¶
SetColor gets a reference to the given int32 and assigns it to the Color field.
func (*ChatEmbed) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ChatEmbed) SetFields ¶
func (o *ChatEmbed) SetFields(v []ChatEmbedFieldsInner)
SetFields gets a reference to the given []ChatEmbedFieldsInner and assigns it to the Fields field.
func (*ChatEmbed) SetFooter ¶
func (o *ChatEmbed) SetFooter(v ChatEmbedFooter)
SetFooter gets a reference to the given ChatEmbedFooter and assigns it to the Footer field.
func (*ChatEmbed) SetImage ¶
func (o *ChatEmbed) SetImage(v ChatEmbedImage)
SetImage gets a reference to the given ChatEmbedImage and assigns it to the Image field.
func (*ChatEmbed) SetThumbnail ¶
func (o *ChatEmbed) SetThumbnail(v ChatEmbedThumbnail)
SetThumbnail gets a reference to the given ChatEmbedThumbnail and assigns it to the Thumbnail field.
func (*ChatEmbed) SetTimestamp ¶
SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.
func (*ChatEmbed) SetTitle ¶
SetTitle gets a reference to the given string and assigns it to the Title field.
type ChatEmbedAuthor ¶
type ChatEmbedAuthor struct { // Name of the author Name *string `json:"name,omitempty"` // URL to linkify the author's `name` field Url *string `json:"url,omitempty"` // URL of a small image to display to the left of the author's `name` IconUrl *string `json:"icon_url,omitempty"` }
ChatEmbedAuthor A small section above the title of the embed
func NewChatEmbedAuthor ¶
func NewChatEmbedAuthor() *ChatEmbedAuthor
NewChatEmbedAuthor instantiates a new ChatEmbedAuthor object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChatEmbedAuthorWithDefaults ¶
func NewChatEmbedAuthorWithDefaults() *ChatEmbedAuthor
NewChatEmbedAuthorWithDefaults instantiates a new ChatEmbedAuthor object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChatEmbedAuthor) GetIconUrl ¶
func (o *ChatEmbedAuthor) GetIconUrl() string
GetIconUrl returns the IconUrl field value if set, zero value otherwise.
func (*ChatEmbedAuthor) GetIconUrlOk ¶
func (o *ChatEmbedAuthor) GetIconUrlOk() (*string, bool)
GetIconUrlOk returns a tuple with the IconUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatEmbedAuthor) GetName ¶
func (o *ChatEmbedAuthor) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ChatEmbedAuthor) GetNameOk ¶
func (o *ChatEmbedAuthor) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatEmbedAuthor) GetUrl ¶
func (o *ChatEmbedAuthor) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*ChatEmbedAuthor) GetUrlOk ¶
func (o *ChatEmbedAuthor) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatEmbedAuthor) HasIconUrl ¶
func (o *ChatEmbedAuthor) HasIconUrl() bool
HasIconUrl returns a boolean if a field has been set.
func (*ChatEmbedAuthor) HasName ¶
func (o *ChatEmbedAuthor) HasName() bool
HasName returns a boolean if a field has been set.
func (*ChatEmbedAuthor) HasUrl ¶
func (o *ChatEmbedAuthor) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (ChatEmbedAuthor) MarshalJSON ¶
func (o ChatEmbedAuthor) MarshalJSON() ([]byte, error)
func (*ChatEmbedAuthor) SetIconUrl ¶
func (o *ChatEmbedAuthor) SetIconUrl(v string)
SetIconUrl gets a reference to the given string and assigns it to the IconUrl field.
func (*ChatEmbedAuthor) SetName ¶
func (o *ChatEmbedAuthor) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ChatEmbedAuthor) SetUrl ¶
func (o *ChatEmbedAuthor) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (ChatEmbedAuthor) ToMap ¶
func (o ChatEmbedAuthor) ToMap() (map[string]interface{}, error)
type ChatEmbedFieldsInner ¶
type ChatEmbedFieldsInner struct { // Header of the table-like cell Name string `json:"name"` // Subtext of the table-like cell Value string `json:"value"` // If the field should wrap or not Inline *bool `json:"inline,omitempty"` }
ChatEmbedFieldsInner struct for ChatEmbedFieldsInner
func NewChatEmbedFieldsInner ¶
func NewChatEmbedFieldsInner(name string, value string) *ChatEmbedFieldsInner
NewChatEmbedFieldsInner instantiates a new ChatEmbedFieldsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChatEmbedFieldsInnerWithDefaults ¶
func NewChatEmbedFieldsInnerWithDefaults() *ChatEmbedFieldsInner
NewChatEmbedFieldsInnerWithDefaults instantiates a new ChatEmbedFieldsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChatEmbedFieldsInner) GetInline ¶
func (o *ChatEmbedFieldsInner) GetInline() bool
GetInline returns the Inline field value if set, zero value otherwise.
func (*ChatEmbedFieldsInner) GetInlineOk ¶
func (o *ChatEmbedFieldsInner) GetInlineOk() (*bool, bool)
GetInlineOk returns a tuple with the Inline field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatEmbedFieldsInner) GetName ¶
func (o *ChatEmbedFieldsInner) GetName() string
GetName returns the Name field value
func (*ChatEmbedFieldsInner) GetNameOk ¶
func (o *ChatEmbedFieldsInner) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ChatEmbedFieldsInner) GetValue ¶
func (o *ChatEmbedFieldsInner) GetValue() string
GetValue returns the Value field value
func (*ChatEmbedFieldsInner) GetValueOk ¶
func (o *ChatEmbedFieldsInner) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (*ChatEmbedFieldsInner) HasInline ¶
func (o *ChatEmbedFieldsInner) HasInline() bool
HasInline returns a boolean if a field has been set.
func (ChatEmbedFieldsInner) MarshalJSON ¶
func (o ChatEmbedFieldsInner) MarshalJSON() ([]byte, error)
func (*ChatEmbedFieldsInner) SetInline ¶
func (o *ChatEmbedFieldsInner) SetInline(v bool)
SetInline gets a reference to the given bool and assigns it to the Inline field.
func (*ChatEmbedFieldsInner) SetName ¶
func (o *ChatEmbedFieldsInner) SetName(v string)
SetName sets field value
func (*ChatEmbedFieldsInner) SetValue ¶
func (o *ChatEmbedFieldsInner) SetValue(v string)
SetValue sets field value
func (ChatEmbedFieldsInner) ToMap ¶
func (o ChatEmbedFieldsInner) ToMap() (map[string]interface{}, error)
func (*ChatEmbedFieldsInner) UnmarshalJSON ¶
func (o *ChatEmbedFieldsInner) UnmarshalJSON(data []byte) (err error)
type ChatEmbedFooter ¶
type ChatEmbedFooter struct { string `json:"icon_url,omitempty"` Text string `json:"text"` }IconUrl *
ChatEmbedFooter A small section at the bottom of the embed
func NewChatEmbedFooter ¶
func NewChatEmbedFooter(text string) *ChatEmbedFooter
NewChatEmbedFooter instantiates a new ChatEmbedFooter object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChatEmbedFooterWithDefaults ¶
func NewChatEmbedFooterWithDefaults() *ChatEmbedFooter
NewChatEmbedFooterWithDefaults instantiates a new ChatEmbedFooter object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChatEmbedFooter) GetIconUrl ¶
func (o *ChatEmbedFooter) GetIconUrl() string
GetIconUrl returns the IconUrl field value if set, zero value otherwise.
func (*ChatEmbedFooter) GetIconUrlOk ¶
func (o *ChatEmbedFooter) GetIconUrlOk() (*string, bool)
GetIconUrlOk returns a tuple with the IconUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatEmbedFooter) GetText ¶
func (o *ChatEmbedFooter) GetText() string
GetText returns the Text field value
func (*ChatEmbedFooter) GetTextOk ¶
func (o *ChatEmbedFooter) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.
func (*ChatEmbedFooter) HasIconUrl ¶
func (o *ChatEmbedFooter) HasIconUrl() bool
HasIconUrl returns a boolean if a field has been set.
func (ChatEmbedFooter) MarshalJSON ¶
func (o ChatEmbedFooter) MarshalJSON() ([]byte, error)
func (*ChatEmbedFooter) SetIconUrl ¶
func (o *ChatEmbedFooter) SetIconUrl(v string)
SetIconUrl gets a reference to the given string and assigns it to the IconUrl field.
func (*ChatEmbedFooter) SetText ¶
func (o *ChatEmbedFooter) SetText(v string)
SetText sets field value
func (ChatEmbedFooter) ToMap ¶
func (o ChatEmbedFooter) ToMap() (map[string]interface{}, error)
func (*ChatEmbedFooter) UnmarshalJSON ¶
func (o *ChatEmbedFooter) UnmarshalJSON(data []byte) (err error)
type ChatEmbedImage ¶
type ChatEmbedImage struct { // URL of the image Url *string `json:"url,omitempty"` }
ChatEmbedImage The main picture to associate with the embed
func NewChatEmbedImage ¶
func NewChatEmbedImage() *ChatEmbedImage
NewChatEmbedImage instantiates a new ChatEmbedImage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChatEmbedImageWithDefaults ¶
func NewChatEmbedImageWithDefaults() *ChatEmbedImage
NewChatEmbedImageWithDefaults instantiates a new ChatEmbedImage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChatEmbedImage) GetUrl ¶
func (o *ChatEmbedImage) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*ChatEmbedImage) GetUrlOk ¶
func (o *ChatEmbedImage) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatEmbedImage) HasUrl ¶
func (o *ChatEmbedImage) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (ChatEmbedImage) MarshalJSON ¶
func (o ChatEmbedImage) MarshalJSON() ([]byte, error)
func (*ChatEmbedImage) SetUrl ¶
func (o *ChatEmbedImage) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (ChatEmbedImage) ToMap ¶
func (o ChatEmbedImage) ToMap() (map[string]interface{}, error)
type ChatEmbedThumbnail ¶
type ChatEmbedThumbnail struct { // URL of the image Url *string `json:"url,omitempty"` }
ChatEmbedThumbnail An image to the right of the embed's content
func NewChatEmbedThumbnail ¶
func NewChatEmbedThumbnail() *ChatEmbedThumbnail
NewChatEmbedThumbnail instantiates a new ChatEmbedThumbnail object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChatEmbedThumbnailWithDefaults ¶
func NewChatEmbedThumbnailWithDefaults() *ChatEmbedThumbnail
NewChatEmbedThumbnailWithDefaults instantiates a new ChatEmbedThumbnail object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChatEmbedThumbnail) GetUrl ¶
func (o *ChatEmbedThumbnail) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*ChatEmbedThumbnail) GetUrlOk ¶
func (o *ChatEmbedThumbnail) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatEmbedThumbnail) HasUrl ¶
func (o *ChatEmbedThumbnail) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (ChatEmbedThumbnail) MarshalJSON ¶
func (o ChatEmbedThumbnail) MarshalJSON() ([]byte, error)
func (*ChatEmbedThumbnail) SetUrl ¶
func (o *ChatEmbedThumbnail) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (ChatEmbedThumbnail) ToMap ¶
func (o ChatEmbedThumbnail) ToMap() (map[string]interface{}, error)
type ChatMessage ¶
type ChatMessage struct { // The ID of the message Id string `json:"id"` // The type of chat message. \"system\" messages are generated by Guilded, while \"default\" messages are user or bot-generated. Type string `json:"type"` // The ID of the server ServerId *string `json:"serverId,omitempty"` // The ID of the group GroupId *string `json:"groupId,omitempty"` // The ID of the channel ChannelId string `json:"channelId"` // The content of the message Content *string `json:"content,omitempty"` // Links in `content` to prevent unfurling as a link preview when displaying in Guilded HiddenLinkPreviewUrls []string `json:"hiddenLinkPreviewUrls,omitempty"` Embeds []ChatEmbed `json:"embeds,omitempty"` // Message IDs that were replied to ReplyMessageIds []string `json:"replyMessageIds,omitempty"` // If set, this message will only be seen by those mentioned or replied to IsPrivate *bool `json:"isPrivate,omitempty"` // If set, this message did not notify mention or reply recipients IsSilent *bool `json:"isSilent,omitempty"` IsPinned *bool `json:"isPinned,omitempty"` Mentions NullableMentions `json:"mentions,omitempty"` // The ISO 8601 timestamp that the message was created at CreatedAt time.Time `json:"createdAt"` // The ID of the user who created this message (Note: If this event has `createdByWebhookId` present, this field will still be populated, but can be ignored. In this case, the value of this field will always be Ann6LewA) CreatedBy string `json:"createdBy"` // The ID of the webhook who created this message, if it was created by a webhook CreatedByWebhookId *string `json:"createdByWebhookId,omitempty"` // The ISO 8601 timestamp that the message was updated at, if relevant UpdatedAt *time.Time `json:"updatedAt,omitempty"` }
ChatMessage struct for ChatMessage
func NewChatMessage ¶
func NewChatMessage(id string, type_ string, channelId string, createdAt time.Time, createdBy string) *ChatMessage
NewChatMessage instantiates a new ChatMessage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChatMessageWithDefaults ¶
func NewChatMessageWithDefaults() *ChatMessage
NewChatMessageWithDefaults instantiates a new ChatMessage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChatMessage) GetChannelId ¶
func (o *ChatMessage) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*ChatMessage) GetChannelIdOk ¶
func (o *ChatMessage) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*ChatMessage) GetContent ¶
func (o *ChatMessage) GetContent() string
GetContent returns the Content field value if set, zero value otherwise.
func (*ChatMessage) GetContentOk ¶
func (o *ChatMessage) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatMessage) GetCreatedAt ¶
func (o *ChatMessage) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*ChatMessage) GetCreatedAtOk ¶
func (o *ChatMessage) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ChatMessage) GetCreatedBy ¶
func (o *ChatMessage) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*ChatMessage) GetCreatedByOk ¶
func (o *ChatMessage) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*ChatMessage) GetCreatedByWebhookId ¶
func (o *ChatMessage) GetCreatedByWebhookId() string
GetCreatedByWebhookId returns the CreatedByWebhookId field value if set, zero value otherwise.
func (*ChatMessage) GetCreatedByWebhookIdOk ¶
func (o *ChatMessage) GetCreatedByWebhookIdOk() (*string, bool)
GetCreatedByWebhookIdOk returns a tuple with the CreatedByWebhookId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatMessage) GetEmbeds ¶
func (o *ChatMessage) GetEmbeds() []ChatEmbed
GetEmbeds returns the Embeds field value if set, zero value otherwise.
func (*ChatMessage) GetEmbedsOk ¶
func (o *ChatMessage) GetEmbedsOk() ([]ChatEmbed, bool)
GetEmbedsOk returns a tuple with the Embeds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatMessage) GetGroupId ¶
func (o *ChatMessage) GetGroupId() string
GetGroupId returns the GroupId field value if set, zero value otherwise.
func (*ChatMessage) GetGroupIdOk ¶
func (o *ChatMessage) GetGroupIdOk() (*string, bool)
GetGroupIdOk returns a tuple with the GroupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatMessage) GetHiddenLinkPreviewUrls ¶
func (o *ChatMessage) GetHiddenLinkPreviewUrls() []string
GetHiddenLinkPreviewUrls returns the HiddenLinkPreviewUrls field value if set, zero value otherwise.
func (*ChatMessage) GetHiddenLinkPreviewUrlsOk ¶
func (o *ChatMessage) GetHiddenLinkPreviewUrlsOk() ([]string, bool)
GetHiddenLinkPreviewUrlsOk returns a tuple with the HiddenLinkPreviewUrls field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatMessage) GetIdOk ¶
func (o *ChatMessage) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ChatMessage) GetIsPinned ¶
func (o *ChatMessage) GetIsPinned() bool
GetIsPinned returns the IsPinned field value if set, zero value otherwise.
func (*ChatMessage) GetIsPinnedOk ¶
func (o *ChatMessage) GetIsPinnedOk() (*bool, bool)
GetIsPinnedOk returns a tuple with the IsPinned field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatMessage) GetIsPrivate ¶
func (o *ChatMessage) GetIsPrivate() bool
GetIsPrivate returns the IsPrivate field value if set, zero value otherwise.
func (*ChatMessage) GetIsPrivateOk ¶
func (o *ChatMessage) GetIsPrivateOk() (*bool, bool)
GetIsPrivateOk returns a tuple with the IsPrivate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatMessage) GetIsSilent ¶
func (o *ChatMessage) GetIsSilent() bool
GetIsSilent returns the IsSilent field value if set, zero value otherwise.
func (*ChatMessage) GetIsSilentOk ¶
func (o *ChatMessage) GetIsSilentOk() (*bool, bool)
GetIsSilentOk returns a tuple with the IsSilent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatMessage) GetMentions ¶
func (o *ChatMessage) GetMentions() Mentions
GetMentions returns the Mentions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChatMessage) GetMentionsOk ¶
func (o *ChatMessage) GetMentionsOk() (*Mentions, bool)
GetMentionsOk returns a tuple with the Mentions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ChatMessage) GetReplyMessageIds ¶
func (o *ChatMessage) GetReplyMessageIds() []string
GetReplyMessageIds returns the ReplyMessageIds field value if set, zero value otherwise.
func (*ChatMessage) GetReplyMessageIdsOk ¶
func (o *ChatMessage) GetReplyMessageIdsOk() ([]string, bool)
GetReplyMessageIdsOk returns a tuple with the ReplyMessageIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatMessage) GetServerId ¶
func (o *ChatMessage) GetServerId() string
GetServerId returns the ServerId field value if set, zero value otherwise.
func (*ChatMessage) GetServerIdOk ¶
func (o *ChatMessage) GetServerIdOk() (*string, bool)
GetServerIdOk returns a tuple with the ServerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatMessage) GetType ¶
func (o *ChatMessage) GetType() string
GetType returns the Type field value
func (*ChatMessage) GetTypeOk ¶
func (o *ChatMessage) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ChatMessage) GetUpdatedAt ¶
func (o *ChatMessage) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ChatMessage) GetUpdatedAtOk ¶
func (o *ChatMessage) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatMessage) HasContent ¶
func (o *ChatMessage) HasContent() bool
HasContent returns a boolean if a field has been set.
func (*ChatMessage) HasCreatedByWebhookId ¶
func (o *ChatMessage) HasCreatedByWebhookId() bool
HasCreatedByWebhookId returns a boolean if a field has been set.
func (*ChatMessage) HasEmbeds ¶
func (o *ChatMessage) HasEmbeds() bool
HasEmbeds returns a boolean if a field has been set.
func (*ChatMessage) HasGroupId ¶
func (o *ChatMessage) HasGroupId() bool
HasGroupId returns a boolean if a field has been set.
func (*ChatMessage) HasHiddenLinkPreviewUrls ¶
func (o *ChatMessage) HasHiddenLinkPreviewUrls() bool
HasHiddenLinkPreviewUrls returns a boolean if a field has been set.
func (*ChatMessage) HasIsPinned ¶
func (o *ChatMessage) HasIsPinned() bool
HasIsPinned returns a boolean if a field has been set.
func (*ChatMessage) HasIsPrivate ¶
func (o *ChatMessage) HasIsPrivate() bool
HasIsPrivate returns a boolean if a field has been set.
func (*ChatMessage) HasIsSilent ¶
func (o *ChatMessage) HasIsSilent() bool
HasIsSilent returns a boolean if a field has been set.
func (*ChatMessage) HasMentions ¶
func (o *ChatMessage) HasMentions() bool
HasMentions returns a boolean if a field has been set.
func (*ChatMessage) HasReplyMessageIds ¶
func (o *ChatMessage) HasReplyMessageIds() bool
HasReplyMessageIds returns a boolean if a field has been set.
func (*ChatMessage) HasServerId ¶
func (o *ChatMessage) HasServerId() bool
HasServerId returns a boolean if a field has been set.
func (*ChatMessage) HasUpdatedAt ¶
func (o *ChatMessage) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (ChatMessage) MarshalJSON ¶
func (o ChatMessage) MarshalJSON() ([]byte, error)
func (*ChatMessage) SetChannelId ¶
func (o *ChatMessage) SetChannelId(v string)
SetChannelId sets field value
func (*ChatMessage) SetContent ¶
func (o *ChatMessage) SetContent(v string)
SetContent gets a reference to the given string and assigns it to the Content field.
func (*ChatMessage) SetCreatedAt ¶
func (o *ChatMessage) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*ChatMessage) SetCreatedBy ¶
func (o *ChatMessage) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*ChatMessage) SetCreatedByWebhookId ¶
func (o *ChatMessage) SetCreatedByWebhookId(v string)
SetCreatedByWebhookId gets a reference to the given string and assigns it to the CreatedByWebhookId field.
func (*ChatMessage) SetEmbeds ¶
func (o *ChatMessage) SetEmbeds(v []ChatEmbed)
SetEmbeds gets a reference to the given []ChatEmbed and assigns it to the Embeds field.
func (*ChatMessage) SetGroupId ¶
func (o *ChatMessage) SetGroupId(v string)
SetGroupId gets a reference to the given string and assigns it to the GroupId field.
func (*ChatMessage) SetHiddenLinkPreviewUrls ¶
func (o *ChatMessage) SetHiddenLinkPreviewUrls(v []string)
SetHiddenLinkPreviewUrls gets a reference to the given []string and assigns it to the HiddenLinkPreviewUrls field.
func (*ChatMessage) SetIsPinned ¶
func (o *ChatMessage) SetIsPinned(v bool)
SetIsPinned gets a reference to the given bool and assigns it to the IsPinned field.
func (*ChatMessage) SetIsPrivate ¶
func (o *ChatMessage) SetIsPrivate(v bool)
SetIsPrivate gets a reference to the given bool and assigns it to the IsPrivate field.
func (*ChatMessage) SetIsSilent ¶
func (o *ChatMessage) SetIsSilent(v bool)
SetIsSilent gets a reference to the given bool and assigns it to the IsSilent field.
func (*ChatMessage) SetMentions ¶
func (o *ChatMessage) SetMentions(v Mentions)
SetMentions gets a reference to the given NullableMentions and assigns it to the Mentions field.
func (*ChatMessage) SetMentionsNil ¶
func (o *ChatMessage) SetMentionsNil()
SetMentionsNil sets the value for Mentions to be an explicit nil
func (*ChatMessage) SetReplyMessageIds ¶
func (o *ChatMessage) SetReplyMessageIds(v []string)
SetReplyMessageIds gets a reference to the given []string and assigns it to the ReplyMessageIds field.
func (*ChatMessage) SetServerId ¶
func (o *ChatMessage) SetServerId(v string)
SetServerId gets a reference to the given string and assigns it to the ServerId field.
func (*ChatMessage) SetUpdatedAt ¶
func (o *ChatMessage) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (ChatMessage) ToMap ¶
func (o ChatMessage) ToMap() (map[string]interface{}, error)
func (*ChatMessage) UnmarshalJSON ¶
func (o *ChatMessage) UnmarshalJSON(data []byte) (err error)
func (*ChatMessage) UnsetMentions ¶
func (o *ChatMessage) UnsetMentions()
UnsetMentions ensures that no value is present for Mentions, not even an explicit nil
type ChatMessageReaction ¶
type ChatMessageReaction struct { // The ID of the channel ChannelId string `json:"channelId"` // The ID of the user who added the reaction CreatedBy string `json:"createdBy"` Emote Emote `json:"emote"` // The ID of the message MessageId string `json:"messageId"` }
ChatMessageReaction struct for ChatMessageReaction
func NewChatMessageReaction ¶
func NewChatMessageReaction(channelId string, createdBy string, emote Emote, messageId string) *ChatMessageReaction
NewChatMessageReaction instantiates a new ChatMessageReaction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChatMessageReactionWithDefaults ¶
func NewChatMessageReactionWithDefaults() *ChatMessageReaction
NewChatMessageReactionWithDefaults instantiates a new ChatMessageReaction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChatMessageReaction) GetChannelId ¶
func (o *ChatMessageReaction) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*ChatMessageReaction) GetChannelIdOk ¶
func (o *ChatMessageReaction) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*ChatMessageReaction) GetCreatedBy ¶
func (o *ChatMessageReaction) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*ChatMessageReaction) GetCreatedByOk ¶
func (o *ChatMessageReaction) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*ChatMessageReaction) GetEmote ¶
func (o *ChatMessageReaction) GetEmote() Emote
GetEmote returns the Emote field value
func (*ChatMessageReaction) GetEmoteOk ¶
func (o *ChatMessageReaction) GetEmoteOk() (*Emote, bool)
GetEmoteOk returns a tuple with the Emote field value and a boolean to check if the value has been set.
func (*ChatMessageReaction) GetMessageId ¶
func (o *ChatMessageReaction) GetMessageId() string
GetMessageId returns the MessageId field value
func (*ChatMessageReaction) GetMessageIdOk ¶
func (o *ChatMessageReaction) GetMessageIdOk() (*string, bool)
GetMessageIdOk returns a tuple with the MessageId field value and a boolean to check if the value has been set.
func (ChatMessageReaction) MarshalJSON ¶
func (o ChatMessageReaction) MarshalJSON() ([]byte, error)
func (*ChatMessageReaction) SetChannelId ¶
func (o *ChatMessageReaction) SetChannelId(v string)
SetChannelId sets field value
func (*ChatMessageReaction) SetCreatedBy ¶
func (o *ChatMessageReaction) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*ChatMessageReaction) SetEmote ¶
func (o *ChatMessageReaction) SetEmote(v Emote)
SetEmote sets field value
func (*ChatMessageReaction) SetMessageId ¶
func (o *ChatMessageReaction) SetMessageId(v string)
SetMessageId sets field value
func (ChatMessageReaction) ToMap ¶
func (o ChatMessageReaction) ToMap() (map[string]interface{}, error)
func (*ChatMessageReaction) UnmarshalJSON ¶
func (o *ChatMessageReaction) UnmarshalJSON(data []byte) (err error)
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type Content ¶
Content - The content of the message
func MapmapOfStringAnyAsContent ¶
map[string]interface{}AsContent is a convenience function that returns map[string]interface{} wrapped in Content
func StringAsContent ¶
stringAsContent is a convenience function that returns string wrapped in Content
func (*Content) GetActualInstance ¶
func (obj *Content) GetActualInstance() interface{}
Get the actual instance
func (Content) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Content) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct
type Content1 ¶
Content1 - The content of the message
func MapmapOfStringAnyAsContent1 ¶
map[string]interface{}AsContent1 is a convenience function that returns map[string]interface{} wrapped in Content1
func StringAsContent1 ¶
stringAsContent1 is a convenience function that returns string wrapped in Content1
func (*Content1) GetActualInstance ¶
func (obj *Content1) GetActualInstance() interface{}
Get the actual instance
func (Content1) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Content1) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct
type Content2 ¶
Content2 - The content of the forum topic
func MapmapOfStringAnyAsContent2 ¶
map[string]interface{}AsContent2 is a convenience function that returns map[string]interface{} wrapped in Content2
func StringAsContent2 ¶
stringAsContent2 is a convenience function that returns string wrapped in Content2
func (*Content2) GetActualInstance ¶
func (obj *Content2) GetActualInstance() interface{}
Get the actual instance
func (Content2) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Content2) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct
type Content3 ¶
Content3 - The content of the doc
func MapmapOfStringAnyAsContent3 ¶
map[string]interface{}AsContent3 is a convenience function that returns map[string]interface{} wrapped in Content3
func StringAsContent3 ¶
stringAsContent3 is a convenience function that returns string wrapped in Content3
func (*Content3) GetActualInstance ¶
func (obj *Content3) GetActualInstance() interface{}
Get the actual instance
func (Content3) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Content3) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct
type Content4 ¶
Content4 - The content of the announcement
func MapmapOfStringAnyAsContent4 ¶
map[string]interface{}AsContent4 is a convenience function that returns map[string]interface{} wrapped in Content4
func StringAsContent4 ¶
stringAsContent4 is a convenience function that returns string wrapped in Content4
func (*Content4) GetActualInstance ¶
func (obj *Content4) GetActualInstance() interface{}
Get the actual instance
func (Content4) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Content4) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct
type Doc ¶
type Doc struct { // The ID of the doc Id int32 `json:"id"` // The ID of the server ServerId string `json:"serverId"` // The ID of the group GroupId string `json:"groupId"` // The ID of the channel ChannelId string `json:"channelId"` // The title of the doc Title string `json:"title"` // The content of the doc Content string `json:"content"` Mentions NullableMentions `json:"mentions,omitempty"` // The ISO 8601 timestamp that the doc was created at CreatedAt time.Time `json:"createdAt"` // The ID of the user who created this doc CreatedBy string `json:"createdBy"` // The ISO 8601 timestamp that the doc was updated at, if relevant UpdatedAt *time.Time `json:"updatedAt,omitempty"` // The ID of the user who updated this doc UpdatedBy *string `json:"updatedBy,omitempty"` }
Doc struct for Doc
func NewDoc ¶
func NewDoc(id int32, serverId string, groupId string, channelId string, title string, content string, createdAt time.Time, createdBy string) *Doc
NewDoc instantiates a new Doc object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDocWithDefaults ¶
func NewDocWithDefaults() *Doc
NewDocWithDefaults instantiates a new Doc object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Doc) GetChannelId ¶
GetChannelId returns the ChannelId field value
func (*Doc) GetChannelIdOk ¶
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*Doc) GetContent ¶
GetContent returns the Content field value
func (*Doc) GetContentOk ¶
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*Doc) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Doc) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Doc) GetCreatedBy ¶
GetCreatedBy returns the CreatedBy field value
func (*Doc) GetCreatedByOk ¶
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*Doc) GetGroupId ¶
GetGroupId returns the GroupId field value
func (*Doc) GetGroupIdOk ¶
GetGroupIdOk returns a tuple with the GroupId field value and a boolean to check if the value has been set.
func (*Doc) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Doc) GetMentions ¶
GetMentions returns the Mentions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Doc) GetMentionsOk ¶
GetMentionsOk returns a tuple with the Mentions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Doc) GetServerId ¶
GetServerId returns the ServerId field value
func (*Doc) GetServerIdOk ¶
GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.
func (*Doc) GetTitleOk ¶
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*Doc) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Doc) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Doc) GetUpdatedBy ¶
GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise.
func (*Doc) GetUpdatedByOk ¶
GetUpdatedByOk returns a tuple with the UpdatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Doc) HasMentions ¶
HasMentions returns a boolean if a field has been set.
func (*Doc) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (*Doc) HasUpdatedBy ¶
HasUpdatedBy returns a boolean if a field has been set.
func (Doc) MarshalJSON ¶
func (*Doc) SetMentions ¶
SetMentions gets a reference to the given NullableMentions and assigns it to the Mentions field.
func (*Doc) SetMentionsNil ¶
func (o *Doc) SetMentionsNil()
SetMentionsNil sets the value for Mentions to be an explicit nil
func (*Doc) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Doc) SetUpdatedBy ¶
SetUpdatedBy gets a reference to the given string and assigns it to the UpdatedBy field.
func (*Doc) UnmarshalJSON ¶
func (*Doc) UnsetMentions ¶
func (o *Doc) UnsetMentions()
UnsetMentions ensures that no value is present for Mentions, not even an explicit nil
type DocComment ¶
type DocComment struct { // The ID of the doc comment Id int32 `json:"id"` // The content of the doc comment Content string `json:"content"` // The ISO 8601 timestamp that the doc comment was created at CreatedAt time.Time `json:"createdAt"` // The ID of the user who created this doc comment (Note: If this event has `createdByWebhookId` present, this field will still be populated, but can be ignored. In this case, the value of this field will always be Ann6LewA) CreatedBy string `json:"createdBy"` // The ISO 8601 timestamp that the doc comment was updated at, if relevant UpdatedAt *time.Time `json:"updatedAt,omitempty"` // The ID of the channel ChannelId string `json:"channelId"` // The ID of the doc DocId int32 `json:"docId"` Mentions NullableMentions `json:"mentions,omitempty"` }
DocComment struct for DocComment
func NewDocComment ¶
func NewDocComment(id int32, content string, createdAt time.Time, createdBy string, channelId string, docId int32) *DocComment
NewDocComment instantiates a new DocComment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDocCommentWithDefaults ¶
func NewDocCommentWithDefaults() *DocComment
NewDocCommentWithDefaults instantiates a new DocComment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DocComment) GetChannelId ¶
func (o *DocComment) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*DocComment) GetChannelIdOk ¶
func (o *DocComment) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*DocComment) GetContent ¶
func (o *DocComment) GetContent() string
GetContent returns the Content field value
func (*DocComment) GetContentOk ¶
func (o *DocComment) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*DocComment) GetCreatedAt ¶
func (o *DocComment) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*DocComment) GetCreatedAtOk ¶
func (o *DocComment) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*DocComment) GetCreatedBy ¶
func (o *DocComment) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*DocComment) GetCreatedByOk ¶
func (o *DocComment) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*DocComment) GetDocId ¶
func (o *DocComment) GetDocId() int32
GetDocId returns the DocId field value
func (*DocComment) GetDocIdOk ¶
func (o *DocComment) GetDocIdOk() (*int32, bool)
GetDocIdOk returns a tuple with the DocId field value and a boolean to check if the value has been set.
func (*DocComment) GetIdOk ¶
func (o *DocComment) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*DocComment) GetMentions ¶
func (o *DocComment) GetMentions() Mentions
GetMentions returns the Mentions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DocComment) GetMentionsOk ¶
func (o *DocComment) GetMentionsOk() (*Mentions, bool)
GetMentionsOk returns a tuple with the Mentions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*DocComment) GetUpdatedAt ¶
func (o *DocComment) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*DocComment) GetUpdatedAtOk ¶
func (o *DocComment) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DocComment) HasMentions ¶
func (o *DocComment) HasMentions() bool
HasMentions returns a boolean if a field has been set.
func (*DocComment) HasUpdatedAt ¶
func (o *DocComment) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (DocComment) MarshalJSON ¶
func (o DocComment) MarshalJSON() ([]byte, error)
func (*DocComment) SetChannelId ¶
func (o *DocComment) SetChannelId(v string)
SetChannelId sets field value
func (*DocComment) SetContent ¶
func (o *DocComment) SetContent(v string)
SetContent sets field value
func (*DocComment) SetCreatedAt ¶
func (o *DocComment) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*DocComment) SetCreatedBy ¶
func (o *DocComment) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*DocComment) SetMentions ¶
func (o *DocComment) SetMentions(v Mentions)
SetMentions gets a reference to the given NullableMentions and assigns it to the Mentions field.
func (*DocComment) SetMentionsNil ¶
func (o *DocComment) SetMentionsNil()
SetMentionsNil sets the value for Mentions to be an explicit nil
func (*DocComment) SetUpdatedAt ¶
func (o *DocComment) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (DocComment) ToMap ¶
func (o DocComment) ToMap() (map[string]interface{}, error)
func (*DocComment) UnmarshalJSON ¶
func (o *DocComment) UnmarshalJSON(data []byte) (err error)
func (*DocComment) UnsetMentions ¶
func (o *DocComment) UnsetMentions()
UnsetMentions ensures that no value is present for Mentions, not even an explicit nil
type DocCommentCreate201Response ¶
type DocCommentCreate201Response struct {
DocComment DocComment `json:"docComment"`
}
DocCommentCreate201Response struct for DocCommentCreate201Response
func NewDocCommentCreate201Response ¶
func NewDocCommentCreate201Response(docComment DocComment) *DocCommentCreate201Response
NewDocCommentCreate201Response instantiates a new DocCommentCreate201Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDocCommentCreate201ResponseWithDefaults ¶
func NewDocCommentCreate201ResponseWithDefaults() *DocCommentCreate201Response
NewDocCommentCreate201ResponseWithDefaults instantiates a new DocCommentCreate201Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DocCommentCreate201Response) GetDocComment ¶
func (o *DocCommentCreate201Response) GetDocComment() DocComment
GetDocComment returns the DocComment field value
func (*DocCommentCreate201Response) GetDocCommentOk ¶
func (o *DocCommentCreate201Response) GetDocCommentOk() (*DocComment, bool)
GetDocCommentOk returns a tuple with the DocComment field value and a boolean to check if the value has been set.
func (DocCommentCreate201Response) MarshalJSON ¶
func (o DocCommentCreate201Response) MarshalJSON() ([]byte, error)
func (*DocCommentCreate201Response) SetDocComment ¶
func (o *DocCommentCreate201Response) SetDocComment(v DocComment)
SetDocComment sets field value
func (DocCommentCreate201Response) ToMap ¶
func (o DocCommentCreate201Response) ToMap() (map[string]interface{}, error)
func (*DocCommentCreate201Response) UnmarshalJSON ¶
func (o *DocCommentCreate201Response) UnmarshalJSON(data []byte) (err error)
type DocCommentCreateRequest ¶
type DocCommentCreateRequest struct { // The content of the doc comment Content string `json:"content"` }
DocCommentCreateRequest struct for DocCommentCreateRequest
func NewDocCommentCreateRequest ¶
func NewDocCommentCreateRequest(content string) *DocCommentCreateRequest
NewDocCommentCreateRequest instantiates a new DocCommentCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDocCommentCreateRequestWithDefaults ¶
func NewDocCommentCreateRequestWithDefaults() *DocCommentCreateRequest
NewDocCommentCreateRequestWithDefaults instantiates a new DocCommentCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DocCommentCreateRequest) GetContent ¶
func (o *DocCommentCreateRequest) GetContent() string
GetContent returns the Content field value
func (*DocCommentCreateRequest) GetContentOk ¶
func (o *DocCommentCreateRequest) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (DocCommentCreateRequest) MarshalJSON ¶
func (o DocCommentCreateRequest) MarshalJSON() ([]byte, error)
func (*DocCommentCreateRequest) SetContent ¶
func (o *DocCommentCreateRequest) SetContent(v string)
SetContent sets field value
func (DocCommentCreateRequest) ToMap ¶
func (o DocCommentCreateRequest) ToMap() (map[string]interface{}, error)
func (*DocCommentCreateRequest) UnmarshalJSON ¶
func (o *DocCommentCreateRequest) UnmarshalJSON(data []byte) (err error)
type DocCommentReaction ¶
type DocCommentReaction struct { // The ID of the channel ChannelId string `json:"channelId"` // The ID of the user who added the reaction CreatedBy string `json:"createdBy"` Emote Emote `json:"emote"` // The ID of the doc DocId int32 `json:"docId"` // The ID of the doc comment DocCommentId int32 `json:"docCommentId"` }
DocCommentReaction struct for DocCommentReaction
func NewDocCommentReaction ¶
func NewDocCommentReaction(channelId string, createdBy string, emote Emote, docId int32, docCommentId int32) *DocCommentReaction
NewDocCommentReaction instantiates a new DocCommentReaction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDocCommentReactionWithDefaults ¶
func NewDocCommentReactionWithDefaults() *DocCommentReaction
NewDocCommentReactionWithDefaults instantiates a new DocCommentReaction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DocCommentReaction) GetChannelId ¶
func (o *DocCommentReaction) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*DocCommentReaction) GetChannelIdOk ¶
func (o *DocCommentReaction) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*DocCommentReaction) GetCreatedBy ¶
func (o *DocCommentReaction) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*DocCommentReaction) GetCreatedByOk ¶
func (o *DocCommentReaction) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*DocCommentReaction) GetDocCommentId ¶
func (o *DocCommentReaction) GetDocCommentId() int32
GetDocCommentId returns the DocCommentId field value
func (*DocCommentReaction) GetDocCommentIdOk ¶
func (o *DocCommentReaction) GetDocCommentIdOk() (*int32, bool)
GetDocCommentIdOk returns a tuple with the DocCommentId field value and a boolean to check if the value has been set.
func (*DocCommentReaction) GetDocId ¶
func (o *DocCommentReaction) GetDocId() int32
GetDocId returns the DocId field value
func (*DocCommentReaction) GetDocIdOk ¶
func (o *DocCommentReaction) GetDocIdOk() (*int32, bool)
GetDocIdOk returns a tuple with the DocId field value and a boolean to check if the value has been set.
func (*DocCommentReaction) GetEmote ¶
func (o *DocCommentReaction) GetEmote() Emote
GetEmote returns the Emote field value
func (*DocCommentReaction) GetEmoteOk ¶
func (o *DocCommentReaction) GetEmoteOk() (*Emote, bool)
GetEmoteOk returns a tuple with the Emote field value and a boolean to check if the value has been set.
func (DocCommentReaction) MarshalJSON ¶
func (o DocCommentReaction) MarshalJSON() ([]byte, error)
func (*DocCommentReaction) SetChannelId ¶
func (o *DocCommentReaction) SetChannelId(v string)
SetChannelId sets field value
func (*DocCommentReaction) SetCreatedBy ¶
func (o *DocCommentReaction) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*DocCommentReaction) SetDocCommentId ¶
func (o *DocCommentReaction) SetDocCommentId(v int32)
SetDocCommentId sets field value
func (*DocCommentReaction) SetDocId ¶
func (o *DocCommentReaction) SetDocId(v int32)
SetDocId sets field value
func (*DocCommentReaction) SetEmote ¶
func (o *DocCommentReaction) SetEmote(v Emote)
SetEmote sets field value
func (DocCommentReaction) ToMap ¶
func (o DocCommentReaction) ToMap() (map[string]interface{}, error)
func (*DocCommentReaction) UnmarshalJSON ¶
func (o *DocCommentReaction) UnmarshalJSON(data []byte) (err error)
type DocCommentReadMany200Response ¶
type DocCommentReadMany200Response struct {
DocComments []DocComment `json:"docComments"`
}
DocCommentReadMany200Response struct for DocCommentReadMany200Response
func NewDocCommentReadMany200Response ¶
func NewDocCommentReadMany200Response(docComments []DocComment) *DocCommentReadMany200Response
NewDocCommentReadMany200Response instantiates a new DocCommentReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDocCommentReadMany200ResponseWithDefaults ¶
func NewDocCommentReadMany200ResponseWithDefaults() *DocCommentReadMany200Response
NewDocCommentReadMany200ResponseWithDefaults instantiates a new DocCommentReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DocCommentReadMany200Response) GetDocComments ¶
func (o *DocCommentReadMany200Response) GetDocComments() []DocComment
GetDocComments returns the DocComments field value
func (*DocCommentReadMany200Response) GetDocCommentsOk ¶
func (o *DocCommentReadMany200Response) GetDocCommentsOk() ([]DocComment, bool)
GetDocCommentsOk returns a tuple with the DocComments field value and a boolean to check if the value has been set.
func (DocCommentReadMany200Response) MarshalJSON ¶
func (o DocCommentReadMany200Response) MarshalJSON() ([]byte, error)
func (*DocCommentReadMany200Response) SetDocComments ¶
func (o *DocCommentReadMany200Response) SetDocComments(v []DocComment)
SetDocComments sets field value
func (DocCommentReadMany200Response) ToMap ¶
func (o DocCommentReadMany200Response) ToMap() (map[string]interface{}, error)
func (*DocCommentReadMany200Response) UnmarshalJSON ¶
func (o *DocCommentReadMany200Response) UnmarshalJSON(data []byte) (err error)
type DocCommentsAPI ¶
type DocCommentsAPI interface { /* DocCommentCreate Create a comment on a doc @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @return DocCommentsAPIDocCommentCreateRequest */ DocCommentCreate(ctx context.Context, channelId string, docId int32) DocCommentsAPIDocCommentCreateRequest // DocCommentCreateExecute executes the request // @return DocCommentCreate201Response DocCommentCreateExecute(r DocCommentsAPIDocCommentCreateRequest) (*DocCommentCreate201Response, *http.Response, error) /* DocCommentDelete Delete a doc comment @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @param docCommentId @return DocCommentsAPIDocCommentDeleteRequest */ DocCommentDelete(ctx context.Context, channelId string, docId int32, docCommentId int32) DocCommentsAPIDocCommentDeleteRequest // DocCommentDeleteExecute executes the request DocCommentDeleteExecute(r DocCommentsAPIDocCommentDeleteRequest) (*http.Response, error) /* DocCommentRead Get a comment on a doc @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @param docCommentId @return DocCommentsAPIDocCommentReadRequest */ DocCommentRead(ctx context.Context, channelId string, docId int32, docCommentId int32) DocCommentsAPIDocCommentReadRequest // DocCommentReadExecute executes the request // @return DocCommentCreate201Response DocCommentReadExecute(r DocCommentsAPIDocCommentReadRequest) (*DocCommentCreate201Response, *http.Response, error) /* DocCommentReadMany Get a doc's comments @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @return DocCommentsAPIDocCommentReadManyRequest */ DocCommentReadMany(ctx context.Context, channelId string, docId int32) DocCommentsAPIDocCommentReadManyRequest // DocCommentReadManyExecute executes the request // @return DocCommentReadMany200Response DocCommentReadManyExecute(r DocCommentsAPIDocCommentReadManyRequest) (*DocCommentReadMany200Response, *http.Response, error) /* DocCommentUpdate Update a doc comment @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @param docCommentId @return DocCommentsAPIDocCommentUpdateRequest */ DocCommentUpdate(ctx context.Context, channelId string, docId int32, docCommentId int32) DocCommentsAPIDocCommentUpdateRequest // DocCommentUpdateExecute executes the request // @return DocCommentCreate201Response DocCommentUpdateExecute(r DocCommentsAPIDocCommentUpdateRequest) (*DocCommentCreate201Response, *http.Response, error) }
type DocCommentsAPIDocCommentCreateRequest ¶
type DocCommentsAPIDocCommentCreateRequest struct { ApiService DocCommentsAPI // contains filtered or unexported fields }
func (DocCommentsAPIDocCommentCreateRequest) DocCommentCreateRequest ¶
func (r DocCommentsAPIDocCommentCreateRequest) DocCommentCreateRequest(docCommentCreateRequest DocCommentCreateRequest) DocCommentsAPIDocCommentCreateRequest
func (DocCommentsAPIDocCommentCreateRequest) Execute ¶
func (r DocCommentsAPIDocCommentCreateRequest) Execute() (*DocCommentCreate201Response, *http.Response, error)
type DocCommentsAPIDocCommentDeleteRequest ¶
type DocCommentsAPIDocCommentDeleteRequest struct { ApiService DocCommentsAPI // contains filtered or unexported fields }
type DocCommentsAPIDocCommentReadManyRequest ¶
type DocCommentsAPIDocCommentReadManyRequest struct { ApiService DocCommentsAPI // contains filtered or unexported fields }
func (DocCommentsAPIDocCommentReadManyRequest) Execute ¶
func (r DocCommentsAPIDocCommentReadManyRequest) Execute() (*DocCommentReadMany200Response, *http.Response, error)
type DocCommentsAPIDocCommentReadRequest ¶
type DocCommentsAPIDocCommentReadRequest struct { ApiService DocCommentsAPI // contains filtered or unexported fields }
func (DocCommentsAPIDocCommentReadRequest) Execute ¶
func (r DocCommentsAPIDocCommentReadRequest) Execute() (*DocCommentCreate201Response, *http.Response, error)
type DocCommentsAPIDocCommentUpdateRequest ¶
type DocCommentsAPIDocCommentUpdateRequest struct { ApiService DocCommentsAPI // contains filtered or unexported fields }
func (DocCommentsAPIDocCommentUpdateRequest) DocCommentCreateRequest ¶
func (r DocCommentsAPIDocCommentUpdateRequest) DocCommentCreateRequest(docCommentCreateRequest DocCommentCreateRequest) DocCommentsAPIDocCommentUpdateRequest
func (DocCommentsAPIDocCommentUpdateRequest) Execute ¶
func (r DocCommentsAPIDocCommentUpdateRequest) Execute() (*DocCommentCreate201Response, *http.Response, error)
type DocCommentsAPIService ¶
type DocCommentsAPIService service
DocCommentsAPIService DocCommentsAPI service
func (*DocCommentsAPIService) DocCommentCreate ¶
func (a *DocCommentsAPIService) DocCommentCreate(ctx context.Context, channelId string, docId int32) DocCommentsAPIDocCommentCreateRequest
DocCommentCreate Create a comment on a doc
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @return DocCommentsAPIDocCommentCreateRequest
func (*DocCommentsAPIService) DocCommentCreateExecute ¶
func (a *DocCommentsAPIService) DocCommentCreateExecute(r DocCommentsAPIDocCommentCreateRequest) (*DocCommentCreate201Response, *http.Response, error)
Execute executes the request
@return DocCommentCreate201Response
func (*DocCommentsAPIService) DocCommentDelete ¶
func (a *DocCommentsAPIService) DocCommentDelete(ctx context.Context, channelId string, docId int32, docCommentId int32) DocCommentsAPIDocCommentDeleteRequest
DocCommentDelete Delete a doc comment
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @param docCommentId @return DocCommentsAPIDocCommentDeleteRequest
func (*DocCommentsAPIService) DocCommentDeleteExecute ¶
func (a *DocCommentsAPIService) DocCommentDeleteExecute(r DocCommentsAPIDocCommentDeleteRequest) (*http.Response, error)
Execute executes the request
func (*DocCommentsAPIService) DocCommentRead ¶
func (a *DocCommentsAPIService) DocCommentRead(ctx context.Context, channelId string, docId int32, docCommentId int32) DocCommentsAPIDocCommentReadRequest
DocCommentRead Get a comment on a doc
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @param docCommentId @return DocCommentsAPIDocCommentReadRequest
func (*DocCommentsAPIService) DocCommentReadExecute ¶
func (a *DocCommentsAPIService) DocCommentReadExecute(r DocCommentsAPIDocCommentReadRequest) (*DocCommentCreate201Response, *http.Response, error)
Execute executes the request
@return DocCommentCreate201Response
func (*DocCommentsAPIService) DocCommentReadMany ¶
func (a *DocCommentsAPIService) DocCommentReadMany(ctx context.Context, channelId string, docId int32) DocCommentsAPIDocCommentReadManyRequest
DocCommentReadMany Get a doc's comments
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @return DocCommentsAPIDocCommentReadManyRequest
func (*DocCommentsAPIService) DocCommentReadManyExecute ¶
func (a *DocCommentsAPIService) DocCommentReadManyExecute(r DocCommentsAPIDocCommentReadManyRequest) (*DocCommentReadMany200Response, *http.Response, error)
Execute executes the request
@return DocCommentReadMany200Response
func (*DocCommentsAPIService) DocCommentUpdate ¶
func (a *DocCommentsAPIService) DocCommentUpdate(ctx context.Context, channelId string, docId int32, docCommentId int32) DocCommentsAPIDocCommentUpdateRequest
DocCommentUpdate Update a doc comment
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @param docCommentId @return DocCommentsAPIDocCommentUpdateRequest
func (*DocCommentsAPIService) DocCommentUpdateExecute ¶
func (a *DocCommentsAPIService) DocCommentUpdateExecute(r DocCommentsAPIDocCommentUpdateRequest) (*DocCommentCreate201Response, *http.Response, error)
Execute executes the request
@return DocCommentCreate201Response
type DocCreate201Response ¶
type DocCreate201Response struct {
Doc Doc `json:"doc"`
}
DocCreate201Response struct for DocCreate201Response
func NewDocCreate201Response ¶
func NewDocCreate201Response(doc Doc) *DocCreate201Response
NewDocCreate201Response instantiates a new DocCreate201Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDocCreate201ResponseWithDefaults ¶
func NewDocCreate201ResponseWithDefaults() *DocCreate201Response
NewDocCreate201ResponseWithDefaults instantiates a new DocCreate201Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DocCreate201Response) GetDoc ¶
func (o *DocCreate201Response) GetDoc() Doc
GetDoc returns the Doc field value
func (*DocCreate201Response) GetDocOk ¶
func (o *DocCreate201Response) GetDocOk() (*Doc, bool)
GetDocOk returns a tuple with the Doc field value and a boolean to check if the value has been set.
func (DocCreate201Response) MarshalJSON ¶
func (o DocCreate201Response) MarshalJSON() ([]byte, error)
func (*DocCreate201Response) SetDoc ¶
func (o *DocCreate201Response) SetDoc(v Doc)
SetDoc sets field value
func (DocCreate201Response) ToMap ¶
func (o DocCreate201Response) ToMap() (map[string]interface{}, error)
func (*DocCreate201Response) UnmarshalJSON ¶
func (o *DocCreate201Response) UnmarshalJSON(data []byte) (err error)
type DocCreateRequest ¶
type DocCreateRequest struct { // The title of the doc Title string `json:"title"` Content Content3 `json:"content"` }
DocCreateRequest struct for DocCreateRequest
func NewDocCreateRequest ¶
func NewDocCreateRequest(title string, content Content3) *DocCreateRequest
NewDocCreateRequest instantiates a new DocCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDocCreateRequestWithDefaults ¶
func NewDocCreateRequestWithDefaults() *DocCreateRequest
NewDocCreateRequestWithDefaults instantiates a new DocCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DocCreateRequest) GetContent ¶
func (o *DocCreateRequest) GetContent() Content3
GetContent returns the Content field value
func (*DocCreateRequest) GetContentOk ¶
func (o *DocCreateRequest) GetContentOk() (*Content3, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*DocCreateRequest) GetTitle ¶
func (o *DocCreateRequest) GetTitle() string
GetTitle returns the Title field value
func (*DocCreateRequest) GetTitleOk ¶
func (o *DocCreateRequest) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (DocCreateRequest) MarshalJSON ¶
func (o DocCreateRequest) MarshalJSON() ([]byte, error)
func (*DocCreateRequest) SetContent ¶
func (o *DocCreateRequest) SetContent(v Content3)
SetContent sets field value
func (*DocCreateRequest) SetTitle ¶
func (o *DocCreateRequest) SetTitle(v string)
SetTitle sets field value
func (DocCreateRequest) ToMap ¶
func (o DocCreateRequest) ToMap() (map[string]interface{}, error)
func (*DocCreateRequest) UnmarshalJSON ¶
func (o *DocCreateRequest) UnmarshalJSON(data []byte) (err error)
type DocReaction ¶
type DocReaction struct { // The ID of the channel ChannelId string `json:"channelId"` // The ID of the user who added the reaction CreatedBy string `json:"createdBy"` Emote Emote `json:"emote"` // The ID of the doc DocId int32 `json:"docId"` }
DocReaction struct for DocReaction
func NewDocReaction ¶
func NewDocReaction(channelId string, createdBy string, emote Emote, docId int32) *DocReaction
NewDocReaction instantiates a new DocReaction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDocReactionWithDefaults ¶
func NewDocReactionWithDefaults() *DocReaction
NewDocReactionWithDefaults instantiates a new DocReaction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DocReaction) GetChannelId ¶
func (o *DocReaction) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*DocReaction) GetChannelIdOk ¶
func (o *DocReaction) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*DocReaction) GetCreatedBy ¶
func (o *DocReaction) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*DocReaction) GetCreatedByOk ¶
func (o *DocReaction) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*DocReaction) GetDocId ¶
func (o *DocReaction) GetDocId() int32
GetDocId returns the DocId field value
func (*DocReaction) GetDocIdOk ¶
func (o *DocReaction) GetDocIdOk() (*int32, bool)
GetDocIdOk returns a tuple with the DocId field value and a boolean to check if the value has been set.
func (*DocReaction) GetEmote ¶
func (o *DocReaction) GetEmote() Emote
GetEmote returns the Emote field value
func (*DocReaction) GetEmoteOk ¶
func (o *DocReaction) GetEmoteOk() (*Emote, bool)
GetEmoteOk returns a tuple with the Emote field value and a boolean to check if the value has been set.
func (DocReaction) MarshalJSON ¶
func (o DocReaction) MarshalJSON() ([]byte, error)
func (*DocReaction) SetChannelId ¶
func (o *DocReaction) SetChannelId(v string)
SetChannelId sets field value
func (*DocReaction) SetCreatedBy ¶
func (o *DocReaction) SetCreatedBy(v string)
SetCreatedBy sets field value
func (DocReaction) ToMap ¶
func (o DocReaction) ToMap() (map[string]interface{}, error)
func (*DocReaction) UnmarshalJSON ¶
func (o *DocReaction) UnmarshalJSON(data []byte) (err error)
type DocReadMany200Response ¶
type DocReadMany200Response struct {
Docs []Doc `json:"docs"`
}
DocReadMany200Response struct for DocReadMany200Response
func NewDocReadMany200Response ¶
func NewDocReadMany200Response(docs []Doc) *DocReadMany200Response
NewDocReadMany200Response instantiates a new DocReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDocReadMany200ResponseWithDefaults ¶
func NewDocReadMany200ResponseWithDefaults() *DocReadMany200Response
NewDocReadMany200ResponseWithDefaults instantiates a new DocReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DocReadMany200Response) GetDocs ¶
func (o *DocReadMany200Response) GetDocs() []Doc
GetDocs returns the Docs field value
func (*DocReadMany200Response) GetDocsOk ¶
func (o *DocReadMany200Response) GetDocsOk() ([]Doc, bool)
GetDocsOk returns a tuple with the Docs field value and a boolean to check if the value has been set.
func (DocReadMany200Response) MarshalJSON ¶
func (o DocReadMany200Response) MarshalJSON() ([]byte, error)
func (*DocReadMany200Response) SetDocs ¶
func (o *DocReadMany200Response) SetDocs(v []Doc)
SetDocs sets field value
func (DocReadMany200Response) ToMap ¶
func (o DocReadMany200Response) ToMap() (map[string]interface{}, error)
func (*DocReadMany200Response) UnmarshalJSON ¶
func (o *DocReadMany200Response) UnmarshalJSON(data []byte) (err error)
type DocUpdateRequest ¶
type DocUpdateRequest struct { // The title of the doc Title string `json:"title"` // The content of the doc Content string `json:"content"` }
DocUpdateRequest struct for DocUpdateRequest
func NewDocUpdateRequest ¶
func NewDocUpdateRequest(title string, content string) *DocUpdateRequest
NewDocUpdateRequest instantiates a new DocUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDocUpdateRequestWithDefaults ¶
func NewDocUpdateRequestWithDefaults() *DocUpdateRequest
NewDocUpdateRequestWithDefaults instantiates a new DocUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DocUpdateRequest) GetContent ¶
func (o *DocUpdateRequest) GetContent() string
GetContent returns the Content field value
func (*DocUpdateRequest) GetContentOk ¶
func (o *DocUpdateRequest) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*DocUpdateRequest) GetTitle ¶
func (o *DocUpdateRequest) GetTitle() string
GetTitle returns the Title field value
func (*DocUpdateRequest) GetTitleOk ¶
func (o *DocUpdateRequest) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (DocUpdateRequest) MarshalJSON ¶
func (o DocUpdateRequest) MarshalJSON() ([]byte, error)
func (*DocUpdateRequest) SetContent ¶
func (o *DocUpdateRequest) SetContent(v string)
SetContent sets field value
func (*DocUpdateRequest) SetTitle ¶
func (o *DocUpdateRequest) SetTitle(v string)
SetTitle sets field value
func (DocUpdateRequest) ToMap ¶
func (o DocUpdateRequest) ToMap() (map[string]interface{}, error)
func (*DocUpdateRequest) UnmarshalJSON ¶
func (o *DocUpdateRequest) UnmarshalJSON(data []byte) (err error)
type DocsAPI ¶
type DocsAPI interface { /* DocCreate Create a doc @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return DocsAPIDocCreateRequest */ DocCreate(ctx context.Context, channelId string) DocsAPIDocCreateRequest // DocCreateExecute executes the request // @return DocCreate201Response DocCreateExecute(r DocsAPIDocCreateRequest) (*DocCreate201Response, *http.Response, error) /* DocDelete Delete a doc @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @return DocsAPIDocDeleteRequest */ DocDelete(ctx context.Context, channelId string, docId int32) DocsAPIDocDeleteRequest // DocDeleteExecute executes the request DocDeleteExecute(r DocsAPIDocDeleteRequest) (*http.Response, error) /* DocRead Get a doc @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @return DocsAPIDocReadRequest */ DocRead(ctx context.Context, channelId string, docId int32) DocsAPIDocReadRequest // DocReadExecute executes the request // @return DocCreate201Response DocReadExecute(r DocsAPIDocReadRequest) (*DocCreate201Response, *http.Response, error) /* DocReadMany Get docs Results returned will be ordered descending by the doc's `updatedAt`. `before` will filter based on the doc's `updatedAt` @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return DocsAPIDocReadManyRequest */ DocReadMany(ctx context.Context, channelId string) DocsAPIDocReadManyRequest // DocReadManyExecute executes the request // @return DocReadMany200Response DocReadManyExecute(r DocsAPIDocReadManyRequest) (*DocReadMany200Response, *http.Response, error) /* DocUpdate Update a doc @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @return DocsAPIDocUpdateRequest */ DocUpdate(ctx context.Context, channelId string, docId int32) DocsAPIDocUpdateRequest // DocUpdateExecute executes the request // @return DocCreate201Response DocUpdateExecute(r DocsAPIDocUpdateRequest) (*DocCreate201Response, *http.Response, error) }
type DocsAPIDocCreateRequest ¶
type DocsAPIDocCreateRequest struct { ApiService DocsAPI // contains filtered or unexported fields }
func (DocsAPIDocCreateRequest) DocCreateRequest ¶
func (r DocsAPIDocCreateRequest) DocCreateRequest(docCreateRequest DocCreateRequest) DocsAPIDocCreateRequest
func (DocsAPIDocCreateRequest) Execute ¶
func (r DocsAPIDocCreateRequest) Execute() (*DocCreate201Response, *http.Response, error)
type DocsAPIDocDeleteRequest ¶
type DocsAPIDocDeleteRequest struct { ApiService DocsAPI // contains filtered or unexported fields }
type DocsAPIDocReadManyRequest ¶
type DocsAPIDocReadManyRequest struct { ApiService DocsAPI // contains filtered or unexported fields }
func (DocsAPIDocReadManyRequest) Before ¶
func (r DocsAPIDocReadManyRequest) Before(before time.Time) DocsAPIDocReadManyRequest
func (DocsAPIDocReadManyRequest) Execute ¶
func (r DocsAPIDocReadManyRequest) Execute() (*DocReadMany200Response, *http.Response, error)
func (DocsAPIDocReadManyRequest) Limit ¶
func (r DocsAPIDocReadManyRequest) Limit(limit int32) DocsAPIDocReadManyRequest
type DocsAPIDocReadRequest ¶
type DocsAPIDocReadRequest struct { ApiService DocsAPI // contains filtered or unexported fields }
func (DocsAPIDocReadRequest) Execute ¶
func (r DocsAPIDocReadRequest) Execute() (*DocCreate201Response, *http.Response, error)
type DocsAPIDocUpdateRequest ¶
type DocsAPIDocUpdateRequest struct { ApiService DocsAPI // contains filtered or unexported fields }
func (DocsAPIDocUpdateRequest) DocUpdateRequest ¶
func (r DocsAPIDocUpdateRequest) DocUpdateRequest(docUpdateRequest DocUpdateRequest) DocsAPIDocUpdateRequest
func (DocsAPIDocUpdateRequest) Execute ¶
func (r DocsAPIDocUpdateRequest) Execute() (*DocCreate201Response, *http.Response, error)
type DocsAPIService ¶
type DocsAPIService service
DocsAPIService DocsAPI service
func (*DocsAPIService) DocCreate ¶
func (a *DocsAPIService) DocCreate(ctx context.Context, channelId string) DocsAPIDocCreateRequest
DocCreate Create a doc
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return DocsAPIDocCreateRequest
func (*DocsAPIService) DocCreateExecute ¶
func (a *DocsAPIService) DocCreateExecute(r DocsAPIDocCreateRequest) (*DocCreate201Response, *http.Response, error)
Execute executes the request
@return DocCreate201Response
func (*DocsAPIService) DocDelete ¶
func (a *DocsAPIService) DocDelete(ctx context.Context, channelId string, docId int32) DocsAPIDocDeleteRequest
DocDelete Delete a doc
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @return DocsAPIDocDeleteRequest
func (*DocsAPIService) DocDeleteExecute ¶
func (a *DocsAPIService) DocDeleteExecute(r DocsAPIDocDeleteRequest) (*http.Response, error)
Execute executes the request
func (*DocsAPIService) DocRead ¶
func (a *DocsAPIService) DocRead(ctx context.Context, channelId string, docId int32) DocsAPIDocReadRequest
DocRead Get a doc
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @return DocsAPIDocReadRequest
func (*DocsAPIService) DocReadExecute ¶
func (a *DocsAPIService) DocReadExecute(r DocsAPIDocReadRequest) (*DocCreate201Response, *http.Response, error)
Execute executes the request
@return DocCreate201Response
func (*DocsAPIService) DocReadMany ¶
func (a *DocsAPIService) DocReadMany(ctx context.Context, channelId string) DocsAPIDocReadManyRequest
DocReadMany Get docs
Results returned will be ordered descending by the doc's `updatedAt`. `before` will filter based on the doc's `updatedAt`
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return DocsAPIDocReadManyRequest
func (*DocsAPIService) DocReadManyExecute ¶
func (a *DocsAPIService) DocReadManyExecute(r DocsAPIDocReadManyRequest) (*DocReadMany200Response, *http.Response, error)
Execute executes the request
@return DocReadMany200Response
func (*DocsAPIService) DocUpdate ¶
func (a *DocsAPIService) DocUpdate(ctx context.Context, channelId string, docId int32) DocsAPIDocUpdateRequest
DocUpdate Update a doc
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @return DocsAPIDocUpdateRequest
func (*DocsAPIService) DocUpdateExecute ¶
func (a *DocsAPIService) DocUpdateExecute(r DocsAPIDocUpdateRequest) (*DocCreate201Response, *http.Response, error)
Execute executes the request
@return DocCreate201Response
type Emote ¶
type Emote struct { // The ID of the emote Id int32 `json:"id"` // The name of the emote Name string `json:"name"` // The URL of the emote image Url string `json:"url"` // The ID of the server the emote was created on ServerId *string `json:"serverId,omitempty"` }
Emote struct for Emote
func NewEmote ¶
NewEmote instantiates a new Emote object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEmoteWithDefaults ¶
func NewEmoteWithDefaults() *Emote
NewEmoteWithDefaults instantiates a new Emote object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Emote) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Emote) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Emote) GetServerId ¶
GetServerId returns the ServerId field value if set, zero value otherwise.
func (*Emote) GetServerIdOk ¶
GetServerIdOk returns a tuple with the ServerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Emote) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*Emote) HasServerId ¶
HasServerId returns a boolean if a field has been set.
func (Emote) MarshalJSON ¶
func (*Emote) SetServerId ¶
SetServerId gets a reference to the given string and assigns it to the ServerId field.
func (*Emote) UnmarshalJSON ¶
type ForumCommentsAPI ¶
type ForumCommentsAPI interface { /* ForumTopicCommentCreate Create a forum topic comment @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @return ForumCommentsAPIForumTopicCommentCreateRequest */ ForumTopicCommentCreate(ctx context.Context, channelId string, forumTopicId int32) ForumCommentsAPIForumTopicCommentCreateRequest // ForumTopicCommentCreateExecute executes the request // @return ForumTopicCommentCreate201Response ForumTopicCommentCreateExecute(r ForumCommentsAPIForumTopicCommentCreateRequest) (*ForumTopicCommentCreate201Response, *http.Response, error) /* ForumTopicCommentDelete Delete a forum topic comment @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @param forumTopicCommentId @return ForumCommentsAPIForumTopicCommentDeleteRequest */ ForumTopicCommentDelete(ctx context.Context, channelId string, forumTopicId int32, forumTopicCommentId int32) ForumCommentsAPIForumTopicCommentDeleteRequest // ForumTopicCommentDeleteExecute executes the request ForumTopicCommentDeleteExecute(r ForumCommentsAPIForumTopicCommentDeleteRequest) (*http.Response, error) /* ForumTopicCommentRead Get a comment on a forum topic @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @param forumTopicCommentId @return ForumCommentsAPIForumTopicCommentReadRequest */ ForumTopicCommentRead(ctx context.Context, channelId string, forumTopicId int32, forumTopicCommentId int32) ForumCommentsAPIForumTopicCommentReadRequest // ForumTopicCommentReadExecute executes the request // @return ForumTopicCommentCreate201Response ForumTopicCommentReadExecute(r ForumCommentsAPIForumTopicCommentReadRequest) (*ForumTopicCommentCreate201Response, *http.Response, error) /* ForumTopicCommentReadMany Get a forum topic's comments @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @return ForumCommentsAPIForumTopicCommentReadManyRequest */ ForumTopicCommentReadMany(ctx context.Context, channelId string, forumTopicId int32) ForumCommentsAPIForumTopicCommentReadManyRequest // ForumTopicCommentReadManyExecute executes the request // @return ForumTopicCommentReadMany200Response ForumTopicCommentReadManyExecute(r ForumCommentsAPIForumTopicCommentReadManyRequest) (*ForumTopicCommentReadMany200Response, *http.Response, error) /* ForumTopicCommentUpdate Update a forum topic comment @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @param forumTopicCommentId @return ForumCommentsAPIForumTopicCommentUpdateRequest */ ForumTopicCommentUpdate(ctx context.Context, channelId string, forumTopicId int32, forumTopicCommentId int32) ForumCommentsAPIForumTopicCommentUpdateRequest // ForumTopicCommentUpdateExecute executes the request // @return ForumTopicCommentCreate201Response ForumTopicCommentUpdateExecute(r ForumCommentsAPIForumTopicCommentUpdateRequest) (*ForumTopicCommentCreate201Response, *http.Response, error) }
type ForumCommentsAPIForumTopicCommentCreateRequest ¶
type ForumCommentsAPIForumTopicCommentCreateRequest struct { ApiService ForumCommentsAPI // contains filtered or unexported fields }
func (ForumCommentsAPIForumTopicCommentCreateRequest) Execute ¶
func (r ForumCommentsAPIForumTopicCommentCreateRequest) Execute() (*ForumTopicCommentCreate201Response, *http.Response, error)
func (ForumCommentsAPIForumTopicCommentCreateRequest) ForumTopicCommentCreateRequest ¶
func (r ForumCommentsAPIForumTopicCommentCreateRequest) ForumTopicCommentCreateRequest(forumTopicCommentCreateRequest ForumTopicCommentCreateRequest) ForumCommentsAPIForumTopicCommentCreateRequest
type ForumCommentsAPIForumTopicCommentDeleteRequest ¶
type ForumCommentsAPIForumTopicCommentDeleteRequest struct { ApiService ForumCommentsAPI // contains filtered or unexported fields }
type ForumCommentsAPIForumTopicCommentReadManyRequest ¶
type ForumCommentsAPIForumTopicCommentReadManyRequest struct { ApiService ForumCommentsAPI // contains filtered or unexported fields }
func (ForumCommentsAPIForumTopicCommentReadManyRequest) Execute ¶
func (r ForumCommentsAPIForumTopicCommentReadManyRequest) Execute() (*ForumTopicCommentReadMany200Response, *http.Response, error)
type ForumCommentsAPIForumTopicCommentReadRequest ¶
type ForumCommentsAPIForumTopicCommentReadRequest struct { ApiService ForumCommentsAPI // contains filtered or unexported fields }
func (ForumCommentsAPIForumTopicCommentReadRequest) Execute ¶
func (r ForumCommentsAPIForumTopicCommentReadRequest) Execute() (*ForumTopicCommentCreate201Response, *http.Response, error)
type ForumCommentsAPIForumTopicCommentUpdateRequest ¶
type ForumCommentsAPIForumTopicCommentUpdateRequest struct { ApiService ForumCommentsAPI // contains filtered or unexported fields }
func (ForumCommentsAPIForumTopicCommentUpdateRequest) Execute ¶
func (r ForumCommentsAPIForumTopicCommentUpdateRequest) Execute() (*ForumTopicCommentCreate201Response, *http.Response, error)
func (ForumCommentsAPIForumTopicCommentUpdateRequest) ForumTopicCommentUpdateRequest ¶
func (r ForumCommentsAPIForumTopicCommentUpdateRequest) ForumTopicCommentUpdateRequest(forumTopicCommentUpdateRequest ForumTopicCommentUpdateRequest) ForumCommentsAPIForumTopicCommentUpdateRequest
type ForumCommentsAPIService ¶
type ForumCommentsAPIService service
ForumCommentsAPIService ForumCommentsAPI service
func (*ForumCommentsAPIService) ForumTopicCommentCreate ¶
func (a *ForumCommentsAPIService) ForumTopicCommentCreate(ctx context.Context, channelId string, forumTopicId int32) ForumCommentsAPIForumTopicCommentCreateRequest
ForumTopicCommentCreate Create a forum topic comment
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @return ForumCommentsAPIForumTopicCommentCreateRequest
func (*ForumCommentsAPIService) ForumTopicCommentCreateExecute ¶
func (a *ForumCommentsAPIService) ForumTopicCommentCreateExecute(r ForumCommentsAPIForumTopicCommentCreateRequest) (*ForumTopicCommentCreate201Response, *http.Response, error)
Execute executes the request
@return ForumTopicCommentCreate201Response
func (*ForumCommentsAPIService) ForumTopicCommentDelete ¶
func (a *ForumCommentsAPIService) ForumTopicCommentDelete(ctx context.Context, channelId string, forumTopicId int32, forumTopicCommentId int32) ForumCommentsAPIForumTopicCommentDeleteRequest
ForumTopicCommentDelete Delete a forum topic comment
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @param forumTopicCommentId @return ForumCommentsAPIForumTopicCommentDeleteRequest
func (*ForumCommentsAPIService) ForumTopicCommentDeleteExecute ¶
func (a *ForumCommentsAPIService) ForumTopicCommentDeleteExecute(r ForumCommentsAPIForumTopicCommentDeleteRequest) (*http.Response, error)
Execute executes the request
func (*ForumCommentsAPIService) ForumTopicCommentRead ¶
func (a *ForumCommentsAPIService) ForumTopicCommentRead(ctx context.Context, channelId string, forumTopicId int32, forumTopicCommentId int32) ForumCommentsAPIForumTopicCommentReadRequest
ForumTopicCommentRead Get a comment on a forum topic
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @param forumTopicCommentId @return ForumCommentsAPIForumTopicCommentReadRequest
func (*ForumCommentsAPIService) ForumTopicCommentReadExecute ¶
func (a *ForumCommentsAPIService) ForumTopicCommentReadExecute(r ForumCommentsAPIForumTopicCommentReadRequest) (*ForumTopicCommentCreate201Response, *http.Response, error)
Execute executes the request
@return ForumTopicCommentCreate201Response
func (*ForumCommentsAPIService) ForumTopicCommentReadMany ¶
func (a *ForumCommentsAPIService) ForumTopicCommentReadMany(ctx context.Context, channelId string, forumTopicId int32) ForumCommentsAPIForumTopicCommentReadManyRequest
ForumTopicCommentReadMany Get a forum topic's comments
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @return ForumCommentsAPIForumTopicCommentReadManyRequest
func (*ForumCommentsAPIService) ForumTopicCommentReadManyExecute ¶
func (a *ForumCommentsAPIService) ForumTopicCommentReadManyExecute(r ForumCommentsAPIForumTopicCommentReadManyRequest) (*ForumTopicCommentReadMany200Response, *http.Response, error)
Execute executes the request
@return ForumTopicCommentReadMany200Response
func (*ForumCommentsAPIService) ForumTopicCommentUpdate ¶
func (a *ForumCommentsAPIService) ForumTopicCommentUpdate(ctx context.Context, channelId string, forumTopicId int32, forumTopicCommentId int32) ForumCommentsAPIForumTopicCommentUpdateRequest
ForumTopicCommentUpdate Update a forum topic comment
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @param forumTopicCommentId @return ForumCommentsAPIForumTopicCommentUpdateRequest
func (*ForumCommentsAPIService) ForumTopicCommentUpdateExecute ¶
func (a *ForumCommentsAPIService) ForumTopicCommentUpdateExecute(r ForumCommentsAPIForumTopicCommentUpdateRequest) (*ForumTopicCommentCreate201Response, *http.Response, error)
Execute executes the request
@return ForumTopicCommentCreate201Response
type ForumTopic ¶
type ForumTopic struct { // The ID of the forum topic Id int32 `json:"id"` // The ID of the server ServerId string `json:"serverId"` // The ID of the group GroupId string `json:"groupId"` // The ID of the channel ChannelId string `json:"channelId"` // The title of the forum topic Title string `json:"title"` // The ISO 8601 timestamp that the forum topic was created at CreatedAt time.Time `json:"createdAt"` // The ID of the user who created this forum topic (Note: If this event has `createdByWebhookId` present, this field will still be populated, but can be ignored. In this case, the value of this field will always be Ann6LewA) CreatedBy string `json:"createdBy"` // The ISO 8601 timestamp that the forum topic was updated at, if relevant UpdatedAt *time.Time `json:"updatedAt,omitempty"` // The ISO 8601 timestamp that the forum topic was bumped at. This timestamp is updated whenever there is any activity on the posts within the forum topic. BumpedAt *time.Time `json:"bumpedAt,omitempty"` IsPinned *bool `json:"isPinned,omitempty"` IsLocked *bool `json:"isLocked,omitempty"` // The content of the forum topic Content string `json:"content"` Mentions NullableMentions `json:"mentions,omitempty"` }
ForumTopic struct for ForumTopic
func NewForumTopic ¶
func NewForumTopic(id int32, serverId string, groupId string, channelId string, title string, createdAt time.Time, createdBy string, content string) *ForumTopic
NewForumTopic instantiates a new ForumTopic object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewForumTopicWithDefaults ¶
func NewForumTopicWithDefaults() *ForumTopic
NewForumTopicWithDefaults instantiates a new ForumTopic object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ForumTopic) GetBumpedAt ¶
func (o *ForumTopic) GetBumpedAt() time.Time
GetBumpedAt returns the BumpedAt field value if set, zero value otherwise.
func (*ForumTopic) GetBumpedAtOk ¶
func (o *ForumTopic) GetBumpedAtOk() (*time.Time, bool)
GetBumpedAtOk returns a tuple with the BumpedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ForumTopic) GetChannelId ¶
func (o *ForumTopic) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*ForumTopic) GetChannelIdOk ¶
func (o *ForumTopic) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*ForumTopic) GetContent ¶
func (o *ForumTopic) GetContent() string
GetContent returns the Content field value
func (*ForumTopic) GetContentOk ¶
func (o *ForumTopic) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*ForumTopic) GetCreatedAt ¶
func (o *ForumTopic) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*ForumTopic) GetCreatedAtOk ¶
func (o *ForumTopic) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ForumTopic) GetCreatedBy ¶
func (o *ForumTopic) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*ForumTopic) GetCreatedByOk ¶
func (o *ForumTopic) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*ForumTopic) GetGroupId ¶
func (o *ForumTopic) GetGroupId() string
GetGroupId returns the GroupId field value
func (*ForumTopic) GetGroupIdOk ¶
func (o *ForumTopic) GetGroupIdOk() (*string, bool)
GetGroupIdOk returns a tuple with the GroupId field value and a boolean to check if the value has been set.
func (*ForumTopic) GetIdOk ¶
func (o *ForumTopic) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ForumTopic) GetIsLocked ¶
func (o *ForumTopic) GetIsLocked() bool
GetIsLocked returns the IsLocked field value if set, zero value otherwise.
func (*ForumTopic) GetIsLockedOk ¶
func (o *ForumTopic) GetIsLockedOk() (*bool, bool)
GetIsLockedOk returns a tuple with the IsLocked field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ForumTopic) GetIsPinned ¶
func (o *ForumTopic) GetIsPinned() bool
GetIsPinned returns the IsPinned field value if set, zero value otherwise.
func (*ForumTopic) GetIsPinnedOk ¶
func (o *ForumTopic) GetIsPinnedOk() (*bool, bool)
GetIsPinnedOk returns a tuple with the IsPinned field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ForumTopic) GetMentions ¶
func (o *ForumTopic) GetMentions() Mentions
GetMentions returns the Mentions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ForumTopic) GetMentionsOk ¶
func (o *ForumTopic) GetMentionsOk() (*Mentions, bool)
GetMentionsOk returns a tuple with the Mentions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ForumTopic) GetServerId ¶
func (o *ForumTopic) GetServerId() string
GetServerId returns the ServerId field value
func (*ForumTopic) GetServerIdOk ¶
func (o *ForumTopic) GetServerIdOk() (*string, bool)
GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.
func (*ForumTopic) GetTitle ¶
func (o *ForumTopic) GetTitle() string
GetTitle returns the Title field value
func (*ForumTopic) GetTitleOk ¶
func (o *ForumTopic) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*ForumTopic) GetUpdatedAt ¶
func (o *ForumTopic) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ForumTopic) GetUpdatedAtOk ¶
func (o *ForumTopic) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ForumTopic) HasBumpedAt ¶
func (o *ForumTopic) HasBumpedAt() bool
HasBumpedAt returns a boolean if a field has been set.
func (*ForumTopic) HasIsLocked ¶
func (o *ForumTopic) HasIsLocked() bool
HasIsLocked returns a boolean if a field has been set.
func (*ForumTopic) HasIsPinned ¶
func (o *ForumTopic) HasIsPinned() bool
HasIsPinned returns a boolean if a field has been set.
func (*ForumTopic) HasMentions ¶
func (o *ForumTopic) HasMentions() bool
HasMentions returns a boolean if a field has been set.
func (*ForumTopic) HasUpdatedAt ¶
func (o *ForumTopic) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (ForumTopic) MarshalJSON ¶
func (o ForumTopic) MarshalJSON() ([]byte, error)
func (*ForumTopic) SetBumpedAt ¶
func (o *ForumTopic) SetBumpedAt(v time.Time)
SetBumpedAt gets a reference to the given time.Time and assigns it to the BumpedAt field.
func (*ForumTopic) SetChannelId ¶
func (o *ForumTopic) SetChannelId(v string)
SetChannelId sets field value
func (*ForumTopic) SetContent ¶
func (o *ForumTopic) SetContent(v string)
SetContent sets field value
func (*ForumTopic) SetCreatedAt ¶
func (o *ForumTopic) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*ForumTopic) SetCreatedBy ¶
func (o *ForumTopic) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*ForumTopic) SetGroupId ¶
func (o *ForumTopic) SetGroupId(v string)
SetGroupId sets field value
func (*ForumTopic) SetIsLocked ¶
func (o *ForumTopic) SetIsLocked(v bool)
SetIsLocked gets a reference to the given bool and assigns it to the IsLocked field.
func (*ForumTopic) SetIsPinned ¶
func (o *ForumTopic) SetIsPinned(v bool)
SetIsPinned gets a reference to the given bool and assigns it to the IsPinned field.
func (*ForumTopic) SetMentions ¶
func (o *ForumTopic) SetMentions(v Mentions)
SetMentions gets a reference to the given NullableMentions and assigns it to the Mentions field.
func (*ForumTopic) SetMentionsNil ¶
func (o *ForumTopic) SetMentionsNil()
SetMentionsNil sets the value for Mentions to be an explicit nil
func (*ForumTopic) SetServerId ¶
func (o *ForumTopic) SetServerId(v string)
SetServerId sets field value
func (*ForumTopic) SetUpdatedAt ¶
func (o *ForumTopic) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (ForumTopic) ToMap ¶
func (o ForumTopic) ToMap() (map[string]interface{}, error)
func (*ForumTopic) UnmarshalJSON ¶
func (o *ForumTopic) UnmarshalJSON(data []byte) (err error)
func (*ForumTopic) UnsetMentions ¶
func (o *ForumTopic) UnsetMentions()
UnsetMentions ensures that no value is present for Mentions, not even an explicit nil
type ForumTopicComment ¶
type ForumTopicComment struct { // The ID of the forum topic comment Id int32 `json:"id"` // The content of the forum topic comment Content string `json:"content"` // The ISO 8601 timestamp that the forum topic comment was created at CreatedAt time.Time `json:"createdAt"` // The ISO 8601 timestamp that the forum topic comment was updated at, if relevant UpdatedAt *time.Time `json:"updatedAt,omitempty"` // The ID of the channel ChannelId string `json:"channelId"` // The ID of the forum topic ForumTopicId int32 `json:"forumTopicId"` // The ID of the user who created this forum topic comment (Note: If this event has `createdByWebhookId` present, this field will still be populated, but can be ignored. In this case, the value of this field will always be Ann6LewA) CreatedBy string `json:"createdBy"` Mentions NullableMentions `json:"mentions,omitempty"` }
ForumTopicComment struct for ForumTopicComment
func NewForumTopicComment ¶
func NewForumTopicComment(id int32, content string, createdAt time.Time, channelId string, forumTopicId int32, createdBy string) *ForumTopicComment
NewForumTopicComment instantiates a new ForumTopicComment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewForumTopicCommentWithDefaults ¶
func NewForumTopicCommentWithDefaults() *ForumTopicComment
NewForumTopicCommentWithDefaults instantiates a new ForumTopicComment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ForumTopicComment) GetChannelId ¶
func (o *ForumTopicComment) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*ForumTopicComment) GetChannelIdOk ¶
func (o *ForumTopicComment) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*ForumTopicComment) GetContent ¶
func (o *ForumTopicComment) GetContent() string
GetContent returns the Content field value
func (*ForumTopicComment) GetContentOk ¶
func (o *ForumTopicComment) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*ForumTopicComment) GetCreatedAt ¶
func (o *ForumTopicComment) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*ForumTopicComment) GetCreatedAtOk ¶
func (o *ForumTopicComment) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ForumTopicComment) GetCreatedBy ¶
func (o *ForumTopicComment) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*ForumTopicComment) GetCreatedByOk ¶
func (o *ForumTopicComment) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*ForumTopicComment) GetForumTopicId ¶
func (o *ForumTopicComment) GetForumTopicId() int32
GetForumTopicId returns the ForumTopicId field value
func (*ForumTopicComment) GetForumTopicIdOk ¶
func (o *ForumTopicComment) GetForumTopicIdOk() (*int32, bool)
GetForumTopicIdOk returns a tuple with the ForumTopicId field value and a boolean to check if the value has been set.
func (*ForumTopicComment) GetId ¶
func (o *ForumTopicComment) GetId() int32
GetId returns the Id field value
func (*ForumTopicComment) GetIdOk ¶
func (o *ForumTopicComment) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ForumTopicComment) GetMentions ¶
func (o *ForumTopicComment) GetMentions() Mentions
GetMentions returns the Mentions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ForumTopicComment) GetMentionsOk ¶
func (o *ForumTopicComment) GetMentionsOk() (*Mentions, bool)
GetMentionsOk returns a tuple with the Mentions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ForumTopicComment) GetUpdatedAt ¶
func (o *ForumTopicComment) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ForumTopicComment) GetUpdatedAtOk ¶
func (o *ForumTopicComment) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ForumTopicComment) HasMentions ¶
func (o *ForumTopicComment) HasMentions() bool
HasMentions returns a boolean if a field has been set.
func (*ForumTopicComment) HasUpdatedAt ¶
func (o *ForumTopicComment) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (ForumTopicComment) MarshalJSON ¶
func (o ForumTopicComment) MarshalJSON() ([]byte, error)
func (*ForumTopicComment) SetChannelId ¶
func (o *ForumTopicComment) SetChannelId(v string)
SetChannelId sets field value
func (*ForumTopicComment) SetContent ¶
func (o *ForumTopicComment) SetContent(v string)
SetContent sets field value
func (*ForumTopicComment) SetCreatedAt ¶
func (o *ForumTopicComment) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*ForumTopicComment) SetCreatedBy ¶
func (o *ForumTopicComment) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*ForumTopicComment) SetForumTopicId ¶
func (o *ForumTopicComment) SetForumTopicId(v int32)
SetForumTopicId sets field value
func (*ForumTopicComment) SetMentions ¶
func (o *ForumTopicComment) SetMentions(v Mentions)
SetMentions gets a reference to the given NullableMentions and assigns it to the Mentions field.
func (*ForumTopicComment) SetMentionsNil ¶
func (o *ForumTopicComment) SetMentionsNil()
SetMentionsNil sets the value for Mentions to be an explicit nil
func (*ForumTopicComment) SetUpdatedAt ¶
func (o *ForumTopicComment) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (ForumTopicComment) ToMap ¶
func (o ForumTopicComment) ToMap() (map[string]interface{}, error)
func (*ForumTopicComment) UnmarshalJSON ¶
func (o *ForumTopicComment) UnmarshalJSON(data []byte) (err error)
func (*ForumTopicComment) UnsetMentions ¶
func (o *ForumTopicComment) UnsetMentions()
UnsetMentions ensures that no value is present for Mentions, not even an explicit nil
type ForumTopicCommentCreate201Response ¶
type ForumTopicCommentCreate201Response struct {
ForumTopicComment ForumTopicComment `json:"forumTopicComment"`
}
ForumTopicCommentCreate201Response struct for ForumTopicCommentCreate201Response
func NewForumTopicCommentCreate201Response ¶
func NewForumTopicCommentCreate201Response(forumTopicComment ForumTopicComment) *ForumTopicCommentCreate201Response
NewForumTopicCommentCreate201Response instantiates a new ForumTopicCommentCreate201Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewForumTopicCommentCreate201ResponseWithDefaults ¶
func NewForumTopicCommentCreate201ResponseWithDefaults() *ForumTopicCommentCreate201Response
NewForumTopicCommentCreate201ResponseWithDefaults instantiates a new ForumTopicCommentCreate201Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ForumTopicCommentCreate201Response) GetForumTopicComment ¶
func (o *ForumTopicCommentCreate201Response) GetForumTopicComment() ForumTopicComment
GetForumTopicComment returns the ForumTopicComment field value
func (*ForumTopicCommentCreate201Response) GetForumTopicCommentOk ¶
func (o *ForumTopicCommentCreate201Response) GetForumTopicCommentOk() (*ForumTopicComment, bool)
GetForumTopicCommentOk returns a tuple with the ForumTopicComment field value and a boolean to check if the value has been set.
func (ForumTopicCommentCreate201Response) MarshalJSON ¶
func (o ForumTopicCommentCreate201Response) MarshalJSON() ([]byte, error)
func (*ForumTopicCommentCreate201Response) SetForumTopicComment ¶
func (o *ForumTopicCommentCreate201Response) SetForumTopicComment(v ForumTopicComment)
SetForumTopicComment sets field value
func (ForumTopicCommentCreate201Response) ToMap ¶
func (o ForumTopicCommentCreate201Response) ToMap() (map[string]interface{}, error)
func (*ForumTopicCommentCreate201Response) UnmarshalJSON ¶
func (o *ForumTopicCommentCreate201Response) UnmarshalJSON(data []byte) (err error)
type ForumTopicCommentCreateRequest ¶
type ForumTopicCommentCreateRequest struct { // The content of the forum topic comment Content string `json:"content"` }
ForumTopicCommentCreateRequest struct for ForumTopicCommentCreateRequest
func NewForumTopicCommentCreateRequest ¶
func NewForumTopicCommentCreateRequest(content string) *ForumTopicCommentCreateRequest
NewForumTopicCommentCreateRequest instantiates a new ForumTopicCommentCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewForumTopicCommentCreateRequestWithDefaults ¶
func NewForumTopicCommentCreateRequestWithDefaults() *ForumTopicCommentCreateRequest
NewForumTopicCommentCreateRequestWithDefaults instantiates a new ForumTopicCommentCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ForumTopicCommentCreateRequest) GetContent ¶
func (o *ForumTopicCommentCreateRequest) GetContent() string
GetContent returns the Content field value
func (*ForumTopicCommentCreateRequest) GetContentOk ¶
func (o *ForumTopicCommentCreateRequest) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (ForumTopicCommentCreateRequest) MarshalJSON ¶
func (o ForumTopicCommentCreateRequest) MarshalJSON() ([]byte, error)
func (*ForumTopicCommentCreateRequest) SetContent ¶
func (o *ForumTopicCommentCreateRequest) SetContent(v string)
SetContent sets field value
func (ForumTopicCommentCreateRequest) ToMap ¶
func (o ForumTopicCommentCreateRequest) ToMap() (map[string]interface{}, error)
func (*ForumTopicCommentCreateRequest) UnmarshalJSON ¶
func (o *ForumTopicCommentCreateRequest) UnmarshalJSON(data []byte) (err error)
type ForumTopicCommentReaction ¶
type ForumTopicCommentReaction struct { // The ID of the channel ChannelId string `json:"channelId"` // The ID of the user who added the reaction CreatedBy string `json:"createdBy"` Emote Emote `json:"emote"` // The ID of the forum topic ForumTopicId int32 `json:"forumTopicId"` // The ID of the forum topic comment ForumTopicCommentId int32 `json:"forumTopicCommentId"` }
ForumTopicCommentReaction struct for ForumTopicCommentReaction
func NewForumTopicCommentReaction ¶
func NewForumTopicCommentReaction(channelId string, createdBy string, emote Emote, forumTopicId int32, forumTopicCommentId int32) *ForumTopicCommentReaction
NewForumTopicCommentReaction instantiates a new ForumTopicCommentReaction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewForumTopicCommentReactionWithDefaults ¶
func NewForumTopicCommentReactionWithDefaults() *ForumTopicCommentReaction
NewForumTopicCommentReactionWithDefaults instantiates a new ForumTopicCommentReaction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ForumTopicCommentReaction) GetChannelId ¶
func (o *ForumTopicCommentReaction) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*ForumTopicCommentReaction) GetChannelIdOk ¶
func (o *ForumTopicCommentReaction) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*ForumTopicCommentReaction) GetCreatedBy ¶
func (o *ForumTopicCommentReaction) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*ForumTopicCommentReaction) GetCreatedByOk ¶
func (o *ForumTopicCommentReaction) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*ForumTopicCommentReaction) GetEmote ¶
func (o *ForumTopicCommentReaction) GetEmote() Emote
GetEmote returns the Emote field value
func (*ForumTopicCommentReaction) GetEmoteOk ¶
func (o *ForumTopicCommentReaction) GetEmoteOk() (*Emote, bool)
GetEmoteOk returns a tuple with the Emote field value and a boolean to check if the value has been set.
func (*ForumTopicCommentReaction) GetForumTopicCommentId ¶
func (o *ForumTopicCommentReaction) GetForumTopicCommentId() int32
GetForumTopicCommentId returns the ForumTopicCommentId field value
func (*ForumTopicCommentReaction) GetForumTopicCommentIdOk ¶
func (o *ForumTopicCommentReaction) GetForumTopicCommentIdOk() (*int32, bool)
GetForumTopicCommentIdOk returns a tuple with the ForumTopicCommentId field value and a boolean to check if the value has been set.
func (*ForumTopicCommentReaction) GetForumTopicId ¶
func (o *ForumTopicCommentReaction) GetForumTopicId() int32
GetForumTopicId returns the ForumTopicId field value
func (*ForumTopicCommentReaction) GetForumTopicIdOk ¶
func (o *ForumTopicCommentReaction) GetForumTopicIdOk() (*int32, bool)
GetForumTopicIdOk returns a tuple with the ForumTopicId field value and a boolean to check if the value has been set.
func (ForumTopicCommentReaction) MarshalJSON ¶
func (o ForumTopicCommentReaction) MarshalJSON() ([]byte, error)
func (*ForumTopicCommentReaction) SetChannelId ¶
func (o *ForumTopicCommentReaction) SetChannelId(v string)
SetChannelId sets field value
func (*ForumTopicCommentReaction) SetCreatedBy ¶
func (o *ForumTopicCommentReaction) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*ForumTopicCommentReaction) SetEmote ¶
func (o *ForumTopicCommentReaction) SetEmote(v Emote)
SetEmote sets field value
func (*ForumTopicCommentReaction) SetForumTopicCommentId ¶
func (o *ForumTopicCommentReaction) SetForumTopicCommentId(v int32)
SetForumTopicCommentId sets field value
func (*ForumTopicCommentReaction) SetForumTopicId ¶
func (o *ForumTopicCommentReaction) SetForumTopicId(v int32)
SetForumTopicId sets field value
func (ForumTopicCommentReaction) ToMap ¶
func (o ForumTopicCommentReaction) ToMap() (map[string]interface{}, error)
func (*ForumTopicCommentReaction) UnmarshalJSON ¶
func (o *ForumTopicCommentReaction) UnmarshalJSON(data []byte) (err error)
type ForumTopicCommentReadMany200Response ¶
type ForumTopicCommentReadMany200Response struct {
ForumTopicComments []ForumTopicComment `json:"forumTopicComments"`
}
ForumTopicCommentReadMany200Response struct for ForumTopicCommentReadMany200Response
func NewForumTopicCommentReadMany200Response ¶
func NewForumTopicCommentReadMany200Response(forumTopicComments []ForumTopicComment) *ForumTopicCommentReadMany200Response
NewForumTopicCommentReadMany200Response instantiates a new ForumTopicCommentReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewForumTopicCommentReadMany200ResponseWithDefaults ¶
func NewForumTopicCommentReadMany200ResponseWithDefaults() *ForumTopicCommentReadMany200Response
NewForumTopicCommentReadMany200ResponseWithDefaults instantiates a new ForumTopicCommentReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ForumTopicCommentReadMany200Response) GetForumTopicComments ¶
func (o *ForumTopicCommentReadMany200Response) GetForumTopicComments() []ForumTopicComment
GetForumTopicComments returns the ForumTopicComments field value
func (*ForumTopicCommentReadMany200Response) GetForumTopicCommentsOk ¶
func (o *ForumTopicCommentReadMany200Response) GetForumTopicCommentsOk() ([]ForumTopicComment, bool)
GetForumTopicCommentsOk returns a tuple with the ForumTopicComments field value and a boolean to check if the value has been set.
func (ForumTopicCommentReadMany200Response) MarshalJSON ¶
func (o ForumTopicCommentReadMany200Response) MarshalJSON() ([]byte, error)
func (*ForumTopicCommentReadMany200Response) SetForumTopicComments ¶
func (o *ForumTopicCommentReadMany200Response) SetForumTopicComments(v []ForumTopicComment)
SetForumTopicComments sets field value
func (ForumTopicCommentReadMany200Response) ToMap ¶
func (o ForumTopicCommentReadMany200Response) ToMap() (map[string]interface{}, error)
func (*ForumTopicCommentReadMany200Response) UnmarshalJSON ¶
func (o *ForumTopicCommentReadMany200Response) UnmarshalJSON(data []byte) (err error)
type ForumTopicCommentUpdateRequest ¶
type ForumTopicCommentUpdateRequest struct { // The content of the forum topic Content *string `json:"content,omitempty"` }
ForumTopicCommentUpdateRequest struct for ForumTopicCommentUpdateRequest
func NewForumTopicCommentUpdateRequest ¶
func NewForumTopicCommentUpdateRequest() *ForumTopicCommentUpdateRequest
NewForumTopicCommentUpdateRequest instantiates a new ForumTopicCommentUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewForumTopicCommentUpdateRequestWithDefaults ¶
func NewForumTopicCommentUpdateRequestWithDefaults() *ForumTopicCommentUpdateRequest
NewForumTopicCommentUpdateRequestWithDefaults instantiates a new ForumTopicCommentUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ForumTopicCommentUpdateRequest) GetContent ¶
func (o *ForumTopicCommentUpdateRequest) GetContent() string
GetContent returns the Content field value if set, zero value otherwise.
func (*ForumTopicCommentUpdateRequest) GetContentOk ¶
func (o *ForumTopicCommentUpdateRequest) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ForumTopicCommentUpdateRequest) HasContent ¶
func (o *ForumTopicCommentUpdateRequest) HasContent() bool
HasContent returns a boolean if a field has been set.
func (ForumTopicCommentUpdateRequest) MarshalJSON ¶
func (o ForumTopicCommentUpdateRequest) MarshalJSON() ([]byte, error)
func (*ForumTopicCommentUpdateRequest) SetContent ¶
func (o *ForumTopicCommentUpdateRequest) SetContent(v string)
SetContent gets a reference to the given string and assigns it to the Content field.
func (ForumTopicCommentUpdateRequest) ToMap ¶
func (o ForumTopicCommentUpdateRequest) ToMap() (map[string]interface{}, error)
type ForumTopicCreate201Response ¶
type ForumTopicCreate201Response struct {
ForumTopic ForumTopic `json:"forumTopic"`
}
ForumTopicCreate201Response struct for ForumTopicCreate201Response
func NewForumTopicCreate201Response ¶
func NewForumTopicCreate201Response(forumTopic ForumTopic) *ForumTopicCreate201Response
NewForumTopicCreate201Response instantiates a new ForumTopicCreate201Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewForumTopicCreate201ResponseWithDefaults ¶
func NewForumTopicCreate201ResponseWithDefaults() *ForumTopicCreate201Response
NewForumTopicCreate201ResponseWithDefaults instantiates a new ForumTopicCreate201Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ForumTopicCreate201Response) GetForumTopic ¶
func (o *ForumTopicCreate201Response) GetForumTopic() ForumTopic
GetForumTopic returns the ForumTopic field value
func (*ForumTopicCreate201Response) GetForumTopicOk ¶
func (o *ForumTopicCreate201Response) GetForumTopicOk() (*ForumTopic, bool)
GetForumTopicOk returns a tuple with the ForumTopic field value and a boolean to check if the value has been set.
func (ForumTopicCreate201Response) MarshalJSON ¶
func (o ForumTopicCreate201Response) MarshalJSON() ([]byte, error)
func (*ForumTopicCreate201Response) SetForumTopic ¶
func (o *ForumTopicCreate201Response) SetForumTopic(v ForumTopic)
SetForumTopic sets field value
func (ForumTopicCreate201Response) ToMap ¶
func (o ForumTopicCreate201Response) ToMap() (map[string]interface{}, error)
func (*ForumTopicCreate201Response) UnmarshalJSON ¶
func (o *ForumTopicCreate201Response) UnmarshalJSON(data []byte) (err error)
type ForumTopicCreateRequest ¶
type ForumTopicCreateRequest struct { // The title of the forum topic Title string `json:"title"` Content Content2 `json:"content"` }
ForumTopicCreateRequest struct for ForumTopicCreateRequest
func NewForumTopicCreateRequest ¶
func NewForumTopicCreateRequest(title string, content Content2) *ForumTopicCreateRequest
NewForumTopicCreateRequest instantiates a new ForumTopicCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewForumTopicCreateRequestWithDefaults ¶
func NewForumTopicCreateRequestWithDefaults() *ForumTopicCreateRequest
NewForumTopicCreateRequestWithDefaults instantiates a new ForumTopicCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ForumTopicCreateRequest) GetContent ¶
func (o *ForumTopicCreateRequest) GetContent() Content2
GetContent returns the Content field value
func (*ForumTopicCreateRequest) GetContentOk ¶
func (o *ForumTopicCreateRequest) GetContentOk() (*Content2, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*ForumTopicCreateRequest) GetTitle ¶
func (o *ForumTopicCreateRequest) GetTitle() string
GetTitle returns the Title field value
func (*ForumTopicCreateRequest) GetTitleOk ¶
func (o *ForumTopicCreateRequest) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (ForumTopicCreateRequest) MarshalJSON ¶
func (o ForumTopicCreateRequest) MarshalJSON() ([]byte, error)
func (*ForumTopicCreateRequest) SetContent ¶
func (o *ForumTopicCreateRequest) SetContent(v Content2)
SetContent sets field value
func (*ForumTopicCreateRequest) SetTitle ¶
func (o *ForumTopicCreateRequest) SetTitle(v string)
SetTitle sets field value
func (ForumTopicCreateRequest) ToMap ¶
func (o ForumTopicCreateRequest) ToMap() (map[string]interface{}, error)
func (*ForumTopicCreateRequest) UnmarshalJSON ¶
func (o *ForumTopicCreateRequest) UnmarshalJSON(data []byte) (err error)
type ForumTopicReaction ¶
type ForumTopicReaction struct { // The ID of the channel ChannelId string `json:"channelId"` // The ID of the user who added the reaction CreatedBy string `json:"createdBy"` Emote Emote `json:"emote"` // The ID of the forum topic ForumTopicId int32 `json:"forumTopicId"` }
ForumTopicReaction struct for ForumTopicReaction
func NewForumTopicReaction ¶
func NewForumTopicReaction(channelId string, createdBy string, emote Emote, forumTopicId int32) *ForumTopicReaction
NewForumTopicReaction instantiates a new ForumTopicReaction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewForumTopicReactionWithDefaults ¶
func NewForumTopicReactionWithDefaults() *ForumTopicReaction
NewForumTopicReactionWithDefaults instantiates a new ForumTopicReaction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ForumTopicReaction) GetChannelId ¶
func (o *ForumTopicReaction) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*ForumTopicReaction) GetChannelIdOk ¶
func (o *ForumTopicReaction) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*ForumTopicReaction) GetCreatedBy ¶
func (o *ForumTopicReaction) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*ForumTopicReaction) GetCreatedByOk ¶
func (o *ForumTopicReaction) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*ForumTopicReaction) GetEmote ¶
func (o *ForumTopicReaction) GetEmote() Emote
GetEmote returns the Emote field value
func (*ForumTopicReaction) GetEmoteOk ¶
func (o *ForumTopicReaction) GetEmoteOk() (*Emote, bool)
GetEmoteOk returns a tuple with the Emote field value and a boolean to check if the value has been set.
func (*ForumTopicReaction) GetForumTopicId ¶
func (o *ForumTopicReaction) GetForumTopicId() int32
GetForumTopicId returns the ForumTopicId field value
func (*ForumTopicReaction) GetForumTopicIdOk ¶
func (o *ForumTopicReaction) GetForumTopicIdOk() (*int32, bool)
GetForumTopicIdOk returns a tuple with the ForumTopicId field value and a boolean to check if the value has been set.
func (ForumTopicReaction) MarshalJSON ¶
func (o ForumTopicReaction) MarshalJSON() ([]byte, error)
func (*ForumTopicReaction) SetChannelId ¶
func (o *ForumTopicReaction) SetChannelId(v string)
SetChannelId sets field value
func (*ForumTopicReaction) SetCreatedBy ¶
func (o *ForumTopicReaction) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*ForumTopicReaction) SetEmote ¶
func (o *ForumTopicReaction) SetEmote(v Emote)
SetEmote sets field value
func (*ForumTopicReaction) SetForumTopicId ¶
func (o *ForumTopicReaction) SetForumTopicId(v int32)
SetForumTopicId sets field value
func (ForumTopicReaction) ToMap ¶
func (o ForumTopicReaction) ToMap() (map[string]interface{}, error)
func (*ForumTopicReaction) UnmarshalJSON ¶
func (o *ForumTopicReaction) UnmarshalJSON(data []byte) (err error)
type ForumTopicReadMany200Response ¶
type ForumTopicReadMany200Response struct {
ForumTopics []ForumTopicSummary `json:"forumTopics"`
}
ForumTopicReadMany200Response struct for ForumTopicReadMany200Response
func NewForumTopicReadMany200Response ¶
func NewForumTopicReadMany200Response(forumTopics []ForumTopicSummary) *ForumTopicReadMany200Response
NewForumTopicReadMany200Response instantiates a new ForumTopicReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewForumTopicReadMany200ResponseWithDefaults ¶
func NewForumTopicReadMany200ResponseWithDefaults() *ForumTopicReadMany200Response
NewForumTopicReadMany200ResponseWithDefaults instantiates a new ForumTopicReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ForumTopicReadMany200Response) GetForumTopics ¶
func (o *ForumTopicReadMany200Response) GetForumTopics() []ForumTopicSummary
GetForumTopics returns the ForumTopics field value
func (*ForumTopicReadMany200Response) GetForumTopicsOk ¶
func (o *ForumTopicReadMany200Response) GetForumTopicsOk() ([]ForumTopicSummary, bool)
GetForumTopicsOk returns a tuple with the ForumTopics field value and a boolean to check if the value has been set.
func (ForumTopicReadMany200Response) MarshalJSON ¶
func (o ForumTopicReadMany200Response) MarshalJSON() ([]byte, error)
func (*ForumTopicReadMany200Response) SetForumTopics ¶
func (o *ForumTopicReadMany200Response) SetForumTopics(v []ForumTopicSummary)
SetForumTopics sets field value
func (ForumTopicReadMany200Response) ToMap ¶
func (o ForumTopicReadMany200Response) ToMap() (map[string]interface{}, error)
func (*ForumTopicReadMany200Response) UnmarshalJSON ¶
func (o *ForumTopicReadMany200Response) UnmarshalJSON(data []byte) (err error)
type ForumTopicSummary ¶
type ForumTopicSummary struct { // The ID of the forum topic Id int32 `json:"id"` // The ID of the server ServerId string `json:"serverId"` // The ID of the group GroupId string `json:"groupId"` // The ID of the channel ChannelId string `json:"channelId"` // The title of the forum topic Title string `json:"title"` // The ISO 8601 timestamp that the forum topic was created at CreatedAt time.Time `json:"createdAt"` // The ID of the user who created this forum topic (Note: If this event has `createdByWebhookId` present, this field will still be populated, but can be ignored. In this case, the value of this field will always be Ann6LewA) CreatedBy string `json:"createdBy"` // The ISO 8601 timestamp that the forum topic was updated at, if relevant UpdatedAt *time.Time `json:"updatedAt,omitempty"` // The ISO 8601 timestamp that the forum topic was bumped at. This timestamp is updated whenever there is any activity on the posts within the forum topic. BumpedAt *time.Time `json:"bumpedAt,omitempty"` IsPinned *bool `json:"isPinned,omitempty"` IsLocked *bool `json:"isLocked,omitempty"` }
ForumTopicSummary struct for ForumTopicSummary
func NewForumTopicSummary ¶
func NewForumTopicSummary(id int32, serverId string, groupId string, channelId string, title string, createdAt time.Time, createdBy string) *ForumTopicSummary
NewForumTopicSummary instantiates a new ForumTopicSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewForumTopicSummaryWithDefaults ¶
func NewForumTopicSummaryWithDefaults() *ForumTopicSummary
NewForumTopicSummaryWithDefaults instantiates a new ForumTopicSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ForumTopicSummary) GetBumpedAt ¶
func (o *ForumTopicSummary) GetBumpedAt() time.Time
GetBumpedAt returns the BumpedAt field value if set, zero value otherwise.
func (*ForumTopicSummary) GetBumpedAtOk ¶
func (o *ForumTopicSummary) GetBumpedAtOk() (*time.Time, bool)
GetBumpedAtOk returns a tuple with the BumpedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ForumTopicSummary) GetChannelId ¶
func (o *ForumTopicSummary) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*ForumTopicSummary) GetChannelIdOk ¶
func (o *ForumTopicSummary) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*ForumTopicSummary) GetCreatedAt ¶
func (o *ForumTopicSummary) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*ForumTopicSummary) GetCreatedAtOk ¶
func (o *ForumTopicSummary) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ForumTopicSummary) GetCreatedBy ¶
func (o *ForumTopicSummary) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*ForumTopicSummary) GetCreatedByOk ¶
func (o *ForumTopicSummary) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*ForumTopicSummary) GetGroupId ¶
func (o *ForumTopicSummary) GetGroupId() string
GetGroupId returns the GroupId field value
func (*ForumTopicSummary) GetGroupIdOk ¶
func (o *ForumTopicSummary) GetGroupIdOk() (*string, bool)
GetGroupIdOk returns a tuple with the GroupId field value and a boolean to check if the value has been set.
func (*ForumTopicSummary) GetId ¶
func (o *ForumTopicSummary) GetId() int32
GetId returns the Id field value
func (*ForumTopicSummary) GetIdOk ¶
func (o *ForumTopicSummary) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ForumTopicSummary) GetIsLocked ¶
func (o *ForumTopicSummary) GetIsLocked() bool
GetIsLocked returns the IsLocked field value if set, zero value otherwise.
func (*ForumTopicSummary) GetIsLockedOk ¶
func (o *ForumTopicSummary) GetIsLockedOk() (*bool, bool)
GetIsLockedOk returns a tuple with the IsLocked field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ForumTopicSummary) GetIsPinned ¶
func (o *ForumTopicSummary) GetIsPinned() bool
GetIsPinned returns the IsPinned field value if set, zero value otherwise.
func (*ForumTopicSummary) GetIsPinnedOk ¶
func (o *ForumTopicSummary) GetIsPinnedOk() (*bool, bool)
GetIsPinnedOk returns a tuple with the IsPinned field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ForumTopicSummary) GetServerId ¶
func (o *ForumTopicSummary) GetServerId() string
GetServerId returns the ServerId field value
func (*ForumTopicSummary) GetServerIdOk ¶
func (o *ForumTopicSummary) GetServerIdOk() (*string, bool)
GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.
func (*ForumTopicSummary) GetTitle ¶
func (o *ForumTopicSummary) GetTitle() string
GetTitle returns the Title field value
func (*ForumTopicSummary) GetTitleOk ¶
func (o *ForumTopicSummary) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*ForumTopicSummary) GetUpdatedAt ¶
func (o *ForumTopicSummary) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ForumTopicSummary) GetUpdatedAtOk ¶
func (o *ForumTopicSummary) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ForumTopicSummary) HasBumpedAt ¶
func (o *ForumTopicSummary) HasBumpedAt() bool
HasBumpedAt returns a boolean if a field has been set.
func (*ForumTopicSummary) HasIsLocked ¶
func (o *ForumTopicSummary) HasIsLocked() bool
HasIsLocked returns a boolean if a field has been set.
func (*ForumTopicSummary) HasIsPinned ¶
func (o *ForumTopicSummary) HasIsPinned() bool
HasIsPinned returns a boolean if a field has been set.
func (*ForumTopicSummary) HasUpdatedAt ¶
func (o *ForumTopicSummary) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (ForumTopicSummary) MarshalJSON ¶
func (o ForumTopicSummary) MarshalJSON() ([]byte, error)
func (*ForumTopicSummary) SetBumpedAt ¶
func (o *ForumTopicSummary) SetBumpedAt(v time.Time)
SetBumpedAt gets a reference to the given time.Time and assigns it to the BumpedAt field.
func (*ForumTopicSummary) SetChannelId ¶
func (o *ForumTopicSummary) SetChannelId(v string)
SetChannelId sets field value
func (*ForumTopicSummary) SetCreatedAt ¶
func (o *ForumTopicSummary) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*ForumTopicSummary) SetCreatedBy ¶
func (o *ForumTopicSummary) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*ForumTopicSummary) SetGroupId ¶
func (o *ForumTopicSummary) SetGroupId(v string)
SetGroupId sets field value
func (*ForumTopicSummary) SetIsLocked ¶
func (o *ForumTopicSummary) SetIsLocked(v bool)
SetIsLocked gets a reference to the given bool and assigns it to the IsLocked field.
func (*ForumTopicSummary) SetIsPinned ¶
func (o *ForumTopicSummary) SetIsPinned(v bool)
SetIsPinned gets a reference to the given bool and assigns it to the IsPinned field.
func (*ForumTopicSummary) SetServerId ¶
func (o *ForumTopicSummary) SetServerId(v string)
SetServerId sets field value
func (*ForumTopicSummary) SetTitle ¶
func (o *ForumTopicSummary) SetTitle(v string)
SetTitle sets field value
func (*ForumTopicSummary) SetUpdatedAt ¶
func (o *ForumTopicSummary) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (ForumTopicSummary) ToMap ¶
func (o ForumTopicSummary) ToMap() (map[string]interface{}, error)
func (*ForumTopicSummary) UnmarshalJSON ¶
func (o *ForumTopicSummary) UnmarshalJSON(data []byte) (err error)
type ForumTopicUpdateRequest ¶
type ForumTopicUpdateRequest struct { // The title of the forum topic Title *string `json:"title,omitempty"` // The content of the forum topic Content *string `json:"content,omitempty"` }
ForumTopicUpdateRequest struct for ForumTopicUpdateRequest
func NewForumTopicUpdateRequest ¶
func NewForumTopicUpdateRequest() *ForumTopicUpdateRequest
NewForumTopicUpdateRequest instantiates a new ForumTopicUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewForumTopicUpdateRequestWithDefaults ¶
func NewForumTopicUpdateRequestWithDefaults() *ForumTopicUpdateRequest
NewForumTopicUpdateRequestWithDefaults instantiates a new ForumTopicUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ForumTopicUpdateRequest) GetContent ¶
func (o *ForumTopicUpdateRequest) GetContent() string
GetContent returns the Content field value if set, zero value otherwise.
func (*ForumTopicUpdateRequest) GetContentOk ¶
func (o *ForumTopicUpdateRequest) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ForumTopicUpdateRequest) GetTitle ¶
func (o *ForumTopicUpdateRequest) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*ForumTopicUpdateRequest) GetTitleOk ¶
func (o *ForumTopicUpdateRequest) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ForumTopicUpdateRequest) HasContent ¶
func (o *ForumTopicUpdateRequest) HasContent() bool
HasContent returns a boolean if a field has been set.
func (*ForumTopicUpdateRequest) HasTitle ¶
func (o *ForumTopicUpdateRequest) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (ForumTopicUpdateRequest) MarshalJSON ¶
func (o ForumTopicUpdateRequest) MarshalJSON() ([]byte, error)
func (*ForumTopicUpdateRequest) SetContent ¶
func (o *ForumTopicUpdateRequest) SetContent(v string)
SetContent gets a reference to the given string and assigns it to the Content field.
func (*ForumTopicUpdateRequest) SetTitle ¶
func (o *ForumTopicUpdateRequest) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (ForumTopicUpdateRequest) ToMap ¶
func (o ForumTopicUpdateRequest) ToMap() (map[string]interface{}, error)
type ForumsAPI ¶
type ForumsAPI interface { /* ForumTopicCreate Create a topic in a forum @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return ForumsAPIForumTopicCreateRequest */ ForumTopicCreate(ctx context.Context, channelId string) ForumsAPIForumTopicCreateRequest // ForumTopicCreateExecute executes the request // @return ForumTopicCreate201Response ForumTopicCreateExecute(r ForumsAPIForumTopicCreateRequest) (*ForumTopicCreate201Response, *http.Response, error) /* ForumTopicDelete Delete a forum topic @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @return ForumsAPIForumTopicDeleteRequest */ ForumTopicDelete(ctx context.Context, channelId string, forumTopicId int32) ForumsAPIForumTopicDeleteRequest // ForumTopicDeleteExecute executes the request ForumTopicDeleteExecute(r ForumsAPIForumTopicDeleteRequest) (*http.Response, error) /* ForumTopicLock Lock a forum topic @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @return ForumsAPIForumTopicLockRequest */ ForumTopicLock(ctx context.Context, channelId string, forumTopicId int32) ForumsAPIForumTopicLockRequest // ForumTopicLockExecute executes the request ForumTopicLockExecute(r ForumsAPIForumTopicLockRequest) (*http.Response, error) /* ForumTopicPin Pin a forum topic @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @return ForumsAPIForumTopicPinRequest */ ForumTopicPin(ctx context.Context, channelId string, forumTopicId int32) ForumsAPIForumTopicPinRequest // ForumTopicPinExecute executes the request ForumTopicPinExecute(r ForumsAPIForumTopicPinRequest) (*http.Response, error) /* ForumTopicRead Get a forum topic @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @return ForumsAPIForumTopicReadRequest */ ForumTopicRead(ctx context.Context, channelId string, forumTopicId int32) ForumsAPIForumTopicReadRequest // ForumTopicReadExecute executes the request // @return ForumTopicCreate201Response ForumTopicReadExecute(r ForumsAPIForumTopicReadRequest) (*ForumTopicCreate201Response, *http.Response, error) /* ForumTopicReadMany Get forum topics @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return ForumsAPIForumTopicReadManyRequest */ ForumTopicReadMany(ctx context.Context, channelId string) ForumsAPIForumTopicReadManyRequest // ForumTopicReadManyExecute executes the request // @return ForumTopicReadMany200Response ForumTopicReadManyExecute(r ForumsAPIForumTopicReadManyRequest) (*ForumTopicReadMany200Response, *http.Response, error) /* ForumTopicUnlock Unlock a forum topic @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @return ForumsAPIForumTopicUnlockRequest */ ForumTopicUnlock(ctx context.Context, channelId string, forumTopicId int32) ForumsAPIForumTopicUnlockRequest // ForumTopicUnlockExecute executes the request ForumTopicUnlockExecute(r ForumsAPIForumTopicUnlockRequest) (*http.Response, error) /* ForumTopicUnpin Unpin a forum topic @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @return ForumsAPIForumTopicUnpinRequest */ ForumTopicUnpin(ctx context.Context, channelId string, forumTopicId int32) ForumsAPIForumTopicUnpinRequest // ForumTopicUnpinExecute executes the request ForumTopicUnpinExecute(r ForumsAPIForumTopicUnpinRequest) (*http.Response, error) /* ForumTopicUpdate Update a forum topic @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @return ForumsAPIForumTopicUpdateRequest */ ForumTopicUpdate(ctx context.Context, channelId string, forumTopicId int32) ForumsAPIForumTopicUpdateRequest // ForumTopicUpdateExecute executes the request // @return ForumTopicCreate201Response ForumTopicUpdateExecute(r ForumsAPIForumTopicUpdateRequest) (*ForumTopicCreate201Response, *http.Response, error) }
type ForumsAPIForumTopicCreateRequest ¶
type ForumsAPIForumTopicCreateRequest struct { ApiService ForumsAPI // contains filtered or unexported fields }
func (ForumsAPIForumTopicCreateRequest) Execute ¶
func (r ForumsAPIForumTopicCreateRequest) Execute() (*ForumTopicCreate201Response, *http.Response, error)
func (ForumsAPIForumTopicCreateRequest) ForumTopicCreateRequest ¶
func (r ForumsAPIForumTopicCreateRequest) ForumTopicCreateRequest(forumTopicCreateRequest ForumTopicCreateRequest) ForumsAPIForumTopicCreateRequest
type ForumsAPIForumTopicDeleteRequest ¶
type ForumsAPIForumTopicDeleteRequest struct { ApiService ForumsAPI // contains filtered or unexported fields }
type ForumsAPIForumTopicLockRequest ¶
type ForumsAPIForumTopicLockRequest struct { ApiService ForumsAPI // contains filtered or unexported fields }
type ForumsAPIForumTopicPinRequest ¶
type ForumsAPIForumTopicPinRequest struct { ApiService ForumsAPI // contains filtered or unexported fields }
type ForumsAPIForumTopicReadManyRequest ¶
type ForumsAPIForumTopicReadManyRequest struct { ApiService ForumsAPI // contains filtered or unexported fields }
func (ForumsAPIForumTopicReadManyRequest) Before ¶
func (r ForumsAPIForumTopicReadManyRequest) Before(before time.Time) ForumsAPIForumTopicReadManyRequest
func (ForumsAPIForumTopicReadManyRequest) Execute ¶
func (r ForumsAPIForumTopicReadManyRequest) Execute() (*ForumTopicReadMany200Response, *http.Response, error)
func (ForumsAPIForumTopicReadManyRequest) Limit ¶
func (r ForumsAPIForumTopicReadManyRequest) Limit(limit int32) ForumsAPIForumTopicReadManyRequest
type ForumsAPIForumTopicReadRequest ¶
type ForumsAPIForumTopicReadRequest struct { ApiService ForumsAPI // contains filtered or unexported fields }
func (ForumsAPIForumTopicReadRequest) Execute ¶
func (r ForumsAPIForumTopicReadRequest) Execute() (*ForumTopicCreate201Response, *http.Response, error)
type ForumsAPIForumTopicUnlockRequest ¶
type ForumsAPIForumTopicUnlockRequest struct { ApiService ForumsAPI // contains filtered or unexported fields }
type ForumsAPIForumTopicUnpinRequest ¶
type ForumsAPIForumTopicUnpinRequest struct { ApiService ForumsAPI // contains filtered or unexported fields }
type ForumsAPIForumTopicUpdateRequest ¶
type ForumsAPIForumTopicUpdateRequest struct { ApiService ForumsAPI // contains filtered or unexported fields }
func (ForumsAPIForumTopicUpdateRequest) Execute ¶
func (r ForumsAPIForumTopicUpdateRequest) Execute() (*ForumTopicCreate201Response, *http.Response, error)
func (ForumsAPIForumTopicUpdateRequest) ForumTopicUpdateRequest ¶
func (r ForumsAPIForumTopicUpdateRequest) ForumTopicUpdateRequest(forumTopicUpdateRequest ForumTopicUpdateRequest) ForumsAPIForumTopicUpdateRequest
type ForumsAPIService ¶
type ForumsAPIService service
ForumsAPIService ForumsAPI service
func (*ForumsAPIService) ForumTopicCreate ¶
func (a *ForumsAPIService) ForumTopicCreate(ctx context.Context, channelId string) ForumsAPIForumTopicCreateRequest
ForumTopicCreate Create a topic in a forum
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return ForumsAPIForumTopicCreateRequest
func (*ForumsAPIService) ForumTopicCreateExecute ¶
func (a *ForumsAPIService) ForumTopicCreateExecute(r ForumsAPIForumTopicCreateRequest) (*ForumTopicCreate201Response, *http.Response, error)
Execute executes the request
@return ForumTopicCreate201Response
func (*ForumsAPIService) ForumTopicDelete ¶
func (a *ForumsAPIService) ForumTopicDelete(ctx context.Context, channelId string, forumTopicId int32) ForumsAPIForumTopicDeleteRequest
ForumTopicDelete Delete a forum topic
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @return ForumsAPIForumTopicDeleteRequest
func (*ForumsAPIService) ForumTopicDeleteExecute ¶
func (a *ForumsAPIService) ForumTopicDeleteExecute(r ForumsAPIForumTopicDeleteRequest) (*http.Response, error)
Execute executes the request
func (*ForumsAPIService) ForumTopicLock ¶
func (a *ForumsAPIService) ForumTopicLock(ctx context.Context, channelId string, forumTopicId int32) ForumsAPIForumTopicLockRequest
ForumTopicLock Lock a forum topic
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @return ForumsAPIForumTopicLockRequest
func (*ForumsAPIService) ForumTopicLockExecute ¶
func (a *ForumsAPIService) ForumTopicLockExecute(r ForumsAPIForumTopicLockRequest) (*http.Response, error)
Execute executes the request
func (*ForumsAPIService) ForumTopicPin ¶
func (a *ForumsAPIService) ForumTopicPin(ctx context.Context, channelId string, forumTopicId int32) ForumsAPIForumTopicPinRequest
ForumTopicPin Pin a forum topic
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @return ForumsAPIForumTopicPinRequest
func (*ForumsAPIService) ForumTopicPinExecute ¶
func (a *ForumsAPIService) ForumTopicPinExecute(r ForumsAPIForumTopicPinRequest) (*http.Response, error)
Execute executes the request
func (*ForumsAPIService) ForumTopicRead ¶
func (a *ForumsAPIService) ForumTopicRead(ctx context.Context, channelId string, forumTopicId int32) ForumsAPIForumTopicReadRequest
ForumTopicRead Get a forum topic
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @return ForumsAPIForumTopicReadRequest
func (*ForumsAPIService) ForumTopicReadExecute ¶
func (a *ForumsAPIService) ForumTopicReadExecute(r ForumsAPIForumTopicReadRequest) (*ForumTopicCreate201Response, *http.Response, error)
Execute executes the request
@return ForumTopicCreate201Response
func (*ForumsAPIService) ForumTopicReadMany ¶
func (a *ForumsAPIService) ForumTopicReadMany(ctx context.Context, channelId string) ForumsAPIForumTopicReadManyRequest
ForumTopicReadMany Get forum topics
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return ForumsAPIForumTopicReadManyRequest
func (*ForumsAPIService) ForumTopicReadManyExecute ¶
func (a *ForumsAPIService) ForumTopicReadManyExecute(r ForumsAPIForumTopicReadManyRequest) (*ForumTopicReadMany200Response, *http.Response, error)
Execute executes the request
@return ForumTopicReadMany200Response
func (*ForumsAPIService) ForumTopicUnlock ¶
func (a *ForumsAPIService) ForumTopicUnlock(ctx context.Context, channelId string, forumTopicId int32) ForumsAPIForumTopicUnlockRequest
ForumTopicUnlock Unlock a forum topic
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @return ForumsAPIForumTopicUnlockRequest
func (*ForumsAPIService) ForumTopicUnlockExecute ¶
func (a *ForumsAPIService) ForumTopicUnlockExecute(r ForumsAPIForumTopicUnlockRequest) (*http.Response, error)
Execute executes the request
func (*ForumsAPIService) ForumTopicUnpin ¶
func (a *ForumsAPIService) ForumTopicUnpin(ctx context.Context, channelId string, forumTopicId int32) ForumsAPIForumTopicUnpinRequest
ForumTopicUnpin Unpin a forum topic
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @return ForumsAPIForumTopicUnpinRequest
func (*ForumsAPIService) ForumTopicUnpinExecute ¶
func (a *ForumsAPIService) ForumTopicUnpinExecute(r ForumsAPIForumTopicUnpinRequest) (*http.Response, error)
Execute executes the request
func (*ForumsAPIService) ForumTopicUpdate ¶
func (a *ForumsAPIService) ForumTopicUpdate(ctx context.Context, channelId string, forumTopicId int32) ForumsAPIForumTopicUpdateRequest
ForumTopicUpdate Update a forum topic
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param forumTopicId @return ForumsAPIForumTopicUpdateRequest
func (*ForumsAPIService) ForumTopicUpdateExecute ¶
func (a *ForumsAPIService) ForumTopicUpdateExecute(r ForumsAPIForumTopicUpdateRequest) (*ForumTopicCreate201Response, *http.Response, error)
Execute executes the request
@return ForumTopicCreate201Response
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type Group ¶
type Group struct { // The ID of the group Id string `json:"id"` // The ID of the server ServerId string `json:"serverId"` // The name of the group Name string `json:"name"` // The description associated with the group Description *string `json:"description,omitempty"` // The avatar image associated with the group Avatar *string `json:"avatar,omitempty"` // If `true`, this is the server's home group IsHome *bool `json:"isHome,omitempty"` // The emote to associate with the group EmoteId *int32 `json:"emoteId,omitempty"` // Is this group open for anyone to join? IsPublic *bool `json:"isPublic,omitempty"` // The ISO 8601 timestamp that the group was created at CreatedAt time.Time `json:"createdAt"` // The ID of the user who created this group CreatedBy string `json:"createdBy"` // The ISO 8601 timestamp that the group was updated at, if relevant UpdatedAt *time.Time `json:"updatedAt,omitempty"` // The ID of the user who updated this group UpdatedBy *string `json:"updatedBy,omitempty"` // The ISO 8601 timestamp that the group was archived at, if relevant ArchivedAt *time.Time `json:"archivedAt,omitempty"` // The ID of the user who archived this group ArchivedBy *string `json:"archivedBy,omitempty"` }
Group struct for Group
func NewGroup ¶
func NewGroup(id string, serverId string, name string, createdAt time.Time, createdBy string) *Group
NewGroup instantiates a new Group object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGroupWithDefaults ¶
func NewGroupWithDefaults() *Group
NewGroupWithDefaults instantiates a new Group object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Group) GetArchivedAt ¶
GetArchivedAt returns the ArchivedAt field value if set, zero value otherwise.
func (*Group) GetArchivedAtOk ¶
GetArchivedAtOk returns a tuple with the ArchivedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Group) GetArchivedBy ¶
GetArchivedBy returns the ArchivedBy field value if set, zero value otherwise.
func (*Group) GetArchivedByOk ¶
GetArchivedByOk returns a tuple with the ArchivedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Group) GetAvatarOk ¶
GetAvatarOk returns a tuple with the Avatar field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Group) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Group) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Group) GetCreatedBy ¶
GetCreatedBy returns the CreatedBy field value
func (*Group) GetCreatedByOk ¶
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*Group) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Group) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Group) GetEmoteId ¶
GetEmoteId returns the EmoteId field value if set, zero value otherwise.
func (*Group) GetEmoteIdOk ¶
GetEmoteIdOk returns a tuple with the EmoteId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Group) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Group) GetIsHomeOk ¶
GetIsHomeOk returns a tuple with the IsHome field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Group) GetIsPublic ¶
GetIsPublic returns the IsPublic field value if set, zero value otherwise.
func (*Group) GetIsPublicOk ¶
GetIsPublicOk returns a tuple with the IsPublic field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Group) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Group) GetServerId ¶
GetServerId returns the ServerId field value
func (*Group) GetServerIdOk ¶
GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.
func (*Group) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Group) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Group) GetUpdatedBy ¶
GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise.
func (*Group) GetUpdatedByOk ¶
GetUpdatedByOk returns a tuple with the UpdatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Group) HasArchivedAt ¶
HasArchivedAt returns a boolean if a field has been set.
func (*Group) HasArchivedBy ¶
HasArchivedBy returns a boolean if a field has been set.
func (*Group) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Group) HasEmoteId ¶
HasEmoteId returns a boolean if a field has been set.
func (*Group) HasIsPublic ¶
HasIsPublic returns a boolean if a field has been set.
func (*Group) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (*Group) HasUpdatedBy ¶
HasUpdatedBy returns a boolean if a field has been set.
func (Group) MarshalJSON ¶
func (*Group) SetArchivedAt ¶
SetArchivedAt gets a reference to the given time.Time and assigns it to the ArchivedAt field.
func (*Group) SetArchivedBy ¶
SetArchivedBy gets a reference to the given string and assigns it to the ArchivedBy field.
func (*Group) SetAvatar ¶
SetAvatar gets a reference to the given string and assigns it to the Avatar field.
func (*Group) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Group) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Group) SetEmoteId ¶
SetEmoteId gets a reference to the given int32 and assigns it to the EmoteId field.
func (*Group) SetIsHome ¶
SetIsHome gets a reference to the given bool and assigns it to the IsHome field.
func (*Group) SetIsPublic ¶
SetIsPublic gets a reference to the given bool and assigns it to the IsPublic field.
func (*Group) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Group) SetUpdatedBy ¶
SetUpdatedBy gets a reference to the given string and assigns it to the UpdatedBy field.
func (*Group) UnmarshalJSON ¶
type GroupCreate201Response ¶
type GroupCreate201Response struct {
Group Group `json:"group"`
}
GroupCreate201Response struct for GroupCreate201Response
func NewGroupCreate201Response ¶
func NewGroupCreate201Response(group Group) *GroupCreate201Response
NewGroupCreate201Response instantiates a new GroupCreate201Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGroupCreate201ResponseWithDefaults ¶
func NewGroupCreate201ResponseWithDefaults() *GroupCreate201Response
NewGroupCreate201ResponseWithDefaults instantiates a new GroupCreate201Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GroupCreate201Response) GetGroup ¶
func (o *GroupCreate201Response) GetGroup() Group
GetGroup returns the Group field value
func (*GroupCreate201Response) GetGroupOk ¶
func (o *GroupCreate201Response) GetGroupOk() (*Group, bool)
GetGroupOk returns a tuple with the Group field value and a boolean to check if the value has been set.
func (GroupCreate201Response) MarshalJSON ¶
func (o GroupCreate201Response) MarshalJSON() ([]byte, error)
func (*GroupCreate201Response) SetGroup ¶
func (o *GroupCreate201Response) SetGroup(v Group)
SetGroup sets field value
func (GroupCreate201Response) ToMap ¶
func (o GroupCreate201Response) ToMap() (map[string]interface{}, error)
func (*GroupCreate201Response) UnmarshalJSON ¶
func (o *GroupCreate201Response) UnmarshalJSON(data []byte) (err error)
type GroupCreateRequest ¶
type GroupCreateRequest struct { // The name of the group Name string `json:"name"` // The description associated with the group Description *string `json:"description,omitempty"` // The emote to associate with the group EmoteId *int32 `json:"emoteId,omitempty"` // Is this group open for anyone to join? IsPublic *bool `json:"isPublic,omitempty"` }
GroupCreateRequest struct for GroupCreateRequest
func NewGroupCreateRequest ¶
func NewGroupCreateRequest(name string) *GroupCreateRequest
NewGroupCreateRequest instantiates a new GroupCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGroupCreateRequestWithDefaults ¶
func NewGroupCreateRequestWithDefaults() *GroupCreateRequest
NewGroupCreateRequestWithDefaults instantiates a new GroupCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GroupCreateRequest) GetDescription ¶
func (o *GroupCreateRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*GroupCreateRequest) GetDescriptionOk ¶
func (o *GroupCreateRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GroupCreateRequest) GetEmoteId ¶
func (o *GroupCreateRequest) GetEmoteId() int32
GetEmoteId returns the EmoteId field value if set, zero value otherwise.
func (*GroupCreateRequest) GetEmoteIdOk ¶
func (o *GroupCreateRequest) GetEmoteIdOk() (*int32, bool)
GetEmoteIdOk returns a tuple with the EmoteId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GroupCreateRequest) GetIsPublic ¶
func (o *GroupCreateRequest) GetIsPublic() bool
GetIsPublic returns the IsPublic field value if set, zero value otherwise.
func (*GroupCreateRequest) GetIsPublicOk ¶
func (o *GroupCreateRequest) GetIsPublicOk() (*bool, bool)
GetIsPublicOk returns a tuple with the IsPublic field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GroupCreateRequest) GetName ¶
func (o *GroupCreateRequest) GetName() string
GetName returns the Name field value
func (*GroupCreateRequest) GetNameOk ¶
func (o *GroupCreateRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*GroupCreateRequest) HasDescription ¶
func (o *GroupCreateRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*GroupCreateRequest) HasEmoteId ¶
func (o *GroupCreateRequest) HasEmoteId() bool
HasEmoteId returns a boolean if a field has been set.
func (*GroupCreateRequest) HasIsPublic ¶
func (o *GroupCreateRequest) HasIsPublic() bool
HasIsPublic returns a boolean if a field has been set.
func (GroupCreateRequest) MarshalJSON ¶
func (o GroupCreateRequest) MarshalJSON() ([]byte, error)
func (*GroupCreateRequest) SetDescription ¶
func (o *GroupCreateRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*GroupCreateRequest) SetEmoteId ¶
func (o *GroupCreateRequest) SetEmoteId(v int32)
SetEmoteId gets a reference to the given int32 and assigns it to the EmoteId field.
func (*GroupCreateRequest) SetIsPublic ¶
func (o *GroupCreateRequest) SetIsPublic(v bool)
SetIsPublic gets a reference to the given bool and assigns it to the IsPublic field.
func (*GroupCreateRequest) SetName ¶
func (o *GroupCreateRequest) SetName(v string)
SetName sets field value
func (GroupCreateRequest) ToMap ¶
func (o GroupCreateRequest) ToMap() (map[string]interface{}, error)
func (*GroupCreateRequest) UnmarshalJSON ¶
func (o *GroupCreateRequest) UnmarshalJSON(data []byte) (err error)
type GroupMembershipAPI ¶
type GroupMembershipAPI interface { /* GroupMembershipCreate Add member to group @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param groupId Group ID to add the member to @param userId Member ID to add to the group @return GroupMembershipAPIGroupMembershipCreateRequest */ GroupMembershipCreate(ctx context.Context, groupId string, userId UserID) GroupMembershipAPIGroupMembershipCreateRequest // GroupMembershipCreateExecute executes the request GroupMembershipCreateExecute(r GroupMembershipAPIGroupMembershipCreateRequest) (*http.Response, error) /* GroupMembershipDelete Remove member from group @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param groupId Group ID to remove the member from @param userId Member ID to remove from the group @return GroupMembershipAPIGroupMembershipDeleteRequest */ GroupMembershipDelete(ctx context.Context, groupId string, userId UserID) GroupMembershipAPIGroupMembershipDeleteRequest // GroupMembershipDeleteExecute executes the request GroupMembershipDeleteExecute(r GroupMembershipAPIGroupMembershipDeleteRequest) (*http.Response, error) }
type GroupMembershipAPIGroupMembershipCreateRequest ¶
type GroupMembershipAPIGroupMembershipCreateRequest struct { ApiService GroupMembershipAPI // contains filtered or unexported fields }
type GroupMembershipAPIGroupMembershipDeleteRequest ¶
type GroupMembershipAPIGroupMembershipDeleteRequest struct { ApiService GroupMembershipAPI // contains filtered or unexported fields }
type GroupMembershipAPIService ¶
type GroupMembershipAPIService service
GroupMembershipAPIService GroupMembershipAPI service
func (*GroupMembershipAPIService) GroupMembershipCreate ¶
func (a *GroupMembershipAPIService) GroupMembershipCreate(ctx context.Context, groupId string, userId UserID) GroupMembershipAPIGroupMembershipCreateRequest
GroupMembershipCreate Add member to group
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param groupId Group ID to add the member to @param userId Member ID to add to the group @return GroupMembershipAPIGroupMembershipCreateRequest
func (*GroupMembershipAPIService) GroupMembershipCreateExecute ¶
func (a *GroupMembershipAPIService) GroupMembershipCreateExecute(r GroupMembershipAPIGroupMembershipCreateRequest) (*http.Response, error)
Execute executes the request
func (*GroupMembershipAPIService) GroupMembershipDelete ¶
func (a *GroupMembershipAPIService) GroupMembershipDelete(ctx context.Context, groupId string, userId UserID) GroupMembershipAPIGroupMembershipDeleteRequest
GroupMembershipDelete Remove member from group
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param groupId Group ID to remove the member from @param userId Member ID to remove from the group @return GroupMembershipAPIGroupMembershipDeleteRequest
func (*GroupMembershipAPIService) GroupMembershipDeleteExecute ¶
func (a *GroupMembershipAPIService) GroupMembershipDeleteExecute(r GroupMembershipAPIGroupMembershipDeleteRequest) (*http.Response, error)
Execute executes the request
type GroupReadMany200Response ¶
type GroupReadMany200Response struct {
Groups []Group `json:"groups"`
}
GroupReadMany200Response struct for GroupReadMany200Response
func NewGroupReadMany200Response ¶
func NewGroupReadMany200Response(groups []Group) *GroupReadMany200Response
NewGroupReadMany200Response instantiates a new GroupReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGroupReadMany200ResponseWithDefaults ¶
func NewGroupReadMany200ResponseWithDefaults() *GroupReadMany200Response
NewGroupReadMany200ResponseWithDefaults instantiates a new GroupReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GroupReadMany200Response) GetGroups ¶
func (o *GroupReadMany200Response) GetGroups() []Group
GetGroups returns the Groups field value
func (*GroupReadMany200Response) GetGroupsOk ¶
func (o *GroupReadMany200Response) GetGroupsOk() ([]Group, bool)
GetGroupsOk returns a tuple with the Groups field value and a boolean to check if the value has been set.
func (GroupReadMany200Response) MarshalJSON ¶
func (o GroupReadMany200Response) MarshalJSON() ([]byte, error)
func (*GroupReadMany200Response) SetGroups ¶
func (o *GroupReadMany200Response) SetGroups(v []Group)
SetGroups sets field value
func (GroupReadMany200Response) ToMap ¶
func (o GroupReadMany200Response) ToMap() (map[string]interface{}, error)
func (*GroupReadMany200Response) UnmarshalJSON ¶
func (o *GroupReadMany200Response) UnmarshalJSON(data []byte) (err error)
type GroupUpdateRequest ¶
type GroupUpdateRequest struct { // The name of the group Name *string `json:"name,omitempty"` // The description associated with the group **Note** - this property cannot be modified on a home group Description *string `json:"description,omitempty"` // The emote to associate with the group EmoteId *int32 `json:"emoteId,omitempty"` // Is this group open for anyone to join? **Note** - this property cannot be modified on a home group IsPublic *bool `json:"isPublic,omitempty"` }
GroupUpdateRequest struct for GroupUpdateRequest
func NewGroupUpdateRequest ¶
func NewGroupUpdateRequest() *GroupUpdateRequest
NewGroupUpdateRequest instantiates a new GroupUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGroupUpdateRequestWithDefaults ¶
func NewGroupUpdateRequestWithDefaults() *GroupUpdateRequest
NewGroupUpdateRequestWithDefaults instantiates a new GroupUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GroupUpdateRequest) GetDescription ¶
func (o *GroupUpdateRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*GroupUpdateRequest) GetDescriptionOk ¶
func (o *GroupUpdateRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GroupUpdateRequest) GetEmoteId ¶
func (o *GroupUpdateRequest) GetEmoteId() int32
GetEmoteId returns the EmoteId field value if set, zero value otherwise.
func (*GroupUpdateRequest) GetEmoteIdOk ¶
func (o *GroupUpdateRequest) GetEmoteIdOk() (*int32, bool)
GetEmoteIdOk returns a tuple with the EmoteId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GroupUpdateRequest) GetIsPublic ¶
func (o *GroupUpdateRequest) GetIsPublic() bool
GetIsPublic returns the IsPublic field value if set, zero value otherwise.
func (*GroupUpdateRequest) GetIsPublicOk ¶
func (o *GroupUpdateRequest) GetIsPublicOk() (*bool, bool)
GetIsPublicOk returns a tuple with the IsPublic field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GroupUpdateRequest) GetName ¶
func (o *GroupUpdateRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*GroupUpdateRequest) GetNameOk ¶
func (o *GroupUpdateRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GroupUpdateRequest) HasDescription ¶
func (o *GroupUpdateRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*GroupUpdateRequest) HasEmoteId ¶
func (o *GroupUpdateRequest) HasEmoteId() bool
HasEmoteId returns a boolean if a field has been set.
func (*GroupUpdateRequest) HasIsPublic ¶
func (o *GroupUpdateRequest) HasIsPublic() bool
HasIsPublic returns a boolean if a field has been set.
func (*GroupUpdateRequest) HasName ¶
func (o *GroupUpdateRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (GroupUpdateRequest) MarshalJSON ¶
func (o GroupUpdateRequest) MarshalJSON() ([]byte, error)
func (*GroupUpdateRequest) SetDescription ¶
func (o *GroupUpdateRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*GroupUpdateRequest) SetEmoteId ¶
func (o *GroupUpdateRequest) SetEmoteId(v int32)
SetEmoteId gets a reference to the given int32 and assigns it to the EmoteId field.
func (*GroupUpdateRequest) SetIsPublic ¶
func (o *GroupUpdateRequest) SetIsPublic(v bool)
SetIsPublic gets a reference to the given bool and assigns it to the IsPublic field.
func (*GroupUpdateRequest) SetName ¶
func (o *GroupUpdateRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (GroupUpdateRequest) ToMap ¶
func (o GroupUpdateRequest) ToMap() (map[string]interface{}, error)
type GroupsAPI ¶
type GroupsAPI interface { /* GroupCreate Create a group Note: only 100 unarchived groups can exist on a server at any time @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return GroupsAPIGroupCreateRequest */ GroupCreate(ctx context.Context, serverId string) GroupsAPIGroupCreateRequest // GroupCreateExecute executes the request // @return GroupCreate201Response GroupCreateExecute(r GroupsAPIGroupCreateRequest) (*GroupCreate201Response, *http.Response, error) /* GroupDelete Delete a group Note: you cannot delete the home group @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param groupId @return GroupsAPIGroupDeleteRequest */ GroupDelete(ctx context.Context, serverId string, groupId string) GroupsAPIGroupDeleteRequest // GroupDeleteExecute executes the request GroupDeleteExecute(r GroupsAPIGroupDeleteRequest) (*http.Response, error) /* GroupRead Get a group @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param groupId @return GroupsAPIGroupReadRequest */ GroupRead(ctx context.Context, serverId string, groupId string) GroupsAPIGroupReadRequest // GroupReadExecute executes the request // @return GroupCreate201Response GroupReadExecute(r GroupsAPIGroupReadRequest) (*GroupCreate201Response, *http.Response, error) /* GroupReadMany Get groups @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return GroupsAPIGroupReadManyRequest */ GroupReadMany(ctx context.Context, serverId string) GroupsAPIGroupReadManyRequest // GroupReadManyExecute executes the request // @return GroupReadMany200Response GroupReadManyExecute(r GroupsAPIGroupReadManyRequest) (*GroupReadMany200Response, *http.Response, error) /* GroupUpdate Update a group @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param groupId @return GroupsAPIGroupUpdateRequest */ GroupUpdate(ctx context.Context, serverId string, groupId string) GroupsAPIGroupUpdateRequest // GroupUpdateExecute executes the request // @return GroupCreate201Response GroupUpdateExecute(r GroupsAPIGroupUpdateRequest) (*GroupCreate201Response, *http.Response, error) }
type GroupsAPIGroupCreateRequest ¶
type GroupsAPIGroupCreateRequest struct { ApiService GroupsAPI // contains filtered or unexported fields }
func (GroupsAPIGroupCreateRequest) Execute ¶
func (r GroupsAPIGroupCreateRequest) Execute() (*GroupCreate201Response, *http.Response, error)
func (GroupsAPIGroupCreateRequest) GroupCreateRequest ¶
func (r GroupsAPIGroupCreateRequest) GroupCreateRequest(groupCreateRequest GroupCreateRequest) GroupsAPIGroupCreateRequest
type GroupsAPIGroupDeleteRequest ¶
type GroupsAPIGroupDeleteRequest struct { ApiService GroupsAPI // contains filtered or unexported fields }
type GroupsAPIGroupReadManyRequest ¶
type GroupsAPIGroupReadManyRequest struct { ApiService GroupsAPI // contains filtered or unexported fields }
func (GroupsAPIGroupReadManyRequest) Execute ¶
func (r GroupsAPIGroupReadManyRequest) Execute() (*GroupReadMany200Response, *http.Response, error)
type GroupsAPIGroupReadRequest ¶
type GroupsAPIGroupReadRequest struct { ApiService GroupsAPI // contains filtered or unexported fields }
func (GroupsAPIGroupReadRequest) Execute ¶
func (r GroupsAPIGroupReadRequest) Execute() (*GroupCreate201Response, *http.Response, error)
type GroupsAPIGroupUpdateRequest ¶
type GroupsAPIGroupUpdateRequest struct { ApiService GroupsAPI // contains filtered or unexported fields }
func (GroupsAPIGroupUpdateRequest) Execute ¶
func (r GroupsAPIGroupUpdateRequest) Execute() (*GroupCreate201Response, *http.Response, error)
func (GroupsAPIGroupUpdateRequest) GroupUpdateRequest ¶
func (r GroupsAPIGroupUpdateRequest) GroupUpdateRequest(groupUpdateRequest GroupUpdateRequest) GroupsAPIGroupUpdateRequest
type GroupsAPIService ¶
type GroupsAPIService service
GroupsAPIService GroupsAPI service
func (*GroupsAPIService) GroupCreate ¶
func (a *GroupsAPIService) GroupCreate(ctx context.Context, serverId string) GroupsAPIGroupCreateRequest
GroupCreate Create a group
Note: only 100 unarchived groups can exist on a server at any time
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return GroupsAPIGroupCreateRequest
func (*GroupsAPIService) GroupCreateExecute ¶
func (a *GroupsAPIService) GroupCreateExecute(r GroupsAPIGroupCreateRequest) (*GroupCreate201Response, *http.Response, error)
Execute executes the request
@return GroupCreate201Response
func (*GroupsAPIService) GroupDelete ¶
func (a *GroupsAPIService) GroupDelete(ctx context.Context, serverId string, groupId string) GroupsAPIGroupDeleteRequest
GroupDelete Delete a group
Note: you cannot delete the home group
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param groupId @return GroupsAPIGroupDeleteRequest
func (*GroupsAPIService) GroupDeleteExecute ¶
func (a *GroupsAPIService) GroupDeleteExecute(r GroupsAPIGroupDeleteRequest) (*http.Response, error)
Execute executes the request
func (*GroupsAPIService) GroupRead ¶
func (a *GroupsAPIService) GroupRead(ctx context.Context, serverId string, groupId string) GroupsAPIGroupReadRequest
GroupRead Get a group
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param groupId @return GroupsAPIGroupReadRequest
func (*GroupsAPIService) GroupReadExecute ¶
func (a *GroupsAPIService) GroupReadExecute(r GroupsAPIGroupReadRequest) (*GroupCreate201Response, *http.Response, error)
Execute executes the request
@return GroupCreate201Response
func (*GroupsAPIService) GroupReadMany ¶
func (a *GroupsAPIService) GroupReadMany(ctx context.Context, serverId string) GroupsAPIGroupReadManyRequest
GroupReadMany Get groups
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return GroupsAPIGroupReadManyRequest
func (*GroupsAPIService) GroupReadManyExecute ¶
func (a *GroupsAPIService) GroupReadManyExecute(r GroupsAPIGroupReadManyRequest) (*GroupReadMany200Response, *http.Response, error)
Execute executes the request
@return GroupReadMany200Response
func (*GroupsAPIService) GroupUpdate ¶
func (a *GroupsAPIService) GroupUpdate(ctx context.Context, serverId string, groupId string) GroupsAPIGroupUpdateRequest
GroupUpdate Update a group
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param groupId @return GroupsAPIGroupUpdateRequest
func (*GroupsAPIService) GroupUpdateExecute ¶
func (a *GroupsAPIService) GroupUpdateExecute(r GroupsAPIGroupUpdateRequest) (*GroupCreate201Response, *http.Response, error)
Execute executes the request
@return GroupCreate201Response
type ListItem ¶
type ListItem struct { // The ID of the list item Id string `json:"id"` // The ID of the server ServerId string `json:"serverId"` // The ID of the group GroupId string `json:"groupId"` // The ID of the channel ChannelId string `json:"channelId"` // The message of the list item Message string `json:"message"` Mentions NullableMentions `json:"mentions,omitempty"` // The ISO 8601 timestamp that the list item was created at CreatedAt time.Time `json:"createdAt"` // The ID of the user who created this list item (Note: If this event has `createdByWebhookId` present, this field will still be populated, but can be ignored. In this case, the value of this field will always be Ann6LewA) CreatedBy string `json:"createdBy"` // The ID of the webhook who created this list item, if it was created by a webhook CreatedByWebhookId *string `json:"createdByWebhookId,omitempty"` // The ISO 8601 timestamp that the list item was updated at, if relevant UpdatedAt *time.Time `json:"updatedAt,omitempty"` // The ID of the user who updated this list item UpdatedBy *string `json:"updatedBy,omitempty"` // The ID of the parent list item if this list item is nested ParentListItemId *string `json:"parentListItemId,omitempty"` // The ISO 8601 timestamp that the list item was completed at CompletedAt *time.Time `json:"completedAt,omitempty"` // The ID of the user who completed this list item CompletedBy *string `json:"completedBy,omitempty"` Note *ListItemNote `json:"note,omitempty"` }
ListItem struct for ListItem
func NewListItem ¶
func NewListItem(id string, serverId string, groupId string, channelId string, message string, createdAt time.Time, createdBy string) *ListItem
NewListItem instantiates a new ListItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListItemWithDefaults ¶
func NewListItemWithDefaults() *ListItem
NewListItemWithDefaults instantiates a new ListItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListItem) GetChannelId ¶
GetChannelId returns the ChannelId field value
func (*ListItem) GetChannelIdOk ¶
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*ListItem) GetCompletedAt ¶
GetCompletedAt returns the CompletedAt field value if set, zero value otherwise.
func (*ListItem) GetCompletedAtOk ¶
GetCompletedAtOk returns a tuple with the CompletedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListItem) GetCompletedBy ¶
GetCompletedBy returns the CompletedBy field value if set, zero value otherwise.
func (*ListItem) GetCompletedByOk ¶
GetCompletedByOk returns a tuple with the CompletedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListItem) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*ListItem) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ListItem) GetCreatedBy ¶
GetCreatedBy returns the CreatedBy field value
func (*ListItem) GetCreatedByOk ¶
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*ListItem) GetCreatedByWebhookId ¶
GetCreatedByWebhookId returns the CreatedByWebhookId field value if set, zero value otherwise.
func (*ListItem) GetCreatedByWebhookIdOk ¶
GetCreatedByWebhookIdOk returns a tuple with the CreatedByWebhookId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListItem) GetGroupId ¶
GetGroupId returns the GroupId field value
func (*ListItem) GetGroupIdOk ¶
GetGroupIdOk returns a tuple with the GroupId field value and a boolean to check if the value has been set.
func (*ListItem) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ListItem) GetMentions ¶
GetMentions returns the Mentions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListItem) GetMentionsOk ¶
GetMentionsOk returns a tuple with the Mentions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListItem) GetMessage ¶
GetMessage returns the Message field value
func (*ListItem) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ListItem) GetNote ¶
func (o *ListItem) GetNote() ListItemNote
GetNote returns the Note field value if set, zero value otherwise.
func (*ListItem) GetNoteOk ¶
func (o *ListItem) GetNoteOk() (*ListItemNote, bool)
GetNoteOk returns a tuple with the Note field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListItem) GetParentListItemId ¶
GetParentListItemId returns the ParentListItemId field value if set, zero value otherwise.
func (*ListItem) GetParentListItemIdOk ¶
GetParentListItemIdOk returns a tuple with the ParentListItemId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListItem) GetServerId ¶
GetServerId returns the ServerId field value
func (*ListItem) GetServerIdOk ¶
GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.
func (*ListItem) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ListItem) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListItem) GetUpdatedBy ¶
GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise.
func (*ListItem) GetUpdatedByOk ¶
GetUpdatedByOk returns a tuple with the UpdatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListItem) HasCompletedAt ¶
HasCompletedAt returns a boolean if a field has been set.
func (*ListItem) HasCompletedBy ¶
HasCompletedBy returns a boolean if a field has been set.
func (*ListItem) HasCreatedByWebhookId ¶
HasCreatedByWebhookId returns a boolean if a field has been set.
func (*ListItem) HasMentions ¶
HasMentions returns a boolean if a field has been set.
func (*ListItem) HasParentListItemId ¶
HasParentListItemId returns a boolean if a field has been set.
func (*ListItem) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (*ListItem) HasUpdatedBy ¶
HasUpdatedBy returns a boolean if a field has been set.
func (ListItem) MarshalJSON ¶
func (*ListItem) SetChannelId ¶
SetChannelId sets field value
func (*ListItem) SetCompletedAt ¶
SetCompletedAt gets a reference to the given time.Time and assigns it to the CompletedAt field.
func (*ListItem) SetCompletedBy ¶
SetCompletedBy gets a reference to the given string and assigns it to the CompletedBy field.
func (*ListItem) SetCreatedAt ¶
SetCreatedAt sets field value
func (*ListItem) SetCreatedBy ¶
SetCreatedBy sets field value
func (*ListItem) SetCreatedByWebhookId ¶
SetCreatedByWebhookId gets a reference to the given string and assigns it to the CreatedByWebhookId field.
func (*ListItem) SetMentions ¶
SetMentions gets a reference to the given NullableMentions and assigns it to the Mentions field.
func (*ListItem) SetMentionsNil ¶
func (o *ListItem) SetMentionsNil()
SetMentionsNil sets the value for Mentions to be an explicit nil
func (*ListItem) SetNote ¶
func (o *ListItem) SetNote(v ListItemNote)
SetNote gets a reference to the given ListItemNote and assigns it to the Note field.
func (*ListItem) SetParentListItemId ¶
SetParentListItemId gets a reference to the given string and assigns it to the ParentListItemId field.
func (*ListItem) SetServerId ¶
SetServerId sets field value
func (*ListItem) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*ListItem) SetUpdatedBy ¶
SetUpdatedBy gets a reference to the given string and assigns it to the UpdatedBy field.
func (*ListItem) UnmarshalJSON ¶
func (*ListItem) UnsetMentions ¶
func (o *ListItem) UnsetMentions()
UnsetMentions ensures that no value is present for Mentions, not even an explicit nil
type ListItemCreate201Response ¶
type ListItemCreate201Response struct {
ListItem ListItem `json:"listItem"`
}
ListItemCreate201Response struct for ListItemCreate201Response
func NewListItemCreate201Response ¶
func NewListItemCreate201Response(listItem ListItem) *ListItemCreate201Response
NewListItemCreate201Response instantiates a new ListItemCreate201Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListItemCreate201ResponseWithDefaults ¶
func NewListItemCreate201ResponseWithDefaults() *ListItemCreate201Response
NewListItemCreate201ResponseWithDefaults instantiates a new ListItemCreate201Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListItemCreate201Response) GetListItem ¶
func (o *ListItemCreate201Response) GetListItem() ListItem
GetListItem returns the ListItem field value
func (*ListItemCreate201Response) GetListItemOk ¶
func (o *ListItemCreate201Response) GetListItemOk() (*ListItem, bool)
GetListItemOk returns a tuple with the ListItem field value and a boolean to check if the value has been set.
func (ListItemCreate201Response) MarshalJSON ¶
func (o ListItemCreate201Response) MarshalJSON() ([]byte, error)
func (*ListItemCreate201Response) SetListItem ¶
func (o *ListItemCreate201Response) SetListItem(v ListItem)
SetListItem sets field value
func (ListItemCreate201Response) ToMap ¶
func (o ListItemCreate201Response) ToMap() (map[string]interface{}, error)
func (*ListItemCreate201Response) UnmarshalJSON ¶
func (o *ListItemCreate201Response) UnmarshalJSON(data []byte) (err error)
type ListItemCreateRequest ¶
type ListItemCreateRequest struct { Message Message `json:"message"` Note *ListItemCreateRequestNote `json:"note,omitempty"` }
ListItemCreateRequest struct for ListItemCreateRequest
func NewListItemCreateRequest ¶
func NewListItemCreateRequest(message Message) *ListItemCreateRequest
NewListItemCreateRequest instantiates a new ListItemCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListItemCreateRequestWithDefaults ¶
func NewListItemCreateRequestWithDefaults() *ListItemCreateRequest
NewListItemCreateRequestWithDefaults instantiates a new ListItemCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListItemCreateRequest) GetMessage ¶
func (o *ListItemCreateRequest) GetMessage() Message
GetMessage returns the Message field value
func (*ListItemCreateRequest) GetMessageOk ¶
func (o *ListItemCreateRequest) GetMessageOk() (*Message, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ListItemCreateRequest) GetNote ¶
func (o *ListItemCreateRequest) GetNote() ListItemCreateRequestNote
GetNote returns the Note field value if set, zero value otherwise.
func (*ListItemCreateRequest) GetNoteOk ¶
func (o *ListItemCreateRequest) GetNoteOk() (*ListItemCreateRequestNote, bool)
GetNoteOk returns a tuple with the Note field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListItemCreateRequest) HasNote ¶
func (o *ListItemCreateRequest) HasNote() bool
HasNote returns a boolean if a field has been set.
func (ListItemCreateRequest) MarshalJSON ¶
func (o ListItemCreateRequest) MarshalJSON() ([]byte, error)
func (*ListItemCreateRequest) SetMessage ¶
func (o *ListItemCreateRequest) SetMessage(v Message)
SetMessage sets field value
func (*ListItemCreateRequest) SetNote ¶
func (o *ListItemCreateRequest) SetNote(v ListItemCreateRequestNote)
SetNote gets a reference to the given ListItemCreateRequestNote and assigns it to the Note field.
func (ListItemCreateRequest) ToMap ¶
func (o ListItemCreateRequest) ToMap() (map[string]interface{}, error)
func (*ListItemCreateRequest) UnmarshalJSON ¶
func (o *ListItemCreateRequest) UnmarshalJSON(data []byte) (err error)
type ListItemCreateRequestNote ¶
type ListItemCreateRequestNote struct {
Content Note `json:"content"`
}
ListItemCreateRequestNote struct for ListItemCreateRequestNote
func NewListItemCreateRequestNote ¶
func NewListItemCreateRequestNote(content Note) *ListItemCreateRequestNote
NewListItemCreateRequestNote instantiates a new ListItemCreateRequestNote object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListItemCreateRequestNoteWithDefaults ¶
func NewListItemCreateRequestNoteWithDefaults() *ListItemCreateRequestNote
NewListItemCreateRequestNoteWithDefaults instantiates a new ListItemCreateRequestNote object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListItemCreateRequestNote) GetContent ¶
func (o *ListItemCreateRequestNote) GetContent() Note
GetContent returns the Content field value
func (*ListItemCreateRequestNote) GetContentOk ¶
func (o *ListItemCreateRequestNote) GetContentOk() (*Note, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (ListItemCreateRequestNote) MarshalJSON ¶
func (o ListItemCreateRequestNote) MarshalJSON() ([]byte, error)
func (*ListItemCreateRequestNote) SetContent ¶
func (o *ListItemCreateRequestNote) SetContent(v Note)
SetContent sets field value
func (ListItemCreateRequestNote) ToMap ¶
func (o ListItemCreateRequestNote) ToMap() (map[string]interface{}, error)
func (*ListItemCreateRequestNote) UnmarshalJSON ¶
func (o *ListItemCreateRequestNote) UnmarshalJSON(data []byte) (err error)
type ListItemNote ¶
type ListItemNote struct { // The ISO 8601 timestamp that the note was created at. If this field is populated, then there's a note associated with the list item CreatedAt time.Time `json:"createdAt"` // The ID of the user who created this note CreatedBy string `json:"createdBy"` // The ISO 8601 timestamp that the note was updated at, if relevant UpdatedAt *time.Time `json:"updatedAt,omitempty"` // The ID of the user who updated this note UpdatedBy *string `json:"updatedBy,omitempty"` Mentions NullableMentions `json:"mentions,omitempty"` // The note of the list item Content string `json:"content"` }
ListItemNote struct for ListItemNote
func NewListItemNote ¶
func NewListItemNote(createdAt time.Time, createdBy string, content string) *ListItemNote
NewListItemNote instantiates a new ListItemNote object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListItemNoteWithDefaults ¶
func NewListItemNoteWithDefaults() *ListItemNote
NewListItemNoteWithDefaults instantiates a new ListItemNote object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListItemNote) GetContent ¶
func (o *ListItemNote) GetContent() string
GetContent returns the Content field value
func (*ListItemNote) GetContentOk ¶
func (o *ListItemNote) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*ListItemNote) GetCreatedAt ¶
func (o *ListItemNote) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*ListItemNote) GetCreatedAtOk ¶
func (o *ListItemNote) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ListItemNote) GetCreatedBy ¶
func (o *ListItemNote) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*ListItemNote) GetCreatedByOk ¶
func (o *ListItemNote) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*ListItemNote) GetMentions ¶
func (o *ListItemNote) GetMentions() Mentions
GetMentions returns the Mentions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListItemNote) GetMentionsOk ¶
func (o *ListItemNote) GetMentionsOk() (*Mentions, bool)
GetMentionsOk returns a tuple with the Mentions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListItemNote) GetUpdatedAt ¶
func (o *ListItemNote) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ListItemNote) GetUpdatedAtOk ¶
func (o *ListItemNote) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListItemNote) GetUpdatedBy ¶
func (o *ListItemNote) GetUpdatedBy() string
GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise.
func (*ListItemNote) GetUpdatedByOk ¶
func (o *ListItemNote) GetUpdatedByOk() (*string, bool)
GetUpdatedByOk returns a tuple with the UpdatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListItemNote) HasMentions ¶
func (o *ListItemNote) HasMentions() bool
HasMentions returns a boolean if a field has been set.
func (*ListItemNote) HasUpdatedAt ¶
func (o *ListItemNote) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*ListItemNote) HasUpdatedBy ¶
func (o *ListItemNote) HasUpdatedBy() bool
HasUpdatedBy returns a boolean if a field has been set.
func (ListItemNote) MarshalJSON ¶
func (o ListItemNote) MarshalJSON() ([]byte, error)
func (*ListItemNote) SetContent ¶
func (o *ListItemNote) SetContent(v string)
SetContent sets field value
func (*ListItemNote) SetCreatedAt ¶
func (o *ListItemNote) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*ListItemNote) SetCreatedBy ¶
func (o *ListItemNote) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*ListItemNote) SetMentions ¶
func (o *ListItemNote) SetMentions(v Mentions)
SetMentions gets a reference to the given NullableMentions and assigns it to the Mentions field.
func (*ListItemNote) SetMentionsNil ¶
func (o *ListItemNote) SetMentionsNil()
SetMentionsNil sets the value for Mentions to be an explicit nil
func (*ListItemNote) SetUpdatedAt ¶
func (o *ListItemNote) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*ListItemNote) SetUpdatedBy ¶
func (o *ListItemNote) SetUpdatedBy(v string)
SetUpdatedBy gets a reference to the given string and assigns it to the UpdatedBy field.
func (ListItemNote) ToMap ¶
func (o ListItemNote) ToMap() (map[string]interface{}, error)
func (*ListItemNote) UnmarshalJSON ¶
func (o *ListItemNote) UnmarshalJSON(data []byte) (err error)
func (*ListItemNote) UnsetMentions ¶
func (o *ListItemNote) UnsetMentions()
UnsetMentions ensures that no value is present for Mentions, not even an explicit nil
type ListItemReadMany200Response ¶
type ListItemReadMany200Response struct {
ListItems []ListItemSummary `json:"listItems"`
}
ListItemReadMany200Response struct for ListItemReadMany200Response
func NewListItemReadMany200Response ¶
func NewListItemReadMany200Response(listItems []ListItemSummary) *ListItemReadMany200Response
NewListItemReadMany200Response instantiates a new ListItemReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListItemReadMany200ResponseWithDefaults ¶
func NewListItemReadMany200ResponseWithDefaults() *ListItemReadMany200Response
NewListItemReadMany200ResponseWithDefaults instantiates a new ListItemReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListItemReadMany200Response) GetListItems ¶
func (o *ListItemReadMany200Response) GetListItems() []ListItemSummary
GetListItems returns the ListItems field value
func (*ListItemReadMany200Response) GetListItemsOk ¶
func (o *ListItemReadMany200Response) GetListItemsOk() ([]ListItemSummary, bool)
GetListItemsOk returns a tuple with the ListItems field value and a boolean to check if the value has been set.
func (ListItemReadMany200Response) MarshalJSON ¶
func (o ListItemReadMany200Response) MarshalJSON() ([]byte, error)
func (*ListItemReadMany200Response) SetListItems ¶
func (o *ListItemReadMany200Response) SetListItems(v []ListItemSummary)
SetListItems sets field value
func (ListItemReadMany200Response) ToMap ¶
func (o ListItemReadMany200Response) ToMap() (map[string]interface{}, error)
func (*ListItemReadMany200Response) UnmarshalJSON ¶
func (o *ListItemReadMany200Response) UnmarshalJSON(data []byte) (err error)
type ListItemSummary ¶
type ListItemSummary struct { // The ID of the list item Id string `json:"id"` // The ID of the server ServerId string `json:"serverId"` // The ID of the channel ChannelId string `json:"channelId"` // The message of the list item Message string `json:"message"` Mentions NullableMentions `json:"mentions,omitempty"` // The ISO 8601 timestamp that the list item was created at CreatedAt time.Time `json:"createdAt"` // The ID of the user who created this list item (Note: If this event has `createdByWebhookId` present, this field will still be populated, but can be ignored. In this case, the value of this field will always be Ann6LewA) CreatedBy string `json:"createdBy"` // The ID of the webhook who created this list item, if it was created by a webhook CreatedByWebhookId *string `json:"createdByWebhookId,omitempty"` // The ISO 8601 timestamp that the list item was updated at, if relevant UpdatedAt *time.Time `json:"updatedAt,omitempty"` // The ID of the user who updated this list item UpdatedBy *string `json:"updatedBy,omitempty"` // The ID of the parent list item if this list item is nested ParentListItemId *string `json:"parentListItemId,omitempty"` // The ISO 8601 timestamp that the list item was completed at CompletedAt *time.Time `json:"completedAt,omitempty"` // The ID of the user who completed this list item CompletedBy *string `json:"completedBy,omitempty"` Note *ListItemSummaryNote `json:"note,omitempty"` }
ListItemSummary struct for ListItemSummary
func NewListItemSummary ¶
func NewListItemSummary(id string, serverId string, channelId string, message string, createdAt time.Time, createdBy string) *ListItemSummary
NewListItemSummary instantiates a new ListItemSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListItemSummaryWithDefaults ¶
func NewListItemSummaryWithDefaults() *ListItemSummary
NewListItemSummaryWithDefaults instantiates a new ListItemSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListItemSummary) GetChannelId ¶
func (o *ListItemSummary) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*ListItemSummary) GetChannelIdOk ¶
func (o *ListItemSummary) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*ListItemSummary) GetCompletedAt ¶
func (o *ListItemSummary) GetCompletedAt() time.Time
GetCompletedAt returns the CompletedAt field value if set, zero value otherwise.
func (*ListItemSummary) GetCompletedAtOk ¶
func (o *ListItemSummary) GetCompletedAtOk() (*time.Time, bool)
GetCompletedAtOk returns a tuple with the CompletedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListItemSummary) GetCompletedBy ¶
func (o *ListItemSummary) GetCompletedBy() string
GetCompletedBy returns the CompletedBy field value if set, zero value otherwise.
func (*ListItemSummary) GetCompletedByOk ¶
func (o *ListItemSummary) GetCompletedByOk() (*string, bool)
GetCompletedByOk returns a tuple with the CompletedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListItemSummary) GetCreatedAt ¶
func (o *ListItemSummary) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*ListItemSummary) GetCreatedAtOk ¶
func (o *ListItemSummary) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ListItemSummary) GetCreatedBy ¶
func (o *ListItemSummary) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*ListItemSummary) GetCreatedByOk ¶
func (o *ListItemSummary) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*ListItemSummary) GetCreatedByWebhookId ¶
func (o *ListItemSummary) GetCreatedByWebhookId() string
GetCreatedByWebhookId returns the CreatedByWebhookId field value if set, zero value otherwise.
func (*ListItemSummary) GetCreatedByWebhookIdOk ¶
func (o *ListItemSummary) GetCreatedByWebhookIdOk() (*string, bool)
GetCreatedByWebhookIdOk returns a tuple with the CreatedByWebhookId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListItemSummary) GetId ¶
func (o *ListItemSummary) GetId() string
GetId returns the Id field value
func (*ListItemSummary) GetIdOk ¶
func (o *ListItemSummary) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ListItemSummary) GetMentions ¶
func (o *ListItemSummary) GetMentions() Mentions
GetMentions returns the Mentions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListItemSummary) GetMentionsOk ¶
func (o *ListItemSummary) GetMentionsOk() (*Mentions, bool)
GetMentionsOk returns a tuple with the Mentions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListItemSummary) GetMessage ¶
func (o *ListItemSummary) GetMessage() string
GetMessage returns the Message field value
func (*ListItemSummary) GetMessageOk ¶
func (o *ListItemSummary) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ListItemSummary) GetNote ¶
func (o *ListItemSummary) GetNote() ListItemSummaryNote
GetNote returns the Note field value if set, zero value otherwise.
func (*ListItemSummary) GetNoteOk ¶
func (o *ListItemSummary) GetNoteOk() (*ListItemSummaryNote, bool)
GetNoteOk returns a tuple with the Note field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListItemSummary) GetParentListItemId ¶
func (o *ListItemSummary) GetParentListItemId() string
GetParentListItemId returns the ParentListItemId field value if set, zero value otherwise.
func (*ListItemSummary) GetParentListItemIdOk ¶
func (o *ListItemSummary) GetParentListItemIdOk() (*string, bool)
GetParentListItemIdOk returns a tuple with the ParentListItemId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListItemSummary) GetServerId ¶
func (o *ListItemSummary) GetServerId() string
GetServerId returns the ServerId field value
func (*ListItemSummary) GetServerIdOk ¶
func (o *ListItemSummary) GetServerIdOk() (*string, bool)
GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.
func (*ListItemSummary) GetUpdatedAt ¶
func (o *ListItemSummary) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ListItemSummary) GetUpdatedAtOk ¶
func (o *ListItemSummary) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListItemSummary) GetUpdatedBy ¶
func (o *ListItemSummary) GetUpdatedBy() string
GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise.
func (*ListItemSummary) GetUpdatedByOk ¶
func (o *ListItemSummary) GetUpdatedByOk() (*string, bool)
GetUpdatedByOk returns a tuple with the UpdatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListItemSummary) HasCompletedAt ¶
func (o *ListItemSummary) HasCompletedAt() bool
HasCompletedAt returns a boolean if a field has been set.
func (*ListItemSummary) HasCompletedBy ¶
func (o *ListItemSummary) HasCompletedBy() bool
HasCompletedBy returns a boolean if a field has been set.
func (*ListItemSummary) HasCreatedByWebhookId ¶
func (o *ListItemSummary) HasCreatedByWebhookId() bool
HasCreatedByWebhookId returns a boolean if a field has been set.
func (*ListItemSummary) HasMentions ¶
func (o *ListItemSummary) HasMentions() bool
HasMentions returns a boolean if a field has been set.
func (*ListItemSummary) HasNote ¶
func (o *ListItemSummary) HasNote() bool
HasNote returns a boolean if a field has been set.
func (*ListItemSummary) HasParentListItemId ¶
func (o *ListItemSummary) HasParentListItemId() bool
HasParentListItemId returns a boolean if a field has been set.
func (*ListItemSummary) HasUpdatedAt ¶
func (o *ListItemSummary) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*ListItemSummary) HasUpdatedBy ¶
func (o *ListItemSummary) HasUpdatedBy() bool
HasUpdatedBy returns a boolean if a field has been set.
func (ListItemSummary) MarshalJSON ¶
func (o ListItemSummary) MarshalJSON() ([]byte, error)
func (*ListItemSummary) SetChannelId ¶
func (o *ListItemSummary) SetChannelId(v string)
SetChannelId sets field value
func (*ListItemSummary) SetCompletedAt ¶
func (o *ListItemSummary) SetCompletedAt(v time.Time)
SetCompletedAt gets a reference to the given time.Time and assigns it to the CompletedAt field.
func (*ListItemSummary) SetCompletedBy ¶
func (o *ListItemSummary) SetCompletedBy(v string)
SetCompletedBy gets a reference to the given string and assigns it to the CompletedBy field.
func (*ListItemSummary) SetCreatedAt ¶
func (o *ListItemSummary) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*ListItemSummary) SetCreatedBy ¶
func (o *ListItemSummary) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*ListItemSummary) SetCreatedByWebhookId ¶
func (o *ListItemSummary) SetCreatedByWebhookId(v string)
SetCreatedByWebhookId gets a reference to the given string and assigns it to the CreatedByWebhookId field.
func (*ListItemSummary) SetMentions ¶
func (o *ListItemSummary) SetMentions(v Mentions)
SetMentions gets a reference to the given NullableMentions and assigns it to the Mentions field.
func (*ListItemSummary) SetMentionsNil ¶
func (o *ListItemSummary) SetMentionsNil()
SetMentionsNil sets the value for Mentions to be an explicit nil
func (*ListItemSummary) SetMessage ¶
func (o *ListItemSummary) SetMessage(v string)
SetMessage sets field value
func (*ListItemSummary) SetNote ¶
func (o *ListItemSummary) SetNote(v ListItemSummaryNote)
SetNote gets a reference to the given ListItemSummaryNote and assigns it to the Note field.
func (*ListItemSummary) SetParentListItemId ¶
func (o *ListItemSummary) SetParentListItemId(v string)
SetParentListItemId gets a reference to the given string and assigns it to the ParentListItemId field.
func (*ListItemSummary) SetServerId ¶
func (o *ListItemSummary) SetServerId(v string)
SetServerId sets field value
func (*ListItemSummary) SetUpdatedAt ¶
func (o *ListItemSummary) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*ListItemSummary) SetUpdatedBy ¶
func (o *ListItemSummary) SetUpdatedBy(v string)
SetUpdatedBy gets a reference to the given string and assigns it to the UpdatedBy field.
func (ListItemSummary) ToMap ¶
func (o ListItemSummary) ToMap() (map[string]interface{}, error)
func (*ListItemSummary) UnmarshalJSON ¶
func (o *ListItemSummary) UnmarshalJSON(data []byte) (err error)
func (*ListItemSummary) UnsetMentions ¶
func (o *ListItemSummary) UnsetMentions()
UnsetMentions ensures that no value is present for Mentions, not even an explicit nil
type ListItemSummaryNote ¶
type ListItemSummaryNote struct { // The ISO 8601 timestamp that the note was created at. If this field is populated, then there's a note associated with the list item CreatedAt time.Time `json:"createdAt"` // The ID of the user who created this note CreatedBy string `json:"createdBy"` // The ISO 8601 timestamp that the note was updated at, if relevant UpdatedAt *time.Time `json:"updatedAt,omitempty"` // The ID of the user who updated this note UpdatedBy *string `json:"updatedBy,omitempty"` }
ListItemSummaryNote struct for ListItemSummaryNote
func NewListItemSummaryNote ¶
func NewListItemSummaryNote(createdAt time.Time, createdBy string) *ListItemSummaryNote
NewListItemSummaryNote instantiates a new ListItemSummaryNote object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListItemSummaryNoteWithDefaults ¶
func NewListItemSummaryNoteWithDefaults() *ListItemSummaryNote
NewListItemSummaryNoteWithDefaults instantiates a new ListItemSummaryNote object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListItemSummaryNote) GetCreatedAt ¶
func (o *ListItemSummaryNote) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*ListItemSummaryNote) GetCreatedAtOk ¶
func (o *ListItemSummaryNote) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ListItemSummaryNote) GetCreatedBy ¶
func (o *ListItemSummaryNote) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*ListItemSummaryNote) GetCreatedByOk ¶
func (o *ListItemSummaryNote) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*ListItemSummaryNote) GetUpdatedAt ¶
func (o *ListItemSummaryNote) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ListItemSummaryNote) GetUpdatedAtOk ¶
func (o *ListItemSummaryNote) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListItemSummaryNote) GetUpdatedBy ¶
func (o *ListItemSummaryNote) GetUpdatedBy() string
GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise.
func (*ListItemSummaryNote) GetUpdatedByOk ¶
func (o *ListItemSummaryNote) GetUpdatedByOk() (*string, bool)
GetUpdatedByOk returns a tuple with the UpdatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListItemSummaryNote) HasUpdatedAt ¶
func (o *ListItemSummaryNote) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*ListItemSummaryNote) HasUpdatedBy ¶
func (o *ListItemSummaryNote) HasUpdatedBy() bool
HasUpdatedBy returns a boolean if a field has been set.
func (ListItemSummaryNote) MarshalJSON ¶
func (o ListItemSummaryNote) MarshalJSON() ([]byte, error)
func (*ListItemSummaryNote) SetCreatedAt ¶
func (o *ListItemSummaryNote) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*ListItemSummaryNote) SetCreatedBy ¶
func (o *ListItemSummaryNote) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*ListItemSummaryNote) SetUpdatedAt ¶
func (o *ListItemSummaryNote) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*ListItemSummaryNote) SetUpdatedBy ¶
func (o *ListItemSummaryNote) SetUpdatedBy(v string)
SetUpdatedBy gets a reference to the given string and assigns it to the UpdatedBy field.
func (ListItemSummaryNote) ToMap ¶
func (o ListItemSummaryNote) ToMap() (map[string]interface{}, error)
func (*ListItemSummaryNote) UnmarshalJSON ¶
func (o *ListItemSummaryNote) UnmarshalJSON(data []byte) (err error)
type ListItemUpdateRequest ¶
type ListItemUpdateRequest struct { // The message of the list item Message *string `json:"message,omitempty"` Note NullableListItemUpdateRequestNote `json:"note,omitempty"` }
ListItemUpdateRequest struct for ListItemUpdateRequest
func NewListItemUpdateRequest ¶
func NewListItemUpdateRequest() *ListItemUpdateRequest
NewListItemUpdateRequest instantiates a new ListItemUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListItemUpdateRequestWithDefaults ¶
func NewListItemUpdateRequestWithDefaults() *ListItemUpdateRequest
NewListItemUpdateRequestWithDefaults instantiates a new ListItemUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListItemUpdateRequest) GetMessage ¶
func (o *ListItemUpdateRequest) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ListItemUpdateRequest) GetMessageOk ¶
func (o *ListItemUpdateRequest) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListItemUpdateRequest) GetNote ¶
func (o *ListItemUpdateRequest) GetNote() ListItemUpdateRequestNote
GetNote returns the Note field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListItemUpdateRequest) GetNoteOk ¶
func (o *ListItemUpdateRequest) GetNoteOk() (*ListItemUpdateRequestNote, bool)
GetNoteOk returns a tuple with the Note field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListItemUpdateRequest) HasMessage ¶
func (o *ListItemUpdateRequest) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ListItemUpdateRequest) HasNote ¶
func (o *ListItemUpdateRequest) HasNote() bool
HasNote returns a boolean if a field has been set.
func (ListItemUpdateRequest) MarshalJSON ¶
func (o ListItemUpdateRequest) MarshalJSON() ([]byte, error)
func (*ListItemUpdateRequest) SetMessage ¶
func (o *ListItemUpdateRequest) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ListItemUpdateRequest) SetNote ¶
func (o *ListItemUpdateRequest) SetNote(v ListItemUpdateRequestNote)
SetNote gets a reference to the given NullableListItemUpdateRequestNote and assigns it to the Note field.
func (*ListItemUpdateRequest) SetNoteNil ¶
func (o *ListItemUpdateRequest) SetNoteNil()
SetNoteNil sets the value for Note to be an explicit nil
func (ListItemUpdateRequest) ToMap ¶
func (o ListItemUpdateRequest) ToMap() (map[string]interface{}, error)
func (*ListItemUpdateRequest) UnsetNote ¶
func (o *ListItemUpdateRequest) UnsetNote()
UnsetNote ensures that no value is present for Note, not even an explicit nil
type ListItemUpdateRequestNote ¶
type ListItemUpdateRequestNote struct { // The note of the list item Content string `json:"content"` }
ListItemUpdateRequestNote struct for ListItemUpdateRequestNote
func NewListItemUpdateRequestNote ¶
func NewListItemUpdateRequestNote(content string) *ListItemUpdateRequestNote
NewListItemUpdateRequestNote instantiates a new ListItemUpdateRequestNote object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListItemUpdateRequestNoteWithDefaults ¶
func NewListItemUpdateRequestNoteWithDefaults() *ListItemUpdateRequestNote
NewListItemUpdateRequestNoteWithDefaults instantiates a new ListItemUpdateRequestNote object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListItemUpdateRequestNote) GetContent ¶
func (o *ListItemUpdateRequestNote) GetContent() string
GetContent returns the Content field value
func (*ListItemUpdateRequestNote) GetContentOk ¶
func (o *ListItemUpdateRequestNote) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (ListItemUpdateRequestNote) MarshalJSON ¶
func (o ListItemUpdateRequestNote) MarshalJSON() ([]byte, error)
func (*ListItemUpdateRequestNote) SetContent ¶
func (o *ListItemUpdateRequestNote) SetContent(v string)
SetContent sets field value
func (ListItemUpdateRequestNote) ToMap ¶
func (o ListItemUpdateRequestNote) ToMap() (map[string]interface{}, error)
func (*ListItemUpdateRequestNote) UnmarshalJSON ¶
func (o *ListItemUpdateRequestNote) UnmarshalJSON(data []byte) (err error)
type ListItemsAPI ¶
type ListItemsAPI interface { /* ListItemCompleteCreate Complete a list item @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param listItemId @return ListItemsAPIListItemCompleteCreateRequest */ ListItemCompleteCreate(ctx context.Context, channelId string, listItemId string) ListItemsAPIListItemCompleteCreateRequest // ListItemCompleteCreateExecute executes the request ListItemCompleteCreateExecute(r ListItemsAPIListItemCompleteCreateRequest) (*http.Response, error) /* ListItemCompleteDelete Uncomplete a list item @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param listItemId @return ListItemsAPIListItemCompleteDeleteRequest */ ListItemCompleteDelete(ctx context.Context, channelId string, listItemId string) ListItemsAPIListItemCompleteDeleteRequest // ListItemCompleteDeleteExecute executes the request ListItemCompleteDeleteExecute(r ListItemsAPIListItemCompleteDeleteRequest) (*http.Response, error) /* ListItemCreate Create a list item @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return ListItemsAPIListItemCreateRequest */ ListItemCreate(ctx context.Context, channelId string) ListItemsAPIListItemCreateRequest // ListItemCreateExecute executes the request // @return ListItemCreate201Response ListItemCreateExecute(r ListItemsAPIListItemCreateRequest) (*ListItemCreate201Response, *http.Response, error) /* ListItemDelete Delete a list item @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param listItemId @return ListItemsAPIListItemDeleteRequest */ ListItemDelete(ctx context.Context, channelId string, listItemId string) ListItemsAPIListItemDeleteRequest // ListItemDeleteExecute executes the request ListItemDeleteExecute(r ListItemsAPIListItemDeleteRequest) (*http.Response, error) /* ListItemRead Get a list item @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param listItemId @return ListItemsAPIListItemReadRequest */ ListItemRead(ctx context.Context, channelId string, listItemId string) ListItemsAPIListItemReadRequest // ListItemReadExecute executes the request // @return ListItemCreate201Response ListItemReadExecute(r ListItemsAPIListItemReadRequest) (*ListItemCreate201Response, *http.Response, error) /* ListItemReadMany Get list items within a channel @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return ListItemsAPIListItemReadManyRequest */ ListItemReadMany(ctx context.Context, channelId string) ListItemsAPIListItemReadManyRequest // ListItemReadManyExecute executes the request // @return ListItemReadMany200Response ListItemReadManyExecute(r ListItemsAPIListItemReadManyRequest) (*ListItemReadMany200Response, *http.Response, error) /* ListItemUpdate Update a list item @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param listItemId @return ListItemsAPIListItemUpdateRequest */ ListItemUpdate(ctx context.Context, channelId string, listItemId string) ListItemsAPIListItemUpdateRequest // ListItemUpdateExecute executes the request // @return ListItemCreate201Response ListItemUpdateExecute(r ListItemsAPIListItemUpdateRequest) (*ListItemCreate201Response, *http.Response, error) }
type ListItemsAPIListItemCompleteCreateRequest ¶
type ListItemsAPIListItemCompleteCreateRequest struct { ApiService ListItemsAPI // contains filtered or unexported fields }
type ListItemsAPIListItemCompleteDeleteRequest ¶
type ListItemsAPIListItemCompleteDeleteRequest struct { ApiService ListItemsAPI // contains filtered or unexported fields }
type ListItemsAPIListItemCreateRequest ¶
type ListItemsAPIListItemCreateRequest struct { ApiService ListItemsAPI // contains filtered or unexported fields }
func (ListItemsAPIListItemCreateRequest) Execute ¶
func (r ListItemsAPIListItemCreateRequest) Execute() (*ListItemCreate201Response, *http.Response, error)
func (ListItemsAPIListItemCreateRequest) ListItemCreateRequest ¶
func (r ListItemsAPIListItemCreateRequest) ListItemCreateRequest(listItemCreateRequest ListItemCreateRequest) ListItemsAPIListItemCreateRequest
type ListItemsAPIListItemDeleteRequest ¶
type ListItemsAPIListItemDeleteRequest struct { ApiService ListItemsAPI // contains filtered or unexported fields }
type ListItemsAPIListItemReadManyRequest ¶
type ListItemsAPIListItemReadManyRequest struct { ApiService ListItemsAPI // contains filtered or unexported fields }
func (ListItemsAPIListItemReadManyRequest) Execute ¶
func (r ListItemsAPIListItemReadManyRequest) Execute() (*ListItemReadMany200Response, *http.Response, error)
type ListItemsAPIListItemReadRequest ¶
type ListItemsAPIListItemReadRequest struct { ApiService ListItemsAPI // contains filtered or unexported fields }
func (ListItemsAPIListItemReadRequest) Execute ¶
func (r ListItemsAPIListItemReadRequest) Execute() (*ListItemCreate201Response, *http.Response, error)
type ListItemsAPIListItemUpdateRequest ¶
type ListItemsAPIListItemUpdateRequest struct { ApiService ListItemsAPI // contains filtered or unexported fields }
func (ListItemsAPIListItemUpdateRequest) Execute ¶
func (r ListItemsAPIListItemUpdateRequest) Execute() (*ListItemCreate201Response, *http.Response, error)
func (ListItemsAPIListItemUpdateRequest) ListItemUpdateRequest ¶
func (r ListItemsAPIListItemUpdateRequest) ListItemUpdateRequest(listItemUpdateRequest ListItemUpdateRequest) ListItemsAPIListItemUpdateRequest
type ListItemsAPIService ¶
type ListItemsAPIService service
ListItemsAPIService ListItemsAPI service
func (*ListItemsAPIService) ListItemCompleteCreate ¶
func (a *ListItemsAPIService) ListItemCompleteCreate(ctx context.Context, channelId string, listItemId string) ListItemsAPIListItemCompleteCreateRequest
ListItemCompleteCreate Complete a list item
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param listItemId @return ListItemsAPIListItemCompleteCreateRequest
func (*ListItemsAPIService) ListItemCompleteCreateExecute ¶
func (a *ListItemsAPIService) ListItemCompleteCreateExecute(r ListItemsAPIListItemCompleteCreateRequest) (*http.Response, error)
Execute executes the request
func (*ListItemsAPIService) ListItemCompleteDelete ¶
func (a *ListItemsAPIService) ListItemCompleteDelete(ctx context.Context, channelId string, listItemId string) ListItemsAPIListItemCompleteDeleteRequest
ListItemCompleteDelete Uncomplete a list item
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param listItemId @return ListItemsAPIListItemCompleteDeleteRequest
func (*ListItemsAPIService) ListItemCompleteDeleteExecute ¶
func (a *ListItemsAPIService) ListItemCompleteDeleteExecute(r ListItemsAPIListItemCompleteDeleteRequest) (*http.Response, error)
Execute executes the request
func (*ListItemsAPIService) ListItemCreate ¶
func (a *ListItemsAPIService) ListItemCreate(ctx context.Context, channelId string) ListItemsAPIListItemCreateRequest
ListItemCreate Create a list item
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return ListItemsAPIListItemCreateRequest
func (*ListItemsAPIService) ListItemCreateExecute ¶
func (a *ListItemsAPIService) ListItemCreateExecute(r ListItemsAPIListItemCreateRequest) (*ListItemCreate201Response, *http.Response, error)
Execute executes the request
@return ListItemCreate201Response
func (*ListItemsAPIService) ListItemDelete ¶
func (a *ListItemsAPIService) ListItemDelete(ctx context.Context, channelId string, listItemId string) ListItemsAPIListItemDeleteRequest
ListItemDelete Delete a list item
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param listItemId @return ListItemsAPIListItemDeleteRequest
func (*ListItemsAPIService) ListItemDeleteExecute ¶
func (a *ListItemsAPIService) ListItemDeleteExecute(r ListItemsAPIListItemDeleteRequest) (*http.Response, error)
Execute executes the request
func (*ListItemsAPIService) ListItemRead ¶
func (a *ListItemsAPIService) ListItemRead(ctx context.Context, channelId string, listItemId string) ListItemsAPIListItemReadRequest
ListItemRead Get a list item
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param listItemId @return ListItemsAPIListItemReadRequest
func (*ListItemsAPIService) ListItemReadExecute ¶
func (a *ListItemsAPIService) ListItemReadExecute(r ListItemsAPIListItemReadRequest) (*ListItemCreate201Response, *http.Response, error)
Execute executes the request
@return ListItemCreate201Response
func (*ListItemsAPIService) ListItemReadMany ¶
func (a *ListItemsAPIService) ListItemReadMany(ctx context.Context, channelId string) ListItemsAPIListItemReadManyRequest
ListItemReadMany Get list items within a channel
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @return ListItemsAPIListItemReadManyRequest
func (*ListItemsAPIService) ListItemReadManyExecute ¶
func (a *ListItemsAPIService) ListItemReadManyExecute(r ListItemsAPIListItemReadManyRequest) (*ListItemReadMany200Response, *http.Response, error)
Execute executes the request
@return ListItemReadMany200Response
func (*ListItemsAPIService) ListItemUpdate ¶
func (a *ListItemsAPIService) ListItemUpdate(ctx context.Context, channelId string, listItemId string) ListItemsAPIListItemUpdateRequest
ListItemUpdate Update a list item
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param listItemId @return ListItemsAPIListItemUpdateRequest
func (*ListItemsAPIService) ListItemUpdateExecute ¶
func (a *ListItemsAPIService) ListItemUpdateExecute(r ListItemsAPIListItemUpdateRequest) (*ListItemCreate201Response, *http.Response, error)
Execute executes the request
@return ListItemCreate201Response
type MappedNullable ¶
type MemberBansAPI ¶
type MemberBansAPI interface { /* ServerMemberBanCreate Create a server ban Also known as banning a server member @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId The ID of the user to ban from this server @return MemberBansAPIServerMemberBanCreateRequest */ ServerMemberBanCreate(ctx context.Context, serverId string, userId UserID) MemberBansAPIServerMemberBanCreateRequest // ServerMemberBanCreateExecute executes the request // @return ServerMemberBanRead200Response ServerMemberBanCreateExecute(r MemberBansAPIServerMemberBanCreateRequest) (*ServerMemberBanRead200Response, *http.Response, error) /* ServerMemberBanDelete Delete a server ban Also known as unbanning a server member @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId The ID of the user to unban from this server @return MemberBansAPIServerMemberBanDeleteRequest */ ServerMemberBanDelete(ctx context.Context, serverId string, userId UserID) MemberBansAPIServerMemberBanDeleteRequest // ServerMemberBanDeleteExecute executes the request ServerMemberBanDeleteExecute(r MemberBansAPIServerMemberBanDeleteRequest) (*http.Response, error) /* ServerMemberBanRead Get a server ban @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId The ID of the user to get a server ban for @return MemberBansAPIServerMemberBanReadRequest */ ServerMemberBanRead(ctx context.Context, serverId string, userId UserID) MemberBansAPIServerMemberBanReadRequest // ServerMemberBanReadExecute executes the request // @return ServerMemberBanRead200Response ServerMemberBanReadExecute(r MemberBansAPIServerMemberBanReadRequest) (*ServerMemberBanRead200Response, *http.Response, error) /* ServerMemberBanReadMany Get server bans @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return MemberBansAPIServerMemberBanReadManyRequest */ ServerMemberBanReadMany(ctx context.Context, serverId string) MemberBansAPIServerMemberBanReadManyRequest // ServerMemberBanReadManyExecute executes the request // @return ServerMemberBanReadMany200Response ServerMemberBanReadManyExecute(r MemberBansAPIServerMemberBanReadManyRequest) (*ServerMemberBanReadMany200Response, *http.Response, error) }
type MemberBansAPIServerMemberBanCreateRequest ¶
type MemberBansAPIServerMemberBanCreateRequest struct { ApiService MemberBansAPI // contains filtered or unexported fields }
func (MemberBansAPIServerMemberBanCreateRequest) Execute ¶
func (r MemberBansAPIServerMemberBanCreateRequest) Execute() (*ServerMemberBanRead200Response, *http.Response, error)
func (MemberBansAPIServerMemberBanCreateRequest) ServerMemberBanCreateRequest ¶
func (r MemberBansAPIServerMemberBanCreateRequest) ServerMemberBanCreateRequest(serverMemberBanCreateRequest ServerMemberBanCreateRequest) MemberBansAPIServerMemberBanCreateRequest
type MemberBansAPIServerMemberBanDeleteRequest ¶
type MemberBansAPIServerMemberBanDeleteRequest struct { ApiService MemberBansAPI // contains filtered or unexported fields }
type MemberBansAPIServerMemberBanReadManyRequest ¶
type MemberBansAPIServerMemberBanReadManyRequest struct { ApiService MemberBansAPI // contains filtered or unexported fields }
func (MemberBansAPIServerMemberBanReadManyRequest) Execute ¶
func (r MemberBansAPIServerMemberBanReadManyRequest) Execute() (*ServerMemberBanReadMany200Response, *http.Response, error)
type MemberBansAPIServerMemberBanReadRequest ¶
type MemberBansAPIServerMemberBanReadRequest struct { ApiService MemberBansAPI // contains filtered or unexported fields }
func (MemberBansAPIServerMemberBanReadRequest) Execute ¶
func (r MemberBansAPIServerMemberBanReadRequest) Execute() (*ServerMemberBanRead200Response, *http.Response, error)
type MemberBansAPIService ¶
type MemberBansAPIService service
MemberBansAPIService MemberBansAPI service
func (*MemberBansAPIService) ServerMemberBanCreate ¶
func (a *MemberBansAPIService) ServerMemberBanCreate(ctx context.Context, serverId string, userId UserID) MemberBansAPIServerMemberBanCreateRequest
ServerMemberBanCreate Create a server ban
Also known as banning a server member
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId The ID of the user to ban from this server @return MemberBansAPIServerMemberBanCreateRequest
func (*MemberBansAPIService) ServerMemberBanCreateExecute ¶
func (a *MemberBansAPIService) ServerMemberBanCreateExecute(r MemberBansAPIServerMemberBanCreateRequest) (*ServerMemberBanRead200Response, *http.Response, error)
Execute executes the request
@return ServerMemberBanRead200Response
func (*MemberBansAPIService) ServerMemberBanDelete ¶
func (a *MemberBansAPIService) ServerMemberBanDelete(ctx context.Context, serverId string, userId UserID) MemberBansAPIServerMemberBanDeleteRequest
ServerMemberBanDelete Delete a server ban
Also known as unbanning a server member
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId The ID of the user to unban from this server @return MemberBansAPIServerMemberBanDeleteRequest
func (*MemberBansAPIService) ServerMemberBanDeleteExecute ¶
func (a *MemberBansAPIService) ServerMemberBanDeleteExecute(r MemberBansAPIServerMemberBanDeleteRequest) (*http.Response, error)
Execute executes the request
func (*MemberBansAPIService) ServerMemberBanRead ¶
func (a *MemberBansAPIService) ServerMemberBanRead(ctx context.Context, serverId string, userId UserID) MemberBansAPIServerMemberBanReadRequest
ServerMemberBanRead Get a server ban
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId The ID of the user to get a server ban for @return MemberBansAPIServerMemberBanReadRequest
func (*MemberBansAPIService) ServerMemberBanReadExecute ¶
func (a *MemberBansAPIService) ServerMemberBanReadExecute(r MemberBansAPIServerMemberBanReadRequest) (*ServerMemberBanRead200Response, *http.Response, error)
Execute executes the request
@return ServerMemberBanRead200Response
func (*MemberBansAPIService) ServerMemberBanReadMany ¶
func (a *MemberBansAPIService) ServerMemberBanReadMany(ctx context.Context, serverId string) MemberBansAPIServerMemberBanReadManyRequest
ServerMemberBanReadMany Get server bans
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return MemberBansAPIServerMemberBanReadManyRequest
func (*MemberBansAPIService) ServerMemberBanReadManyExecute ¶
func (a *MemberBansAPIService) ServerMemberBanReadManyExecute(r MemberBansAPIServerMemberBanReadManyRequest) (*ServerMemberBanReadMany200Response, *http.Response, error)
Execute executes the request
@return ServerMemberBanReadMany200Response
type MemberNicknameUpdate200Response ¶
type MemberNicknameUpdate200Response struct { // The nickname that was assigned to the member Nickname string `json:"nickname"` }
MemberNicknameUpdate200Response struct for MemberNicknameUpdate200Response
func NewMemberNicknameUpdate200Response ¶
func NewMemberNicknameUpdate200Response(nickname string) *MemberNicknameUpdate200Response
NewMemberNicknameUpdate200Response instantiates a new MemberNicknameUpdate200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMemberNicknameUpdate200ResponseWithDefaults ¶
func NewMemberNicknameUpdate200ResponseWithDefaults() *MemberNicknameUpdate200Response
NewMemberNicknameUpdate200ResponseWithDefaults instantiates a new MemberNicknameUpdate200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MemberNicknameUpdate200Response) GetNickname ¶
func (o *MemberNicknameUpdate200Response) GetNickname() string
GetNickname returns the Nickname field value
func (*MemberNicknameUpdate200Response) GetNicknameOk ¶
func (o *MemberNicknameUpdate200Response) GetNicknameOk() (*string, bool)
GetNicknameOk returns a tuple with the Nickname field value and a boolean to check if the value has been set.
func (MemberNicknameUpdate200Response) MarshalJSON ¶
func (o MemberNicknameUpdate200Response) MarshalJSON() ([]byte, error)
func (*MemberNicknameUpdate200Response) SetNickname ¶
func (o *MemberNicknameUpdate200Response) SetNickname(v string)
SetNickname sets field value
func (MemberNicknameUpdate200Response) ToMap ¶
func (o MemberNicknameUpdate200Response) ToMap() (map[string]interface{}, error)
func (*MemberNicknameUpdate200Response) UnmarshalJSON ¶
func (o *MemberNicknameUpdate200Response) UnmarshalJSON(data []byte) (err error)
type MemberNicknameUpdateRequest ¶
type MemberNicknameUpdateRequest struct { // The nickname to assign to the member Nickname string `json:"nickname"` }
MemberNicknameUpdateRequest struct for MemberNicknameUpdateRequest
func NewMemberNicknameUpdateRequest ¶
func NewMemberNicknameUpdateRequest(nickname string) *MemberNicknameUpdateRequest
NewMemberNicknameUpdateRequest instantiates a new MemberNicknameUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMemberNicknameUpdateRequestWithDefaults ¶
func NewMemberNicknameUpdateRequestWithDefaults() *MemberNicknameUpdateRequest
NewMemberNicknameUpdateRequestWithDefaults instantiates a new MemberNicknameUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MemberNicknameUpdateRequest) GetNickname ¶
func (o *MemberNicknameUpdateRequest) GetNickname() string
GetNickname returns the Nickname field value
func (*MemberNicknameUpdateRequest) GetNicknameOk ¶
func (o *MemberNicknameUpdateRequest) GetNicknameOk() (*string, bool)
GetNicknameOk returns a tuple with the Nickname field value and a boolean to check if the value has been set.
func (MemberNicknameUpdateRequest) MarshalJSON ¶
func (o MemberNicknameUpdateRequest) MarshalJSON() ([]byte, error)
func (*MemberNicknameUpdateRequest) SetNickname ¶
func (o *MemberNicknameUpdateRequest) SetNickname(v string)
SetNickname sets field value
func (MemberNicknameUpdateRequest) ToMap ¶
func (o MemberNicknameUpdateRequest) ToMap() (map[string]interface{}, error)
func (*MemberNicknameUpdateRequest) UnmarshalJSON ¶
func (o *MemberNicknameUpdateRequest) UnmarshalJSON(data []byte) (err error)
type MemberSocialLinkRead200Response ¶
type MemberSocialLinkRead200Response struct {
SocialLink SocialLink `json:"socialLink"`
}
MemberSocialLinkRead200Response struct for MemberSocialLinkRead200Response
func NewMemberSocialLinkRead200Response ¶
func NewMemberSocialLinkRead200Response(socialLink SocialLink) *MemberSocialLinkRead200Response
NewMemberSocialLinkRead200Response instantiates a new MemberSocialLinkRead200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMemberSocialLinkRead200ResponseWithDefaults ¶
func NewMemberSocialLinkRead200ResponseWithDefaults() *MemberSocialLinkRead200Response
NewMemberSocialLinkRead200ResponseWithDefaults instantiates a new MemberSocialLinkRead200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MemberSocialLinkRead200Response) GetSocialLink ¶
func (o *MemberSocialLinkRead200Response) GetSocialLink() SocialLink
GetSocialLink returns the SocialLink field value
func (*MemberSocialLinkRead200Response) GetSocialLinkOk ¶
func (o *MemberSocialLinkRead200Response) GetSocialLinkOk() (*SocialLink, bool)
GetSocialLinkOk returns a tuple with the SocialLink field value and a boolean to check if the value has been set.
func (MemberSocialLinkRead200Response) MarshalJSON ¶
func (o MemberSocialLinkRead200Response) MarshalJSON() ([]byte, error)
func (*MemberSocialLinkRead200Response) SetSocialLink ¶
func (o *MemberSocialLinkRead200Response) SetSocialLink(v SocialLink)
SetSocialLink sets field value
func (MemberSocialLinkRead200Response) ToMap ¶
func (o MemberSocialLinkRead200Response) ToMap() (map[string]interface{}, error)
func (*MemberSocialLinkRead200Response) UnmarshalJSON ¶
func (o *MemberSocialLinkRead200Response) UnmarshalJSON(data []byte) (err error)
type MembersAPI ¶
type MembersAPI interface { /* MemberNicknameDelete Delete a member's nickname @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId The ID of the user to remove nickname from @return MembersAPIMemberNicknameDeleteRequest */ MemberNicknameDelete(ctx context.Context, serverId string, userId UserID) MembersAPIMemberNicknameDeleteRequest // MemberNicknameDeleteExecute executes the request MemberNicknameDeleteExecute(r MembersAPIMemberNicknameDeleteRequest) (*http.Response, error) /* MemberNicknameUpdate Update a member's nickname @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId The ID of the user to update nickname for @return MembersAPIMemberNicknameUpdateRequest */ MemberNicknameUpdate(ctx context.Context, serverId string, userId UserID) MembersAPIMemberNicknameUpdateRequest // MemberNicknameUpdateExecute executes the request // @return MemberNicknameUpdate200Response MemberNicknameUpdateExecute(r MembersAPIMemberNicknameUpdateRequest) (*MemberNicknameUpdate200Response, *http.Response, error) /* ServerMemberDelete Kick a server member This route can be used to leave servers by passing in your own user ID or `@me` for `userId` @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The ID of the server to kick the user from @param userId The ID of the user to kick. If the value provided here is your own user's ID, the request will attempt to make you leave the server @return MembersAPIServerMemberDeleteRequest */ ServerMemberDelete(ctx context.Context, serverId string, userId UserID) MembersAPIServerMemberDeleteRequest // ServerMemberDeleteExecute executes the request ServerMemberDeleteExecute(r MembersAPIServerMemberDeleteRequest) (*http.Response, error) /* ServerMemberRead Get a server member @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId @return MembersAPIServerMemberReadRequest */ ServerMemberRead(ctx context.Context, serverId string, userId UserID) MembersAPIServerMemberReadRequest // ServerMemberReadExecute executes the request // @return ServerMemberRead200Response ServerMemberReadExecute(r MembersAPIServerMemberReadRequest) (*ServerMemberRead200Response, *http.Response, error) /* ServerMemberReadMany Get members of a server Results returned will be ordered ascending by the member's `joinedAt` @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return MembersAPIServerMemberReadManyRequest */ ServerMemberReadMany(ctx context.Context, serverId string) MembersAPIServerMemberReadManyRequest // ServerMemberReadManyExecute executes the request // @return ServerMemberReadMany200Response ServerMemberReadManyExecute(r MembersAPIServerMemberReadManyRequest) (*ServerMemberReadMany200Response, *http.Response, error) }
type MembersAPIMemberNicknameDeleteRequest ¶
type MembersAPIMemberNicknameDeleteRequest struct { ApiService MembersAPI // contains filtered or unexported fields }
type MembersAPIMemberNicknameUpdateRequest ¶
type MembersAPIMemberNicknameUpdateRequest struct { ApiService MembersAPI // contains filtered or unexported fields }
func (MembersAPIMemberNicknameUpdateRequest) Execute ¶
func (r MembersAPIMemberNicknameUpdateRequest) Execute() (*MemberNicknameUpdate200Response, *http.Response, error)
func (MembersAPIMemberNicknameUpdateRequest) MemberNicknameUpdateRequest ¶
func (r MembersAPIMemberNicknameUpdateRequest) MemberNicknameUpdateRequest(memberNicknameUpdateRequest MemberNicknameUpdateRequest) MembersAPIMemberNicknameUpdateRequest
type MembersAPIServerMemberDeleteRequest ¶
type MembersAPIServerMemberDeleteRequest struct { ApiService MembersAPI // contains filtered or unexported fields }
type MembersAPIServerMemberReadManyRequest ¶
type MembersAPIServerMemberReadManyRequest struct { ApiService MembersAPI // contains filtered or unexported fields }
func (MembersAPIServerMemberReadManyRequest) Execute ¶
func (r MembersAPIServerMemberReadManyRequest) Execute() (*ServerMemberReadMany200Response, *http.Response, error)
type MembersAPIServerMemberReadRequest ¶
type MembersAPIServerMemberReadRequest struct { ApiService MembersAPI // contains filtered or unexported fields }
func (MembersAPIServerMemberReadRequest) Execute ¶
func (r MembersAPIServerMemberReadRequest) Execute() (*ServerMemberRead200Response, *http.Response, error)
type MembersAPIService ¶
type MembersAPIService service
MembersAPIService MembersAPI service
func (*MembersAPIService) MemberNicknameDelete ¶
func (a *MembersAPIService) MemberNicknameDelete(ctx context.Context, serverId string, userId UserID) MembersAPIMemberNicknameDeleteRequest
MemberNicknameDelete Delete a member's nickname
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId The ID of the user to remove nickname from @return MembersAPIMemberNicknameDeleteRequest
func (*MembersAPIService) MemberNicknameDeleteExecute ¶
func (a *MembersAPIService) MemberNicknameDeleteExecute(r MembersAPIMemberNicknameDeleteRequest) (*http.Response, error)
Execute executes the request
func (*MembersAPIService) MemberNicknameUpdate ¶
func (a *MembersAPIService) MemberNicknameUpdate(ctx context.Context, serverId string, userId UserID) MembersAPIMemberNicknameUpdateRequest
MemberNicknameUpdate Update a member's nickname
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId The ID of the user to update nickname for @return MembersAPIMemberNicknameUpdateRequest
func (*MembersAPIService) MemberNicknameUpdateExecute ¶
func (a *MembersAPIService) MemberNicknameUpdateExecute(r MembersAPIMemberNicknameUpdateRequest) (*MemberNicknameUpdate200Response, *http.Response, error)
Execute executes the request
@return MemberNicknameUpdate200Response
func (*MembersAPIService) ServerMemberDelete ¶
func (a *MembersAPIService) ServerMemberDelete(ctx context.Context, serverId string, userId UserID) MembersAPIServerMemberDeleteRequest
ServerMemberDelete Kick a server member
This route can be used to leave servers by passing in your own user ID or `@me` for `userId`
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The ID of the server to kick the user from @param userId The ID of the user to kick. If the value provided here is your own user's ID, the request will attempt to make you leave the server @return MembersAPIServerMemberDeleteRequest
func (*MembersAPIService) ServerMemberDeleteExecute ¶
func (a *MembersAPIService) ServerMemberDeleteExecute(r MembersAPIServerMemberDeleteRequest) (*http.Response, error)
Execute executes the request
func (*MembersAPIService) ServerMemberRead ¶
func (a *MembersAPIService) ServerMemberRead(ctx context.Context, serverId string, userId UserID) MembersAPIServerMemberReadRequest
ServerMemberRead Get a server member
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId @return MembersAPIServerMemberReadRequest
func (*MembersAPIService) ServerMemberReadExecute ¶
func (a *MembersAPIService) ServerMemberReadExecute(r MembersAPIServerMemberReadRequest) (*ServerMemberRead200Response, *http.Response, error)
Execute executes the request
@return ServerMemberRead200Response
func (*MembersAPIService) ServerMemberReadMany ¶
func (a *MembersAPIService) ServerMemberReadMany(ctx context.Context, serverId string) MembersAPIServerMemberReadManyRequest
ServerMemberReadMany Get members of a server
Results returned will be ordered ascending by the member's `joinedAt`
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return MembersAPIServerMemberReadManyRequest
func (*MembersAPIService) ServerMemberReadManyExecute ¶
func (a *MembersAPIService) ServerMemberReadManyExecute(r MembersAPIServerMemberReadManyRequest) (*ServerMemberReadMany200Response, *http.Response, error)
Execute executes the request
@return ServerMemberReadMany200Response
type Mentions ¶
type Mentions struct { // Info on mentioned users Users []map[string]interface{} `json:"users,omitempty"` // Info on mentioned channels Channels []map[string]interface{} `json:"channels,omitempty"` // Info on mentioned roles Roles []map[string]interface{} `json:"roles,omitempty"` // If @everyone was mentioned Everyone *bool `json:"everyone,omitempty"` // If @here was mentioned Here *bool `json:"here,omitempty"` }
Mentions Metadata of who or what is mentioned in content
func NewMentions ¶
func NewMentions() *Mentions
NewMentions instantiates a new Mentions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMentionsWithDefaults ¶
func NewMentionsWithDefaults() *Mentions
NewMentionsWithDefaults instantiates a new Mentions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Mentions) GetChannels ¶
GetChannels returns the Channels field value if set, zero value otherwise.
func (*Mentions) GetChannelsOk ¶
GetChannelsOk returns a tuple with the Channels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Mentions) GetEveryone ¶
GetEveryone returns the Everyone field value if set, zero value otherwise.
func (*Mentions) GetEveryoneOk ¶
GetEveryoneOk returns a tuple with the Everyone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Mentions) GetHereOk ¶
GetHereOk returns a tuple with the Here field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Mentions) GetRolesOk ¶
GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Mentions) GetUsersOk ¶
GetUsersOk returns a tuple with the Users field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Mentions) HasChannels ¶
HasChannels returns a boolean if a field has been set.
func (*Mentions) HasEveryone ¶
HasEveryone returns a boolean if a field has been set.
func (Mentions) MarshalJSON ¶
func (*Mentions) SetChannels ¶
SetChannels gets a reference to the given []map[string]interface{} and assigns it to the Channels field.
func (*Mentions) SetEveryone ¶
SetEveryone gets a reference to the given bool and assigns it to the Everyone field.
func (*Mentions) SetHere ¶
SetHere gets a reference to the given bool and assigns it to the Here field.
func (*Mentions) SetRoles ¶
SetRoles gets a reference to the given []map[string]interface{} and assigns it to the Roles field.
type Message ¶
Message - The message of the list item
func MapmapOfStringAnyAsMessage ¶
map[string]interface{}AsMessage is a convenience function that returns map[string]interface{} wrapped in Message
func StringAsMessage ¶
stringAsMessage is a convenience function that returns string wrapped in Message
func (*Message) GetActualInstance ¶
func (obj *Message) GetActualInstance() interface{}
Get the actual instance
func (Message) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Message) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct
type Note ¶
Note - The note of the list item
func MapmapOfStringAnyAsNote ¶
map[string]interface{}AsNote is a convenience function that returns map[string]interface{} wrapped in Note
func StringAsNote ¶
stringAsNote is a convenience function that returns string wrapped in Note
func (*Note) GetActualInstance ¶
func (obj *Note) GetActualInstance() interface{}
Get the actual instance
func (Note) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Note) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct
type NullableAnnouncement ¶
type NullableAnnouncement struct {
// contains filtered or unexported fields
}
func NewNullableAnnouncement ¶
func NewNullableAnnouncement(val *Announcement) *NullableAnnouncement
func (NullableAnnouncement) Get ¶
func (v NullableAnnouncement) Get() *Announcement
func (NullableAnnouncement) IsSet ¶
func (v NullableAnnouncement) IsSet() bool
func (NullableAnnouncement) MarshalJSON ¶
func (v NullableAnnouncement) MarshalJSON() ([]byte, error)
func (*NullableAnnouncement) Set ¶
func (v *NullableAnnouncement) Set(val *Announcement)
func (*NullableAnnouncement) UnmarshalJSON ¶
func (v *NullableAnnouncement) UnmarshalJSON(src []byte) error
func (*NullableAnnouncement) Unset ¶
func (v *NullableAnnouncement) Unset()
type NullableAnnouncementComment ¶
type NullableAnnouncementComment struct {
// contains filtered or unexported fields
}
func NewNullableAnnouncementComment ¶
func NewNullableAnnouncementComment(val *AnnouncementComment) *NullableAnnouncementComment
func (NullableAnnouncementComment) Get ¶
func (v NullableAnnouncementComment) Get() *AnnouncementComment
func (NullableAnnouncementComment) IsSet ¶
func (v NullableAnnouncementComment) IsSet() bool
func (NullableAnnouncementComment) MarshalJSON ¶
func (v NullableAnnouncementComment) MarshalJSON() ([]byte, error)
func (*NullableAnnouncementComment) Set ¶
func (v *NullableAnnouncementComment) Set(val *AnnouncementComment)
func (*NullableAnnouncementComment) UnmarshalJSON ¶
func (v *NullableAnnouncementComment) UnmarshalJSON(src []byte) error
func (*NullableAnnouncementComment) Unset ¶
func (v *NullableAnnouncementComment) Unset()
type NullableAnnouncementCommentCreate200Response ¶
type NullableAnnouncementCommentCreate200Response struct {
// contains filtered or unexported fields
}
func NewNullableAnnouncementCommentCreate200Response ¶
func NewNullableAnnouncementCommentCreate200Response(val *AnnouncementCommentCreate200Response) *NullableAnnouncementCommentCreate200Response
func (NullableAnnouncementCommentCreate200Response) IsSet ¶
func (v NullableAnnouncementCommentCreate200Response) IsSet() bool
func (NullableAnnouncementCommentCreate200Response) MarshalJSON ¶
func (v NullableAnnouncementCommentCreate200Response) MarshalJSON() ([]byte, error)
func (*NullableAnnouncementCommentCreate200Response) Set ¶
func (v *NullableAnnouncementCommentCreate200Response) Set(val *AnnouncementCommentCreate200Response)
func (*NullableAnnouncementCommentCreate200Response) UnmarshalJSON ¶
func (v *NullableAnnouncementCommentCreate200Response) UnmarshalJSON(src []byte) error
func (*NullableAnnouncementCommentCreate200Response) Unset ¶
func (v *NullableAnnouncementCommentCreate200Response) Unset()
type NullableAnnouncementCommentCreateRequest ¶
type NullableAnnouncementCommentCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableAnnouncementCommentCreateRequest ¶
func NewNullableAnnouncementCommentCreateRequest(val *AnnouncementCommentCreateRequest) *NullableAnnouncementCommentCreateRequest
func (NullableAnnouncementCommentCreateRequest) IsSet ¶
func (v NullableAnnouncementCommentCreateRequest) IsSet() bool
func (NullableAnnouncementCommentCreateRequest) MarshalJSON ¶
func (v NullableAnnouncementCommentCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableAnnouncementCommentCreateRequest) Set ¶
func (v *NullableAnnouncementCommentCreateRequest) Set(val *AnnouncementCommentCreateRequest)
func (*NullableAnnouncementCommentCreateRequest) UnmarshalJSON ¶
func (v *NullableAnnouncementCommentCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableAnnouncementCommentCreateRequest) Unset ¶
func (v *NullableAnnouncementCommentCreateRequest) Unset()
type NullableAnnouncementCommentReaction ¶
type NullableAnnouncementCommentReaction struct {
// contains filtered or unexported fields
}
func NewNullableAnnouncementCommentReaction ¶
func NewNullableAnnouncementCommentReaction(val *AnnouncementCommentReaction) *NullableAnnouncementCommentReaction
func (NullableAnnouncementCommentReaction) Get ¶
func (v NullableAnnouncementCommentReaction) Get() *AnnouncementCommentReaction
func (NullableAnnouncementCommentReaction) IsSet ¶
func (v NullableAnnouncementCommentReaction) IsSet() bool
func (NullableAnnouncementCommentReaction) MarshalJSON ¶
func (v NullableAnnouncementCommentReaction) MarshalJSON() ([]byte, error)
func (*NullableAnnouncementCommentReaction) Set ¶
func (v *NullableAnnouncementCommentReaction) Set(val *AnnouncementCommentReaction)
func (*NullableAnnouncementCommentReaction) UnmarshalJSON ¶
func (v *NullableAnnouncementCommentReaction) UnmarshalJSON(src []byte) error
func (*NullableAnnouncementCommentReaction) Unset ¶
func (v *NullableAnnouncementCommentReaction) Unset()
type NullableAnnouncementCommentReadMany200Response ¶
type NullableAnnouncementCommentReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableAnnouncementCommentReadMany200Response ¶
func NewNullableAnnouncementCommentReadMany200Response(val *AnnouncementCommentReadMany200Response) *NullableAnnouncementCommentReadMany200Response
func (NullableAnnouncementCommentReadMany200Response) IsSet ¶
func (v NullableAnnouncementCommentReadMany200Response) IsSet() bool
func (NullableAnnouncementCommentReadMany200Response) MarshalJSON ¶
func (v NullableAnnouncementCommentReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableAnnouncementCommentReadMany200Response) Set ¶
func (v *NullableAnnouncementCommentReadMany200Response) Set(val *AnnouncementCommentReadMany200Response)
func (*NullableAnnouncementCommentReadMany200Response) UnmarshalJSON ¶
func (v *NullableAnnouncementCommentReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableAnnouncementCommentReadMany200Response) Unset ¶
func (v *NullableAnnouncementCommentReadMany200Response) Unset()
type NullableAnnouncementCreate200Response ¶
type NullableAnnouncementCreate200Response struct {
// contains filtered or unexported fields
}
func NewNullableAnnouncementCreate200Response ¶
func NewNullableAnnouncementCreate200Response(val *AnnouncementCreate200Response) *NullableAnnouncementCreate200Response
func (NullableAnnouncementCreate200Response) Get ¶
func (v NullableAnnouncementCreate200Response) Get() *AnnouncementCreate200Response
func (NullableAnnouncementCreate200Response) IsSet ¶
func (v NullableAnnouncementCreate200Response) IsSet() bool
func (NullableAnnouncementCreate200Response) MarshalJSON ¶
func (v NullableAnnouncementCreate200Response) MarshalJSON() ([]byte, error)
func (*NullableAnnouncementCreate200Response) Set ¶
func (v *NullableAnnouncementCreate200Response) Set(val *AnnouncementCreate200Response)
func (*NullableAnnouncementCreate200Response) UnmarshalJSON ¶
func (v *NullableAnnouncementCreate200Response) UnmarshalJSON(src []byte) error
func (*NullableAnnouncementCreate200Response) Unset ¶
func (v *NullableAnnouncementCreate200Response) Unset()
type NullableAnnouncementCreateRequest ¶
type NullableAnnouncementCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableAnnouncementCreateRequest ¶
func NewNullableAnnouncementCreateRequest(val *AnnouncementCreateRequest) *NullableAnnouncementCreateRequest
func (NullableAnnouncementCreateRequest) Get ¶
func (v NullableAnnouncementCreateRequest) Get() *AnnouncementCreateRequest
func (NullableAnnouncementCreateRequest) IsSet ¶
func (v NullableAnnouncementCreateRequest) IsSet() bool
func (NullableAnnouncementCreateRequest) MarshalJSON ¶
func (v NullableAnnouncementCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableAnnouncementCreateRequest) Set ¶
func (v *NullableAnnouncementCreateRequest) Set(val *AnnouncementCreateRequest)
func (*NullableAnnouncementCreateRequest) UnmarshalJSON ¶
func (v *NullableAnnouncementCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableAnnouncementCreateRequest) Unset ¶
func (v *NullableAnnouncementCreateRequest) Unset()
type NullableAnnouncementReaction ¶
type NullableAnnouncementReaction struct {
// contains filtered or unexported fields
}
func NewNullableAnnouncementReaction ¶
func NewNullableAnnouncementReaction(val *AnnouncementReaction) *NullableAnnouncementReaction
func (NullableAnnouncementReaction) Get ¶
func (v NullableAnnouncementReaction) Get() *AnnouncementReaction
func (NullableAnnouncementReaction) IsSet ¶
func (v NullableAnnouncementReaction) IsSet() bool
func (NullableAnnouncementReaction) MarshalJSON ¶
func (v NullableAnnouncementReaction) MarshalJSON() ([]byte, error)
func (*NullableAnnouncementReaction) Set ¶
func (v *NullableAnnouncementReaction) Set(val *AnnouncementReaction)
func (*NullableAnnouncementReaction) UnmarshalJSON ¶
func (v *NullableAnnouncementReaction) UnmarshalJSON(src []byte) error
func (*NullableAnnouncementReaction) Unset ¶
func (v *NullableAnnouncementReaction) Unset()
type NullableAnnouncementReadMany200Response ¶
type NullableAnnouncementReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableAnnouncementReadMany200Response ¶
func NewNullableAnnouncementReadMany200Response(val *AnnouncementReadMany200Response) *NullableAnnouncementReadMany200Response
func (NullableAnnouncementReadMany200Response) IsSet ¶
func (v NullableAnnouncementReadMany200Response) IsSet() bool
func (NullableAnnouncementReadMany200Response) MarshalJSON ¶
func (v NullableAnnouncementReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableAnnouncementReadMany200Response) Set ¶
func (v *NullableAnnouncementReadMany200Response) Set(val *AnnouncementReadMany200Response)
func (*NullableAnnouncementReadMany200Response) UnmarshalJSON ¶
func (v *NullableAnnouncementReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableAnnouncementReadMany200Response) Unset ¶
func (v *NullableAnnouncementReadMany200Response) Unset()
type NullableAnnouncementUpdateRequest ¶
type NullableAnnouncementUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableAnnouncementUpdateRequest ¶
func NewNullableAnnouncementUpdateRequest(val *AnnouncementUpdateRequest) *NullableAnnouncementUpdateRequest
func (NullableAnnouncementUpdateRequest) Get ¶
func (v NullableAnnouncementUpdateRequest) Get() *AnnouncementUpdateRequest
func (NullableAnnouncementUpdateRequest) IsSet ¶
func (v NullableAnnouncementUpdateRequest) IsSet() bool
func (NullableAnnouncementUpdateRequest) MarshalJSON ¶
func (v NullableAnnouncementUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableAnnouncementUpdateRequest) Set ¶
func (v *NullableAnnouncementUpdateRequest) Set(val *AnnouncementUpdateRequest)
func (*NullableAnnouncementUpdateRequest) UnmarshalJSON ¶
func (v *NullableAnnouncementUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableAnnouncementUpdateRequest) Unset ¶
func (v *NullableAnnouncementUpdateRequest) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCalendarEvent ¶
type NullableCalendarEvent struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEvent ¶
func NewNullableCalendarEvent(val *CalendarEvent) *NullableCalendarEvent
func (NullableCalendarEvent) Get ¶
func (v NullableCalendarEvent) Get() *CalendarEvent
func (NullableCalendarEvent) IsSet ¶
func (v NullableCalendarEvent) IsSet() bool
func (NullableCalendarEvent) MarshalJSON ¶
func (v NullableCalendarEvent) MarshalJSON() ([]byte, error)
func (*NullableCalendarEvent) Set ¶
func (v *NullableCalendarEvent) Set(val *CalendarEvent)
func (*NullableCalendarEvent) UnmarshalJSON ¶
func (v *NullableCalendarEvent) UnmarshalJSON(src []byte) error
func (*NullableCalendarEvent) Unset ¶
func (v *NullableCalendarEvent) Unset()
type NullableCalendarEventCancellation ¶
type NullableCalendarEventCancellation struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventCancellation ¶
func NewNullableCalendarEventCancellation(val *CalendarEventCancellation) *NullableCalendarEventCancellation
func (NullableCalendarEventCancellation) Get ¶
func (v NullableCalendarEventCancellation) Get() *CalendarEventCancellation
func (NullableCalendarEventCancellation) IsSet ¶
func (v NullableCalendarEventCancellation) IsSet() bool
func (NullableCalendarEventCancellation) MarshalJSON ¶
func (v NullableCalendarEventCancellation) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventCancellation) Set ¶
func (v *NullableCalendarEventCancellation) Set(val *CalendarEventCancellation)
func (*NullableCalendarEventCancellation) UnmarshalJSON ¶
func (v *NullableCalendarEventCancellation) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventCancellation) Unset ¶
func (v *NullableCalendarEventCancellation) Unset()
type NullableCalendarEventComment ¶
type NullableCalendarEventComment struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventComment ¶
func NewNullableCalendarEventComment(val *CalendarEventComment) *NullableCalendarEventComment
func (NullableCalendarEventComment) Get ¶
func (v NullableCalendarEventComment) Get() *CalendarEventComment
func (NullableCalendarEventComment) IsSet ¶
func (v NullableCalendarEventComment) IsSet() bool
func (NullableCalendarEventComment) MarshalJSON ¶
func (v NullableCalendarEventComment) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventComment) Set ¶
func (v *NullableCalendarEventComment) Set(val *CalendarEventComment)
func (*NullableCalendarEventComment) UnmarshalJSON ¶
func (v *NullableCalendarEventComment) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventComment) Unset ¶
func (v *NullableCalendarEventComment) Unset()
type NullableCalendarEventCommentCreate200Response ¶
type NullableCalendarEventCommentCreate200Response struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventCommentCreate200Response ¶
func NewNullableCalendarEventCommentCreate200Response(val *CalendarEventCommentCreate200Response) *NullableCalendarEventCommentCreate200Response
func (NullableCalendarEventCommentCreate200Response) IsSet ¶
func (v NullableCalendarEventCommentCreate200Response) IsSet() bool
func (NullableCalendarEventCommentCreate200Response) MarshalJSON ¶
func (v NullableCalendarEventCommentCreate200Response) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventCommentCreate200Response) Set ¶
func (v *NullableCalendarEventCommentCreate200Response) Set(val *CalendarEventCommentCreate200Response)
func (*NullableCalendarEventCommentCreate200Response) UnmarshalJSON ¶
func (v *NullableCalendarEventCommentCreate200Response) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventCommentCreate200Response) Unset ¶
func (v *NullableCalendarEventCommentCreate200Response) Unset()
type NullableCalendarEventCommentCreateRequest ¶
type NullableCalendarEventCommentCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventCommentCreateRequest ¶
func NewNullableCalendarEventCommentCreateRequest(val *CalendarEventCommentCreateRequest) *NullableCalendarEventCommentCreateRequest
func (NullableCalendarEventCommentCreateRequest) IsSet ¶
func (v NullableCalendarEventCommentCreateRequest) IsSet() bool
func (NullableCalendarEventCommentCreateRequest) MarshalJSON ¶
func (v NullableCalendarEventCommentCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventCommentCreateRequest) Set ¶
func (v *NullableCalendarEventCommentCreateRequest) Set(val *CalendarEventCommentCreateRequest)
func (*NullableCalendarEventCommentCreateRequest) UnmarshalJSON ¶
func (v *NullableCalendarEventCommentCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventCommentCreateRequest) Unset ¶
func (v *NullableCalendarEventCommentCreateRequest) Unset()
type NullableCalendarEventCommentReaction ¶
type NullableCalendarEventCommentReaction struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventCommentReaction ¶
func NewNullableCalendarEventCommentReaction(val *CalendarEventCommentReaction) *NullableCalendarEventCommentReaction
func (NullableCalendarEventCommentReaction) Get ¶
func (v NullableCalendarEventCommentReaction) Get() *CalendarEventCommentReaction
func (NullableCalendarEventCommentReaction) IsSet ¶
func (v NullableCalendarEventCommentReaction) IsSet() bool
func (NullableCalendarEventCommentReaction) MarshalJSON ¶
func (v NullableCalendarEventCommentReaction) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventCommentReaction) Set ¶
func (v *NullableCalendarEventCommentReaction) Set(val *CalendarEventCommentReaction)
func (*NullableCalendarEventCommentReaction) UnmarshalJSON ¶
func (v *NullableCalendarEventCommentReaction) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventCommentReaction) Unset ¶
func (v *NullableCalendarEventCommentReaction) Unset()
type NullableCalendarEventCommentReadMany200Response ¶
type NullableCalendarEventCommentReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventCommentReadMany200Response ¶
func NewNullableCalendarEventCommentReadMany200Response(val *CalendarEventCommentReadMany200Response) *NullableCalendarEventCommentReadMany200Response
func (NullableCalendarEventCommentReadMany200Response) IsSet ¶
func (v NullableCalendarEventCommentReadMany200Response) IsSet() bool
func (NullableCalendarEventCommentReadMany200Response) MarshalJSON ¶
func (v NullableCalendarEventCommentReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventCommentReadMany200Response) UnmarshalJSON ¶
func (v *NullableCalendarEventCommentReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventCommentReadMany200Response) Unset ¶
func (v *NullableCalendarEventCommentReadMany200Response) Unset()
type NullableCalendarEventCreate200Response ¶
type NullableCalendarEventCreate200Response struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventCreate200Response ¶
func NewNullableCalendarEventCreate200Response(val *CalendarEventCreate200Response) *NullableCalendarEventCreate200Response
func (NullableCalendarEventCreate200Response) Get ¶
func (v NullableCalendarEventCreate200Response) Get() *CalendarEventCreate200Response
func (NullableCalendarEventCreate200Response) IsSet ¶
func (v NullableCalendarEventCreate200Response) IsSet() bool
func (NullableCalendarEventCreate200Response) MarshalJSON ¶
func (v NullableCalendarEventCreate200Response) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventCreate200Response) Set ¶
func (v *NullableCalendarEventCreate200Response) Set(val *CalendarEventCreate200Response)
func (*NullableCalendarEventCreate200Response) UnmarshalJSON ¶
func (v *NullableCalendarEventCreate200Response) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventCreate200Response) Unset ¶
func (v *NullableCalendarEventCreate200Response) Unset()
type NullableCalendarEventCreateRequest ¶
type NullableCalendarEventCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventCreateRequest ¶
func NewNullableCalendarEventCreateRequest(val *CalendarEventCreateRequest) *NullableCalendarEventCreateRequest
func (NullableCalendarEventCreateRequest) Get ¶
func (v NullableCalendarEventCreateRequest) Get() *CalendarEventCreateRequest
func (NullableCalendarEventCreateRequest) IsSet ¶
func (v NullableCalendarEventCreateRequest) IsSet() bool
func (NullableCalendarEventCreateRequest) MarshalJSON ¶
func (v NullableCalendarEventCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventCreateRequest) Set ¶
func (v *NullableCalendarEventCreateRequest) Set(val *CalendarEventCreateRequest)
func (*NullableCalendarEventCreateRequest) UnmarshalJSON ¶
func (v *NullableCalendarEventCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventCreateRequest) Unset ¶
func (v *NullableCalendarEventCreateRequest) Unset()
type NullableCalendarEventCreateRequestRepeatInfo ¶
type NullableCalendarEventCreateRequestRepeatInfo struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventCreateRequestRepeatInfo ¶
func NewNullableCalendarEventCreateRequestRepeatInfo(val *CalendarEventCreateRequestRepeatInfo) *NullableCalendarEventCreateRequestRepeatInfo
func (NullableCalendarEventCreateRequestRepeatInfo) IsSet ¶
func (v NullableCalendarEventCreateRequestRepeatInfo) IsSet() bool
func (NullableCalendarEventCreateRequestRepeatInfo) MarshalJSON ¶
func (v NullableCalendarEventCreateRequestRepeatInfo) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventCreateRequestRepeatInfo) Set ¶
func (v *NullableCalendarEventCreateRequestRepeatInfo) Set(val *CalendarEventCreateRequestRepeatInfo)
func (*NullableCalendarEventCreateRequestRepeatInfo) UnmarshalJSON ¶
func (v *NullableCalendarEventCreateRequestRepeatInfo) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventCreateRequestRepeatInfo) Unset ¶
func (v *NullableCalendarEventCreateRequestRepeatInfo) Unset()
type NullableCalendarEventCreateRequestRepeatInfoEvery ¶
type NullableCalendarEventCreateRequestRepeatInfoEvery struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventCreateRequestRepeatInfoEvery ¶
func NewNullableCalendarEventCreateRequestRepeatInfoEvery(val *CalendarEventCreateRequestRepeatInfoEvery) *NullableCalendarEventCreateRequestRepeatInfoEvery
func (NullableCalendarEventCreateRequestRepeatInfoEvery) IsSet ¶
func (v NullableCalendarEventCreateRequestRepeatInfoEvery) IsSet() bool
func (NullableCalendarEventCreateRequestRepeatInfoEvery) MarshalJSON ¶
func (v NullableCalendarEventCreateRequestRepeatInfoEvery) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventCreateRequestRepeatInfoEvery) UnmarshalJSON ¶
func (v *NullableCalendarEventCreateRequestRepeatInfoEvery) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventCreateRequestRepeatInfoEvery) Unset ¶
func (v *NullableCalendarEventCreateRequestRepeatInfoEvery) Unset()
type NullableCalendarEventReaction ¶
type NullableCalendarEventReaction struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventReaction ¶
func NewNullableCalendarEventReaction(val *CalendarEventReaction) *NullableCalendarEventReaction
func (NullableCalendarEventReaction) Get ¶
func (v NullableCalendarEventReaction) Get() *CalendarEventReaction
func (NullableCalendarEventReaction) IsSet ¶
func (v NullableCalendarEventReaction) IsSet() bool
func (NullableCalendarEventReaction) MarshalJSON ¶
func (v NullableCalendarEventReaction) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventReaction) Set ¶
func (v *NullableCalendarEventReaction) Set(val *CalendarEventReaction)
func (*NullableCalendarEventReaction) UnmarshalJSON ¶
func (v *NullableCalendarEventReaction) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventReaction) Unset ¶
func (v *NullableCalendarEventReaction) Unset()
type NullableCalendarEventReadMany200Response ¶
type NullableCalendarEventReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventReadMany200Response ¶
func NewNullableCalendarEventReadMany200Response(val *CalendarEventReadMany200Response) *NullableCalendarEventReadMany200Response
func (NullableCalendarEventReadMany200Response) IsSet ¶
func (v NullableCalendarEventReadMany200Response) IsSet() bool
func (NullableCalendarEventReadMany200Response) MarshalJSON ¶
func (v NullableCalendarEventReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventReadMany200Response) Set ¶
func (v *NullableCalendarEventReadMany200Response) Set(val *CalendarEventReadMany200Response)
func (*NullableCalendarEventReadMany200Response) UnmarshalJSON ¶
func (v *NullableCalendarEventReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventReadMany200Response) Unset ¶
func (v *NullableCalendarEventReadMany200Response) Unset()
type NullableCalendarEventRsvp ¶
type NullableCalendarEventRsvp struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventRsvp ¶
func NewNullableCalendarEventRsvp(val *CalendarEventRsvp) *NullableCalendarEventRsvp
func (NullableCalendarEventRsvp) Get ¶
func (v NullableCalendarEventRsvp) Get() *CalendarEventRsvp
func (NullableCalendarEventRsvp) IsSet ¶
func (v NullableCalendarEventRsvp) IsSet() bool
func (NullableCalendarEventRsvp) MarshalJSON ¶
func (v NullableCalendarEventRsvp) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventRsvp) Set ¶
func (v *NullableCalendarEventRsvp) Set(val *CalendarEventRsvp)
func (*NullableCalendarEventRsvp) UnmarshalJSON ¶
func (v *NullableCalendarEventRsvp) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventRsvp) Unset ¶
func (v *NullableCalendarEventRsvp) Unset()
type NullableCalendarEventRsvpRead200Response ¶
type NullableCalendarEventRsvpRead200Response struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventRsvpRead200Response ¶
func NewNullableCalendarEventRsvpRead200Response(val *CalendarEventRsvpRead200Response) *NullableCalendarEventRsvpRead200Response
func (NullableCalendarEventRsvpRead200Response) IsSet ¶
func (v NullableCalendarEventRsvpRead200Response) IsSet() bool
func (NullableCalendarEventRsvpRead200Response) MarshalJSON ¶
func (v NullableCalendarEventRsvpRead200Response) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventRsvpRead200Response) Set ¶
func (v *NullableCalendarEventRsvpRead200Response) Set(val *CalendarEventRsvpRead200Response)
func (*NullableCalendarEventRsvpRead200Response) UnmarshalJSON ¶
func (v *NullableCalendarEventRsvpRead200Response) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventRsvpRead200Response) Unset ¶
func (v *NullableCalendarEventRsvpRead200Response) Unset()
type NullableCalendarEventRsvpReadMany200Response ¶
type NullableCalendarEventRsvpReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventRsvpReadMany200Response ¶
func NewNullableCalendarEventRsvpReadMany200Response(val *CalendarEventRsvpReadMany200Response) *NullableCalendarEventRsvpReadMany200Response
func (NullableCalendarEventRsvpReadMany200Response) IsSet ¶
func (v NullableCalendarEventRsvpReadMany200Response) IsSet() bool
func (NullableCalendarEventRsvpReadMany200Response) MarshalJSON ¶
func (v NullableCalendarEventRsvpReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventRsvpReadMany200Response) Set ¶
func (v *NullableCalendarEventRsvpReadMany200Response) Set(val *CalendarEventRsvpReadMany200Response)
func (*NullableCalendarEventRsvpReadMany200Response) UnmarshalJSON ¶
func (v *NullableCalendarEventRsvpReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventRsvpReadMany200Response) Unset ¶
func (v *NullableCalendarEventRsvpReadMany200Response) Unset()
type NullableCalendarEventRsvpUpdateManyRequest ¶
type NullableCalendarEventRsvpUpdateManyRequest struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventRsvpUpdateManyRequest ¶
func NewNullableCalendarEventRsvpUpdateManyRequest(val *CalendarEventRsvpUpdateManyRequest) *NullableCalendarEventRsvpUpdateManyRequest
func (NullableCalendarEventRsvpUpdateManyRequest) IsSet ¶
func (v NullableCalendarEventRsvpUpdateManyRequest) IsSet() bool
func (NullableCalendarEventRsvpUpdateManyRequest) MarshalJSON ¶
func (v NullableCalendarEventRsvpUpdateManyRequest) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventRsvpUpdateManyRequest) Set ¶
func (v *NullableCalendarEventRsvpUpdateManyRequest) Set(val *CalendarEventRsvpUpdateManyRequest)
func (*NullableCalendarEventRsvpUpdateManyRequest) UnmarshalJSON ¶
func (v *NullableCalendarEventRsvpUpdateManyRequest) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventRsvpUpdateManyRequest) Unset ¶
func (v *NullableCalendarEventRsvpUpdateManyRequest) Unset()
type NullableCalendarEventRsvpUpdateRequest ¶
type NullableCalendarEventRsvpUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventRsvpUpdateRequest ¶
func NewNullableCalendarEventRsvpUpdateRequest(val *CalendarEventRsvpUpdateRequest) *NullableCalendarEventRsvpUpdateRequest
func (NullableCalendarEventRsvpUpdateRequest) Get ¶
func (v NullableCalendarEventRsvpUpdateRequest) Get() *CalendarEventRsvpUpdateRequest
func (NullableCalendarEventRsvpUpdateRequest) IsSet ¶
func (v NullableCalendarEventRsvpUpdateRequest) IsSet() bool
func (NullableCalendarEventRsvpUpdateRequest) MarshalJSON ¶
func (v NullableCalendarEventRsvpUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventRsvpUpdateRequest) Set ¶
func (v *NullableCalendarEventRsvpUpdateRequest) Set(val *CalendarEventRsvpUpdateRequest)
func (*NullableCalendarEventRsvpUpdateRequest) UnmarshalJSON ¶
func (v *NullableCalendarEventRsvpUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventRsvpUpdateRequest) Unset ¶
func (v *NullableCalendarEventRsvpUpdateRequest) Unset()
type NullableCalendarEventSeries ¶
type NullableCalendarEventSeries struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventSeries ¶
func NewNullableCalendarEventSeries(val *CalendarEventSeries) *NullableCalendarEventSeries
func (NullableCalendarEventSeries) Get ¶
func (v NullableCalendarEventSeries) Get() *CalendarEventSeries
func (NullableCalendarEventSeries) IsSet ¶
func (v NullableCalendarEventSeries) IsSet() bool
func (NullableCalendarEventSeries) MarshalJSON ¶
func (v NullableCalendarEventSeries) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventSeries) Set ¶
func (v *NullableCalendarEventSeries) Set(val *CalendarEventSeries)
func (*NullableCalendarEventSeries) UnmarshalJSON ¶
func (v *NullableCalendarEventSeries) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventSeries) Unset ¶
func (v *NullableCalendarEventSeries) Unset()
type NullableCalendarEventSeriesDeleteRequest ¶
type NullableCalendarEventSeriesDeleteRequest struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventSeriesDeleteRequest ¶
func NewNullableCalendarEventSeriesDeleteRequest(val *CalendarEventSeriesDeleteRequest) *NullableCalendarEventSeriesDeleteRequest
func (NullableCalendarEventSeriesDeleteRequest) IsSet ¶
func (v NullableCalendarEventSeriesDeleteRequest) IsSet() bool
func (NullableCalendarEventSeriesDeleteRequest) MarshalJSON ¶
func (v NullableCalendarEventSeriesDeleteRequest) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventSeriesDeleteRequest) Set ¶
func (v *NullableCalendarEventSeriesDeleteRequest) Set(val *CalendarEventSeriesDeleteRequest)
func (*NullableCalendarEventSeriesDeleteRequest) UnmarshalJSON ¶
func (v *NullableCalendarEventSeriesDeleteRequest) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventSeriesDeleteRequest) Unset ¶
func (v *NullableCalendarEventSeriesDeleteRequest) Unset()
type NullableCalendarEventSeriesUpdateRequest ¶
type NullableCalendarEventSeriesUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventSeriesUpdateRequest ¶
func NewNullableCalendarEventSeriesUpdateRequest(val *CalendarEventSeriesUpdateRequest) *NullableCalendarEventSeriesUpdateRequest
func (NullableCalendarEventSeriesUpdateRequest) IsSet ¶
func (v NullableCalendarEventSeriesUpdateRequest) IsSet() bool
func (NullableCalendarEventSeriesUpdateRequest) MarshalJSON ¶
func (v NullableCalendarEventSeriesUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventSeriesUpdateRequest) Set ¶
func (v *NullableCalendarEventSeriesUpdateRequest) Set(val *CalendarEventSeriesUpdateRequest)
func (*NullableCalendarEventSeriesUpdateRequest) UnmarshalJSON ¶
func (v *NullableCalendarEventSeriesUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventSeriesUpdateRequest) Unset ¶
func (v *NullableCalendarEventSeriesUpdateRequest) Unset()
type NullableCalendarEventUpdateRequest ¶
type NullableCalendarEventUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventUpdateRequest ¶
func NewNullableCalendarEventUpdateRequest(val *CalendarEventUpdateRequest) *NullableCalendarEventUpdateRequest
func (NullableCalendarEventUpdateRequest) Get ¶
func (v NullableCalendarEventUpdateRequest) Get() *CalendarEventUpdateRequest
func (NullableCalendarEventUpdateRequest) IsSet ¶
func (v NullableCalendarEventUpdateRequest) IsSet() bool
func (NullableCalendarEventUpdateRequest) MarshalJSON ¶
func (v NullableCalendarEventUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventUpdateRequest) Set ¶
func (v *NullableCalendarEventUpdateRequest) Set(val *CalendarEventUpdateRequest)
func (*NullableCalendarEventUpdateRequest) UnmarshalJSON ¶
func (v *NullableCalendarEventUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventUpdateRequest) Unset ¶
func (v *NullableCalendarEventUpdateRequest) Unset()
type NullableCalendarEventUpdateRequestCancellation ¶
type NullableCalendarEventUpdateRequestCancellation struct {
// contains filtered or unexported fields
}
func NewNullableCalendarEventUpdateRequestCancellation ¶
func NewNullableCalendarEventUpdateRequestCancellation(val *CalendarEventUpdateRequestCancellation) *NullableCalendarEventUpdateRequestCancellation
func (NullableCalendarEventUpdateRequestCancellation) IsSet ¶
func (v NullableCalendarEventUpdateRequestCancellation) IsSet() bool
func (NullableCalendarEventUpdateRequestCancellation) MarshalJSON ¶
func (v NullableCalendarEventUpdateRequestCancellation) MarshalJSON() ([]byte, error)
func (*NullableCalendarEventUpdateRequestCancellation) Set ¶
func (v *NullableCalendarEventUpdateRequestCancellation) Set(val *CalendarEventUpdateRequestCancellation)
func (*NullableCalendarEventUpdateRequestCancellation) UnmarshalJSON ¶
func (v *NullableCalendarEventUpdateRequestCancellation) UnmarshalJSON(src []byte) error
func (*NullableCalendarEventUpdateRequestCancellation) Unset ¶
func (v *NullableCalendarEventUpdateRequestCancellation) Unset()
type NullableCategory ¶
type NullableCategory struct {
// contains filtered or unexported fields
}
func NewNullableCategory ¶
func NewNullableCategory(val *Category) *NullableCategory
func (NullableCategory) Get ¶
func (v NullableCategory) Get() *Category
func (NullableCategory) IsSet ¶
func (v NullableCategory) IsSet() bool
func (NullableCategory) MarshalJSON ¶
func (v NullableCategory) MarshalJSON() ([]byte, error)
func (*NullableCategory) Set ¶
func (v *NullableCategory) Set(val *Category)
func (*NullableCategory) UnmarshalJSON ¶
func (v *NullableCategory) UnmarshalJSON(src []byte) error
func (*NullableCategory) Unset ¶
func (v *NullableCategory) Unset()
type NullableCategoryCreate200Response ¶
type NullableCategoryCreate200Response struct {
// contains filtered or unexported fields
}
func NewNullableCategoryCreate200Response ¶
func NewNullableCategoryCreate200Response(val *CategoryCreate200Response) *NullableCategoryCreate200Response
func (NullableCategoryCreate200Response) Get ¶
func (v NullableCategoryCreate200Response) Get() *CategoryCreate200Response
func (NullableCategoryCreate200Response) IsSet ¶
func (v NullableCategoryCreate200Response) IsSet() bool
func (NullableCategoryCreate200Response) MarshalJSON ¶
func (v NullableCategoryCreate200Response) MarshalJSON() ([]byte, error)
func (*NullableCategoryCreate200Response) Set ¶
func (v *NullableCategoryCreate200Response) Set(val *CategoryCreate200Response)
func (*NullableCategoryCreate200Response) UnmarshalJSON ¶
func (v *NullableCategoryCreate200Response) UnmarshalJSON(src []byte) error
func (*NullableCategoryCreate200Response) Unset ¶
func (v *NullableCategoryCreate200Response) Unset()
type NullableCategoryCreateRequest ¶
type NullableCategoryCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableCategoryCreateRequest ¶
func NewNullableCategoryCreateRequest(val *CategoryCreateRequest) *NullableCategoryCreateRequest
func (NullableCategoryCreateRequest) Get ¶
func (v NullableCategoryCreateRequest) Get() *CategoryCreateRequest
func (NullableCategoryCreateRequest) IsSet ¶
func (v NullableCategoryCreateRequest) IsSet() bool
func (NullableCategoryCreateRequest) MarshalJSON ¶
func (v NullableCategoryCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableCategoryCreateRequest) Set ¶
func (v *NullableCategoryCreateRequest) Set(val *CategoryCreateRequest)
func (*NullableCategoryCreateRequest) UnmarshalJSON ¶
func (v *NullableCategoryCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableCategoryCreateRequest) Unset ¶
func (v *NullableCategoryCreateRequest) Unset()
type NullableCategoryUpdateRequest ¶
type NullableCategoryUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableCategoryUpdateRequest ¶
func NewNullableCategoryUpdateRequest(val *CategoryUpdateRequest) *NullableCategoryUpdateRequest
func (NullableCategoryUpdateRequest) Get ¶
func (v NullableCategoryUpdateRequest) Get() *CategoryUpdateRequest
func (NullableCategoryUpdateRequest) IsSet ¶
func (v NullableCategoryUpdateRequest) IsSet() bool
func (NullableCategoryUpdateRequest) MarshalJSON ¶
func (v NullableCategoryUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableCategoryUpdateRequest) Set ¶
func (v *NullableCategoryUpdateRequest) Set(val *CategoryUpdateRequest)
func (*NullableCategoryUpdateRequest) UnmarshalJSON ¶
func (v *NullableCategoryUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableCategoryUpdateRequest) Unset ¶
func (v *NullableCategoryUpdateRequest) Unset()
type NullableChannelCategoryRolePermission ¶
type NullableChannelCategoryRolePermission struct {
// contains filtered or unexported fields
}
func NewNullableChannelCategoryRolePermission ¶
func NewNullableChannelCategoryRolePermission(val *ChannelCategoryRolePermission) *NullableChannelCategoryRolePermission
func (NullableChannelCategoryRolePermission) Get ¶
func (v NullableChannelCategoryRolePermission) Get() *ChannelCategoryRolePermission
func (NullableChannelCategoryRolePermission) IsSet ¶
func (v NullableChannelCategoryRolePermission) IsSet() bool
func (NullableChannelCategoryRolePermission) MarshalJSON ¶
func (v NullableChannelCategoryRolePermission) MarshalJSON() ([]byte, error)
func (*NullableChannelCategoryRolePermission) Set ¶
func (v *NullableChannelCategoryRolePermission) Set(val *ChannelCategoryRolePermission)
func (*NullableChannelCategoryRolePermission) UnmarshalJSON ¶
func (v *NullableChannelCategoryRolePermission) UnmarshalJSON(src []byte) error
func (*NullableChannelCategoryRolePermission) Unset ¶
func (v *NullableChannelCategoryRolePermission) Unset()
type NullableChannelCategoryRolePermissionRead200Response ¶
type NullableChannelCategoryRolePermissionRead200Response struct {
// contains filtered or unexported fields
}
func NewNullableChannelCategoryRolePermissionRead200Response ¶
func NewNullableChannelCategoryRolePermissionRead200Response(val *ChannelCategoryRolePermissionRead200Response) *NullableChannelCategoryRolePermissionRead200Response
func (NullableChannelCategoryRolePermissionRead200Response) IsSet ¶
func (v NullableChannelCategoryRolePermissionRead200Response) IsSet() bool
func (NullableChannelCategoryRolePermissionRead200Response) MarshalJSON ¶
func (v NullableChannelCategoryRolePermissionRead200Response) MarshalJSON() ([]byte, error)
func (*NullableChannelCategoryRolePermissionRead200Response) UnmarshalJSON ¶
func (v *NullableChannelCategoryRolePermissionRead200Response) UnmarshalJSON(src []byte) error
func (*NullableChannelCategoryRolePermissionRead200Response) Unset ¶
func (v *NullableChannelCategoryRolePermissionRead200Response) Unset()
type NullableChannelCategoryRolePermissionReadMany200Response ¶
type NullableChannelCategoryRolePermissionReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableChannelCategoryRolePermissionReadMany200Response ¶
func NewNullableChannelCategoryRolePermissionReadMany200Response(val *ChannelCategoryRolePermissionReadMany200Response) *NullableChannelCategoryRolePermissionReadMany200Response
func (NullableChannelCategoryRolePermissionReadMany200Response) IsSet ¶
func (v NullableChannelCategoryRolePermissionReadMany200Response) IsSet() bool
func (NullableChannelCategoryRolePermissionReadMany200Response) MarshalJSON ¶
func (v NullableChannelCategoryRolePermissionReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableChannelCategoryRolePermissionReadMany200Response) UnmarshalJSON ¶
func (v *NullableChannelCategoryRolePermissionReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableChannelCategoryRolePermissionReadMany200Response) Unset ¶
func (v *NullableChannelCategoryRolePermissionReadMany200Response) Unset()
type NullableChannelCategoryUserPermission ¶
type NullableChannelCategoryUserPermission struct {
// contains filtered or unexported fields
}
func NewNullableChannelCategoryUserPermission ¶
func NewNullableChannelCategoryUserPermission(val *ChannelCategoryUserPermission) *NullableChannelCategoryUserPermission
func (NullableChannelCategoryUserPermission) Get ¶
func (v NullableChannelCategoryUserPermission) Get() *ChannelCategoryUserPermission
func (NullableChannelCategoryUserPermission) IsSet ¶
func (v NullableChannelCategoryUserPermission) IsSet() bool
func (NullableChannelCategoryUserPermission) MarshalJSON ¶
func (v NullableChannelCategoryUserPermission) MarshalJSON() ([]byte, error)
func (*NullableChannelCategoryUserPermission) Set ¶
func (v *NullableChannelCategoryUserPermission) Set(val *ChannelCategoryUserPermission)
func (*NullableChannelCategoryUserPermission) UnmarshalJSON ¶
func (v *NullableChannelCategoryUserPermission) UnmarshalJSON(src []byte) error
func (*NullableChannelCategoryUserPermission) Unset ¶
func (v *NullableChannelCategoryUserPermission) Unset()
type NullableChannelCategoryUserPermissionRead200Response ¶
type NullableChannelCategoryUserPermissionRead200Response struct {
// contains filtered or unexported fields
}
func NewNullableChannelCategoryUserPermissionRead200Response ¶
func NewNullableChannelCategoryUserPermissionRead200Response(val *ChannelCategoryUserPermissionRead200Response) *NullableChannelCategoryUserPermissionRead200Response
func (NullableChannelCategoryUserPermissionRead200Response) IsSet ¶
func (v NullableChannelCategoryUserPermissionRead200Response) IsSet() bool
func (NullableChannelCategoryUserPermissionRead200Response) MarshalJSON ¶
func (v NullableChannelCategoryUserPermissionRead200Response) MarshalJSON() ([]byte, error)
func (*NullableChannelCategoryUserPermissionRead200Response) UnmarshalJSON ¶
func (v *NullableChannelCategoryUserPermissionRead200Response) UnmarshalJSON(src []byte) error
func (*NullableChannelCategoryUserPermissionRead200Response) Unset ¶
func (v *NullableChannelCategoryUserPermissionRead200Response) Unset()
type NullableChannelCategoryUserPermissionReadMany200Response ¶
type NullableChannelCategoryUserPermissionReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableChannelCategoryUserPermissionReadMany200Response ¶
func NewNullableChannelCategoryUserPermissionReadMany200Response(val *ChannelCategoryUserPermissionReadMany200Response) *NullableChannelCategoryUserPermissionReadMany200Response
func (NullableChannelCategoryUserPermissionReadMany200Response) IsSet ¶
func (v NullableChannelCategoryUserPermissionReadMany200Response) IsSet() bool
func (NullableChannelCategoryUserPermissionReadMany200Response) MarshalJSON ¶
func (v NullableChannelCategoryUserPermissionReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableChannelCategoryUserPermissionReadMany200Response) UnmarshalJSON ¶
func (v *NullableChannelCategoryUserPermissionReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableChannelCategoryUserPermissionReadMany200Response) Unset ¶
func (v *NullableChannelCategoryUserPermissionReadMany200Response) Unset()
type NullableChannelCreate201Response ¶
type NullableChannelCreate201Response struct {
// contains filtered or unexported fields
}
func NewNullableChannelCreate201Response ¶
func NewNullableChannelCreate201Response(val *ChannelCreate201Response) *NullableChannelCreate201Response
func (NullableChannelCreate201Response) Get ¶
func (v NullableChannelCreate201Response) Get() *ChannelCreate201Response
func (NullableChannelCreate201Response) IsSet ¶
func (v NullableChannelCreate201Response) IsSet() bool
func (NullableChannelCreate201Response) MarshalJSON ¶
func (v NullableChannelCreate201Response) MarshalJSON() ([]byte, error)
func (*NullableChannelCreate201Response) Set ¶
func (v *NullableChannelCreate201Response) Set(val *ChannelCreate201Response)
func (*NullableChannelCreate201Response) UnmarshalJSON ¶
func (v *NullableChannelCreate201Response) UnmarshalJSON(src []byte) error
func (*NullableChannelCreate201Response) Unset ¶
func (v *NullableChannelCreate201Response) Unset()
type NullableChannelMessageCreate201Response ¶
type NullableChannelMessageCreate201Response struct {
// contains filtered or unexported fields
}
func NewNullableChannelMessageCreate201Response ¶
func NewNullableChannelMessageCreate201Response(val *ChannelMessageCreate201Response) *NullableChannelMessageCreate201Response
func (NullableChannelMessageCreate201Response) IsSet ¶
func (v NullableChannelMessageCreate201Response) IsSet() bool
func (NullableChannelMessageCreate201Response) MarshalJSON ¶
func (v NullableChannelMessageCreate201Response) MarshalJSON() ([]byte, error)
func (*NullableChannelMessageCreate201Response) Set ¶
func (v *NullableChannelMessageCreate201Response) Set(val *ChannelMessageCreate201Response)
func (*NullableChannelMessageCreate201Response) UnmarshalJSON ¶
func (v *NullableChannelMessageCreate201Response) UnmarshalJSON(src []byte) error
func (*NullableChannelMessageCreate201Response) Unset ¶
func (v *NullableChannelMessageCreate201Response) Unset()
type NullableChannelMessageCreateRequest ¶
type NullableChannelMessageCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableChannelMessageCreateRequest ¶
func NewNullableChannelMessageCreateRequest(val *ChannelMessageCreateRequest) *NullableChannelMessageCreateRequest
func (NullableChannelMessageCreateRequest) Get ¶
func (v NullableChannelMessageCreateRequest) Get() *ChannelMessageCreateRequest
func (NullableChannelMessageCreateRequest) IsSet ¶
func (v NullableChannelMessageCreateRequest) IsSet() bool
func (NullableChannelMessageCreateRequest) MarshalJSON ¶
func (v NullableChannelMessageCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableChannelMessageCreateRequest) Set ¶
func (v *NullableChannelMessageCreateRequest) Set(val *ChannelMessageCreateRequest)
func (*NullableChannelMessageCreateRequest) UnmarshalJSON ¶
func (v *NullableChannelMessageCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableChannelMessageCreateRequest) Unset ¶
func (v *NullableChannelMessageCreateRequest) Unset()
type NullableChannelMessageReadMany200Response ¶
type NullableChannelMessageReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableChannelMessageReadMany200Response ¶
func NewNullableChannelMessageReadMany200Response(val *ChannelMessageReadMany200Response) *NullableChannelMessageReadMany200Response
func (NullableChannelMessageReadMany200Response) IsSet ¶
func (v NullableChannelMessageReadMany200Response) IsSet() bool
func (NullableChannelMessageReadMany200Response) MarshalJSON ¶
func (v NullableChannelMessageReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableChannelMessageReadMany200Response) Set ¶
func (v *NullableChannelMessageReadMany200Response) Set(val *ChannelMessageReadMany200Response)
func (*NullableChannelMessageReadMany200Response) UnmarshalJSON ¶
func (v *NullableChannelMessageReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableChannelMessageReadMany200Response) Unset ¶
func (v *NullableChannelMessageReadMany200Response) Unset()
type NullableChannelMessageUpdate200Response ¶
type NullableChannelMessageUpdate200Response struct {
// contains filtered or unexported fields
}
func NewNullableChannelMessageUpdate200Response ¶
func NewNullableChannelMessageUpdate200Response(val *ChannelMessageUpdate200Response) *NullableChannelMessageUpdate200Response
func (NullableChannelMessageUpdate200Response) IsSet ¶
func (v NullableChannelMessageUpdate200Response) IsSet() bool
func (NullableChannelMessageUpdate200Response) MarshalJSON ¶
func (v NullableChannelMessageUpdate200Response) MarshalJSON() ([]byte, error)
func (*NullableChannelMessageUpdate200Response) Set ¶
func (v *NullableChannelMessageUpdate200Response) Set(val *ChannelMessageUpdate200Response)
func (*NullableChannelMessageUpdate200Response) UnmarshalJSON ¶
func (v *NullableChannelMessageUpdate200Response) UnmarshalJSON(src []byte) error
func (*NullableChannelMessageUpdate200Response) Unset ¶
func (v *NullableChannelMessageUpdate200Response) Unset()
type NullableChannelMessageUpdate200ResponseMessage ¶
type NullableChannelMessageUpdate200ResponseMessage struct {
// contains filtered or unexported fields
}
func NewNullableChannelMessageUpdate200ResponseMessage ¶
func NewNullableChannelMessageUpdate200ResponseMessage(val *ChannelMessageUpdate200ResponseMessage) *NullableChannelMessageUpdate200ResponseMessage
func (NullableChannelMessageUpdate200ResponseMessage) IsSet ¶
func (v NullableChannelMessageUpdate200ResponseMessage) IsSet() bool
func (NullableChannelMessageUpdate200ResponseMessage) MarshalJSON ¶
func (v NullableChannelMessageUpdate200ResponseMessage) MarshalJSON() ([]byte, error)
func (*NullableChannelMessageUpdate200ResponseMessage) Set ¶
func (v *NullableChannelMessageUpdate200ResponseMessage) Set(val *ChannelMessageUpdate200ResponseMessage)
func (*NullableChannelMessageUpdate200ResponseMessage) UnmarshalJSON ¶
func (v *NullableChannelMessageUpdate200ResponseMessage) UnmarshalJSON(src []byte) error
func (*NullableChannelMessageUpdate200ResponseMessage) Unset ¶
func (v *NullableChannelMessageUpdate200ResponseMessage) Unset()
type NullableChannelMessageUpdateRequest ¶
type NullableChannelMessageUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableChannelMessageUpdateRequest ¶
func NewNullableChannelMessageUpdateRequest(val *ChannelMessageUpdateRequest) *NullableChannelMessageUpdateRequest
func (NullableChannelMessageUpdateRequest) Get ¶
func (v NullableChannelMessageUpdateRequest) Get() *ChannelMessageUpdateRequest
func (NullableChannelMessageUpdateRequest) IsSet ¶
func (v NullableChannelMessageUpdateRequest) IsSet() bool
func (NullableChannelMessageUpdateRequest) MarshalJSON ¶
func (v NullableChannelMessageUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableChannelMessageUpdateRequest) Set ¶
func (v *NullableChannelMessageUpdateRequest) Set(val *ChannelMessageUpdateRequest)
func (*NullableChannelMessageUpdateRequest) UnmarshalJSON ¶
func (v *NullableChannelMessageUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableChannelMessageUpdateRequest) Unset ¶
func (v *NullableChannelMessageUpdateRequest) Unset()
type NullableChannelRolePermission ¶
type NullableChannelRolePermission struct {
// contains filtered or unexported fields
}
func NewNullableChannelRolePermission ¶
func NewNullableChannelRolePermission(val *ChannelRolePermission) *NullableChannelRolePermission
func (NullableChannelRolePermission) Get ¶
func (v NullableChannelRolePermission) Get() *ChannelRolePermission
func (NullableChannelRolePermission) IsSet ¶
func (v NullableChannelRolePermission) IsSet() bool
func (NullableChannelRolePermission) MarshalJSON ¶
func (v NullableChannelRolePermission) MarshalJSON() ([]byte, error)
func (*NullableChannelRolePermission) Set ¶
func (v *NullableChannelRolePermission) Set(val *ChannelRolePermission)
func (*NullableChannelRolePermission) UnmarshalJSON ¶
func (v *NullableChannelRolePermission) UnmarshalJSON(src []byte) error
func (*NullableChannelRolePermission) Unset ¶
func (v *NullableChannelRolePermission) Unset()
type NullableChannelRolePermissionCreateRequest ¶
type NullableChannelRolePermissionCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableChannelRolePermissionCreateRequest ¶
func NewNullableChannelRolePermissionCreateRequest(val *ChannelRolePermissionCreateRequest) *NullableChannelRolePermissionCreateRequest
func (NullableChannelRolePermissionCreateRequest) IsSet ¶
func (v NullableChannelRolePermissionCreateRequest) IsSet() bool
func (NullableChannelRolePermissionCreateRequest) MarshalJSON ¶
func (v NullableChannelRolePermissionCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableChannelRolePermissionCreateRequest) Set ¶
func (v *NullableChannelRolePermissionCreateRequest) Set(val *ChannelRolePermissionCreateRequest)
func (*NullableChannelRolePermissionCreateRequest) UnmarshalJSON ¶
func (v *NullableChannelRolePermissionCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableChannelRolePermissionCreateRequest) Unset ¶
func (v *NullableChannelRolePermissionCreateRequest) Unset()
type NullableChannelRolePermissionRead200Response ¶
type NullableChannelRolePermissionRead200Response struct {
// contains filtered or unexported fields
}
func NewNullableChannelRolePermissionRead200Response ¶
func NewNullableChannelRolePermissionRead200Response(val *ChannelRolePermissionRead200Response) *NullableChannelRolePermissionRead200Response
func (NullableChannelRolePermissionRead200Response) IsSet ¶
func (v NullableChannelRolePermissionRead200Response) IsSet() bool
func (NullableChannelRolePermissionRead200Response) MarshalJSON ¶
func (v NullableChannelRolePermissionRead200Response) MarshalJSON() ([]byte, error)
func (*NullableChannelRolePermissionRead200Response) Set ¶
func (v *NullableChannelRolePermissionRead200Response) Set(val *ChannelRolePermissionRead200Response)
func (*NullableChannelRolePermissionRead200Response) UnmarshalJSON ¶
func (v *NullableChannelRolePermissionRead200Response) UnmarshalJSON(src []byte) error
func (*NullableChannelRolePermissionRead200Response) Unset ¶
func (v *NullableChannelRolePermissionRead200Response) Unset()
type NullableChannelRolePermissionReadMany200Response ¶
type NullableChannelRolePermissionReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableChannelRolePermissionReadMany200Response ¶
func NewNullableChannelRolePermissionReadMany200Response(val *ChannelRolePermissionReadMany200Response) *NullableChannelRolePermissionReadMany200Response
func (NullableChannelRolePermissionReadMany200Response) IsSet ¶
func (v NullableChannelRolePermissionReadMany200Response) IsSet() bool
func (NullableChannelRolePermissionReadMany200Response) MarshalJSON ¶
func (v NullableChannelRolePermissionReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableChannelRolePermissionReadMany200Response) UnmarshalJSON ¶
func (v *NullableChannelRolePermissionReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableChannelRolePermissionReadMany200Response) Unset ¶
func (v *NullableChannelRolePermissionReadMany200Response) Unset()
type NullableChannelUpdateRequest ¶
type NullableChannelUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableChannelUpdateRequest ¶
func NewNullableChannelUpdateRequest(val *ChannelUpdateRequest) *NullableChannelUpdateRequest
func (NullableChannelUpdateRequest) Get ¶
func (v NullableChannelUpdateRequest) Get() *ChannelUpdateRequest
func (NullableChannelUpdateRequest) IsSet ¶
func (v NullableChannelUpdateRequest) IsSet() bool
func (NullableChannelUpdateRequest) MarshalJSON ¶
func (v NullableChannelUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableChannelUpdateRequest) Set ¶
func (v *NullableChannelUpdateRequest) Set(val *ChannelUpdateRequest)
func (*NullableChannelUpdateRequest) UnmarshalJSON ¶
func (v *NullableChannelUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableChannelUpdateRequest) Unset ¶
func (v *NullableChannelUpdateRequest) Unset()
type NullableChannelUserPermission ¶
type NullableChannelUserPermission struct {
// contains filtered or unexported fields
}
func NewNullableChannelUserPermission ¶
func NewNullableChannelUserPermission(val *ChannelUserPermission) *NullableChannelUserPermission
func (NullableChannelUserPermission) Get ¶
func (v NullableChannelUserPermission) Get() *ChannelUserPermission
func (NullableChannelUserPermission) IsSet ¶
func (v NullableChannelUserPermission) IsSet() bool
func (NullableChannelUserPermission) MarshalJSON ¶
func (v NullableChannelUserPermission) MarshalJSON() ([]byte, error)
func (*NullableChannelUserPermission) Set ¶
func (v *NullableChannelUserPermission) Set(val *ChannelUserPermission)
func (*NullableChannelUserPermission) UnmarshalJSON ¶
func (v *NullableChannelUserPermission) UnmarshalJSON(src []byte) error
func (*NullableChannelUserPermission) Unset ¶
func (v *NullableChannelUserPermission) Unset()
type NullableChannelUserPermissionRead200Response ¶
type NullableChannelUserPermissionRead200Response struct {
// contains filtered or unexported fields
}
func NewNullableChannelUserPermissionRead200Response ¶
func NewNullableChannelUserPermissionRead200Response(val *ChannelUserPermissionRead200Response) *NullableChannelUserPermissionRead200Response
func (NullableChannelUserPermissionRead200Response) IsSet ¶
func (v NullableChannelUserPermissionRead200Response) IsSet() bool
func (NullableChannelUserPermissionRead200Response) MarshalJSON ¶
func (v NullableChannelUserPermissionRead200Response) MarshalJSON() ([]byte, error)
func (*NullableChannelUserPermissionRead200Response) Set ¶
func (v *NullableChannelUserPermissionRead200Response) Set(val *ChannelUserPermissionRead200Response)
func (*NullableChannelUserPermissionRead200Response) UnmarshalJSON ¶
func (v *NullableChannelUserPermissionRead200Response) UnmarshalJSON(src []byte) error
func (*NullableChannelUserPermissionRead200Response) Unset ¶
func (v *NullableChannelUserPermissionRead200Response) Unset()
type NullableChannelUserPermissionReadMany200Response ¶
type NullableChannelUserPermissionReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableChannelUserPermissionReadMany200Response ¶
func NewNullableChannelUserPermissionReadMany200Response(val *ChannelUserPermissionReadMany200Response) *NullableChannelUserPermissionReadMany200Response
func (NullableChannelUserPermissionReadMany200Response) IsSet ¶
func (v NullableChannelUserPermissionReadMany200Response) IsSet() bool
func (NullableChannelUserPermissionReadMany200Response) MarshalJSON ¶
func (v NullableChannelUserPermissionReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableChannelUserPermissionReadMany200Response) UnmarshalJSON ¶
func (v *NullableChannelUserPermissionReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableChannelUserPermissionReadMany200Response) Unset ¶
func (v *NullableChannelUserPermissionReadMany200Response) Unset()
type NullableChatEmbed ¶
type NullableChatEmbed struct {
// contains filtered or unexported fields
}
func NewNullableChatEmbed ¶
func NewNullableChatEmbed(val *ChatEmbed) *NullableChatEmbed
func (NullableChatEmbed) Get ¶
func (v NullableChatEmbed) Get() *ChatEmbed
func (NullableChatEmbed) IsSet ¶
func (v NullableChatEmbed) IsSet() bool
func (NullableChatEmbed) MarshalJSON ¶
func (v NullableChatEmbed) MarshalJSON() ([]byte, error)
func (*NullableChatEmbed) Set ¶
func (v *NullableChatEmbed) Set(val *ChatEmbed)
func (*NullableChatEmbed) UnmarshalJSON ¶
func (v *NullableChatEmbed) UnmarshalJSON(src []byte) error
func (*NullableChatEmbed) Unset ¶
func (v *NullableChatEmbed) Unset()
type NullableChatEmbedAuthor ¶
type NullableChatEmbedAuthor struct {
// contains filtered or unexported fields
}
func NewNullableChatEmbedAuthor ¶
func NewNullableChatEmbedAuthor(val *ChatEmbedAuthor) *NullableChatEmbedAuthor
func (NullableChatEmbedAuthor) Get ¶
func (v NullableChatEmbedAuthor) Get() *ChatEmbedAuthor
func (NullableChatEmbedAuthor) IsSet ¶
func (v NullableChatEmbedAuthor) IsSet() bool
func (NullableChatEmbedAuthor) MarshalJSON ¶
func (v NullableChatEmbedAuthor) MarshalJSON() ([]byte, error)
func (*NullableChatEmbedAuthor) Set ¶
func (v *NullableChatEmbedAuthor) Set(val *ChatEmbedAuthor)
func (*NullableChatEmbedAuthor) UnmarshalJSON ¶
func (v *NullableChatEmbedAuthor) UnmarshalJSON(src []byte) error
func (*NullableChatEmbedAuthor) Unset ¶
func (v *NullableChatEmbedAuthor) Unset()
type NullableChatEmbedFieldsInner ¶
type NullableChatEmbedFieldsInner struct {
// contains filtered or unexported fields
}
func NewNullableChatEmbedFieldsInner ¶
func NewNullableChatEmbedFieldsInner(val *ChatEmbedFieldsInner) *NullableChatEmbedFieldsInner
func (NullableChatEmbedFieldsInner) Get ¶
func (v NullableChatEmbedFieldsInner) Get() *ChatEmbedFieldsInner
func (NullableChatEmbedFieldsInner) IsSet ¶
func (v NullableChatEmbedFieldsInner) IsSet() bool
func (NullableChatEmbedFieldsInner) MarshalJSON ¶
func (v NullableChatEmbedFieldsInner) MarshalJSON() ([]byte, error)
func (*NullableChatEmbedFieldsInner) Set ¶
func (v *NullableChatEmbedFieldsInner) Set(val *ChatEmbedFieldsInner)
func (*NullableChatEmbedFieldsInner) UnmarshalJSON ¶
func (v *NullableChatEmbedFieldsInner) UnmarshalJSON(src []byte) error
func (*NullableChatEmbedFieldsInner) Unset ¶
func (v *NullableChatEmbedFieldsInner) Unset()
type NullableChatEmbedFooter ¶
type NullableChatEmbedFooter struct {
// contains filtered or unexported fields
}
func NewNullableChatEmbedFooter ¶
func NewNullableChatEmbedFooter(val *ChatEmbedFooter) *NullableChatEmbedFooter
func (NullableChatEmbedFooter) Get ¶
func (v NullableChatEmbedFooter) Get() *ChatEmbedFooter
func (NullableChatEmbedFooter) IsSet ¶
func (v NullableChatEmbedFooter) IsSet() bool
func (NullableChatEmbedFooter) MarshalJSON ¶
func (v NullableChatEmbedFooter) MarshalJSON() ([]byte, error)
func (*NullableChatEmbedFooter) Set ¶
func (v *NullableChatEmbedFooter) Set(val *ChatEmbedFooter)
func (*NullableChatEmbedFooter) UnmarshalJSON ¶
func (v *NullableChatEmbedFooter) UnmarshalJSON(src []byte) error
func (*NullableChatEmbedFooter) Unset ¶
func (v *NullableChatEmbedFooter) Unset()
type NullableChatEmbedImage ¶
type NullableChatEmbedImage struct {
// contains filtered or unexported fields
}
func NewNullableChatEmbedImage ¶
func NewNullableChatEmbedImage(val *ChatEmbedImage) *NullableChatEmbedImage
func (NullableChatEmbedImage) Get ¶
func (v NullableChatEmbedImage) Get() *ChatEmbedImage
func (NullableChatEmbedImage) IsSet ¶
func (v NullableChatEmbedImage) IsSet() bool
func (NullableChatEmbedImage) MarshalJSON ¶
func (v NullableChatEmbedImage) MarshalJSON() ([]byte, error)
func (*NullableChatEmbedImage) Set ¶
func (v *NullableChatEmbedImage) Set(val *ChatEmbedImage)
func (*NullableChatEmbedImage) UnmarshalJSON ¶
func (v *NullableChatEmbedImage) UnmarshalJSON(src []byte) error
func (*NullableChatEmbedImage) Unset ¶
func (v *NullableChatEmbedImage) Unset()
type NullableChatEmbedThumbnail ¶
type NullableChatEmbedThumbnail struct {
// contains filtered or unexported fields
}
func NewNullableChatEmbedThumbnail ¶
func NewNullableChatEmbedThumbnail(val *ChatEmbedThumbnail) *NullableChatEmbedThumbnail
func (NullableChatEmbedThumbnail) Get ¶
func (v NullableChatEmbedThumbnail) Get() *ChatEmbedThumbnail
func (NullableChatEmbedThumbnail) IsSet ¶
func (v NullableChatEmbedThumbnail) IsSet() bool
func (NullableChatEmbedThumbnail) MarshalJSON ¶
func (v NullableChatEmbedThumbnail) MarshalJSON() ([]byte, error)
func (*NullableChatEmbedThumbnail) Set ¶
func (v *NullableChatEmbedThumbnail) Set(val *ChatEmbedThumbnail)
func (*NullableChatEmbedThumbnail) UnmarshalJSON ¶
func (v *NullableChatEmbedThumbnail) UnmarshalJSON(src []byte) error
func (*NullableChatEmbedThumbnail) Unset ¶
func (v *NullableChatEmbedThumbnail) Unset()
type NullableChatMessage ¶
type NullableChatMessage struct {
// contains filtered or unexported fields
}
func NewNullableChatMessage ¶
func NewNullableChatMessage(val *ChatMessage) *NullableChatMessage
func (NullableChatMessage) Get ¶
func (v NullableChatMessage) Get() *ChatMessage
func (NullableChatMessage) IsSet ¶
func (v NullableChatMessage) IsSet() bool
func (NullableChatMessage) MarshalJSON ¶
func (v NullableChatMessage) MarshalJSON() ([]byte, error)
func (*NullableChatMessage) Set ¶
func (v *NullableChatMessage) Set(val *ChatMessage)
func (*NullableChatMessage) UnmarshalJSON ¶
func (v *NullableChatMessage) UnmarshalJSON(src []byte) error
func (*NullableChatMessage) Unset ¶
func (v *NullableChatMessage) Unset()
type NullableChatMessageReaction ¶
type NullableChatMessageReaction struct {
// contains filtered or unexported fields
}
func NewNullableChatMessageReaction ¶
func NewNullableChatMessageReaction(val *ChatMessageReaction) *NullableChatMessageReaction
func (NullableChatMessageReaction) Get ¶
func (v NullableChatMessageReaction) Get() *ChatMessageReaction
func (NullableChatMessageReaction) IsSet ¶
func (v NullableChatMessageReaction) IsSet() bool
func (NullableChatMessageReaction) MarshalJSON ¶
func (v NullableChatMessageReaction) MarshalJSON() ([]byte, error)
func (*NullableChatMessageReaction) Set ¶
func (v *NullableChatMessageReaction) Set(val *ChatMessageReaction)
func (*NullableChatMessageReaction) UnmarshalJSON ¶
func (v *NullableChatMessageReaction) UnmarshalJSON(src []byte) error
func (*NullableChatMessageReaction) Unset ¶
func (v *NullableChatMessageReaction) Unset()
type NullableContent ¶
type NullableContent struct {
// contains filtered or unexported fields
}
func NewNullableContent ¶
func NewNullableContent(val *Content) *NullableContent
func (NullableContent) Get ¶
func (v NullableContent) Get() *Content
func (NullableContent) IsSet ¶
func (v NullableContent) IsSet() bool
func (NullableContent) MarshalJSON ¶
func (v NullableContent) MarshalJSON() ([]byte, error)
func (*NullableContent) Set ¶
func (v *NullableContent) Set(val *Content)
func (*NullableContent) UnmarshalJSON ¶
func (v *NullableContent) UnmarshalJSON(src []byte) error
func (*NullableContent) Unset ¶
func (v *NullableContent) Unset()
type NullableContent1 ¶
type NullableContent1 struct {
// contains filtered or unexported fields
}
func NewNullableContent1 ¶
func NewNullableContent1(val *Content1) *NullableContent1
func (NullableContent1) Get ¶
func (v NullableContent1) Get() *Content1
func (NullableContent1) IsSet ¶
func (v NullableContent1) IsSet() bool
func (NullableContent1) MarshalJSON ¶
func (v NullableContent1) MarshalJSON() ([]byte, error)
func (*NullableContent1) Set ¶
func (v *NullableContent1) Set(val *Content1)
func (*NullableContent1) UnmarshalJSON ¶
func (v *NullableContent1) UnmarshalJSON(src []byte) error
func (*NullableContent1) Unset ¶
func (v *NullableContent1) Unset()
type NullableContent2 ¶
type NullableContent2 struct {
// contains filtered or unexported fields
}
func NewNullableContent2 ¶
func NewNullableContent2(val *Content2) *NullableContent2
func (NullableContent2) Get ¶
func (v NullableContent2) Get() *Content2
func (NullableContent2) IsSet ¶
func (v NullableContent2) IsSet() bool
func (NullableContent2) MarshalJSON ¶
func (v NullableContent2) MarshalJSON() ([]byte, error)
func (*NullableContent2) Set ¶
func (v *NullableContent2) Set(val *Content2)
func (*NullableContent2) UnmarshalJSON ¶
func (v *NullableContent2) UnmarshalJSON(src []byte) error
func (*NullableContent2) Unset ¶
func (v *NullableContent2) Unset()
type NullableContent3 ¶
type NullableContent3 struct {
// contains filtered or unexported fields
}
func NewNullableContent3 ¶
func NewNullableContent3(val *Content3) *NullableContent3
func (NullableContent3) Get ¶
func (v NullableContent3) Get() *Content3
func (NullableContent3) IsSet ¶
func (v NullableContent3) IsSet() bool
func (NullableContent3) MarshalJSON ¶
func (v NullableContent3) MarshalJSON() ([]byte, error)
func (*NullableContent3) Set ¶
func (v *NullableContent3) Set(val *Content3)
func (*NullableContent3) UnmarshalJSON ¶
func (v *NullableContent3) UnmarshalJSON(src []byte) error
func (*NullableContent3) Unset ¶
func (v *NullableContent3) Unset()
type NullableContent4 ¶
type NullableContent4 struct {
// contains filtered or unexported fields
}
func NewNullableContent4 ¶
func NewNullableContent4(val *Content4) *NullableContent4
func (NullableContent4) Get ¶
func (v NullableContent4) Get() *Content4
func (NullableContent4) IsSet ¶
func (v NullableContent4) IsSet() bool
func (NullableContent4) MarshalJSON ¶
func (v NullableContent4) MarshalJSON() ([]byte, error)
func (*NullableContent4) Set ¶
func (v *NullableContent4) Set(val *Content4)
func (*NullableContent4) UnmarshalJSON ¶
func (v *NullableContent4) UnmarshalJSON(src []byte) error
func (*NullableContent4) Unset ¶
func (v *NullableContent4) Unset()
type NullableDoc ¶
type NullableDoc struct {
// contains filtered or unexported fields
}
func NewNullableDoc ¶
func NewNullableDoc(val *Doc) *NullableDoc
func (NullableDoc) Get ¶
func (v NullableDoc) Get() *Doc
func (NullableDoc) IsSet ¶
func (v NullableDoc) IsSet() bool
func (NullableDoc) MarshalJSON ¶
func (v NullableDoc) MarshalJSON() ([]byte, error)
func (*NullableDoc) Set ¶
func (v *NullableDoc) Set(val *Doc)
func (*NullableDoc) UnmarshalJSON ¶
func (v *NullableDoc) UnmarshalJSON(src []byte) error
func (*NullableDoc) Unset ¶
func (v *NullableDoc) Unset()
type NullableDocComment ¶
type NullableDocComment struct {
// contains filtered or unexported fields
}
func NewNullableDocComment ¶
func NewNullableDocComment(val *DocComment) *NullableDocComment
func (NullableDocComment) Get ¶
func (v NullableDocComment) Get() *DocComment
func (NullableDocComment) IsSet ¶
func (v NullableDocComment) IsSet() bool
func (NullableDocComment) MarshalJSON ¶
func (v NullableDocComment) MarshalJSON() ([]byte, error)
func (*NullableDocComment) Set ¶
func (v *NullableDocComment) Set(val *DocComment)
func (*NullableDocComment) UnmarshalJSON ¶
func (v *NullableDocComment) UnmarshalJSON(src []byte) error
func (*NullableDocComment) Unset ¶
func (v *NullableDocComment) Unset()
type NullableDocCommentCreate201Response ¶
type NullableDocCommentCreate201Response struct {
// contains filtered or unexported fields
}
func NewNullableDocCommentCreate201Response ¶
func NewNullableDocCommentCreate201Response(val *DocCommentCreate201Response) *NullableDocCommentCreate201Response
func (NullableDocCommentCreate201Response) Get ¶
func (v NullableDocCommentCreate201Response) Get() *DocCommentCreate201Response
func (NullableDocCommentCreate201Response) IsSet ¶
func (v NullableDocCommentCreate201Response) IsSet() bool
func (NullableDocCommentCreate201Response) MarshalJSON ¶
func (v NullableDocCommentCreate201Response) MarshalJSON() ([]byte, error)
func (*NullableDocCommentCreate201Response) Set ¶
func (v *NullableDocCommentCreate201Response) Set(val *DocCommentCreate201Response)
func (*NullableDocCommentCreate201Response) UnmarshalJSON ¶
func (v *NullableDocCommentCreate201Response) UnmarshalJSON(src []byte) error
func (*NullableDocCommentCreate201Response) Unset ¶
func (v *NullableDocCommentCreate201Response) Unset()
type NullableDocCommentCreateRequest ¶
type NullableDocCommentCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableDocCommentCreateRequest ¶
func NewNullableDocCommentCreateRequest(val *DocCommentCreateRequest) *NullableDocCommentCreateRequest
func (NullableDocCommentCreateRequest) Get ¶
func (v NullableDocCommentCreateRequest) Get() *DocCommentCreateRequest
func (NullableDocCommentCreateRequest) IsSet ¶
func (v NullableDocCommentCreateRequest) IsSet() bool
func (NullableDocCommentCreateRequest) MarshalJSON ¶
func (v NullableDocCommentCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableDocCommentCreateRequest) Set ¶
func (v *NullableDocCommentCreateRequest) Set(val *DocCommentCreateRequest)
func (*NullableDocCommentCreateRequest) UnmarshalJSON ¶
func (v *NullableDocCommentCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableDocCommentCreateRequest) Unset ¶
func (v *NullableDocCommentCreateRequest) Unset()
type NullableDocCommentReaction ¶
type NullableDocCommentReaction struct {
// contains filtered or unexported fields
}
func NewNullableDocCommentReaction ¶
func NewNullableDocCommentReaction(val *DocCommentReaction) *NullableDocCommentReaction
func (NullableDocCommentReaction) Get ¶
func (v NullableDocCommentReaction) Get() *DocCommentReaction
func (NullableDocCommentReaction) IsSet ¶
func (v NullableDocCommentReaction) IsSet() bool
func (NullableDocCommentReaction) MarshalJSON ¶
func (v NullableDocCommentReaction) MarshalJSON() ([]byte, error)
func (*NullableDocCommentReaction) Set ¶
func (v *NullableDocCommentReaction) Set(val *DocCommentReaction)
func (*NullableDocCommentReaction) UnmarshalJSON ¶
func (v *NullableDocCommentReaction) UnmarshalJSON(src []byte) error
func (*NullableDocCommentReaction) Unset ¶
func (v *NullableDocCommentReaction) Unset()
type NullableDocCommentReadMany200Response ¶
type NullableDocCommentReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableDocCommentReadMany200Response ¶
func NewNullableDocCommentReadMany200Response(val *DocCommentReadMany200Response) *NullableDocCommentReadMany200Response
func (NullableDocCommentReadMany200Response) Get ¶
func (v NullableDocCommentReadMany200Response) Get() *DocCommentReadMany200Response
func (NullableDocCommentReadMany200Response) IsSet ¶
func (v NullableDocCommentReadMany200Response) IsSet() bool
func (NullableDocCommentReadMany200Response) MarshalJSON ¶
func (v NullableDocCommentReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableDocCommentReadMany200Response) Set ¶
func (v *NullableDocCommentReadMany200Response) Set(val *DocCommentReadMany200Response)
func (*NullableDocCommentReadMany200Response) UnmarshalJSON ¶
func (v *NullableDocCommentReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableDocCommentReadMany200Response) Unset ¶
func (v *NullableDocCommentReadMany200Response) Unset()
type NullableDocCreate201Response ¶
type NullableDocCreate201Response struct {
// contains filtered or unexported fields
}
func NewNullableDocCreate201Response ¶
func NewNullableDocCreate201Response(val *DocCreate201Response) *NullableDocCreate201Response
func (NullableDocCreate201Response) Get ¶
func (v NullableDocCreate201Response) Get() *DocCreate201Response
func (NullableDocCreate201Response) IsSet ¶
func (v NullableDocCreate201Response) IsSet() bool
func (NullableDocCreate201Response) MarshalJSON ¶
func (v NullableDocCreate201Response) MarshalJSON() ([]byte, error)
func (*NullableDocCreate201Response) Set ¶
func (v *NullableDocCreate201Response) Set(val *DocCreate201Response)
func (*NullableDocCreate201Response) UnmarshalJSON ¶
func (v *NullableDocCreate201Response) UnmarshalJSON(src []byte) error
func (*NullableDocCreate201Response) Unset ¶
func (v *NullableDocCreate201Response) Unset()
type NullableDocCreateRequest ¶
type NullableDocCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableDocCreateRequest ¶
func NewNullableDocCreateRequest(val *DocCreateRequest) *NullableDocCreateRequest
func (NullableDocCreateRequest) Get ¶
func (v NullableDocCreateRequest) Get() *DocCreateRequest
func (NullableDocCreateRequest) IsSet ¶
func (v NullableDocCreateRequest) IsSet() bool
func (NullableDocCreateRequest) MarshalJSON ¶
func (v NullableDocCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableDocCreateRequest) Set ¶
func (v *NullableDocCreateRequest) Set(val *DocCreateRequest)
func (*NullableDocCreateRequest) UnmarshalJSON ¶
func (v *NullableDocCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableDocCreateRequest) Unset ¶
func (v *NullableDocCreateRequest) Unset()
type NullableDocReaction ¶
type NullableDocReaction struct {
// contains filtered or unexported fields
}
func NewNullableDocReaction ¶
func NewNullableDocReaction(val *DocReaction) *NullableDocReaction
func (NullableDocReaction) Get ¶
func (v NullableDocReaction) Get() *DocReaction
func (NullableDocReaction) IsSet ¶
func (v NullableDocReaction) IsSet() bool
func (NullableDocReaction) MarshalJSON ¶
func (v NullableDocReaction) MarshalJSON() ([]byte, error)
func (*NullableDocReaction) Set ¶
func (v *NullableDocReaction) Set(val *DocReaction)
func (*NullableDocReaction) UnmarshalJSON ¶
func (v *NullableDocReaction) UnmarshalJSON(src []byte) error
func (*NullableDocReaction) Unset ¶
func (v *NullableDocReaction) Unset()
type NullableDocReadMany200Response ¶
type NullableDocReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableDocReadMany200Response ¶
func NewNullableDocReadMany200Response(val *DocReadMany200Response) *NullableDocReadMany200Response
func (NullableDocReadMany200Response) Get ¶
func (v NullableDocReadMany200Response) Get() *DocReadMany200Response
func (NullableDocReadMany200Response) IsSet ¶
func (v NullableDocReadMany200Response) IsSet() bool
func (NullableDocReadMany200Response) MarshalJSON ¶
func (v NullableDocReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableDocReadMany200Response) Set ¶
func (v *NullableDocReadMany200Response) Set(val *DocReadMany200Response)
func (*NullableDocReadMany200Response) UnmarshalJSON ¶
func (v *NullableDocReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableDocReadMany200Response) Unset ¶
func (v *NullableDocReadMany200Response) Unset()
type NullableDocUpdateRequest ¶
type NullableDocUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableDocUpdateRequest ¶
func NewNullableDocUpdateRequest(val *DocUpdateRequest) *NullableDocUpdateRequest
func (NullableDocUpdateRequest) Get ¶
func (v NullableDocUpdateRequest) Get() *DocUpdateRequest
func (NullableDocUpdateRequest) IsSet ¶
func (v NullableDocUpdateRequest) IsSet() bool
func (NullableDocUpdateRequest) MarshalJSON ¶
func (v NullableDocUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableDocUpdateRequest) Set ¶
func (v *NullableDocUpdateRequest) Set(val *DocUpdateRequest)
func (*NullableDocUpdateRequest) UnmarshalJSON ¶
func (v *NullableDocUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableDocUpdateRequest) Unset ¶
func (v *NullableDocUpdateRequest) Unset()
type NullableEmote ¶
type NullableEmote struct {
// contains filtered or unexported fields
}
func NewNullableEmote ¶
func NewNullableEmote(val *Emote) *NullableEmote
func (NullableEmote) Get ¶
func (v NullableEmote) Get() *Emote
func (NullableEmote) IsSet ¶
func (v NullableEmote) IsSet() bool
func (NullableEmote) MarshalJSON ¶
func (v NullableEmote) MarshalJSON() ([]byte, error)
func (*NullableEmote) Set ¶
func (v *NullableEmote) Set(val *Emote)
func (*NullableEmote) UnmarshalJSON ¶
func (v *NullableEmote) UnmarshalJSON(src []byte) error
func (*NullableEmote) Unset ¶
func (v *NullableEmote) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableForumTopic ¶
type NullableForumTopic struct {
// contains filtered or unexported fields
}
func NewNullableForumTopic ¶
func NewNullableForumTopic(val *ForumTopic) *NullableForumTopic
func (NullableForumTopic) Get ¶
func (v NullableForumTopic) Get() *ForumTopic
func (NullableForumTopic) IsSet ¶
func (v NullableForumTopic) IsSet() bool
func (NullableForumTopic) MarshalJSON ¶
func (v NullableForumTopic) MarshalJSON() ([]byte, error)
func (*NullableForumTopic) Set ¶
func (v *NullableForumTopic) Set(val *ForumTopic)
func (*NullableForumTopic) UnmarshalJSON ¶
func (v *NullableForumTopic) UnmarshalJSON(src []byte) error
func (*NullableForumTopic) Unset ¶
func (v *NullableForumTopic) Unset()
type NullableForumTopicComment ¶
type NullableForumTopicComment struct {
// contains filtered or unexported fields
}
func NewNullableForumTopicComment ¶
func NewNullableForumTopicComment(val *ForumTopicComment) *NullableForumTopicComment
func (NullableForumTopicComment) Get ¶
func (v NullableForumTopicComment) Get() *ForumTopicComment
func (NullableForumTopicComment) IsSet ¶
func (v NullableForumTopicComment) IsSet() bool
func (NullableForumTopicComment) MarshalJSON ¶
func (v NullableForumTopicComment) MarshalJSON() ([]byte, error)
func (*NullableForumTopicComment) Set ¶
func (v *NullableForumTopicComment) Set(val *ForumTopicComment)
func (*NullableForumTopicComment) UnmarshalJSON ¶
func (v *NullableForumTopicComment) UnmarshalJSON(src []byte) error
func (*NullableForumTopicComment) Unset ¶
func (v *NullableForumTopicComment) Unset()
type NullableForumTopicCommentCreate201Response ¶
type NullableForumTopicCommentCreate201Response struct {
// contains filtered or unexported fields
}
func NewNullableForumTopicCommentCreate201Response ¶
func NewNullableForumTopicCommentCreate201Response(val *ForumTopicCommentCreate201Response) *NullableForumTopicCommentCreate201Response
func (NullableForumTopicCommentCreate201Response) IsSet ¶
func (v NullableForumTopicCommentCreate201Response) IsSet() bool
func (NullableForumTopicCommentCreate201Response) MarshalJSON ¶
func (v NullableForumTopicCommentCreate201Response) MarshalJSON() ([]byte, error)
func (*NullableForumTopicCommentCreate201Response) Set ¶
func (v *NullableForumTopicCommentCreate201Response) Set(val *ForumTopicCommentCreate201Response)
func (*NullableForumTopicCommentCreate201Response) UnmarshalJSON ¶
func (v *NullableForumTopicCommentCreate201Response) UnmarshalJSON(src []byte) error
func (*NullableForumTopicCommentCreate201Response) Unset ¶
func (v *NullableForumTopicCommentCreate201Response) Unset()
type NullableForumTopicCommentCreateRequest ¶
type NullableForumTopicCommentCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableForumTopicCommentCreateRequest ¶
func NewNullableForumTopicCommentCreateRequest(val *ForumTopicCommentCreateRequest) *NullableForumTopicCommentCreateRequest
func (NullableForumTopicCommentCreateRequest) Get ¶
func (v NullableForumTopicCommentCreateRequest) Get() *ForumTopicCommentCreateRequest
func (NullableForumTopicCommentCreateRequest) IsSet ¶
func (v NullableForumTopicCommentCreateRequest) IsSet() bool
func (NullableForumTopicCommentCreateRequest) MarshalJSON ¶
func (v NullableForumTopicCommentCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableForumTopicCommentCreateRequest) Set ¶
func (v *NullableForumTopicCommentCreateRequest) Set(val *ForumTopicCommentCreateRequest)
func (*NullableForumTopicCommentCreateRequest) UnmarshalJSON ¶
func (v *NullableForumTopicCommentCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableForumTopicCommentCreateRequest) Unset ¶
func (v *NullableForumTopicCommentCreateRequest) Unset()
type NullableForumTopicCommentReaction ¶
type NullableForumTopicCommentReaction struct {
// contains filtered or unexported fields
}
func NewNullableForumTopicCommentReaction ¶
func NewNullableForumTopicCommentReaction(val *ForumTopicCommentReaction) *NullableForumTopicCommentReaction
func (NullableForumTopicCommentReaction) Get ¶
func (v NullableForumTopicCommentReaction) Get() *ForumTopicCommentReaction
func (NullableForumTopicCommentReaction) IsSet ¶
func (v NullableForumTopicCommentReaction) IsSet() bool
func (NullableForumTopicCommentReaction) MarshalJSON ¶
func (v NullableForumTopicCommentReaction) MarshalJSON() ([]byte, error)
func (*NullableForumTopicCommentReaction) Set ¶
func (v *NullableForumTopicCommentReaction) Set(val *ForumTopicCommentReaction)
func (*NullableForumTopicCommentReaction) UnmarshalJSON ¶
func (v *NullableForumTopicCommentReaction) UnmarshalJSON(src []byte) error
func (*NullableForumTopicCommentReaction) Unset ¶
func (v *NullableForumTopicCommentReaction) Unset()
type NullableForumTopicCommentReadMany200Response ¶
type NullableForumTopicCommentReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableForumTopicCommentReadMany200Response ¶
func NewNullableForumTopicCommentReadMany200Response(val *ForumTopicCommentReadMany200Response) *NullableForumTopicCommentReadMany200Response
func (NullableForumTopicCommentReadMany200Response) IsSet ¶
func (v NullableForumTopicCommentReadMany200Response) IsSet() bool
func (NullableForumTopicCommentReadMany200Response) MarshalJSON ¶
func (v NullableForumTopicCommentReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableForumTopicCommentReadMany200Response) Set ¶
func (v *NullableForumTopicCommentReadMany200Response) Set(val *ForumTopicCommentReadMany200Response)
func (*NullableForumTopicCommentReadMany200Response) UnmarshalJSON ¶
func (v *NullableForumTopicCommentReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableForumTopicCommentReadMany200Response) Unset ¶
func (v *NullableForumTopicCommentReadMany200Response) Unset()
type NullableForumTopicCommentUpdateRequest ¶
type NullableForumTopicCommentUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableForumTopicCommentUpdateRequest ¶
func NewNullableForumTopicCommentUpdateRequest(val *ForumTopicCommentUpdateRequest) *NullableForumTopicCommentUpdateRequest
func (NullableForumTopicCommentUpdateRequest) Get ¶
func (v NullableForumTopicCommentUpdateRequest) Get() *ForumTopicCommentUpdateRequest
func (NullableForumTopicCommentUpdateRequest) IsSet ¶
func (v NullableForumTopicCommentUpdateRequest) IsSet() bool
func (NullableForumTopicCommentUpdateRequest) MarshalJSON ¶
func (v NullableForumTopicCommentUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableForumTopicCommentUpdateRequest) Set ¶
func (v *NullableForumTopicCommentUpdateRequest) Set(val *ForumTopicCommentUpdateRequest)
func (*NullableForumTopicCommentUpdateRequest) UnmarshalJSON ¶
func (v *NullableForumTopicCommentUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableForumTopicCommentUpdateRequest) Unset ¶
func (v *NullableForumTopicCommentUpdateRequest) Unset()
type NullableForumTopicCreate201Response ¶
type NullableForumTopicCreate201Response struct {
// contains filtered or unexported fields
}
func NewNullableForumTopicCreate201Response ¶
func NewNullableForumTopicCreate201Response(val *ForumTopicCreate201Response) *NullableForumTopicCreate201Response
func (NullableForumTopicCreate201Response) Get ¶
func (v NullableForumTopicCreate201Response) Get() *ForumTopicCreate201Response
func (NullableForumTopicCreate201Response) IsSet ¶
func (v NullableForumTopicCreate201Response) IsSet() bool
func (NullableForumTopicCreate201Response) MarshalJSON ¶
func (v NullableForumTopicCreate201Response) MarshalJSON() ([]byte, error)
func (*NullableForumTopicCreate201Response) Set ¶
func (v *NullableForumTopicCreate201Response) Set(val *ForumTopicCreate201Response)
func (*NullableForumTopicCreate201Response) UnmarshalJSON ¶
func (v *NullableForumTopicCreate201Response) UnmarshalJSON(src []byte) error
func (*NullableForumTopicCreate201Response) Unset ¶
func (v *NullableForumTopicCreate201Response) Unset()
type NullableForumTopicCreateRequest ¶
type NullableForumTopicCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableForumTopicCreateRequest ¶
func NewNullableForumTopicCreateRequest(val *ForumTopicCreateRequest) *NullableForumTopicCreateRequest
func (NullableForumTopicCreateRequest) Get ¶
func (v NullableForumTopicCreateRequest) Get() *ForumTopicCreateRequest
func (NullableForumTopicCreateRequest) IsSet ¶
func (v NullableForumTopicCreateRequest) IsSet() bool
func (NullableForumTopicCreateRequest) MarshalJSON ¶
func (v NullableForumTopicCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableForumTopicCreateRequest) Set ¶
func (v *NullableForumTopicCreateRequest) Set(val *ForumTopicCreateRequest)
func (*NullableForumTopicCreateRequest) UnmarshalJSON ¶
func (v *NullableForumTopicCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableForumTopicCreateRequest) Unset ¶
func (v *NullableForumTopicCreateRequest) Unset()
type NullableForumTopicReaction ¶
type NullableForumTopicReaction struct {
// contains filtered or unexported fields
}
func NewNullableForumTopicReaction ¶
func NewNullableForumTopicReaction(val *ForumTopicReaction) *NullableForumTopicReaction
func (NullableForumTopicReaction) Get ¶
func (v NullableForumTopicReaction) Get() *ForumTopicReaction
func (NullableForumTopicReaction) IsSet ¶
func (v NullableForumTopicReaction) IsSet() bool
func (NullableForumTopicReaction) MarshalJSON ¶
func (v NullableForumTopicReaction) MarshalJSON() ([]byte, error)
func (*NullableForumTopicReaction) Set ¶
func (v *NullableForumTopicReaction) Set(val *ForumTopicReaction)
func (*NullableForumTopicReaction) UnmarshalJSON ¶
func (v *NullableForumTopicReaction) UnmarshalJSON(src []byte) error
func (*NullableForumTopicReaction) Unset ¶
func (v *NullableForumTopicReaction) Unset()
type NullableForumTopicReadMany200Response ¶
type NullableForumTopicReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableForumTopicReadMany200Response ¶
func NewNullableForumTopicReadMany200Response(val *ForumTopicReadMany200Response) *NullableForumTopicReadMany200Response
func (NullableForumTopicReadMany200Response) Get ¶
func (v NullableForumTopicReadMany200Response) Get() *ForumTopicReadMany200Response
func (NullableForumTopicReadMany200Response) IsSet ¶
func (v NullableForumTopicReadMany200Response) IsSet() bool
func (NullableForumTopicReadMany200Response) MarshalJSON ¶
func (v NullableForumTopicReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableForumTopicReadMany200Response) Set ¶
func (v *NullableForumTopicReadMany200Response) Set(val *ForumTopicReadMany200Response)
func (*NullableForumTopicReadMany200Response) UnmarshalJSON ¶
func (v *NullableForumTopicReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableForumTopicReadMany200Response) Unset ¶
func (v *NullableForumTopicReadMany200Response) Unset()
type NullableForumTopicSummary ¶
type NullableForumTopicSummary struct {
// contains filtered or unexported fields
}
func NewNullableForumTopicSummary ¶
func NewNullableForumTopicSummary(val *ForumTopicSummary) *NullableForumTopicSummary
func (NullableForumTopicSummary) Get ¶
func (v NullableForumTopicSummary) Get() *ForumTopicSummary
func (NullableForumTopicSummary) IsSet ¶
func (v NullableForumTopicSummary) IsSet() bool
func (NullableForumTopicSummary) MarshalJSON ¶
func (v NullableForumTopicSummary) MarshalJSON() ([]byte, error)
func (*NullableForumTopicSummary) Set ¶
func (v *NullableForumTopicSummary) Set(val *ForumTopicSummary)
func (*NullableForumTopicSummary) UnmarshalJSON ¶
func (v *NullableForumTopicSummary) UnmarshalJSON(src []byte) error
func (*NullableForumTopicSummary) Unset ¶
func (v *NullableForumTopicSummary) Unset()
type NullableForumTopicUpdateRequest ¶
type NullableForumTopicUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableForumTopicUpdateRequest ¶
func NewNullableForumTopicUpdateRequest(val *ForumTopicUpdateRequest) *NullableForumTopicUpdateRequest
func (NullableForumTopicUpdateRequest) Get ¶
func (v NullableForumTopicUpdateRequest) Get() *ForumTopicUpdateRequest
func (NullableForumTopicUpdateRequest) IsSet ¶
func (v NullableForumTopicUpdateRequest) IsSet() bool
func (NullableForumTopicUpdateRequest) MarshalJSON ¶
func (v NullableForumTopicUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableForumTopicUpdateRequest) Set ¶
func (v *NullableForumTopicUpdateRequest) Set(val *ForumTopicUpdateRequest)
func (*NullableForumTopicUpdateRequest) UnmarshalJSON ¶
func (v *NullableForumTopicUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableForumTopicUpdateRequest) Unset ¶
func (v *NullableForumTopicUpdateRequest) Unset()
type NullableGroup ¶
type NullableGroup struct {
// contains filtered or unexported fields
}
func NewNullableGroup ¶
func NewNullableGroup(val *Group) *NullableGroup
func (NullableGroup) Get ¶
func (v NullableGroup) Get() *Group
func (NullableGroup) IsSet ¶
func (v NullableGroup) IsSet() bool
func (NullableGroup) MarshalJSON ¶
func (v NullableGroup) MarshalJSON() ([]byte, error)
func (*NullableGroup) Set ¶
func (v *NullableGroup) Set(val *Group)
func (*NullableGroup) UnmarshalJSON ¶
func (v *NullableGroup) UnmarshalJSON(src []byte) error
func (*NullableGroup) Unset ¶
func (v *NullableGroup) Unset()
type NullableGroupCreate201Response ¶
type NullableGroupCreate201Response struct {
// contains filtered or unexported fields
}
func NewNullableGroupCreate201Response ¶
func NewNullableGroupCreate201Response(val *GroupCreate201Response) *NullableGroupCreate201Response
func (NullableGroupCreate201Response) Get ¶
func (v NullableGroupCreate201Response) Get() *GroupCreate201Response
func (NullableGroupCreate201Response) IsSet ¶
func (v NullableGroupCreate201Response) IsSet() bool
func (NullableGroupCreate201Response) MarshalJSON ¶
func (v NullableGroupCreate201Response) MarshalJSON() ([]byte, error)
func (*NullableGroupCreate201Response) Set ¶
func (v *NullableGroupCreate201Response) Set(val *GroupCreate201Response)
func (*NullableGroupCreate201Response) UnmarshalJSON ¶
func (v *NullableGroupCreate201Response) UnmarshalJSON(src []byte) error
func (*NullableGroupCreate201Response) Unset ¶
func (v *NullableGroupCreate201Response) Unset()
type NullableGroupCreateRequest ¶
type NullableGroupCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableGroupCreateRequest ¶
func NewNullableGroupCreateRequest(val *GroupCreateRequest) *NullableGroupCreateRequest
func (NullableGroupCreateRequest) Get ¶
func (v NullableGroupCreateRequest) Get() *GroupCreateRequest
func (NullableGroupCreateRequest) IsSet ¶
func (v NullableGroupCreateRequest) IsSet() bool
func (NullableGroupCreateRequest) MarshalJSON ¶
func (v NullableGroupCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableGroupCreateRequest) Set ¶
func (v *NullableGroupCreateRequest) Set(val *GroupCreateRequest)
func (*NullableGroupCreateRequest) UnmarshalJSON ¶
func (v *NullableGroupCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableGroupCreateRequest) Unset ¶
func (v *NullableGroupCreateRequest) Unset()
type NullableGroupReadMany200Response ¶
type NullableGroupReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableGroupReadMany200Response ¶
func NewNullableGroupReadMany200Response(val *GroupReadMany200Response) *NullableGroupReadMany200Response
func (NullableGroupReadMany200Response) Get ¶
func (v NullableGroupReadMany200Response) Get() *GroupReadMany200Response
func (NullableGroupReadMany200Response) IsSet ¶
func (v NullableGroupReadMany200Response) IsSet() bool
func (NullableGroupReadMany200Response) MarshalJSON ¶
func (v NullableGroupReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableGroupReadMany200Response) Set ¶
func (v *NullableGroupReadMany200Response) Set(val *GroupReadMany200Response)
func (*NullableGroupReadMany200Response) UnmarshalJSON ¶
func (v *NullableGroupReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableGroupReadMany200Response) Unset ¶
func (v *NullableGroupReadMany200Response) Unset()
type NullableGroupUpdateRequest ¶
type NullableGroupUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableGroupUpdateRequest ¶
func NewNullableGroupUpdateRequest(val *GroupUpdateRequest) *NullableGroupUpdateRequest
func (NullableGroupUpdateRequest) Get ¶
func (v NullableGroupUpdateRequest) Get() *GroupUpdateRequest
func (NullableGroupUpdateRequest) IsSet ¶
func (v NullableGroupUpdateRequest) IsSet() bool
func (NullableGroupUpdateRequest) MarshalJSON ¶
func (v NullableGroupUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableGroupUpdateRequest) Set ¶
func (v *NullableGroupUpdateRequest) Set(val *GroupUpdateRequest)
func (*NullableGroupUpdateRequest) UnmarshalJSON ¶
func (v *NullableGroupUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableGroupUpdateRequest) Unset ¶
func (v *NullableGroupUpdateRequest) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableListItem ¶
type NullableListItem struct {
// contains filtered or unexported fields
}
func NewNullableListItem ¶
func NewNullableListItem(val *ListItem) *NullableListItem
func (NullableListItem) Get ¶
func (v NullableListItem) Get() *ListItem
func (NullableListItem) IsSet ¶
func (v NullableListItem) IsSet() bool
func (NullableListItem) MarshalJSON ¶
func (v NullableListItem) MarshalJSON() ([]byte, error)
func (*NullableListItem) Set ¶
func (v *NullableListItem) Set(val *ListItem)
func (*NullableListItem) UnmarshalJSON ¶
func (v *NullableListItem) UnmarshalJSON(src []byte) error
func (*NullableListItem) Unset ¶
func (v *NullableListItem) Unset()
type NullableListItemCreate201Response ¶
type NullableListItemCreate201Response struct {
// contains filtered or unexported fields
}
func NewNullableListItemCreate201Response ¶
func NewNullableListItemCreate201Response(val *ListItemCreate201Response) *NullableListItemCreate201Response
func (NullableListItemCreate201Response) Get ¶
func (v NullableListItemCreate201Response) Get() *ListItemCreate201Response
func (NullableListItemCreate201Response) IsSet ¶
func (v NullableListItemCreate201Response) IsSet() bool
func (NullableListItemCreate201Response) MarshalJSON ¶
func (v NullableListItemCreate201Response) MarshalJSON() ([]byte, error)
func (*NullableListItemCreate201Response) Set ¶
func (v *NullableListItemCreate201Response) Set(val *ListItemCreate201Response)
func (*NullableListItemCreate201Response) UnmarshalJSON ¶
func (v *NullableListItemCreate201Response) UnmarshalJSON(src []byte) error
func (*NullableListItemCreate201Response) Unset ¶
func (v *NullableListItemCreate201Response) Unset()
type NullableListItemCreateRequest ¶
type NullableListItemCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableListItemCreateRequest ¶
func NewNullableListItemCreateRequest(val *ListItemCreateRequest) *NullableListItemCreateRequest
func (NullableListItemCreateRequest) Get ¶
func (v NullableListItemCreateRequest) Get() *ListItemCreateRequest
func (NullableListItemCreateRequest) IsSet ¶
func (v NullableListItemCreateRequest) IsSet() bool
func (NullableListItemCreateRequest) MarshalJSON ¶
func (v NullableListItemCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableListItemCreateRequest) Set ¶
func (v *NullableListItemCreateRequest) Set(val *ListItemCreateRequest)
func (*NullableListItemCreateRequest) UnmarshalJSON ¶
func (v *NullableListItemCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableListItemCreateRequest) Unset ¶
func (v *NullableListItemCreateRequest) Unset()
type NullableListItemCreateRequestNote ¶
type NullableListItemCreateRequestNote struct {
// contains filtered or unexported fields
}
func NewNullableListItemCreateRequestNote ¶
func NewNullableListItemCreateRequestNote(val *ListItemCreateRequestNote) *NullableListItemCreateRequestNote
func (NullableListItemCreateRequestNote) Get ¶
func (v NullableListItemCreateRequestNote) Get() *ListItemCreateRequestNote
func (NullableListItemCreateRequestNote) IsSet ¶
func (v NullableListItemCreateRequestNote) IsSet() bool
func (NullableListItemCreateRequestNote) MarshalJSON ¶
func (v NullableListItemCreateRequestNote) MarshalJSON() ([]byte, error)
func (*NullableListItemCreateRequestNote) Set ¶
func (v *NullableListItemCreateRequestNote) Set(val *ListItemCreateRequestNote)
func (*NullableListItemCreateRequestNote) UnmarshalJSON ¶
func (v *NullableListItemCreateRequestNote) UnmarshalJSON(src []byte) error
func (*NullableListItemCreateRequestNote) Unset ¶
func (v *NullableListItemCreateRequestNote) Unset()
type NullableListItemNote ¶
type NullableListItemNote struct {
// contains filtered or unexported fields
}
func NewNullableListItemNote ¶
func NewNullableListItemNote(val *ListItemNote) *NullableListItemNote
func (NullableListItemNote) Get ¶
func (v NullableListItemNote) Get() *ListItemNote
func (NullableListItemNote) IsSet ¶
func (v NullableListItemNote) IsSet() bool
func (NullableListItemNote) MarshalJSON ¶
func (v NullableListItemNote) MarshalJSON() ([]byte, error)
func (*NullableListItemNote) Set ¶
func (v *NullableListItemNote) Set(val *ListItemNote)
func (*NullableListItemNote) UnmarshalJSON ¶
func (v *NullableListItemNote) UnmarshalJSON(src []byte) error
func (*NullableListItemNote) Unset ¶
func (v *NullableListItemNote) Unset()
type NullableListItemReadMany200Response ¶
type NullableListItemReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableListItemReadMany200Response ¶
func NewNullableListItemReadMany200Response(val *ListItemReadMany200Response) *NullableListItemReadMany200Response
func (NullableListItemReadMany200Response) Get ¶
func (v NullableListItemReadMany200Response) Get() *ListItemReadMany200Response
func (NullableListItemReadMany200Response) IsSet ¶
func (v NullableListItemReadMany200Response) IsSet() bool
func (NullableListItemReadMany200Response) MarshalJSON ¶
func (v NullableListItemReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableListItemReadMany200Response) Set ¶
func (v *NullableListItemReadMany200Response) Set(val *ListItemReadMany200Response)
func (*NullableListItemReadMany200Response) UnmarshalJSON ¶
func (v *NullableListItemReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableListItemReadMany200Response) Unset ¶
func (v *NullableListItemReadMany200Response) Unset()
type NullableListItemSummary ¶
type NullableListItemSummary struct {
// contains filtered or unexported fields
}
func NewNullableListItemSummary ¶
func NewNullableListItemSummary(val *ListItemSummary) *NullableListItemSummary
func (NullableListItemSummary) Get ¶
func (v NullableListItemSummary) Get() *ListItemSummary
func (NullableListItemSummary) IsSet ¶
func (v NullableListItemSummary) IsSet() bool
func (NullableListItemSummary) MarshalJSON ¶
func (v NullableListItemSummary) MarshalJSON() ([]byte, error)
func (*NullableListItemSummary) Set ¶
func (v *NullableListItemSummary) Set(val *ListItemSummary)
func (*NullableListItemSummary) UnmarshalJSON ¶
func (v *NullableListItemSummary) UnmarshalJSON(src []byte) error
func (*NullableListItemSummary) Unset ¶
func (v *NullableListItemSummary) Unset()
type NullableListItemSummaryNote ¶
type NullableListItemSummaryNote struct {
// contains filtered or unexported fields
}
func NewNullableListItemSummaryNote ¶
func NewNullableListItemSummaryNote(val *ListItemSummaryNote) *NullableListItemSummaryNote
func (NullableListItemSummaryNote) Get ¶
func (v NullableListItemSummaryNote) Get() *ListItemSummaryNote
func (NullableListItemSummaryNote) IsSet ¶
func (v NullableListItemSummaryNote) IsSet() bool
func (NullableListItemSummaryNote) MarshalJSON ¶
func (v NullableListItemSummaryNote) MarshalJSON() ([]byte, error)
func (*NullableListItemSummaryNote) Set ¶
func (v *NullableListItemSummaryNote) Set(val *ListItemSummaryNote)
func (*NullableListItemSummaryNote) UnmarshalJSON ¶
func (v *NullableListItemSummaryNote) UnmarshalJSON(src []byte) error
func (*NullableListItemSummaryNote) Unset ¶
func (v *NullableListItemSummaryNote) Unset()
type NullableListItemUpdateRequest ¶
type NullableListItemUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableListItemUpdateRequest ¶
func NewNullableListItemUpdateRequest(val *ListItemUpdateRequest) *NullableListItemUpdateRequest
func (NullableListItemUpdateRequest) Get ¶
func (v NullableListItemUpdateRequest) Get() *ListItemUpdateRequest
func (NullableListItemUpdateRequest) IsSet ¶
func (v NullableListItemUpdateRequest) IsSet() bool
func (NullableListItemUpdateRequest) MarshalJSON ¶
func (v NullableListItemUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableListItemUpdateRequest) Set ¶
func (v *NullableListItemUpdateRequest) Set(val *ListItemUpdateRequest)
func (*NullableListItemUpdateRequest) UnmarshalJSON ¶
func (v *NullableListItemUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableListItemUpdateRequest) Unset ¶
func (v *NullableListItemUpdateRequest) Unset()
type NullableListItemUpdateRequestNote ¶
type NullableListItemUpdateRequestNote struct {
// contains filtered or unexported fields
}
func NewNullableListItemUpdateRequestNote ¶
func NewNullableListItemUpdateRequestNote(val *ListItemUpdateRequestNote) *NullableListItemUpdateRequestNote
func (NullableListItemUpdateRequestNote) Get ¶
func (v NullableListItemUpdateRequestNote) Get() *ListItemUpdateRequestNote
func (NullableListItemUpdateRequestNote) IsSet ¶
func (v NullableListItemUpdateRequestNote) IsSet() bool
func (NullableListItemUpdateRequestNote) MarshalJSON ¶
func (v NullableListItemUpdateRequestNote) MarshalJSON() ([]byte, error)
func (*NullableListItemUpdateRequestNote) Set ¶
func (v *NullableListItemUpdateRequestNote) Set(val *ListItemUpdateRequestNote)
func (*NullableListItemUpdateRequestNote) UnmarshalJSON ¶
func (v *NullableListItemUpdateRequestNote) UnmarshalJSON(src []byte) error
func (*NullableListItemUpdateRequestNote) Unset ¶
func (v *NullableListItemUpdateRequestNote) Unset()
type NullableMemberNicknameUpdate200Response ¶
type NullableMemberNicknameUpdate200Response struct {
// contains filtered or unexported fields
}
func NewNullableMemberNicknameUpdate200Response ¶
func NewNullableMemberNicknameUpdate200Response(val *MemberNicknameUpdate200Response) *NullableMemberNicknameUpdate200Response
func (NullableMemberNicknameUpdate200Response) IsSet ¶
func (v NullableMemberNicknameUpdate200Response) IsSet() bool
func (NullableMemberNicknameUpdate200Response) MarshalJSON ¶
func (v NullableMemberNicknameUpdate200Response) MarshalJSON() ([]byte, error)
func (*NullableMemberNicknameUpdate200Response) Set ¶
func (v *NullableMemberNicknameUpdate200Response) Set(val *MemberNicknameUpdate200Response)
func (*NullableMemberNicknameUpdate200Response) UnmarshalJSON ¶
func (v *NullableMemberNicknameUpdate200Response) UnmarshalJSON(src []byte) error
func (*NullableMemberNicknameUpdate200Response) Unset ¶
func (v *NullableMemberNicknameUpdate200Response) Unset()
type NullableMemberNicknameUpdateRequest ¶
type NullableMemberNicknameUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableMemberNicknameUpdateRequest ¶
func NewNullableMemberNicknameUpdateRequest(val *MemberNicknameUpdateRequest) *NullableMemberNicknameUpdateRequest
func (NullableMemberNicknameUpdateRequest) Get ¶
func (v NullableMemberNicknameUpdateRequest) Get() *MemberNicknameUpdateRequest
func (NullableMemberNicknameUpdateRequest) IsSet ¶
func (v NullableMemberNicknameUpdateRequest) IsSet() bool
func (NullableMemberNicknameUpdateRequest) MarshalJSON ¶
func (v NullableMemberNicknameUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableMemberNicknameUpdateRequest) Set ¶
func (v *NullableMemberNicknameUpdateRequest) Set(val *MemberNicknameUpdateRequest)
func (*NullableMemberNicknameUpdateRequest) UnmarshalJSON ¶
func (v *NullableMemberNicknameUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableMemberNicknameUpdateRequest) Unset ¶
func (v *NullableMemberNicknameUpdateRequest) Unset()
type NullableMemberSocialLinkRead200Response ¶
type NullableMemberSocialLinkRead200Response struct {
// contains filtered or unexported fields
}
func NewNullableMemberSocialLinkRead200Response ¶
func NewNullableMemberSocialLinkRead200Response(val *MemberSocialLinkRead200Response) *NullableMemberSocialLinkRead200Response
func (NullableMemberSocialLinkRead200Response) IsSet ¶
func (v NullableMemberSocialLinkRead200Response) IsSet() bool
func (NullableMemberSocialLinkRead200Response) MarshalJSON ¶
func (v NullableMemberSocialLinkRead200Response) MarshalJSON() ([]byte, error)
func (*NullableMemberSocialLinkRead200Response) Set ¶
func (v *NullableMemberSocialLinkRead200Response) Set(val *MemberSocialLinkRead200Response)
func (*NullableMemberSocialLinkRead200Response) UnmarshalJSON ¶
func (v *NullableMemberSocialLinkRead200Response) UnmarshalJSON(src []byte) error
func (*NullableMemberSocialLinkRead200Response) Unset ¶
func (v *NullableMemberSocialLinkRead200Response) Unset()
type NullableMentions ¶
type NullableMentions struct {
// contains filtered or unexported fields
}
func NewNullableMentions ¶
func NewNullableMentions(val *Mentions) *NullableMentions
func (NullableMentions) Get ¶
func (v NullableMentions) Get() *Mentions
func (NullableMentions) IsSet ¶
func (v NullableMentions) IsSet() bool
func (NullableMentions) MarshalJSON ¶
func (v NullableMentions) MarshalJSON() ([]byte, error)
func (*NullableMentions) Set ¶
func (v *NullableMentions) Set(val *Mentions)
func (*NullableMentions) UnmarshalJSON ¶
func (v *NullableMentions) UnmarshalJSON(src []byte) error
func (*NullableMentions) Unset ¶
func (v *NullableMentions) Unset()
type NullableMessage ¶
type NullableMessage struct {
// contains filtered or unexported fields
}
func NewNullableMessage ¶
func NewNullableMessage(val *Message) *NullableMessage
func (NullableMessage) Get ¶
func (v NullableMessage) Get() *Message
func (NullableMessage) IsSet ¶
func (v NullableMessage) IsSet() bool
func (NullableMessage) MarshalJSON ¶
func (v NullableMessage) MarshalJSON() ([]byte, error)
func (*NullableMessage) Set ¶
func (v *NullableMessage) Set(val *Message)
func (*NullableMessage) UnmarshalJSON ¶
func (v *NullableMessage) UnmarshalJSON(src []byte) error
func (*NullableMessage) Unset ¶
func (v *NullableMessage) Unset()
type NullableNote ¶
type NullableNote struct {
// contains filtered or unexported fields
}
func NewNullableNote ¶
func NewNullableNote(val *Note) *NullableNote
func (NullableNote) Get ¶
func (v NullableNote) Get() *Note
func (NullableNote) IsSet ¶
func (v NullableNote) IsSet() bool
func (NullableNote) MarshalJSON ¶
func (v NullableNote) MarshalJSON() ([]byte, error)
func (*NullableNote) Set ¶
func (v *NullableNote) Set(val *Note)
func (*NullableNote) UnmarshalJSON ¶
func (v *NullableNote) UnmarshalJSON(src []byte) error
func (*NullableNote) Unset ¶
func (v *NullableNote) Unset()
type NullableRole ¶
type NullableRole struct {
// contains filtered or unexported fields
}
func NewNullableRole ¶
func NewNullableRole(val *Role) *NullableRole
func (NullableRole) Get ¶
func (v NullableRole) Get() *Role
func (NullableRole) IsSet ¶
func (v NullableRole) IsSet() bool
func (NullableRole) MarshalJSON ¶
func (v NullableRole) MarshalJSON() ([]byte, error)
func (*NullableRole) Set ¶
func (v *NullableRole) Set(val *Role)
func (*NullableRole) UnmarshalJSON ¶
func (v *NullableRole) UnmarshalJSON(src []byte) error
func (*NullableRole) Unset ¶
func (v *NullableRole) Unset()
type NullableRoleCreate200Response ¶
type NullableRoleCreate200Response struct {
// contains filtered or unexported fields
}
func NewNullableRoleCreate200Response ¶
func NewNullableRoleCreate200Response(val *RoleCreate200Response) *NullableRoleCreate200Response
func (NullableRoleCreate200Response) Get ¶
func (v NullableRoleCreate200Response) Get() *RoleCreate200Response
func (NullableRoleCreate200Response) IsSet ¶
func (v NullableRoleCreate200Response) IsSet() bool
func (NullableRoleCreate200Response) MarshalJSON ¶
func (v NullableRoleCreate200Response) MarshalJSON() ([]byte, error)
func (*NullableRoleCreate200Response) Set ¶
func (v *NullableRoleCreate200Response) Set(val *RoleCreate200Response)
func (*NullableRoleCreate200Response) UnmarshalJSON ¶
func (v *NullableRoleCreate200Response) UnmarshalJSON(src []byte) error
func (*NullableRoleCreate200Response) Unset ¶
func (v *NullableRoleCreate200Response) Unset()
type NullableRoleCreateRequest ¶
type NullableRoleCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableRoleCreateRequest ¶
func NewNullableRoleCreateRequest(val *RoleCreateRequest) *NullableRoleCreateRequest
func (NullableRoleCreateRequest) Get ¶
func (v NullableRoleCreateRequest) Get() *RoleCreateRequest
func (NullableRoleCreateRequest) IsSet ¶
func (v NullableRoleCreateRequest) IsSet() bool
func (NullableRoleCreateRequest) MarshalJSON ¶
func (v NullableRoleCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableRoleCreateRequest) Set ¶
func (v *NullableRoleCreateRequest) Set(val *RoleCreateRequest)
func (*NullableRoleCreateRequest) UnmarshalJSON ¶
func (v *NullableRoleCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableRoleCreateRequest) Unset ¶
func (v *NullableRoleCreateRequest) Unset()
type NullableRoleMembershipReadMany200Response ¶
type NullableRoleMembershipReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableRoleMembershipReadMany200Response ¶
func NewNullableRoleMembershipReadMany200Response(val *RoleMembershipReadMany200Response) *NullableRoleMembershipReadMany200Response
func (NullableRoleMembershipReadMany200Response) IsSet ¶
func (v NullableRoleMembershipReadMany200Response) IsSet() bool
func (NullableRoleMembershipReadMany200Response) MarshalJSON ¶
func (v NullableRoleMembershipReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableRoleMembershipReadMany200Response) Set ¶
func (v *NullableRoleMembershipReadMany200Response) Set(val *RoleMembershipReadMany200Response)
func (*NullableRoleMembershipReadMany200Response) UnmarshalJSON ¶
func (v *NullableRoleMembershipReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableRoleMembershipReadMany200Response) Unset ¶
func (v *NullableRoleMembershipReadMany200Response) Unset()
type NullableRolePermissionUpdateRequest ¶
type NullableRolePermissionUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableRolePermissionUpdateRequest ¶
func NewNullableRolePermissionUpdateRequest(val *RolePermissionUpdateRequest) *NullableRolePermissionUpdateRequest
func (NullableRolePermissionUpdateRequest) Get ¶
func (v NullableRolePermissionUpdateRequest) Get() *RolePermissionUpdateRequest
func (NullableRolePermissionUpdateRequest) IsSet ¶
func (v NullableRolePermissionUpdateRequest) IsSet() bool
func (NullableRolePermissionUpdateRequest) MarshalJSON ¶
func (v NullableRolePermissionUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableRolePermissionUpdateRequest) Set ¶
func (v *NullableRolePermissionUpdateRequest) Set(val *RolePermissionUpdateRequest)
func (*NullableRolePermissionUpdateRequest) UnmarshalJSON ¶
func (v *NullableRolePermissionUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableRolePermissionUpdateRequest) Unset ¶
func (v *NullableRolePermissionUpdateRequest) Unset()
type NullableRoleReadMany200Response ¶
type NullableRoleReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableRoleReadMany200Response ¶
func NewNullableRoleReadMany200Response(val *RoleReadMany200Response) *NullableRoleReadMany200Response
func (NullableRoleReadMany200Response) Get ¶
func (v NullableRoleReadMany200Response) Get() *RoleReadMany200Response
func (NullableRoleReadMany200Response) IsSet ¶
func (v NullableRoleReadMany200Response) IsSet() bool
func (NullableRoleReadMany200Response) MarshalJSON ¶
func (v NullableRoleReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableRoleReadMany200Response) Set ¶
func (v *NullableRoleReadMany200Response) Set(val *RoleReadMany200Response)
func (*NullableRoleReadMany200Response) UnmarshalJSON ¶
func (v *NullableRoleReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableRoleReadMany200Response) Unset ¶
func (v *NullableRoleReadMany200Response) Unset()
type NullableRoleUpdateRequest ¶
type NullableRoleUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableRoleUpdateRequest ¶
func NewNullableRoleUpdateRequest(val *RoleUpdateRequest) *NullableRoleUpdateRequest
func (NullableRoleUpdateRequest) Get ¶
func (v NullableRoleUpdateRequest) Get() *RoleUpdateRequest
func (NullableRoleUpdateRequest) IsSet ¶
func (v NullableRoleUpdateRequest) IsSet() bool
func (NullableRoleUpdateRequest) MarshalJSON ¶
func (v NullableRoleUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableRoleUpdateRequest) Set ¶
func (v *NullableRoleUpdateRequest) Set(val *RoleUpdateRequest)
func (*NullableRoleUpdateRequest) UnmarshalJSON ¶
func (v *NullableRoleUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableRoleUpdateRequest) Unset ¶
func (v *NullableRoleUpdateRequest) Unset()
type NullableServer ¶
type NullableServer struct {
// contains filtered or unexported fields
}
func NewNullableServer ¶
func NewNullableServer(val *Server) *NullableServer
func (NullableServer) Get ¶
func (v NullableServer) Get() *Server
func (NullableServer) IsSet ¶
func (v NullableServer) IsSet() bool
func (NullableServer) MarshalJSON ¶
func (v NullableServer) MarshalJSON() ([]byte, error)
func (*NullableServer) Set ¶
func (v *NullableServer) Set(val *Server)
func (*NullableServer) UnmarshalJSON ¶
func (v *NullableServer) UnmarshalJSON(src []byte) error
func (*NullableServer) Unset ¶
func (v *NullableServer) Unset()
type NullableServerChannel ¶
type NullableServerChannel struct {
// contains filtered or unexported fields
}
func NewNullableServerChannel ¶
func NewNullableServerChannel(val *ServerChannel) *NullableServerChannel
func (NullableServerChannel) Get ¶
func (v NullableServerChannel) Get() *ServerChannel
func (NullableServerChannel) IsSet ¶
func (v NullableServerChannel) IsSet() bool
func (NullableServerChannel) MarshalJSON ¶
func (v NullableServerChannel) MarshalJSON() ([]byte, error)
func (*NullableServerChannel) Set ¶
func (v *NullableServerChannel) Set(val *ServerChannel)
func (*NullableServerChannel) UnmarshalJSON ¶
func (v *NullableServerChannel) UnmarshalJSON(src []byte) error
func (*NullableServerChannel) Unset ¶
func (v *NullableServerChannel) Unset()
type NullableServerMember ¶
type NullableServerMember struct {
// contains filtered or unexported fields
}
func NewNullableServerMember ¶
func NewNullableServerMember(val *ServerMember) *NullableServerMember
func (NullableServerMember) Get ¶
func (v NullableServerMember) Get() *ServerMember
func (NullableServerMember) IsSet ¶
func (v NullableServerMember) IsSet() bool
func (NullableServerMember) MarshalJSON ¶
func (v NullableServerMember) MarshalJSON() ([]byte, error)
func (*NullableServerMember) Set ¶
func (v *NullableServerMember) Set(val *ServerMember)
func (*NullableServerMember) UnmarshalJSON ¶
func (v *NullableServerMember) UnmarshalJSON(src []byte) error
func (*NullableServerMember) Unset ¶
func (v *NullableServerMember) Unset()
type NullableServerMemberBan ¶
type NullableServerMemberBan struct {
// contains filtered or unexported fields
}
func NewNullableServerMemberBan ¶
func NewNullableServerMemberBan(val *ServerMemberBan) *NullableServerMemberBan
func (NullableServerMemberBan) Get ¶
func (v NullableServerMemberBan) Get() *ServerMemberBan
func (NullableServerMemberBan) IsSet ¶
func (v NullableServerMemberBan) IsSet() bool
func (NullableServerMemberBan) MarshalJSON ¶
func (v NullableServerMemberBan) MarshalJSON() ([]byte, error)
func (*NullableServerMemberBan) Set ¶
func (v *NullableServerMemberBan) Set(val *ServerMemberBan)
func (*NullableServerMemberBan) UnmarshalJSON ¶
func (v *NullableServerMemberBan) UnmarshalJSON(src []byte) error
func (*NullableServerMemberBan) Unset ¶
func (v *NullableServerMemberBan) Unset()
type NullableServerMemberBanCreateRequest ¶
type NullableServerMemberBanCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableServerMemberBanCreateRequest ¶
func NewNullableServerMemberBanCreateRequest(val *ServerMemberBanCreateRequest) *NullableServerMemberBanCreateRequest
func (NullableServerMemberBanCreateRequest) Get ¶
func (v NullableServerMemberBanCreateRequest) Get() *ServerMemberBanCreateRequest
func (NullableServerMemberBanCreateRequest) IsSet ¶
func (v NullableServerMemberBanCreateRequest) IsSet() bool
func (NullableServerMemberBanCreateRequest) MarshalJSON ¶
func (v NullableServerMemberBanCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableServerMemberBanCreateRequest) Set ¶
func (v *NullableServerMemberBanCreateRequest) Set(val *ServerMemberBanCreateRequest)
func (*NullableServerMemberBanCreateRequest) UnmarshalJSON ¶
func (v *NullableServerMemberBanCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableServerMemberBanCreateRequest) Unset ¶
func (v *NullableServerMemberBanCreateRequest) Unset()
type NullableServerMemberBanRead200Response ¶
type NullableServerMemberBanRead200Response struct {
// contains filtered or unexported fields
}
func NewNullableServerMemberBanRead200Response ¶
func NewNullableServerMemberBanRead200Response(val *ServerMemberBanRead200Response) *NullableServerMemberBanRead200Response
func (NullableServerMemberBanRead200Response) Get ¶
func (v NullableServerMemberBanRead200Response) Get() *ServerMemberBanRead200Response
func (NullableServerMemberBanRead200Response) IsSet ¶
func (v NullableServerMemberBanRead200Response) IsSet() bool
func (NullableServerMemberBanRead200Response) MarshalJSON ¶
func (v NullableServerMemberBanRead200Response) MarshalJSON() ([]byte, error)
func (*NullableServerMemberBanRead200Response) Set ¶
func (v *NullableServerMemberBanRead200Response) Set(val *ServerMemberBanRead200Response)
func (*NullableServerMemberBanRead200Response) UnmarshalJSON ¶
func (v *NullableServerMemberBanRead200Response) UnmarshalJSON(src []byte) error
func (*NullableServerMemberBanRead200Response) Unset ¶
func (v *NullableServerMemberBanRead200Response) Unset()
type NullableServerMemberBanReadMany200Response ¶
type NullableServerMemberBanReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableServerMemberBanReadMany200Response ¶
func NewNullableServerMemberBanReadMany200Response(val *ServerMemberBanReadMany200Response) *NullableServerMemberBanReadMany200Response
func (NullableServerMemberBanReadMany200Response) IsSet ¶
func (v NullableServerMemberBanReadMany200Response) IsSet() bool
func (NullableServerMemberBanReadMany200Response) MarshalJSON ¶
func (v NullableServerMemberBanReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableServerMemberBanReadMany200Response) Set ¶
func (v *NullableServerMemberBanReadMany200Response) Set(val *ServerMemberBanReadMany200Response)
func (*NullableServerMemberBanReadMany200Response) UnmarshalJSON ¶
func (v *NullableServerMemberBanReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableServerMemberBanReadMany200Response) Unset ¶
func (v *NullableServerMemberBanReadMany200Response) Unset()
type NullableServerMemberPermissions ¶
type NullableServerMemberPermissions struct {
// contains filtered or unexported fields
}
func NewNullableServerMemberPermissions ¶
func NewNullableServerMemberPermissions(val *ServerMemberPermissions) *NullableServerMemberPermissions
func (NullableServerMemberPermissions) Get ¶
func (v NullableServerMemberPermissions) Get() *ServerMemberPermissions
func (NullableServerMemberPermissions) IsSet ¶
func (v NullableServerMemberPermissions) IsSet() bool
func (NullableServerMemberPermissions) MarshalJSON ¶
func (v NullableServerMemberPermissions) MarshalJSON() ([]byte, error)
func (*NullableServerMemberPermissions) Set ¶
func (v *NullableServerMemberPermissions) Set(val *ServerMemberPermissions)
func (*NullableServerMemberPermissions) UnmarshalJSON ¶
func (v *NullableServerMemberPermissions) UnmarshalJSON(src []byte) error
func (*NullableServerMemberPermissions) Unset ¶
func (v *NullableServerMemberPermissions) Unset()
type NullableServerMemberPermissionsRead200Response ¶
type NullableServerMemberPermissionsRead200Response struct {
// contains filtered or unexported fields
}
func NewNullableServerMemberPermissionsRead200Response ¶
func NewNullableServerMemberPermissionsRead200Response(val *ServerMemberPermissionsRead200Response) *NullableServerMemberPermissionsRead200Response
func (NullableServerMemberPermissionsRead200Response) IsSet ¶
func (v NullableServerMemberPermissionsRead200Response) IsSet() bool
func (NullableServerMemberPermissionsRead200Response) MarshalJSON ¶
func (v NullableServerMemberPermissionsRead200Response) MarshalJSON() ([]byte, error)
func (*NullableServerMemberPermissionsRead200Response) Set ¶
func (v *NullableServerMemberPermissionsRead200Response) Set(val *ServerMemberPermissionsRead200Response)
func (*NullableServerMemberPermissionsRead200Response) UnmarshalJSON ¶
func (v *NullableServerMemberPermissionsRead200Response) UnmarshalJSON(src []byte) error
func (*NullableServerMemberPermissionsRead200Response) Unset ¶
func (v *NullableServerMemberPermissionsRead200Response) Unset()
type NullableServerMemberRead200Response ¶
type NullableServerMemberRead200Response struct {
// contains filtered or unexported fields
}
func NewNullableServerMemberRead200Response ¶
func NewNullableServerMemberRead200Response(val *ServerMemberRead200Response) *NullableServerMemberRead200Response
func (NullableServerMemberRead200Response) Get ¶
func (v NullableServerMemberRead200Response) Get() *ServerMemberRead200Response
func (NullableServerMemberRead200Response) IsSet ¶
func (v NullableServerMemberRead200Response) IsSet() bool
func (NullableServerMemberRead200Response) MarshalJSON ¶
func (v NullableServerMemberRead200Response) MarshalJSON() ([]byte, error)
func (*NullableServerMemberRead200Response) Set ¶
func (v *NullableServerMemberRead200Response) Set(val *ServerMemberRead200Response)
func (*NullableServerMemberRead200Response) UnmarshalJSON ¶
func (v *NullableServerMemberRead200Response) UnmarshalJSON(src []byte) error
func (*NullableServerMemberRead200Response) Unset ¶
func (v *NullableServerMemberRead200Response) Unset()
type NullableServerMemberReadMany200Response ¶
type NullableServerMemberReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableServerMemberReadMany200Response ¶
func NewNullableServerMemberReadMany200Response(val *ServerMemberReadMany200Response) *NullableServerMemberReadMany200Response
func (NullableServerMemberReadMany200Response) IsSet ¶
func (v NullableServerMemberReadMany200Response) IsSet() bool
func (NullableServerMemberReadMany200Response) MarshalJSON ¶
func (v NullableServerMemberReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableServerMemberReadMany200Response) Set ¶
func (v *NullableServerMemberReadMany200Response) Set(val *ServerMemberReadMany200Response)
func (*NullableServerMemberReadMany200Response) UnmarshalJSON ¶
func (v *NullableServerMemberReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableServerMemberReadMany200Response) Unset ¶
func (v *NullableServerMemberReadMany200Response) Unset()
type NullableServerMemberSummary ¶
type NullableServerMemberSummary struct {
// contains filtered or unexported fields
}
func NewNullableServerMemberSummary ¶
func NewNullableServerMemberSummary(val *ServerMemberSummary) *NullableServerMemberSummary
func (NullableServerMemberSummary) Get ¶
func (v NullableServerMemberSummary) Get() *ServerMemberSummary
func (NullableServerMemberSummary) IsSet ¶
func (v NullableServerMemberSummary) IsSet() bool
func (NullableServerMemberSummary) MarshalJSON ¶
func (v NullableServerMemberSummary) MarshalJSON() ([]byte, error)
func (*NullableServerMemberSummary) Set ¶
func (v *NullableServerMemberSummary) Set(val *ServerMemberSummary)
func (*NullableServerMemberSummary) UnmarshalJSON ¶
func (v *NullableServerMemberSummary) UnmarshalJSON(src []byte) error
func (*NullableServerMemberSummary) Unset ¶
func (v *NullableServerMemberSummary) Unset()
type NullableServerRead200Response ¶
type NullableServerRead200Response struct {
// contains filtered or unexported fields
}
func NewNullableServerRead200Response ¶
func NewNullableServerRead200Response(val *ServerRead200Response) *NullableServerRead200Response
func (NullableServerRead200Response) Get ¶
func (v NullableServerRead200Response) Get() *ServerRead200Response
func (NullableServerRead200Response) IsSet ¶
func (v NullableServerRead200Response) IsSet() bool
func (NullableServerRead200Response) MarshalJSON ¶
func (v NullableServerRead200Response) MarshalJSON() ([]byte, error)
func (*NullableServerRead200Response) Set ¶
func (v *NullableServerRead200Response) Set(val *ServerRead200Response)
func (*NullableServerRead200Response) UnmarshalJSON ¶
func (v *NullableServerRead200Response) UnmarshalJSON(src []byte) error
func (*NullableServerRead200Response) Unset ¶
func (v *NullableServerRead200Response) Unset()
type NullableServerSubscriptionTier ¶
type NullableServerSubscriptionTier struct {
// contains filtered or unexported fields
}
func NewNullableServerSubscriptionTier ¶
func NewNullableServerSubscriptionTier(val *ServerSubscriptionTier) *NullableServerSubscriptionTier
func (NullableServerSubscriptionTier) Get ¶
func (v NullableServerSubscriptionTier) Get() *ServerSubscriptionTier
func (NullableServerSubscriptionTier) IsSet ¶
func (v NullableServerSubscriptionTier) IsSet() bool
func (NullableServerSubscriptionTier) MarshalJSON ¶
func (v NullableServerSubscriptionTier) MarshalJSON() ([]byte, error)
func (*NullableServerSubscriptionTier) Set ¶
func (v *NullableServerSubscriptionTier) Set(val *ServerSubscriptionTier)
func (*NullableServerSubscriptionTier) UnmarshalJSON ¶
func (v *NullableServerSubscriptionTier) UnmarshalJSON(src []byte) error
func (*NullableServerSubscriptionTier) Unset ¶
func (v *NullableServerSubscriptionTier) Unset()
type NullableServerSubscriptionTierRead200Response ¶
type NullableServerSubscriptionTierRead200Response struct {
// contains filtered or unexported fields
}
func NewNullableServerSubscriptionTierRead200Response ¶
func NewNullableServerSubscriptionTierRead200Response(val *ServerSubscriptionTierRead200Response) *NullableServerSubscriptionTierRead200Response
func (NullableServerSubscriptionTierRead200Response) IsSet ¶
func (v NullableServerSubscriptionTierRead200Response) IsSet() bool
func (NullableServerSubscriptionTierRead200Response) MarshalJSON ¶
func (v NullableServerSubscriptionTierRead200Response) MarshalJSON() ([]byte, error)
func (*NullableServerSubscriptionTierRead200Response) Set ¶
func (v *NullableServerSubscriptionTierRead200Response) Set(val *ServerSubscriptionTierRead200Response)
func (*NullableServerSubscriptionTierRead200Response) UnmarshalJSON ¶
func (v *NullableServerSubscriptionTierRead200Response) UnmarshalJSON(src []byte) error
func (*NullableServerSubscriptionTierRead200Response) Unset ¶
func (v *NullableServerSubscriptionTierRead200Response) Unset()
type NullableServerSubscriptionTierReadMany200Response ¶
type NullableServerSubscriptionTierReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableServerSubscriptionTierReadMany200Response ¶
func NewNullableServerSubscriptionTierReadMany200Response(val *ServerSubscriptionTierReadMany200Response) *NullableServerSubscriptionTierReadMany200Response
func (NullableServerSubscriptionTierReadMany200Response) IsSet ¶
func (v NullableServerSubscriptionTierReadMany200Response) IsSet() bool
func (NullableServerSubscriptionTierReadMany200Response) MarshalJSON ¶
func (v NullableServerSubscriptionTierReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableServerSubscriptionTierReadMany200Response) UnmarshalJSON ¶
func (v *NullableServerSubscriptionTierReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableServerSubscriptionTierReadMany200Response) Unset ¶
func (v *NullableServerSubscriptionTierReadMany200Response) Unset()
type NullableServerXpForUserCreateManyRequest ¶
type NullableServerXpForUserCreateManyRequest struct {
// contains filtered or unexported fields
}
func NewNullableServerXpForUserCreateManyRequest ¶
func NewNullableServerXpForUserCreateManyRequest(val *ServerXpForUserCreateManyRequest) *NullableServerXpForUserCreateManyRequest
func (NullableServerXpForUserCreateManyRequest) IsSet ¶
func (v NullableServerXpForUserCreateManyRequest) IsSet() bool
func (NullableServerXpForUserCreateManyRequest) MarshalJSON ¶
func (v NullableServerXpForUserCreateManyRequest) MarshalJSON() ([]byte, error)
func (*NullableServerXpForUserCreateManyRequest) Set ¶
func (v *NullableServerXpForUserCreateManyRequest) Set(val *ServerXpForUserCreateManyRequest)
func (*NullableServerXpForUserCreateManyRequest) UnmarshalJSON ¶
func (v *NullableServerXpForUserCreateManyRequest) UnmarshalJSON(src []byte) error
func (*NullableServerXpForUserCreateManyRequest) Unset ¶
func (v *NullableServerXpForUserCreateManyRequest) Unset()
type NullableServerXpForUserCreateRequest ¶
type NullableServerXpForUserCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableServerXpForUserCreateRequest ¶
func NewNullableServerXpForUserCreateRequest(val *ServerXpForUserCreateRequest) *NullableServerXpForUserCreateRequest
func (NullableServerXpForUserCreateRequest) Get ¶
func (v NullableServerXpForUserCreateRequest) Get() *ServerXpForUserCreateRequest
func (NullableServerXpForUserCreateRequest) IsSet ¶
func (v NullableServerXpForUserCreateRequest) IsSet() bool
func (NullableServerXpForUserCreateRequest) MarshalJSON ¶
func (v NullableServerXpForUserCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableServerXpForUserCreateRequest) Set ¶
func (v *NullableServerXpForUserCreateRequest) Set(val *ServerXpForUserCreateRequest)
func (*NullableServerXpForUserCreateRequest) UnmarshalJSON ¶
func (v *NullableServerXpForUserCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableServerXpForUserCreateRequest) Unset ¶
func (v *NullableServerXpForUserCreateRequest) Unset()
type NullableServerXpForUserUpdate200Response ¶
type NullableServerXpForUserUpdate200Response struct {
// contains filtered or unexported fields
}
func NewNullableServerXpForUserUpdate200Response ¶
func NewNullableServerXpForUserUpdate200Response(val *ServerXpForUserUpdate200Response) *NullableServerXpForUserUpdate200Response
func (NullableServerXpForUserUpdate200Response) IsSet ¶
func (v NullableServerXpForUserUpdate200Response) IsSet() bool
func (NullableServerXpForUserUpdate200Response) MarshalJSON ¶
func (v NullableServerXpForUserUpdate200Response) MarshalJSON() ([]byte, error)
func (*NullableServerXpForUserUpdate200Response) Set ¶
func (v *NullableServerXpForUserUpdate200Response) Set(val *ServerXpForUserUpdate200Response)
func (*NullableServerXpForUserUpdate200Response) UnmarshalJSON ¶
func (v *NullableServerXpForUserUpdate200Response) UnmarshalJSON(src []byte) error
func (*NullableServerXpForUserUpdate200Response) Unset ¶
func (v *NullableServerXpForUserUpdate200Response) Unset()
type NullableServerXpForUserUpdateMany200Response ¶
type NullableServerXpForUserUpdateMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableServerXpForUserUpdateMany200Response ¶
func NewNullableServerXpForUserUpdateMany200Response(val *ServerXpForUserUpdateMany200Response) *NullableServerXpForUserUpdateMany200Response
func (NullableServerXpForUserUpdateMany200Response) IsSet ¶
func (v NullableServerXpForUserUpdateMany200Response) IsSet() bool
func (NullableServerXpForUserUpdateMany200Response) MarshalJSON ¶
func (v NullableServerXpForUserUpdateMany200Response) MarshalJSON() ([]byte, error)
func (*NullableServerXpForUserUpdateMany200Response) Set ¶
func (v *NullableServerXpForUserUpdateMany200Response) Set(val *ServerXpForUserUpdateMany200Response)
func (*NullableServerXpForUserUpdateMany200Response) UnmarshalJSON ¶
func (v *NullableServerXpForUserUpdateMany200Response) UnmarshalJSON(src []byte) error
func (*NullableServerXpForUserUpdateMany200Response) Unset ¶
func (v *NullableServerXpForUserUpdateMany200Response) Unset()
type NullableServerXpForUserUpdateManyRequest ¶
type NullableServerXpForUserUpdateManyRequest struct {
// contains filtered or unexported fields
}
func NewNullableServerXpForUserUpdateManyRequest ¶
func NewNullableServerXpForUserUpdateManyRequest(val *ServerXpForUserUpdateManyRequest) *NullableServerXpForUserUpdateManyRequest
func (NullableServerXpForUserUpdateManyRequest) IsSet ¶
func (v NullableServerXpForUserUpdateManyRequest) IsSet() bool
func (NullableServerXpForUserUpdateManyRequest) MarshalJSON ¶
func (v NullableServerXpForUserUpdateManyRequest) MarshalJSON() ([]byte, error)
func (*NullableServerXpForUserUpdateManyRequest) Set ¶
func (v *NullableServerXpForUserUpdateManyRequest) Set(val *ServerXpForUserUpdateManyRequest)
func (*NullableServerXpForUserUpdateManyRequest) UnmarshalJSON ¶
func (v *NullableServerXpForUserUpdateManyRequest) UnmarshalJSON(src []byte) error
func (*NullableServerXpForUserUpdateManyRequest) Unset ¶
func (v *NullableServerXpForUserUpdateManyRequest) Unset()
type NullableServerXpForUserUpdateRequest ¶
type NullableServerXpForUserUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableServerXpForUserUpdateRequest ¶
func NewNullableServerXpForUserUpdateRequest(val *ServerXpForUserUpdateRequest) *NullableServerXpForUserUpdateRequest
func (NullableServerXpForUserUpdateRequest) Get ¶
func (v NullableServerXpForUserUpdateRequest) Get() *ServerXpForUserUpdateRequest
func (NullableServerXpForUserUpdateRequest) IsSet ¶
func (v NullableServerXpForUserUpdateRequest) IsSet() bool
func (NullableServerXpForUserUpdateRequest) MarshalJSON ¶
func (v NullableServerXpForUserUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableServerXpForUserUpdateRequest) Set ¶
func (v *NullableServerXpForUserUpdateRequest) Set(val *ServerXpForUserUpdateRequest)
func (*NullableServerXpForUserUpdateRequest) UnmarshalJSON ¶
func (v *NullableServerXpForUserUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableServerXpForUserUpdateRequest) Unset ¶
func (v *NullableServerXpForUserUpdateRequest) Unset()
type NullableSocialLink ¶
type NullableSocialLink struct {
// contains filtered or unexported fields
}
func NewNullableSocialLink ¶
func NewNullableSocialLink(val *SocialLink) *NullableSocialLink
func (NullableSocialLink) Get ¶
func (v NullableSocialLink) Get() *SocialLink
func (NullableSocialLink) IsSet ¶
func (v NullableSocialLink) IsSet() bool
func (NullableSocialLink) MarshalJSON ¶
func (v NullableSocialLink) MarshalJSON() ([]byte, error)
func (*NullableSocialLink) Set ¶
func (v *NullableSocialLink) Set(val *SocialLink)
func (*NullableSocialLink) UnmarshalJSON ¶
func (v *NullableSocialLink) UnmarshalJSON(src []byte) error
func (*NullableSocialLink) Unset ¶
func (v *NullableSocialLink) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUrlSignature ¶
type NullableUrlSignature struct {
// contains filtered or unexported fields
}
func NewNullableUrlSignature ¶
func NewNullableUrlSignature(val *UrlSignature) *NullableUrlSignature
func (NullableUrlSignature) Get ¶
func (v NullableUrlSignature) Get() *UrlSignature
func (NullableUrlSignature) IsSet ¶
func (v NullableUrlSignature) IsSet() bool
func (NullableUrlSignature) MarshalJSON ¶
func (v NullableUrlSignature) MarshalJSON() ([]byte, error)
func (*NullableUrlSignature) Set ¶
func (v *NullableUrlSignature) Set(val *UrlSignature)
func (*NullableUrlSignature) UnmarshalJSON ¶
func (v *NullableUrlSignature) UnmarshalJSON(src []byte) error
func (*NullableUrlSignature) Unset ¶
func (v *NullableUrlSignature) Unset()
type NullableUrlSignatureCreateMany200Response ¶
type NullableUrlSignatureCreateMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableUrlSignatureCreateMany200Response ¶
func NewNullableUrlSignatureCreateMany200Response(val *UrlSignatureCreateMany200Response) *NullableUrlSignatureCreateMany200Response
func (NullableUrlSignatureCreateMany200Response) IsSet ¶
func (v NullableUrlSignatureCreateMany200Response) IsSet() bool
func (NullableUrlSignatureCreateMany200Response) MarshalJSON ¶
func (v NullableUrlSignatureCreateMany200Response) MarshalJSON() ([]byte, error)
func (*NullableUrlSignatureCreateMany200Response) Set ¶
func (v *NullableUrlSignatureCreateMany200Response) Set(val *UrlSignatureCreateMany200Response)
func (*NullableUrlSignatureCreateMany200Response) UnmarshalJSON ¶
func (v *NullableUrlSignatureCreateMany200Response) UnmarshalJSON(src []byte) error
func (*NullableUrlSignatureCreateMany200Response) Unset ¶
func (v *NullableUrlSignatureCreateMany200Response) Unset()
type NullableUrlSignatureCreateManyRequest ¶
type NullableUrlSignatureCreateManyRequest struct {
// contains filtered or unexported fields
}
func NewNullableUrlSignatureCreateManyRequest ¶
func NewNullableUrlSignatureCreateManyRequest(val *UrlSignatureCreateManyRequest) *NullableUrlSignatureCreateManyRequest
func (NullableUrlSignatureCreateManyRequest) Get ¶
func (v NullableUrlSignatureCreateManyRequest) Get() *UrlSignatureCreateManyRequest
func (NullableUrlSignatureCreateManyRequest) IsSet ¶
func (v NullableUrlSignatureCreateManyRequest) IsSet() bool
func (NullableUrlSignatureCreateManyRequest) MarshalJSON ¶
func (v NullableUrlSignatureCreateManyRequest) MarshalJSON() ([]byte, error)
func (*NullableUrlSignatureCreateManyRequest) Set ¶
func (v *NullableUrlSignatureCreateManyRequest) Set(val *UrlSignatureCreateManyRequest)
func (*NullableUrlSignatureCreateManyRequest) UnmarshalJSON ¶
func (v *NullableUrlSignatureCreateManyRequest) UnmarshalJSON(src []byte) error
func (*NullableUrlSignatureCreateManyRequest) Unset ¶
func (v *NullableUrlSignatureCreateManyRequest) Unset()
type NullableUser ¶
type NullableUser struct {
// contains filtered or unexported fields
}
func NewNullableUser ¶
func NewNullableUser(val *User) *NullableUser
func (NullableUser) Get ¶
func (v NullableUser) Get() *User
func (NullableUser) IsSet ¶
func (v NullableUser) IsSet() bool
func (NullableUser) MarshalJSON ¶
func (v NullableUser) MarshalJSON() ([]byte, error)
func (*NullableUser) Set ¶
func (v *NullableUser) Set(val *User)
func (*NullableUser) UnmarshalJSON ¶
func (v *NullableUser) UnmarshalJSON(src []byte) error
func (*NullableUser) Unset ¶
func (v *NullableUser) Unset()
type NullableUserID ¶
type NullableUserID struct {
// contains filtered or unexported fields
}
func NewNullableUserID ¶
func NewNullableUserID(val *UserID) *NullableUserID
func (NullableUserID) Get ¶
func (v NullableUserID) Get() *UserID
func (NullableUserID) IsSet ¶
func (v NullableUserID) IsSet() bool
func (NullableUserID) MarshalJSON ¶
func (v NullableUserID) MarshalJSON() ([]byte, error)
func (*NullableUserID) Set ¶
func (v *NullableUserID) Set(val *UserID)
func (*NullableUserID) UnmarshalJSON ¶
func (v *NullableUserID) UnmarshalJSON(src []byte) error
func (*NullableUserID) Unset ¶
func (v *NullableUserID) Unset()
type NullableUserID1 ¶
type NullableUserID1 struct {
// contains filtered or unexported fields
}
func NewNullableUserID1 ¶
func NewNullableUserID1(val *UserID1) *NullableUserID1
func (NullableUserID1) Get ¶
func (v NullableUserID1) Get() *UserID1
func (NullableUserID1) IsSet ¶
func (v NullableUserID1) IsSet() bool
func (NullableUserID1) MarshalJSON ¶
func (v NullableUserID1) MarshalJSON() ([]byte, error)
func (*NullableUserID1) Set ¶
func (v *NullableUserID1) Set(val *UserID1)
func (*NullableUserID1) UnmarshalJSON ¶
func (v *NullableUserID1) UnmarshalJSON(src []byte) error
func (*NullableUserID1) Unset ¶
func (v *NullableUserID1) Unset()
type NullableUserRead200Response ¶
type NullableUserRead200Response struct {
// contains filtered or unexported fields
}
func NewNullableUserRead200Response ¶
func NewNullableUserRead200Response(val *UserRead200Response) *NullableUserRead200Response
func (NullableUserRead200Response) Get ¶
func (v NullableUserRead200Response) Get() *UserRead200Response
func (NullableUserRead200Response) IsSet ¶
func (v NullableUserRead200Response) IsSet() bool
func (NullableUserRead200Response) MarshalJSON ¶
func (v NullableUserRead200Response) MarshalJSON() ([]byte, error)
func (*NullableUserRead200Response) Set ¶
func (v *NullableUserRead200Response) Set(val *UserRead200Response)
func (*NullableUserRead200Response) UnmarshalJSON ¶
func (v *NullableUserRead200Response) UnmarshalJSON(src []byte) error
func (*NullableUserRead200Response) Unset ¶
func (v *NullableUserRead200Response) Unset()
type NullableUserServerReadMany200Response ¶
type NullableUserServerReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableUserServerReadMany200Response ¶
func NewNullableUserServerReadMany200Response(val *UserServerReadMany200Response) *NullableUserServerReadMany200Response
func (NullableUserServerReadMany200Response) Get ¶
func (v NullableUserServerReadMany200Response) Get() *UserServerReadMany200Response
func (NullableUserServerReadMany200Response) IsSet ¶
func (v NullableUserServerReadMany200Response) IsSet() bool
func (NullableUserServerReadMany200Response) MarshalJSON ¶
func (v NullableUserServerReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableUserServerReadMany200Response) Set ¶
func (v *NullableUserServerReadMany200Response) Set(val *UserServerReadMany200Response)
func (*NullableUserServerReadMany200Response) UnmarshalJSON ¶
func (v *NullableUserServerReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableUserServerReadMany200Response) Unset ¶
func (v *NullableUserServerReadMany200Response) Unset()
type NullableUserStatus ¶
type NullableUserStatus struct {
// contains filtered or unexported fields
}
func NewNullableUserStatus ¶
func NewNullableUserStatus(val *UserStatus) *NullableUserStatus
func (NullableUserStatus) Get ¶
func (v NullableUserStatus) Get() *UserStatus
func (NullableUserStatus) IsSet ¶
func (v NullableUserStatus) IsSet() bool
func (NullableUserStatus) MarshalJSON ¶
func (v NullableUserStatus) MarshalJSON() ([]byte, error)
func (*NullableUserStatus) Set ¶
func (v *NullableUserStatus) Set(val *UserStatus)
func (*NullableUserStatus) UnmarshalJSON ¶
func (v *NullableUserStatus) UnmarshalJSON(src []byte) error
func (*NullableUserStatus) Unset ¶
func (v *NullableUserStatus) Unset()
type NullableUserStatusCreateRequest ¶
type NullableUserStatusCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableUserStatusCreateRequest ¶
func NewNullableUserStatusCreateRequest(val *UserStatusCreateRequest) *NullableUserStatusCreateRequest
func (NullableUserStatusCreateRequest) Get ¶
func (v NullableUserStatusCreateRequest) Get() *UserStatusCreateRequest
func (NullableUserStatusCreateRequest) IsSet ¶
func (v NullableUserStatusCreateRequest) IsSet() bool
func (NullableUserStatusCreateRequest) MarshalJSON ¶
func (v NullableUserStatusCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableUserStatusCreateRequest) Set ¶
func (v *NullableUserStatusCreateRequest) Set(val *UserStatusCreateRequest)
func (*NullableUserStatusCreateRequest) UnmarshalJSON ¶
func (v *NullableUserStatusCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableUserStatusCreateRequest) Unset ¶
func (v *NullableUserStatusCreateRequest) Unset()
type NullableUserSummary ¶
type NullableUserSummary struct {
// contains filtered or unexported fields
}
func NewNullableUserSummary ¶
func NewNullableUserSummary(val *UserSummary) *NullableUserSummary
func (NullableUserSummary) Get ¶
func (v NullableUserSummary) Get() *UserSummary
func (NullableUserSummary) IsSet ¶
func (v NullableUserSummary) IsSet() bool
func (NullableUserSummary) MarshalJSON ¶
func (v NullableUserSummary) MarshalJSON() ([]byte, error)
func (*NullableUserSummary) Set ¶
func (v *NullableUserSummary) Set(val *UserSummary)
func (*NullableUserSummary) UnmarshalJSON ¶
func (v *NullableUserSummary) UnmarshalJSON(src []byte) error
func (*NullableUserSummary) Unset ¶
func (v *NullableUserSummary) Unset()
type NullableWebhook ¶
type NullableWebhook struct {
// contains filtered or unexported fields
}
func NewNullableWebhook ¶
func NewNullableWebhook(val *Webhook) *NullableWebhook
func (NullableWebhook) Get ¶
func (v NullableWebhook) Get() *Webhook
func (NullableWebhook) IsSet ¶
func (v NullableWebhook) IsSet() bool
func (NullableWebhook) MarshalJSON ¶
func (v NullableWebhook) MarshalJSON() ([]byte, error)
func (*NullableWebhook) Set ¶
func (v *NullableWebhook) Set(val *Webhook)
func (*NullableWebhook) UnmarshalJSON ¶
func (v *NullableWebhook) UnmarshalJSON(src []byte) error
func (*NullableWebhook) Unset ¶
func (v *NullableWebhook) Unset()
type NullableWebhookCreate201Response ¶
type NullableWebhookCreate201Response struct {
// contains filtered or unexported fields
}
func NewNullableWebhookCreate201Response ¶
func NewNullableWebhookCreate201Response(val *WebhookCreate201Response) *NullableWebhookCreate201Response
func (NullableWebhookCreate201Response) Get ¶
func (v NullableWebhookCreate201Response) Get() *WebhookCreate201Response
func (NullableWebhookCreate201Response) IsSet ¶
func (v NullableWebhookCreate201Response) IsSet() bool
func (NullableWebhookCreate201Response) MarshalJSON ¶
func (v NullableWebhookCreate201Response) MarshalJSON() ([]byte, error)
func (*NullableWebhookCreate201Response) Set ¶
func (v *NullableWebhookCreate201Response) Set(val *WebhookCreate201Response)
func (*NullableWebhookCreate201Response) UnmarshalJSON ¶
func (v *NullableWebhookCreate201Response) UnmarshalJSON(src []byte) error
func (*NullableWebhookCreate201Response) Unset ¶
func (v *NullableWebhookCreate201Response) Unset()
type NullableWebhookCreateRequest ¶
type NullableWebhookCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableWebhookCreateRequest ¶
func NewNullableWebhookCreateRequest(val *WebhookCreateRequest) *NullableWebhookCreateRequest
func (NullableWebhookCreateRequest) Get ¶
func (v NullableWebhookCreateRequest) Get() *WebhookCreateRequest
func (NullableWebhookCreateRequest) IsSet ¶
func (v NullableWebhookCreateRequest) IsSet() bool
func (NullableWebhookCreateRequest) MarshalJSON ¶
func (v NullableWebhookCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableWebhookCreateRequest) Set ¶
func (v *NullableWebhookCreateRequest) Set(val *WebhookCreateRequest)
func (*NullableWebhookCreateRequest) UnmarshalJSON ¶
func (v *NullableWebhookCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableWebhookCreateRequest) Unset ¶
func (v *NullableWebhookCreateRequest) Unset()
type NullableWebhookReadMany200Response ¶
type NullableWebhookReadMany200Response struct {
// contains filtered or unexported fields
}
func NewNullableWebhookReadMany200Response ¶
func NewNullableWebhookReadMany200Response(val *WebhookReadMany200Response) *NullableWebhookReadMany200Response
func (NullableWebhookReadMany200Response) Get ¶
func (v NullableWebhookReadMany200Response) Get() *WebhookReadMany200Response
func (NullableWebhookReadMany200Response) IsSet ¶
func (v NullableWebhookReadMany200Response) IsSet() bool
func (NullableWebhookReadMany200Response) MarshalJSON ¶
func (v NullableWebhookReadMany200Response) MarshalJSON() ([]byte, error)
func (*NullableWebhookReadMany200Response) Set ¶
func (v *NullableWebhookReadMany200Response) Set(val *WebhookReadMany200Response)
func (*NullableWebhookReadMany200Response) UnmarshalJSON ¶
func (v *NullableWebhookReadMany200Response) UnmarshalJSON(src []byte) error
func (*NullableWebhookReadMany200Response) Unset ¶
func (v *NullableWebhookReadMany200Response) Unset()
type NullableWebhookUpdateRequest ¶
type NullableWebhookUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableWebhookUpdateRequest ¶
func NewNullableWebhookUpdateRequest(val *WebhookUpdateRequest) *NullableWebhookUpdateRequest
func (NullableWebhookUpdateRequest) Get ¶
func (v NullableWebhookUpdateRequest) Get() *WebhookUpdateRequest
func (NullableWebhookUpdateRequest) IsSet ¶
func (v NullableWebhookUpdateRequest) IsSet() bool
func (NullableWebhookUpdateRequest) MarshalJSON ¶
func (v NullableWebhookUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableWebhookUpdateRequest) Set ¶
func (v *NullableWebhookUpdateRequest) Set(val *WebhookUpdateRequest)
func (*NullableWebhookUpdateRequest) UnmarshalJSON ¶
func (v *NullableWebhookUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableWebhookUpdateRequest) Unset ¶
func (v *NullableWebhookUpdateRequest) Unset()
type PermissionOverrideAPI ¶
type PermissionOverrideAPI interface { /* ChannelCategoryRolePermissionCreate Create a channel category role permission @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @param roleId @return PermissionOverrideAPIChannelCategoryRolePermissionCreateRequest */ ChannelCategoryRolePermissionCreate(ctx context.Context, serverId string, categoryId int32, roleId int32) PermissionOverrideAPIChannelCategoryRolePermissionCreateRequest // ChannelCategoryRolePermissionCreateExecute executes the request // @return ChannelCategoryRolePermissionRead200Response ChannelCategoryRolePermissionCreateExecute(r PermissionOverrideAPIChannelCategoryRolePermissionCreateRequest) (*ChannelCategoryRolePermissionRead200Response, *http.Response, error) /* ChannelCategoryRolePermissionDelete Delete a channel category role permission @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @param roleId @return PermissionOverrideAPIChannelCategoryRolePermissionDeleteRequest */ ChannelCategoryRolePermissionDelete(ctx context.Context, serverId string, categoryId int32, roleId int32) PermissionOverrideAPIChannelCategoryRolePermissionDeleteRequest // ChannelCategoryRolePermissionDeleteExecute executes the request ChannelCategoryRolePermissionDeleteExecute(r PermissionOverrideAPIChannelCategoryRolePermissionDeleteRequest) (*http.Response, error) /* ChannelCategoryRolePermissionRead Read a channel category role permission @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @param roleId @return PermissionOverrideAPIChannelCategoryRolePermissionReadRequest */ ChannelCategoryRolePermissionRead(ctx context.Context, serverId string, categoryId int32, roleId int32) PermissionOverrideAPIChannelCategoryRolePermissionReadRequest // ChannelCategoryRolePermissionReadExecute executes the request // @return ChannelCategoryRolePermissionRead200Response ChannelCategoryRolePermissionReadExecute(r PermissionOverrideAPIChannelCategoryRolePermissionReadRequest) (*ChannelCategoryRolePermissionRead200Response, *http.Response, error) /* ChannelCategoryRolePermissionReadMany Get a list of the channel category role permissions @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @return PermissionOverrideAPIChannelCategoryRolePermissionReadManyRequest */ ChannelCategoryRolePermissionReadMany(ctx context.Context, serverId string, categoryId int32) PermissionOverrideAPIChannelCategoryRolePermissionReadManyRequest // ChannelCategoryRolePermissionReadManyExecute executes the request // @return ChannelCategoryRolePermissionReadMany200Response ChannelCategoryRolePermissionReadManyExecute(r PermissionOverrideAPIChannelCategoryRolePermissionReadManyRequest) (*ChannelCategoryRolePermissionReadMany200Response, *http.Response, error) /* ChannelCategoryRolePermissionUpdate Update a channel category role permission @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @param roleId @return PermissionOverrideAPIChannelCategoryRolePermissionUpdateRequest */ ChannelCategoryRolePermissionUpdate(ctx context.Context, serverId string, categoryId int32, roleId int32) PermissionOverrideAPIChannelCategoryRolePermissionUpdateRequest // ChannelCategoryRolePermissionUpdateExecute executes the request // @return ChannelCategoryRolePermissionRead200Response ChannelCategoryRolePermissionUpdateExecute(r PermissionOverrideAPIChannelCategoryRolePermissionUpdateRequest) (*ChannelCategoryRolePermissionRead200Response, *http.Response, error) /* ChannelCategoryUserPermissionCreate Create a channel category user permission @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @param userId @return PermissionOverrideAPIChannelCategoryUserPermissionCreateRequest */ ChannelCategoryUserPermissionCreate(ctx context.Context, serverId string, categoryId int32, userId UserID) PermissionOverrideAPIChannelCategoryUserPermissionCreateRequest // ChannelCategoryUserPermissionCreateExecute executes the request // @return ChannelCategoryUserPermissionRead200Response ChannelCategoryUserPermissionCreateExecute(r PermissionOverrideAPIChannelCategoryUserPermissionCreateRequest) (*ChannelCategoryUserPermissionRead200Response, *http.Response, error) /* ChannelCategoryUserPermissionDelete Delete a channel category user permission @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @param userId @return PermissionOverrideAPIChannelCategoryUserPermissionDeleteRequest */ ChannelCategoryUserPermissionDelete(ctx context.Context, serverId string, categoryId int32, userId UserID) PermissionOverrideAPIChannelCategoryUserPermissionDeleteRequest // ChannelCategoryUserPermissionDeleteExecute executes the request ChannelCategoryUserPermissionDeleteExecute(r PermissionOverrideAPIChannelCategoryUserPermissionDeleteRequest) (*http.Response, error) /* ChannelCategoryUserPermissionRead Read a channel category user permission @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @param userId @return PermissionOverrideAPIChannelCategoryUserPermissionReadRequest */ ChannelCategoryUserPermissionRead(ctx context.Context, serverId string, categoryId int32, userId UserID) PermissionOverrideAPIChannelCategoryUserPermissionReadRequest // ChannelCategoryUserPermissionReadExecute executes the request // @return ChannelCategoryUserPermissionRead200Response ChannelCategoryUserPermissionReadExecute(r PermissionOverrideAPIChannelCategoryUserPermissionReadRequest) (*ChannelCategoryUserPermissionRead200Response, *http.Response, error) /* ChannelCategoryUserPermissionReadMany Get a list of the channel category user permissions @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @return PermissionOverrideAPIChannelCategoryUserPermissionReadManyRequest */ ChannelCategoryUserPermissionReadMany(ctx context.Context, serverId string, categoryId int32) PermissionOverrideAPIChannelCategoryUserPermissionReadManyRequest // ChannelCategoryUserPermissionReadManyExecute executes the request // @return ChannelCategoryUserPermissionReadMany200Response ChannelCategoryUserPermissionReadManyExecute(r PermissionOverrideAPIChannelCategoryUserPermissionReadManyRequest) (*ChannelCategoryUserPermissionReadMany200Response, *http.Response, error) /* ChannelCategoryUserPermissionUpdate Update a channel category user permission @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @param userId @return PermissionOverrideAPIChannelCategoryUserPermissionUpdateRequest */ ChannelCategoryUserPermissionUpdate(ctx context.Context, serverId string, categoryId int32, userId UserID) PermissionOverrideAPIChannelCategoryUserPermissionUpdateRequest // ChannelCategoryUserPermissionUpdateExecute executes the request // @return ChannelCategoryUserPermissionRead200Response ChannelCategoryUserPermissionUpdateExecute(r PermissionOverrideAPIChannelCategoryUserPermissionUpdateRequest) (*ChannelCategoryUserPermissionRead200Response, *http.Response, error) /* ChannelRolePermissionCreate Create a channel role permission @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param channelId @param roleId @return PermissionOverrideAPIChannelRolePermissionCreateRequest */ ChannelRolePermissionCreate(ctx context.Context, serverId string, channelId string, roleId int32) PermissionOverrideAPIChannelRolePermissionCreateRequest // ChannelRolePermissionCreateExecute executes the request // @return ChannelRolePermissionRead200Response ChannelRolePermissionCreateExecute(r PermissionOverrideAPIChannelRolePermissionCreateRequest) (*ChannelRolePermissionRead200Response, *http.Response, error) /* ChannelRolePermissionDelete Delete a channel role permission @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param channelId @param roleId @return PermissionOverrideAPIChannelRolePermissionDeleteRequest */ ChannelRolePermissionDelete(ctx context.Context, serverId string, channelId string, roleId int32) PermissionOverrideAPIChannelRolePermissionDeleteRequest // ChannelRolePermissionDeleteExecute executes the request ChannelRolePermissionDeleteExecute(r PermissionOverrideAPIChannelRolePermissionDeleteRequest) (*http.Response, error) /* ChannelRolePermissionRead Read a channel role permission @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param channelId @param roleId @return PermissionOverrideAPIChannelRolePermissionReadRequest */ ChannelRolePermissionRead(ctx context.Context, serverId string, channelId string, roleId int32) PermissionOverrideAPIChannelRolePermissionReadRequest // ChannelRolePermissionReadExecute executes the request // @return ChannelRolePermissionRead200Response ChannelRolePermissionReadExecute(r PermissionOverrideAPIChannelRolePermissionReadRequest) (*ChannelRolePermissionRead200Response, *http.Response, error) /* ChannelRolePermissionReadMany ReadMany a channel role permission @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param channelId @return PermissionOverrideAPIChannelRolePermissionReadManyRequest */ ChannelRolePermissionReadMany(ctx context.Context, serverId string, channelId string) PermissionOverrideAPIChannelRolePermissionReadManyRequest // ChannelRolePermissionReadManyExecute executes the request // @return ChannelRolePermissionReadMany200Response ChannelRolePermissionReadManyExecute(r PermissionOverrideAPIChannelRolePermissionReadManyRequest) (*ChannelRolePermissionReadMany200Response, *http.Response, error) /* ChannelRolePermissionUpdate Update a channel role permission @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param channelId @param roleId @return PermissionOverrideAPIChannelRolePermissionUpdateRequest */ ChannelRolePermissionUpdate(ctx context.Context, serverId string, channelId string, roleId int32) PermissionOverrideAPIChannelRolePermissionUpdateRequest // ChannelRolePermissionUpdateExecute executes the request // @return ChannelRolePermissionRead200Response ChannelRolePermissionUpdateExecute(r PermissionOverrideAPIChannelRolePermissionUpdateRequest) (*ChannelRolePermissionRead200Response, *http.Response, error) /* ChannelUserPermissionCreate Create a channel user permission @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param channelId @param userId @return PermissionOverrideAPIChannelUserPermissionCreateRequest */ ChannelUserPermissionCreate(ctx context.Context, serverId string, channelId string, userId UserID) PermissionOverrideAPIChannelUserPermissionCreateRequest // ChannelUserPermissionCreateExecute executes the request // @return ChannelUserPermissionRead200Response ChannelUserPermissionCreateExecute(r PermissionOverrideAPIChannelUserPermissionCreateRequest) (*ChannelUserPermissionRead200Response, *http.Response, error) /* ChannelUserPermissionDelete Delete a channel user permission @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param channelId @param userId @return PermissionOverrideAPIChannelUserPermissionDeleteRequest */ ChannelUserPermissionDelete(ctx context.Context, serverId string, channelId string, userId UserID) PermissionOverrideAPIChannelUserPermissionDeleteRequest // ChannelUserPermissionDeleteExecute executes the request ChannelUserPermissionDeleteExecute(r PermissionOverrideAPIChannelUserPermissionDeleteRequest) (*http.Response, error) /* ChannelUserPermissionRead Read a channel user permission @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param channelId @param userId @return PermissionOverrideAPIChannelUserPermissionReadRequest */ ChannelUserPermissionRead(ctx context.Context, serverId string, channelId string, userId UserID) PermissionOverrideAPIChannelUserPermissionReadRequest // ChannelUserPermissionReadExecute executes the request // @return ChannelUserPermissionRead200Response ChannelUserPermissionReadExecute(r PermissionOverrideAPIChannelUserPermissionReadRequest) (*ChannelUserPermissionRead200Response, *http.Response, error) /* ChannelUserPermissionReadMany Read a channel user permission @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param channelId @return PermissionOverrideAPIChannelUserPermissionReadManyRequest */ ChannelUserPermissionReadMany(ctx context.Context, serverId string, channelId string) PermissionOverrideAPIChannelUserPermissionReadManyRequest // ChannelUserPermissionReadManyExecute executes the request // @return ChannelUserPermissionReadMany200Response ChannelUserPermissionReadManyExecute(r PermissionOverrideAPIChannelUserPermissionReadManyRequest) (*ChannelUserPermissionReadMany200Response, *http.Response, error) /* ChannelUserPermissionUpdate Update a channel user permission @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param channelId @param userId @return PermissionOverrideAPIChannelUserPermissionUpdateRequest */ ChannelUserPermissionUpdate(ctx context.Context, serverId string, channelId string, userId UserID) PermissionOverrideAPIChannelUserPermissionUpdateRequest // ChannelUserPermissionUpdateExecute executes the request // @return ChannelUserPermissionRead200Response ChannelUserPermissionUpdateExecute(r PermissionOverrideAPIChannelUserPermissionUpdateRequest) (*ChannelUserPermissionRead200Response, *http.Response, error) }
type PermissionOverrideAPIChannelCategoryRolePermissionCreateRequest ¶
type PermissionOverrideAPIChannelCategoryRolePermissionCreateRequest struct { ApiService PermissionOverrideAPI // contains filtered or unexported fields }
func (PermissionOverrideAPIChannelCategoryRolePermissionCreateRequest) ChannelRolePermissionCreateRequest ¶
func (r PermissionOverrideAPIChannelCategoryRolePermissionCreateRequest) ChannelRolePermissionCreateRequest(channelRolePermissionCreateRequest ChannelRolePermissionCreateRequest) PermissionOverrideAPIChannelCategoryRolePermissionCreateRequest
type PermissionOverrideAPIChannelCategoryRolePermissionDeleteRequest ¶
type PermissionOverrideAPIChannelCategoryRolePermissionDeleteRequest struct { ApiService PermissionOverrideAPI // contains filtered or unexported fields }
type PermissionOverrideAPIChannelCategoryRolePermissionReadManyRequest ¶
type PermissionOverrideAPIChannelCategoryRolePermissionReadManyRequest struct { ApiService PermissionOverrideAPI // contains filtered or unexported fields }
type PermissionOverrideAPIChannelCategoryRolePermissionReadRequest ¶
type PermissionOverrideAPIChannelCategoryRolePermissionReadRequest struct { ApiService PermissionOverrideAPI // contains filtered or unexported fields }
type PermissionOverrideAPIChannelCategoryRolePermissionUpdateRequest ¶
type PermissionOverrideAPIChannelCategoryRolePermissionUpdateRequest struct { ApiService PermissionOverrideAPI // contains filtered or unexported fields }
func (PermissionOverrideAPIChannelCategoryRolePermissionUpdateRequest) ChannelRolePermissionCreateRequest ¶
func (r PermissionOverrideAPIChannelCategoryRolePermissionUpdateRequest) ChannelRolePermissionCreateRequest(channelRolePermissionCreateRequest ChannelRolePermissionCreateRequest) PermissionOverrideAPIChannelCategoryRolePermissionUpdateRequest
type PermissionOverrideAPIChannelCategoryUserPermissionCreateRequest ¶
type PermissionOverrideAPIChannelCategoryUserPermissionCreateRequest struct { ApiService PermissionOverrideAPI // contains filtered or unexported fields }
func (PermissionOverrideAPIChannelCategoryUserPermissionCreateRequest) ChannelRolePermissionCreateRequest ¶
func (r PermissionOverrideAPIChannelCategoryUserPermissionCreateRequest) ChannelRolePermissionCreateRequest(channelRolePermissionCreateRequest ChannelRolePermissionCreateRequest) PermissionOverrideAPIChannelCategoryUserPermissionCreateRequest
type PermissionOverrideAPIChannelCategoryUserPermissionDeleteRequest ¶
type PermissionOverrideAPIChannelCategoryUserPermissionDeleteRequest struct { ApiService PermissionOverrideAPI // contains filtered or unexported fields }
type PermissionOverrideAPIChannelCategoryUserPermissionReadManyRequest ¶
type PermissionOverrideAPIChannelCategoryUserPermissionReadManyRequest struct { ApiService PermissionOverrideAPI // contains filtered or unexported fields }
type PermissionOverrideAPIChannelCategoryUserPermissionReadRequest ¶
type PermissionOverrideAPIChannelCategoryUserPermissionReadRequest struct { ApiService PermissionOverrideAPI // contains filtered or unexported fields }
type PermissionOverrideAPIChannelCategoryUserPermissionUpdateRequest ¶
type PermissionOverrideAPIChannelCategoryUserPermissionUpdateRequest struct { ApiService PermissionOverrideAPI // contains filtered or unexported fields }
func (PermissionOverrideAPIChannelCategoryUserPermissionUpdateRequest) ChannelRolePermissionCreateRequest ¶
func (r PermissionOverrideAPIChannelCategoryUserPermissionUpdateRequest) ChannelRolePermissionCreateRequest(channelRolePermissionCreateRequest ChannelRolePermissionCreateRequest) PermissionOverrideAPIChannelCategoryUserPermissionUpdateRequest
type PermissionOverrideAPIChannelRolePermissionCreateRequest ¶
type PermissionOverrideAPIChannelRolePermissionCreateRequest struct { ApiService PermissionOverrideAPI // contains filtered or unexported fields }
func (PermissionOverrideAPIChannelRolePermissionCreateRequest) ChannelRolePermissionCreateRequest ¶
func (r PermissionOverrideAPIChannelRolePermissionCreateRequest) ChannelRolePermissionCreateRequest(channelRolePermissionCreateRequest ChannelRolePermissionCreateRequest) PermissionOverrideAPIChannelRolePermissionCreateRequest
func (PermissionOverrideAPIChannelRolePermissionCreateRequest) Execute ¶
func (r PermissionOverrideAPIChannelRolePermissionCreateRequest) Execute() (*ChannelRolePermissionRead200Response, *http.Response, error)
type PermissionOverrideAPIChannelRolePermissionDeleteRequest ¶
type PermissionOverrideAPIChannelRolePermissionDeleteRequest struct { ApiService PermissionOverrideAPI // contains filtered or unexported fields }
type PermissionOverrideAPIChannelRolePermissionReadManyRequest ¶
type PermissionOverrideAPIChannelRolePermissionReadManyRequest struct { ApiService PermissionOverrideAPI // contains filtered or unexported fields }
func (PermissionOverrideAPIChannelRolePermissionReadManyRequest) Execute ¶
func (r PermissionOverrideAPIChannelRolePermissionReadManyRequest) Execute() (*ChannelRolePermissionReadMany200Response, *http.Response, error)
type PermissionOverrideAPIChannelRolePermissionReadRequest ¶
type PermissionOverrideAPIChannelRolePermissionReadRequest struct { ApiService PermissionOverrideAPI // contains filtered or unexported fields }
func (PermissionOverrideAPIChannelRolePermissionReadRequest) Execute ¶
func (r PermissionOverrideAPIChannelRolePermissionReadRequest) Execute() (*ChannelRolePermissionRead200Response, *http.Response, error)
type PermissionOverrideAPIChannelRolePermissionUpdateRequest ¶
type PermissionOverrideAPIChannelRolePermissionUpdateRequest struct { ApiService PermissionOverrideAPI // contains filtered or unexported fields }
func (PermissionOverrideAPIChannelRolePermissionUpdateRequest) ChannelRolePermissionCreateRequest ¶
func (r PermissionOverrideAPIChannelRolePermissionUpdateRequest) ChannelRolePermissionCreateRequest(channelRolePermissionCreateRequest ChannelRolePermissionCreateRequest) PermissionOverrideAPIChannelRolePermissionUpdateRequest
func (PermissionOverrideAPIChannelRolePermissionUpdateRequest) Execute ¶
func (r PermissionOverrideAPIChannelRolePermissionUpdateRequest) Execute() (*ChannelRolePermissionRead200Response, *http.Response, error)
type PermissionOverrideAPIChannelUserPermissionCreateRequest ¶
type PermissionOverrideAPIChannelUserPermissionCreateRequest struct { ApiService PermissionOverrideAPI // contains filtered or unexported fields }
func (PermissionOverrideAPIChannelUserPermissionCreateRequest) ChannelRolePermissionCreateRequest ¶
func (r PermissionOverrideAPIChannelUserPermissionCreateRequest) ChannelRolePermissionCreateRequest(channelRolePermissionCreateRequest ChannelRolePermissionCreateRequest) PermissionOverrideAPIChannelUserPermissionCreateRequest
func (PermissionOverrideAPIChannelUserPermissionCreateRequest) Execute ¶
func (r PermissionOverrideAPIChannelUserPermissionCreateRequest) Execute() (*ChannelUserPermissionRead200Response, *http.Response, error)
type PermissionOverrideAPIChannelUserPermissionDeleteRequest ¶
type PermissionOverrideAPIChannelUserPermissionDeleteRequest struct { ApiService PermissionOverrideAPI // contains filtered or unexported fields }
type PermissionOverrideAPIChannelUserPermissionReadManyRequest ¶
type PermissionOverrideAPIChannelUserPermissionReadManyRequest struct { ApiService PermissionOverrideAPI // contains filtered or unexported fields }
func (PermissionOverrideAPIChannelUserPermissionReadManyRequest) Execute ¶
func (r PermissionOverrideAPIChannelUserPermissionReadManyRequest) Execute() (*ChannelUserPermissionReadMany200Response, *http.Response, error)
type PermissionOverrideAPIChannelUserPermissionReadRequest ¶
type PermissionOverrideAPIChannelUserPermissionReadRequest struct { ApiService PermissionOverrideAPI // contains filtered or unexported fields }
func (PermissionOverrideAPIChannelUserPermissionReadRequest) Execute ¶
func (r PermissionOverrideAPIChannelUserPermissionReadRequest) Execute() (*ChannelUserPermissionRead200Response, *http.Response, error)
type PermissionOverrideAPIChannelUserPermissionUpdateRequest ¶
type PermissionOverrideAPIChannelUserPermissionUpdateRequest struct { ApiService PermissionOverrideAPI // contains filtered or unexported fields }
func (PermissionOverrideAPIChannelUserPermissionUpdateRequest) ChannelRolePermissionCreateRequest ¶
func (r PermissionOverrideAPIChannelUserPermissionUpdateRequest) ChannelRolePermissionCreateRequest(channelRolePermissionCreateRequest ChannelRolePermissionCreateRequest) PermissionOverrideAPIChannelUserPermissionUpdateRequest
func (PermissionOverrideAPIChannelUserPermissionUpdateRequest) Execute ¶
func (r PermissionOverrideAPIChannelUserPermissionUpdateRequest) Execute() (*ChannelUserPermissionRead200Response, *http.Response, error)
type PermissionOverrideAPIService ¶
type PermissionOverrideAPIService service
PermissionOverrideAPIService PermissionOverrideAPI service
func (*PermissionOverrideAPIService) ChannelCategoryRolePermissionCreate ¶
func (a *PermissionOverrideAPIService) ChannelCategoryRolePermissionCreate(ctx context.Context, serverId string, categoryId int32, roleId int32) PermissionOverrideAPIChannelCategoryRolePermissionCreateRequest
ChannelCategoryRolePermissionCreate Create a channel category role permission
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @param roleId @return PermissionOverrideAPIChannelCategoryRolePermissionCreateRequest
func (*PermissionOverrideAPIService) ChannelCategoryRolePermissionCreateExecute ¶
func (a *PermissionOverrideAPIService) ChannelCategoryRolePermissionCreateExecute(r PermissionOverrideAPIChannelCategoryRolePermissionCreateRequest) (*ChannelCategoryRolePermissionRead200Response, *http.Response, error)
Execute executes the request
@return ChannelCategoryRolePermissionRead200Response
func (*PermissionOverrideAPIService) ChannelCategoryRolePermissionDelete ¶
func (a *PermissionOverrideAPIService) ChannelCategoryRolePermissionDelete(ctx context.Context, serverId string, categoryId int32, roleId int32) PermissionOverrideAPIChannelCategoryRolePermissionDeleteRequest
ChannelCategoryRolePermissionDelete Delete a channel category role permission
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @param roleId @return PermissionOverrideAPIChannelCategoryRolePermissionDeleteRequest
func (*PermissionOverrideAPIService) ChannelCategoryRolePermissionDeleteExecute ¶
func (a *PermissionOverrideAPIService) ChannelCategoryRolePermissionDeleteExecute(r PermissionOverrideAPIChannelCategoryRolePermissionDeleteRequest) (*http.Response, error)
Execute executes the request
func (*PermissionOverrideAPIService) ChannelCategoryRolePermissionRead ¶
func (a *PermissionOverrideAPIService) ChannelCategoryRolePermissionRead(ctx context.Context, serverId string, categoryId int32, roleId int32) PermissionOverrideAPIChannelCategoryRolePermissionReadRequest
ChannelCategoryRolePermissionRead Read a channel category role permission
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @param roleId @return PermissionOverrideAPIChannelCategoryRolePermissionReadRequest
func (*PermissionOverrideAPIService) ChannelCategoryRolePermissionReadExecute ¶
func (a *PermissionOverrideAPIService) ChannelCategoryRolePermissionReadExecute(r PermissionOverrideAPIChannelCategoryRolePermissionReadRequest) (*ChannelCategoryRolePermissionRead200Response, *http.Response, error)
Execute executes the request
@return ChannelCategoryRolePermissionRead200Response
func (*PermissionOverrideAPIService) ChannelCategoryRolePermissionReadMany ¶
func (a *PermissionOverrideAPIService) ChannelCategoryRolePermissionReadMany(ctx context.Context, serverId string, categoryId int32) PermissionOverrideAPIChannelCategoryRolePermissionReadManyRequest
ChannelCategoryRolePermissionReadMany Get a list of the channel category role permissions
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @return PermissionOverrideAPIChannelCategoryRolePermissionReadManyRequest
func (*PermissionOverrideAPIService) ChannelCategoryRolePermissionReadManyExecute ¶
func (a *PermissionOverrideAPIService) ChannelCategoryRolePermissionReadManyExecute(r PermissionOverrideAPIChannelCategoryRolePermissionReadManyRequest) (*ChannelCategoryRolePermissionReadMany200Response, *http.Response, error)
Execute executes the request
@return ChannelCategoryRolePermissionReadMany200Response
func (*PermissionOverrideAPIService) ChannelCategoryRolePermissionUpdate ¶
func (a *PermissionOverrideAPIService) ChannelCategoryRolePermissionUpdate(ctx context.Context, serverId string, categoryId int32, roleId int32) PermissionOverrideAPIChannelCategoryRolePermissionUpdateRequest
ChannelCategoryRolePermissionUpdate Update a channel category role permission
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @param roleId @return PermissionOverrideAPIChannelCategoryRolePermissionUpdateRequest
func (*PermissionOverrideAPIService) ChannelCategoryRolePermissionUpdateExecute ¶
func (a *PermissionOverrideAPIService) ChannelCategoryRolePermissionUpdateExecute(r PermissionOverrideAPIChannelCategoryRolePermissionUpdateRequest) (*ChannelCategoryRolePermissionRead200Response, *http.Response, error)
Execute executes the request
@return ChannelCategoryRolePermissionRead200Response
func (*PermissionOverrideAPIService) ChannelCategoryUserPermissionCreate ¶
func (a *PermissionOverrideAPIService) ChannelCategoryUserPermissionCreate(ctx context.Context, serverId string, categoryId int32, userId UserID) PermissionOverrideAPIChannelCategoryUserPermissionCreateRequest
ChannelCategoryUserPermissionCreate Create a channel category user permission
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @param userId @return PermissionOverrideAPIChannelCategoryUserPermissionCreateRequest
func (*PermissionOverrideAPIService) ChannelCategoryUserPermissionCreateExecute ¶
func (a *PermissionOverrideAPIService) ChannelCategoryUserPermissionCreateExecute(r PermissionOverrideAPIChannelCategoryUserPermissionCreateRequest) (*ChannelCategoryUserPermissionRead200Response, *http.Response, error)
Execute executes the request
@return ChannelCategoryUserPermissionRead200Response
func (*PermissionOverrideAPIService) ChannelCategoryUserPermissionDelete ¶
func (a *PermissionOverrideAPIService) ChannelCategoryUserPermissionDelete(ctx context.Context, serverId string, categoryId int32, userId UserID) PermissionOverrideAPIChannelCategoryUserPermissionDeleteRequest
ChannelCategoryUserPermissionDelete Delete a channel category user permission
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @param userId @return PermissionOverrideAPIChannelCategoryUserPermissionDeleteRequest
func (*PermissionOverrideAPIService) ChannelCategoryUserPermissionDeleteExecute ¶
func (a *PermissionOverrideAPIService) ChannelCategoryUserPermissionDeleteExecute(r PermissionOverrideAPIChannelCategoryUserPermissionDeleteRequest) (*http.Response, error)
Execute executes the request
func (*PermissionOverrideAPIService) ChannelCategoryUserPermissionRead ¶
func (a *PermissionOverrideAPIService) ChannelCategoryUserPermissionRead(ctx context.Context, serverId string, categoryId int32, userId UserID) PermissionOverrideAPIChannelCategoryUserPermissionReadRequest
ChannelCategoryUserPermissionRead Read a channel category user permission
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @param userId @return PermissionOverrideAPIChannelCategoryUserPermissionReadRequest
func (*PermissionOverrideAPIService) ChannelCategoryUserPermissionReadExecute ¶
func (a *PermissionOverrideAPIService) ChannelCategoryUserPermissionReadExecute(r PermissionOverrideAPIChannelCategoryUserPermissionReadRequest) (*ChannelCategoryUserPermissionRead200Response, *http.Response, error)
Execute executes the request
@return ChannelCategoryUserPermissionRead200Response
func (*PermissionOverrideAPIService) ChannelCategoryUserPermissionReadMany ¶
func (a *PermissionOverrideAPIService) ChannelCategoryUserPermissionReadMany(ctx context.Context, serverId string, categoryId int32) PermissionOverrideAPIChannelCategoryUserPermissionReadManyRequest
ChannelCategoryUserPermissionReadMany Get a list of the channel category user permissions
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @return PermissionOverrideAPIChannelCategoryUserPermissionReadManyRequest
func (*PermissionOverrideAPIService) ChannelCategoryUserPermissionReadManyExecute ¶
func (a *PermissionOverrideAPIService) ChannelCategoryUserPermissionReadManyExecute(r PermissionOverrideAPIChannelCategoryUserPermissionReadManyRequest) (*ChannelCategoryUserPermissionReadMany200Response, *http.Response, error)
Execute executes the request
@return ChannelCategoryUserPermissionReadMany200Response
func (*PermissionOverrideAPIService) ChannelCategoryUserPermissionUpdate ¶
func (a *PermissionOverrideAPIService) ChannelCategoryUserPermissionUpdate(ctx context.Context, serverId string, categoryId int32, userId UserID) PermissionOverrideAPIChannelCategoryUserPermissionUpdateRequest
ChannelCategoryUserPermissionUpdate Update a channel category user permission
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param categoryId @param userId @return PermissionOverrideAPIChannelCategoryUserPermissionUpdateRequest
func (*PermissionOverrideAPIService) ChannelCategoryUserPermissionUpdateExecute ¶
func (a *PermissionOverrideAPIService) ChannelCategoryUserPermissionUpdateExecute(r PermissionOverrideAPIChannelCategoryUserPermissionUpdateRequest) (*ChannelCategoryUserPermissionRead200Response, *http.Response, error)
Execute executes the request
@return ChannelCategoryUserPermissionRead200Response
func (*PermissionOverrideAPIService) ChannelRolePermissionCreate ¶
func (a *PermissionOverrideAPIService) ChannelRolePermissionCreate(ctx context.Context, serverId string, channelId string, roleId int32) PermissionOverrideAPIChannelRolePermissionCreateRequest
ChannelRolePermissionCreate Create a channel role permission
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param channelId @param roleId @return PermissionOverrideAPIChannelRolePermissionCreateRequest
func (*PermissionOverrideAPIService) ChannelRolePermissionCreateExecute ¶
func (a *PermissionOverrideAPIService) ChannelRolePermissionCreateExecute(r PermissionOverrideAPIChannelRolePermissionCreateRequest) (*ChannelRolePermissionRead200Response, *http.Response, error)
Execute executes the request
@return ChannelRolePermissionRead200Response
func (*PermissionOverrideAPIService) ChannelRolePermissionDelete ¶
func (a *PermissionOverrideAPIService) ChannelRolePermissionDelete(ctx context.Context, serverId string, channelId string, roleId int32) PermissionOverrideAPIChannelRolePermissionDeleteRequest
ChannelRolePermissionDelete Delete a channel role permission
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param channelId @param roleId @return PermissionOverrideAPIChannelRolePermissionDeleteRequest
func (*PermissionOverrideAPIService) ChannelRolePermissionDeleteExecute ¶
func (a *PermissionOverrideAPIService) ChannelRolePermissionDeleteExecute(r PermissionOverrideAPIChannelRolePermissionDeleteRequest) (*http.Response, error)
Execute executes the request
func (*PermissionOverrideAPIService) ChannelRolePermissionRead ¶
func (a *PermissionOverrideAPIService) ChannelRolePermissionRead(ctx context.Context, serverId string, channelId string, roleId int32) PermissionOverrideAPIChannelRolePermissionReadRequest
ChannelRolePermissionRead Read a channel role permission
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param channelId @param roleId @return PermissionOverrideAPIChannelRolePermissionReadRequest
func (*PermissionOverrideAPIService) ChannelRolePermissionReadExecute ¶
func (a *PermissionOverrideAPIService) ChannelRolePermissionReadExecute(r PermissionOverrideAPIChannelRolePermissionReadRequest) (*ChannelRolePermissionRead200Response, *http.Response, error)
Execute executes the request
@return ChannelRolePermissionRead200Response
func (*PermissionOverrideAPIService) ChannelRolePermissionReadMany ¶
func (a *PermissionOverrideAPIService) ChannelRolePermissionReadMany(ctx context.Context, serverId string, channelId string) PermissionOverrideAPIChannelRolePermissionReadManyRequest
ChannelRolePermissionReadMany ReadMany a channel role permission
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param channelId @return PermissionOverrideAPIChannelRolePermissionReadManyRequest
func (*PermissionOverrideAPIService) ChannelRolePermissionReadManyExecute ¶
func (a *PermissionOverrideAPIService) ChannelRolePermissionReadManyExecute(r PermissionOverrideAPIChannelRolePermissionReadManyRequest) (*ChannelRolePermissionReadMany200Response, *http.Response, error)
Execute executes the request
@return ChannelRolePermissionReadMany200Response
func (*PermissionOverrideAPIService) ChannelRolePermissionUpdate ¶
func (a *PermissionOverrideAPIService) ChannelRolePermissionUpdate(ctx context.Context, serverId string, channelId string, roleId int32) PermissionOverrideAPIChannelRolePermissionUpdateRequest
ChannelRolePermissionUpdate Update a channel role permission
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param channelId @param roleId @return PermissionOverrideAPIChannelRolePermissionUpdateRequest
func (*PermissionOverrideAPIService) ChannelRolePermissionUpdateExecute ¶
func (a *PermissionOverrideAPIService) ChannelRolePermissionUpdateExecute(r PermissionOverrideAPIChannelRolePermissionUpdateRequest) (*ChannelRolePermissionRead200Response, *http.Response, error)
Execute executes the request
@return ChannelRolePermissionRead200Response
func (*PermissionOverrideAPIService) ChannelUserPermissionCreate ¶
func (a *PermissionOverrideAPIService) ChannelUserPermissionCreate(ctx context.Context, serverId string, channelId string, userId UserID) PermissionOverrideAPIChannelUserPermissionCreateRequest
ChannelUserPermissionCreate Create a channel user permission
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param channelId @param userId @return PermissionOverrideAPIChannelUserPermissionCreateRequest
func (*PermissionOverrideAPIService) ChannelUserPermissionCreateExecute ¶
func (a *PermissionOverrideAPIService) ChannelUserPermissionCreateExecute(r PermissionOverrideAPIChannelUserPermissionCreateRequest) (*ChannelUserPermissionRead200Response, *http.Response, error)
Execute executes the request
@return ChannelUserPermissionRead200Response
func (*PermissionOverrideAPIService) ChannelUserPermissionDelete ¶
func (a *PermissionOverrideAPIService) ChannelUserPermissionDelete(ctx context.Context, serverId string, channelId string, userId UserID) PermissionOverrideAPIChannelUserPermissionDeleteRequest
ChannelUserPermissionDelete Delete a channel user permission
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param channelId @param userId @return PermissionOverrideAPIChannelUserPermissionDeleteRequest
func (*PermissionOverrideAPIService) ChannelUserPermissionDeleteExecute ¶
func (a *PermissionOverrideAPIService) ChannelUserPermissionDeleteExecute(r PermissionOverrideAPIChannelUserPermissionDeleteRequest) (*http.Response, error)
Execute executes the request
func (*PermissionOverrideAPIService) ChannelUserPermissionRead ¶
func (a *PermissionOverrideAPIService) ChannelUserPermissionRead(ctx context.Context, serverId string, channelId string, userId UserID) PermissionOverrideAPIChannelUserPermissionReadRequest
ChannelUserPermissionRead Read a channel user permission
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param channelId @param userId @return PermissionOverrideAPIChannelUserPermissionReadRequest
func (*PermissionOverrideAPIService) ChannelUserPermissionReadExecute ¶
func (a *PermissionOverrideAPIService) ChannelUserPermissionReadExecute(r PermissionOverrideAPIChannelUserPermissionReadRequest) (*ChannelUserPermissionRead200Response, *http.Response, error)
Execute executes the request
@return ChannelUserPermissionRead200Response
func (*PermissionOverrideAPIService) ChannelUserPermissionReadMany ¶
func (a *PermissionOverrideAPIService) ChannelUserPermissionReadMany(ctx context.Context, serverId string, channelId string) PermissionOverrideAPIChannelUserPermissionReadManyRequest
ChannelUserPermissionReadMany Read a channel user permission
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param channelId @return PermissionOverrideAPIChannelUserPermissionReadManyRequest
func (*PermissionOverrideAPIService) ChannelUserPermissionReadManyExecute ¶
func (a *PermissionOverrideAPIService) ChannelUserPermissionReadManyExecute(r PermissionOverrideAPIChannelUserPermissionReadManyRequest) (*ChannelUserPermissionReadMany200Response, *http.Response, error)
Execute executes the request
@return ChannelUserPermissionReadMany200Response
func (*PermissionOverrideAPIService) ChannelUserPermissionUpdate ¶
func (a *PermissionOverrideAPIService) ChannelUserPermissionUpdate(ctx context.Context, serverId string, channelId string, userId UserID) PermissionOverrideAPIChannelUserPermissionUpdateRequest
ChannelUserPermissionUpdate Update a channel user permission
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param channelId @param userId @return PermissionOverrideAPIChannelUserPermissionUpdateRequest
func (*PermissionOverrideAPIService) ChannelUserPermissionUpdateExecute ¶
func (a *PermissionOverrideAPIService) ChannelUserPermissionUpdateExecute(r PermissionOverrideAPIChannelUserPermissionUpdateRequest) (*ChannelUserPermissionRead200Response, *http.Response, error)
Execute executes the request
@return ChannelUserPermissionRead200Response
type ReactionsAPI ¶
type ReactionsAPI interface { /* AnnouncementCommentReactionCreate Create an announcement comment reaction @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId Channel ID where the announcement comment exists @param announcementId @param announcementCommentId @param emoteId Emote ID to apply @return ReactionsAPIAnnouncementCommentReactionCreateRequest */ AnnouncementCommentReactionCreate(ctx context.Context, channelId string, announcementId string, announcementCommentId int32, emoteId int32) ReactionsAPIAnnouncementCommentReactionCreateRequest // AnnouncementCommentReactionCreateExecute executes the request AnnouncementCommentReactionCreateExecute(r ReactionsAPIAnnouncementCommentReactionCreateRequest) (*http.Response, error) /* AnnouncementCommentReactionDelete Delete an announcement comment reaction @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId Channel ID where the announcement comment exists @param announcementId @param announcementCommentId @param emoteId Emote ID to apply @return ReactionsAPIAnnouncementCommentReactionDeleteRequest */ AnnouncementCommentReactionDelete(ctx context.Context, channelId string, announcementId string, announcementCommentId int32, emoteId int32) ReactionsAPIAnnouncementCommentReactionDeleteRequest // AnnouncementCommentReactionDeleteExecute executes the request AnnouncementCommentReactionDeleteExecute(r ReactionsAPIAnnouncementCommentReactionDeleteRequest) (*http.Response, error) /* AnnouncementReactionCreate Create announcement reaction @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param announcementId @param emoteId Emote ID to apply @return ReactionsAPIAnnouncementReactionCreateRequest */ AnnouncementReactionCreate(ctx context.Context, channelId string, announcementId string, emoteId int32) ReactionsAPIAnnouncementReactionCreateRequest // AnnouncementReactionCreateExecute executes the request AnnouncementReactionCreateExecute(r ReactionsAPIAnnouncementReactionCreateRequest) (*http.Response, error) /* AnnouncementReactionDelete Delete announcement reaction @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param announcementId @param emoteId Emote ID to apply @return ReactionsAPIAnnouncementReactionDeleteRequest */ AnnouncementReactionDelete(ctx context.Context, channelId string, announcementId string, emoteId int32) ReactionsAPIAnnouncementReactionDeleteRequest // AnnouncementReactionDeleteExecute executes the request AnnouncementReactionDeleteExecute(r ReactionsAPIAnnouncementReactionDeleteRequest) (*http.Response, error) /* CalendarEventCommentReactionCreate Create calendar event comment reaction @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @param calendarEventCommentId @param emoteId @return ReactionsAPICalendarEventCommentReactionCreateRequest */ CalendarEventCommentReactionCreate(ctx context.Context, channelId string, calendarEventId int32, calendarEventCommentId int32, emoteId int32) ReactionsAPICalendarEventCommentReactionCreateRequest // CalendarEventCommentReactionCreateExecute executes the request CalendarEventCommentReactionCreateExecute(r ReactionsAPICalendarEventCommentReactionCreateRequest) (*http.Response, error) /* CalendarEventCommentReactionDelete Delete calendar event comment reaction @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @param calendarEventCommentId @param emoteId @return ReactionsAPICalendarEventCommentReactionDeleteRequest */ CalendarEventCommentReactionDelete(ctx context.Context, channelId string, calendarEventId int32, calendarEventCommentId int32, emoteId int32) ReactionsAPICalendarEventCommentReactionDeleteRequest // CalendarEventCommentReactionDeleteExecute executes the request CalendarEventCommentReactionDeleteExecute(r ReactionsAPICalendarEventCommentReactionDeleteRequest) (*http.Response, error) /* CalendarEventReactionCreate Create calendar event reaction @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @param emoteId @return ReactionsAPICalendarEventReactionCreateRequest */ CalendarEventReactionCreate(ctx context.Context, channelId string, calendarEventId int32, emoteId int32) ReactionsAPICalendarEventReactionCreateRequest // CalendarEventReactionCreateExecute executes the request CalendarEventReactionCreateExecute(r ReactionsAPICalendarEventReactionCreateRequest) (*http.Response, error) /* CalendarEventReactionDelete Delete calendar event reaction @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @param emoteId @return ReactionsAPICalendarEventReactionDeleteRequest */ CalendarEventReactionDelete(ctx context.Context, channelId string, calendarEventId int32, emoteId int32) ReactionsAPICalendarEventReactionDeleteRequest // CalendarEventReactionDeleteExecute executes the request CalendarEventReactionDeleteExecute(r ReactionsAPICalendarEventReactionDeleteRequest) (*http.Response, error) /* ChannelMessageReactionCreate Create a message reaction @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param messageId @param emoteId @return ReactionsAPIChannelMessageReactionCreateRequest */ ChannelMessageReactionCreate(ctx context.Context, channelId string, messageId string, emoteId int32) ReactionsAPIChannelMessageReactionCreateRequest // ChannelMessageReactionCreateExecute executes the request ChannelMessageReactionCreateExecute(r ReactionsAPIChannelMessageReactionCreateRequest) (*http.Response, error) /* ChannelMessageReactionDelete Delete a message reaction @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param messageId @param emoteId @return ReactionsAPIChannelMessageReactionDeleteRequest */ ChannelMessageReactionDelete(ctx context.Context, channelId string, messageId string, emoteId int32) ReactionsAPIChannelMessageReactionDeleteRequest // ChannelMessageReactionDeleteExecute executes the request ChannelMessageReactionDeleteExecute(r ReactionsAPIChannelMessageReactionDeleteRequest) (*http.Response, error) /* ChannelMessageReactionDeleteMany Bulk delete a message's reactions @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param messageId @return ReactionsAPIChannelMessageReactionDeleteManyRequest */ ChannelMessageReactionDeleteMany(ctx context.Context, channelId string, messageId string) ReactionsAPIChannelMessageReactionDeleteManyRequest // ChannelMessageReactionDeleteManyExecute executes the request ChannelMessageReactionDeleteManyExecute(r ReactionsAPIChannelMessageReactionDeleteManyRequest) (*http.Response, error) /* DocCommentReactionCreate Create doc comment reaction @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @param docCommentId @param emoteId @return ReactionsAPIDocCommentReactionCreateRequest */ DocCommentReactionCreate(ctx context.Context, channelId string, docId int32, docCommentId int32, emoteId int32) ReactionsAPIDocCommentReactionCreateRequest // DocCommentReactionCreateExecute executes the request DocCommentReactionCreateExecute(r ReactionsAPIDocCommentReactionCreateRequest) (*http.Response, error) /* DocCommentReactionDelete Delete doc comment reaction @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @param docCommentId @param emoteId @return ReactionsAPIDocCommentReactionDeleteRequest */ DocCommentReactionDelete(ctx context.Context, channelId string, docId int32, docCommentId int32, emoteId int32) ReactionsAPIDocCommentReactionDeleteRequest // DocCommentReactionDeleteExecute executes the request DocCommentReactionDeleteExecute(r ReactionsAPIDocCommentReactionDeleteRequest) (*http.Response, error) /* DocReactionCreate Create doc reaction @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @param emoteId @return ReactionsAPIDocReactionCreateRequest */ DocReactionCreate(ctx context.Context, channelId string, docId int32, emoteId int32) ReactionsAPIDocReactionCreateRequest // DocReactionCreateExecute executes the request DocReactionCreateExecute(r ReactionsAPIDocReactionCreateRequest) (*http.Response, error) /* DocReactionDelete Delete doc reaction @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @param emoteId @return ReactionsAPIDocReactionDeleteRequest */ DocReactionDelete(ctx context.Context, channelId string, docId int32, emoteId int32) ReactionsAPIDocReactionDeleteRequest // DocReactionDeleteExecute executes the request DocReactionDeleteExecute(r ReactionsAPIDocReactionDeleteRequest) (*http.Response, error) /* ForumTopicCommentReactionCreate Create forum topic comment reaction @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId Channel ID where the forum topic exists @param forumTopicId @param forumTopicCommentId @param emoteId @return ReactionsAPIForumTopicCommentReactionCreateRequest */ ForumTopicCommentReactionCreate(ctx context.Context, channelId string, forumTopicId int32, forumTopicCommentId int32, emoteId int32) ReactionsAPIForumTopicCommentReactionCreateRequest // ForumTopicCommentReactionCreateExecute executes the request ForumTopicCommentReactionCreateExecute(r ReactionsAPIForumTopicCommentReactionCreateRequest) (*http.Response, error) /* ForumTopicCommentReactionDelete Delete forum topic comment reaction @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId Channel ID where the forum topic exists @param forumTopicId @param forumTopicCommentId @param emoteId @return ReactionsAPIForumTopicCommentReactionDeleteRequest */ ForumTopicCommentReactionDelete(ctx context.Context, channelId string, forumTopicId int32, forumTopicCommentId int32, emoteId int32) ReactionsAPIForumTopicCommentReactionDeleteRequest // ForumTopicCommentReactionDeleteExecute executes the request ForumTopicCommentReactionDeleteExecute(r ReactionsAPIForumTopicCommentReactionDeleteRequest) (*http.Response, error) /* ForumTopicReactionCreate Create forum topic reaction @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId Channel ID where the forum topic exists @param forumTopicId Forum Topic ID @param emoteId Emote ID to apply @return ReactionsAPIForumTopicReactionCreateRequest */ ForumTopicReactionCreate(ctx context.Context, channelId string, forumTopicId int32, emoteId int32) ReactionsAPIForumTopicReactionCreateRequest // ForumTopicReactionCreateExecute executes the request ForumTopicReactionCreateExecute(r ReactionsAPIForumTopicReactionCreateRequest) (*http.Response, error) /* ForumTopicReactionDelete Delete forum topic reaction @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId Channel ID where the forum topic exists @param forumTopicId Forum Topic ID @param emoteId Emote ID to remove @return ReactionsAPIForumTopicReactionDeleteRequest */ ForumTopicReactionDelete(ctx context.Context, channelId string, forumTopicId int32, emoteId int32) ReactionsAPIForumTopicReactionDeleteRequest // ForumTopicReactionDeleteExecute executes the request ForumTopicReactionDeleteExecute(r ReactionsAPIForumTopicReactionDeleteRequest) (*http.Response, error) }
type ReactionsAPIAnnouncementCommentReactionCreateRequest ¶
type ReactionsAPIAnnouncementCommentReactionCreateRequest struct { ApiService ReactionsAPI // contains filtered or unexported fields }
type ReactionsAPIAnnouncementCommentReactionDeleteRequest ¶
type ReactionsAPIAnnouncementCommentReactionDeleteRequest struct { ApiService ReactionsAPI // contains filtered or unexported fields }
type ReactionsAPIAnnouncementReactionCreateRequest ¶
type ReactionsAPIAnnouncementReactionCreateRequest struct { ApiService ReactionsAPI // contains filtered or unexported fields }
type ReactionsAPIAnnouncementReactionDeleteRequest ¶
type ReactionsAPIAnnouncementReactionDeleteRequest struct { ApiService ReactionsAPI // contains filtered or unexported fields }
type ReactionsAPICalendarEventCommentReactionCreateRequest ¶
type ReactionsAPICalendarEventCommentReactionCreateRequest struct { ApiService ReactionsAPI // contains filtered or unexported fields }
type ReactionsAPICalendarEventCommentReactionDeleteRequest ¶
type ReactionsAPICalendarEventCommentReactionDeleteRequest struct { ApiService ReactionsAPI // contains filtered or unexported fields }
type ReactionsAPICalendarEventReactionCreateRequest ¶
type ReactionsAPICalendarEventReactionCreateRequest struct { ApiService ReactionsAPI // contains filtered or unexported fields }
type ReactionsAPICalendarEventReactionDeleteRequest ¶
type ReactionsAPICalendarEventReactionDeleteRequest struct { ApiService ReactionsAPI // contains filtered or unexported fields }
type ReactionsAPIChannelMessageReactionCreateRequest ¶
type ReactionsAPIChannelMessageReactionCreateRequest struct { ApiService ReactionsAPI // contains filtered or unexported fields }
type ReactionsAPIChannelMessageReactionDeleteManyRequest ¶
type ReactionsAPIChannelMessageReactionDeleteManyRequest struct { ApiService ReactionsAPI // contains filtered or unexported fields }
func (ReactionsAPIChannelMessageReactionDeleteManyRequest) EmoteId ¶
func (r ReactionsAPIChannelMessageReactionDeleteManyRequest) EmoteId(emoteId int32) ReactionsAPIChannelMessageReactionDeleteManyRequest
type ReactionsAPIChannelMessageReactionDeleteRequest ¶
type ReactionsAPIChannelMessageReactionDeleteRequest struct { ApiService ReactionsAPI // contains filtered or unexported fields }
func (ReactionsAPIChannelMessageReactionDeleteRequest) Execute ¶
func (r ReactionsAPIChannelMessageReactionDeleteRequest) Execute() (*http.Response, error)
func (ReactionsAPIChannelMessageReactionDeleteRequest) UserId ¶
func (r ReactionsAPIChannelMessageReactionDeleteRequest) UserId(userId UserID1) ReactionsAPIChannelMessageReactionDeleteRequest
type ReactionsAPIDocCommentReactionCreateRequest ¶
type ReactionsAPIDocCommentReactionCreateRequest struct { ApiService ReactionsAPI // contains filtered or unexported fields }
type ReactionsAPIDocCommentReactionDeleteRequest ¶
type ReactionsAPIDocCommentReactionDeleteRequest struct { ApiService ReactionsAPI // contains filtered or unexported fields }
type ReactionsAPIDocReactionCreateRequest ¶
type ReactionsAPIDocReactionCreateRequest struct { ApiService ReactionsAPI // contains filtered or unexported fields }
type ReactionsAPIDocReactionDeleteRequest ¶
type ReactionsAPIDocReactionDeleteRequest struct { ApiService ReactionsAPI // contains filtered or unexported fields }
type ReactionsAPIForumTopicCommentReactionCreateRequest ¶
type ReactionsAPIForumTopicCommentReactionCreateRequest struct { ApiService ReactionsAPI // contains filtered or unexported fields }
type ReactionsAPIForumTopicCommentReactionDeleteRequest ¶
type ReactionsAPIForumTopicCommentReactionDeleteRequest struct { ApiService ReactionsAPI // contains filtered or unexported fields }
type ReactionsAPIForumTopicReactionCreateRequest ¶
type ReactionsAPIForumTopicReactionCreateRequest struct { ApiService ReactionsAPI // contains filtered or unexported fields }
type ReactionsAPIForumTopicReactionDeleteRequest ¶
type ReactionsAPIForumTopicReactionDeleteRequest struct { ApiService ReactionsAPI // contains filtered or unexported fields }
type ReactionsAPIService ¶
type ReactionsAPIService service
ReactionsAPIService ReactionsAPI service
func (*ReactionsAPIService) AnnouncementCommentReactionCreate ¶
func (a *ReactionsAPIService) AnnouncementCommentReactionCreate(ctx context.Context, channelId string, announcementId string, announcementCommentId int32, emoteId int32) ReactionsAPIAnnouncementCommentReactionCreateRequest
AnnouncementCommentReactionCreate Create an announcement comment reaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId Channel ID where the announcement comment exists @param announcementId @param announcementCommentId @param emoteId Emote ID to apply @return ReactionsAPIAnnouncementCommentReactionCreateRequest
func (*ReactionsAPIService) AnnouncementCommentReactionCreateExecute ¶
func (a *ReactionsAPIService) AnnouncementCommentReactionCreateExecute(r ReactionsAPIAnnouncementCommentReactionCreateRequest) (*http.Response, error)
Execute executes the request
func (*ReactionsAPIService) AnnouncementCommentReactionDelete ¶
func (a *ReactionsAPIService) AnnouncementCommentReactionDelete(ctx context.Context, channelId string, announcementId string, announcementCommentId int32, emoteId int32) ReactionsAPIAnnouncementCommentReactionDeleteRequest
AnnouncementCommentReactionDelete Delete an announcement comment reaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId Channel ID where the announcement comment exists @param announcementId @param announcementCommentId @param emoteId Emote ID to apply @return ReactionsAPIAnnouncementCommentReactionDeleteRequest
func (*ReactionsAPIService) AnnouncementCommentReactionDeleteExecute ¶
func (a *ReactionsAPIService) AnnouncementCommentReactionDeleteExecute(r ReactionsAPIAnnouncementCommentReactionDeleteRequest) (*http.Response, error)
Execute executes the request
func (*ReactionsAPIService) AnnouncementReactionCreate ¶
func (a *ReactionsAPIService) AnnouncementReactionCreate(ctx context.Context, channelId string, announcementId string, emoteId int32) ReactionsAPIAnnouncementReactionCreateRequest
AnnouncementReactionCreate Create announcement reaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param announcementId @param emoteId Emote ID to apply @return ReactionsAPIAnnouncementReactionCreateRequest
func (*ReactionsAPIService) AnnouncementReactionCreateExecute ¶
func (a *ReactionsAPIService) AnnouncementReactionCreateExecute(r ReactionsAPIAnnouncementReactionCreateRequest) (*http.Response, error)
Execute executes the request
func (*ReactionsAPIService) AnnouncementReactionDelete ¶
func (a *ReactionsAPIService) AnnouncementReactionDelete(ctx context.Context, channelId string, announcementId string, emoteId int32) ReactionsAPIAnnouncementReactionDeleteRequest
AnnouncementReactionDelete Delete announcement reaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param announcementId @param emoteId Emote ID to apply @return ReactionsAPIAnnouncementReactionDeleteRequest
func (*ReactionsAPIService) AnnouncementReactionDeleteExecute ¶
func (a *ReactionsAPIService) AnnouncementReactionDeleteExecute(r ReactionsAPIAnnouncementReactionDeleteRequest) (*http.Response, error)
Execute executes the request
func (*ReactionsAPIService) CalendarEventCommentReactionCreate ¶
func (a *ReactionsAPIService) CalendarEventCommentReactionCreate(ctx context.Context, channelId string, calendarEventId int32, calendarEventCommentId int32, emoteId int32) ReactionsAPICalendarEventCommentReactionCreateRequest
CalendarEventCommentReactionCreate Create calendar event comment reaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @param calendarEventCommentId @param emoteId @return ReactionsAPICalendarEventCommentReactionCreateRequest
func (*ReactionsAPIService) CalendarEventCommentReactionCreateExecute ¶
func (a *ReactionsAPIService) CalendarEventCommentReactionCreateExecute(r ReactionsAPICalendarEventCommentReactionCreateRequest) (*http.Response, error)
Execute executes the request
func (*ReactionsAPIService) CalendarEventCommentReactionDelete ¶
func (a *ReactionsAPIService) CalendarEventCommentReactionDelete(ctx context.Context, channelId string, calendarEventId int32, calendarEventCommentId int32, emoteId int32) ReactionsAPICalendarEventCommentReactionDeleteRequest
CalendarEventCommentReactionDelete Delete calendar event comment reaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @param calendarEventCommentId @param emoteId @return ReactionsAPICalendarEventCommentReactionDeleteRequest
func (*ReactionsAPIService) CalendarEventCommentReactionDeleteExecute ¶
func (a *ReactionsAPIService) CalendarEventCommentReactionDeleteExecute(r ReactionsAPICalendarEventCommentReactionDeleteRequest) (*http.Response, error)
Execute executes the request
func (*ReactionsAPIService) CalendarEventReactionCreate ¶
func (a *ReactionsAPIService) CalendarEventReactionCreate(ctx context.Context, channelId string, calendarEventId int32, emoteId int32) ReactionsAPICalendarEventReactionCreateRequest
CalendarEventReactionCreate Create calendar event reaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @param emoteId @return ReactionsAPICalendarEventReactionCreateRequest
func (*ReactionsAPIService) CalendarEventReactionCreateExecute ¶
func (a *ReactionsAPIService) CalendarEventReactionCreateExecute(r ReactionsAPICalendarEventReactionCreateRequest) (*http.Response, error)
Execute executes the request
func (*ReactionsAPIService) CalendarEventReactionDelete ¶
func (a *ReactionsAPIService) CalendarEventReactionDelete(ctx context.Context, channelId string, calendarEventId int32, emoteId int32) ReactionsAPICalendarEventReactionDeleteRequest
CalendarEventReactionDelete Delete calendar event reaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param calendarEventId @param emoteId @return ReactionsAPICalendarEventReactionDeleteRequest
func (*ReactionsAPIService) CalendarEventReactionDeleteExecute ¶
func (a *ReactionsAPIService) CalendarEventReactionDeleteExecute(r ReactionsAPICalendarEventReactionDeleteRequest) (*http.Response, error)
Execute executes the request
func (*ReactionsAPIService) ChannelMessageReactionCreate ¶
func (a *ReactionsAPIService) ChannelMessageReactionCreate(ctx context.Context, channelId string, messageId string, emoteId int32) ReactionsAPIChannelMessageReactionCreateRequest
ChannelMessageReactionCreate Create a message reaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param messageId @param emoteId @return ReactionsAPIChannelMessageReactionCreateRequest
func (*ReactionsAPIService) ChannelMessageReactionCreateExecute ¶
func (a *ReactionsAPIService) ChannelMessageReactionCreateExecute(r ReactionsAPIChannelMessageReactionCreateRequest) (*http.Response, error)
Execute executes the request
func (*ReactionsAPIService) ChannelMessageReactionDelete ¶
func (a *ReactionsAPIService) ChannelMessageReactionDelete(ctx context.Context, channelId string, messageId string, emoteId int32) ReactionsAPIChannelMessageReactionDeleteRequest
ChannelMessageReactionDelete Delete a message reaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param messageId @param emoteId @return ReactionsAPIChannelMessageReactionDeleteRequest
func (*ReactionsAPIService) ChannelMessageReactionDeleteExecute ¶
func (a *ReactionsAPIService) ChannelMessageReactionDeleteExecute(r ReactionsAPIChannelMessageReactionDeleteRequest) (*http.Response, error)
Execute executes the request
func (*ReactionsAPIService) ChannelMessageReactionDeleteMany ¶
func (a *ReactionsAPIService) ChannelMessageReactionDeleteMany(ctx context.Context, channelId string, messageId string) ReactionsAPIChannelMessageReactionDeleteManyRequest
ChannelMessageReactionDeleteMany Bulk delete a message's reactions
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param messageId @return ReactionsAPIChannelMessageReactionDeleteManyRequest
func (*ReactionsAPIService) ChannelMessageReactionDeleteManyExecute ¶
func (a *ReactionsAPIService) ChannelMessageReactionDeleteManyExecute(r ReactionsAPIChannelMessageReactionDeleteManyRequest) (*http.Response, error)
Execute executes the request
func (*ReactionsAPIService) DocCommentReactionCreate ¶
func (a *ReactionsAPIService) DocCommentReactionCreate(ctx context.Context, channelId string, docId int32, docCommentId int32, emoteId int32) ReactionsAPIDocCommentReactionCreateRequest
DocCommentReactionCreate Create doc comment reaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @param docCommentId @param emoteId @return ReactionsAPIDocCommentReactionCreateRequest
func (*ReactionsAPIService) DocCommentReactionCreateExecute ¶
func (a *ReactionsAPIService) DocCommentReactionCreateExecute(r ReactionsAPIDocCommentReactionCreateRequest) (*http.Response, error)
Execute executes the request
func (*ReactionsAPIService) DocCommentReactionDelete ¶
func (a *ReactionsAPIService) DocCommentReactionDelete(ctx context.Context, channelId string, docId int32, docCommentId int32, emoteId int32) ReactionsAPIDocCommentReactionDeleteRequest
DocCommentReactionDelete Delete doc comment reaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @param docCommentId @param emoteId @return ReactionsAPIDocCommentReactionDeleteRequest
func (*ReactionsAPIService) DocCommentReactionDeleteExecute ¶
func (a *ReactionsAPIService) DocCommentReactionDeleteExecute(r ReactionsAPIDocCommentReactionDeleteRequest) (*http.Response, error)
Execute executes the request
func (*ReactionsAPIService) DocReactionCreate ¶
func (a *ReactionsAPIService) DocReactionCreate(ctx context.Context, channelId string, docId int32, emoteId int32) ReactionsAPIDocReactionCreateRequest
DocReactionCreate Create doc reaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @param emoteId @return ReactionsAPIDocReactionCreateRequest
func (*ReactionsAPIService) DocReactionCreateExecute ¶
func (a *ReactionsAPIService) DocReactionCreateExecute(r ReactionsAPIDocReactionCreateRequest) (*http.Response, error)
Execute executes the request
func (*ReactionsAPIService) DocReactionDelete ¶
func (a *ReactionsAPIService) DocReactionDelete(ctx context.Context, channelId string, docId int32, emoteId int32) ReactionsAPIDocReactionDeleteRequest
DocReactionDelete Delete doc reaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId @param docId @param emoteId @return ReactionsAPIDocReactionDeleteRequest
func (*ReactionsAPIService) DocReactionDeleteExecute ¶
func (a *ReactionsAPIService) DocReactionDeleteExecute(r ReactionsAPIDocReactionDeleteRequest) (*http.Response, error)
Execute executes the request
func (*ReactionsAPIService) ForumTopicCommentReactionCreate ¶
func (a *ReactionsAPIService) ForumTopicCommentReactionCreate(ctx context.Context, channelId string, forumTopicId int32, forumTopicCommentId int32, emoteId int32) ReactionsAPIForumTopicCommentReactionCreateRequest
ForumTopicCommentReactionCreate Create forum topic comment reaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId Channel ID where the forum topic exists @param forumTopicId @param forumTopicCommentId @param emoteId @return ReactionsAPIForumTopicCommentReactionCreateRequest
func (*ReactionsAPIService) ForumTopicCommentReactionCreateExecute ¶
func (a *ReactionsAPIService) ForumTopicCommentReactionCreateExecute(r ReactionsAPIForumTopicCommentReactionCreateRequest) (*http.Response, error)
Execute executes the request
func (*ReactionsAPIService) ForumTopicCommentReactionDelete ¶
func (a *ReactionsAPIService) ForumTopicCommentReactionDelete(ctx context.Context, channelId string, forumTopicId int32, forumTopicCommentId int32, emoteId int32) ReactionsAPIForumTopicCommentReactionDeleteRequest
ForumTopicCommentReactionDelete Delete forum topic comment reaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId Channel ID where the forum topic exists @param forumTopicId @param forumTopicCommentId @param emoteId @return ReactionsAPIForumTopicCommentReactionDeleteRequest
func (*ReactionsAPIService) ForumTopicCommentReactionDeleteExecute ¶
func (a *ReactionsAPIService) ForumTopicCommentReactionDeleteExecute(r ReactionsAPIForumTopicCommentReactionDeleteRequest) (*http.Response, error)
Execute executes the request
func (*ReactionsAPIService) ForumTopicReactionCreate ¶
func (a *ReactionsAPIService) ForumTopicReactionCreate(ctx context.Context, channelId string, forumTopicId int32, emoteId int32) ReactionsAPIForumTopicReactionCreateRequest
ForumTopicReactionCreate Create forum topic reaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId Channel ID where the forum topic exists @param forumTopicId Forum Topic ID @param emoteId Emote ID to apply @return ReactionsAPIForumTopicReactionCreateRequest
func (*ReactionsAPIService) ForumTopicReactionCreateExecute ¶
func (a *ReactionsAPIService) ForumTopicReactionCreateExecute(r ReactionsAPIForumTopicReactionCreateRequest) (*http.Response, error)
Execute executes the request
func (*ReactionsAPIService) ForumTopicReactionDelete ¶
func (a *ReactionsAPIService) ForumTopicReactionDelete(ctx context.Context, channelId string, forumTopicId int32, emoteId int32) ReactionsAPIForumTopicReactionDeleteRequest
ForumTopicReactionDelete Delete forum topic reaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelId Channel ID where the forum topic exists @param forumTopicId Forum Topic ID @param emoteId Emote ID to remove @return ReactionsAPIForumTopicReactionDeleteRequest
func (*ReactionsAPIService) ForumTopicReactionDeleteExecute ¶
func (a *ReactionsAPIService) ForumTopicReactionDeleteExecute(r ReactionsAPIForumTopicReactionDeleteRequest) (*http.Response, error)
Execute executes the request
type Role ¶
type Role struct { // The ID of the role Id int32 `json:"id"` // The ID of the server ServerId string `json:"serverId"` // The ISO 8601 timestamp that the role was created at CreatedAt time.Time `json:"createdAt"` // The ISO 8601 timestamp that the role was updated at, if relevant UpdatedAt *time.Time `json:"updatedAt,omitempty"` // The role's name Name string `json:"name"` // If set, the role will be displayed separately in the channel member list IsDisplayedSeparately *bool `json:"isDisplayedSeparately,omitempty"` // If set, this roll will be self assigned IsSelfAssignable *bool `json:"isSelfAssignable,omitempty"` // If set, this role can be mentioned IsMentionable *bool `json:"isMentionable,omitempty"` // Permissions must be a collection of valid permissions as defined in the [Enums/Permissions](https://www.guilded.gg/docs/api/Permissions) section Permissions []string `json:"permissions"` // An array of integer values corresponding to the decimal RGB representation for a color. The first color is solid, and a second color indicates a gradient Colors []int32 `json:"colors,omitempty"` // The URL of the role icon Icon *string `json:"icon,omitempty"` // The priority the role will be in relation to other roles in the server. The higher the value, the more precedence the role has over lower priority roles, and the higher up it will be displayed in the UI. Values can be zero or negative! Priority *int32 `json:"priority,omitempty"` // The default role users are given when joining the server. Base roles are tied directly to the server and cannot be created or deleted IsBase *bool `json:"isBase,omitempty"` // The bot user ID this role has been defined for. Roles with this populated can only be deleted by kicking the bot BotUserId *string `json:"botUserId,omitempty"` }
Role struct for Role
func NewRole ¶
func NewRole(id int32, serverId string, createdAt time.Time, name string, permissions []string) *Role
NewRole instantiates a new Role object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRoleWithDefaults ¶
func NewRoleWithDefaults() *Role
NewRoleWithDefaults instantiates a new Role object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Role) GetBotUserId ¶
GetBotUserId returns the BotUserId field value if set, zero value otherwise.
func (*Role) GetBotUserIdOk ¶
GetBotUserIdOk returns a tuple with the BotUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Role) GetColorsOk ¶
GetColorsOk returns a tuple with the Colors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Role) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Role) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Role) GetIconOk ¶
GetIconOk returns a tuple with the Icon field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Role) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Role) GetIsBaseOk ¶
GetIsBaseOk returns a tuple with the IsBase field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Role) GetIsDisplayedSeparately ¶
GetIsDisplayedSeparately returns the IsDisplayedSeparately field value if set, zero value otherwise.
func (*Role) GetIsDisplayedSeparatelyOk ¶
GetIsDisplayedSeparatelyOk returns a tuple with the IsDisplayedSeparately field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Role) GetIsMentionable ¶
GetIsMentionable returns the IsMentionable field value if set, zero value otherwise.
func (*Role) GetIsMentionableOk ¶
GetIsMentionableOk returns a tuple with the IsMentionable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Role) GetIsSelfAssignable ¶
GetIsSelfAssignable returns the IsSelfAssignable field value if set, zero value otherwise.
func (*Role) GetIsSelfAssignableOk ¶
GetIsSelfAssignableOk returns a tuple with the IsSelfAssignable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Role) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Role) GetPermissions ¶
GetPermissions returns the Permissions field value
func (*Role) GetPermissionsOk ¶
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (*Role) GetPriority ¶
GetPriority returns the Priority field value if set, zero value otherwise.
func (*Role) GetPriorityOk ¶
GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Role) GetServerId ¶
GetServerId returns the ServerId field value
func (*Role) GetServerIdOk ¶
GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.
func (*Role) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Role) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Role) HasBotUserId ¶
HasBotUserId returns a boolean if a field has been set.
func (*Role) HasIsDisplayedSeparately ¶
HasIsDisplayedSeparately returns a boolean if a field has been set.
func (*Role) HasIsMentionable ¶
HasIsMentionable returns a boolean if a field has been set.
func (*Role) HasIsSelfAssignable ¶
HasIsSelfAssignable returns a boolean if a field has been set.
func (*Role) HasPriority ¶
HasPriority returns a boolean if a field has been set.
func (*Role) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Role) MarshalJSON ¶
func (*Role) SetBotUserId ¶
SetBotUserId gets a reference to the given string and assigns it to the BotUserId field.
func (*Role) SetColors ¶
SetColors gets a reference to the given []int32 and assigns it to the Colors field.
func (*Role) SetIcon ¶
SetIcon gets a reference to the given string and assigns it to the Icon field.
func (*Role) SetIsBase ¶
SetIsBase gets a reference to the given bool and assigns it to the IsBase field.
func (*Role) SetIsDisplayedSeparately ¶
SetIsDisplayedSeparately gets a reference to the given bool and assigns it to the IsDisplayedSeparately field.
func (*Role) SetIsMentionable ¶
SetIsMentionable gets a reference to the given bool and assigns it to the IsMentionable field.
func (*Role) SetIsSelfAssignable ¶
SetIsSelfAssignable gets a reference to the given bool and assigns it to the IsSelfAssignable field.
func (*Role) SetPermissions ¶
SetPermissions sets field value
func (*Role) SetPriority ¶
SetPriority gets a reference to the given int32 and assigns it to the Priority field.
func (*Role) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Role) UnmarshalJSON ¶
type RoleCreate200Response ¶
type RoleCreate200Response struct {
Role Role `json:"role"`
}
RoleCreate200Response struct for RoleCreate200Response
func NewRoleCreate200Response ¶
func NewRoleCreate200Response(role Role) *RoleCreate200Response
NewRoleCreate200Response instantiates a new RoleCreate200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRoleCreate200ResponseWithDefaults ¶
func NewRoleCreate200ResponseWithDefaults() *RoleCreate200Response
NewRoleCreate200ResponseWithDefaults instantiates a new RoleCreate200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RoleCreate200Response) GetRole ¶
func (o *RoleCreate200Response) GetRole() Role
GetRole returns the Role field value
func (*RoleCreate200Response) GetRoleOk ¶
func (o *RoleCreate200Response) GetRoleOk() (*Role, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (RoleCreate200Response) MarshalJSON ¶
func (o RoleCreate200Response) MarshalJSON() ([]byte, error)
func (*RoleCreate200Response) SetRole ¶
func (o *RoleCreate200Response) SetRole(v Role)
SetRole sets field value
func (RoleCreate200Response) ToMap ¶
func (o RoleCreate200Response) ToMap() (map[string]interface{}, error)
func (*RoleCreate200Response) UnmarshalJSON ¶
func (o *RoleCreate200Response) UnmarshalJSON(data []byte) (err error)
type RoleCreateRequest ¶
type RoleCreateRequest struct { // The role's name Name string `json:"name"` // If set, the role will be displayed separately in the channel member list IsDisplayedSeparately *bool `json:"isDisplayedSeparately,omitempty"` // If set, this roll will be self assigned IsSelfAssignable *bool `json:"isSelfAssignable,omitempty"` // If set, this role can be mentioned IsMentionable *bool `json:"isMentionable,omitempty"` // Permissions must be a collection of valid permissions as defined in the [Enums/Permissions](https://www.guilded.gg/docs/api/Permissions) section Permissions []string `json:"permissions"` // An array of integer values corresponding to the decimal RGB representation for a color. The first color is solid, and a second color indicates a gradient Colors []int32 `json:"colors,omitempty"` }
RoleCreateRequest struct for RoleCreateRequest
func NewRoleCreateRequest ¶
func NewRoleCreateRequest(name string, permissions []string) *RoleCreateRequest
NewRoleCreateRequest instantiates a new RoleCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRoleCreateRequestWithDefaults ¶
func NewRoleCreateRequestWithDefaults() *RoleCreateRequest
NewRoleCreateRequestWithDefaults instantiates a new RoleCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RoleCreateRequest) GetColors ¶
func (o *RoleCreateRequest) GetColors() []int32
GetColors returns the Colors field value if set, zero value otherwise.
func (*RoleCreateRequest) GetColorsOk ¶
func (o *RoleCreateRequest) GetColorsOk() ([]int32, bool)
GetColorsOk returns a tuple with the Colors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleCreateRequest) GetIsDisplayedSeparately ¶
func (o *RoleCreateRequest) GetIsDisplayedSeparately() bool
GetIsDisplayedSeparately returns the IsDisplayedSeparately field value if set, zero value otherwise.
func (*RoleCreateRequest) GetIsDisplayedSeparatelyOk ¶
func (o *RoleCreateRequest) GetIsDisplayedSeparatelyOk() (*bool, bool)
GetIsDisplayedSeparatelyOk returns a tuple with the IsDisplayedSeparately field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleCreateRequest) GetIsMentionable ¶
func (o *RoleCreateRequest) GetIsMentionable() bool
GetIsMentionable returns the IsMentionable field value if set, zero value otherwise.
func (*RoleCreateRequest) GetIsMentionableOk ¶
func (o *RoleCreateRequest) GetIsMentionableOk() (*bool, bool)
GetIsMentionableOk returns a tuple with the IsMentionable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleCreateRequest) GetIsSelfAssignable ¶
func (o *RoleCreateRequest) GetIsSelfAssignable() bool
GetIsSelfAssignable returns the IsSelfAssignable field value if set, zero value otherwise.
func (*RoleCreateRequest) GetIsSelfAssignableOk ¶
func (o *RoleCreateRequest) GetIsSelfAssignableOk() (*bool, bool)
GetIsSelfAssignableOk returns a tuple with the IsSelfAssignable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleCreateRequest) GetName ¶
func (o *RoleCreateRequest) GetName() string
GetName returns the Name field value
func (*RoleCreateRequest) GetNameOk ¶
func (o *RoleCreateRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*RoleCreateRequest) GetPermissions ¶
func (o *RoleCreateRequest) GetPermissions() []string
GetPermissions returns the Permissions field value
func (*RoleCreateRequest) GetPermissionsOk ¶
func (o *RoleCreateRequest) GetPermissionsOk() ([]string, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (*RoleCreateRequest) HasColors ¶
func (o *RoleCreateRequest) HasColors() bool
HasColors returns a boolean if a field has been set.
func (*RoleCreateRequest) HasIsDisplayedSeparately ¶
func (o *RoleCreateRequest) HasIsDisplayedSeparately() bool
HasIsDisplayedSeparately returns a boolean if a field has been set.
func (*RoleCreateRequest) HasIsMentionable ¶
func (o *RoleCreateRequest) HasIsMentionable() bool
HasIsMentionable returns a boolean if a field has been set.
func (*RoleCreateRequest) HasIsSelfAssignable ¶
func (o *RoleCreateRequest) HasIsSelfAssignable() bool
HasIsSelfAssignable returns a boolean if a field has been set.
func (RoleCreateRequest) MarshalJSON ¶
func (o RoleCreateRequest) MarshalJSON() ([]byte, error)
func (*RoleCreateRequest) SetColors ¶
func (o *RoleCreateRequest) SetColors(v []int32)
SetColors gets a reference to the given []int32 and assigns it to the Colors field.
func (*RoleCreateRequest) SetIsDisplayedSeparately ¶
func (o *RoleCreateRequest) SetIsDisplayedSeparately(v bool)
SetIsDisplayedSeparately gets a reference to the given bool and assigns it to the IsDisplayedSeparately field.
func (*RoleCreateRequest) SetIsMentionable ¶
func (o *RoleCreateRequest) SetIsMentionable(v bool)
SetIsMentionable gets a reference to the given bool and assigns it to the IsMentionable field.
func (*RoleCreateRequest) SetIsSelfAssignable ¶
func (o *RoleCreateRequest) SetIsSelfAssignable(v bool)
SetIsSelfAssignable gets a reference to the given bool and assigns it to the IsSelfAssignable field.
func (*RoleCreateRequest) SetName ¶
func (o *RoleCreateRequest) SetName(v string)
SetName sets field value
func (*RoleCreateRequest) SetPermissions ¶
func (o *RoleCreateRequest) SetPermissions(v []string)
SetPermissions sets field value
func (RoleCreateRequest) ToMap ¶
func (o RoleCreateRequest) ToMap() (map[string]interface{}, error)
func (*RoleCreateRequest) UnmarshalJSON ¶
func (o *RoleCreateRequest) UnmarshalJSON(data []byte) (err error)
type RoleMembershipAPI ¶
type RoleMembershipAPI interface { /* RoleMembershipCreate Assign role to member @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId The ID of the member that the role should be assigned to @param roleId The role ID to apply to the user @return RoleMembershipAPIRoleMembershipCreateRequest */ RoleMembershipCreate(ctx context.Context, serverId string, userId UserID, roleId int32) RoleMembershipAPIRoleMembershipCreateRequest // RoleMembershipCreateExecute executes the request RoleMembershipCreateExecute(r RoleMembershipAPIRoleMembershipCreateRequest) (*http.Response, error) /* RoleMembershipDelete Remove role from member @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId The ID of the member that the role should be removed from @param roleId The role ID to remove from the user @return RoleMembershipAPIRoleMembershipDeleteRequest */ RoleMembershipDelete(ctx context.Context, serverId string, userId UserID, roleId int32) RoleMembershipAPIRoleMembershipDeleteRequest // RoleMembershipDeleteExecute executes the request RoleMembershipDeleteExecute(r RoleMembershipAPIRoleMembershipDeleteRequest) (*http.Response, error) /* RoleMembershipReadMany Get member roles Get a list of the roles assigned to a member @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId The ID of the member to obtain roles from @return RoleMembershipAPIRoleMembershipReadManyRequest */ RoleMembershipReadMany(ctx context.Context, serverId string, userId UserID) RoleMembershipAPIRoleMembershipReadManyRequest // RoleMembershipReadManyExecute executes the request // @return RoleMembershipReadMany200Response RoleMembershipReadManyExecute(r RoleMembershipAPIRoleMembershipReadManyRequest) (*RoleMembershipReadMany200Response, *http.Response, error) }
type RoleMembershipAPIRoleMembershipCreateRequest ¶
type RoleMembershipAPIRoleMembershipCreateRequest struct { ApiService RoleMembershipAPI // contains filtered or unexported fields }
type RoleMembershipAPIRoleMembershipDeleteRequest ¶
type RoleMembershipAPIRoleMembershipDeleteRequest struct { ApiService RoleMembershipAPI // contains filtered or unexported fields }
type RoleMembershipAPIRoleMembershipReadManyRequest ¶
type RoleMembershipAPIRoleMembershipReadManyRequest struct { ApiService RoleMembershipAPI // contains filtered or unexported fields }
func (RoleMembershipAPIRoleMembershipReadManyRequest) Execute ¶
func (r RoleMembershipAPIRoleMembershipReadManyRequest) Execute() (*RoleMembershipReadMany200Response, *http.Response, error)
type RoleMembershipAPIService ¶
type RoleMembershipAPIService service
RoleMembershipAPIService RoleMembershipAPI service
func (*RoleMembershipAPIService) RoleMembershipCreate ¶
func (a *RoleMembershipAPIService) RoleMembershipCreate(ctx context.Context, serverId string, userId UserID, roleId int32) RoleMembershipAPIRoleMembershipCreateRequest
RoleMembershipCreate Assign role to member
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId The ID of the member that the role should be assigned to @param roleId The role ID to apply to the user @return RoleMembershipAPIRoleMembershipCreateRequest
func (*RoleMembershipAPIService) RoleMembershipCreateExecute ¶
func (a *RoleMembershipAPIService) RoleMembershipCreateExecute(r RoleMembershipAPIRoleMembershipCreateRequest) (*http.Response, error)
Execute executes the request
func (*RoleMembershipAPIService) RoleMembershipDelete ¶
func (a *RoleMembershipAPIService) RoleMembershipDelete(ctx context.Context, serverId string, userId UserID, roleId int32) RoleMembershipAPIRoleMembershipDeleteRequest
RoleMembershipDelete Remove role from member
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId The ID of the member that the role should be removed from @param roleId The role ID to remove from the user @return RoleMembershipAPIRoleMembershipDeleteRequest
func (*RoleMembershipAPIService) RoleMembershipDeleteExecute ¶
func (a *RoleMembershipAPIService) RoleMembershipDeleteExecute(r RoleMembershipAPIRoleMembershipDeleteRequest) (*http.Response, error)
Execute executes the request
func (*RoleMembershipAPIService) RoleMembershipReadMany ¶
func (a *RoleMembershipAPIService) RoleMembershipReadMany(ctx context.Context, serverId string, userId UserID) RoleMembershipAPIRoleMembershipReadManyRequest
RoleMembershipReadMany Get member roles
Get a list of the roles assigned to a member
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId The ID of the member to obtain roles from @return RoleMembershipAPIRoleMembershipReadManyRequest
func (*RoleMembershipAPIService) RoleMembershipReadManyExecute ¶
func (a *RoleMembershipAPIService) RoleMembershipReadManyExecute(r RoleMembershipAPIRoleMembershipReadManyRequest) (*RoleMembershipReadMany200Response, *http.Response, error)
Execute executes the request
@return RoleMembershipReadMany200Response
type RoleMembershipReadMany200Response ¶
type RoleMembershipReadMany200Response struct { // The IDs of the roles that the member currently has RoleIds []int32 `json:"roleIds"` }
RoleMembershipReadMany200Response struct for RoleMembershipReadMany200Response
func NewRoleMembershipReadMany200Response ¶
func NewRoleMembershipReadMany200Response(roleIds []int32) *RoleMembershipReadMany200Response
NewRoleMembershipReadMany200Response instantiates a new RoleMembershipReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRoleMembershipReadMany200ResponseWithDefaults ¶
func NewRoleMembershipReadMany200ResponseWithDefaults() *RoleMembershipReadMany200Response
NewRoleMembershipReadMany200ResponseWithDefaults instantiates a new RoleMembershipReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RoleMembershipReadMany200Response) GetRoleIds ¶
func (o *RoleMembershipReadMany200Response) GetRoleIds() []int32
GetRoleIds returns the RoleIds field value
func (*RoleMembershipReadMany200Response) GetRoleIdsOk ¶
func (o *RoleMembershipReadMany200Response) GetRoleIdsOk() ([]int32, bool)
GetRoleIdsOk returns a tuple with the RoleIds field value and a boolean to check if the value has been set.
func (RoleMembershipReadMany200Response) MarshalJSON ¶
func (o RoleMembershipReadMany200Response) MarshalJSON() ([]byte, error)
func (*RoleMembershipReadMany200Response) SetRoleIds ¶
func (o *RoleMembershipReadMany200Response) SetRoleIds(v []int32)
SetRoleIds sets field value
func (RoleMembershipReadMany200Response) ToMap ¶
func (o RoleMembershipReadMany200Response) ToMap() (map[string]interface{}, error)
func (*RoleMembershipReadMany200Response) UnmarshalJSON ¶
func (o *RoleMembershipReadMany200Response) UnmarshalJSON(data []byte) (err error)
type RolePermissionUpdateRequest ¶
type RolePermissionUpdateRequest struct { // A JSON object of [Enums/Permissions](https://www.guilded.gg/docs/api/Permissions) with `true` or `false` values. Permissions map[string]interface{} `json:"permissions"` }
RolePermissionUpdateRequest struct for RolePermissionUpdateRequest
func NewRolePermissionUpdateRequest ¶
func NewRolePermissionUpdateRequest(permissions map[string]interface{}) *RolePermissionUpdateRequest
NewRolePermissionUpdateRequest instantiates a new RolePermissionUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRolePermissionUpdateRequestWithDefaults ¶
func NewRolePermissionUpdateRequestWithDefaults() *RolePermissionUpdateRequest
NewRolePermissionUpdateRequestWithDefaults instantiates a new RolePermissionUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RolePermissionUpdateRequest) GetPermissions ¶
func (o *RolePermissionUpdateRequest) GetPermissions() map[string]interface{}
GetPermissions returns the Permissions field value
func (*RolePermissionUpdateRequest) GetPermissionsOk ¶
func (o *RolePermissionUpdateRequest) GetPermissionsOk() (map[string]interface{}, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (RolePermissionUpdateRequest) MarshalJSON ¶
func (o RolePermissionUpdateRequest) MarshalJSON() ([]byte, error)
func (*RolePermissionUpdateRequest) SetPermissions ¶
func (o *RolePermissionUpdateRequest) SetPermissions(v map[string]interface{})
SetPermissions sets field value
func (RolePermissionUpdateRequest) ToMap ¶
func (o RolePermissionUpdateRequest) ToMap() (map[string]interface{}, error)
func (*RolePermissionUpdateRequest) UnmarshalJSON ¶
func (o *RolePermissionUpdateRequest) UnmarshalJSON(data []byte) (err error)
type RoleReadMany200Response ¶
type RoleReadMany200Response struct {
Roles []Role `json:"roles"`
}
RoleReadMany200Response struct for RoleReadMany200Response
func NewRoleReadMany200Response ¶
func NewRoleReadMany200Response(roles []Role) *RoleReadMany200Response
NewRoleReadMany200Response instantiates a new RoleReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRoleReadMany200ResponseWithDefaults ¶
func NewRoleReadMany200ResponseWithDefaults() *RoleReadMany200Response
NewRoleReadMany200ResponseWithDefaults instantiates a new RoleReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RoleReadMany200Response) GetRoles ¶
func (o *RoleReadMany200Response) GetRoles() []Role
GetRoles returns the Roles field value
func (*RoleReadMany200Response) GetRolesOk ¶
func (o *RoleReadMany200Response) GetRolesOk() ([]Role, bool)
GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.
func (RoleReadMany200Response) MarshalJSON ¶
func (o RoleReadMany200Response) MarshalJSON() ([]byte, error)
func (*RoleReadMany200Response) SetRoles ¶
func (o *RoleReadMany200Response) SetRoles(v []Role)
SetRoles sets field value
func (RoleReadMany200Response) ToMap ¶
func (o RoleReadMany200Response) ToMap() (map[string]interface{}, error)
func (*RoleReadMany200Response) UnmarshalJSON ¶
func (o *RoleReadMany200Response) UnmarshalJSON(data []byte) (err error)
type RoleUpdateRequest ¶
type RoleUpdateRequest struct { // The role's name Name *string `json:"name,omitempty"` // If set, the role will be displayed separately in the channel member list IsDisplayedSeparately *bool `json:"isDisplayedSeparately,omitempty"` // If set, this roll will be self assigned IsSelfAssignable *bool `json:"isSelfAssignable,omitempty"` // If set, this role can be mentioned IsMentionable *bool `json:"isMentionable,omitempty"` // Permissions must be a collection of valid permissions as defined in the [Enums/Permissions](https://www.guilded.gg/docs/api/Permissions) section Permissions []string `json:"permissions,omitempty"` // The priority the role will be in relation to other roles in the server. The higher the value, the more precedence the role has over lower priority roles, and the higher up it will be displayed in the UI. Values can be zero or negative! Priority *int32 `json:"priority,omitempty"` // An array of integer values corresponding to the decimal RGB representation for a color. The first color is solid, and a second color indicates a gradient Colors []int32 `json:"colors,omitempty"` }
RoleUpdateRequest struct for RoleUpdateRequest
func NewRoleUpdateRequest ¶
func NewRoleUpdateRequest() *RoleUpdateRequest
NewRoleUpdateRequest instantiates a new RoleUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRoleUpdateRequestWithDefaults ¶
func NewRoleUpdateRequestWithDefaults() *RoleUpdateRequest
NewRoleUpdateRequestWithDefaults instantiates a new RoleUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RoleUpdateRequest) GetColors ¶
func (o *RoleUpdateRequest) GetColors() []int32
GetColors returns the Colors field value if set, zero value otherwise.
func (*RoleUpdateRequest) GetColorsOk ¶
func (o *RoleUpdateRequest) GetColorsOk() ([]int32, bool)
GetColorsOk returns a tuple with the Colors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleUpdateRequest) GetIsDisplayedSeparately ¶
func (o *RoleUpdateRequest) GetIsDisplayedSeparately() bool
GetIsDisplayedSeparately returns the IsDisplayedSeparately field value if set, zero value otherwise.
func (*RoleUpdateRequest) GetIsDisplayedSeparatelyOk ¶
func (o *RoleUpdateRequest) GetIsDisplayedSeparatelyOk() (*bool, bool)
GetIsDisplayedSeparatelyOk returns a tuple with the IsDisplayedSeparately field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleUpdateRequest) GetIsMentionable ¶
func (o *RoleUpdateRequest) GetIsMentionable() bool
GetIsMentionable returns the IsMentionable field value if set, zero value otherwise.
func (*RoleUpdateRequest) GetIsMentionableOk ¶
func (o *RoleUpdateRequest) GetIsMentionableOk() (*bool, bool)
GetIsMentionableOk returns a tuple with the IsMentionable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleUpdateRequest) GetIsSelfAssignable ¶
func (o *RoleUpdateRequest) GetIsSelfAssignable() bool
GetIsSelfAssignable returns the IsSelfAssignable field value if set, zero value otherwise.
func (*RoleUpdateRequest) GetIsSelfAssignableOk ¶
func (o *RoleUpdateRequest) GetIsSelfAssignableOk() (*bool, bool)
GetIsSelfAssignableOk returns a tuple with the IsSelfAssignable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleUpdateRequest) GetName ¶
func (o *RoleUpdateRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*RoleUpdateRequest) GetNameOk ¶
func (o *RoleUpdateRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleUpdateRequest) GetPermissions ¶
func (o *RoleUpdateRequest) GetPermissions() []string
GetPermissions returns the Permissions field value if set, zero value otherwise.
func (*RoleUpdateRequest) GetPermissionsOk ¶
func (o *RoleUpdateRequest) GetPermissionsOk() ([]string, bool)
GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleUpdateRequest) GetPriority ¶
func (o *RoleUpdateRequest) GetPriority() int32
GetPriority returns the Priority field value if set, zero value otherwise.
func (*RoleUpdateRequest) GetPriorityOk ¶
func (o *RoleUpdateRequest) GetPriorityOk() (*int32, bool)
GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleUpdateRequest) HasColors ¶
func (o *RoleUpdateRequest) HasColors() bool
HasColors returns a boolean if a field has been set.
func (*RoleUpdateRequest) HasIsDisplayedSeparately ¶
func (o *RoleUpdateRequest) HasIsDisplayedSeparately() bool
HasIsDisplayedSeparately returns a boolean if a field has been set.
func (*RoleUpdateRequest) HasIsMentionable ¶
func (o *RoleUpdateRequest) HasIsMentionable() bool
HasIsMentionable returns a boolean if a field has been set.
func (*RoleUpdateRequest) HasIsSelfAssignable ¶
func (o *RoleUpdateRequest) HasIsSelfAssignable() bool
HasIsSelfAssignable returns a boolean if a field has been set.
func (*RoleUpdateRequest) HasName ¶
func (o *RoleUpdateRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*RoleUpdateRequest) HasPermissions ¶
func (o *RoleUpdateRequest) HasPermissions() bool
HasPermissions returns a boolean if a field has been set.
func (*RoleUpdateRequest) HasPriority ¶
func (o *RoleUpdateRequest) HasPriority() bool
HasPriority returns a boolean if a field has been set.
func (RoleUpdateRequest) MarshalJSON ¶
func (o RoleUpdateRequest) MarshalJSON() ([]byte, error)
func (*RoleUpdateRequest) SetColors ¶
func (o *RoleUpdateRequest) SetColors(v []int32)
SetColors gets a reference to the given []int32 and assigns it to the Colors field.
func (*RoleUpdateRequest) SetIsDisplayedSeparately ¶
func (o *RoleUpdateRequest) SetIsDisplayedSeparately(v bool)
SetIsDisplayedSeparately gets a reference to the given bool and assigns it to the IsDisplayedSeparately field.
func (*RoleUpdateRequest) SetIsMentionable ¶
func (o *RoleUpdateRequest) SetIsMentionable(v bool)
SetIsMentionable gets a reference to the given bool and assigns it to the IsMentionable field.
func (*RoleUpdateRequest) SetIsSelfAssignable ¶
func (o *RoleUpdateRequest) SetIsSelfAssignable(v bool)
SetIsSelfAssignable gets a reference to the given bool and assigns it to the IsSelfAssignable field.
func (*RoleUpdateRequest) SetName ¶
func (o *RoleUpdateRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*RoleUpdateRequest) SetPermissions ¶
func (o *RoleUpdateRequest) SetPermissions(v []string)
SetPermissions gets a reference to the given []string and assigns it to the Permissions field.
func (*RoleUpdateRequest) SetPriority ¶
func (o *RoleUpdateRequest) SetPriority(v int32)
SetPriority gets a reference to the given int32 and assigns it to the Priority field.
func (RoleUpdateRequest) ToMap ¶
func (o RoleUpdateRequest) ToMap() (map[string]interface{}, error)
type RolesAPI ¶
type RolesAPI interface { /* RoleCreate Create a role By default, a role will be created with the lowest priority on a server. You can update its priority using [the role update route](/docs/api/roles/RoleUpdate) @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return RolesAPIRoleCreateRequest */ RoleCreate(ctx context.Context, serverId string) RolesAPIRoleCreateRequest // RoleCreateExecute executes the request // @return RoleCreate200Response RoleCreateExecute(r RolesAPIRoleCreateRequest) (*RoleCreate200Response, *http.Response, error) /* RoleDelete Delete a role @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param roleId @return RolesAPIRoleDeleteRequest */ RoleDelete(ctx context.Context, serverId string, roleId int32) RolesAPIRoleDeleteRequest // RoleDeleteExecute executes the request // @return RoleCreate200Response RoleDeleteExecute(r RolesAPIRoleDeleteRequest) (*RoleCreate200Response, *http.Response, error) /* RolePermissionUpdate Update a role permission @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param roleId @return RolesAPIRolePermissionUpdateRequest */ RolePermissionUpdate(ctx context.Context, serverId string, roleId int32) RolesAPIRolePermissionUpdateRequest // RolePermissionUpdateExecute executes the request // @return RoleCreate200Response RolePermissionUpdateExecute(r RolesAPIRolePermissionUpdateRequest) (*RoleCreate200Response, *http.Response, error) /* RoleRead Get a role @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param roleId @return RolesAPIRoleReadRequest */ RoleRead(ctx context.Context, serverId string, roleId int32) RolesAPIRoleReadRequest // RoleReadExecute executes the request // @return RoleCreate200Response RoleReadExecute(r RolesAPIRoleReadRequest) (*RoleCreate200Response, *http.Response, error) /* RoleReadMany Get roles @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return RolesAPIRoleReadManyRequest */ RoleReadMany(ctx context.Context, serverId string) RolesAPIRoleReadManyRequest // RoleReadManyExecute executes the request // @return RoleReadMany200Response RoleReadManyExecute(r RolesAPIRoleReadManyRequest) (*RoleReadMany200Response, *http.Response, error) /* RoleUpdate Update a role Note that when a `priority` is updated, there will still only be a socket event for the role that was touched directly and not for other roles that were shifted @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param roleId @return RolesAPIRoleUpdateRequest */ RoleUpdate(ctx context.Context, serverId string, roleId int32) RolesAPIRoleUpdateRequest // RoleUpdateExecute executes the request // @return RoleCreate200Response RoleUpdateExecute(r RolesAPIRoleUpdateRequest) (*RoleCreate200Response, *http.Response, error) /* ServerMemberPermissionsRead Read a server member's permissions If the user has *all* of the permissions passed, the HTTP status code will be 200; if user is missing one or more permissions passed, the HTTP status code will be [418](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/418) with a `meta` property containing `missingPermissions` of the permissions the user does not have (this is a 418 to differentiate from a 403 if the _bot_ did not have permissions to perform the request, not the _user_). Tip: Use the `HEAD` HTTP method for this route if you only care about if the user has permissions and not the response body containing what's missing. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId @return RolesAPIServerMemberPermissionsReadRequest */ ServerMemberPermissionsRead(ctx context.Context, serverId string, userId UserID) RolesAPIServerMemberPermissionsReadRequest // ServerMemberPermissionsReadExecute executes the request // @return ServerMemberPermissionsRead200Response ServerMemberPermissionsReadExecute(r RolesAPIServerMemberPermissionsReadRequest) (*ServerMemberPermissionsRead200Response, *http.Response, error) }
type RolesAPIRoleCreateRequest ¶
type RolesAPIRoleCreateRequest struct { ApiService RolesAPI // contains filtered or unexported fields }
func (RolesAPIRoleCreateRequest) Execute ¶
func (r RolesAPIRoleCreateRequest) Execute() (*RoleCreate200Response, *http.Response, error)
func (RolesAPIRoleCreateRequest) RoleCreateRequest ¶
func (r RolesAPIRoleCreateRequest) RoleCreateRequest(roleCreateRequest RoleCreateRequest) RolesAPIRoleCreateRequest
type RolesAPIRoleDeleteRequest ¶
type RolesAPIRoleDeleteRequest struct { ApiService RolesAPI // contains filtered or unexported fields }
func (RolesAPIRoleDeleteRequest) Execute ¶
func (r RolesAPIRoleDeleteRequest) Execute() (*RoleCreate200Response, *http.Response, error)
type RolesAPIRolePermissionUpdateRequest ¶
type RolesAPIRolePermissionUpdateRequest struct { ApiService RolesAPI // contains filtered or unexported fields }
func (RolesAPIRolePermissionUpdateRequest) Execute ¶
func (r RolesAPIRolePermissionUpdateRequest) Execute() (*RoleCreate200Response, *http.Response, error)
func (RolesAPIRolePermissionUpdateRequest) RolePermissionUpdateRequest ¶
func (r RolesAPIRolePermissionUpdateRequest) RolePermissionUpdateRequest(rolePermissionUpdateRequest RolePermissionUpdateRequest) RolesAPIRolePermissionUpdateRequest
type RolesAPIRoleReadManyRequest ¶
type RolesAPIRoleReadManyRequest struct { ApiService RolesAPI // contains filtered or unexported fields }
func (RolesAPIRoleReadManyRequest) Execute ¶
func (r RolesAPIRoleReadManyRequest) Execute() (*RoleReadMany200Response, *http.Response, error)
type RolesAPIRoleReadRequest ¶
type RolesAPIRoleReadRequest struct { ApiService RolesAPI // contains filtered or unexported fields }
func (RolesAPIRoleReadRequest) Execute ¶
func (r RolesAPIRoleReadRequest) Execute() (*RoleCreate200Response, *http.Response, error)
type RolesAPIRoleUpdateRequest ¶
type RolesAPIRoleUpdateRequest struct { ApiService RolesAPI // contains filtered or unexported fields }
func (RolesAPIRoleUpdateRequest) Execute ¶
func (r RolesAPIRoleUpdateRequest) Execute() (*RoleCreate200Response, *http.Response, error)
func (RolesAPIRoleUpdateRequest) RoleUpdateRequest ¶
func (r RolesAPIRoleUpdateRequest) RoleUpdateRequest(roleUpdateRequest RoleUpdateRequest) RolesAPIRoleUpdateRequest
type RolesAPIServerMemberPermissionsReadRequest ¶
type RolesAPIServerMemberPermissionsReadRequest struct { ApiService RolesAPI // contains filtered or unexported fields }
func (RolesAPIServerMemberPermissionsReadRequest) CategoryId ¶
func (r RolesAPIServerMemberPermissionsReadRequest) CategoryId(categoryId int32) RolesAPIServerMemberPermissionsReadRequest
func (RolesAPIServerMemberPermissionsReadRequest) ChannelId ¶
func (r RolesAPIServerMemberPermissionsReadRequest) ChannelId(channelId string) RolesAPIServerMemberPermissionsReadRequest
func (RolesAPIServerMemberPermissionsReadRequest) Execute ¶
func (r RolesAPIServerMemberPermissionsReadRequest) Execute() (*ServerMemberPermissionsRead200Response, *http.Response, error)
func (RolesAPIServerMemberPermissionsReadRequest) Ids ¶
func (r RolesAPIServerMemberPermissionsReadRequest) Ids(ids []string) RolesAPIServerMemberPermissionsReadRequest
A queryString array of `ids[]` representing Enums/Permissions(https://www.guilded.gg/docs/api/Permissions)
type RolesAPIService ¶
type RolesAPIService service
RolesAPIService RolesAPI service
func (*RolesAPIService) RoleCreate ¶
func (a *RolesAPIService) RoleCreate(ctx context.Context, serverId string) RolesAPIRoleCreateRequest
RoleCreate Create a role
By default, a role will be created with the lowest priority on a server. You can update its priority using [the role update route](/docs/api/roles/RoleUpdate)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return RolesAPIRoleCreateRequest
func (*RolesAPIService) RoleCreateExecute ¶
func (a *RolesAPIService) RoleCreateExecute(r RolesAPIRoleCreateRequest) (*RoleCreate200Response, *http.Response, error)
Execute executes the request
@return RoleCreate200Response
func (*RolesAPIService) RoleDelete ¶
func (a *RolesAPIService) RoleDelete(ctx context.Context, serverId string, roleId int32) RolesAPIRoleDeleteRequest
RoleDelete Delete a role
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param roleId @return RolesAPIRoleDeleteRequest
func (*RolesAPIService) RoleDeleteExecute ¶
func (a *RolesAPIService) RoleDeleteExecute(r RolesAPIRoleDeleteRequest) (*RoleCreate200Response, *http.Response, error)
Execute executes the request
@return RoleCreate200Response
func (*RolesAPIService) RolePermissionUpdate ¶
func (a *RolesAPIService) RolePermissionUpdate(ctx context.Context, serverId string, roleId int32) RolesAPIRolePermissionUpdateRequest
RolePermissionUpdate Update a role permission
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param roleId @return RolesAPIRolePermissionUpdateRequest
func (*RolesAPIService) RolePermissionUpdateExecute ¶
func (a *RolesAPIService) RolePermissionUpdateExecute(r RolesAPIRolePermissionUpdateRequest) (*RoleCreate200Response, *http.Response, error)
Execute executes the request
@return RoleCreate200Response
func (*RolesAPIService) RoleRead ¶
func (a *RolesAPIService) RoleRead(ctx context.Context, serverId string, roleId int32) RolesAPIRoleReadRequest
RoleRead Get a role
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param roleId @return RolesAPIRoleReadRequest
func (*RolesAPIService) RoleReadExecute ¶
func (a *RolesAPIService) RoleReadExecute(r RolesAPIRoleReadRequest) (*RoleCreate200Response, *http.Response, error)
Execute executes the request
@return RoleCreate200Response
func (*RolesAPIService) RoleReadMany ¶
func (a *RolesAPIService) RoleReadMany(ctx context.Context, serverId string) RolesAPIRoleReadManyRequest
RoleReadMany Get roles
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return RolesAPIRoleReadManyRequest
func (*RolesAPIService) RoleReadManyExecute ¶
func (a *RolesAPIService) RoleReadManyExecute(r RolesAPIRoleReadManyRequest) (*RoleReadMany200Response, *http.Response, error)
Execute executes the request
@return RoleReadMany200Response
func (*RolesAPIService) RoleUpdate ¶
func (a *RolesAPIService) RoleUpdate(ctx context.Context, serverId string, roleId int32) RolesAPIRoleUpdateRequest
RoleUpdate Update a role
Note that when a `priority` is updated, there will still only be a socket event for the role that was touched directly and not for other roles that were shifted
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param roleId @return RolesAPIRoleUpdateRequest
func (*RolesAPIService) RoleUpdateExecute ¶
func (a *RolesAPIService) RoleUpdateExecute(r RolesAPIRoleUpdateRequest) (*RoleCreate200Response, *http.Response, error)
Execute executes the request
@return RoleCreate200Response
func (*RolesAPIService) ServerMemberPermissionsRead ¶
func (a *RolesAPIService) ServerMemberPermissionsRead(ctx context.Context, serverId string, userId UserID) RolesAPIServerMemberPermissionsReadRequest
ServerMemberPermissionsRead Read a server member's permissions
If the user has *all* of the permissions passed, the HTTP status code will be 200; if user is missing one or more permissions passed, the HTTP status code will be [418](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/418) with a `meta` property containing `missingPermissions` of the permissions the user does not have (this is a 418 to differentiate from a 403 if the _bot_ did not have permissions to perform the request, not the _user_). Tip: Use the `HEAD` HTTP method for this route if you only care about if the user has permissions and not the response body containing what's missing.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId @return RolesAPIServerMemberPermissionsReadRequest
func (*RolesAPIService) ServerMemberPermissionsReadExecute ¶
func (a *RolesAPIService) ServerMemberPermissionsReadExecute(r RolesAPIServerMemberPermissionsReadRequest) (*ServerMemberPermissionsRead200Response, *http.Response, error)
Execute executes the request
@return ServerMemberPermissionsRead200Response
type Server ¶
type Server struct { // The ID of the server Id string `json:"id"` // The ID of the user who created this server OwnerId string `json:"ownerId"` // The type of server designated from the server's settings page Type *string `json:"type,omitempty"` // The name given to the server Name string `json:"name"` // The URL that the server can be accessible from. For example, a value of \"Guilded-Official\" means the server can be accessible from https://www.guilded.gg/Guilded-Official Url *string `json:"url,omitempty"` // The description associated with the server About *string `json:"about,omitempty"` // The avatar image associated with the server Avatar *string `json:"avatar,omitempty"` // The banner image associated with the server Banner *string `json:"banner,omitempty"` // The timezone associated with the server Timezone *string `json:"timezone,omitempty"` // The verified status of the server IsVerified *bool `json:"isVerified,omitempty"` // The channel ID of the default channel of the server. This channel is defined as the first chat or voice channel in the left sidebar of a server in our UI. This channel is useful for sending welcome messages, though note that a bot may not have permissions to interact with this channel depending on how the server is configured. DefaultChannelId *string `json:"defaultChannelId,omitempty"` // The ISO 8601 timestamp that the server was created at CreatedAt time.Time `json:"createdAt"` }
Server struct for Server
func NewServer ¶
NewServer instantiates a new Server object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerWithDefaults ¶
func NewServerWithDefaults() *Server
NewServerWithDefaults instantiates a new Server object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Server) GetAboutOk ¶
GetAboutOk returns a tuple with the About field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetAvatarOk ¶
GetAvatarOk returns a tuple with the Avatar field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetBannerOk ¶
GetBannerOk returns a tuple with the Banner field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Server) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Server) GetDefaultChannelId ¶
GetDefaultChannelId returns the DefaultChannelId field value if set, zero value otherwise.
func (*Server) GetDefaultChannelIdOk ¶
GetDefaultChannelIdOk returns a tuple with the DefaultChannelId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Server) GetIsVerified ¶
GetIsVerified returns the IsVerified field value if set, zero value otherwise.
func (*Server) GetIsVerifiedOk ¶
GetIsVerifiedOk returns a tuple with the IsVerified field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Server) GetOwnerId ¶
GetOwnerId returns the OwnerId field value
func (*Server) GetOwnerIdOk ¶
GetOwnerIdOk returns a tuple with the OwnerId field value and a boolean to check if the value has been set.
func (*Server) GetTimezone ¶
GetTimezone returns the Timezone field value if set, zero value otherwise.
func (*Server) GetTimezoneOk ¶
GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) HasDefaultChannelId ¶
HasDefaultChannelId returns a boolean if a field has been set.
func (*Server) HasIsVerified ¶
HasIsVerified returns a boolean if a field has been set.
func (*Server) HasTimezone ¶
HasTimezone returns a boolean if a field has been set.
func (Server) MarshalJSON ¶
func (*Server) SetAbout ¶
SetAbout gets a reference to the given string and assigns it to the About field.
func (*Server) SetAvatar ¶
SetAvatar gets a reference to the given string and assigns it to the Avatar field.
func (*Server) SetBanner ¶
SetBanner gets a reference to the given string and assigns it to the Banner field.
func (*Server) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Server) SetDefaultChannelId ¶
SetDefaultChannelId gets a reference to the given string and assigns it to the DefaultChannelId field.
func (*Server) SetIsVerified ¶
SetIsVerified gets a reference to the given bool and assigns it to the IsVerified field.
func (*Server) SetTimezone ¶
SetTimezone gets a reference to the given string and assigns it to the Timezone field.
func (*Server) SetType ¶
SetType gets a reference to the given string and assigns it to the Type field.
func (*Server) SetUrl ¶
SetUrl gets a reference to the given string and assigns it to the Url field.
func (*Server) UnmarshalJSON ¶
type ServerChannel ¶
type ServerChannel struct { // The ID of the channel Id string `json:"id"` // The type of channel. This will determine what routes to use for creating content in a channel. For example, if this \"chat\", then one must use the routes for creating channel messages Type string `json:"type"` // The name of the channel Name string `json:"name"` // The topic of the channel. Not applicable to threads Topic *string `json:"topic,omitempty"` // The ISO 8601 timestamp that the channel was created at CreatedAt time.Time `json:"createdAt"` // The ID of the user who created this channel CreatedBy string `json:"createdBy"` // The ISO 8601 timestamp that the channel was updated at, if relevant UpdatedAt *time.Time `json:"updatedAt,omitempty"` // The ID of the server ServerId string `json:"serverId"` // ID of the **root** channel or thread in the channel hierarchy. Only applicable to \"chat\", \"voice\", and \"stream\" channels and indicates that this channel is a thread, if present RootId *string `json:"rootId,omitempty"` // ID of the **immediate** parent channel or thread in the channel hierarchy. Only applicable to \"chat\", \"voice\", and \"stream\" channels and indicates that this channel is a thread, if present ParentId *string `json:"parentId,omitempty"` // The ID of the message that this channel was created off of. Only applicable to \"chat\", \"voice\", and \"stream\" channels and indicates that this channel is a thread, if present MessageId *string `json:"messageId,omitempty"` // The category that the channel exists in. Only relevant for server channels CategoryId *int32 `json:"categoryId,omitempty"` // The ID of the group GroupId string `json:"groupId"` // What users can access the channel. Only applicable to server channels. If not present, this channel will respect normal permissions. `public` is accessible to everyone, even those who aren't of the server. `private` is only accessible to explicitly mentioned users. Currently, threads cannot be `public` and other channels cannot be `private`. Additionally, `private` threads can only exist with an associated `messageId` that is for a private message Visibility NullableString `json:"visibility,omitempty"` // The ID of the user who archived this channel ArchivedBy *string `json:"archivedBy,omitempty"` // The ISO 8601 timestamp that the channel was archived at, if relevant ArchivedAt *time.Time `json:"archivedAt,omitempty"` // The priority of the channel will determine its position relative to other categories in the group. The higher the value, the higher up it will be displayed in the UI. Returned values can be null, in which case sorting will be done by `createdAt` in ascending order. Due to legacy issues, sending a null value is not possible Priority *int32 `json:"priority,omitempty"` }
ServerChannel struct for ServerChannel
func NewServerChannel ¶
func NewServerChannel(id string, type_ string, name string, createdAt time.Time, createdBy string, serverId string, groupId string) *ServerChannel
NewServerChannel instantiates a new ServerChannel object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerChannelWithDefaults ¶
func NewServerChannelWithDefaults() *ServerChannel
NewServerChannelWithDefaults instantiates a new ServerChannel object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerChannel) GetArchivedAt ¶
func (o *ServerChannel) GetArchivedAt() time.Time
GetArchivedAt returns the ArchivedAt field value if set, zero value otherwise.
func (*ServerChannel) GetArchivedAtOk ¶
func (o *ServerChannel) GetArchivedAtOk() (*time.Time, bool)
GetArchivedAtOk returns a tuple with the ArchivedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerChannel) GetArchivedBy ¶
func (o *ServerChannel) GetArchivedBy() string
GetArchivedBy returns the ArchivedBy field value if set, zero value otherwise.
func (*ServerChannel) GetArchivedByOk ¶
func (o *ServerChannel) GetArchivedByOk() (*string, bool)
GetArchivedByOk returns a tuple with the ArchivedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerChannel) GetCategoryId ¶
func (o *ServerChannel) GetCategoryId() int32
GetCategoryId returns the CategoryId field value if set, zero value otherwise.
func (*ServerChannel) GetCategoryIdOk ¶
func (o *ServerChannel) GetCategoryIdOk() (*int32, bool)
GetCategoryIdOk returns a tuple with the CategoryId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerChannel) GetCreatedAt ¶
func (o *ServerChannel) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*ServerChannel) GetCreatedAtOk ¶
func (o *ServerChannel) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ServerChannel) GetCreatedBy ¶
func (o *ServerChannel) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*ServerChannel) GetCreatedByOk ¶
func (o *ServerChannel) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*ServerChannel) GetGroupId ¶
func (o *ServerChannel) GetGroupId() string
GetGroupId returns the GroupId field value
func (*ServerChannel) GetGroupIdOk ¶
func (o *ServerChannel) GetGroupIdOk() (*string, bool)
GetGroupIdOk returns a tuple with the GroupId field value and a boolean to check if the value has been set.
func (*ServerChannel) GetId ¶
func (o *ServerChannel) GetId() string
GetId returns the Id field value
func (*ServerChannel) GetIdOk ¶
func (o *ServerChannel) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ServerChannel) GetMessageId ¶
func (o *ServerChannel) GetMessageId() string
GetMessageId returns the MessageId field value if set, zero value otherwise.
func (*ServerChannel) GetMessageIdOk ¶
func (o *ServerChannel) GetMessageIdOk() (*string, bool)
GetMessageIdOk returns a tuple with the MessageId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerChannel) GetName ¶
func (o *ServerChannel) GetName() string
GetName returns the Name field value
func (*ServerChannel) GetNameOk ¶
func (o *ServerChannel) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ServerChannel) GetParentId ¶
func (o *ServerChannel) GetParentId() string
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*ServerChannel) GetParentIdOk ¶
func (o *ServerChannel) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerChannel) GetPriority ¶
func (o *ServerChannel) GetPriority() int32
GetPriority returns the Priority field value if set, zero value otherwise.
func (*ServerChannel) GetPriorityOk ¶
func (o *ServerChannel) GetPriorityOk() (*int32, bool)
GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerChannel) GetRootId ¶
func (o *ServerChannel) GetRootId() string
GetRootId returns the RootId field value if set, zero value otherwise.
func (*ServerChannel) GetRootIdOk ¶
func (o *ServerChannel) GetRootIdOk() (*string, bool)
GetRootIdOk returns a tuple with the RootId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerChannel) GetServerId ¶
func (o *ServerChannel) GetServerId() string
GetServerId returns the ServerId field value
func (*ServerChannel) GetServerIdOk ¶
func (o *ServerChannel) GetServerIdOk() (*string, bool)
GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.
func (*ServerChannel) GetTopic ¶
func (o *ServerChannel) GetTopic() string
GetTopic returns the Topic field value if set, zero value otherwise.
func (*ServerChannel) GetTopicOk ¶
func (o *ServerChannel) GetTopicOk() (*string, bool)
GetTopicOk returns a tuple with the Topic field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerChannel) GetType ¶
func (o *ServerChannel) GetType() string
GetType returns the Type field value
func (*ServerChannel) GetTypeOk ¶
func (o *ServerChannel) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ServerChannel) GetUpdatedAt ¶
func (o *ServerChannel) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ServerChannel) GetUpdatedAtOk ¶
func (o *ServerChannel) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerChannel) GetVisibility ¶
func (o *ServerChannel) GetVisibility() string
GetVisibility returns the Visibility field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ServerChannel) GetVisibilityOk ¶
func (o *ServerChannel) GetVisibilityOk() (*string, bool)
GetVisibilityOk returns a tuple with the Visibility field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ServerChannel) HasArchivedAt ¶
func (o *ServerChannel) HasArchivedAt() bool
HasArchivedAt returns a boolean if a field has been set.
func (*ServerChannel) HasArchivedBy ¶
func (o *ServerChannel) HasArchivedBy() bool
HasArchivedBy returns a boolean if a field has been set.
func (*ServerChannel) HasCategoryId ¶
func (o *ServerChannel) HasCategoryId() bool
HasCategoryId returns a boolean if a field has been set.
func (*ServerChannel) HasMessageId ¶
func (o *ServerChannel) HasMessageId() bool
HasMessageId returns a boolean if a field has been set.
func (*ServerChannel) HasParentId ¶
func (o *ServerChannel) HasParentId() bool
HasParentId returns a boolean if a field has been set.
func (*ServerChannel) HasPriority ¶
func (o *ServerChannel) HasPriority() bool
HasPriority returns a boolean if a field has been set.
func (*ServerChannel) HasRootId ¶
func (o *ServerChannel) HasRootId() bool
HasRootId returns a boolean if a field has been set.
func (*ServerChannel) HasTopic ¶
func (o *ServerChannel) HasTopic() bool
HasTopic returns a boolean if a field has been set.
func (*ServerChannel) HasUpdatedAt ¶
func (o *ServerChannel) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*ServerChannel) HasVisibility ¶
func (o *ServerChannel) HasVisibility() bool
HasVisibility returns a boolean if a field has been set.
func (ServerChannel) MarshalJSON ¶
func (o ServerChannel) MarshalJSON() ([]byte, error)
func (*ServerChannel) SetArchivedAt ¶
func (o *ServerChannel) SetArchivedAt(v time.Time)
SetArchivedAt gets a reference to the given time.Time and assigns it to the ArchivedAt field.
func (*ServerChannel) SetArchivedBy ¶
func (o *ServerChannel) SetArchivedBy(v string)
SetArchivedBy gets a reference to the given string and assigns it to the ArchivedBy field.
func (*ServerChannel) SetCategoryId ¶
func (o *ServerChannel) SetCategoryId(v int32)
SetCategoryId gets a reference to the given int32 and assigns it to the CategoryId field.
func (*ServerChannel) SetCreatedAt ¶
func (o *ServerChannel) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*ServerChannel) SetCreatedBy ¶
func (o *ServerChannel) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*ServerChannel) SetGroupId ¶
func (o *ServerChannel) SetGroupId(v string)
SetGroupId sets field value
func (*ServerChannel) SetMessageId ¶
func (o *ServerChannel) SetMessageId(v string)
SetMessageId gets a reference to the given string and assigns it to the MessageId field.
func (*ServerChannel) SetParentId ¶
func (o *ServerChannel) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
func (*ServerChannel) SetPriority ¶
func (o *ServerChannel) SetPriority(v int32)
SetPriority gets a reference to the given int32 and assigns it to the Priority field.
func (*ServerChannel) SetRootId ¶
func (o *ServerChannel) SetRootId(v string)
SetRootId gets a reference to the given string and assigns it to the RootId field.
func (*ServerChannel) SetServerId ¶
func (o *ServerChannel) SetServerId(v string)
SetServerId sets field value
func (*ServerChannel) SetTopic ¶
func (o *ServerChannel) SetTopic(v string)
SetTopic gets a reference to the given string and assigns it to the Topic field.
func (*ServerChannel) SetUpdatedAt ¶
func (o *ServerChannel) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*ServerChannel) SetVisibility ¶
func (o *ServerChannel) SetVisibility(v string)
SetVisibility gets a reference to the given NullableString and assigns it to the Visibility field.
func (*ServerChannel) SetVisibilityNil ¶
func (o *ServerChannel) SetVisibilityNil()
SetVisibilityNil sets the value for Visibility to be an explicit nil
func (ServerChannel) ToMap ¶
func (o ServerChannel) ToMap() (map[string]interface{}, error)
func (*ServerChannel) UnmarshalJSON ¶
func (o *ServerChannel) UnmarshalJSON(data []byte) (err error)
func (*ServerChannel) UnsetVisibility ¶
func (o *ServerChannel) UnsetVisibility()
UnsetVisibility ensures that no value is present for Visibility, not even an explicit nil
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerMember ¶
type ServerMember struct { User User `json:"user"` RoleIds []int32 `json:"roleIds"` Nickname *string `json:"nickname,omitempty"` // The ISO 8601 timestamp that the member was created at JoinedAt time.Time `json:"joinedAt"` IsOwner *bool `json:"isOwner,omitempty"` }
ServerMember struct for ServerMember
func NewServerMember ¶
func NewServerMember(user User, roleIds []int32, joinedAt time.Time) *ServerMember
NewServerMember instantiates a new ServerMember object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerMemberWithDefaults ¶
func NewServerMemberWithDefaults() *ServerMember
NewServerMemberWithDefaults instantiates a new ServerMember object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerMember) GetIsOwner ¶
func (o *ServerMember) GetIsOwner() bool
GetIsOwner returns the IsOwner field value if set, zero value otherwise.
func (*ServerMember) GetIsOwnerOk ¶
func (o *ServerMember) GetIsOwnerOk() (*bool, bool)
GetIsOwnerOk returns a tuple with the IsOwner field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerMember) GetJoinedAt ¶
func (o *ServerMember) GetJoinedAt() time.Time
GetJoinedAt returns the JoinedAt field value
func (*ServerMember) GetJoinedAtOk ¶
func (o *ServerMember) GetJoinedAtOk() (*time.Time, bool)
GetJoinedAtOk returns a tuple with the JoinedAt field value and a boolean to check if the value has been set.
func (*ServerMember) GetNickname ¶
func (o *ServerMember) GetNickname() string
GetNickname returns the Nickname field value if set, zero value otherwise.
func (*ServerMember) GetNicknameOk ¶
func (o *ServerMember) GetNicknameOk() (*string, bool)
GetNicknameOk returns a tuple with the Nickname field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerMember) GetRoleIds ¶
func (o *ServerMember) GetRoleIds() []int32
GetRoleIds returns the RoleIds field value
func (*ServerMember) GetRoleIdsOk ¶
func (o *ServerMember) GetRoleIdsOk() ([]int32, bool)
GetRoleIdsOk returns a tuple with the RoleIds field value and a boolean to check if the value has been set.
func (*ServerMember) GetUser ¶
func (o *ServerMember) GetUser() User
GetUser returns the User field value
func (*ServerMember) GetUserOk ¶
func (o *ServerMember) GetUserOk() (*User, bool)
GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.
func (*ServerMember) HasIsOwner ¶
func (o *ServerMember) HasIsOwner() bool
HasIsOwner returns a boolean if a field has been set.
func (*ServerMember) HasNickname ¶
func (o *ServerMember) HasNickname() bool
HasNickname returns a boolean if a field has been set.
func (ServerMember) MarshalJSON ¶
func (o ServerMember) MarshalJSON() ([]byte, error)
func (*ServerMember) SetIsOwner ¶
func (o *ServerMember) SetIsOwner(v bool)
SetIsOwner gets a reference to the given bool and assigns it to the IsOwner field.
func (*ServerMember) SetJoinedAt ¶
func (o *ServerMember) SetJoinedAt(v time.Time)
SetJoinedAt sets field value
func (*ServerMember) SetNickname ¶
func (o *ServerMember) SetNickname(v string)
SetNickname gets a reference to the given string and assigns it to the Nickname field.
func (*ServerMember) SetRoleIds ¶
func (o *ServerMember) SetRoleIds(v []int32)
SetRoleIds sets field value
func (ServerMember) ToMap ¶
func (o ServerMember) ToMap() (map[string]interface{}, error)
func (*ServerMember) UnmarshalJSON ¶
func (o *ServerMember) UnmarshalJSON(data []byte) (err error)
type ServerMemberBan ¶
type ServerMemberBan struct { User UserSummary `json:"user"` // The reason for the ban as submitted by the banner Reason *string `json:"reason,omitempty"` // The ID of the user who created this server member ban CreatedBy string `json:"createdBy"` // The ISO 8601 timestamp that the server member ban was created at CreatedAt time.Time `json:"createdAt"` }
ServerMemberBan struct for ServerMemberBan
func NewServerMemberBan ¶
func NewServerMemberBan(user UserSummary, createdBy string, createdAt time.Time) *ServerMemberBan
NewServerMemberBan instantiates a new ServerMemberBan object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerMemberBanWithDefaults ¶
func NewServerMemberBanWithDefaults() *ServerMemberBan
NewServerMemberBanWithDefaults instantiates a new ServerMemberBan object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerMemberBan) GetCreatedAt ¶
func (o *ServerMemberBan) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*ServerMemberBan) GetCreatedAtOk ¶
func (o *ServerMemberBan) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ServerMemberBan) GetCreatedBy ¶
func (o *ServerMemberBan) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*ServerMemberBan) GetCreatedByOk ¶
func (o *ServerMemberBan) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*ServerMemberBan) GetReason ¶
func (o *ServerMemberBan) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*ServerMemberBan) GetReasonOk ¶
func (o *ServerMemberBan) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerMemberBan) GetUser ¶
func (o *ServerMemberBan) GetUser() UserSummary
GetUser returns the User field value
func (*ServerMemberBan) GetUserOk ¶
func (o *ServerMemberBan) GetUserOk() (*UserSummary, bool)
GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.
func (*ServerMemberBan) HasReason ¶
func (o *ServerMemberBan) HasReason() bool
HasReason returns a boolean if a field has been set.
func (ServerMemberBan) MarshalJSON ¶
func (o ServerMemberBan) MarshalJSON() ([]byte, error)
func (*ServerMemberBan) SetCreatedAt ¶
func (o *ServerMemberBan) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*ServerMemberBan) SetCreatedBy ¶
func (o *ServerMemberBan) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*ServerMemberBan) SetReason ¶
func (o *ServerMemberBan) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (*ServerMemberBan) SetUser ¶
func (o *ServerMemberBan) SetUser(v UserSummary)
SetUser sets field value
func (ServerMemberBan) ToMap ¶
func (o ServerMemberBan) ToMap() (map[string]interface{}, error)
func (*ServerMemberBan) UnmarshalJSON ¶
func (o *ServerMemberBan) UnmarshalJSON(data []byte) (err error)
type ServerMemberBanCreateRequest ¶
type ServerMemberBanCreateRequest struct { // The reason for the ban Reason *string `json:"reason,omitempty"` }
ServerMemberBanCreateRequest struct for ServerMemberBanCreateRequest
func NewServerMemberBanCreateRequest ¶
func NewServerMemberBanCreateRequest() *ServerMemberBanCreateRequest
NewServerMemberBanCreateRequest instantiates a new ServerMemberBanCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerMemberBanCreateRequestWithDefaults ¶
func NewServerMemberBanCreateRequestWithDefaults() *ServerMemberBanCreateRequest
NewServerMemberBanCreateRequestWithDefaults instantiates a new ServerMemberBanCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerMemberBanCreateRequest) GetReason ¶
func (o *ServerMemberBanCreateRequest) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*ServerMemberBanCreateRequest) GetReasonOk ¶
func (o *ServerMemberBanCreateRequest) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerMemberBanCreateRequest) HasReason ¶
func (o *ServerMemberBanCreateRequest) HasReason() bool
HasReason returns a boolean if a field has been set.
func (ServerMemberBanCreateRequest) MarshalJSON ¶
func (o ServerMemberBanCreateRequest) MarshalJSON() ([]byte, error)
func (*ServerMemberBanCreateRequest) SetReason ¶
func (o *ServerMemberBanCreateRequest) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (ServerMemberBanCreateRequest) ToMap ¶
func (o ServerMemberBanCreateRequest) ToMap() (map[string]interface{}, error)
type ServerMemberBanRead200Response ¶
type ServerMemberBanRead200Response struct {
ServerMemberBan ServerMemberBan `json:"serverMemberBan"`
}
ServerMemberBanRead200Response struct for ServerMemberBanRead200Response
func NewServerMemberBanRead200Response ¶
func NewServerMemberBanRead200Response(serverMemberBan ServerMemberBan) *ServerMemberBanRead200Response
NewServerMemberBanRead200Response instantiates a new ServerMemberBanRead200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerMemberBanRead200ResponseWithDefaults ¶
func NewServerMemberBanRead200ResponseWithDefaults() *ServerMemberBanRead200Response
NewServerMemberBanRead200ResponseWithDefaults instantiates a new ServerMemberBanRead200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerMemberBanRead200Response) GetServerMemberBan ¶
func (o *ServerMemberBanRead200Response) GetServerMemberBan() ServerMemberBan
GetServerMemberBan returns the ServerMemberBan field value
func (*ServerMemberBanRead200Response) GetServerMemberBanOk ¶
func (o *ServerMemberBanRead200Response) GetServerMemberBanOk() (*ServerMemberBan, bool)
GetServerMemberBanOk returns a tuple with the ServerMemberBan field value and a boolean to check if the value has been set.
func (ServerMemberBanRead200Response) MarshalJSON ¶
func (o ServerMemberBanRead200Response) MarshalJSON() ([]byte, error)
func (*ServerMemberBanRead200Response) SetServerMemberBan ¶
func (o *ServerMemberBanRead200Response) SetServerMemberBan(v ServerMemberBan)
SetServerMemberBan sets field value
func (ServerMemberBanRead200Response) ToMap ¶
func (o ServerMemberBanRead200Response) ToMap() (map[string]interface{}, error)
func (*ServerMemberBanRead200Response) UnmarshalJSON ¶
func (o *ServerMemberBanRead200Response) UnmarshalJSON(data []byte) (err error)
type ServerMemberBanReadMany200Response ¶
type ServerMemberBanReadMany200Response struct {
ServerMemberBans []ServerMemberBan `json:"serverMemberBans"`
}
ServerMemberBanReadMany200Response struct for ServerMemberBanReadMany200Response
func NewServerMemberBanReadMany200Response ¶
func NewServerMemberBanReadMany200Response(serverMemberBans []ServerMemberBan) *ServerMemberBanReadMany200Response
NewServerMemberBanReadMany200Response instantiates a new ServerMemberBanReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerMemberBanReadMany200ResponseWithDefaults ¶
func NewServerMemberBanReadMany200ResponseWithDefaults() *ServerMemberBanReadMany200Response
NewServerMemberBanReadMany200ResponseWithDefaults instantiates a new ServerMemberBanReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerMemberBanReadMany200Response) GetServerMemberBans ¶
func (o *ServerMemberBanReadMany200Response) GetServerMemberBans() []ServerMemberBan
GetServerMemberBans returns the ServerMemberBans field value
func (*ServerMemberBanReadMany200Response) GetServerMemberBansOk ¶
func (o *ServerMemberBanReadMany200Response) GetServerMemberBansOk() ([]ServerMemberBan, bool)
GetServerMemberBansOk returns a tuple with the ServerMemberBans field value and a boolean to check if the value has been set.
func (ServerMemberBanReadMany200Response) MarshalJSON ¶
func (o ServerMemberBanReadMany200Response) MarshalJSON() ([]byte, error)
func (*ServerMemberBanReadMany200Response) SetServerMemberBans ¶
func (o *ServerMemberBanReadMany200Response) SetServerMemberBans(v []ServerMemberBan)
SetServerMemberBans sets field value
func (ServerMemberBanReadMany200Response) ToMap ¶
func (o ServerMemberBanReadMany200Response) ToMap() (map[string]interface{}, error)
func (*ServerMemberBanReadMany200Response) UnmarshalJSON ¶
func (o *ServerMemberBanReadMany200Response) UnmarshalJSON(data []byte) (err error)
type ServerMemberPermissions ¶
type ServerMemberPermissions struct { // Permissions must be a collection of valid permissions as defined in the [Enums/Permissions](https://www.guilded.gg/docs/api/Permissions) section Permissions []string `json:"permissions"` }
ServerMemberPermissions struct for ServerMemberPermissions
func NewServerMemberPermissions ¶
func NewServerMemberPermissions(permissions []string) *ServerMemberPermissions
NewServerMemberPermissions instantiates a new ServerMemberPermissions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerMemberPermissionsWithDefaults ¶
func NewServerMemberPermissionsWithDefaults() *ServerMemberPermissions
NewServerMemberPermissionsWithDefaults instantiates a new ServerMemberPermissions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerMemberPermissions) GetPermissions ¶
func (o *ServerMemberPermissions) GetPermissions() []string
GetPermissions returns the Permissions field value
func (*ServerMemberPermissions) GetPermissionsOk ¶
func (o *ServerMemberPermissions) GetPermissionsOk() ([]string, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (ServerMemberPermissions) MarshalJSON ¶
func (o ServerMemberPermissions) MarshalJSON() ([]byte, error)
func (*ServerMemberPermissions) SetPermissions ¶
func (o *ServerMemberPermissions) SetPermissions(v []string)
SetPermissions sets field value
func (ServerMemberPermissions) ToMap ¶
func (o ServerMemberPermissions) ToMap() (map[string]interface{}, error)
func (*ServerMemberPermissions) UnmarshalJSON ¶
func (o *ServerMemberPermissions) UnmarshalJSON(data []byte) (err error)
type ServerMemberPermissionsRead200Response ¶
type ServerMemberPermissionsRead200Response struct { // A list of [Enums/Permissions](https://www.guilded.gg/docs/api/Permissions) the User has in the success case Permissions []string `json:"permissions"` }
ServerMemberPermissionsRead200Response struct for ServerMemberPermissionsRead200Response
func NewServerMemberPermissionsRead200Response ¶
func NewServerMemberPermissionsRead200Response(permissions []string) *ServerMemberPermissionsRead200Response
NewServerMemberPermissionsRead200Response instantiates a new ServerMemberPermissionsRead200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerMemberPermissionsRead200ResponseWithDefaults ¶
func NewServerMemberPermissionsRead200ResponseWithDefaults() *ServerMemberPermissionsRead200Response
NewServerMemberPermissionsRead200ResponseWithDefaults instantiates a new ServerMemberPermissionsRead200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerMemberPermissionsRead200Response) GetPermissions ¶
func (o *ServerMemberPermissionsRead200Response) GetPermissions() []string
GetPermissions returns the Permissions field value
func (*ServerMemberPermissionsRead200Response) GetPermissionsOk ¶
func (o *ServerMemberPermissionsRead200Response) GetPermissionsOk() ([]string, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (ServerMemberPermissionsRead200Response) MarshalJSON ¶
func (o ServerMemberPermissionsRead200Response) MarshalJSON() ([]byte, error)
func (*ServerMemberPermissionsRead200Response) SetPermissions ¶
func (o *ServerMemberPermissionsRead200Response) SetPermissions(v []string)
SetPermissions sets field value
func (ServerMemberPermissionsRead200Response) ToMap ¶
func (o ServerMemberPermissionsRead200Response) ToMap() (map[string]interface{}, error)
func (*ServerMemberPermissionsRead200Response) UnmarshalJSON ¶
func (o *ServerMemberPermissionsRead200Response) UnmarshalJSON(data []byte) (err error)
type ServerMemberRead200Response ¶
type ServerMemberRead200Response struct {
Member ServerMember `json:"member"`
}
ServerMemberRead200Response struct for ServerMemberRead200Response
func NewServerMemberRead200Response ¶
func NewServerMemberRead200Response(member ServerMember) *ServerMemberRead200Response
NewServerMemberRead200Response instantiates a new ServerMemberRead200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerMemberRead200ResponseWithDefaults ¶
func NewServerMemberRead200ResponseWithDefaults() *ServerMemberRead200Response
NewServerMemberRead200ResponseWithDefaults instantiates a new ServerMemberRead200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerMemberRead200Response) GetMember ¶
func (o *ServerMemberRead200Response) GetMember() ServerMember
GetMember returns the Member field value
func (*ServerMemberRead200Response) GetMemberOk ¶
func (o *ServerMemberRead200Response) GetMemberOk() (*ServerMember, bool)
GetMemberOk returns a tuple with the Member field value and a boolean to check if the value has been set.
func (ServerMemberRead200Response) MarshalJSON ¶
func (o ServerMemberRead200Response) MarshalJSON() ([]byte, error)
func (*ServerMemberRead200Response) SetMember ¶
func (o *ServerMemberRead200Response) SetMember(v ServerMember)
SetMember sets field value
func (ServerMemberRead200Response) ToMap ¶
func (o ServerMemberRead200Response) ToMap() (map[string]interface{}, error)
func (*ServerMemberRead200Response) UnmarshalJSON ¶
func (o *ServerMemberRead200Response) UnmarshalJSON(data []byte) (err error)
type ServerMemberReadMany200Response ¶
type ServerMemberReadMany200Response struct {
Members []ServerMemberSummary `json:"members"`
}
ServerMemberReadMany200Response struct for ServerMemberReadMany200Response
func NewServerMemberReadMany200Response ¶
func NewServerMemberReadMany200Response(members []ServerMemberSummary) *ServerMemberReadMany200Response
NewServerMemberReadMany200Response instantiates a new ServerMemberReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerMemberReadMany200ResponseWithDefaults ¶
func NewServerMemberReadMany200ResponseWithDefaults() *ServerMemberReadMany200Response
NewServerMemberReadMany200ResponseWithDefaults instantiates a new ServerMemberReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerMemberReadMany200Response) GetMembers ¶
func (o *ServerMemberReadMany200Response) GetMembers() []ServerMemberSummary
GetMembers returns the Members field value
func (*ServerMemberReadMany200Response) GetMembersOk ¶
func (o *ServerMemberReadMany200Response) GetMembersOk() ([]ServerMemberSummary, bool)
GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.
func (ServerMemberReadMany200Response) MarshalJSON ¶
func (o ServerMemberReadMany200Response) MarshalJSON() ([]byte, error)
func (*ServerMemberReadMany200Response) SetMembers ¶
func (o *ServerMemberReadMany200Response) SetMembers(v []ServerMemberSummary)
SetMembers sets field value
func (ServerMemberReadMany200Response) ToMap ¶
func (o ServerMemberReadMany200Response) ToMap() (map[string]interface{}, error)
func (*ServerMemberReadMany200Response) UnmarshalJSON ¶
func (o *ServerMemberReadMany200Response) UnmarshalJSON(data []byte) (err error)
type ServerMemberSummary ¶
type ServerMemberSummary struct { User UserSummary `json:"user"` RoleIds []int32 `json:"roleIds"` }
ServerMemberSummary struct for ServerMemberSummary
func NewServerMemberSummary ¶
func NewServerMemberSummary(user UserSummary, roleIds []int32) *ServerMemberSummary
NewServerMemberSummary instantiates a new ServerMemberSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerMemberSummaryWithDefaults ¶
func NewServerMemberSummaryWithDefaults() *ServerMemberSummary
NewServerMemberSummaryWithDefaults instantiates a new ServerMemberSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerMemberSummary) GetRoleIds ¶
func (o *ServerMemberSummary) GetRoleIds() []int32
GetRoleIds returns the RoleIds field value
func (*ServerMemberSummary) GetRoleIdsOk ¶
func (o *ServerMemberSummary) GetRoleIdsOk() ([]int32, bool)
GetRoleIdsOk returns a tuple with the RoleIds field value and a boolean to check if the value has been set.
func (*ServerMemberSummary) GetUser ¶
func (o *ServerMemberSummary) GetUser() UserSummary
GetUser returns the User field value
func (*ServerMemberSummary) GetUserOk ¶
func (o *ServerMemberSummary) GetUserOk() (*UserSummary, bool)
GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.
func (ServerMemberSummary) MarshalJSON ¶
func (o ServerMemberSummary) MarshalJSON() ([]byte, error)
func (*ServerMemberSummary) SetRoleIds ¶
func (o *ServerMemberSummary) SetRoleIds(v []int32)
SetRoleIds sets field value
func (*ServerMemberSummary) SetUser ¶
func (o *ServerMemberSummary) SetUser(v UserSummary)
SetUser sets field value
func (ServerMemberSummary) ToMap ¶
func (o ServerMemberSummary) ToMap() (map[string]interface{}, error)
func (*ServerMemberSummary) UnmarshalJSON ¶
func (o *ServerMemberSummary) UnmarshalJSON(data []byte) (err error)
type ServerRead200Response ¶
type ServerRead200Response struct { Server Server `json:"server"` // Count of members in this server after this join. **Note:** at higher member counts (1000+), this value is only updated periodically and should not be used in situations that require absolute accuracy ServerMemberCount int32 `json:"serverMemberCount"` }
ServerRead200Response struct for ServerRead200Response
func NewServerRead200Response ¶
func NewServerRead200Response(server Server, serverMemberCount int32) *ServerRead200Response
NewServerRead200Response instantiates a new ServerRead200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerRead200ResponseWithDefaults ¶
func NewServerRead200ResponseWithDefaults() *ServerRead200Response
NewServerRead200ResponseWithDefaults instantiates a new ServerRead200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerRead200Response) GetServer ¶
func (o *ServerRead200Response) GetServer() Server
GetServer returns the Server field value
func (*ServerRead200Response) GetServerMemberCount ¶
func (o *ServerRead200Response) GetServerMemberCount() int32
GetServerMemberCount returns the ServerMemberCount field value
func (*ServerRead200Response) GetServerMemberCountOk ¶
func (o *ServerRead200Response) GetServerMemberCountOk() (*int32, bool)
GetServerMemberCountOk returns a tuple with the ServerMemberCount field value and a boolean to check if the value has been set.
func (*ServerRead200Response) GetServerOk ¶
func (o *ServerRead200Response) GetServerOk() (*Server, bool)
GetServerOk returns a tuple with the Server field value and a boolean to check if the value has been set.
func (ServerRead200Response) MarshalJSON ¶
func (o ServerRead200Response) MarshalJSON() ([]byte, error)
func (*ServerRead200Response) SetServer ¶
func (o *ServerRead200Response) SetServer(v Server)
SetServer sets field value
func (*ServerRead200Response) SetServerMemberCount ¶
func (o *ServerRead200Response) SetServerMemberCount(v int32)
SetServerMemberCount sets field value
func (ServerRead200Response) ToMap ¶
func (o ServerRead200Response) ToMap() (map[string]interface{}, error)
func (*ServerRead200Response) UnmarshalJSON ¶
func (o *ServerRead200Response) UnmarshalJSON(data []byte) (err error)
type ServerSubscriptionAPI ¶
type ServerSubscriptionAPI interface { /* ServerSubscriptionTierRead Get a server subscription tier @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param serverSubscriptionTierType @return ServerSubscriptionAPIServerSubscriptionTierReadRequest */ ServerSubscriptionTierRead(ctx context.Context, serverId string, serverSubscriptionTierType string) ServerSubscriptionAPIServerSubscriptionTierReadRequest // ServerSubscriptionTierReadExecute executes the request // @return ServerSubscriptionTierRead200Response ServerSubscriptionTierReadExecute(r ServerSubscriptionAPIServerSubscriptionTierReadRequest) (*ServerSubscriptionTierRead200Response, *http.Response, error) /* ServerSubscriptionTierReadMany Get server subscription tiers @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return ServerSubscriptionAPIServerSubscriptionTierReadManyRequest */ ServerSubscriptionTierReadMany(ctx context.Context, serverId string) ServerSubscriptionAPIServerSubscriptionTierReadManyRequest // ServerSubscriptionTierReadManyExecute executes the request // @return ServerSubscriptionTierReadMany200Response ServerSubscriptionTierReadManyExecute(r ServerSubscriptionAPIServerSubscriptionTierReadManyRequest) (*ServerSubscriptionTierReadMany200Response, *http.Response, error) }
type ServerSubscriptionAPIServerSubscriptionTierReadManyRequest ¶
type ServerSubscriptionAPIServerSubscriptionTierReadManyRequest struct { ApiService ServerSubscriptionAPI // contains filtered or unexported fields }
func (ServerSubscriptionAPIServerSubscriptionTierReadManyRequest) Execute ¶
func (r ServerSubscriptionAPIServerSubscriptionTierReadManyRequest) Execute() (*ServerSubscriptionTierReadMany200Response, *http.Response, error)
type ServerSubscriptionAPIServerSubscriptionTierReadRequest ¶
type ServerSubscriptionAPIServerSubscriptionTierReadRequest struct { ApiService ServerSubscriptionAPI // contains filtered or unexported fields }
func (ServerSubscriptionAPIServerSubscriptionTierReadRequest) Execute ¶
func (r ServerSubscriptionAPIServerSubscriptionTierReadRequest) Execute() (*ServerSubscriptionTierRead200Response, *http.Response, error)
type ServerSubscriptionAPIService ¶
type ServerSubscriptionAPIService service
ServerSubscriptionAPIService ServerSubscriptionAPI service
func (*ServerSubscriptionAPIService) ServerSubscriptionTierRead ¶
func (a *ServerSubscriptionAPIService) ServerSubscriptionTierRead(ctx context.Context, serverId string, serverSubscriptionTierType string) ServerSubscriptionAPIServerSubscriptionTierReadRequest
ServerSubscriptionTierRead Get a server subscription tier
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param serverSubscriptionTierType @return ServerSubscriptionAPIServerSubscriptionTierReadRequest
func (*ServerSubscriptionAPIService) ServerSubscriptionTierReadExecute ¶
func (a *ServerSubscriptionAPIService) ServerSubscriptionTierReadExecute(r ServerSubscriptionAPIServerSubscriptionTierReadRequest) (*ServerSubscriptionTierRead200Response, *http.Response, error)
Execute executes the request
@return ServerSubscriptionTierRead200Response
func (*ServerSubscriptionAPIService) ServerSubscriptionTierReadMany ¶
func (a *ServerSubscriptionAPIService) ServerSubscriptionTierReadMany(ctx context.Context, serverId string) ServerSubscriptionAPIServerSubscriptionTierReadManyRequest
ServerSubscriptionTierReadMany Get server subscription tiers
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return ServerSubscriptionAPIServerSubscriptionTierReadManyRequest
func (*ServerSubscriptionAPIService) ServerSubscriptionTierReadManyExecute ¶
func (a *ServerSubscriptionAPIService) ServerSubscriptionTierReadManyExecute(r ServerSubscriptionAPIServerSubscriptionTierReadManyRequest) (*ServerSubscriptionTierReadMany200Response, *http.Response, error)
Execute executes the request
@return ServerSubscriptionTierReadMany200Response
type ServerSubscriptionTier ¶
type ServerSubscriptionTier struct { // The type of the server subscription tier. This field is case sensitive!! Type string `json:"type"` // The ID of the server ServerId string `json:"serverId"` // The description associated with the server subscription tier Description *string `json:"description,omitempty"` // The ID of the role RoleId *int32 `json:"roleId,omitempty"` // The cost of the tier in cents USD per month Cost int32 `json:"cost"` // The ISO 8601 timestamp that the server subscription tier was created at CreatedAt time.Time `json:"createdAt"` }
ServerSubscriptionTier struct for ServerSubscriptionTier
func NewServerSubscriptionTier ¶
func NewServerSubscriptionTier(type_ string, serverId string, cost int32, createdAt time.Time) *ServerSubscriptionTier
NewServerSubscriptionTier instantiates a new ServerSubscriptionTier object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerSubscriptionTierWithDefaults ¶
func NewServerSubscriptionTierWithDefaults() *ServerSubscriptionTier
NewServerSubscriptionTierWithDefaults instantiates a new ServerSubscriptionTier object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerSubscriptionTier) GetCost ¶
func (o *ServerSubscriptionTier) GetCost() int32
GetCost returns the Cost field value
func (*ServerSubscriptionTier) GetCostOk ¶
func (o *ServerSubscriptionTier) GetCostOk() (*int32, bool)
GetCostOk returns a tuple with the Cost field value and a boolean to check if the value has been set.
func (*ServerSubscriptionTier) GetCreatedAt ¶
func (o *ServerSubscriptionTier) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*ServerSubscriptionTier) GetCreatedAtOk ¶
func (o *ServerSubscriptionTier) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ServerSubscriptionTier) GetDescription ¶
func (o *ServerSubscriptionTier) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ServerSubscriptionTier) GetDescriptionOk ¶
func (o *ServerSubscriptionTier) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerSubscriptionTier) GetRoleId ¶
func (o *ServerSubscriptionTier) GetRoleId() int32
GetRoleId returns the RoleId field value if set, zero value otherwise.
func (*ServerSubscriptionTier) GetRoleIdOk ¶
func (o *ServerSubscriptionTier) GetRoleIdOk() (*int32, bool)
GetRoleIdOk returns a tuple with the RoleId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerSubscriptionTier) GetServerId ¶
func (o *ServerSubscriptionTier) GetServerId() string
GetServerId returns the ServerId field value
func (*ServerSubscriptionTier) GetServerIdOk ¶
func (o *ServerSubscriptionTier) GetServerIdOk() (*string, bool)
GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.
func (*ServerSubscriptionTier) GetType ¶
func (o *ServerSubscriptionTier) GetType() string
GetType returns the Type field value
func (*ServerSubscriptionTier) GetTypeOk ¶
func (o *ServerSubscriptionTier) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ServerSubscriptionTier) HasDescription ¶
func (o *ServerSubscriptionTier) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ServerSubscriptionTier) HasRoleId ¶
func (o *ServerSubscriptionTier) HasRoleId() bool
HasRoleId returns a boolean if a field has been set.
func (ServerSubscriptionTier) MarshalJSON ¶
func (o ServerSubscriptionTier) MarshalJSON() ([]byte, error)
func (*ServerSubscriptionTier) SetCost ¶
func (o *ServerSubscriptionTier) SetCost(v int32)
SetCost sets field value
func (*ServerSubscriptionTier) SetCreatedAt ¶
func (o *ServerSubscriptionTier) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*ServerSubscriptionTier) SetDescription ¶
func (o *ServerSubscriptionTier) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ServerSubscriptionTier) SetRoleId ¶
func (o *ServerSubscriptionTier) SetRoleId(v int32)
SetRoleId gets a reference to the given int32 and assigns it to the RoleId field.
func (*ServerSubscriptionTier) SetServerId ¶
func (o *ServerSubscriptionTier) SetServerId(v string)
SetServerId sets field value
func (*ServerSubscriptionTier) SetType ¶
func (o *ServerSubscriptionTier) SetType(v string)
SetType sets field value
func (ServerSubscriptionTier) ToMap ¶
func (o ServerSubscriptionTier) ToMap() (map[string]interface{}, error)
func (*ServerSubscriptionTier) UnmarshalJSON ¶
func (o *ServerSubscriptionTier) UnmarshalJSON(data []byte) (err error)
type ServerSubscriptionTierRead200Response ¶
type ServerSubscriptionTierRead200Response struct {
ServerSubscriptionTier ServerSubscriptionTier `json:"serverSubscriptionTier"`
}
ServerSubscriptionTierRead200Response struct for ServerSubscriptionTierRead200Response
func NewServerSubscriptionTierRead200Response ¶
func NewServerSubscriptionTierRead200Response(serverSubscriptionTier ServerSubscriptionTier) *ServerSubscriptionTierRead200Response
NewServerSubscriptionTierRead200Response instantiates a new ServerSubscriptionTierRead200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerSubscriptionTierRead200ResponseWithDefaults ¶
func NewServerSubscriptionTierRead200ResponseWithDefaults() *ServerSubscriptionTierRead200Response
NewServerSubscriptionTierRead200ResponseWithDefaults instantiates a new ServerSubscriptionTierRead200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerSubscriptionTierRead200Response) GetServerSubscriptionTier ¶
func (o *ServerSubscriptionTierRead200Response) GetServerSubscriptionTier() ServerSubscriptionTier
GetServerSubscriptionTier returns the ServerSubscriptionTier field value
func (*ServerSubscriptionTierRead200Response) GetServerSubscriptionTierOk ¶
func (o *ServerSubscriptionTierRead200Response) GetServerSubscriptionTierOk() (*ServerSubscriptionTier, bool)
GetServerSubscriptionTierOk returns a tuple with the ServerSubscriptionTier field value and a boolean to check if the value has been set.
func (ServerSubscriptionTierRead200Response) MarshalJSON ¶
func (o ServerSubscriptionTierRead200Response) MarshalJSON() ([]byte, error)
func (*ServerSubscriptionTierRead200Response) SetServerSubscriptionTier ¶
func (o *ServerSubscriptionTierRead200Response) SetServerSubscriptionTier(v ServerSubscriptionTier)
SetServerSubscriptionTier sets field value
func (ServerSubscriptionTierRead200Response) ToMap ¶
func (o ServerSubscriptionTierRead200Response) ToMap() (map[string]interface{}, error)
func (*ServerSubscriptionTierRead200Response) UnmarshalJSON ¶
func (o *ServerSubscriptionTierRead200Response) UnmarshalJSON(data []byte) (err error)
type ServerSubscriptionTierReadMany200Response ¶
type ServerSubscriptionTierReadMany200Response struct {
ServerSubscriptionTiers []ServerSubscriptionTier `json:"serverSubscriptionTiers"`
}
ServerSubscriptionTierReadMany200Response struct for ServerSubscriptionTierReadMany200Response
func NewServerSubscriptionTierReadMany200Response ¶
func NewServerSubscriptionTierReadMany200Response(serverSubscriptionTiers []ServerSubscriptionTier) *ServerSubscriptionTierReadMany200Response
NewServerSubscriptionTierReadMany200Response instantiates a new ServerSubscriptionTierReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerSubscriptionTierReadMany200ResponseWithDefaults ¶
func NewServerSubscriptionTierReadMany200ResponseWithDefaults() *ServerSubscriptionTierReadMany200Response
NewServerSubscriptionTierReadMany200ResponseWithDefaults instantiates a new ServerSubscriptionTierReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerSubscriptionTierReadMany200Response) GetServerSubscriptionTiers ¶
func (o *ServerSubscriptionTierReadMany200Response) GetServerSubscriptionTiers() []ServerSubscriptionTier
GetServerSubscriptionTiers returns the ServerSubscriptionTiers field value
func (*ServerSubscriptionTierReadMany200Response) GetServerSubscriptionTiersOk ¶
func (o *ServerSubscriptionTierReadMany200Response) GetServerSubscriptionTiersOk() ([]ServerSubscriptionTier, bool)
GetServerSubscriptionTiersOk returns a tuple with the ServerSubscriptionTiers field value and a boolean to check if the value has been set.
func (ServerSubscriptionTierReadMany200Response) MarshalJSON ¶
func (o ServerSubscriptionTierReadMany200Response) MarshalJSON() ([]byte, error)
func (*ServerSubscriptionTierReadMany200Response) SetServerSubscriptionTiers ¶
func (o *ServerSubscriptionTierReadMany200Response) SetServerSubscriptionTiers(v []ServerSubscriptionTier)
SetServerSubscriptionTiers sets field value
func (ServerSubscriptionTierReadMany200Response) ToMap ¶
func (o ServerSubscriptionTierReadMany200Response) ToMap() (map[string]interface{}, error)
func (*ServerSubscriptionTierReadMany200Response) UnmarshalJSON ¶
func (o *ServerSubscriptionTierReadMany200Response) UnmarshalJSON(data []byte) (err error)
type ServerVariable ¶
ServerVariable stores the information about a server variable
type ServerXpAPI ¶
type ServerXpAPI interface { /* ServerXpForRoleCreate Award XP to role Award XP to all members with a particular role. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param roleId Role ID to award XP to @return ServerXpAPIServerXpForRoleCreateRequest */ ServerXpForRoleCreate(ctx context.Context, serverId string, roleId int32) ServerXpAPIServerXpForRoleCreateRequest // ServerXpForRoleCreateExecute executes the request ServerXpForRoleCreateExecute(r ServerXpAPIServerXpForRoleCreateRequest) (*http.Response, error) /* ServerXpForUserCreate Award XP to a member @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId Member ID to award XP to @return ServerXpAPIServerXpForUserCreateRequest */ ServerXpForUserCreate(ctx context.Context, serverId string, userId UserID) ServerXpAPIServerXpForUserCreateRequest // ServerXpForUserCreateExecute executes the request // @return ServerXpForUserUpdate200Response ServerXpForUserCreateExecute(r ServerXpAPIServerXpForUserCreateRequest) (*ServerXpForUserUpdate200Response, *http.Response, error) /* ServerXpForUserCreateMany Bulk award XP to members Take note of the max number of `userIds` that can be submitted on each request. If you require more, please batch your requests @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return ServerXpAPIServerXpForUserCreateManyRequest */ ServerXpForUserCreateMany(ctx context.Context, serverId string) ServerXpAPIServerXpForUserCreateManyRequest // ServerXpForUserCreateManyExecute executes the request // @return ServerXpForUserUpdateMany200Response ServerXpForUserCreateManyExecute(r ServerXpAPIServerXpForUserCreateManyRequest) (*ServerXpForUserUpdateMany200Response, *http.Response, error) /* ServerXpForUserUpdate Set a member's XP @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId Member ID to set XP to @return ServerXpAPIServerXpForUserUpdateRequest */ ServerXpForUserUpdate(ctx context.Context, serverId string, userId UserID) ServerXpAPIServerXpForUserUpdateRequest // ServerXpForUserUpdateExecute executes the request // @return ServerXpForUserUpdate200Response ServerXpForUserUpdateExecute(r ServerXpAPIServerXpForUserUpdateRequest) (*ServerXpForUserUpdate200Response, *http.Response, error) /* ServerXpForUserUpdateMany Bulk set members' XP Take note of the max number of `userIds` that can be submitted on each request. If you require more, please batch your requests @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return ServerXpAPIServerXpForUserUpdateManyRequest */ ServerXpForUserUpdateMany(ctx context.Context, serverId string) ServerXpAPIServerXpForUserUpdateManyRequest // ServerXpForUserUpdateManyExecute executes the request // @return ServerXpForUserUpdateMany200Response ServerXpForUserUpdateManyExecute(r ServerXpAPIServerXpForUserUpdateManyRequest) (*ServerXpForUserUpdateMany200Response, *http.Response, error) }
type ServerXpAPIServerXpForRoleCreateRequest ¶
type ServerXpAPIServerXpForRoleCreateRequest struct { ApiService ServerXpAPI // contains filtered or unexported fields }
func (ServerXpAPIServerXpForRoleCreateRequest) Execute ¶
func (r ServerXpAPIServerXpForRoleCreateRequest) Execute() (*http.Response, error)
func (ServerXpAPIServerXpForRoleCreateRequest) ServerXpForUserCreateRequest ¶
func (r ServerXpAPIServerXpForRoleCreateRequest) ServerXpForUserCreateRequest(serverXpForUserCreateRequest ServerXpForUserCreateRequest) ServerXpAPIServerXpForRoleCreateRequest
type ServerXpAPIServerXpForUserCreateManyRequest ¶
type ServerXpAPIServerXpForUserCreateManyRequest struct { ApiService ServerXpAPI // contains filtered or unexported fields }
func (ServerXpAPIServerXpForUserCreateManyRequest) Execute ¶
func (r ServerXpAPIServerXpForUserCreateManyRequest) Execute() (*ServerXpForUserUpdateMany200Response, *http.Response, error)
func (ServerXpAPIServerXpForUserCreateManyRequest) ServerXpForUserCreateManyRequest ¶
func (r ServerXpAPIServerXpForUserCreateManyRequest) ServerXpForUserCreateManyRequest(serverXpForUserCreateManyRequest ServerXpForUserCreateManyRequest) ServerXpAPIServerXpForUserCreateManyRequest
type ServerXpAPIServerXpForUserCreateRequest ¶
type ServerXpAPIServerXpForUserCreateRequest struct { ApiService ServerXpAPI // contains filtered or unexported fields }
func (ServerXpAPIServerXpForUserCreateRequest) Execute ¶
func (r ServerXpAPIServerXpForUserCreateRequest) Execute() (*ServerXpForUserUpdate200Response, *http.Response, error)
func (ServerXpAPIServerXpForUserCreateRequest) ServerXpForUserCreateRequest ¶
func (r ServerXpAPIServerXpForUserCreateRequest) ServerXpForUserCreateRequest(serverXpForUserCreateRequest ServerXpForUserCreateRequest) ServerXpAPIServerXpForUserCreateRequest
type ServerXpAPIServerXpForUserUpdateManyRequest ¶
type ServerXpAPIServerXpForUserUpdateManyRequest struct { ApiService ServerXpAPI // contains filtered or unexported fields }
func (ServerXpAPIServerXpForUserUpdateManyRequest) Execute ¶
func (r ServerXpAPIServerXpForUserUpdateManyRequest) Execute() (*ServerXpForUserUpdateMany200Response, *http.Response, error)
func (ServerXpAPIServerXpForUserUpdateManyRequest) ServerXpForUserUpdateManyRequest ¶
func (r ServerXpAPIServerXpForUserUpdateManyRequest) ServerXpForUserUpdateManyRequest(serverXpForUserUpdateManyRequest ServerXpForUserUpdateManyRequest) ServerXpAPIServerXpForUserUpdateManyRequest
type ServerXpAPIServerXpForUserUpdateRequest ¶
type ServerXpAPIServerXpForUserUpdateRequest struct { ApiService ServerXpAPI // contains filtered or unexported fields }
func (ServerXpAPIServerXpForUserUpdateRequest) Execute ¶
func (r ServerXpAPIServerXpForUserUpdateRequest) Execute() (*ServerXpForUserUpdate200Response, *http.Response, error)
func (ServerXpAPIServerXpForUserUpdateRequest) ServerXpForUserUpdateRequest ¶
func (r ServerXpAPIServerXpForUserUpdateRequest) ServerXpForUserUpdateRequest(serverXpForUserUpdateRequest ServerXpForUserUpdateRequest) ServerXpAPIServerXpForUserUpdateRequest
type ServerXpAPIService ¶
type ServerXpAPIService service
ServerXpAPIService ServerXpAPI service
func (*ServerXpAPIService) ServerXpForRoleCreate ¶
func (a *ServerXpAPIService) ServerXpForRoleCreate(ctx context.Context, serverId string, roleId int32) ServerXpAPIServerXpForRoleCreateRequest
ServerXpForRoleCreate Award XP to role
Award XP to all members with a particular role.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param roleId Role ID to award XP to @return ServerXpAPIServerXpForRoleCreateRequest
func (*ServerXpAPIService) ServerXpForRoleCreateExecute ¶
func (a *ServerXpAPIService) ServerXpForRoleCreateExecute(r ServerXpAPIServerXpForRoleCreateRequest) (*http.Response, error)
Execute executes the request
func (*ServerXpAPIService) ServerXpForUserCreate ¶
func (a *ServerXpAPIService) ServerXpForUserCreate(ctx context.Context, serverId string, userId UserID) ServerXpAPIServerXpForUserCreateRequest
ServerXpForUserCreate Award XP to a member
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId Member ID to award XP to @return ServerXpAPIServerXpForUserCreateRequest
func (*ServerXpAPIService) ServerXpForUserCreateExecute ¶
func (a *ServerXpAPIService) ServerXpForUserCreateExecute(r ServerXpAPIServerXpForUserCreateRequest) (*ServerXpForUserUpdate200Response, *http.Response, error)
Execute executes the request
@return ServerXpForUserUpdate200Response
func (*ServerXpAPIService) ServerXpForUserCreateMany ¶
func (a *ServerXpAPIService) ServerXpForUserCreateMany(ctx context.Context, serverId string) ServerXpAPIServerXpForUserCreateManyRequest
ServerXpForUserCreateMany Bulk award XP to members
Take note of the max number of `userIds` that can be submitted on each request. If you require more, please batch your requests
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return ServerXpAPIServerXpForUserCreateManyRequest
func (*ServerXpAPIService) ServerXpForUserCreateManyExecute ¶
func (a *ServerXpAPIService) ServerXpForUserCreateManyExecute(r ServerXpAPIServerXpForUserCreateManyRequest) (*ServerXpForUserUpdateMany200Response, *http.Response, error)
Execute executes the request
@return ServerXpForUserUpdateMany200Response
func (*ServerXpAPIService) ServerXpForUserUpdate ¶
func (a *ServerXpAPIService) ServerXpForUserUpdate(ctx context.Context, serverId string, userId UserID) ServerXpAPIServerXpForUserUpdateRequest
ServerXpForUserUpdate Set a member's XP
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId Member ID to set XP to @return ServerXpAPIServerXpForUserUpdateRequest
func (*ServerXpAPIService) ServerXpForUserUpdateExecute ¶
func (a *ServerXpAPIService) ServerXpForUserUpdateExecute(r ServerXpAPIServerXpForUserUpdateRequest) (*ServerXpForUserUpdate200Response, *http.Response, error)
Execute executes the request
@return ServerXpForUserUpdate200Response
func (*ServerXpAPIService) ServerXpForUserUpdateMany ¶
func (a *ServerXpAPIService) ServerXpForUserUpdateMany(ctx context.Context, serverId string) ServerXpAPIServerXpForUserUpdateManyRequest
ServerXpForUserUpdateMany Bulk set members' XP
Take note of the max number of `userIds` that can be submitted on each request. If you require more, please batch your requests
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return ServerXpAPIServerXpForUserUpdateManyRequest
func (*ServerXpAPIService) ServerXpForUserUpdateManyExecute ¶
func (a *ServerXpAPIService) ServerXpForUserUpdateManyExecute(r ServerXpAPIServerXpForUserUpdateManyRequest) (*ServerXpForUserUpdateMany200Response, *http.Response, error)
Execute executes the request
@return ServerXpForUserUpdateMany200Response
type ServerXpForUserCreateManyRequest ¶
type ServerXpForUserCreateManyRequest struct { // The amount of XP to award Amount int32 `json:"amount"` UserIds []UserID `json:"userIds"` }
ServerXpForUserCreateManyRequest struct for ServerXpForUserCreateManyRequest
func NewServerXpForUserCreateManyRequest ¶
func NewServerXpForUserCreateManyRequest(amount int32, userIds []UserID) *ServerXpForUserCreateManyRequest
NewServerXpForUserCreateManyRequest instantiates a new ServerXpForUserCreateManyRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerXpForUserCreateManyRequestWithDefaults ¶
func NewServerXpForUserCreateManyRequestWithDefaults() *ServerXpForUserCreateManyRequest
NewServerXpForUserCreateManyRequestWithDefaults instantiates a new ServerXpForUserCreateManyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerXpForUserCreateManyRequest) GetAmount ¶
func (o *ServerXpForUserCreateManyRequest) GetAmount() int32
GetAmount returns the Amount field value
func (*ServerXpForUserCreateManyRequest) GetAmountOk ¶
func (o *ServerXpForUserCreateManyRequest) GetAmountOk() (*int32, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*ServerXpForUserCreateManyRequest) GetUserIds ¶
func (o *ServerXpForUserCreateManyRequest) GetUserIds() []UserID
GetUserIds returns the UserIds field value
func (*ServerXpForUserCreateManyRequest) GetUserIdsOk ¶
func (o *ServerXpForUserCreateManyRequest) GetUserIdsOk() ([]UserID, bool)
GetUserIdsOk returns a tuple with the UserIds field value and a boolean to check if the value has been set.
func (ServerXpForUserCreateManyRequest) MarshalJSON ¶
func (o ServerXpForUserCreateManyRequest) MarshalJSON() ([]byte, error)
func (*ServerXpForUserCreateManyRequest) SetAmount ¶
func (o *ServerXpForUserCreateManyRequest) SetAmount(v int32)
SetAmount sets field value
func (*ServerXpForUserCreateManyRequest) SetUserIds ¶
func (o *ServerXpForUserCreateManyRequest) SetUserIds(v []UserID)
SetUserIds sets field value
func (ServerXpForUserCreateManyRequest) ToMap ¶
func (o ServerXpForUserCreateManyRequest) ToMap() (map[string]interface{}, error)
func (*ServerXpForUserCreateManyRequest) UnmarshalJSON ¶
func (o *ServerXpForUserCreateManyRequest) UnmarshalJSON(data []byte) (err error)
type ServerXpForUserCreateRequest ¶
type ServerXpForUserCreateRequest struct { // The amount of XP to award Amount int32 `json:"amount"` }
ServerXpForUserCreateRequest struct for ServerXpForUserCreateRequest
func NewServerXpForUserCreateRequest ¶
func NewServerXpForUserCreateRequest(amount int32) *ServerXpForUserCreateRequest
NewServerXpForUserCreateRequest instantiates a new ServerXpForUserCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerXpForUserCreateRequestWithDefaults ¶
func NewServerXpForUserCreateRequestWithDefaults() *ServerXpForUserCreateRequest
NewServerXpForUserCreateRequestWithDefaults instantiates a new ServerXpForUserCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerXpForUserCreateRequest) GetAmount ¶
func (o *ServerXpForUserCreateRequest) GetAmount() int32
GetAmount returns the Amount field value
func (*ServerXpForUserCreateRequest) GetAmountOk ¶
func (o *ServerXpForUserCreateRequest) GetAmountOk() (*int32, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (ServerXpForUserCreateRequest) MarshalJSON ¶
func (o ServerXpForUserCreateRequest) MarshalJSON() ([]byte, error)
func (*ServerXpForUserCreateRequest) SetAmount ¶
func (o *ServerXpForUserCreateRequest) SetAmount(v int32)
SetAmount sets field value
func (ServerXpForUserCreateRequest) ToMap ¶
func (o ServerXpForUserCreateRequest) ToMap() (map[string]interface{}, error)
func (*ServerXpForUserCreateRequest) UnmarshalJSON ¶
func (o *ServerXpForUserCreateRequest) UnmarshalJSON(data []byte) (err error)
type ServerXpForUserUpdate200Response ¶
type ServerXpForUserUpdate200Response struct { // The total XP after this operation Total int32 `json:"total"` }
ServerXpForUserUpdate200Response struct for ServerXpForUserUpdate200Response
func NewServerXpForUserUpdate200Response ¶
func NewServerXpForUserUpdate200Response(total int32) *ServerXpForUserUpdate200Response
NewServerXpForUserUpdate200Response instantiates a new ServerXpForUserUpdate200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerXpForUserUpdate200ResponseWithDefaults ¶
func NewServerXpForUserUpdate200ResponseWithDefaults() *ServerXpForUserUpdate200Response
NewServerXpForUserUpdate200ResponseWithDefaults instantiates a new ServerXpForUserUpdate200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerXpForUserUpdate200Response) GetTotal ¶
func (o *ServerXpForUserUpdate200Response) GetTotal() int32
GetTotal returns the Total field value
func (*ServerXpForUserUpdate200Response) GetTotalOk ¶
func (o *ServerXpForUserUpdate200Response) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (ServerXpForUserUpdate200Response) MarshalJSON ¶
func (o ServerXpForUserUpdate200Response) MarshalJSON() ([]byte, error)
func (*ServerXpForUserUpdate200Response) SetTotal ¶
func (o *ServerXpForUserUpdate200Response) SetTotal(v int32)
SetTotal sets field value
func (ServerXpForUserUpdate200Response) ToMap ¶
func (o ServerXpForUserUpdate200Response) ToMap() (map[string]interface{}, error)
func (*ServerXpForUserUpdate200Response) UnmarshalJSON ¶
func (o *ServerXpForUserUpdate200Response) UnmarshalJSON(data []byte) (err error)
type ServerXpForUserUpdateMany200Response ¶
type ServerXpForUserUpdateMany200Response struct { // Each key of the object will be a user ID, and its value will be the total for that user after this operation TotalsByUserId map[string]int32 `json:"totalsByUserId"` }
ServerXpForUserUpdateMany200Response struct for ServerXpForUserUpdateMany200Response
func NewServerXpForUserUpdateMany200Response ¶
func NewServerXpForUserUpdateMany200Response(totalsByUserId map[string]int32) *ServerXpForUserUpdateMany200Response
NewServerXpForUserUpdateMany200Response instantiates a new ServerXpForUserUpdateMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerXpForUserUpdateMany200ResponseWithDefaults ¶
func NewServerXpForUserUpdateMany200ResponseWithDefaults() *ServerXpForUserUpdateMany200Response
NewServerXpForUserUpdateMany200ResponseWithDefaults instantiates a new ServerXpForUserUpdateMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerXpForUserUpdateMany200Response) GetTotalsByUserId ¶
func (o *ServerXpForUserUpdateMany200Response) GetTotalsByUserId() map[string]int32
GetTotalsByUserId returns the TotalsByUserId field value
func (*ServerXpForUserUpdateMany200Response) GetTotalsByUserIdOk ¶
func (o *ServerXpForUserUpdateMany200Response) GetTotalsByUserIdOk() (*map[string]int32, bool)
GetTotalsByUserIdOk returns a tuple with the TotalsByUserId field value and a boolean to check if the value has been set.
func (ServerXpForUserUpdateMany200Response) MarshalJSON ¶
func (o ServerXpForUserUpdateMany200Response) MarshalJSON() ([]byte, error)
func (*ServerXpForUserUpdateMany200Response) SetTotalsByUserId ¶
func (o *ServerXpForUserUpdateMany200Response) SetTotalsByUserId(v map[string]int32)
SetTotalsByUserId sets field value
func (ServerXpForUserUpdateMany200Response) ToMap ¶
func (o ServerXpForUserUpdateMany200Response) ToMap() (map[string]interface{}, error)
func (*ServerXpForUserUpdateMany200Response) UnmarshalJSON ¶
func (o *ServerXpForUserUpdateMany200Response) UnmarshalJSON(data []byte) (err error)
type ServerXpForUserUpdateManyRequest ¶
type ServerXpForUserUpdateManyRequest struct { // The total XP to set on each user Amount int32 `json:"amount"` UserIds []UserID `json:"userIds"` }
ServerXpForUserUpdateManyRequest struct for ServerXpForUserUpdateManyRequest
func NewServerXpForUserUpdateManyRequest ¶
func NewServerXpForUserUpdateManyRequest(amount int32, userIds []UserID) *ServerXpForUserUpdateManyRequest
NewServerXpForUserUpdateManyRequest instantiates a new ServerXpForUserUpdateManyRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerXpForUserUpdateManyRequestWithDefaults ¶
func NewServerXpForUserUpdateManyRequestWithDefaults() *ServerXpForUserUpdateManyRequest
NewServerXpForUserUpdateManyRequestWithDefaults instantiates a new ServerXpForUserUpdateManyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerXpForUserUpdateManyRequest) GetAmount ¶
func (o *ServerXpForUserUpdateManyRequest) GetAmount() int32
GetAmount returns the Amount field value
func (*ServerXpForUserUpdateManyRequest) GetAmountOk ¶
func (o *ServerXpForUserUpdateManyRequest) GetAmountOk() (*int32, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*ServerXpForUserUpdateManyRequest) GetUserIds ¶
func (o *ServerXpForUserUpdateManyRequest) GetUserIds() []UserID
GetUserIds returns the UserIds field value
func (*ServerXpForUserUpdateManyRequest) GetUserIdsOk ¶
func (o *ServerXpForUserUpdateManyRequest) GetUserIdsOk() ([]UserID, bool)
GetUserIdsOk returns a tuple with the UserIds field value and a boolean to check if the value has been set.
func (ServerXpForUserUpdateManyRequest) MarshalJSON ¶
func (o ServerXpForUserUpdateManyRequest) MarshalJSON() ([]byte, error)
func (*ServerXpForUserUpdateManyRequest) SetAmount ¶
func (o *ServerXpForUserUpdateManyRequest) SetAmount(v int32)
SetAmount sets field value
func (*ServerXpForUserUpdateManyRequest) SetUserIds ¶
func (o *ServerXpForUserUpdateManyRequest) SetUserIds(v []UserID)
SetUserIds sets field value
func (ServerXpForUserUpdateManyRequest) ToMap ¶
func (o ServerXpForUserUpdateManyRequest) ToMap() (map[string]interface{}, error)
func (*ServerXpForUserUpdateManyRequest) UnmarshalJSON ¶
func (o *ServerXpForUserUpdateManyRequest) UnmarshalJSON(data []byte) (err error)
type ServerXpForUserUpdateRequest ¶
type ServerXpForUserUpdateRequest struct { // The total XP to set on the user Total int32 `json:"total"` }
ServerXpForUserUpdateRequest struct for ServerXpForUserUpdateRequest
func NewServerXpForUserUpdateRequest ¶
func NewServerXpForUserUpdateRequest(total int32) *ServerXpForUserUpdateRequest
NewServerXpForUserUpdateRequest instantiates a new ServerXpForUserUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerXpForUserUpdateRequestWithDefaults ¶
func NewServerXpForUserUpdateRequestWithDefaults() *ServerXpForUserUpdateRequest
NewServerXpForUserUpdateRequestWithDefaults instantiates a new ServerXpForUserUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerXpForUserUpdateRequest) GetTotal ¶
func (o *ServerXpForUserUpdateRequest) GetTotal() int32
GetTotal returns the Total field value
func (*ServerXpForUserUpdateRequest) GetTotalOk ¶
func (o *ServerXpForUserUpdateRequest) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (ServerXpForUserUpdateRequest) MarshalJSON ¶
func (o ServerXpForUserUpdateRequest) MarshalJSON() ([]byte, error)
func (*ServerXpForUserUpdateRequest) SetTotal ¶
func (o *ServerXpForUserUpdateRequest) SetTotal(v int32)
SetTotal sets field value
func (ServerXpForUserUpdateRequest) ToMap ¶
func (o ServerXpForUserUpdateRequest) ToMap() (map[string]interface{}, error)
func (*ServerXpForUserUpdateRequest) UnmarshalJSON ¶
func (o *ServerXpForUserUpdateRequest) UnmarshalJSON(data []byte) (err error)
type ServersAPI ¶
type ServersAPI interface { /* ServerRead Get a server Fetch various information about a given server. Currently, the bot must be a member of the server in order to fetch its information. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return ServersAPIServerReadRequest */ ServerRead(ctx context.Context, serverId string) ServersAPIServerReadRequest // ServerReadExecute executes the request // @return ServerRead200Response ServerReadExecute(r ServersAPIServerReadRequest) (*ServerRead200Response, *http.Response, error) }
type ServersAPIServerReadRequest ¶
type ServersAPIServerReadRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
func (ServersAPIServerReadRequest) Execute ¶
func (r ServersAPIServerReadRequest) Execute() (*ServerRead200Response, *http.Response, error)
type ServersAPIService ¶
type ServersAPIService service
ServersAPIService ServersAPI service
func (*ServersAPIService) ServerRead ¶
func (a *ServersAPIService) ServerRead(ctx context.Context, serverId string) ServersAPIServerReadRequest
ServerRead Get a server
Fetch various information about a given server. Currently, the bot must be a member of the server in order to fetch its information.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return ServersAPIServerReadRequest
func (*ServersAPIService) ServerReadExecute ¶
func (a *ServersAPIService) ServerReadExecute(r ServersAPIServerReadRequest) (*ServerRead200Response, *http.Response, error)
Execute executes the request
@return ServerRead200Response
type SocialLink ¶
type SocialLink struct { // The type of social link that Guilded supports. Depending on this value, `handle` or `serviceId` may or may not be present Type string `json:"type"` // The ID of the user that the social link is associated with UserId string `json:"userId"` // The handle of the user within the external service Handle *string `json:"handle,omitempty"` // The unique ID that represents this member's social link within the external service ServiceId *string `json:"serviceId,omitempty"` // The ISO 8601 timestamp that the social link was created at CreatedAt time.Time `json:"createdAt"` }
SocialLink struct for SocialLink
func NewSocialLink ¶
func NewSocialLink(type_ string, userId string, createdAt time.Time) *SocialLink
NewSocialLink instantiates a new SocialLink object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSocialLinkWithDefaults ¶
func NewSocialLinkWithDefaults() *SocialLink
NewSocialLinkWithDefaults instantiates a new SocialLink object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SocialLink) GetCreatedAt ¶
func (o *SocialLink) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*SocialLink) GetCreatedAtOk ¶
func (o *SocialLink) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*SocialLink) GetHandle ¶
func (o *SocialLink) GetHandle() string
GetHandle returns the Handle field value if set, zero value otherwise.
func (*SocialLink) GetHandleOk ¶
func (o *SocialLink) GetHandleOk() (*string, bool)
GetHandleOk returns a tuple with the Handle field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SocialLink) GetServiceId ¶
func (o *SocialLink) GetServiceId() string
GetServiceId returns the ServiceId field value if set, zero value otherwise.
func (*SocialLink) GetServiceIdOk ¶
func (o *SocialLink) GetServiceIdOk() (*string, bool)
GetServiceIdOk returns a tuple with the ServiceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SocialLink) GetType ¶
func (o *SocialLink) GetType() string
GetType returns the Type field value
func (*SocialLink) GetTypeOk ¶
func (o *SocialLink) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*SocialLink) GetUserId ¶
func (o *SocialLink) GetUserId() string
GetUserId returns the UserId field value
func (*SocialLink) GetUserIdOk ¶
func (o *SocialLink) GetUserIdOk() (*string, bool)
GetUserIdOk returns a tuple with the UserId field value and a boolean to check if the value has been set.
func (*SocialLink) HasHandle ¶
func (o *SocialLink) HasHandle() bool
HasHandle returns a boolean if a field has been set.
func (*SocialLink) HasServiceId ¶
func (o *SocialLink) HasServiceId() bool
HasServiceId returns a boolean if a field has been set.
func (SocialLink) MarshalJSON ¶
func (o SocialLink) MarshalJSON() ([]byte, error)
func (*SocialLink) SetCreatedAt ¶
func (o *SocialLink) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*SocialLink) SetHandle ¶
func (o *SocialLink) SetHandle(v string)
SetHandle gets a reference to the given string and assigns it to the Handle field.
func (*SocialLink) SetServiceId ¶
func (o *SocialLink) SetServiceId(v string)
SetServiceId gets a reference to the given string and assigns it to the ServiceId field.
func (SocialLink) ToMap ¶
func (o SocialLink) ToMap() (map[string]interface{}, error)
func (*SocialLink) UnmarshalJSON ¶
func (o *SocialLink) UnmarshalJSON(data []byte) (err error)
type SocialLinksAPI ¶
type SocialLinksAPI interface { /* MemberSocialLinkRead Retrieves a member's public social links @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId @param socialLinkType The type of social link to retrieve @return SocialLinksAPIMemberSocialLinkReadRequest */ MemberSocialLinkRead(ctx context.Context, serverId string, userId UserID, socialLinkType string) SocialLinksAPIMemberSocialLinkReadRequest // MemberSocialLinkReadExecute executes the request // @return MemberSocialLinkRead200Response MemberSocialLinkReadExecute(r SocialLinksAPIMemberSocialLinkReadRequest) (*MemberSocialLinkRead200Response, *http.Response, error) }
type SocialLinksAPIMemberSocialLinkReadRequest ¶
type SocialLinksAPIMemberSocialLinkReadRequest struct { ApiService SocialLinksAPI // contains filtered or unexported fields }
func (SocialLinksAPIMemberSocialLinkReadRequest) Execute ¶
func (r SocialLinksAPIMemberSocialLinkReadRequest) Execute() (*MemberSocialLinkRead200Response, *http.Response, error)
type SocialLinksAPIService ¶
type SocialLinksAPIService service
SocialLinksAPIService SocialLinksAPI service
func (*SocialLinksAPIService) MemberSocialLinkRead ¶
func (a *SocialLinksAPIService) MemberSocialLinkRead(ctx context.Context, serverId string, userId UserID, socialLinkType string) SocialLinksAPIMemberSocialLinkReadRequest
MemberSocialLinkRead Retrieves a member's public social links
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param userId @param socialLinkType The type of social link to retrieve @return SocialLinksAPIMemberSocialLinkReadRequest
func (*SocialLinksAPIService) MemberSocialLinkReadExecute ¶
func (a *SocialLinksAPIService) MemberSocialLinkReadExecute(r SocialLinksAPIMemberSocialLinkReadRequest) (*MemberSocialLinkRead200Response, *http.Response, error)
Execute executes the request
@return MemberSocialLinkRead200Response
type UrlSignature ¶
type UrlSignature struct { // The URL that is to be signed Url string `json:"url"` // The url with a valid signature that has a 5 minute expiration on the signature Signature *string `json:"signature,omitempty"` // The number of seconds to wait before retrying the request RetryAfter *int32 `json:"retryAfter,omitempty"` }
UrlSignature struct for UrlSignature
func NewUrlSignature ¶
func NewUrlSignature(url string) *UrlSignature
NewUrlSignature instantiates a new UrlSignature object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUrlSignatureWithDefaults ¶
func NewUrlSignatureWithDefaults() *UrlSignature
NewUrlSignatureWithDefaults instantiates a new UrlSignature object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UrlSignature) GetRetryAfter ¶
func (o *UrlSignature) GetRetryAfter() int32
GetRetryAfter returns the RetryAfter field value if set, zero value otherwise.
func (*UrlSignature) GetRetryAfterOk ¶
func (o *UrlSignature) GetRetryAfterOk() (*int32, bool)
GetRetryAfterOk returns a tuple with the RetryAfter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlSignature) GetSignature ¶
func (o *UrlSignature) GetSignature() string
GetSignature returns the Signature field value if set, zero value otherwise.
func (*UrlSignature) GetSignatureOk ¶
func (o *UrlSignature) GetSignatureOk() (*string, bool)
GetSignatureOk returns a tuple with the Signature field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UrlSignature) GetUrl ¶
func (o *UrlSignature) GetUrl() string
GetUrl returns the Url field value
func (*UrlSignature) GetUrlOk ¶
func (o *UrlSignature) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*UrlSignature) HasRetryAfter ¶
func (o *UrlSignature) HasRetryAfter() bool
HasRetryAfter returns a boolean if a field has been set.
func (*UrlSignature) HasSignature ¶
func (o *UrlSignature) HasSignature() bool
HasSignature returns a boolean if a field has been set.
func (UrlSignature) MarshalJSON ¶
func (o UrlSignature) MarshalJSON() ([]byte, error)
func (*UrlSignature) SetRetryAfter ¶
func (o *UrlSignature) SetRetryAfter(v int32)
SetRetryAfter gets a reference to the given int32 and assigns it to the RetryAfter field.
func (*UrlSignature) SetSignature ¶
func (o *UrlSignature) SetSignature(v string)
SetSignature gets a reference to the given string and assigns it to the Signature field.
func (UrlSignature) ToMap ¶
func (o UrlSignature) ToMap() (map[string]interface{}, error)
func (*UrlSignature) UnmarshalJSON ¶
func (o *UrlSignature) UnmarshalJSON(data []byte) (err error)
type UrlSignatureAPI ¶
type UrlSignatureAPI interface { /* UrlSignatureCreateMany Create URL signatures User-uploaded content hosted on our CDN will no longer be accessible directly after June 30th, 2024. To access the content, you will need to generate a valid signature via the `/url-signatures` endpoint, which is valid for 5 minutes, and download the content to store the data. Each asset comes with a daily request limit of one, so make sure to save the assets accordingly. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UrlSignatureAPIUrlSignatureCreateManyRequest */ UrlSignatureCreateMany(ctx context.Context) UrlSignatureAPIUrlSignatureCreateManyRequest // UrlSignatureCreateManyExecute executes the request // @return UrlSignatureCreateMany200Response UrlSignatureCreateManyExecute(r UrlSignatureAPIUrlSignatureCreateManyRequest) (*UrlSignatureCreateMany200Response, *http.Response, error) }
type UrlSignatureAPIService ¶
type UrlSignatureAPIService service
UrlSignatureAPIService UrlSignatureAPI service
func (*UrlSignatureAPIService) UrlSignatureCreateMany ¶
func (a *UrlSignatureAPIService) UrlSignatureCreateMany(ctx context.Context) UrlSignatureAPIUrlSignatureCreateManyRequest
UrlSignatureCreateMany Create URL signatures
User-uploaded content hosted on our CDN will no longer be accessible directly after June 30th, 2024. To access the content, you will need to generate a valid signature via the `/url-signatures` endpoint, which is valid for 5 minutes, and download the content to store the data. Each asset comes with a daily request limit of one, so make sure to save the assets accordingly.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UrlSignatureAPIUrlSignatureCreateManyRequest
func (*UrlSignatureAPIService) UrlSignatureCreateManyExecute ¶
func (a *UrlSignatureAPIService) UrlSignatureCreateManyExecute(r UrlSignatureAPIUrlSignatureCreateManyRequest) (*UrlSignatureCreateMany200Response, *http.Response, error)
Execute executes the request
@return UrlSignatureCreateMany200Response
type UrlSignatureAPIUrlSignatureCreateManyRequest ¶
type UrlSignatureAPIUrlSignatureCreateManyRequest struct { ApiService UrlSignatureAPI // contains filtered or unexported fields }
func (UrlSignatureAPIUrlSignatureCreateManyRequest) Execute ¶
func (r UrlSignatureAPIUrlSignatureCreateManyRequest) Execute() (*UrlSignatureCreateMany200Response, *http.Response, error)
func (UrlSignatureAPIUrlSignatureCreateManyRequest) UrlSignatureCreateManyRequest ¶
func (r UrlSignatureAPIUrlSignatureCreateManyRequest) UrlSignatureCreateManyRequest(urlSignatureCreateManyRequest UrlSignatureCreateManyRequest) UrlSignatureAPIUrlSignatureCreateManyRequest
type UrlSignatureCreateMany200Response ¶
type UrlSignatureCreateMany200Response struct { // An array of URLs with a valid signature that has a 5 minute expiration. Any item with a `retryAfter` indicates you are still within the rate limit for that particular `url` UrlSignatures []UrlSignature `json:"urlSignatures"` }
UrlSignatureCreateMany200Response struct for UrlSignatureCreateMany200Response
func NewUrlSignatureCreateMany200Response ¶
func NewUrlSignatureCreateMany200Response(urlSignatures []UrlSignature) *UrlSignatureCreateMany200Response
NewUrlSignatureCreateMany200Response instantiates a new UrlSignatureCreateMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUrlSignatureCreateMany200ResponseWithDefaults ¶
func NewUrlSignatureCreateMany200ResponseWithDefaults() *UrlSignatureCreateMany200Response
NewUrlSignatureCreateMany200ResponseWithDefaults instantiates a new UrlSignatureCreateMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UrlSignatureCreateMany200Response) GetUrlSignatures ¶
func (o *UrlSignatureCreateMany200Response) GetUrlSignatures() []UrlSignature
GetUrlSignatures returns the UrlSignatures field value
func (*UrlSignatureCreateMany200Response) GetUrlSignaturesOk ¶
func (o *UrlSignatureCreateMany200Response) GetUrlSignaturesOk() ([]UrlSignature, bool)
GetUrlSignaturesOk returns a tuple with the UrlSignatures field value and a boolean to check if the value has been set.
func (UrlSignatureCreateMany200Response) MarshalJSON ¶
func (o UrlSignatureCreateMany200Response) MarshalJSON() ([]byte, error)
func (*UrlSignatureCreateMany200Response) SetUrlSignatures ¶
func (o *UrlSignatureCreateMany200Response) SetUrlSignatures(v []UrlSignature)
SetUrlSignatures sets field value
func (UrlSignatureCreateMany200Response) ToMap ¶
func (o UrlSignatureCreateMany200Response) ToMap() (map[string]interface{}, error)
func (*UrlSignatureCreateMany200Response) UnmarshalJSON ¶
func (o *UrlSignatureCreateMany200Response) UnmarshalJSON(data []byte) (err error)
type UrlSignatureCreateManyRequest ¶
type UrlSignatureCreateManyRequest struct { // An array of guilded CDN based URLs to get a signature on. Each URL is valid for 5 minutes and limited to one request per day Urls []string `json:"urls"` }
UrlSignatureCreateManyRequest struct for UrlSignatureCreateManyRequest
func NewUrlSignatureCreateManyRequest ¶
func NewUrlSignatureCreateManyRequest(urls []string) *UrlSignatureCreateManyRequest
NewUrlSignatureCreateManyRequest instantiates a new UrlSignatureCreateManyRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUrlSignatureCreateManyRequestWithDefaults ¶
func NewUrlSignatureCreateManyRequestWithDefaults() *UrlSignatureCreateManyRequest
NewUrlSignatureCreateManyRequestWithDefaults instantiates a new UrlSignatureCreateManyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UrlSignatureCreateManyRequest) GetUrls ¶
func (o *UrlSignatureCreateManyRequest) GetUrls() []string
GetUrls returns the Urls field value
func (*UrlSignatureCreateManyRequest) GetUrlsOk ¶
func (o *UrlSignatureCreateManyRequest) GetUrlsOk() ([]string, bool)
GetUrlsOk returns a tuple with the Urls field value and a boolean to check if the value has been set.
func (UrlSignatureCreateManyRequest) MarshalJSON ¶
func (o UrlSignatureCreateManyRequest) MarshalJSON() ([]byte, error)
func (*UrlSignatureCreateManyRequest) SetUrls ¶
func (o *UrlSignatureCreateManyRequest) SetUrls(v []string)
SetUrls sets field value
func (UrlSignatureCreateManyRequest) ToMap ¶
func (o UrlSignatureCreateManyRequest) ToMap() (map[string]interface{}, error)
func (*UrlSignatureCreateManyRequest) UnmarshalJSON ¶
func (o *UrlSignatureCreateManyRequest) UnmarshalJSON(data []byte) (err error)
type User ¶
type User struct { // The ID of the user Id string `json:"id"` // The type of user. If this property is absent, it can assumed to be of type `user` Type *string `json:"type,omitempty"` // The user's name Name string `json:"name"` // The avatar image associated with the user Avatar *string `json:"avatar,omitempty"` // The banner image associated with the user Banner *string `json:"banner,omitempty"` // The ISO 8601 timestamp that the user was created at CreatedAt time.Time `json:"createdAt"` Status *UserStatus `json:"status,omitempty"` }
User struct for User
func NewUser ¶
NewUser instantiates a new User object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserWithDefaults ¶
func NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*User) GetAvatarOk ¶
GetAvatarOk returns a tuple with the Avatar field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetBannerOk ¶
GetBannerOk returns a tuple with the Banner field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*User) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*User) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*User) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*User) GetStatus ¶
func (o *User) GetStatus() UserStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*User) GetStatusOk ¶
func (o *User) GetStatusOk() (*UserStatus, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (User) MarshalJSON ¶
func (*User) SetAvatar ¶
SetAvatar gets a reference to the given string and assigns it to the Avatar field.
func (*User) SetBanner ¶
SetBanner gets a reference to the given string and assigns it to the Banner field.
func (*User) SetStatus ¶
func (o *User) SetStatus(v UserStatus)
SetStatus gets a reference to the given UserStatus and assigns it to the Status field.
func (*User) SetType ¶
SetType gets a reference to the given string and assigns it to the Type field.
func (*User) UnmarshalJSON ¶
type UserID ¶
type UserID struct {
// contains filtered or unexported fields
}
UserID The ID of the user
func (*UserID) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*UserID) UnmarshalJSON ¶
Unmarshal JSON data into any of the pointers in the struct
type UserID1 ¶
type UserID1 struct {
// contains filtered or unexported fields
}
UserID1 If present, this user's reaction will be deleted
func (*UserID1) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*UserID1) UnmarshalJSON ¶
Unmarshal JSON data into any of the pointers in the struct
type UserRead200Response ¶
type UserRead200Response struct {
User User `json:"user"`
}
UserRead200Response struct for UserRead200Response
func NewUserRead200Response ¶
func NewUserRead200Response(user User) *UserRead200Response
NewUserRead200Response instantiates a new UserRead200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserRead200ResponseWithDefaults ¶
func NewUserRead200ResponseWithDefaults() *UserRead200Response
NewUserRead200ResponseWithDefaults instantiates a new UserRead200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UserRead200Response) GetUser ¶
func (o *UserRead200Response) GetUser() User
GetUser returns the User field value
func (*UserRead200Response) GetUserOk ¶
func (o *UserRead200Response) GetUserOk() (*User, bool)
GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.
func (UserRead200Response) MarshalJSON ¶
func (o UserRead200Response) MarshalJSON() ([]byte, error)
func (*UserRead200Response) SetUser ¶
func (o *UserRead200Response) SetUser(v User)
SetUser sets field value
func (UserRead200Response) ToMap ¶
func (o UserRead200Response) ToMap() (map[string]interface{}, error)
func (*UserRead200Response) UnmarshalJSON ¶
func (o *UserRead200Response) UnmarshalJSON(data []byte) (err error)
type UserServerReadMany200Response ¶
type UserServerReadMany200Response struct {
Servers []Server `json:"servers"`
}
UserServerReadMany200Response struct for UserServerReadMany200Response
func NewUserServerReadMany200Response ¶
func NewUserServerReadMany200Response(servers []Server) *UserServerReadMany200Response
NewUserServerReadMany200Response instantiates a new UserServerReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserServerReadMany200ResponseWithDefaults ¶
func NewUserServerReadMany200ResponseWithDefaults() *UserServerReadMany200Response
NewUserServerReadMany200ResponseWithDefaults instantiates a new UserServerReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UserServerReadMany200Response) GetServers ¶
func (o *UserServerReadMany200Response) GetServers() []Server
GetServers returns the Servers field value
func (*UserServerReadMany200Response) GetServersOk ¶
func (o *UserServerReadMany200Response) GetServersOk() ([]Server, bool)
GetServersOk returns a tuple with the Servers field value and a boolean to check if the value has been set.
func (UserServerReadMany200Response) MarshalJSON ¶
func (o UserServerReadMany200Response) MarshalJSON() ([]byte, error)
func (*UserServerReadMany200Response) SetServers ¶
func (o *UserServerReadMany200Response) SetServers(v []Server)
SetServers sets field value
func (UserServerReadMany200Response) ToMap ¶
func (o UserServerReadMany200Response) ToMap() (map[string]interface{}, error)
func (*UserServerReadMany200Response) UnmarshalJSON ¶
func (o *UserServerReadMany200Response) UnmarshalJSON(data []byte) (err error)
type UserStatus ¶
type UserStatus struct { // The content of the user status. The supported markdown for this content only includes reactions and plaintext for now Content *string `json:"content,omitempty"` // Emote ID EmoteId int32 `json:"emoteId"` }
UserStatus struct for UserStatus
func NewUserStatus ¶
func NewUserStatus(emoteId int32) *UserStatus
NewUserStatus instantiates a new UserStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserStatusWithDefaults ¶
func NewUserStatusWithDefaults() *UserStatus
NewUserStatusWithDefaults instantiates a new UserStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UserStatus) GetContent ¶
func (o *UserStatus) GetContent() string
GetContent returns the Content field value if set, zero value otherwise.
func (*UserStatus) GetContentOk ¶
func (o *UserStatus) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserStatus) GetEmoteId ¶
func (o *UserStatus) GetEmoteId() int32
GetEmoteId returns the EmoteId field value
func (*UserStatus) GetEmoteIdOk ¶
func (o *UserStatus) GetEmoteIdOk() (*int32, bool)
GetEmoteIdOk returns a tuple with the EmoteId field value and a boolean to check if the value has been set.
func (*UserStatus) HasContent ¶
func (o *UserStatus) HasContent() bool
HasContent returns a boolean if a field has been set.
func (UserStatus) MarshalJSON ¶
func (o UserStatus) MarshalJSON() ([]byte, error)
func (*UserStatus) SetContent ¶
func (o *UserStatus) SetContent(v string)
SetContent gets a reference to the given string and assigns it to the Content field.
func (*UserStatus) SetEmoteId ¶
func (o *UserStatus) SetEmoteId(v int32)
SetEmoteId sets field value
func (UserStatus) ToMap ¶
func (o UserStatus) ToMap() (map[string]interface{}, error)
func (*UserStatus) UnmarshalJSON ¶
func (o *UserStatus) UnmarshalJSON(data []byte) (err error)
type UserStatusAPI ¶
type UserStatusAPI interface { /* UserStatusCreate Update your status This value can be a max of 24 hours into the future. If you are wanting a longer expiration, set this value to null so that it never expires. **Note** - at this time, you can only set a status on your own user @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @return UserStatusAPIUserStatusCreateRequest */ UserStatusCreate(ctx context.Context, userId UserID) UserStatusAPIUserStatusCreateRequest // UserStatusCreateExecute executes the request UserStatusCreateExecute(r UserStatusAPIUserStatusCreateRequest) (*http.Response, error) /* UserStatusDelete Delete your status **Note** - at this time, you can only set a status on your own user @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @return UserStatusAPIUserStatusDeleteRequest */ UserStatusDelete(ctx context.Context, userId UserID) UserStatusAPIUserStatusDeleteRequest // UserStatusDeleteExecute executes the request UserStatusDeleteExecute(r UserStatusAPIUserStatusDeleteRequest) (*http.Response, error) }
type UserStatusAPIService ¶
type UserStatusAPIService service
UserStatusAPIService UserStatusAPI service
func (*UserStatusAPIService) UserStatusCreate ¶
func (a *UserStatusAPIService) UserStatusCreate(ctx context.Context, userId UserID) UserStatusAPIUserStatusCreateRequest
UserStatusCreate Update your status
This value can be a max of 24 hours into the future. If you are wanting a longer expiration, set this value to null so that it never expires. **Note** - at this time, you can only set a status on your own user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @return UserStatusAPIUserStatusCreateRequest
func (*UserStatusAPIService) UserStatusCreateExecute ¶
func (a *UserStatusAPIService) UserStatusCreateExecute(r UserStatusAPIUserStatusCreateRequest) (*http.Response, error)
Execute executes the request
func (*UserStatusAPIService) UserStatusDelete ¶
func (a *UserStatusAPIService) UserStatusDelete(ctx context.Context, userId UserID) UserStatusAPIUserStatusDeleteRequest
UserStatusDelete Delete your status
**Note** - at this time, you can only set a status on your own user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @return UserStatusAPIUserStatusDeleteRequest
func (*UserStatusAPIService) UserStatusDeleteExecute ¶
func (a *UserStatusAPIService) UserStatusDeleteExecute(r UserStatusAPIUserStatusDeleteRequest) (*http.Response, error)
Execute executes the request
type UserStatusAPIUserStatusCreateRequest ¶
type UserStatusAPIUserStatusCreateRequest struct { ApiService UserStatusAPI // contains filtered or unexported fields }
func (UserStatusAPIUserStatusCreateRequest) Execute ¶
func (r UserStatusAPIUserStatusCreateRequest) Execute() (*http.Response, error)
func (UserStatusAPIUserStatusCreateRequest) UserStatusCreateRequest ¶
func (r UserStatusAPIUserStatusCreateRequest) UserStatusCreateRequest(userStatusCreateRequest UserStatusCreateRequest) UserStatusAPIUserStatusCreateRequest
type UserStatusAPIUserStatusDeleteRequest ¶
type UserStatusAPIUserStatusDeleteRequest struct { ApiService UserStatusAPI // contains filtered or unexported fields }
type UserStatusCreateRequest ¶
type UserStatusCreateRequest struct { // The content of the user status. The supported markdown for this content only includes reactions and plaintext for now Content *string `json:"content,omitempty"` // Emote ID to apply EmoteId int32 `json:"emoteId"` // An ISO 8601 timestamp that will be used to indicate when an expiration occurs. Expiration usually will not occur exactly at this time. Bot logic should not expect a guarantee of timing as a result, but can expect that it'll happen very shortly afterwards ExpiresAt *time.Time `json:"expiresAt,omitempty"` }
UserStatusCreateRequest struct for UserStatusCreateRequest
func NewUserStatusCreateRequest ¶
func NewUserStatusCreateRequest(emoteId int32) *UserStatusCreateRequest
NewUserStatusCreateRequest instantiates a new UserStatusCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserStatusCreateRequestWithDefaults ¶
func NewUserStatusCreateRequestWithDefaults() *UserStatusCreateRequest
NewUserStatusCreateRequestWithDefaults instantiates a new UserStatusCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UserStatusCreateRequest) GetContent ¶
func (o *UserStatusCreateRequest) GetContent() string
GetContent returns the Content field value if set, zero value otherwise.
func (*UserStatusCreateRequest) GetContentOk ¶
func (o *UserStatusCreateRequest) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserStatusCreateRequest) GetEmoteId ¶
func (o *UserStatusCreateRequest) GetEmoteId() int32
GetEmoteId returns the EmoteId field value
func (*UserStatusCreateRequest) GetEmoteIdOk ¶
func (o *UserStatusCreateRequest) GetEmoteIdOk() (*int32, bool)
GetEmoteIdOk returns a tuple with the EmoteId field value and a boolean to check if the value has been set.
func (*UserStatusCreateRequest) GetExpiresAt ¶
func (o *UserStatusCreateRequest) GetExpiresAt() time.Time
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (*UserStatusCreateRequest) GetExpiresAtOk ¶
func (o *UserStatusCreateRequest) GetExpiresAtOk() (*time.Time, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserStatusCreateRequest) HasContent ¶
func (o *UserStatusCreateRequest) HasContent() bool
HasContent returns a boolean if a field has been set.
func (*UserStatusCreateRequest) HasExpiresAt ¶
func (o *UserStatusCreateRequest) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (UserStatusCreateRequest) MarshalJSON ¶
func (o UserStatusCreateRequest) MarshalJSON() ([]byte, error)
func (*UserStatusCreateRequest) SetContent ¶
func (o *UserStatusCreateRequest) SetContent(v string)
SetContent gets a reference to the given string and assigns it to the Content field.
func (*UserStatusCreateRequest) SetEmoteId ¶
func (o *UserStatusCreateRequest) SetEmoteId(v int32)
SetEmoteId sets field value
func (*UserStatusCreateRequest) SetExpiresAt ¶
func (o *UserStatusCreateRequest) SetExpiresAt(v time.Time)
SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.
func (UserStatusCreateRequest) ToMap ¶
func (o UserStatusCreateRequest) ToMap() (map[string]interface{}, error)
func (*UserStatusCreateRequest) UnmarshalJSON ¶
func (o *UserStatusCreateRequest) UnmarshalJSON(data []byte) (err error)
type UserSummary ¶
type UserSummary struct { // The ID of the user Id string `json:"id"` // The type of user. If this property is absent, it can assumed to be of type `user` Type *string `json:"type,omitempty"` // The user's name Name string `json:"name"` // The avatar image associated with the user Avatar *string `json:"avatar,omitempty"` }
UserSummary struct for UserSummary
func NewUserSummary ¶
func NewUserSummary(id string, name string) *UserSummary
NewUserSummary instantiates a new UserSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserSummaryWithDefaults ¶
func NewUserSummaryWithDefaults() *UserSummary
NewUserSummaryWithDefaults instantiates a new UserSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UserSummary) GetAvatar ¶
func (o *UserSummary) GetAvatar() string
GetAvatar returns the Avatar field value if set, zero value otherwise.
func (*UserSummary) GetAvatarOk ¶
func (o *UserSummary) GetAvatarOk() (*string, bool)
GetAvatarOk returns a tuple with the Avatar field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserSummary) GetIdOk ¶
func (o *UserSummary) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UserSummary) GetName ¶
func (o *UserSummary) GetName() string
GetName returns the Name field value
func (*UserSummary) GetNameOk ¶
func (o *UserSummary) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UserSummary) GetType ¶
func (o *UserSummary) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*UserSummary) GetTypeOk ¶
func (o *UserSummary) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserSummary) HasAvatar ¶
func (o *UserSummary) HasAvatar() bool
HasAvatar returns a boolean if a field has been set.
func (*UserSummary) HasType ¶
func (o *UserSummary) HasType() bool
HasType returns a boolean if a field has been set.
func (UserSummary) MarshalJSON ¶
func (o UserSummary) MarshalJSON() ([]byte, error)
func (*UserSummary) SetAvatar ¶
func (o *UserSummary) SetAvatar(v string)
SetAvatar gets a reference to the given string and assigns it to the Avatar field.
func (*UserSummary) SetType ¶
func (o *UserSummary) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (UserSummary) ToMap ¶
func (o UserSummary) ToMap() (map[string]interface{}, error)
func (*UserSummary) UnmarshalJSON ¶
func (o *UserSummary) UnmarshalJSON(data []byte) (err error)
type UsersAPI ¶
type UsersAPI interface { /* UserRead Get a user **Note** - at this time, you can only retrieve your own user @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @return UsersAPIUserReadRequest */ UserRead(ctx context.Context, userId UserID) UsersAPIUserReadRequest // UserReadExecute executes the request // @return UserRead200Response UserReadExecute(r UsersAPIUserReadRequest) (*UserRead200Response, *http.Response, error) /* UserServerReadMany Get a users servers **Note** - at this time, you can only retrieve your own servers @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @return UsersAPIUserServerReadManyRequest */ UserServerReadMany(ctx context.Context, userId UserID) UsersAPIUserServerReadManyRequest // UserServerReadManyExecute executes the request // @return UserServerReadMany200Response UserServerReadManyExecute(r UsersAPIUserServerReadManyRequest) (*UserServerReadMany200Response, *http.Response, error) }
type UsersAPIService ¶
type UsersAPIService service
UsersAPIService UsersAPI service
func (*UsersAPIService) UserRead ¶
func (a *UsersAPIService) UserRead(ctx context.Context, userId UserID) UsersAPIUserReadRequest
UserRead Get a user
**Note** - at this time, you can only retrieve your own user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @return UsersAPIUserReadRequest
func (*UsersAPIService) UserReadExecute ¶
func (a *UsersAPIService) UserReadExecute(r UsersAPIUserReadRequest) (*UserRead200Response, *http.Response, error)
Execute executes the request
@return UserRead200Response
func (*UsersAPIService) UserServerReadMany ¶
func (a *UsersAPIService) UserServerReadMany(ctx context.Context, userId UserID) UsersAPIUserServerReadManyRequest
UserServerReadMany Get a users servers
**Note** - at this time, you can only retrieve your own servers
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @return UsersAPIUserServerReadManyRequest
func (*UsersAPIService) UserServerReadManyExecute ¶
func (a *UsersAPIService) UserServerReadManyExecute(r UsersAPIUserServerReadManyRequest) (*UserServerReadMany200Response, *http.Response, error)
Execute executes the request
@return UserServerReadMany200Response
type UsersAPIUserReadRequest ¶
type UsersAPIUserReadRequest struct { ApiService UsersAPI // contains filtered or unexported fields }
func (UsersAPIUserReadRequest) Execute ¶
func (r UsersAPIUserReadRequest) Execute() (*UserRead200Response, *http.Response, error)
type UsersAPIUserServerReadManyRequest ¶
type UsersAPIUserServerReadManyRequest struct { ApiService UsersAPI // contains filtered or unexported fields }
func (UsersAPIUserServerReadManyRequest) Execute ¶
func (r UsersAPIUserServerReadManyRequest) Execute() (*UserServerReadMany200Response, *http.Response, error)
type Webhook ¶
type Webhook struct { // The ID of the webhook Id string `json:"id"` // The name of the webhook Name string `json:"name"` // The avatar image associated with the webhook Avatar *string `json:"avatar,omitempty"` // The ID of the server ServerId string `json:"serverId"` // The ID of the channel ChannelId string `json:"channelId"` // The ISO 8601 timestamp that the webhook was created at CreatedAt time.Time `json:"createdAt"` // The ID of the user who created this webhook CreatedBy string `json:"createdBy"` // The ISO 8601 timestamp that the webhook was deleted at DeletedAt *time.Time `json:"deletedAt,omitempty"` // The token of the webhook Token *string `json:"token,omitempty"` }
Webhook struct for Webhook
func NewWebhook ¶
func NewWebhook(id string, name string, serverId string, channelId string, createdAt time.Time, createdBy string) *Webhook
NewWebhook instantiates a new Webhook object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWebhookWithDefaults ¶
func NewWebhookWithDefaults() *Webhook
NewWebhookWithDefaults instantiates a new Webhook object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Webhook) GetAvatarOk ¶
GetAvatarOk returns a tuple with the Avatar field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Webhook) GetChannelId ¶
GetChannelId returns the ChannelId field value
func (*Webhook) GetChannelIdOk ¶
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*Webhook) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Webhook) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Webhook) GetCreatedBy ¶
GetCreatedBy returns the CreatedBy field value
func (*Webhook) GetCreatedByOk ¶
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*Webhook) GetDeletedAt ¶
GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.
func (*Webhook) GetDeletedAtOk ¶
GetDeletedAtOk returns a tuple with the DeletedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Webhook) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Webhook) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Webhook) GetServerId ¶
GetServerId returns the ServerId field value
func (*Webhook) GetServerIdOk ¶
GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.
func (*Webhook) GetTokenOk ¶
GetTokenOk returns a tuple with the Token field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Webhook) HasDeletedAt ¶
HasDeletedAt returns a boolean if a field has been set.
func (Webhook) MarshalJSON ¶
func (*Webhook) SetAvatar ¶
SetAvatar gets a reference to the given string and assigns it to the Avatar field.
func (*Webhook) SetChannelId ¶
SetChannelId sets field value
func (*Webhook) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Webhook) SetCreatedBy ¶
SetCreatedBy sets field value
func (*Webhook) SetDeletedAt ¶
SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.
func (*Webhook) SetToken ¶
SetToken gets a reference to the given string and assigns it to the Token field.
func (*Webhook) UnmarshalJSON ¶
type WebhookAPI ¶
type WebhookAPI interface { /* WebhookCreate Create a webhook Note that each server can only have 200 webhooks @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return WebhookAPIWebhookCreateRequest */ WebhookCreate(ctx context.Context, serverId string) WebhookAPIWebhookCreateRequest // WebhookCreateExecute executes the request // @return WebhookCreate201Response WebhookCreateExecute(r WebhookAPIWebhookCreateRequest) (*WebhookCreate201Response, *http.Response, error) /* WebhookDelete Delete a server webhook @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param webhookId @return WebhookAPIWebhookDeleteRequest */ WebhookDelete(ctx context.Context, serverId string, webhookId string) WebhookAPIWebhookDeleteRequest // WebhookDeleteExecute executes the request WebhookDeleteExecute(r WebhookAPIWebhookDeleteRequest) (*http.Response, error) /* WebhookRead Get a server's webhook @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param webhookId @return WebhookAPIWebhookReadRequest */ WebhookRead(ctx context.Context, serverId string, webhookId string) WebhookAPIWebhookReadRequest // WebhookReadExecute executes the request // @return WebhookCreate201Response WebhookReadExecute(r WebhookAPIWebhookReadRequest) (*WebhookCreate201Response, *http.Response, error) /* WebhookReadMany Get a server's webhooks Get a list of webhooks from a server. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return WebhookAPIWebhookReadManyRequest */ WebhookReadMany(ctx context.Context, serverId string) WebhookAPIWebhookReadManyRequest // WebhookReadManyExecute executes the request // @return WebhookReadMany200Response WebhookReadManyExecute(r WebhookAPIWebhookReadManyRequest) (*WebhookReadMany200Response, *http.Response, error) /* WebhookUpdate Update a webhook @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param webhookId @return WebhookAPIWebhookUpdateRequest */ WebhookUpdate(ctx context.Context, serverId string, webhookId string) WebhookAPIWebhookUpdateRequest // WebhookUpdateExecute executes the request // @return WebhookCreate201Response WebhookUpdateExecute(r WebhookAPIWebhookUpdateRequest) (*WebhookCreate201Response, *http.Response, error) }
type WebhookAPIService ¶
type WebhookAPIService service
WebhookAPIService WebhookAPI service
func (*WebhookAPIService) WebhookCreate ¶
func (a *WebhookAPIService) WebhookCreate(ctx context.Context, serverId string) WebhookAPIWebhookCreateRequest
WebhookCreate Create a webhook
Note that each server can only have 200 webhooks
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return WebhookAPIWebhookCreateRequest
func (*WebhookAPIService) WebhookCreateExecute ¶
func (a *WebhookAPIService) WebhookCreateExecute(r WebhookAPIWebhookCreateRequest) (*WebhookCreate201Response, *http.Response, error)
Execute executes the request
@return WebhookCreate201Response
func (*WebhookAPIService) WebhookDelete ¶
func (a *WebhookAPIService) WebhookDelete(ctx context.Context, serverId string, webhookId string) WebhookAPIWebhookDeleteRequest
WebhookDelete Delete a server webhook
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param webhookId @return WebhookAPIWebhookDeleteRequest
func (*WebhookAPIService) WebhookDeleteExecute ¶
func (a *WebhookAPIService) WebhookDeleteExecute(r WebhookAPIWebhookDeleteRequest) (*http.Response, error)
Execute executes the request
func (*WebhookAPIService) WebhookRead ¶
func (a *WebhookAPIService) WebhookRead(ctx context.Context, serverId string, webhookId string) WebhookAPIWebhookReadRequest
WebhookRead Get a server's webhook
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param webhookId @return WebhookAPIWebhookReadRequest
func (*WebhookAPIService) WebhookReadExecute ¶
func (a *WebhookAPIService) WebhookReadExecute(r WebhookAPIWebhookReadRequest) (*WebhookCreate201Response, *http.Response, error)
Execute executes the request
@return WebhookCreate201Response
func (*WebhookAPIService) WebhookReadMany ¶
func (a *WebhookAPIService) WebhookReadMany(ctx context.Context, serverId string) WebhookAPIWebhookReadManyRequest
WebhookReadMany Get a server's webhooks
Get a list of webhooks from a server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @return WebhookAPIWebhookReadManyRequest
func (*WebhookAPIService) WebhookReadManyExecute ¶
func (a *WebhookAPIService) WebhookReadManyExecute(r WebhookAPIWebhookReadManyRequest) (*WebhookReadMany200Response, *http.Response, error)
Execute executes the request
@return WebhookReadMany200Response
func (*WebhookAPIService) WebhookUpdate ¶
func (a *WebhookAPIService) WebhookUpdate(ctx context.Context, serverId string, webhookId string) WebhookAPIWebhookUpdateRequest
WebhookUpdate Update a webhook
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId @param webhookId @return WebhookAPIWebhookUpdateRequest
func (*WebhookAPIService) WebhookUpdateExecute ¶
func (a *WebhookAPIService) WebhookUpdateExecute(r WebhookAPIWebhookUpdateRequest) (*WebhookCreate201Response, *http.Response, error)
Execute executes the request
@return WebhookCreate201Response
type WebhookAPIWebhookCreateRequest ¶
type WebhookAPIWebhookCreateRequest struct { ApiService WebhookAPI // contains filtered or unexported fields }
func (WebhookAPIWebhookCreateRequest) Execute ¶
func (r WebhookAPIWebhookCreateRequest) Execute() (*WebhookCreate201Response, *http.Response, error)
func (WebhookAPIWebhookCreateRequest) WebhookCreateRequest ¶
func (r WebhookAPIWebhookCreateRequest) WebhookCreateRequest(webhookCreateRequest WebhookCreateRequest) WebhookAPIWebhookCreateRequest
type WebhookAPIWebhookDeleteRequest ¶
type WebhookAPIWebhookDeleteRequest struct { ApiService WebhookAPI // contains filtered or unexported fields }
type WebhookAPIWebhookReadManyRequest ¶
type WebhookAPIWebhookReadManyRequest struct { ApiService WebhookAPI // contains filtered or unexported fields }
func (WebhookAPIWebhookReadManyRequest) ChannelId ¶
func (r WebhookAPIWebhookReadManyRequest) ChannelId(channelId string) WebhookAPIWebhookReadManyRequest
ID of the channel you want to filter for webhooks
func (WebhookAPIWebhookReadManyRequest) Execute ¶
func (r WebhookAPIWebhookReadManyRequest) Execute() (*WebhookReadMany200Response, *http.Response, error)
type WebhookAPIWebhookReadRequest ¶
type WebhookAPIWebhookReadRequest struct { ApiService WebhookAPI // contains filtered or unexported fields }
func (WebhookAPIWebhookReadRequest) Execute ¶
func (r WebhookAPIWebhookReadRequest) Execute() (*WebhookCreate201Response, *http.Response, error)
type WebhookAPIWebhookUpdateRequest ¶
type WebhookAPIWebhookUpdateRequest struct { ApiService WebhookAPI // contains filtered or unexported fields }
func (WebhookAPIWebhookUpdateRequest) Execute ¶
func (r WebhookAPIWebhookUpdateRequest) Execute() (*WebhookCreate201Response, *http.Response, error)
func (WebhookAPIWebhookUpdateRequest) WebhookUpdateRequest ¶
func (r WebhookAPIWebhookUpdateRequest) WebhookUpdateRequest(webhookUpdateRequest WebhookUpdateRequest) WebhookAPIWebhookUpdateRequest
type WebhookCreate201Response ¶
type WebhookCreate201Response struct {
Webhook Webhook `json:"webhook"`
}
WebhookCreate201Response struct for WebhookCreate201Response
func NewWebhookCreate201Response ¶
func NewWebhookCreate201Response(webhook Webhook) *WebhookCreate201Response
NewWebhookCreate201Response instantiates a new WebhookCreate201Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWebhookCreate201ResponseWithDefaults ¶
func NewWebhookCreate201ResponseWithDefaults() *WebhookCreate201Response
NewWebhookCreate201ResponseWithDefaults instantiates a new WebhookCreate201Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*WebhookCreate201Response) GetWebhook ¶
func (o *WebhookCreate201Response) GetWebhook() Webhook
GetWebhook returns the Webhook field value
func (*WebhookCreate201Response) GetWebhookOk ¶
func (o *WebhookCreate201Response) GetWebhookOk() (*Webhook, bool)
GetWebhookOk returns a tuple with the Webhook field value and a boolean to check if the value has been set.
func (WebhookCreate201Response) MarshalJSON ¶
func (o WebhookCreate201Response) MarshalJSON() ([]byte, error)
func (*WebhookCreate201Response) SetWebhook ¶
func (o *WebhookCreate201Response) SetWebhook(v Webhook)
SetWebhook sets field value
func (WebhookCreate201Response) ToMap ¶
func (o WebhookCreate201Response) ToMap() (map[string]interface{}, error)
func (*WebhookCreate201Response) UnmarshalJSON ¶
func (o *WebhookCreate201Response) UnmarshalJSON(data []byte) (err error)
type WebhookCreateRequest ¶
type WebhookCreateRequest struct { // The name of the webhook Name string `json:"name"` // Channel ID to create the webhook in ChannelId string `json:"channelId"` }
WebhookCreateRequest struct for WebhookCreateRequest
func NewWebhookCreateRequest ¶
func NewWebhookCreateRequest(name string, channelId string) *WebhookCreateRequest
NewWebhookCreateRequest instantiates a new WebhookCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWebhookCreateRequestWithDefaults ¶
func NewWebhookCreateRequestWithDefaults() *WebhookCreateRequest
NewWebhookCreateRequestWithDefaults instantiates a new WebhookCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*WebhookCreateRequest) GetChannelId ¶
func (o *WebhookCreateRequest) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*WebhookCreateRequest) GetChannelIdOk ¶
func (o *WebhookCreateRequest) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*WebhookCreateRequest) GetName ¶
func (o *WebhookCreateRequest) GetName() string
GetName returns the Name field value
func (*WebhookCreateRequest) GetNameOk ¶
func (o *WebhookCreateRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (WebhookCreateRequest) MarshalJSON ¶
func (o WebhookCreateRequest) MarshalJSON() ([]byte, error)
func (*WebhookCreateRequest) SetChannelId ¶
func (o *WebhookCreateRequest) SetChannelId(v string)
SetChannelId sets field value
func (*WebhookCreateRequest) SetName ¶
func (o *WebhookCreateRequest) SetName(v string)
SetName sets field value
func (WebhookCreateRequest) ToMap ¶
func (o WebhookCreateRequest) ToMap() (map[string]interface{}, error)
func (*WebhookCreateRequest) UnmarshalJSON ¶
func (o *WebhookCreateRequest) UnmarshalJSON(data []byte) (err error)
type WebhookReadMany200Response ¶
type WebhookReadMany200Response struct {
Webhooks []Webhook `json:"webhooks"`
}
WebhookReadMany200Response struct for WebhookReadMany200Response
func NewWebhookReadMany200Response ¶
func NewWebhookReadMany200Response(webhooks []Webhook) *WebhookReadMany200Response
NewWebhookReadMany200Response instantiates a new WebhookReadMany200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWebhookReadMany200ResponseWithDefaults ¶
func NewWebhookReadMany200ResponseWithDefaults() *WebhookReadMany200Response
NewWebhookReadMany200ResponseWithDefaults instantiates a new WebhookReadMany200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*WebhookReadMany200Response) GetWebhooks ¶
func (o *WebhookReadMany200Response) GetWebhooks() []Webhook
GetWebhooks returns the Webhooks field value
func (*WebhookReadMany200Response) GetWebhooksOk ¶
func (o *WebhookReadMany200Response) GetWebhooksOk() ([]Webhook, bool)
GetWebhooksOk returns a tuple with the Webhooks field value and a boolean to check if the value has been set.
func (WebhookReadMany200Response) MarshalJSON ¶
func (o WebhookReadMany200Response) MarshalJSON() ([]byte, error)
func (*WebhookReadMany200Response) SetWebhooks ¶
func (o *WebhookReadMany200Response) SetWebhooks(v []Webhook)
SetWebhooks sets field value
func (WebhookReadMany200Response) ToMap ¶
func (o WebhookReadMany200Response) ToMap() (map[string]interface{}, error)
func (*WebhookReadMany200Response) UnmarshalJSON ¶
func (o *WebhookReadMany200Response) UnmarshalJSON(data []byte) (err error)
type WebhookUpdateRequest ¶
type WebhookUpdateRequest struct { // The name of the webhook Name string `json:"name"` // The ID of the channel ChannelId *string `json:"channelId,omitempty"` }
WebhookUpdateRequest struct for WebhookUpdateRequest
func NewWebhookUpdateRequest ¶
func NewWebhookUpdateRequest(name string) *WebhookUpdateRequest
NewWebhookUpdateRequest instantiates a new WebhookUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWebhookUpdateRequestWithDefaults ¶
func NewWebhookUpdateRequestWithDefaults() *WebhookUpdateRequest
NewWebhookUpdateRequestWithDefaults instantiates a new WebhookUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*WebhookUpdateRequest) GetChannelId ¶
func (o *WebhookUpdateRequest) GetChannelId() string
GetChannelId returns the ChannelId field value if set, zero value otherwise.
func (*WebhookUpdateRequest) GetChannelIdOk ¶
func (o *WebhookUpdateRequest) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookUpdateRequest) GetName ¶
func (o *WebhookUpdateRequest) GetName() string
GetName returns the Name field value
func (*WebhookUpdateRequest) GetNameOk ¶
func (o *WebhookUpdateRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*WebhookUpdateRequest) HasChannelId ¶
func (o *WebhookUpdateRequest) HasChannelId() bool
HasChannelId returns a boolean if a field has been set.
func (WebhookUpdateRequest) MarshalJSON ¶
func (o WebhookUpdateRequest) MarshalJSON() ([]byte, error)
func (*WebhookUpdateRequest) SetChannelId ¶
func (o *WebhookUpdateRequest) SetChannelId(v string)
SetChannelId gets a reference to the given string and assigns it to the ChannelId field.
func (*WebhookUpdateRequest) SetName ¶
func (o *WebhookUpdateRequest) SetName(v string)
SetName sets field value
func (WebhookUpdateRequest) ToMap ¶
func (o WebhookUpdateRequest) ToMap() (map[string]interface{}, error)
func (*WebhookUpdateRequest) UnmarshalJSON ¶
func (o *WebhookUpdateRequest) UnmarshalJSON(data []byte) (err error)
Source Files ¶
- api_announcement_comments.go
- api_announcements.go
- api_calendar_event_comments.go
- api_calendar_event_series.go
- api_calendar_events.go
- api_categories.go
- api_channels.go
- api_chat.go
- api_doc_comments.go
- api_docs.go
- api_forum_comments.go
- api_forums.go
- api_group_membership.go
- api_groups.go
- api_list_items.go
- api_member_bans.go
- api_members.go
- api_permission_override.go
- api_reactions.go
- api_role_membership.go
- api_roles.go
- api_server_subscription.go
- api_server_xp.go
- api_servers.go
- api_social_links.go
- api_url_signature.go
- api_user_status.go
- api_users.go
- api_webhook.go
- client.go
- configuration.go
- model_announcement.go
- model_announcement_comment.go
- model_announcement_comment_create_200_response.go
- model_announcement_comment_create_request.go
- model_announcement_comment_reaction.go
- model_announcement_comment_read_many_200_response.go
- model_announcement_create_200_response.go
- model_announcement_create_request.go
- model_announcement_reaction.go
- model_announcement_read_many_200_response.go
- model_announcement_update_request.go
- model_calendar_event.go
- model_calendar_event_cancellation.go
- model_calendar_event_comment.go
- model_calendar_event_comment_create_200_response.go
- model_calendar_event_comment_create_request.go
- model_calendar_event_comment_reaction.go
- model_calendar_event_comment_read_many_200_response.go
- model_calendar_event_create_200_response.go
- model_calendar_event_create_request.go
- model_calendar_event_create_request_repeat_info.go
- model_calendar_event_create_request_repeat_info_every.go
- model_calendar_event_reaction.go
- model_calendar_event_read_many_200_response.go
- model_calendar_event_rsvp.go
- model_calendar_event_rsvp_read_200_response.go
- model_calendar_event_rsvp_read_many_200_response.go
- model_calendar_event_rsvp_update_many_request.go
- model_calendar_event_rsvp_update_request.go
- model_calendar_event_series.go
- model_calendar_event_series_delete_request.go
- model_calendar_event_series_update_request.go
- model_calendar_event_update_request.go
- model_calendar_event_update_request_cancellation.go
- model_category.go
- model_category_create_200_response.go
- model_category_create_request.go
- model_category_update_request.go
- model_channel_category_role_permission.go
- model_channel_category_role_permission_read_200_response.go
- model_channel_category_role_permission_read_many_200_response.go
- model_channel_category_user_permission.go
- model_channel_category_user_permission_read_200_response.go
- model_channel_category_user_permission_read_many_200_response.go
- model_channel_create_201_response.go
- model_channel_message_create_201_response.go
- model_channel_message_create_request.go
- model_channel_message_read_many_200_response.go
- model_channel_message_update_200_response.go
- model_channel_message_update_200_response_message.go
- model_channel_message_update_request.go
- model_channel_role_permission.go
- model_channel_role_permission_create_request.go
- model_channel_role_permission_read_200_response.go
- model_channel_role_permission_read_many_200_response.go
- model_channel_update_request.go
- model_channel_user_permission.go
- model_channel_user_permission_read_200_response.go
- model_channel_user_permission_read_many_200_response.go
- model_chat_embed.go
- model_chat_embed_author.go
- model_chat_embed_fields_inner.go
- model_chat_embed_footer.go
- model_chat_embed_image.go
- model_chat_embed_thumbnail.go
- model_chat_message.go
- model_chat_message_reaction.go
- model_content.go
- model_content_1.go
- model_content_2.go
- model_content_3.go
- model_content_4.go
- model_doc.go
- model_doc_comment.go
- model_doc_comment_create_201_response.go
- model_doc_comment_create_request.go
- model_doc_comment_reaction.go
- model_doc_comment_read_many_200_response.go
- model_doc_create_201_response.go
- model_doc_create_request.go
- model_doc_reaction.go
- model_doc_read_many_200_response.go
- model_doc_update_request.go
- model_emote.go
- model_forum_topic.go
- model_forum_topic_comment.go
- model_forum_topic_comment_create_201_response.go
- model_forum_topic_comment_create_request.go
- model_forum_topic_comment_reaction.go
- model_forum_topic_comment_read_many_200_response.go
- model_forum_topic_comment_update_request.go
- model_forum_topic_create_201_response.go
- model_forum_topic_create_request.go
- model_forum_topic_reaction.go
- model_forum_topic_read_many_200_response.go
- model_forum_topic_summary.go
- model_forum_topic_update_request.go
- model_group.go
- model_group_create_201_response.go
- model_group_create_request.go
- model_group_read_many_200_response.go
- model_group_update_request.go
- model_list_item.go
- model_list_item_create_201_response.go
- model_list_item_create_request.go
- model_list_item_create_request_note.go
- model_list_item_note.go
- model_list_item_read_many_200_response.go
- model_list_item_summary.go
- model_list_item_summary_note.go
- model_list_item_update_request.go
- model_list_item_update_request_note.go
- model_member_nickname_update_200_response.go
- model_member_nickname_update_request.go
- model_member_social_link_read_200_response.go
- model_mentions.go
- model_message.go
- model_note.go
- model_role.go
- model_role_create_200_response.go
- model_role_create_request.go
- model_role_membership_read_many_200_response.go
- model_role_permission_update_request.go
- model_role_read_many_200_response.go
- model_role_update_request.go
- model_server.go
- model_server_channel.go
- model_server_member.go
- model_server_member_ban.go
- model_server_member_ban_create_request.go
- model_server_member_ban_read_200_response.go
- model_server_member_ban_read_many_200_response.go
- model_server_member_permissions.go
- model_server_member_permissions_read_200_response.go
- model_server_member_read_200_response.go
- model_server_member_read_many_200_response.go
- model_server_member_summary.go
- model_server_read_200_response.go
- model_server_subscription_tier.go
- model_server_subscription_tier_read_200_response.go
- model_server_subscription_tier_read_many_200_response.go
- model_server_xp_for_user_create_many_request.go
- model_server_xp_for_user_create_request.go
- model_server_xp_for_user_update_200_response.go
- model_server_xp_for_user_update_many_200_response.go
- model_server_xp_for_user_update_many_request.go
- model_server_xp_for_user_update_request.go
- model_social_link.go
- model_url_signature.go
- model_url_signature_create_many_200_response.go
- model_url_signature_create_many_request.go
- model_user.go
- model_user_id.go
- model_user_id_1.go
- model_user_read_200_response.go
- model_user_server_read_many_200_response.go
- model_user_status.go
- model_user_status_create_request.go
- model_user_summary.go
- model_webhook.go
- model_webhook_create_201_response.go
- model_webhook_create_request.go
- model_webhook_read_many_200_response.go
- model_webhook_update_request.go
- response.go
- utils.go