guildedgo

package module
v0.0.0-...-421bee4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2024 License: MIT Imports: 20 Imported by: 0

README

Go API client for guildedgo

Welcome to the Guilded Bot API early access program! This is a preview of the upcoming Guilded Bot API. It is still being worked on and is expected to change before release.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 0.0.1
  • Package version: 1.0.0
  • Generator version: 7.6.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://www.guilded.gg

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import guildedgo "github.com/inventorgg/guildedgo"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value guildedgo.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), guildedgo.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value guildedgo.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), guildedgo.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using guildedgo.ContextOperationServerIndices and guildedgo.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), guildedgo.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), guildedgo.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://www.guilded.gg/api/v1

Class Method HTTP request Description
AnnouncementCommentsAPI AnnouncementCommentCreate Post /channels/{channelId}/announcements/{announcementId}/comments Create a comment on an announcement
AnnouncementCommentsAPI AnnouncementCommentDelete Delete /channels/{channelId}/announcements/{announcementId}/comments/{announcementCommentId} Delete an announcement comment
AnnouncementCommentsAPI AnnouncementCommentRead Get /channels/{channelId}/announcements/{announcementId}/comments/{announcementCommentId} Get a comment on the announcement
AnnouncementCommentsAPI AnnouncementCommentReadMany Get /channels/{channelId}/announcements/{announcementId}/comments Get an announcement's comments
AnnouncementCommentsAPI AnnouncementCommentUpdate Patch /channels/{channelId}/announcements/{announcementId}/comments/{announcementCommentId} Update an announcement comment
AnnouncementsAPI AnnouncementCreate Post /channels/{channelId}/announcements Create an announcement
AnnouncementsAPI AnnouncementDelete Delete /channels/{channelId}/announcements/{announcementId} Delete an announcement
AnnouncementsAPI AnnouncementRead Get /channels/{channelId}/announcements/{announcementId} Read an announcement
AnnouncementsAPI AnnouncementReadMany Get /channels/{channelId}/announcements Get announcements
AnnouncementsAPI AnnouncementUpdate Patch /channels/{channelId}/announcements/{announcementId} Update an announcement
CalendarEventCommentsAPI CalendarEventCommentCreate Post /channels/{channelId}/events/{calendarEventId}/comments Create a comment on a calendar event
CalendarEventCommentsAPI CalendarEventCommentDelete Delete /channels/{channelId}/events/{calendarEventId}/comments/{calendarEventCommentId} Delete a calendar event comment
CalendarEventCommentsAPI CalendarEventCommentRead Get /channels/{channelId}/events/{calendarEventId}/comments/{calendarEventCommentId} Get a comment on the calendar event
CalendarEventCommentsAPI CalendarEventCommentReadMany Get /channels/{channelId}/events/{calendarEventId}/comments Get a calendar event's comments
CalendarEventCommentsAPI CalendarEventCommentUpdate Patch /channels/{channelId}/events/{calendarEventId}/comments/{calendarEventCommentId} Update a calendar event comment
CalendarEventSeriesAPI CalendarEventSeriesDelete Delete /channels/{channelId}/event_series/{calendarEventSeriesId} Delete a calendar event series
CalendarEventSeriesAPI CalendarEventSeriesUpdate Patch /channels/{channelId}/event_series/{calendarEventSeriesId} Update a calendar event series
CalendarEventsAPI CalendarEventCreate Post /channels/{channelId}/events Create a calendar event
CalendarEventsAPI CalendarEventDelete Delete /channels/{channelId}/events/{calendarEventId} Delete a calendar event
CalendarEventsAPI CalendarEventRead Get /channels/{channelId}/events/{calendarEventId} Get a calendar event
CalendarEventsAPI CalendarEventReadMany Get /channels/{channelId}/events Get calendar events
CalendarEventsAPI CalendarEventRsvpDelete Delete /channels/{channelId}/events/{calendarEventId}/rsvps/{userId} Delete a calendar event RSVP
CalendarEventsAPI CalendarEventRsvpRead Get /channels/{channelId}/events/{calendarEventId}/rsvps/{userId} Get a calendar event RSVP
CalendarEventsAPI CalendarEventRsvpReadMany Get /channels/{channelId}/events/{calendarEventId}/rsvps Get calendar event RSVPs
CalendarEventsAPI CalendarEventRsvpUpdate Put /channels/{channelId}/events/{calendarEventId}/rsvps/{userId} Create or update a calendar event RSVP
CalendarEventsAPI CalendarEventRsvpUpdateMany Put /channels/{channelId}/events/{calendarEventId}/rsvps Create or update a calendar event RSVP for multiple users
CalendarEventsAPI CalendarEventUpdate Patch /channels/{channelId}/events/{calendarEventId} Update a calendar event
CategoriesAPI CategoryCreate Post /servers/{serverId}/categories Create a category
CategoriesAPI CategoryDelete Delete /servers/{serverId}/categories/{categoryId} Delete a category
CategoriesAPI CategoryRead Get /servers/{serverId}/categories/{categoryId} Read a category
CategoriesAPI CategoryUpdate Patch /servers/{serverId}/categories/{categoryId} Update a category
ChannelsAPI ChannelArchiveCreate Put /channels/{channelId}/archive Archive a channel
ChannelsAPI ChannelArchiveDelete Delete /channels/{channelId}/archive Restore an archived channel
ChannelsAPI ChannelCreate Post /channels Create a channel
ChannelsAPI ChannelDelete Delete /channels/{channelId} Delete a channel
ChannelsAPI ChannelRead Get /channels/{channelId} Get a channel
ChannelsAPI ChannelUpdate Patch /channels/{channelId} Update a channel
ChatAPI ChannelMessageCreate Post /channels/{channelId}/messages Create a channel message
ChatAPI ChannelMessageDelete Delete /channels/{channelId}/messages/{messageId} Delete a channel message
ChatAPI ChannelMessagePinCreate Post /channels/{channelId}/messages/{messageId}/pin Pin a message
ChatAPI ChannelMessagePinDelete Delete /channels/{channelId}/messages/{messageId}/pin Unpin a message
ChatAPI ChannelMessageRead Get /channels/{channelId}/messages/{messageId} Get a channel message
ChatAPI ChannelMessageReadMany Get /channels/{channelId}/messages Get channel messages
ChatAPI ChannelMessageUpdate Put /channels/{channelId}/messages/{messageId} Update a channel message
DocCommentsAPI DocCommentCreate Post /channels/{channelId}/docs/{docId}/comments Create a comment on a doc
DocCommentsAPI DocCommentDelete Delete /channels/{channelId}/docs/{docId}/comments/{docCommentId} Delete a doc comment
DocCommentsAPI DocCommentRead Get /channels/{channelId}/docs/{docId}/comments/{docCommentId} Get a comment on a doc
DocCommentsAPI DocCommentReadMany Get /channels/{channelId}/docs/{docId}/comments Get a doc's comments
DocCommentsAPI DocCommentUpdate Patch /channels/{channelId}/docs/{docId}/comments/{docCommentId} Update a doc comment
DocsAPI DocCreate Post /channels/{channelId}/docs Create a doc
DocsAPI DocDelete Delete /channels/{channelId}/docs/{docId} Delete a doc
DocsAPI DocRead Get /channels/{channelId}/docs/{docId} Get a doc
DocsAPI DocReadMany Get /channels/{channelId}/docs Get docs
DocsAPI DocUpdate Put /channels/{channelId}/docs/{docId} Update a doc
ForumCommentsAPI ForumTopicCommentCreate Post /channels/{channelId}/topics/{forumTopicId}/comments Create a forum topic comment
ForumCommentsAPI ForumTopicCommentDelete Delete /channels/{channelId}/topics/{forumTopicId}/comments/{forumTopicCommentId} Delete a forum topic comment
ForumCommentsAPI ForumTopicCommentRead Get /channels/{channelId}/topics/{forumTopicId}/comments/{forumTopicCommentId} Get a comment on a forum topic
ForumCommentsAPI ForumTopicCommentReadMany Get /channels/{channelId}/topics/{forumTopicId}/comments Get a forum topic's comments
ForumCommentsAPI ForumTopicCommentUpdate Patch /channels/{channelId}/topics/{forumTopicId}/comments/{forumTopicCommentId} Update a forum topic comment
ForumsAPI ForumTopicCreate Post /channels/{channelId}/topics Create a topic in a forum
ForumsAPI ForumTopicDelete Delete /channels/{channelId}/topics/{forumTopicId} Delete a forum topic
ForumsAPI ForumTopicLock Put /channels/{channelId}/topics/{forumTopicId}/lock Lock a forum topic
ForumsAPI ForumTopicPin Put /channels/{channelId}/topics/{forumTopicId}/pin Pin a forum topic
ForumsAPI ForumTopicRead Get /channels/{channelId}/topics/{forumTopicId} Get a forum topic
ForumsAPI ForumTopicReadMany Get /channels/{channelId}/topics Get forum topics
ForumsAPI ForumTopicUnlock Delete /channels/{channelId}/topics/{forumTopicId}/lock Unlock a forum topic
ForumsAPI ForumTopicUnpin Delete /channels/{channelId}/topics/{forumTopicId}/pin Unpin a forum topic
ForumsAPI ForumTopicUpdate Patch /channels/{channelId}/topics/{forumTopicId} Update a forum topic
GroupMembershipAPI GroupMembershipCreate Put /groups/{groupId}/members/{userId} Add member to group
GroupMembershipAPI GroupMembershipDelete Delete /groups/{groupId}/members/{userId} Remove member from group
GroupsAPI GroupCreate Post /servers/{serverId}/groups Create a group
GroupsAPI GroupDelete Delete /servers/{serverId}/groups/{groupId} Delete a group
GroupsAPI GroupRead Get /servers/{serverId}/groups/{groupId} Get a group
GroupsAPI GroupReadMany Get /servers/{serverId}/groups Get groups
GroupsAPI GroupUpdate Patch /servers/{serverId}/groups/{groupId} Update a group
ListItemsAPI ListItemCompleteCreate Post /channels/{channelId}/items/{listItemId}/complete Complete a list item
ListItemsAPI ListItemCompleteDelete Delete /channels/{channelId}/items/{listItemId}/complete Uncomplete a list item
ListItemsAPI ListItemCreate Post /channels/{channelId}/items Create a list item
ListItemsAPI ListItemDelete Delete /channels/{channelId}/items/{listItemId} Delete a list item
ListItemsAPI ListItemRead Get /channels/{channelId}/items/{listItemId} Get a list item
ListItemsAPI ListItemReadMany Get /channels/{channelId}/items Get list items within a channel
ListItemsAPI ListItemUpdate Patch /channels/{channelId}/items/{listItemId} Update a list item
MemberBansAPI ServerMemberBanCreate Post /servers/{serverId}/bans/{userId} Create a server ban
MemberBansAPI ServerMemberBanDelete Delete /servers/{serverId}/bans/{userId} Delete a server ban
MemberBansAPI ServerMemberBanRead Get /servers/{serverId}/bans/{userId} Get a server ban
MemberBansAPI ServerMemberBanReadMany Get /servers/{serverId}/bans Get server bans
MembersAPI MemberNicknameDelete Delete /servers/{serverId}/members/{userId}/nickname Delete a member's nickname
MembersAPI MemberNicknameUpdate Put /servers/{serverId}/members/{userId}/nickname Update a member's nickname
MembersAPI ServerMemberDelete Delete /servers/{serverId}/members/{userId} Kick a server member
MembersAPI ServerMemberRead Get /servers/{serverId}/members/{userId} Get a server member
MembersAPI ServerMemberReadMany Get /servers/{serverId}/members Get members of a server
PermissionOverrideAPI ChannelCategoryRolePermissionCreate Post /servers/{serverId}/categories/{categoryId}/permissions/roles/{roleId} Create a channel category role permission
PermissionOverrideAPI ChannelCategoryRolePermissionDelete Delete /servers/{serverId}/categories/{categoryId}/permissions/roles/{roleId} Delete a channel category role permission
PermissionOverrideAPI ChannelCategoryRolePermissionRead Get /servers/{serverId}/categories/{categoryId}/permissions/roles/{roleId} Read a channel category role permission
PermissionOverrideAPI ChannelCategoryRolePermissionReadMany Get /servers/{serverId}/categories/{categoryId}/permissions/roles Get a list of the channel category role permissions
PermissionOverrideAPI ChannelCategoryRolePermissionUpdate Patch /servers/{serverId}/categories/{categoryId}/permissions/roles/{roleId} Update a channel category role permission
PermissionOverrideAPI ChannelCategoryUserPermissionCreate Post /servers/{serverId}/categories/{categoryId}/permissions/users/{userId} Create a channel category user permission
PermissionOverrideAPI ChannelCategoryUserPermissionDelete Delete /servers/{serverId}/categories/{categoryId}/permissions/users/{userId} Delete a channel category user permission
PermissionOverrideAPI ChannelCategoryUserPermissionRead Get /servers/{serverId}/categories/{categoryId}/permissions/users/{userId} Read a channel category user permission
PermissionOverrideAPI ChannelCategoryUserPermissionReadMany Get /servers/{serverId}/categories/{categoryId}/permissions/users Get a list of the channel category user permissions
PermissionOverrideAPI ChannelCategoryUserPermissionUpdate Patch /servers/{serverId}/categories/{categoryId}/permissions/users/{userId} Update a channel category user permission
PermissionOverrideAPI ChannelRolePermissionCreate Post /servers/{serverId}/channels/{channelId}/permissions/roles/{roleId} Create a channel role permission
PermissionOverrideAPI ChannelRolePermissionDelete Delete /servers/{serverId}/channels/{channelId}/permissions/roles/{roleId} Delete a channel role permission
PermissionOverrideAPI ChannelRolePermissionRead Get /servers/{serverId}/channels/{channelId}/permissions/roles/{roleId} Read a channel role permission
PermissionOverrideAPI ChannelRolePermissionReadMany Get /servers/{serverId}/channels/{channelId}/permissions/roles ReadMany a channel role permission
PermissionOverrideAPI ChannelRolePermissionUpdate Patch /servers/{serverId}/channels/{channelId}/permissions/roles/{roleId} Update a channel role permission
PermissionOverrideAPI ChannelUserPermissionCreate Post /servers/{serverId}/channels/{channelId}/permissions/users/{userId} Create a channel user permission
PermissionOverrideAPI ChannelUserPermissionDelete Delete /servers/{serverId}/channels/{channelId}/permissions/users/{userId} Delete a channel user permission
PermissionOverrideAPI ChannelUserPermissionRead Get /servers/{serverId}/channels/{channelId}/permissions/users/{userId} Read a channel user permission
PermissionOverrideAPI ChannelUserPermissionReadMany Get /servers/{serverId}/channels/{channelId}/permissions/users Read a channel user permission
PermissionOverrideAPI ChannelUserPermissionUpdate Patch /servers/{serverId}/channels/{channelId}/permissions/users/{userId} Update a channel user permission
ReactionsAPI AnnouncementCommentReactionCreate Put /channels/{channelId}/announcements/{announcementId}/comments/{announcementCommentId}/emotes/{emoteId} Create an announcement comment reaction
ReactionsAPI AnnouncementCommentReactionDelete Delete /channels/{channelId}/announcements/{announcementId}/comments/{announcementCommentId}/emotes/{emoteId} Delete an announcement comment reaction
ReactionsAPI AnnouncementReactionCreate Put /channels/{channelId}/announcements/{announcementId}/emotes/{emoteId} Create announcement reaction
ReactionsAPI AnnouncementReactionDelete Delete /channels/{channelId}/announcements/{announcementId}/emotes/{emoteId} Delete announcement reaction
ReactionsAPI CalendarEventCommentReactionCreate Put /channels/{channelId}/events/{calendarEventId}/comments/{calendarEventCommentId}/emotes/{emoteId} Create calendar event comment reaction
ReactionsAPI CalendarEventCommentReactionDelete Delete /channels/{channelId}/events/{calendarEventId}/comments/{calendarEventCommentId}/emotes/{emoteId} Delete calendar event comment reaction
ReactionsAPI CalendarEventReactionCreate Put /channels/{channelId}/events/{calendarEventId}/emotes/{emoteId} Create calendar event reaction
ReactionsAPI CalendarEventReactionDelete Delete /channels/{channelId}/events/{calendarEventId}/emotes/{emoteId} Delete calendar event reaction
ReactionsAPI ChannelMessageReactionCreate Put /channels/{channelId}/messages/{messageId}/emotes/{emoteId} Create a message reaction
ReactionsAPI ChannelMessageReactionDelete Delete /channels/{channelId}/messages/{messageId}/emotes/{emoteId} Delete a message reaction
ReactionsAPI ChannelMessageReactionDeleteMany Delete /channels/{channelId}/messages/{messageId}/emotes Bulk delete a message's reactions
ReactionsAPI DocCommentReactionCreate Put /channels/{channelId}/docs/{docId}/comments/{docCommentId}/emotes/{emoteId} Create doc comment reaction
ReactionsAPI DocCommentReactionDelete Delete /channels/{channelId}/docs/{docId}/comments/{docCommentId}/emotes/{emoteId} Delete doc comment reaction
ReactionsAPI DocReactionCreate Put /channels/{channelId}/docs/{docId}/emotes/{emoteId} Create doc reaction
ReactionsAPI DocReactionDelete Delete /channels/{channelId}/docs/{docId}/emotes/{emoteId} Delete doc reaction
ReactionsAPI ForumTopicCommentReactionCreate Put /channels/{channelId}/topics/{forumTopicId}/comments/{forumTopicCommentId}/emotes/{emoteId} Create forum topic comment reaction
ReactionsAPI ForumTopicCommentReactionDelete Delete /channels/{channelId}/topics/{forumTopicId}/comments/{forumTopicCommentId}/emotes/{emoteId} Delete forum topic comment reaction
ReactionsAPI ForumTopicReactionCreate Put /channels/{channelId}/topics/{forumTopicId}/emotes/{emoteId} Create forum topic reaction
ReactionsAPI ForumTopicReactionDelete Delete /channels/{channelId}/topics/{forumTopicId}/emotes/{emoteId} Delete forum topic reaction
RoleMembershipAPI RoleMembershipCreate Put /servers/{serverId}/members/{userId}/roles/{roleId} Assign role to member
RoleMembershipAPI RoleMembershipDelete Delete /servers/{serverId}/members/{userId}/roles/{roleId} Remove role from member
RoleMembershipAPI RoleMembershipReadMany Get /servers/{serverId}/members/{userId}/roles Get member roles
RolesAPI RoleCreate Post /servers/{serverId}/roles Create a role
RolesAPI RoleDelete Delete /servers/{serverId}/roles/{roleId} Delete a role
RolesAPI RolePermissionUpdate Patch /servers/{serverId}/roles/{roleId}/permissions Update a role permission
RolesAPI RoleRead Get /servers/{serverId}/roles/{roleId} Get a role
RolesAPI RoleReadMany Get /servers/{serverId}/roles Get roles
RolesAPI RoleUpdate Patch /servers/{serverId}/roles/{roleId} Update a role
RolesAPI ServerMemberPermissionsRead Get /servers/{serverId}/members/{userId}/permissions Read a server member's permissions
ServerSubscriptionAPI ServerSubscriptionTierRead Get /servers/{serverId}/subscriptions/tiers/{serverSubscriptionTierType} Get a server subscription tier
ServerSubscriptionAPI ServerSubscriptionTierReadMany Get /servers/{serverId}/subscriptions/tiers Get server subscription tiers
ServerXpAPI ServerXpForRoleCreate Post /servers/{serverId}/roles/{roleId}/xp Award XP to role
ServerXpAPI ServerXpForUserCreate Post /servers/{serverId}/members/{userId}/xp Award XP to a member
ServerXpAPI ServerXpForUserCreateMany Post /servers/{serverId}/xp Bulk award XP to members
ServerXpAPI ServerXpForUserUpdate Put /servers/{serverId}/members/{userId}/xp Set a member's XP
ServerXpAPI ServerXpForUserUpdateMany Put /servers/{serverId}/xp Bulk set members' XP
ServersAPI ServerRead Get /servers/{serverId} Get a server
SocialLinksAPI MemberSocialLinkRead Get /servers/{serverId}/members/{userId}/social-links/{socialLinkType} Retrieves a member's public social links
UrlSignatureAPI UrlSignatureCreateMany Post /url-signatures Create URL signatures
UserStatusAPI UserStatusCreate Put /users/{userId}/status Update your status
UserStatusAPI UserStatusDelete Delete /users/{userId}/status Delete your status
UsersAPI UserRead Get /users/{userId} Get a user
UsersAPI UserServerReadMany Get /users/{userId}/servers Get a users servers
WebhookAPI WebhookCreate Post /servers/{serverId}/webhooks Create a webhook
WebhookAPI WebhookDelete Delete /servers/{serverId}/webhooks/{webhookId} Delete a server webhook
WebhookAPI WebhookRead Get /servers/{serverId}/webhooks/{webhookId} Get a server's webhook
WebhookAPI WebhookReadMany Get /servers/{serverId}/webhooks Get a server's webhooks
WebhookAPI WebhookUpdate Put /servers/{serverId}/webhooks/{webhookId} Update a webhook

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

bearerToken
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), guildedgo.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

support@guilded.gg

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
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

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time 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

type APIKey struct {
	Key    string
	Prefix string
}

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) GetId

func (o *Announcement) GetId() string

GetId returns the Id field value

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) SetId

func (o *Announcement) SetId(v string)

SetId 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) SetTitle

func (o *Announcement) SetTitle(v string)

SetTitle 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 (AnnouncementCommentsAPIAnnouncementCommentCreateRequest) Execute

type AnnouncementCommentsAPIAnnouncementCommentDeleteRequest

type AnnouncementCommentsAPIAnnouncementCommentDeleteRequest struct {
	ApiService AnnouncementCommentsAPI
	// contains filtered or unexported fields
}

func (AnnouncementCommentsAPIAnnouncementCommentDeleteRequest) Execute

type AnnouncementCommentsAPIAnnouncementCommentReadManyRequest

type AnnouncementCommentsAPIAnnouncementCommentReadManyRequest struct {
	ApiService AnnouncementCommentsAPI
	// contains filtered or unexported fields
}

func (AnnouncementCommentsAPIAnnouncementCommentReadManyRequest) Execute

type AnnouncementCommentsAPIAnnouncementCommentReadRequest

type AnnouncementCommentsAPIAnnouncementCommentReadRequest struct {
	ApiService AnnouncementCommentsAPI
	// contains filtered or unexported fields
}

func (AnnouncementCommentsAPIAnnouncementCommentReadRequest) Execute

type AnnouncementCommentsAPIAnnouncementCommentUpdateRequest

type AnnouncementCommentsAPIAnnouncementCommentUpdateRequest struct {
	ApiService AnnouncementCommentsAPI
	// contains filtered or unexported fields
}

func (AnnouncementCommentsAPIAnnouncementCommentUpdateRequest) AnnouncementCommentCreateRequest

func (AnnouncementCommentsAPIAnnouncementCommentUpdateRequest) Execute

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

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

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

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

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

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 (AnnouncementsAPIAnnouncementCreateRequest) Execute

type AnnouncementsAPIAnnouncementDeleteRequest

type AnnouncementsAPIAnnouncementDeleteRequest struct {
	ApiService AnnouncementsAPI
	// contains filtered or unexported fields
}

func (AnnouncementsAPIAnnouncementDeleteRequest) Execute

type AnnouncementsAPIAnnouncementReadManyRequest

type AnnouncementsAPIAnnouncementReadManyRequest struct {
	ApiService AnnouncementsAPI
	// contains filtered or unexported fields
}

func (AnnouncementsAPIAnnouncementReadManyRequest) Before

func (AnnouncementsAPIAnnouncementReadManyRequest) Execute

func (AnnouncementsAPIAnnouncementReadManyRequest) Limit

type AnnouncementsAPIAnnouncementReadRequest

type AnnouncementsAPIAnnouncementReadRequest struct {
	ApiService AnnouncementsAPI
	// contains filtered or unexported fields
}

func (AnnouncementsAPIAnnouncementReadRequest) Execute

type AnnouncementsAPIAnnouncementUpdateRequest

type AnnouncementsAPIAnnouncementUpdateRequest struct {
	ApiService AnnouncementsAPI
	// contains filtered or unexported fields
}

func (AnnouncementsAPIAnnouncementUpdateRequest) AnnouncementUpdateRequest

func (AnnouncementsAPIAnnouncementUpdateRequest) Execute

type AnnouncementsAPIService

type AnnouncementsAPIService service

AnnouncementsAPIService AnnouncementsAPI service

func (*AnnouncementsAPIService) AnnouncementCreate

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

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

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

Execute executes the request

@return AnnouncementCreate200Response

func (*AnnouncementsAPIService) AnnouncementReadMany

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

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

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) SetId

func (o *CalendarEvent) SetId(v int32)

SetId 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) SetName

func (o *CalendarEvent) SetName(v string)

SetName sets field value

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 (CalendarEventCommentsAPICalendarEventCommentCreateRequest) Execute

type CalendarEventCommentsAPICalendarEventCommentDeleteRequest

type CalendarEventCommentsAPICalendarEventCommentDeleteRequest struct {
	ApiService CalendarEventCommentsAPI
	// contains filtered or unexported fields
}

func (CalendarEventCommentsAPICalendarEventCommentDeleteRequest) Execute

type CalendarEventCommentsAPICalendarEventCommentReadManyRequest

type CalendarEventCommentsAPICalendarEventCommentReadManyRequest struct {
	ApiService CalendarEventCommentsAPI
	// contains filtered or unexported fields
}

func (CalendarEventCommentsAPICalendarEventCommentReadManyRequest) Execute

type CalendarEventCommentsAPICalendarEventCommentReadRequest

type CalendarEventCommentsAPICalendarEventCommentReadRequest struct {
	ApiService CalendarEventCommentsAPI
	// contains filtered or unexported fields
}

func (CalendarEventCommentsAPICalendarEventCommentReadRequest) Execute

type CalendarEventCommentsAPICalendarEventCommentUpdateRequest

type CalendarEventCommentsAPICalendarEventCommentUpdateRequest struct {
	ApiService CalendarEventCommentsAPI
	// contains filtered or unexported fields
}

func (CalendarEventCommentsAPICalendarEventCommentUpdateRequest) CalendarEventCommentCreateRequest

func (CalendarEventCommentsAPICalendarEventCommentUpdateRequest) Execute

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

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

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

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

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

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

GetRepeatInfo returns the RepeatInfo field value if set, zero value otherwise.

func (*CalendarEventCreateRequest) GetRepeatInfoOk

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

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

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

GetEvery returns the Every field value if set, zero value otherwise.

func (*CalendarEventCreateRequestRepeatInfo) GetEveryOk

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

GetOn returns the On field value if set, zero value otherwise.

func (*CalendarEventCreateRequestRepeatInfo) GetOnOk

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

GetType returns the Type field value

func (*CalendarEventCreateRequestRepeatInfo) GetTypeOk

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*CalendarEventCreateRequestRepeatInfo) HasEndDate

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

HasEvery returns a boolean if a field has been set.

func (*CalendarEventCreateRequestRepeatInfo) HasOn

HasOn returns a boolean if a field has been set.

func (CalendarEventCreateRequestRepeatInfo) MarshalJSON

func (o CalendarEventCreateRequestRepeatInfo) MarshalJSON() ([]byte, error)

func (*CalendarEventCreateRequestRepeatInfo) SetEndDate

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

SetEvery gets a reference to the given CalendarEventCreateRequestRepeatInfoEvery and assigns it to the Every field.

func (*CalendarEventCreateRequestRepeatInfo) SetOn

SetOn gets a reference to the given []string and assigns it to the On field.

func (*CalendarEventCreateRequestRepeatInfo) SetType

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

GetCount returns the Count field value

func (*CalendarEventCreateRequestRepeatInfoEvery) GetCountOk

GetCountOk returns a tuple with the Count field value and a boolean to check if the value has been set.

func (*CalendarEventCreateRequestRepeatInfoEvery) GetInterval

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 (*CalendarEventCreateRequestRepeatInfoEvery) SetCount

SetCount sets field value

func (*CalendarEventCreateRequestRepeatInfoEvery) SetInterval

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

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

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 (CalendarEventSeriesAPICalendarEventSeriesDeleteRequest) Execute

type CalendarEventSeriesAPICalendarEventSeriesUpdateRequest

type CalendarEventSeriesAPICalendarEventSeriesUpdateRequest struct {
	ApiService CalendarEventSeriesAPI
	// contains filtered or unexported fields
}

func (CalendarEventSeriesAPICalendarEventSeriesUpdateRequest) CalendarEventSeriesUpdateRequest

func (CalendarEventSeriesAPICalendarEventSeriesUpdateRequest) Execute

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

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

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

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

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

GetRepeatInfo returns the RepeatInfo field value if set, zero value otherwise.

func (*CalendarEventSeriesUpdateRequest) GetRepeatInfoOk

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

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

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

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

SetName gets a reference to the given string and assigns it to the Name field.

func (*CalendarEventSeriesUpdateRequest) SetRepeatInfo

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

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

GetCancellation returns the Cancellation field value if set, zero value otherwise.

func (*CalendarEventUpdateRequest) GetCancellationOk

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

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 (CalendarEventsAPICalendarEventCreateRequest) Execute

type CalendarEventsAPICalendarEventDeleteRequest

type CalendarEventsAPICalendarEventDeleteRequest struct {
	ApiService CalendarEventsAPI
	// contains filtered or unexported fields
}

func (CalendarEventsAPICalendarEventDeleteRequest) Execute

type CalendarEventsAPICalendarEventReadManyRequest

type CalendarEventsAPICalendarEventReadManyRequest struct {
	ApiService CalendarEventsAPI
	// contains filtered or unexported fields
}

func (CalendarEventsAPICalendarEventReadManyRequest) After

func (CalendarEventsAPICalendarEventReadManyRequest) Before

func (CalendarEventsAPICalendarEventReadManyRequest) Execute

func (CalendarEventsAPICalendarEventReadManyRequest) Limit

type CalendarEventsAPICalendarEventReadRequest

type CalendarEventsAPICalendarEventReadRequest struct {
	ApiService CalendarEventsAPI
	// contains filtered or unexported fields
}

func (CalendarEventsAPICalendarEventReadRequest) Execute

type CalendarEventsAPICalendarEventRsvpDeleteRequest

type CalendarEventsAPICalendarEventRsvpDeleteRequest struct {
	ApiService CalendarEventsAPI
	// contains filtered or unexported fields
}

func (CalendarEventsAPICalendarEventRsvpDeleteRequest) Execute

type CalendarEventsAPICalendarEventRsvpReadManyRequest

type CalendarEventsAPICalendarEventRsvpReadManyRequest struct {
	ApiService CalendarEventsAPI
	// contains filtered or unexported fields
}

func (CalendarEventsAPICalendarEventRsvpReadManyRequest) Execute

type CalendarEventsAPICalendarEventRsvpReadRequest

type CalendarEventsAPICalendarEventRsvpReadRequest struct {
	ApiService CalendarEventsAPI
	// contains filtered or unexported fields
}

func (CalendarEventsAPICalendarEventRsvpReadRequest) Execute

type CalendarEventsAPICalendarEventRsvpUpdateManyRequest

type CalendarEventsAPICalendarEventRsvpUpdateManyRequest struct {
	ApiService CalendarEventsAPI
	// contains filtered or unexported fields
}

func (CalendarEventsAPICalendarEventRsvpUpdateManyRequest) CalendarEventRsvpUpdateManyRequest

func (CalendarEventsAPICalendarEventRsvpUpdateManyRequest) Execute

type CalendarEventsAPICalendarEventRsvpUpdateRequest

type CalendarEventsAPICalendarEventRsvpUpdateRequest struct {
	ApiService CalendarEventsAPI
	// contains filtered or unexported fields
}

func (CalendarEventsAPICalendarEventRsvpUpdateRequest) CalendarEventRsvpUpdateRequest

func (CalendarEventsAPICalendarEventRsvpUpdateRequest) Execute

type CalendarEventsAPICalendarEventUpdateRequest

type CalendarEventsAPICalendarEventUpdateRequest struct {
	ApiService CalendarEventsAPI
	// contains filtered or unexported fields
}

func (CalendarEventsAPICalendarEventUpdateRequest) CalendarEventUpdateRequest

func (CalendarEventsAPICalendarEventUpdateRequest) Execute

type CalendarEventsAPIService

type CalendarEventsAPIService service

CalendarEventsAPIService CalendarEventsAPI service

func (*CalendarEventsAPIService) CalendarEventCreate

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

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

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

Execute executes the request

@return CalendarEventCreate200Response

func (*CalendarEventsAPIService) CalendarEventReadMany

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

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

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

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

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

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

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

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 (CategoriesAPICategoryCreateRequest) Execute

type CategoriesAPICategoryDeleteRequest

type CategoriesAPICategoryDeleteRequest struct {
	ApiService CategoriesAPI
	// contains filtered or unexported fields
}

func (CategoriesAPICategoryDeleteRequest) Execute

type CategoriesAPICategoryReadRequest

type CategoriesAPICategoryReadRequest struct {
	ApiService CategoriesAPI
	// contains filtered or unexported fields
}

func (CategoriesAPICategoryReadRequest) Execute

type CategoriesAPICategoryUpdateRequest

type CategoriesAPICategoryUpdateRequest struct {
	ApiService CategoriesAPI
	// contains filtered or unexported fields
}

func (CategoriesAPICategoryUpdateRequest) CategoryUpdateRequest

func (CategoriesAPICategoryUpdateRequest) Execute

type CategoriesAPIService

type CategoriesAPIService service

CategoriesAPIService CategoriesAPI service

func (*CategoriesAPIService) CategoryCreate

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

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

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

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

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

func (o *Category) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*Category) GetCreatedAtOk

func (o *Category) 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 (*Category) GetGroupId

func (o *Category) GetGroupId() string

GetGroupId returns the GroupId field value

func (*Category) GetGroupIdOk

func (o *Category) GetGroupIdOk() (*string, bool)

GetGroupIdOk returns a tuple with the GroupId field value and a boolean to check if the value has been set.

func (*Category) GetId

func (o *Category) GetId() int32

GetId returns the Id field value

func (*Category) GetIdOk

func (o *Category) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Category) GetName

func (o *Category) GetName() string

GetName returns the Name field value

func (*Category) GetNameOk

func (o *Category) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Category) GetPriority

func (o *Category) GetPriority() int32

GetPriority returns the Priority field value if set, zero value otherwise.

func (*Category) GetPriorityOk

func (o *Category) 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 (*Category) GetServerId

func (o *Category) GetServerId() string

GetServerId returns the ServerId field value

func (*Category) GetServerIdOk

func (o *Category) GetServerIdOk() (*string, bool)

GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.

func (*Category) GetUpdatedAt

func (o *Category) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Category) GetUpdatedAtOk

func (o *Category) 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 (*Category) HasPriority

func (o *Category) HasPriority() bool

HasPriority returns a boolean if a field has been set.

func (*Category) HasUpdatedAt

func (o *Category) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Category) MarshalJSON

func (o Category) MarshalJSON() ([]byte, error)

func (*Category) SetCreatedAt

func (o *Category) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Category) SetGroupId

func (o *Category) SetGroupId(v string)

SetGroupId sets field value

func (*Category) SetId

func (o *Category) SetId(v int32)

SetId sets field value

func (*Category) SetName

func (o *Category) SetName(v string)

SetName sets field value

func (*Category) SetPriority

func (o *Category) SetPriority(v int32)

SetPriority gets a reference to the given int32 and assigns it to the Priority field.

func (*Category) SetServerId

func (o *Category) SetServerId(v string)

SetServerId sets field value

func (*Category) SetUpdatedAt

func (o *Category) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (Category) ToMap

func (o Category) ToMap() (map[string]interface{}, error)

func (*Category) UnmarshalJSON

func (o *Category) UnmarshalJSON(data []byte) (err error)

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

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 (*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

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 (*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

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 (*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

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 (*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

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

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

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

GetMessage returns the Message field value

func (*ChannelMessageUpdate200Response) GetMessageOk

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

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

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

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

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

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

GetEmbeds returns the Embeds field value if set, zero value otherwise.

func (*ChannelMessageUpdate200ResponseMessage) GetEmbedsOk

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

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

GetId returns the Id field value if set, zero value otherwise.

func (*ChannelMessageUpdate200ResponseMessage) GetIdOk

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

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

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

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

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

GetType returns the Type field value if set, zero value otherwise.

func (*ChannelMessageUpdate200ResponseMessage) 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 (*ChannelMessageUpdate200ResponseMessage) GetUpdatedAt

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

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

HasEmbeds returns a boolean if a field has been set.

func (*ChannelMessageUpdate200ResponseMessage) HasGroupId

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

HasId returns a boolean if a field has been set.

func (*ChannelMessageUpdate200ResponseMessage) HasIsPinned

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

HasIsSilent returns a boolean if a field has been set.

func (*ChannelMessageUpdate200ResponseMessage) HasMentions

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

HasServerId returns a boolean if a field has been set.

func (*ChannelMessageUpdate200ResponseMessage) HasType

HasType returns a boolean if a field has been set.

func (ChannelMessageUpdate200ResponseMessage) MarshalJSON

func (o ChannelMessageUpdate200ResponseMessage) MarshalJSON() ([]byte, error)

func (*ChannelMessageUpdate200ResponseMessage) SetChannelId

SetChannelId gets a reference to the given string and assigns it to the ChannelId field.

func (*ChannelMessageUpdate200ResponseMessage) SetContent

SetContent gets a reference to the given string and assigns it to the Content field.

func (*ChannelMessageUpdate200ResponseMessage) SetCreatedAt

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ChannelMessageUpdate200ResponseMessage) SetCreatedBy

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

SetEmbeds gets a reference to the given []ChatEmbed and assigns it to the Embeds field.

func (*ChannelMessageUpdate200ResponseMessage) SetGroupId

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

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

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

SetServerId gets a reference to the given string and assigns it to the ServerId field.

func (*ChannelMessageUpdate200ResponseMessage) SetType

SetType gets a reference to the given string and assigns it to the Type field.

func (*ChannelMessageUpdate200ResponseMessage) SetUpdatedAt

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 (*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 (*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
}

func (ChannelsAPIChannelArchiveCreateRequest) Execute

type ChannelsAPIChannelArchiveDeleteRequest

type ChannelsAPIChannelArchiveDeleteRequest struct {
	ApiService ChannelsAPI
	// contains filtered or unexported fields
}

func (ChannelsAPIChannelArchiveDeleteRequest) Execute

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

type ChannelsAPIChannelDeleteRequest

type ChannelsAPIChannelDeleteRequest struct {
	ApiService ChannelsAPI
	// contains filtered or unexported fields
}

func (ChannelsAPIChannelDeleteRequest) Execute

type ChannelsAPIChannelReadRequest

type ChannelsAPIChannelReadRequest struct {
	ApiService ChannelsAPI
	// contains filtered or unexported fields
}

func (ChannelsAPIChannelReadRequest) Execute

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

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

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

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

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

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

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

type ChatAPIChannelMessageDeleteRequest

type ChatAPIChannelMessageDeleteRequest struct {
	ApiService ChatAPI
	// contains filtered or unexported fields
}

func (ChatAPIChannelMessageDeleteRequest) Execute

type ChatAPIChannelMessagePinCreateRequest

type ChatAPIChannelMessagePinCreateRequest struct {
	ApiService ChatAPI
	// contains filtered or unexported fields
}

func (ChatAPIChannelMessagePinCreateRequest) Execute

type ChatAPIChannelMessagePinDeleteRequest

type ChatAPIChannelMessagePinDeleteRequest struct {
	ApiService ChatAPI
	// contains filtered or unexported fields
}

func (ChatAPIChannelMessagePinDeleteRequest) Execute

type ChatAPIChannelMessageReadManyRequest

type ChatAPIChannelMessageReadManyRequest struct {
	ApiService ChatAPI
	// contains filtered or unexported fields
}

func (ChatAPIChannelMessageReadManyRequest) After

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 (ChatAPIChannelMessageReadManyRequest) Execute

func (ChatAPIChannelMessageReadManyRequest) IncludePrivate

Whether to include private messages between all users in response

func (ChatAPIChannelMessageReadManyRequest) Limit

type ChatAPIChannelMessageReadRequest

type ChatAPIChannelMessageReadRequest struct {
	ApiService ChatAPI
	// contains filtered or unexported fields
}

func (ChatAPIChannelMessageReadRequest) Execute

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

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

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

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

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

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"`
	Footer *ChatEmbedFooter `json:"footer,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) GetColor

func (o *ChatEmbed) GetColor() int32

GetColor returns the Color field value if set, zero value otherwise.

func (*ChatEmbed) GetColorOk

func (o *ChatEmbed) 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 (*ChatEmbed) GetDescription

func (o *ChatEmbed) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ChatEmbed) GetDescriptionOk

func (o *ChatEmbed) 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 (*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

func (o *ChatEmbed) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*ChatEmbed) GetTimestampOk

func (o *ChatEmbed) GetTimestampOk() (*time.Time, bool)

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) GetTitle

func (o *ChatEmbed) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*ChatEmbed) GetTitleOk

func (o *ChatEmbed) 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 (*ChatEmbed) GetUrl

func (o *ChatEmbed) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*ChatEmbed) GetUrlOk

func (o *ChatEmbed) 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 (*ChatEmbed) HasAuthor

func (o *ChatEmbed) HasAuthor() bool

HasAuthor returns a boolean if a field has been set.

func (*ChatEmbed) HasColor

func (o *ChatEmbed) HasColor() bool

HasColor returns a boolean if a field has been set.

func (*ChatEmbed) HasDescription

func (o *ChatEmbed) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ChatEmbed) HasFields

func (o *ChatEmbed) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*ChatEmbed) HasFooter

func (o *ChatEmbed) HasFooter() bool

HasFooter returns a boolean if a field has been set.

func (*ChatEmbed) HasImage

func (o *ChatEmbed) HasImage() bool

HasImage returns a boolean if a field has been set.

func (*ChatEmbed) HasThumbnail

func (o *ChatEmbed) HasThumbnail() bool

HasThumbnail returns a boolean if a field has been set.

func (*ChatEmbed) HasTimestamp

func (o *ChatEmbed) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*ChatEmbed) HasTitle

func (o *ChatEmbed) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ChatEmbed) HasUrl

func (o *ChatEmbed) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (ChatEmbed) MarshalJSON

func (o ChatEmbed) MarshalJSON() ([]byte, error)

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

func (o *ChatEmbed) SetColor(v int32)

SetColor gets a reference to the given int32 and assigns it to the Color field.

func (*ChatEmbed) SetDescription

func (o *ChatEmbed) SetDescription(v string)

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

func (o *ChatEmbed) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*ChatEmbed) SetTitle

func (o *ChatEmbed) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*ChatEmbed) SetUrl

func (o *ChatEmbed) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (ChatEmbed) ToMap

func (o ChatEmbed) ToMap() (map[string]interface{}, error)

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 {
	// URL of a small image to put in the footer
	IconUrl *string `json:"icon_url,omitempty"`
	// Text of the footer
	Text string `json:"text"`
}

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) GetId

func (o *ChatMessage) GetId() string

GetId returns the Id field value

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) SetId

func (o *ChatMessage) SetId(v string)

SetId sets field value

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) SetType

func (o *ChatMessage) SetType(v string)

SetType sets field value

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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type Content

type Content struct {
	MapmapOfStringAny *map[string]interface{}
	String            *string
}

Content - The content of the message

func MapmapOfStringAnyAsContent

func MapmapOfStringAnyAsContent(v *map[string]interface{}) Content

map[string]interface{}AsContent is a convenience function that returns map[string]interface{} wrapped in Content

func StringAsContent

func StringAsContent(v *string) Content

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

func (src Content) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*Content) UnmarshalJSON

func (dst *Content) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type Content1

type Content1 struct {
	MapmapOfStringAny *map[string]interface{}
	String            *string
}

Content1 - The content of the message

func MapmapOfStringAnyAsContent1

func MapmapOfStringAnyAsContent1(v *map[string]interface{}) Content1

map[string]interface{}AsContent1 is a convenience function that returns map[string]interface{} wrapped in Content1

func StringAsContent1

func StringAsContent1(v *string) Content1

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

func (src Content1) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*Content1) UnmarshalJSON

func (dst *Content1) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type Content2

type Content2 struct {
	MapmapOfStringAny *map[string]interface{}
	String            *string
}

Content2 - The content of the forum topic

func MapmapOfStringAnyAsContent2

func MapmapOfStringAnyAsContent2(v *map[string]interface{}) Content2

map[string]interface{}AsContent2 is a convenience function that returns map[string]interface{} wrapped in Content2

func StringAsContent2

func StringAsContent2(v *string) Content2

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

func (src Content2) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*Content2) UnmarshalJSON

func (dst *Content2) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type Content3

type Content3 struct {
	MapmapOfStringAny *map[string]interface{}
	String            *string
}

Content3 - The content of the doc

func MapmapOfStringAnyAsContent3

func MapmapOfStringAnyAsContent3(v *map[string]interface{}) Content3

map[string]interface{}AsContent3 is a convenience function that returns map[string]interface{} wrapped in Content3

func StringAsContent3

func StringAsContent3(v *string) Content3

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

func (src Content3) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*Content3) UnmarshalJSON

func (dst *Content3) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type Content4

type Content4 struct {
	MapmapOfStringAny *map[string]interface{}
	String            *string
}

Content4 - The content of the announcement

func MapmapOfStringAnyAsContent4

func MapmapOfStringAnyAsContent4(v *map[string]interface{}) Content4

map[string]interface{}AsContent4 is a convenience function that returns map[string]interface{} wrapped in Content4

func StringAsContent4

func StringAsContent4(v *string) Content4

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

func (src Content4) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*Content4) UnmarshalJSON

func (dst *Content4) UnmarshalJSON(data []byte) error

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

func (o *Doc) GetChannelId() string

GetChannelId returns the ChannelId field value

func (*Doc) GetChannelIdOk

func (o *Doc) GetChannelIdOk() (*string, bool)

GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.

func (*Doc) GetContent

func (o *Doc) GetContent() string

GetContent returns the Content field value

func (*Doc) GetContentOk

func (o *Doc) GetContentOk() (*string, bool)

GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.

func (*Doc) GetCreatedAt

func (o *Doc) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*Doc) GetCreatedAtOk

func (o *Doc) 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 (*Doc) GetCreatedBy

func (o *Doc) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*Doc) GetCreatedByOk

func (o *Doc) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.

func (*Doc) GetGroupId

func (o *Doc) GetGroupId() string

GetGroupId returns the GroupId field value

func (*Doc) GetGroupIdOk

func (o *Doc) GetGroupIdOk() (*string, bool)

GetGroupIdOk returns a tuple with the GroupId field value and a boolean to check if the value has been set.

func (*Doc) GetId

func (o *Doc) GetId() int32

GetId returns the Id field value

func (*Doc) GetIdOk

func (o *Doc) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Doc) GetMentions

func (o *Doc) GetMentions() Mentions

GetMentions returns the Mentions field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Doc) GetMentionsOk

func (o *Doc) 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 (*Doc) GetServerId

func (o *Doc) GetServerId() string

GetServerId returns the ServerId field value

func (*Doc) GetServerIdOk

func (o *Doc) GetServerIdOk() (*string, bool)

GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.

func (*Doc) GetTitle

func (o *Doc) GetTitle() string

GetTitle returns the Title field value

func (*Doc) GetTitleOk

func (o *Doc) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*Doc) GetUpdatedAt

func (o *Doc) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Doc) GetUpdatedAtOk

func (o *Doc) 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 (*Doc) GetUpdatedBy

func (o *Doc) GetUpdatedBy() string

GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise.

func (*Doc) GetUpdatedByOk

func (o *Doc) 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 (*Doc) HasMentions

func (o *Doc) HasMentions() bool

HasMentions returns a boolean if a field has been set.

func (*Doc) HasUpdatedAt

func (o *Doc) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Doc) HasUpdatedBy

func (o *Doc) HasUpdatedBy() bool

HasUpdatedBy returns a boolean if a field has been set.

func (Doc) MarshalJSON

func (o Doc) MarshalJSON() ([]byte, error)

func (*Doc) SetChannelId

func (o *Doc) SetChannelId(v string)

SetChannelId sets field value

func (*Doc) SetContent

func (o *Doc) SetContent(v string)

SetContent sets field value

func (*Doc) SetCreatedAt

func (o *Doc) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Doc) SetCreatedBy

func (o *Doc) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Doc) SetGroupId

func (o *Doc) SetGroupId(v string)

SetGroupId sets field value

func (*Doc) SetId

func (o *Doc) SetId(v int32)

SetId sets field value

func (*Doc) SetMentions

func (o *Doc) SetMentions(v Mentions)

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) SetServerId

func (o *Doc) SetServerId(v string)

SetServerId sets field value

func (*Doc) SetTitle

func (o *Doc) SetTitle(v string)

SetTitle sets field value

func (*Doc) SetUpdatedAt

func (o *Doc) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*Doc) SetUpdatedBy

func (o *Doc) SetUpdatedBy(v string)

SetUpdatedBy gets a reference to the given string and assigns it to the UpdatedBy field.

func (Doc) ToMap

func (o Doc) ToMap() (map[string]interface{}, error)

func (*Doc) UnmarshalJSON

func (o *Doc) UnmarshalJSON(data []byte) (err error)

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) GetId

func (o *DocComment) GetId() int32

GetId returns the Id field value

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) SetDocId

func (o *DocComment) SetDocId(v int32)

SetDocId sets field value

func (*DocComment) SetId

func (o *DocComment) SetId(v int32)

SetId 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 (DocCommentsAPIDocCommentCreateRequest) Execute

type DocCommentsAPIDocCommentDeleteRequest

type DocCommentsAPIDocCommentDeleteRequest struct {
	ApiService DocCommentsAPI
	// contains filtered or unexported fields
}

func (DocCommentsAPIDocCommentDeleteRequest) Execute

type DocCommentsAPIDocCommentReadManyRequest

type DocCommentsAPIDocCommentReadManyRequest struct {
	ApiService DocCommentsAPI
	// contains filtered or unexported fields
}

func (DocCommentsAPIDocCommentReadManyRequest) Execute

type DocCommentsAPIDocCommentReadRequest

type DocCommentsAPIDocCommentReadRequest struct {
	ApiService DocCommentsAPI
	// contains filtered or unexported fields
}

func (DocCommentsAPIDocCommentReadRequest) Execute

type DocCommentsAPIDocCommentUpdateRequest

type DocCommentsAPIDocCommentUpdateRequest struct {
	ApiService DocCommentsAPI
	// contains filtered or unexported fields
}

func (DocCommentsAPIDocCommentUpdateRequest) DocCommentCreateRequest

func (DocCommentsAPIDocCommentUpdateRequest) Execute

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

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

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

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

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

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) SetDocId

func (o *DocReaction) SetDocId(v int32)

SetDocId sets field value

func (*DocReaction) SetEmote

func (o *DocReaction) SetEmote(v Emote)

SetEmote 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

type DocsAPIDocDeleteRequest

type DocsAPIDocDeleteRequest struct {
	ApiService DocsAPI
	// contains filtered or unexported fields
}

func (DocsAPIDocDeleteRequest) Execute

func (r DocsAPIDocDeleteRequest) Execute() (*http.Response, error)

type DocsAPIDocReadManyRequest

type DocsAPIDocReadManyRequest struct {
	ApiService DocsAPI
	// contains filtered or unexported fields
}

func (DocsAPIDocReadManyRequest) Before

func (DocsAPIDocReadManyRequest) Execute

func (DocsAPIDocReadManyRequest) Limit

type DocsAPIDocReadRequest

type DocsAPIDocReadRequest struct {
	ApiService DocsAPI
	// contains filtered or unexported fields
}

func (DocsAPIDocReadRequest) Execute

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

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

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

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

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

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

func NewEmote(id int32, name string, url string) *Emote

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) GetId

func (o *Emote) GetId() int32

GetId returns the Id field value

func (*Emote) GetIdOk

func (o *Emote) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Emote) GetName

func (o *Emote) GetName() string

GetName returns the Name field value

func (*Emote) GetNameOk

func (o *Emote) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Emote) GetServerId

func (o *Emote) GetServerId() string

GetServerId returns the ServerId field value if set, zero value otherwise.

func (*Emote) GetServerIdOk

func (o *Emote) 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 (*Emote) GetUrl

func (o *Emote) GetUrl() string

GetUrl returns the Url field value

func (*Emote) GetUrlOk

func (o *Emote) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*Emote) HasServerId

func (o *Emote) HasServerId() bool

HasServerId returns a boolean if a field has been set.

func (Emote) MarshalJSON

func (o Emote) MarshalJSON() ([]byte, error)

func (*Emote) SetId

func (o *Emote) SetId(v int32)

SetId sets field value

func (*Emote) SetName

func (o *Emote) SetName(v string)

SetName sets field value

func (*Emote) SetServerId

func (o *Emote) SetServerId(v string)

SetServerId gets a reference to the given string and assigns it to the ServerId field.

func (*Emote) SetUrl

func (o *Emote) SetUrl(v string)

SetUrl sets field value

func (Emote) ToMap

func (o Emote) ToMap() (map[string]interface{}, error)

func (*Emote) UnmarshalJSON

func (o *Emote) UnmarshalJSON(data []byte) (err error)

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 (ForumCommentsAPIForumTopicCommentCreateRequest) ForumTopicCommentCreateRequest

type ForumCommentsAPIForumTopicCommentDeleteRequest

type ForumCommentsAPIForumTopicCommentDeleteRequest struct {
	ApiService ForumCommentsAPI
	// contains filtered or unexported fields
}

func (ForumCommentsAPIForumTopicCommentDeleteRequest) Execute

type ForumCommentsAPIForumTopicCommentReadManyRequest

type ForumCommentsAPIForumTopicCommentReadManyRequest struct {
	ApiService ForumCommentsAPI
	// contains filtered or unexported fields
}

func (ForumCommentsAPIForumTopicCommentReadManyRequest) Execute

type ForumCommentsAPIForumTopicCommentReadRequest

type ForumCommentsAPIForumTopicCommentReadRequest struct {
	ApiService ForumCommentsAPI
	// contains filtered or unexported fields
}

func (ForumCommentsAPIForumTopicCommentReadRequest) Execute

type ForumCommentsAPIForumTopicCommentUpdateRequest

type ForumCommentsAPIForumTopicCommentUpdateRequest struct {
	ApiService ForumCommentsAPI
	// contains filtered or unexported fields
}

func (ForumCommentsAPIForumTopicCommentUpdateRequest) Execute

func (ForumCommentsAPIForumTopicCommentUpdateRequest) ForumTopicCommentUpdateRequest

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

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

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

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

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

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) GetId

func (o *ForumTopic) GetId() int32

GetId returns the Id field value

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) SetId

func (o *ForumTopic) SetId(v int32)

SetId 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) SetTitle

func (o *ForumTopic) SetTitle(v string)

SetTitle 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) SetId

func (o *ForumTopicComment) SetId(v int32)

SetId 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) SetId

func (o *ForumTopicSummary) SetId(v int32)

SetId 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 (ForumsAPIForumTopicCreateRequest) ForumTopicCreateRequest

func (r ForumsAPIForumTopicCreateRequest) ForumTopicCreateRequest(forumTopicCreateRequest ForumTopicCreateRequest) ForumsAPIForumTopicCreateRequest

type ForumsAPIForumTopicDeleteRequest

type ForumsAPIForumTopicDeleteRequest struct {
	ApiService ForumsAPI
	// contains filtered or unexported fields
}

func (ForumsAPIForumTopicDeleteRequest) Execute

type ForumsAPIForumTopicLockRequest

type ForumsAPIForumTopicLockRequest struct {
	ApiService ForumsAPI
	// contains filtered or unexported fields
}

func (ForumsAPIForumTopicLockRequest) Execute

type ForumsAPIForumTopicPinRequest

type ForumsAPIForumTopicPinRequest struct {
	ApiService ForumsAPI
	// contains filtered or unexported fields
}

func (ForumsAPIForumTopicPinRequest) Execute

type ForumsAPIForumTopicReadManyRequest

type ForumsAPIForumTopicReadManyRequest struct {
	ApiService ForumsAPI
	// contains filtered or unexported fields
}

func (ForumsAPIForumTopicReadManyRequest) Before

func (ForumsAPIForumTopicReadManyRequest) Execute

func (ForumsAPIForumTopicReadManyRequest) Limit

type ForumsAPIForumTopicReadRequest

type ForumsAPIForumTopicReadRequest struct {
	ApiService ForumsAPI
	// contains filtered or unexported fields
}

func (ForumsAPIForumTopicReadRequest) Execute

type ForumsAPIForumTopicUnlockRequest

type ForumsAPIForumTopicUnlockRequest struct {
	ApiService ForumsAPI
	// contains filtered or unexported fields
}

func (ForumsAPIForumTopicUnlockRequest) Execute

type ForumsAPIForumTopicUnpinRequest

type ForumsAPIForumTopicUnpinRequest struct {
	ApiService ForumsAPI
	// contains filtered or unexported fields
}

func (ForumsAPIForumTopicUnpinRequest) Execute

type ForumsAPIForumTopicUpdateRequest

type ForumsAPIForumTopicUpdateRequest struct {
	ApiService ForumsAPI
	// contains filtered or unexported fields
}

func (ForumsAPIForumTopicUpdateRequest) Execute

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

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

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

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

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

func (o *Group) GetArchivedAt() time.Time

GetArchivedAt returns the ArchivedAt field value if set, zero value otherwise.

func (*Group) GetArchivedAtOk

func (o *Group) 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 (*Group) GetArchivedBy

func (o *Group) GetArchivedBy() string

GetArchivedBy returns the ArchivedBy field value if set, zero value otherwise.

func (*Group) GetArchivedByOk

func (o *Group) 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 (*Group) GetAvatar

func (o *Group) GetAvatar() string

GetAvatar returns the Avatar field value if set, zero value otherwise.

func (*Group) GetAvatarOk

func (o *Group) 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 (*Group) GetCreatedAt

func (o *Group) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*Group) GetCreatedAtOk

func (o *Group) 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 (*Group) GetCreatedBy

func (o *Group) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*Group) GetCreatedByOk

func (o *Group) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.

func (*Group) GetDescription

func (o *Group) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Group) GetDescriptionOk

func (o *Group) 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 (*Group) GetEmoteId

func (o *Group) GetEmoteId() int32

GetEmoteId returns the EmoteId field value if set, zero value otherwise.

func (*Group) GetEmoteIdOk

func (o *Group) 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 (*Group) GetId

func (o *Group) GetId() string

GetId returns the Id field value

func (*Group) GetIdOk

func (o *Group) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Group) GetIsHome

func (o *Group) GetIsHome() bool

GetIsHome returns the IsHome field value if set, zero value otherwise.

func (*Group) GetIsHomeOk

func (o *Group) GetIsHomeOk() (*bool, bool)

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

func (o *Group) GetIsPublic() bool

GetIsPublic returns the IsPublic field value if set, zero value otherwise.

func (*Group) GetIsPublicOk

func (o *Group) 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 (*Group) GetName

func (o *Group) GetName() string

GetName returns the Name field value

func (*Group) GetNameOk

func (o *Group) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Group) GetServerId

func (o *Group) GetServerId() string

GetServerId returns the ServerId field value

func (*Group) GetServerIdOk

func (o *Group) GetServerIdOk() (*string, bool)

GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.

func (*Group) GetUpdatedAt

func (o *Group) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Group) GetUpdatedAtOk

func (o *Group) 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 (*Group) GetUpdatedBy

func (o *Group) GetUpdatedBy() string

GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise.

func (*Group) GetUpdatedByOk

func (o *Group) 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 (*Group) HasArchivedAt

func (o *Group) HasArchivedAt() bool

HasArchivedAt returns a boolean if a field has been set.

func (*Group) HasArchivedBy

func (o *Group) HasArchivedBy() bool

HasArchivedBy returns a boolean if a field has been set.

func (*Group) HasAvatar

func (o *Group) HasAvatar() bool

HasAvatar returns a boolean if a field has been set.

func (*Group) HasDescription

func (o *Group) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Group) HasEmoteId

func (o *Group) HasEmoteId() bool

HasEmoteId returns a boolean if a field has been set.

func (*Group) HasIsHome

func (o *Group) HasIsHome() bool

HasIsHome returns a boolean if a field has been set.

func (*Group) HasIsPublic

func (o *Group) HasIsPublic() bool

HasIsPublic returns a boolean if a field has been set.

func (*Group) HasUpdatedAt

func (o *Group) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Group) HasUpdatedBy

func (o *Group) HasUpdatedBy() bool

HasUpdatedBy returns a boolean if a field has been set.

func (Group) MarshalJSON

func (o Group) MarshalJSON() ([]byte, error)

func (*Group) SetArchivedAt

func (o *Group) SetArchivedAt(v time.Time)

SetArchivedAt gets a reference to the given time.Time and assigns it to the ArchivedAt field.

func (*Group) SetArchivedBy

func (o *Group) SetArchivedBy(v string)

SetArchivedBy gets a reference to the given string and assigns it to the ArchivedBy field.

func (*Group) SetAvatar

func (o *Group) SetAvatar(v string)

SetAvatar gets a reference to the given string and assigns it to the Avatar field.

func (*Group) SetCreatedAt

func (o *Group) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Group) SetCreatedBy

func (o *Group) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Group) SetDescription

func (o *Group) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Group) SetEmoteId

func (o *Group) SetEmoteId(v int32)

SetEmoteId gets a reference to the given int32 and assigns it to the EmoteId field.

func (*Group) SetId

func (o *Group) SetId(v string)

SetId sets field value

func (*Group) SetIsHome

func (o *Group) SetIsHome(v bool)

SetIsHome gets a reference to the given bool and assigns it to the IsHome field.

func (*Group) SetIsPublic

func (o *Group) SetIsPublic(v bool)

SetIsPublic gets a reference to the given bool and assigns it to the IsPublic field.

func (*Group) SetName

func (o *Group) SetName(v string)

SetName sets field value

func (*Group) SetServerId

func (o *Group) SetServerId(v string)

SetServerId sets field value

func (*Group) SetUpdatedAt

func (o *Group) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*Group) SetUpdatedBy

func (o *Group) SetUpdatedBy(v string)

SetUpdatedBy gets a reference to the given string and assigns it to the UpdatedBy field.

func (Group) ToMap

func (o Group) ToMap() (map[string]interface{}, error)

func (*Group) UnmarshalJSON

func (o *Group) UnmarshalJSON(data []byte) (err error)

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
}

func (GroupMembershipAPIGroupMembershipCreateRequest) Execute

type GroupMembershipAPIGroupMembershipDeleteRequest

type GroupMembershipAPIGroupMembershipDeleteRequest struct {
	ApiService GroupMembershipAPI
	// contains filtered or unexported fields
}

func (GroupMembershipAPIGroupMembershipDeleteRequest) Execute

type GroupMembershipAPIService

type GroupMembershipAPIService service

GroupMembershipAPIService GroupMembershipAPI service

func (*GroupMembershipAPIService) GroupMembershipCreate

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

Execute executes the request

func (*GroupMembershipAPIService) GroupMembershipDelete

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

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 (GroupsAPIGroupCreateRequest) GroupCreateRequest

func (r GroupsAPIGroupCreateRequest) GroupCreateRequest(groupCreateRequest GroupCreateRequest) GroupsAPIGroupCreateRequest

type GroupsAPIGroupDeleteRequest

type GroupsAPIGroupDeleteRequest struct {
	ApiService GroupsAPI
	// contains filtered or unexported fields
}

func (GroupsAPIGroupDeleteRequest) Execute

type GroupsAPIGroupReadManyRequest

type GroupsAPIGroupReadManyRequest struct {
	ApiService GroupsAPI
	// contains filtered or unexported fields
}

func (GroupsAPIGroupReadManyRequest) Execute

type GroupsAPIGroupReadRequest

type GroupsAPIGroupReadRequest struct {
	ApiService GroupsAPI
	// contains filtered or unexported fields
}

func (GroupsAPIGroupReadRequest) Execute

type GroupsAPIGroupUpdateRequest

type GroupsAPIGroupUpdateRequest struct {
	ApiService GroupsAPI
	// contains filtered or unexported fields
}

func (GroupsAPIGroupUpdateRequest) Execute

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

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

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

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

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

func (o *ListItem) GetChannelId() string

GetChannelId returns the ChannelId field value

func (*ListItem) GetChannelIdOk

func (o *ListItem) GetChannelIdOk() (*string, bool)

GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.

func (*ListItem) GetCompletedAt

func (o *ListItem) GetCompletedAt() time.Time

GetCompletedAt returns the CompletedAt field value if set, zero value otherwise.

func (*ListItem) GetCompletedAtOk

func (o *ListItem) 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 (*ListItem) GetCompletedBy

func (o *ListItem) GetCompletedBy() string

GetCompletedBy returns the CompletedBy field value if set, zero value otherwise.

func (*ListItem) GetCompletedByOk

func (o *ListItem) 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 (*ListItem) GetCreatedAt

func (o *ListItem) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*ListItem) GetCreatedAtOk

func (o *ListItem) 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 (*ListItem) GetCreatedBy

func (o *ListItem) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*ListItem) GetCreatedByOk

func (o *ListItem) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.

func (*ListItem) GetCreatedByWebhookId

func (o *ListItem) GetCreatedByWebhookId() string

GetCreatedByWebhookId returns the CreatedByWebhookId field value if set, zero value otherwise.

func (*ListItem) GetCreatedByWebhookIdOk

func (o *ListItem) 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 (*ListItem) GetGroupId

func (o *ListItem) GetGroupId() string

GetGroupId returns the GroupId field value

func (*ListItem) GetGroupIdOk

func (o *ListItem) GetGroupIdOk() (*string, bool)

GetGroupIdOk returns a tuple with the GroupId field value and a boolean to check if the value has been set.

func (*ListItem) GetId

func (o *ListItem) GetId() string

GetId returns the Id field value

func (*ListItem) GetIdOk

func (o *ListItem) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ListItem) GetMentions

func (o *ListItem) GetMentions() Mentions

GetMentions returns the Mentions field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListItem) GetMentionsOk

func (o *ListItem) 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 (*ListItem) GetMessage

func (o *ListItem) GetMessage() string

GetMessage returns the Message field value

func (*ListItem) GetMessageOk

func (o *ListItem) GetMessageOk() (*string, bool)

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

func (o *ListItem) GetParentListItemId() string

GetParentListItemId returns the ParentListItemId field value if set, zero value otherwise.

func (*ListItem) GetParentListItemIdOk

func (o *ListItem) 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 (*ListItem) GetServerId

func (o *ListItem) GetServerId() string

GetServerId returns the ServerId field value

func (*ListItem) GetServerIdOk

func (o *ListItem) GetServerIdOk() (*string, bool)

GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.

func (*ListItem) GetUpdatedAt

func (o *ListItem) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*ListItem) GetUpdatedAtOk

func (o *ListItem) 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 (*ListItem) GetUpdatedBy

func (o *ListItem) GetUpdatedBy() string

GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise.

func (*ListItem) GetUpdatedByOk

func (o *ListItem) 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 (*ListItem) HasCompletedAt

func (o *ListItem) HasCompletedAt() bool

HasCompletedAt returns a boolean if a field has been set.

func (*ListItem) HasCompletedBy

func (o *ListItem) HasCompletedBy() bool

HasCompletedBy returns a boolean if a field has been set.

func (*ListItem) HasCreatedByWebhookId

func (o *ListItem) HasCreatedByWebhookId() bool

HasCreatedByWebhookId returns a boolean if a field has been set.

func (*ListItem) HasMentions

func (o *ListItem) HasMentions() bool

HasMentions returns a boolean if a field has been set.

func (*ListItem) HasNote

func (o *ListItem) HasNote() bool

HasNote returns a boolean if a field has been set.

func (*ListItem) HasParentListItemId

func (o *ListItem) HasParentListItemId() bool

HasParentListItemId returns a boolean if a field has been set.

func (*ListItem) HasUpdatedAt

func (o *ListItem) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*ListItem) HasUpdatedBy

func (o *ListItem) HasUpdatedBy() bool

HasUpdatedBy returns a boolean if a field has been set.

func (ListItem) MarshalJSON

func (o ListItem) MarshalJSON() ([]byte, error)

func (*ListItem) SetChannelId

func (o *ListItem) SetChannelId(v string)

SetChannelId sets field value

func (*ListItem) SetCompletedAt

func (o *ListItem) SetCompletedAt(v time.Time)

SetCompletedAt gets a reference to the given time.Time and assigns it to the CompletedAt field.

func (*ListItem) SetCompletedBy

func (o *ListItem) SetCompletedBy(v string)

SetCompletedBy gets a reference to the given string and assigns it to the CompletedBy field.

func (*ListItem) SetCreatedAt

func (o *ListItem) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*ListItem) SetCreatedBy

func (o *ListItem) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*ListItem) SetCreatedByWebhookId

func (o *ListItem) SetCreatedByWebhookId(v string)

SetCreatedByWebhookId gets a reference to the given string and assigns it to the CreatedByWebhookId field.

func (*ListItem) SetGroupId

func (o *ListItem) SetGroupId(v string)

SetGroupId sets field value

func (*ListItem) SetId

func (o *ListItem) SetId(v string)

SetId sets field value

func (*ListItem) SetMentions

func (o *ListItem) SetMentions(v Mentions)

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) SetMessage

func (o *ListItem) SetMessage(v string)

SetMessage sets field value

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

func (o *ListItem) SetParentListItemId(v string)

SetParentListItemId gets a reference to the given string and assigns it to the ParentListItemId field.

func (*ListItem) SetServerId

func (o *ListItem) SetServerId(v string)

SetServerId sets field value

func (*ListItem) SetUpdatedAt

func (o *ListItem) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*ListItem) SetUpdatedBy

func (o *ListItem) SetUpdatedBy(v string)

SetUpdatedBy gets a reference to the given string and assigns it to the UpdatedBy field.

func (ListItem) ToMap

func (o ListItem) ToMap() (map[string]interface{}, error)

func (*ListItem) UnmarshalJSON

func (o *ListItem) UnmarshalJSON(data []byte) (err error)

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

GetNote returns the Note field value if set, zero value otherwise.

func (*ListItemCreateRequest) GetNoteOk

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

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) SetId

func (o *ListItemSummary) SetId(v string)

SetId sets field value

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

GetNote returns the Note field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListItemUpdateRequest) GetNoteOk

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

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
}

func (ListItemsAPIListItemCompleteCreateRequest) Execute

type ListItemsAPIListItemCompleteDeleteRequest

type ListItemsAPIListItemCompleteDeleteRequest struct {
	ApiService ListItemsAPI
	// contains filtered or unexported fields
}

func (ListItemsAPIListItemCompleteDeleteRequest) Execute

type ListItemsAPIListItemCreateRequest

type ListItemsAPIListItemCreateRequest struct {
	ApiService ListItemsAPI
	// contains filtered or unexported fields
}

func (ListItemsAPIListItemCreateRequest) Execute

func (ListItemsAPIListItemCreateRequest) ListItemCreateRequest

func (r ListItemsAPIListItemCreateRequest) ListItemCreateRequest(listItemCreateRequest ListItemCreateRequest) ListItemsAPIListItemCreateRequest

type ListItemsAPIListItemDeleteRequest

type ListItemsAPIListItemDeleteRequest struct {
	ApiService ListItemsAPI
	// contains filtered or unexported fields
}

func (ListItemsAPIListItemDeleteRequest) Execute

type ListItemsAPIListItemReadManyRequest

type ListItemsAPIListItemReadManyRequest struct {
	ApiService ListItemsAPI
	// contains filtered or unexported fields
}

func (ListItemsAPIListItemReadManyRequest) Execute

type ListItemsAPIListItemReadRequest

type ListItemsAPIListItemReadRequest struct {
	ApiService ListItemsAPI
	// contains filtered or unexported fields
}

func (ListItemsAPIListItemReadRequest) Execute

type ListItemsAPIListItemUpdateRequest

type ListItemsAPIListItemUpdateRequest struct {
	ApiService ListItemsAPI
	// contains filtered or unexported fields
}

func (ListItemsAPIListItemUpdateRequest) Execute

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

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

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

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

Execute executes the request

@return ListItemCreate201Response

func (*ListItemsAPIService) ListItemReadMany

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

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

Execute executes the request

@return ListItemCreate201Response

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

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 (MemberBansAPIServerMemberBanCreateRequest) ServerMemberBanCreateRequest

type MemberBansAPIServerMemberBanDeleteRequest

type MemberBansAPIServerMemberBanDeleteRequest struct {
	ApiService MemberBansAPI
	// contains filtered or unexported fields
}

func (MemberBansAPIServerMemberBanDeleteRequest) Execute

type MemberBansAPIServerMemberBanReadManyRequest

type MemberBansAPIServerMemberBanReadManyRequest struct {
	ApiService MemberBansAPI
	// contains filtered or unexported fields
}

func (MemberBansAPIServerMemberBanReadManyRequest) Execute

type MemberBansAPIServerMemberBanReadRequest

type MemberBansAPIServerMemberBanReadRequest struct {
	ApiService MemberBansAPI
	// contains filtered or unexported fields
}

func (MemberBansAPIServerMemberBanReadRequest) Execute

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

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

Execute executes the request

@return ServerMemberBanRead200Response

func (*MemberBansAPIService) ServerMemberBanReadMany

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

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 (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 (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
}

func (MembersAPIMemberNicknameDeleteRequest) Execute

type MembersAPIMemberNicknameUpdateRequest

type MembersAPIMemberNicknameUpdateRequest struct {
	ApiService MembersAPI
	// contains filtered or unexported fields
}

func (MembersAPIMemberNicknameUpdateRequest) Execute

func (MembersAPIMemberNicknameUpdateRequest) MemberNicknameUpdateRequest

func (r MembersAPIMemberNicknameUpdateRequest) MemberNicknameUpdateRequest(memberNicknameUpdateRequest MemberNicknameUpdateRequest) MembersAPIMemberNicknameUpdateRequest

type MembersAPIServerMemberDeleteRequest

type MembersAPIServerMemberDeleteRequest struct {
	ApiService MembersAPI
	// contains filtered or unexported fields
}

func (MembersAPIServerMemberDeleteRequest) Execute

type MembersAPIServerMemberReadManyRequest

type MembersAPIServerMemberReadManyRequest struct {
	ApiService MembersAPI
	// contains filtered or unexported fields
}

func (MembersAPIServerMemberReadManyRequest) Execute

type MembersAPIServerMemberReadRequest

type MembersAPIServerMemberReadRequest struct {
	ApiService MembersAPI
	// contains filtered or unexported fields
}

func (MembersAPIServerMemberReadRequest) Execute

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

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

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

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

func (o *Mentions) GetChannels() []map[string]interface{}

GetChannels returns the Channels field value if set, zero value otherwise.

func (*Mentions) GetChannelsOk

func (o *Mentions) GetChannelsOk() ([]map[string]interface{}, bool)

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

func (o *Mentions) GetEveryone() bool

GetEveryone returns the Everyone field value if set, zero value otherwise.

func (*Mentions) GetEveryoneOk

func (o *Mentions) GetEveryoneOk() (*bool, bool)

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) GetHere

func (o *Mentions) GetHere() bool

GetHere returns the Here field value if set, zero value otherwise.

func (*Mentions) GetHereOk

func (o *Mentions) GetHereOk() (*bool, bool)

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) GetRoles

func (o *Mentions) GetRoles() []map[string]interface{}

GetRoles returns the Roles field value if set, zero value otherwise.

func (*Mentions) GetRolesOk

func (o *Mentions) GetRolesOk() ([]map[string]interface{}, bool)

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) GetUsers

func (o *Mentions) GetUsers() []map[string]interface{}

GetUsers returns the Users field value if set, zero value otherwise.

func (*Mentions) GetUsersOk

func (o *Mentions) GetUsersOk() ([]map[string]interface{}, bool)

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

func (o *Mentions) HasChannels() bool

HasChannels returns a boolean if a field has been set.

func (*Mentions) HasEveryone

func (o *Mentions) HasEveryone() bool

HasEveryone returns a boolean if a field has been set.

func (*Mentions) HasHere

func (o *Mentions) HasHere() bool

HasHere returns a boolean if a field has been set.

func (*Mentions) HasRoles

func (o *Mentions) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (*Mentions) HasUsers

func (o *Mentions) HasUsers() bool

HasUsers returns a boolean if a field has been set.

func (Mentions) MarshalJSON

func (o Mentions) MarshalJSON() ([]byte, error)

func (*Mentions) SetChannels

func (o *Mentions) SetChannels(v []map[string]interface{})

SetChannels gets a reference to the given []map[string]interface{} and assigns it to the Channels field.

func (*Mentions) SetEveryone

func (o *Mentions) SetEveryone(v bool)

SetEveryone gets a reference to the given bool and assigns it to the Everyone field.

func (*Mentions) SetHere

func (o *Mentions) SetHere(v bool)

SetHere gets a reference to the given bool and assigns it to the Here field.

func (*Mentions) SetRoles

func (o *Mentions) SetRoles(v []map[string]interface{})

SetRoles gets a reference to the given []map[string]interface{} and assigns it to the Roles field.

func (*Mentions) SetUsers

func (o *Mentions) SetUsers(v []map[string]interface{})

SetUsers gets a reference to the given []map[string]interface{} and assigns it to the Users field.

func (Mentions) ToMap

func (o Mentions) ToMap() (map[string]interface{}, error)

type Message

type Message struct {
	MapmapOfStringAny *map[string]interface{}
	String            *string
}

Message - The message of the list item

func MapmapOfStringAnyAsMessage

func MapmapOfStringAnyAsMessage(v *map[string]interface{}) Message

map[string]interface{}AsMessage is a convenience function that returns map[string]interface{} wrapped in Message

func StringAsMessage

func StringAsMessage(v *string) Message

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

func (src Message) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*Message) UnmarshalJSON

func (dst *Message) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type Note

type Note struct {
	MapmapOfStringAny *map[string]interface{}
	String            *string
}

Note - The note of the list item

func MapmapOfStringAnyAsNote

func MapmapOfStringAnyAsNote(v *map[string]interface{}) Note

map[string]interface{}AsNote is a convenience function that returns map[string]interface{} wrapped in Note

func StringAsNote

func StringAsNote(v *string) Note

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

func (src Note) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*Note) UnmarshalJSON

func (dst *Note) UnmarshalJSON(data []byte) error

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 (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 (NullableAnnouncementComment) IsSet

func (NullableAnnouncementComment) MarshalJSON

func (v NullableAnnouncementComment) MarshalJSON() ([]byte, error)

func (*NullableAnnouncementComment) Set

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 (NullableAnnouncementCommentCreate200Response) Get

func (NullableAnnouncementCommentCreate200Response) IsSet

func (NullableAnnouncementCommentCreate200Response) MarshalJSON

func (*NullableAnnouncementCommentCreate200Response) Set

func (*NullableAnnouncementCommentCreate200Response) UnmarshalJSON

func (*NullableAnnouncementCommentCreate200Response) Unset

type NullableAnnouncementCommentCreateRequest

type NullableAnnouncementCommentCreateRequest struct {
	// contains filtered or unexported fields
}

func (NullableAnnouncementCommentCreateRequest) Get

func (NullableAnnouncementCommentCreateRequest) IsSet

func (NullableAnnouncementCommentCreateRequest) MarshalJSON

func (*NullableAnnouncementCommentCreateRequest) Set

func (*NullableAnnouncementCommentCreateRequest) UnmarshalJSON

func (v *NullableAnnouncementCommentCreateRequest) UnmarshalJSON(src []byte) error

func (*NullableAnnouncementCommentCreateRequest) Unset

type NullableAnnouncementCommentReaction

type NullableAnnouncementCommentReaction struct {
	// contains filtered or unexported fields
}

func (NullableAnnouncementCommentReaction) Get

func (NullableAnnouncementCommentReaction) IsSet

func (NullableAnnouncementCommentReaction) MarshalJSON

func (v NullableAnnouncementCommentReaction) MarshalJSON() ([]byte, error)

func (*NullableAnnouncementCommentReaction) Set

func (*NullableAnnouncementCommentReaction) UnmarshalJSON

func (v *NullableAnnouncementCommentReaction) UnmarshalJSON(src []byte) error

func (*NullableAnnouncementCommentReaction) Unset

type NullableAnnouncementCommentReadMany200Response

type NullableAnnouncementCommentReadMany200Response struct {
	// contains filtered or unexported fields
}

func (NullableAnnouncementCommentReadMany200Response) Get

func (NullableAnnouncementCommentReadMany200Response) IsSet

func (NullableAnnouncementCommentReadMany200Response) MarshalJSON

func (*NullableAnnouncementCommentReadMany200Response) Set

func (*NullableAnnouncementCommentReadMany200Response) UnmarshalJSON

func (*NullableAnnouncementCommentReadMany200Response) Unset

type NullableAnnouncementCreate200Response

type NullableAnnouncementCreate200Response struct {
	// contains filtered or unexported fields
}

func (NullableAnnouncementCreate200Response) Get

func (NullableAnnouncementCreate200Response) IsSet

func (NullableAnnouncementCreate200Response) MarshalJSON

func (v NullableAnnouncementCreate200Response) MarshalJSON() ([]byte, error)

func (*NullableAnnouncementCreate200Response) Set

func (*NullableAnnouncementCreate200Response) UnmarshalJSON

func (v *NullableAnnouncementCreate200Response) UnmarshalJSON(src []byte) error

func (*NullableAnnouncementCreate200Response) Unset

type NullableAnnouncementCreateRequest

type NullableAnnouncementCreateRequest struct {
	// contains filtered or unexported fields
}

func (NullableAnnouncementCreateRequest) Get

func (NullableAnnouncementCreateRequest) IsSet

func (NullableAnnouncementCreateRequest) MarshalJSON

func (v NullableAnnouncementCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableAnnouncementCreateRequest) Set

func (*NullableAnnouncementCreateRequest) UnmarshalJSON

func (v *NullableAnnouncementCreateRequest) UnmarshalJSON(src []byte) error

func (*NullableAnnouncementCreateRequest) Unset

type NullableAnnouncementReaction

type NullableAnnouncementReaction struct {
	// contains filtered or unexported fields
}

func NewNullableAnnouncementReaction

func NewNullableAnnouncementReaction(val *AnnouncementReaction) *NullableAnnouncementReaction

func (NullableAnnouncementReaction) Get

func (NullableAnnouncementReaction) IsSet

func (NullableAnnouncementReaction) MarshalJSON

func (v NullableAnnouncementReaction) MarshalJSON() ([]byte, error)

func (*NullableAnnouncementReaction) Set

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 (NullableAnnouncementReadMany200Response) Get

func (NullableAnnouncementReadMany200Response) IsSet

func (NullableAnnouncementReadMany200Response) MarshalJSON

func (v NullableAnnouncementReadMany200Response) MarshalJSON() ([]byte, error)

func (*NullableAnnouncementReadMany200Response) Set

func (*NullableAnnouncementReadMany200Response) UnmarshalJSON

func (v *NullableAnnouncementReadMany200Response) UnmarshalJSON(src []byte) error

func (*NullableAnnouncementReadMany200Response) Unset

type NullableAnnouncementUpdateRequest

type NullableAnnouncementUpdateRequest struct {
	// contains filtered or unexported fields
}

func (NullableAnnouncementUpdateRequest) Get

func (NullableAnnouncementUpdateRequest) IsSet

func (NullableAnnouncementUpdateRequest) MarshalJSON

func (v NullableAnnouncementUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableAnnouncementUpdateRequest) Set

func (*NullableAnnouncementUpdateRequest) UnmarshalJSON

func (v *NullableAnnouncementUpdateRequest) UnmarshalJSON(src []byte) error

func (*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 (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 (NullableCalendarEventCancellation) Get

func (NullableCalendarEventCancellation) IsSet

func (NullableCalendarEventCancellation) MarshalJSON

func (v NullableCalendarEventCancellation) MarshalJSON() ([]byte, error)

func (*NullableCalendarEventCancellation) Set

func (*NullableCalendarEventCancellation) UnmarshalJSON

func (v *NullableCalendarEventCancellation) UnmarshalJSON(src []byte) error

func (*NullableCalendarEventCancellation) Unset

type NullableCalendarEventComment

type NullableCalendarEventComment struct {
	// contains filtered or unexported fields
}

func NewNullableCalendarEventComment

func NewNullableCalendarEventComment(val *CalendarEventComment) *NullableCalendarEventComment

func (NullableCalendarEventComment) Get

func (NullableCalendarEventComment) IsSet

func (NullableCalendarEventComment) MarshalJSON

func (v NullableCalendarEventComment) MarshalJSON() ([]byte, error)

func (*NullableCalendarEventComment) Set

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 (NullableCalendarEventCommentCreate200Response) Get

func (NullableCalendarEventCommentCreate200Response) IsSet

func (NullableCalendarEventCommentCreate200Response) MarshalJSON

func (*NullableCalendarEventCommentCreate200Response) Set

func (*NullableCalendarEventCommentCreate200Response) UnmarshalJSON

func (*NullableCalendarEventCommentCreate200Response) Unset

type NullableCalendarEventCommentCreateRequest

type NullableCalendarEventCommentCreateRequest struct {
	// contains filtered or unexported fields
}

func (NullableCalendarEventCommentCreateRequest) Get

func (NullableCalendarEventCommentCreateRequest) IsSet

func (NullableCalendarEventCommentCreateRequest) MarshalJSON

func (*NullableCalendarEventCommentCreateRequest) Set

func (*NullableCalendarEventCommentCreateRequest) UnmarshalJSON

func (v *NullableCalendarEventCommentCreateRequest) UnmarshalJSON(src []byte) error

func (*NullableCalendarEventCommentCreateRequest) Unset

type NullableCalendarEventCommentReaction

type NullableCalendarEventCommentReaction struct {
	// contains filtered or unexported fields
}

func (NullableCalendarEventCommentReaction) Get

func (NullableCalendarEventCommentReaction) IsSet

func (NullableCalendarEventCommentReaction) MarshalJSON

func (v NullableCalendarEventCommentReaction) MarshalJSON() ([]byte, error)

func (*NullableCalendarEventCommentReaction) Set

func (*NullableCalendarEventCommentReaction) UnmarshalJSON

func (v *NullableCalendarEventCommentReaction) UnmarshalJSON(src []byte) error

func (*NullableCalendarEventCommentReaction) Unset

type NullableCalendarEventCommentReadMany200Response

type NullableCalendarEventCommentReadMany200Response struct {
	// contains filtered or unexported fields
}

func (NullableCalendarEventCommentReadMany200Response) Get

func (NullableCalendarEventCommentReadMany200Response) IsSet

func (NullableCalendarEventCommentReadMany200Response) MarshalJSON

func (*NullableCalendarEventCommentReadMany200Response) Set

func (*NullableCalendarEventCommentReadMany200Response) UnmarshalJSON

func (*NullableCalendarEventCommentReadMany200Response) Unset

type NullableCalendarEventCreate200Response

type NullableCalendarEventCreate200Response struct {
	// contains filtered or unexported fields
}

func (NullableCalendarEventCreate200Response) Get

func (NullableCalendarEventCreate200Response) IsSet

func (NullableCalendarEventCreate200Response) MarshalJSON

func (v NullableCalendarEventCreate200Response) MarshalJSON() ([]byte, error)

func (*NullableCalendarEventCreate200Response) Set

func (*NullableCalendarEventCreate200Response) UnmarshalJSON

func (v *NullableCalendarEventCreate200Response) UnmarshalJSON(src []byte) error

func (*NullableCalendarEventCreate200Response) Unset

type NullableCalendarEventCreateRequest

type NullableCalendarEventCreateRequest struct {
	// contains filtered or unexported fields
}

func (NullableCalendarEventCreateRequest) Get

func (NullableCalendarEventCreateRequest) IsSet

func (NullableCalendarEventCreateRequest) MarshalJSON

func (v NullableCalendarEventCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableCalendarEventCreateRequest) Set

func (*NullableCalendarEventCreateRequest) UnmarshalJSON

func (v *NullableCalendarEventCreateRequest) UnmarshalJSON(src []byte) error

func (*NullableCalendarEventCreateRequest) Unset

type NullableCalendarEventCreateRequestRepeatInfo

type NullableCalendarEventCreateRequestRepeatInfo struct {
	// contains filtered or unexported fields
}

func (NullableCalendarEventCreateRequestRepeatInfo) Get

func (NullableCalendarEventCreateRequestRepeatInfo) IsSet

func (NullableCalendarEventCreateRequestRepeatInfo) MarshalJSON

func (*NullableCalendarEventCreateRequestRepeatInfo) Set

func (*NullableCalendarEventCreateRequestRepeatInfo) UnmarshalJSON

func (*NullableCalendarEventCreateRequestRepeatInfo) Unset

type NullableCalendarEventCreateRequestRepeatInfoEvery

type NullableCalendarEventCreateRequestRepeatInfoEvery struct {
	// contains filtered or unexported fields
}

func (NullableCalendarEventCreateRequestRepeatInfoEvery) Get

func (NullableCalendarEventCreateRequestRepeatInfoEvery) IsSet

func (NullableCalendarEventCreateRequestRepeatInfoEvery) MarshalJSON

func (*NullableCalendarEventCreateRequestRepeatInfoEvery) Set

func (*NullableCalendarEventCreateRequestRepeatInfoEvery) UnmarshalJSON

func (*NullableCalendarEventCreateRequestRepeatInfoEvery) Unset

type NullableCalendarEventReaction

type NullableCalendarEventReaction struct {
	// contains filtered or unexported fields
}

func (NullableCalendarEventReaction) Get

func (NullableCalendarEventReaction) IsSet

func (NullableCalendarEventReaction) MarshalJSON

func (v NullableCalendarEventReaction) MarshalJSON() ([]byte, error)

func (*NullableCalendarEventReaction) Set

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 (NullableCalendarEventReadMany200Response) Get

func (NullableCalendarEventReadMany200Response) IsSet

func (NullableCalendarEventReadMany200Response) MarshalJSON

func (*NullableCalendarEventReadMany200Response) Set

func (*NullableCalendarEventReadMany200Response) UnmarshalJSON

func (v *NullableCalendarEventReadMany200Response) UnmarshalJSON(src []byte) error

func (*NullableCalendarEventReadMany200Response) Unset

type NullableCalendarEventRsvp

type NullableCalendarEventRsvp struct {
	// contains filtered or unexported fields
}

func NewNullableCalendarEventRsvp

func NewNullableCalendarEventRsvp(val *CalendarEventRsvp) *NullableCalendarEventRsvp

func (NullableCalendarEventRsvp) Get

func (NullableCalendarEventRsvp) IsSet

func (v NullableCalendarEventRsvp) IsSet() bool

func (NullableCalendarEventRsvp) MarshalJSON

func (v NullableCalendarEventRsvp) MarshalJSON() ([]byte, error)

func (*NullableCalendarEventRsvp) Set

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 (NullableCalendarEventRsvpRead200Response) Get

func (NullableCalendarEventRsvpRead200Response) IsSet

func (NullableCalendarEventRsvpRead200Response) MarshalJSON

func (*NullableCalendarEventRsvpRead200Response) Set

func (*NullableCalendarEventRsvpRead200Response) UnmarshalJSON

func (v *NullableCalendarEventRsvpRead200Response) UnmarshalJSON(src []byte) error

func (*NullableCalendarEventRsvpRead200Response) Unset

type NullableCalendarEventRsvpReadMany200Response

type NullableCalendarEventRsvpReadMany200Response struct {
	// contains filtered or unexported fields
}

func (NullableCalendarEventRsvpReadMany200Response) Get

func (NullableCalendarEventRsvpReadMany200Response) IsSet

func (NullableCalendarEventRsvpReadMany200Response) MarshalJSON

func (*NullableCalendarEventRsvpReadMany200Response) Set

func (*NullableCalendarEventRsvpReadMany200Response) UnmarshalJSON

func (*NullableCalendarEventRsvpReadMany200Response) Unset

type NullableCalendarEventRsvpUpdateManyRequest

type NullableCalendarEventRsvpUpdateManyRequest struct {
	// contains filtered or unexported fields
}

func (NullableCalendarEventRsvpUpdateManyRequest) Get

func (NullableCalendarEventRsvpUpdateManyRequest) IsSet

func (NullableCalendarEventRsvpUpdateManyRequest) MarshalJSON

func (*NullableCalendarEventRsvpUpdateManyRequest) Set

func (*NullableCalendarEventRsvpUpdateManyRequest) UnmarshalJSON

func (v *NullableCalendarEventRsvpUpdateManyRequest) UnmarshalJSON(src []byte) error

func (*NullableCalendarEventRsvpUpdateManyRequest) Unset

type NullableCalendarEventRsvpUpdateRequest

type NullableCalendarEventRsvpUpdateRequest struct {
	// contains filtered or unexported fields
}

func (NullableCalendarEventRsvpUpdateRequest) Get

func (NullableCalendarEventRsvpUpdateRequest) IsSet

func (NullableCalendarEventRsvpUpdateRequest) MarshalJSON

func (v NullableCalendarEventRsvpUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableCalendarEventRsvpUpdateRequest) Set

func (*NullableCalendarEventRsvpUpdateRequest) UnmarshalJSON

func (v *NullableCalendarEventRsvpUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableCalendarEventRsvpUpdateRequest) Unset

type NullableCalendarEventSeries

type NullableCalendarEventSeries struct {
	// contains filtered or unexported fields
}

func NewNullableCalendarEventSeries

func NewNullableCalendarEventSeries(val *CalendarEventSeries) *NullableCalendarEventSeries

func (NullableCalendarEventSeries) Get

func (NullableCalendarEventSeries) IsSet

func (NullableCalendarEventSeries) MarshalJSON

func (v NullableCalendarEventSeries) MarshalJSON() ([]byte, error)

func (*NullableCalendarEventSeries) Set

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 (NullableCalendarEventSeriesDeleteRequest) Get

func (NullableCalendarEventSeriesDeleteRequest) IsSet

func (NullableCalendarEventSeriesDeleteRequest) MarshalJSON

func (*NullableCalendarEventSeriesDeleteRequest) Set

func (*NullableCalendarEventSeriesDeleteRequest) UnmarshalJSON

func (v *NullableCalendarEventSeriesDeleteRequest) UnmarshalJSON(src []byte) error

func (*NullableCalendarEventSeriesDeleteRequest) Unset

type NullableCalendarEventSeriesUpdateRequest

type NullableCalendarEventSeriesUpdateRequest struct {
	// contains filtered or unexported fields
}

func (NullableCalendarEventSeriesUpdateRequest) Get

func (NullableCalendarEventSeriesUpdateRequest) IsSet

func (NullableCalendarEventSeriesUpdateRequest) MarshalJSON

func (*NullableCalendarEventSeriesUpdateRequest) Set

func (*NullableCalendarEventSeriesUpdateRequest) UnmarshalJSON

func (v *NullableCalendarEventSeriesUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableCalendarEventSeriesUpdateRequest) Unset

type NullableCalendarEventUpdateRequest

type NullableCalendarEventUpdateRequest struct {
	// contains filtered or unexported fields
}

func (NullableCalendarEventUpdateRequest) Get

func (NullableCalendarEventUpdateRequest) IsSet

func (NullableCalendarEventUpdateRequest) MarshalJSON

func (v NullableCalendarEventUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableCalendarEventUpdateRequest) Set

func (*NullableCalendarEventUpdateRequest) UnmarshalJSON

func (v *NullableCalendarEventUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableCalendarEventUpdateRequest) Unset

type NullableCalendarEventUpdateRequestCancellation

type NullableCalendarEventUpdateRequestCancellation struct {
	// contains filtered or unexported fields
}

func (NullableCalendarEventUpdateRequestCancellation) Get

func (NullableCalendarEventUpdateRequestCancellation) IsSet

func (NullableCalendarEventUpdateRequestCancellation) MarshalJSON

func (*NullableCalendarEventUpdateRequestCancellation) Set

func (*NullableCalendarEventUpdateRequestCancellation) UnmarshalJSON

func (*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 (NullableCategoryCreate200Response) Get

func (NullableCategoryCreate200Response) IsSet

func (NullableCategoryCreate200Response) MarshalJSON

func (v NullableCategoryCreate200Response) MarshalJSON() ([]byte, error)

func (*NullableCategoryCreate200Response) Set

func (*NullableCategoryCreate200Response) UnmarshalJSON

func (v *NullableCategoryCreate200Response) UnmarshalJSON(src []byte) error

func (*NullableCategoryCreate200Response) Unset

type NullableCategoryCreateRequest

type NullableCategoryCreateRequest struct {
	// contains filtered or unexported fields
}

func (NullableCategoryCreateRequest) Get

func (NullableCategoryCreateRequest) IsSet

func (NullableCategoryCreateRequest) MarshalJSON

func (v NullableCategoryCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableCategoryCreateRequest) Set

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 (NullableCategoryUpdateRequest) Get

func (NullableCategoryUpdateRequest) IsSet

func (NullableCategoryUpdateRequest) MarshalJSON

func (v NullableCategoryUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableCategoryUpdateRequest) Set

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 (NullableChannelCategoryRolePermission) Get

func (NullableChannelCategoryRolePermission) IsSet

func (NullableChannelCategoryRolePermission) MarshalJSON

func (v NullableChannelCategoryRolePermission) MarshalJSON() ([]byte, error)

func (*NullableChannelCategoryRolePermission) Set

func (*NullableChannelCategoryRolePermission) UnmarshalJSON

func (v *NullableChannelCategoryRolePermission) UnmarshalJSON(src []byte) error

func (*NullableChannelCategoryRolePermission) Unset

type NullableChannelCategoryRolePermissionRead200Response

type NullableChannelCategoryRolePermissionRead200Response struct {
	// contains filtered or unexported fields
}

func (NullableChannelCategoryRolePermissionRead200Response) Get

func (NullableChannelCategoryRolePermissionRead200Response) IsSet

func (NullableChannelCategoryRolePermissionRead200Response) MarshalJSON

func (*NullableChannelCategoryRolePermissionRead200Response) Set

func (*NullableChannelCategoryRolePermissionRead200Response) UnmarshalJSON

func (*NullableChannelCategoryRolePermissionRead200Response) Unset

type NullableChannelCategoryRolePermissionReadMany200Response

type NullableChannelCategoryRolePermissionReadMany200Response struct {
	// contains filtered or unexported fields
}

func (NullableChannelCategoryRolePermissionReadMany200Response) Get

func (NullableChannelCategoryRolePermissionReadMany200Response) IsSet

func (NullableChannelCategoryRolePermissionReadMany200Response) MarshalJSON

func (*NullableChannelCategoryRolePermissionReadMany200Response) Set

func (*NullableChannelCategoryRolePermissionReadMany200Response) UnmarshalJSON

func (*NullableChannelCategoryRolePermissionReadMany200Response) Unset

type NullableChannelCategoryUserPermission

type NullableChannelCategoryUserPermission struct {
	// contains filtered or unexported fields
}

func (NullableChannelCategoryUserPermission) Get

func (NullableChannelCategoryUserPermission) IsSet

func (NullableChannelCategoryUserPermission) MarshalJSON

func (v NullableChannelCategoryUserPermission) MarshalJSON() ([]byte, error)

func (*NullableChannelCategoryUserPermission) Set

func (*NullableChannelCategoryUserPermission) UnmarshalJSON

func (v *NullableChannelCategoryUserPermission) UnmarshalJSON(src []byte) error

func (*NullableChannelCategoryUserPermission) Unset

type NullableChannelCategoryUserPermissionRead200Response

type NullableChannelCategoryUserPermissionRead200Response struct {
	// contains filtered or unexported fields
}

func (NullableChannelCategoryUserPermissionRead200Response) Get

func (NullableChannelCategoryUserPermissionRead200Response) IsSet

func (NullableChannelCategoryUserPermissionRead200Response) MarshalJSON

func (*NullableChannelCategoryUserPermissionRead200Response) Set

func (*NullableChannelCategoryUserPermissionRead200Response) UnmarshalJSON

func (*NullableChannelCategoryUserPermissionRead200Response) Unset

type NullableChannelCategoryUserPermissionReadMany200Response

type NullableChannelCategoryUserPermissionReadMany200Response struct {
	// contains filtered or unexported fields
}

func (NullableChannelCategoryUserPermissionReadMany200Response) Get

func (NullableChannelCategoryUserPermissionReadMany200Response) IsSet

func (NullableChannelCategoryUserPermissionReadMany200Response) MarshalJSON

func (*NullableChannelCategoryUserPermissionReadMany200Response) Set

func (*NullableChannelCategoryUserPermissionReadMany200Response) UnmarshalJSON

func (*NullableChannelCategoryUserPermissionReadMany200Response) Unset

type NullableChannelCreate201Response

type NullableChannelCreate201Response struct {
	// contains filtered or unexported fields
}

func (NullableChannelCreate201Response) Get

func (NullableChannelCreate201Response) IsSet

func (NullableChannelCreate201Response) MarshalJSON

func (v NullableChannelCreate201Response) MarshalJSON() ([]byte, error)

func (*NullableChannelCreate201Response) Set

func (*NullableChannelCreate201Response) UnmarshalJSON

func (v *NullableChannelCreate201Response) UnmarshalJSON(src []byte) error

func (*NullableChannelCreate201Response) Unset

type NullableChannelMessageCreate201Response

type NullableChannelMessageCreate201Response struct {
	// contains filtered or unexported fields
}

func (NullableChannelMessageCreate201Response) Get

func (NullableChannelMessageCreate201Response) IsSet

func (NullableChannelMessageCreate201Response) MarshalJSON

func (v NullableChannelMessageCreate201Response) MarshalJSON() ([]byte, error)

func (*NullableChannelMessageCreate201Response) Set

func (*NullableChannelMessageCreate201Response) UnmarshalJSON

func (v *NullableChannelMessageCreate201Response) UnmarshalJSON(src []byte) error

func (*NullableChannelMessageCreate201Response) Unset

type NullableChannelMessageCreateRequest

type NullableChannelMessageCreateRequest struct {
	// contains filtered or unexported fields
}

func (NullableChannelMessageCreateRequest) Get

func (NullableChannelMessageCreateRequest) IsSet

func (NullableChannelMessageCreateRequest) MarshalJSON

func (v NullableChannelMessageCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableChannelMessageCreateRequest) Set

func (*NullableChannelMessageCreateRequest) UnmarshalJSON

func (v *NullableChannelMessageCreateRequest) UnmarshalJSON(src []byte) error

func (*NullableChannelMessageCreateRequest) Unset

type NullableChannelMessageReadMany200Response

type NullableChannelMessageReadMany200Response struct {
	// contains filtered or unexported fields
}

func (NullableChannelMessageReadMany200Response) Get

func (NullableChannelMessageReadMany200Response) IsSet

func (NullableChannelMessageReadMany200Response) MarshalJSON

func (*NullableChannelMessageReadMany200Response) Set

func (*NullableChannelMessageReadMany200Response) UnmarshalJSON

func (v *NullableChannelMessageReadMany200Response) UnmarshalJSON(src []byte) error

func (*NullableChannelMessageReadMany200Response) Unset

type NullableChannelMessageUpdate200Response

type NullableChannelMessageUpdate200Response struct {
	// contains filtered or unexported fields
}

func (NullableChannelMessageUpdate200Response) Get

func (NullableChannelMessageUpdate200Response) IsSet

func (NullableChannelMessageUpdate200Response) MarshalJSON

func (v NullableChannelMessageUpdate200Response) MarshalJSON() ([]byte, error)

func (*NullableChannelMessageUpdate200Response) Set

func (*NullableChannelMessageUpdate200Response) UnmarshalJSON

func (v *NullableChannelMessageUpdate200Response) UnmarshalJSON(src []byte) error

func (*NullableChannelMessageUpdate200Response) Unset

type NullableChannelMessageUpdate200ResponseMessage

type NullableChannelMessageUpdate200ResponseMessage struct {
	// contains filtered or unexported fields
}

func (NullableChannelMessageUpdate200ResponseMessage) Get

func (NullableChannelMessageUpdate200ResponseMessage) IsSet

func (NullableChannelMessageUpdate200ResponseMessage) MarshalJSON

func (*NullableChannelMessageUpdate200ResponseMessage) Set

func (*NullableChannelMessageUpdate200ResponseMessage) UnmarshalJSON

func (*NullableChannelMessageUpdate200ResponseMessage) Unset

type NullableChannelMessageUpdateRequest

type NullableChannelMessageUpdateRequest struct {
	// contains filtered or unexported fields
}

func (NullableChannelMessageUpdateRequest) Get

func (NullableChannelMessageUpdateRequest) IsSet

func (NullableChannelMessageUpdateRequest) MarshalJSON

func (v NullableChannelMessageUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableChannelMessageUpdateRequest) Set

func (*NullableChannelMessageUpdateRequest) UnmarshalJSON

func (v *NullableChannelMessageUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableChannelMessageUpdateRequest) Unset

type NullableChannelRolePermission

type NullableChannelRolePermission struct {
	// contains filtered or unexported fields
}

func (NullableChannelRolePermission) Get

func (NullableChannelRolePermission) IsSet

func (NullableChannelRolePermission) MarshalJSON

func (v NullableChannelRolePermission) MarshalJSON() ([]byte, error)

func (*NullableChannelRolePermission) Set

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 (NullableChannelRolePermissionCreateRequest) Get

func (NullableChannelRolePermissionCreateRequest) IsSet

func (NullableChannelRolePermissionCreateRequest) MarshalJSON

func (*NullableChannelRolePermissionCreateRequest) Set

func (*NullableChannelRolePermissionCreateRequest) UnmarshalJSON

func (v *NullableChannelRolePermissionCreateRequest) UnmarshalJSON(src []byte) error

func (*NullableChannelRolePermissionCreateRequest) Unset

type NullableChannelRolePermissionRead200Response

type NullableChannelRolePermissionRead200Response struct {
	// contains filtered or unexported fields
}

func (NullableChannelRolePermissionRead200Response) Get

func (NullableChannelRolePermissionRead200Response) IsSet

func (NullableChannelRolePermissionRead200Response) MarshalJSON

func (*NullableChannelRolePermissionRead200Response) Set

func (*NullableChannelRolePermissionRead200Response) UnmarshalJSON

func (*NullableChannelRolePermissionRead200Response) Unset

type NullableChannelRolePermissionReadMany200Response

type NullableChannelRolePermissionReadMany200Response struct {
	// contains filtered or unexported fields
}

func (NullableChannelRolePermissionReadMany200Response) Get

func (NullableChannelRolePermissionReadMany200Response) IsSet

func (NullableChannelRolePermissionReadMany200Response) MarshalJSON

func (*NullableChannelRolePermissionReadMany200Response) Set

func (*NullableChannelRolePermissionReadMany200Response) UnmarshalJSON

func (*NullableChannelRolePermissionReadMany200Response) Unset

type NullableChannelUpdateRequest

type NullableChannelUpdateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableChannelUpdateRequest

func NewNullableChannelUpdateRequest(val *ChannelUpdateRequest) *NullableChannelUpdateRequest

func (NullableChannelUpdateRequest) Get

func (NullableChannelUpdateRequest) IsSet

func (NullableChannelUpdateRequest) MarshalJSON

func (v NullableChannelUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableChannelUpdateRequest) Set

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 (NullableChannelUserPermission) Get

func (NullableChannelUserPermission) IsSet

func (NullableChannelUserPermission) MarshalJSON

func (v NullableChannelUserPermission) MarshalJSON() ([]byte, error)

func (*NullableChannelUserPermission) Set

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 (NullableChannelUserPermissionRead200Response) Get

func (NullableChannelUserPermissionRead200Response) IsSet

func (NullableChannelUserPermissionRead200Response) MarshalJSON

func (*NullableChannelUserPermissionRead200Response) Set

func (*NullableChannelUserPermissionRead200Response) UnmarshalJSON

func (*NullableChannelUserPermissionRead200Response) Unset

type NullableChannelUserPermissionReadMany200Response

type NullableChannelUserPermissionReadMany200Response struct {
	// contains filtered or unexported fields
}

func (NullableChannelUserPermissionReadMany200Response) Get

func (NullableChannelUserPermissionReadMany200Response) IsSet

func (NullableChannelUserPermissionReadMany200Response) MarshalJSON

func (*NullableChannelUserPermissionReadMany200Response) Set

func (*NullableChannelUserPermissionReadMany200Response) UnmarshalJSON

func (*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 (NullableChatEmbedAuthor) IsSet

func (v NullableChatEmbedAuthor) IsSet() bool

func (NullableChatEmbedAuthor) MarshalJSON

func (v NullableChatEmbedAuthor) MarshalJSON() ([]byte, error)

func (*NullableChatEmbedAuthor) Set

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 (NullableChatEmbedFieldsInner) IsSet

func (NullableChatEmbedFieldsInner) MarshalJSON

func (v NullableChatEmbedFieldsInner) MarshalJSON() ([]byte, error)

func (*NullableChatEmbedFieldsInner) Set

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 (NullableChatEmbedFooter) IsSet

func (v NullableChatEmbedFooter) IsSet() bool

func (NullableChatEmbedFooter) MarshalJSON

func (v NullableChatEmbedFooter) MarshalJSON() ([]byte, error)

func (*NullableChatEmbedFooter) Set

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 (NullableChatEmbedImage) IsSet

func (v NullableChatEmbedImage) IsSet() bool

func (NullableChatEmbedImage) MarshalJSON

func (v NullableChatEmbedImage) MarshalJSON() ([]byte, error)

func (*NullableChatEmbedImage) Set

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 (NullableChatEmbedThumbnail) IsSet

func (v NullableChatEmbedThumbnail) IsSet() bool

func (NullableChatEmbedThumbnail) MarshalJSON

func (v NullableChatEmbedThumbnail) MarshalJSON() ([]byte, error)

func (*NullableChatEmbedThumbnail) Set

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 (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 (NullableChatMessageReaction) IsSet

func (NullableChatMessageReaction) MarshalJSON

func (v NullableChatMessageReaction) MarshalJSON() ([]byte, error)

func (*NullableChatMessageReaction) Set

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 (NullableDocCommentCreate201Response) Get

func (NullableDocCommentCreate201Response) IsSet

func (NullableDocCommentCreate201Response) MarshalJSON

func (v NullableDocCommentCreate201Response) MarshalJSON() ([]byte, error)

func (*NullableDocCommentCreate201Response) Set

func (*NullableDocCommentCreate201Response) UnmarshalJSON

func (v *NullableDocCommentCreate201Response) UnmarshalJSON(src []byte) error

func (*NullableDocCommentCreate201Response) Unset

type NullableDocCommentCreateRequest

type NullableDocCommentCreateRequest struct {
	// contains filtered or unexported fields
}

func (NullableDocCommentCreateRequest) Get

func (NullableDocCommentCreateRequest) IsSet

func (NullableDocCommentCreateRequest) MarshalJSON

func (v NullableDocCommentCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableDocCommentCreateRequest) Set

func (*NullableDocCommentCreateRequest) UnmarshalJSON

func (v *NullableDocCommentCreateRequest) UnmarshalJSON(src []byte) error

func (*NullableDocCommentCreateRequest) Unset

type NullableDocCommentReaction

type NullableDocCommentReaction struct {
	// contains filtered or unexported fields
}

func NewNullableDocCommentReaction

func NewNullableDocCommentReaction(val *DocCommentReaction) *NullableDocCommentReaction

func (NullableDocCommentReaction) Get

func (NullableDocCommentReaction) IsSet

func (v NullableDocCommentReaction) IsSet() bool

func (NullableDocCommentReaction) MarshalJSON

func (v NullableDocCommentReaction) MarshalJSON() ([]byte, error)

func (*NullableDocCommentReaction) Set

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 (NullableDocCommentReadMany200Response) Get

func (NullableDocCommentReadMany200Response) IsSet

func (NullableDocCommentReadMany200Response) MarshalJSON

func (v NullableDocCommentReadMany200Response) MarshalJSON() ([]byte, error)

func (*NullableDocCommentReadMany200Response) Set

func (*NullableDocCommentReadMany200Response) UnmarshalJSON

func (v *NullableDocCommentReadMany200Response) UnmarshalJSON(src []byte) error

func (*NullableDocCommentReadMany200Response) Unset

type NullableDocCreate201Response

type NullableDocCreate201Response struct {
	// contains filtered or unexported fields
}

func NewNullableDocCreate201Response

func NewNullableDocCreate201Response(val *DocCreate201Response) *NullableDocCreate201Response

func (NullableDocCreate201Response) Get

func (NullableDocCreate201Response) IsSet

func (NullableDocCreate201Response) MarshalJSON

func (v NullableDocCreate201Response) MarshalJSON() ([]byte, error)

func (*NullableDocCreate201Response) Set

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 (NullableDocCreateRequest) IsSet

func (v NullableDocCreateRequest) IsSet() bool

func (NullableDocCreateRequest) MarshalJSON

func (v NullableDocCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableDocCreateRequest) Set

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 (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 (NullableDocReadMany200Response) Get

func (NullableDocReadMany200Response) IsSet

func (NullableDocReadMany200Response) MarshalJSON

func (v NullableDocReadMany200Response) MarshalJSON() ([]byte, error)

func (*NullableDocReadMany200Response) Set

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 (NullableDocUpdateRequest) IsSet

func (v NullableDocUpdateRequest) IsSet() bool

func (NullableDocUpdateRequest) MarshalJSON

func (v NullableDocUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableDocUpdateRequest) Set

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 (NullableForumTopicComment) IsSet

func (v NullableForumTopicComment) IsSet() bool

func (NullableForumTopicComment) MarshalJSON

func (v NullableForumTopicComment) MarshalJSON() ([]byte, error)

func (*NullableForumTopicComment) Set

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 (NullableForumTopicCommentCreate201Response) Get

func (NullableForumTopicCommentCreate201Response) IsSet

func (NullableForumTopicCommentCreate201Response) MarshalJSON

func (*NullableForumTopicCommentCreate201Response) Set

func (*NullableForumTopicCommentCreate201Response) UnmarshalJSON

func (v *NullableForumTopicCommentCreate201Response) UnmarshalJSON(src []byte) error

func (*NullableForumTopicCommentCreate201Response) Unset

type NullableForumTopicCommentCreateRequest

type NullableForumTopicCommentCreateRequest struct {
	// contains filtered or unexported fields
}

func (NullableForumTopicCommentCreateRequest) Get

func (NullableForumTopicCommentCreateRequest) IsSet

func (NullableForumTopicCommentCreateRequest) MarshalJSON

func (v NullableForumTopicCommentCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableForumTopicCommentCreateRequest) Set

func (*NullableForumTopicCommentCreateRequest) UnmarshalJSON

func (v *NullableForumTopicCommentCreateRequest) UnmarshalJSON(src []byte) error

func (*NullableForumTopicCommentCreateRequest) Unset

type NullableForumTopicCommentReaction

type NullableForumTopicCommentReaction struct {
	// contains filtered or unexported fields
}

func (NullableForumTopicCommentReaction) Get

func (NullableForumTopicCommentReaction) IsSet

func (NullableForumTopicCommentReaction) MarshalJSON

func (v NullableForumTopicCommentReaction) MarshalJSON() ([]byte, error)

func (*NullableForumTopicCommentReaction) Set

func (*NullableForumTopicCommentReaction) UnmarshalJSON

func (v *NullableForumTopicCommentReaction) UnmarshalJSON(src []byte) error

func (*NullableForumTopicCommentReaction) Unset

type NullableForumTopicCommentReadMany200Response

type NullableForumTopicCommentReadMany200Response struct {
	// contains filtered or unexported fields
}

func (NullableForumTopicCommentReadMany200Response) Get

func (NullableForumTopicCommentReadMany200Response) IsSet

func (NullableForumTopicCommentReadMany200Response) MarshalJSON

func (*NullableForumTopicCommentReadMany200Response) Set

func (*NullableForumTopicCommentReadMany200Response) UnmarshalJSON

func (*NullableForumTopicCommentReadMany200Response) Unset

type NullableForumTopicCommentUpdateRequest

type NullableForumTopicCommentUpdateRequest struct {
	// contains filtered or unexported fields
}

func (NullableForumTopicCommentUpdateRequest) Get

func (NullableForumTopicCommentUpdateRequest) IsSet

func (NullableForumTopicCommentUpdateRequest) MarshalJSON

func (v NullableForumTopicCommentUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableForumTopicCommentUpdateRequest) Set

func (*NullableForumTopicCommentUpdateRequest) UnmarshalJSON

func (v *NullableForumTopicCommentUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableForumTopicCommentUpdateRequest) Unset

type NullableForumTopicCreate201Response

type NullableForumTopicCreate201Response struct {
	// contains filtered or unexported fields
}

func (NullableForumTopicCreate201Response) Get

func (NullableForumTopicCreate201Response) IsSet

func (NullableForumTopicCreate201Response) MarshalJSON

func (v NullableForumTopicCreate201Response) MarshalJSON() ([]byte, error)

func (*NullableForumTopicCreate201Response) Set

func (*NullableForumTopicCreate201Response) UnmarshalJSON

func (v *NullableForumTopicCreate201Response) UnmarshalJSON(src []byte) error

func (*NullableForumTopicCreate201Response) Unset

type NullableForumTopicCreateRequest

type NullableForumTopicCreateRequest struct {
	// contains filtered or unexported fields
}

func (NullableForumTopicCreateRequest) Get

func (NullableForumTopicCreateRequest) IsSet

func (NullableForumTopicCreateRequest) MarshalJSON

func (v NullableForumTopicCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableForumTopicCreateRequest) Set

func (*NullableForumTopicCreateRequest) UnmarshalJSON

func (v *NullableForumTopicCreateRequest) UnmarshalJSON(src []byte) error

func (*NullableForumTopicCreateRequest) Unset

type NullableForumTopicReaction

type NullableForumTopicReaction struct {
	// contains filtered or unexported fields
}

func NewNullableForumTopicReaction

func NewNullableForumTopicReaction(val *ForumTopicReaction) *NullableForumTopicReaction

func (NullableForumTopicReaction) Get

func (NullableForumTopicReaction) IsSet

func (v NullableForumTopicReaction) IsSet() bool

func (NullableForumTopicReaction) MarshalJSON

func (v NullableForumTopicReaction) MarshalJSON() ([]byte, error)

func (*NullableForumTopicReaction) Set

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 (NullableForumTopicReadMany200Response) Get

func (NullableForumTopicReadMany200Response) IsSet

func (NullableForumTopicReadMany200Response) MarshalJSON

func (v NullableForumTopicReadMany200Response) MarshalJSON() ([]byte, error)

func (*NullableForumTopicReadMany200Response) Set

func (*NullableForumTopicReadMany200Response) UnmarshalJSON

func (v *NullableForumTopicReadMany200Response) UnmarshalJSON(src []byte) error

func (*NullableForumTopicReadMany200Response) Unset

type NullableForumTopicSummary

type NullableForumTopicSummary struct {
	// contains filtered or unexported fields
}

func NewNullableForumTopicSummary

func NewNullableForumTopicSummary(val *ForumTopicSummary) *NullableForumTopicSummary

func (NullableForumTopicSummary) Get

func (NullableForumTopicSummary) IsSet

func (v NullableForumTopicSummary) IsSet() bool

func (NullableForumTopicSummary) MarshalJSON

func (v NullableForumTopicSummary) MarshalJSON() ([]byte, error)

func (*NullableForumTopicSummary) Set

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 (NullableForumTopicUpdateRequest) Get

func (NullableForumTopicUpdateRequest) IsSet

func (NullableForumTopicUpdateRequest) MarshalJSON

func (v NullableForumTopicUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableForumTopicUpdateRequest) Set

func (*NullableForumTopicUpdateRequest) UnmarshalJSON

func (v *NullableForumTopicUpdateRequest) UnmarshalJSON(src []byte) error

func (*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 (NullableGroupCreate201Response) Get

func (NullableGroupCreate201Response) IsSet

func (NullableGroupCreate201Response) MarshalJSON

func (v NullableGroupCreate201Response) MarshalJSON() ([]byte, error)

func (*NullableGroupCreate201Response) Set

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 (NullableGroupCreateRequest) IsSet

func (v NullableGroupCreateRequest) IsSet() bool

func (NullableGroupCreateRequest) MarshalJSON

func (v NullableGroupCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableGroupCreateRequest) Set

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 (NullableGroupReadMany200Response) Get

func (NullableGroupReadMany200Response) IsSet

func (NullableGroupReadMany200Response) MarshalJSON

func (v NullableGroupReadMany200Response) MarshalJSON() ([]byte, error)

func (*NullableGroupReadMany200Response) Set

func (*NullableGroupReadMany200Response) UnmarshalJSON

func (v *NullableGroupReadMany200Response) UnmarshalJSON(src []byte) error

func (*NullableGroupReadMany200Response) Unset

type NullableGroupUpdateRequest

type NullableGroupUpdateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableGroupUpdateRequest

func NewNullableGroupUpdateRequest(val *GroupUpdateRequest) *NullableGroupUpdateRequest

func (NullableGroupUpdateRequest) Get

func (NullableGroupUpdateRequest) IsSet

func (v NullableGroupUpdateRequest) IsSet() bool

func (NullableGroupUpdateRequest) MarshalJSON

func (v NullableGroupUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableGroupUpdateRequest) Set

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 (NullableListItemCreate201Response) Get

func (NullableListItemCreate201Response) IsSet

func (NullableListItemCreate201Response) MarshalJSON

func (v NullableListItemCreate201Response) MarshalJSON() ([]byte, error)

func (*NullableListItemCreate201Response) Set

func (*NullableListItemCreate201Response) UnmarshalJSON

func (v *NullableListItemCreate201Response) UnmarshalJSON(src []byte) error

func (*NullableListItemCreate201Response) Unset

type NullableListItemCreateRequest

type NullableListItemCreateRequest struct {
	// contains filtered or unexported fields
}

func (NullableListItemCreateRequest) Get

func (NullableListItemCreateRequest) IsSet

func (NullableListItemCreateRequest) MarshalJSON

func (v NullableListItemCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableListItemCreateRequest) Set

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 (NullableListItemCreateRequestNote) Get

func (NullableListItemCreateRequestNote) IsSet

func (NullableListItemCreateRequestNote) MarshalJSON

func (v NullableListItemCreateRequestNote) MarshalJSON() ([]byte, error)

func (*NullableListItemCreateRequestNote) Set

func (*NullableListItemCreateRequestNote) UnmarshalJSON

func (v *NullableListItemCreateRequestNote) UnmarshalJSON(src []byte) error

func (*NullableListItemCreateRequestNote) Unset

type NullableListItemNote

type NullableListItemNote struct {
	// contains filtered or unexported fields
}

func NewNullableListItemNote

func NewNullableListItemNote(val *ListItemNote) *NullableListItemNote

func (NullableListItemNote) Get

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 (NullableListItemReadMany200Response) Get

func (NullableListItemReadMany200Response) IsSet

func (NullableListItemReadMany200Response) MarshalJSON

func (v NullableListItemReadMany200Response) MarshalJSON() ([]byte, error)

func (*NullableListItemReadMany200Response) Set

func (*NullableListItemReadMany200Response) UnmarshalJSON

func (v *NullableListItemReadMany200Response) UnmarshalJSON(src []byte) error

func (*NullableListItemReadMany200Response) Unset

type NullableListItemSummary

type NullableListItemSummary struct {
	// contains filtered or unexported fields
}

func NewNullableListItemSummary

func NewNullableListItemSummary(val *ListItemSummary) *NullableListItemSummary

func (NullableListItemSummary) Get

func (NullableListItemSummary) IsSet

func (v NullableListItemSummary) IsSet() bool

func (NullableListItemSummary) MarshalJSON

func (v NullableListItemSummary) MarshalJSON() ([]byte, error)

func (*NullableListItemSummary) Set

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 (NullableListItemSummaryNote) IsSet

func (NullableListItemSummaryNote) MarshalJSON

func (v NullableListItemSummaryNote) MarshalJSON() ([]byte, error)

func (*NullableListItemSummaryNote) Set

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 (NullableListItemUpdateRequest) Get

func (NullableListItemUpdateRequest) IsSet

func (NullableListItemUpdateRequest) MarshalJSON

func (v NullableListItemUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableListItemUpdateRequest) Set

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 (NullableListItemUpdateRequestNote) Get

func (NullableListItemUpdateRequestNote) IsSet

func (NullableListItemUpdateRequestNote) MarshalJSON

func (v NullableListItemUpdateRequestNote) MarshalJSON() ([]byte, error)

func (*NullableListItemUpdateRequestNote) Set

func (*NullableListItemUpdateRequestNote) UnmarshalJSON

func (v *NullableListItemUpdateRequestNote) UnmarshalJSON(src []byte) error

func (*NullableListItemUpdateRequestNote) Unset

type NullableMemberNicknameUpdate200Response

type NullableMemberNicknameUpdate200Response struct {
	// contains filtered or unexported fields
}

func (NullableMemberNicknameUpdate200Response) Get

func (NullableMemberNicknameUpdate200Response) IsSet

func (NullableMemberNicknameUpdate200Response) MarshalJSON

func (v NullableMemberNicknameUpdate200Response) MarshalJSON() ([]byte, error)

func (*NullableMemberNicknameUpdate200Response) Set

func (*NullableMemberNicknameUpdate200Response) UnmarshalJSON

func (v *NullableMemberNicknameUpdate200Response) UnmarshalJSON(src []byte) error

func (*NullableMemberNicknameUpdate200Response) Unset

type NullableMemberNicknameUpdateRequest

type NullableMemberNicknameUpdateRequest struct {
	// contains filtered or unexported fields
}

func (NullableMemberNicknameUpdateRequest) Get

func (NullableMemberNicknameUpdateRequest) IsSet

func (NullableMemberNicknameUpdateRequest) MarshalJSON

func (v NullableMemberNicknameUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableMemberNicknameUpdateRequest) Set

func (*NullableMemberNicknameUpdateRequest) UnmarshalJSON

func (v *NullableMemberNicknameUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableMemberNicknameUpdateRequest) Unset

type NullableMemberSocialLinkRead200Response

type NullableMemberSocialLinkRead200Response struct {
	// contains filtered or unexported fields
}

func (NullableMemberSocialLinkRead200Response) Get

func (NullableMemberSocialLinkRead200Response) IsSet

func (NullableMemberSocialLinkRead200Response) MarshalJSON

func (v NullableMemberSocialLinkRead200Response) MarshalJSON() ([]byte, error)

func (*NullableMemberSocialLinkRead200Response) Set

func (*NullableMemberSocialLinkRead200Response) UnmarshalJSON

func (v *NullableMemberSocialLinkRead200Response) UnmarshalJSON(src []byte) error

func (*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 (NullableRoleCreate200Response) Get

func (NullableRoleCreate200Response) IsSet

func (NullableRoleCreate200Response) MarshalJSON

func (v NullableRoleCreate200Response) MarshalJSON() ([]byte, error)

func (*NullableRoleCreate200Response) Set

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 (NullableRoleCreateRequest) IsSet

func (v NullableRoleCreateRequest) IsSet() bool

func (NullableRoleCreateRequest) MarshalJSON

func (v NullableRoleCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableRoleCreateRequest) Set

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 (NullableRoleMembershipReadMany200Response) Get

func (NullableRoleMembershipReadMany200Response) IsSet

func (NullableRoleMembershipReadMany200Response) MarshalJSON

func (*NullableRoleMembershipReadMany200Response) Set

func (*NullableRoleMembershipReadMany200Response) UnmarshalJSON

func (v *NullableRoleMembershipReadMany200Response) UnmarshalJSON(src []byte) error

func (*NullableRoleMembershipReadMany200Response) Unset

type NullableRolePermissionUpdateRequest

type NullableRolePermissionUpdateRequest struct {
	// contains filtered or unexported fields
}

func (NullableRolePermissionUpdateRequest) Get

func (NullableRolePermissionUpdateRequest) IsSet

func (NullableRolePermissionUpdateRequest) MarshalJSON

func (v NullableRolePermissionUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableRolePermissionUpdateRequest) Set

func (*NullableRolePermissionUpdateRequest) UnmarshalJSON

func (v *NullableRolePermissionUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableRolePermissionUpdateRequest) Unset

type NullableRoleReadMany200Response

type NullableRoleReadMany200Response struct {
	// contains filtered or unexported fields
}

func (NullableRoleReadMany200Response) Get

func (NullableRoleReadMany200Response) IsSet

func (NullableRoleReadMany200Response) MarshalJSON

func (v NullableRoleReadMany200Response) MarshalJSON() ([]byte, error)

func (*NullableRoleReadMany200Response) Set

func (*NullableRoleReadMany200Response) UnmarshalJSON

func (v *NullableRoleReadMany200Response) UnmarshalJSON(src []byte) error

func (*NullableRoleReadMany200Response) Unset

type NullableRoleUpdateRequest

type NullableRoleUpdateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableRoleUpdateRequest

func NewNullableRoleUpdateRequest(val *RoleUpdateRequest) *NullableRoleUpdateRequest

func (NullableRoleUpdateRequest) Get

func (NullableRoleUpdateRequest) IsSet

func (v NullableRoleUpdateRequest) IsSet() bool

func (NullableRoleUpdateRequest) MarshalJSON

func (v NullableRoleUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableRoleUpdateRequest) Set

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 (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 (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 (NullableServerMemberBan) IsSet

func (v NullableServerMemberBan) IsSet() bool

func (NullableServerMemberBan) MarshalJSON

func (v NullableServerMemberBan) MarshalJSON() ([]byte, error)

func (*NullableServerMemberBan) Set

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 (NullableServerMemberBanCreateRequest) Get

func (NullableServerMemberBanCreateRequest) IsSet

func (NullableServerMemberBanCreateRequest) MarshalJSON

func (v NullableServerMemberBanCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableServerMemberBanCreateRequest) Set

func (*NullableServerMemberBanCreateRequest) UnmarshalJSON

func (v *NullableServerMemberBanCreateRequest) UnmarshalJSON(src []byte) error

func (*NullableServerMemberBanCreateRequest) Unset

type NullableServerMemberBanRead200Response

type NullableServerMemberBanRead200Response struct {
	// contains filtered or unexported fields
}

func (NullableServerMemberBanRead200Response) Get

func (NullableServerMemberBanRead200Response) IsSet

func (NullableServerMemberBanRead200Response) MarshalJSON

func (v NullableServerMemberBanRead200Response) MarshalJSON() ([]byte, error)

func (*NullableServerMemberBanRead200Response) Set

func (*NullableServerMemberBanRead200Response) UnmarshalJSON

func (v *NullableServerMemberBanRead200Response) UnmarshalJSON(src []byte) error

func (*NullableServerMemberBanRead200Response) Unset

type NullableServerMemberBanReadMany200Response

type NullableServerMemberBanReadMany200Response struct {
	// contains filtered or unexported fields
}

func (NullableServerMemberBanReadMany200Response) Get

func (NullableServerMemberBanReadMany200Response) IsSet

func (NullableServerMemberBanReadMany200Response) MarshalJSON

func (*NullableServerMemberBanReadMany200Response) Set

func (*NullableServerMemberBanReadMany200Response) UnmarshalJSON

func (v *NullableServerMemberBanReadMany200Response) UnmarshalJSON(src []byte) error

func (*NullableServerMemberBanReadMany200Response) Unset

type NullableServerMemberPermissions

type NullableServerMemberPermissions struct {
	// contains filtered or unexported fields
}

func (NullableServerMemberPermissions) Get

func (NullableServerMemberPermissions) IsSet

func (NullableServerMemberPermissions) MarshalJSON

func (v NullableServerMemberPermissions) MarshalJSON() ([]byte, error)

func (*NullableServerMemberPermissions) Set

func (*NullableServerMemberPermissions) UnmarshalJSON

func (v *NullableServerMemberPermissions) UnmarshalJSON(src []byte) error

func (*NullableServerMemberPermissions) Unset

type NullableServerMemberPermissionsRead200Response

type NullableServerMemberPermissionsRead200Response struct {
	// contains filtered or unexported fields
}

func (NullableServerMemberPermissionsRead200Response) Get

func (NullableServerMemberPermissionsRead200Response) IsSet

func (NullableServerMemberPermissionsRead200Response) MarshalJSON

func (*NullableServerMemberPermissionsRead200Response) Set

func (*NullableServerMemberPermissionsRead200Response) UnmarshalJSON

func (*NullableServerMemberPermissionsRead200Response) Unset

type NullableServerMemberRead200Response

type NullableServerMemberRead200Response struct {
	// contains filtered or unexported fields
}

func (NullableServerMemberRead200Response) Get

func (NullableServerMemberRead200Response) IsSet

func (NullableServerMemberRead200Response) MarshalJSON

func (v NullableServerMemberRead200Response) MarshalJSON() ([]byte, error)

func (*NullableServerMemberRead200Response) Set

func (*NullableServerMemberRead200Response) UnmarshalJSON

func (v *NullableServerMemberRead200Response) UnmarshalJSON(src []byte) error

func (*NullableServerMemberRead200Response) Unset

type NullableServerMemberReadMany200Response

type NullableServerMemberReadMany200Response struct {
	// contains filtered or unexported fields
}

func (NullableServerMemberReadMany200Response) Get

func (NullableServerMemberReadMany200Response) IsSet

func (NullableServerMemberReadMany200Response) MarshalJSON

func (v NullableServerMemberReadMany200Response) MarshalJSON() ([]byte, error)

func (*NullableServerMemberReadMany200Response) Set

func (*NullableServerMemberReadMany200Response) UnmarshalJSON

func (v *NullableServerMemberReadMany200Response) UnmarshalJSON(src []byte) error

func (*NullableServerMemberReadMany200Response) Unset

type NullableServerMemberSummary

type NullableServerMemberSummary struct {
	// contains filtered or unexported fields
}

func NewNullableServerMemberSummary

func NewNullableServerMemberSummary(val *ServerMemberSummary) *NullableServerMemberSummary

func (NullableServerMemberSummary) Get

func (NullableServerMemberSummary) IsSet

func (NullableServerMemberSummary) MarshalJSON

func (v NullableServerMemberSummary) MarshalJSON() ([]byte, error)

func (*NullableServerMemberSummary) Set

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 (NullableServerRead200Response) Get

func (NullableServerRead200Response) IsSet

func (NullableServerRead200Response) MarshalJSON

func (v NullableServerRead200Response) MarshalJSON() ([]byte, error)

func (*NullableServerRead200Response) Set

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 (NullableServerSubscriptionTier) Get

func (NullableServerSubscriptionTier) IsSet

func (NullableServerSubscriptionTier) MarshalJSON

func (v NullableServerSubscriptionTier) MarshalJSON() ([]byte, error)

func (*NullableServerSubscriptionTier) Set

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 (NullableServerSubscriptionTierRead200Response) Get

func (NullableServerSubscriptionTierRead200Response) IsSet

func (NullableServerSubscriptionTierRead200Response) MarshalJSON

func (*NullableServerSubscriptionTierRead200Response) Set

func (*NullableServerSubscriptionTierRead200Response) UnmarshalJSON

func (*NullableServerSubscriptionTierRead200Response) Unset

type NullableServerSubscriptionTierReadMany200Response

type NullableServerSubscriptionTierReadMany200Response struct {
	// contains filtered or unexported fields
}

func (NullableServerSubscriptionTierReadMany200Response) Get

func (NullableServerSubscriptionTierReadMany200Response) IsSet

func (NullableServerSubscriptionTierReadMany200Response) MarshalJSON

func (*NullableServerSubscriptionTierReadMany200Response) Set

func (*NullableServerSubscriptionTierReadMany200Response) UnmarshalJSON

func (*NullableServerSubscriptionTierReadMany200Response) Unset

type NullableServerXpForUserCreateManyRequest

type NullableServerXpForUserCreateManyRequest struct {
	// contains filtered or unexported fields
}

func (NullableServerXpForUserCreateManyRequest) Get

func (NullableServerXpForUserCreateManyRequest) IsSet

func (NullableServerXpForUserCreateManyRequest) MarshalJSON

func (*NullableServerXpForUserCreateManyRequest) Set

func (*NullableServerXpForUserCreateManyRequest) UnmarshalJSON

func (v *NullableServerXpForUserCreateManyRequest) UnmarshalJSON(src []byte) error

func (*NullableServerXpForUserCreateManyRequest) Unset

type NullableServerXpForUserCreateRequest

type NullableServerXpForUserCreateRequest struct {
	// contains filtered or unexported fields
}

func (NullableServerXpForUserCreateRequest) Get

func (NullableServerXpForUserCreateRequest) IsSet

func (NullableServerXpForUserCreateRequest) MarshalJSON

func (v NullableServerXpForUserCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableServerXpForUserCreateRequest) Set

func (*NullableServerXpForUserCreateRequest) UnmarshalJSON

func (v *NullableServerXpForUserCreateRequest) UnmarshalJSON(src []byte) error

func (*NullableServerXpForUserCreateRequest) Unset

type NullableServerXpForUserUpdate200Response

type NullableServerXpForUserUpdate200Response struct {
	// contains filtered or unexported fields
}

func (NullableServerXpForUserUpdate200Response) Get

func (NullableServerXpForUserUpdate200Response) IsSet

func (NullableServerXpForUserUpdate200Response) MarshalJSON

func (*NullableServerXpForUserUpdate200Response) Set

func (*NullableServerXpForUserUpdate200Response) UnmarshalJSON

func (v *NullableServerXpForUserUpdate200Response) UnmarshalJSON(src []byte) error

func (*NullableServerXpForUserUpdate200Response) Unset

type NullableServerXpForUserUpdateMany200Response

type NullableServerXpForUserUpdateMany200Response struct {
	// contains filtered or unexported fields
}

func (NullableServerXpForUserUpdateMany200Response) Get

func (NullableServerXpForUserUpdateMany200Response) IsSet

func (NullableServerXpForUserUpdateMany200Response) MarshalJSON

func (*NullableServerXpForUserUpdateMany200Response) Set

func (*NullableServerXpForUserUpdateMany200Response) UnmarshalJSON

func (*NullableServerXpForUserUpdateMany200Response) Unset

type NullableServerXpForUserUpdateManyRequest

type NullableServerXpForUserUpdateManyRequest struct {
	// contains filtered or unexported fields
}

func (NullableServerXpForUserUpdateManyRequest) Get

func (NullableServerXpForUserUpdateManyRequest) IsSet

func (NullableServerXpForUserUpdateManyRequest) MarshalJSON

func (*NullableServerXpForUserUpdateManyRequest) Set

func (*NullableServerXpForUserUpdateManyRequest) UnmarshalJSON

func (v *NullableServerXpForUserUpdateManyRequest) UnmarshalJSON(src []byte) error

func (*NullableServerXpForUserUpdateManyRequest) Unset

type NullableServerXpForUserUpdateRequest

type NullableServerXpForUserUpdateRequest struct {
	// contains filtered or unexported fields
}

func (NullableServerXpForUserUpdateRequest) Get

func (NullableServerXpForUserUpdateRequest) IsSet

func (NullableServerXpForUserUpdateRequest) MarshalJSON

func (v NullableServerXpForUserUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableServerXpForUserUpdateRequest) Set

func (*NullableServerXpForUserUpdateRequest) UnmarshalJSON

func (v *NullableServerXpForUserUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableServerXpForUserUpdateRequest) Unset

type NullableSocialLink struct {
	// contains filtered or unexported fields
}
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 (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 (NullableUrlSignatureCreateMany200Response) Get

func (NullableUrlSignatureCreateMany200Response) IsSet

func (NullableUrlSignatureCreateMany200Response) MarshalJSON

func (*NullableUrlSignatureCreateMany200Response) Set

func (*NullableUrlSignatureCreateMany200Response) UnmarshalJSON

func (v *NullableUrlSignatureCreateMany200Response) UnmarshalJSON(src []byte) error

func (*NullableUrlSignatureCreateMany200Response) Unset

type NullableUrlSignatureCreateManyRequest

type NullableUrlSignatureCreateManyRequest struct {
	// contains filtered or unexported fields
}

func (NullableUrlSignatureCreateManyRequest) Get

func (NullableUrlSignatureCreateManyRequest) IsSet

func (NullableUrlSignatureCreateManyRequest) MarshalJSON

func (v NullableUrlSignatureCreateManyRequest) MarshalJSON() ([]byte, error)

func (*NullableUrlSignatureCreateManyRequest) Set

func (*NullableUrlSignatureCreateManyRequest) UnmarshalJSON

func (v *NullableUrlSignatureCreateManyRequest) UnmarshalJSON(src []byte) error

func (*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 (NullableUserRead200Response) IsSet

func (NullableUserRead200Response) MarshalJSON

func (v NullableUserRead200Response) MarshalJSON() ([]byte, error)

func (*NullableUserRead200Response) Set

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 (NullableUserServerReadMany200Response) Get

func (NullableUserServerReadMany200Response) IsSet

func (NullableUserServerReadMany200Response) MarshalJSON

func (v NullableUserServerReadMany200Response) MarshalJSON() ([]byte, error)

func (*NullableUserServerReadMany200Response) Set

func (*NullableUserServerReadMany200Response) UnmarshalJSON

func (v *NullableUserServerReadMany200Response) UnmarshalJSON(src []byte) error

func (*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 (NullableUserStatusCreateRequest) Get

func (NullableUserStatusCreateRequest) IsSet

func (NullableUserStatusCreateRequest) MarshalJSON

func (v NullableUserStatusCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableUserStatusCreateRequest) Set

func (*NullableUserStatusCreateRequest) UnmarshalJSON

func (v *NullableUserStatusCreateRequest) UnmarshalJSON(src []byte) error

func (*NullableUserStatusCreateRequest) Unset

type NullableUserSummary

type NullableUserSummary struct {
	// contains filtered or unexported fields
}

func NewNullableUserSummary

func NewNullableUserSummary(val *UserSummary) *NullableUserSummary

func (NullableUserSummary) Get

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 (NullableWebhookCreate201Response) Get

func (NullableWebhookCreate201Response) IsSet

func (NullableWebhookCreate201Response) MarshalJSON

func (v NullableWebhookCreate201Response) MarshalJSON() ([]byte, error)

func (*NullableWebhookCreate201Response) Set

func (*NullableWebhookCreate201Response) UnmarshalJSON

func (v *NullableWebhookCreate201Response) UnmarshalJSON(src []byte) error

func (*NullableWebhookCreate201Response) Unset

type NullableWebhookCreateRequest

type NullableWebhookCreateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableWebhookCreateRequest

func NewNullableWebhookCreateRequest(val *WebhookCreateRequest) *NullableWebhookCreateRequest

func (NullableWebhookCreateRequest) Get

func (NullableWebhookCreateRequest) IsSet

func (NullableWebhookCreateRequest) MarshalJSON

func (v NullableWebhookCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableWebhookCreateRequest) Set

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 (NullableWebhookReadMany200Response) Get

func (NullableWebhookReadMany200Response) IsSet

func (NullableWebhookReadMany200Response) MarshalJSON

func (v NullableWebhookReadMany200Response) MarshalJSON() ([]byte, error)

func (*NullableWebhookReadMany200Response) Set

func (*NullableWebhookReadMany200Response) UnmarshalJSON

func (v *NullableWebhookReadMany200Response) UnmarshalJSON(src []byte) error

func (*NullableWebhookReadMany200Response) Unset

type NullableWebhookUpdateRequest

type NullableWebhookUpdateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableWebhookUpdateRequest

func NewNullableWebhookUpdateRequest(val *WebhookUpdateRequest) *NullableWebhookUpdateRequest

func (NullableWebhookUpdateRequest) Get

func (NullableWebhookUpdateRequest) IsSet

func (NullableWebhookUpdateRequest) MarshalJSON

func (v NullableWebhookUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableWebhookUpdateRequest) Set

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 (PermissionOverrideAPIChannelCategoryRolePermissionCreateRequest) Execute

type PermissionOverrideAPIChannelCategoryRolePermissionDeleteRequest

type PermissionOverrideAPIChannelCategoryRolePermissionDeleteRequest struct {
	ApiService PermissionOverrideAPI
	// contains filtered or unexported fields
}

func (PermissionOverrideAPIChannelCategoryRolePermissionDeleteRequest) Execute

type PermissionOverrideAPIChannelCategoryRolePermissionReadManyRequest

type PermissionOverrideAPIChannelCategoryRolePermissionReadManyRequest struct {
	ApiService PermissionOverrideAPI
	// contains filtered or unexported fields
}

func (PermissionOverrideAPIChannelCategoryRolePermissionReadManyRequest) Execute

type PermissionOverrideAPIChannelCategoryRolePermissionReadRequest

type PermissionOverrideAPIChannelCategoryRolePermissionReadRequest struct {
	ApiService PermissionOverrideAPI
	// contains filtered or unexported fields
}

func (PermissionOverrideAPIChannelCategoryRolePermissionReadRequest) Execute

type PermissionOverrideAPIChannelCategoryRolePermissionUpdateRequest

type PermissionOverrideAPIChannelCategoryRolePermissionUpdateRequest struct {
	ApiService PermissionOverrideAPI
	// contains filtered or unexported fields
}

func (PermissionOverrideAPIChannelCategoryRolePermissionUpdateRequest) ChannelRolePermissionCreateRequest

func (PermissionOverrideAPIChannelCategoryRolePermissionUpdateRequest) Execute

type PermissionOverrideAPIChannelCategoryUserPermissionCreateRequest

type PermissionOverrideAPIChannelCategoryUserPermissionCreateRequest struct {
	ApiService PermissionOverrideAPI
	// contains filtered or unexported fields
}

func (PermissionOverrideAPIChannelCategoryUserPermissionCreateRequest) ChannelRolePermissionCreateRequest

func (PermissionOverrideAPIChannelCategoryUserPermissionCreateRequest) Execute

type PermissionOverrideAPIChannelCategoryUserPermissionDeleteRequest

type PermissionOverrideAPIChannelCategoryUserPermissionDeleteRequest struct {
	ApiService PermissionOverrideAPI
	// contains filtered or unexported fields
}

func (PermissionOverrideAPIChannelCategoryUserPermissionDeleteRequest) Execute

type PermissionOverrideAPIChannelCategoryUserPermissionReadManyRequest

type PermissionOverrideAPIChannelCategoryUserPermissionReadManyRequest struct {
	ApiService PermissionOverrideAPI
	// contains filtered or unexported fields
}

func (PermissionOverrideAPIChannelCategoryUserPermissionReadManyRequest) Execute

type PermissionOverrideAPIChannelCategoryUserPermissionReadRequest

type PermissionOverrideAPIChannelCategoryUserPermissionReadRequest struct {
	ApiService PermissionOverrideAPI
	// contains filtered or unexported fields
}

func (PermissionOverrideAPIChannelCategoryUserPermissionReadRequest) Execute

type PermissionOverrideAPIChannelCategoryUserPermissionUpdateRequest

type PermissionOverrideAPIChannelCategoryUserPermissionUpdateRequest struct {
	ApiService PermissionOverrideAPI
	// contains filtered or unexported fields
}

func (PermissionOverrideAPIChannelCategoryUserPermissionUpdateRequest) ChannelRolePermissionCreateRequest

func (PermissionOverrideAPIChannelCategoryUserPermissionUpdateRequest) Execute

type PermissionOverrideAPIChannelRolePermissionCreateRequest

type PermissionOverrideAPIChannelRolePermissionCreateRequest struct {
	ApiService PermissionOverrideAPI
	// contains filtered or unexported fields
}

func (PermissionOverrideAPIChannelRolePermissionCreateRequest) ChannelRolePermissionCreateRequest

func (PermissionOverrideAPIChannelRolePermissionCreateRequest) Execute

type PermissionOverrideAPIChannelRolePermissionDeleteRequest

type PermissionOverrideAPIChannelRolePermissionDeleteRequest struct {
	ApiService PermissionOverrideAPI
	// contains filtered or unexported fields
}

func (PermissionOverrideAPIChannelRolePermissionDeleteRequest) Execute

type PermissionOverrideAPIChannelRolePermissionReadManyRequest

type PermissionOverrideAPIChannelRolePermissionReadManyRequest struct {
	ApiService PermissionOverrideAPI
	// contains filtered or unexported fields
}

func (PermissionOverrideAPIChannelRolePermissionReadManyRequest) Execute

type PermissionOverrideAPIChannelRolePermissionReadRequest

type PermissionOverrideAPIChannelRolePermissionReadRequest struct {
	ApiService PermissionOverrideAPI
	// contains filtered or unexported fields
}

func (PermissionOverrideAPIChannelRolePermissionReadRequest) Execute

type PermissionOverrideAPIChannelRolePermissionUpdateRequest

type PermissionOverrideAPIChannelRolePermissionUpdateRequest struct {
	ApiService PermissionOverrideAPI
	// contains filtered or unexported fields
}

func (PermissionOverrideAPIChannelRolePermissionUpdateRequest) ChannelRolePermissionCreateRequest

func (PermissionOverrideAPIChannelRolePermissionUpdateRequest) Execute

type PermissionOverrideAPIChannelUserPermissionCreateRequest

type PermissionOverrideAPIChannelUserPermissionCreateRequest struct {
	ApiService PermissionOverrideAPI
	// contains filtered or unexported fields
}

func (PermissionOverrideAPIChannelUserPermissionCreateRequest) ChannelRolePermissionCreateRequest

func (PermissionOverrideAPIChannelUserPermissionCreateRequest) Execute

type PermissionOverrideAPIChannelUserPermissionDeleteRequest

type PermissionOverrideAPIChannelUserPermissionDeleteRequest struct {
	ApiService PermissionOverrideAPI
	// contains filtered or unexported fields
}

func (PermissionOverrideAPIChannelUserPermissionDeleteRequest) Execute

type PermissionOverrideAPIChannelUserPermissionReadManyRequest

type PermissionOverrideAPIChannelUserPermissionReadManyRequest struct {
	ApiService PermissionOverrideAPI
	// contains filtered or unexported fields
}

func (PermissionOverrideAPIChannelUserPermissionReadManyRequest) Execute

type PermissionOverrideAPIChannelUserPermissionReadRequest

type PermissionOverrideAPIChannelUserPermissionReadRequest struct {
	ApiService PermissionOverrideAPI
	// contains filtered or unexported fields
}

func (PermissionOverrideAPIChannelUserPermissionReadRequest) Execute

type PermissionOverrideAPIChannelUserPermissionUpdateRequest

type PermissionOverrideAPIChannelUserPermissionUpdateRequest struct {
	ApiService PermissionOverrideAPI
	// contains filtered or unexported fields
}

func (PermissionOverrideAPIChannelUserPermissionUpdateRequest) ChannelRolePermissionCreateRequest

func (PermissionOverrideAPIChannelUserPermissionUpdateRequest) Execute

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

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

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

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

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

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

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

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

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

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

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

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

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

Execute executes the request

@return ChannelRolePermissionRead200Response

func (*PermissionOverrideAPIService) ChannelRolePermissionReadMany

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

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

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

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

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

Execute executes the request

@return ChannelUserPermissionRead200Response

func (*PermissionOverrideAPIService) ChannelUserPermissionReadMany

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

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

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
}

func (ReactionsAPIAnnouncementCommentReactionCreateRequest) Execute

type ReactionsAPIAnnouncementCommentReactionDeleteRequest

type ReactionsAPIAnnouncementCommentReactionDeleteRequest struct {
	ApiService ReactionsAPI
	// contains filtered or unexported fields
}

func (ReactionsAPIAnnouncementCommentReactionDeleteRequest) Execute

type ReactionsAPIAnnouncementReactionCreateRequest

type ReactionsAPIAnnouncementReactionCreateRequest struct {
	ApiService ReactionsAPI
	// contains filtered or unexported fields
}

func (ReactionsAPIAnnouncementReactionCreateRequest) Execute

type ReactionsAPIAnnouncementReactionDeleteRequest

type ReactionsAPIAnnouncementReactionDeleteRequest struct {
	ApiService ReactionsAPI
	// contains filtered or unexported fields
}

func (ReactionsAPIAnnouncementReactionDeleteRequest) Execute

type ReactionsAPICalendarEventCommentReactionCreateRequest

type ReactionsAPICalendarEventCommentReactionCreateRequest struct {
	ApiService ReactionsAPI
	// contains filtered or unexported fields
}

func (ReactionsAPICalendarEventCommentReactionCreateRequest) Execute

type ReactionsAPICalendarEventCommentReactionDeleteRequest

type ReactionsAPICalendarEventCommentReactionDeleteRequest struct {
	ApiService ReactionsAPI
	// contains filtered or unexported fields
}

func (ReactionsAPICalendarEventCommentReactionDeleteRequest) Execute

type ReactionsAPICalendarEventReactionCreateRequest

type ReactionsAPICalendarEventReactionCreateRequest struct {
	ApiService ReactionsAPI
	// contains filtered or unexported fields
}

func (ReactionsAPICalendarEventReactionCreateRequest) Execute

type ReactionsAPICalendarEventReactionDeleteRequest

type ReactionsAPICalendarEventReactionDeleteRequest struct {
	ApiService ReactionsAPI
	// contains filtered or unexported fields
}

func (ReactionsAPICalendarEventReactionDeleteRequest) Execute

type ReactionsAPIChannelMessageReactionCreateRequest

type ReactionsAPIChannelMessageReactionCreateRequest struct {
	ApiService ReactionsAPI
	// contains filtered or unexported fields
}

func (ReactionsAPIChannelMessageReactionCreateRequest) Execute

type ReactionsAPIChannelMessageReactionDeleteManyRequest

type ReactionsAPIChannelMessageReactionDeleteManyRequest struct {
	ApiService ReactionsAPI
	// contains filtered or unexported fields
}

func (ReactionsAPIChannelMessageReactionDeleteManyRequest) EmoteId

func (ReactionsAPIChannelMessageReactionDeleteManyRequest) Execute

type ReactionsAPIChannelMessageReactionDeleteRequest

type ReactionsAPIChannelMessageReactionDeleteRequest struct {
	ApiService ReactionsAPI
	// contains filtered or unexported fields
}

func (ReactionsAPIChannelMessageReactionDeleteRequest) Execute

func (ReactionsAPIChannelMessageReactionDeleteRequest) UserId

type ReactionsAPIDocCommentReactionCreateRequest

type ReactionsAPIDocCommentReactionCreateRequest struct {
	ApiService ReactionsAPI
	// contains filtered or unexported fields
}

func (ReactionsAPIDocCommentReactionCreateRequest) Execute

type ReactionsAPIDocCommentReactionDeleteRequest

type ReactionsAPIDocCommentReactionDeleteRequest struct {
	ApiService ReactionsAPI
	// contains filtered or unexported fields
}

func (ReactionsAPIDocCommentReactionDeleteRequest) Execute

type ReactionsAPIDocReactionCreateRequest

type ReactionsAPIDocReactionCreateRequest struct {
	ApiService ReactionsAPI
	// contains filtered or unexported fields
}

func (ReactionsAPIDocReactionCreateRequest) Execute

type ReactionsAPIDocReactionDeleteRequest

type ReactionsAPIDocReactionDeleteRequest struct {
	ApiService ReactionsAPI
	// contains filtered or unexported fields
}

func (ReactionsAPIDocReactionDeleteRequest) Execute

type ReactionsAPIForumTopicCommentReactionCreateRequest

type ReactionsAPIForumTopicCommentReactionCreateRequest struct {
	ApiService ReactionsAPI
	// contains filtered or unexported fields
}

func (ReactionsAPIForumTopicCommentReactionCreateRequest) Execute

type ReactionsAPIForumTopicCommentReactionDeleteRequest

type ReactionsAPIForumTopicCommentReactionDeleteRequest struct {
	ApiService ReactionsAPI
	// contains filtered or unexported fields
}

func (ReactionsAPIForumTopicCommentReactionDeleteRequest) Execute

type ReactionsAPIForumTopicReactionCreateRequest

type ReactionsAPIForumTopicReactionCreateRequest struct {
	ApiService ReactionsAPI
	// contains filtered or unexported fields
}

func (ReactionsAPIForumTopicReactionCreateRequest) Execute

type ReactionsAPIForumTopicReactionDeleteRequest

type ReactionsAPIForumTopicReactionDeleteRequest struct {
	ApiService ReactionsAPI
	// contains filtered or unexported fields
}

func (ReactionsAPIForumTopicReactionDeleteRequest) Execute

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

func (o *Role) GetBotUserId() string

GetBotUserId returns the BotUserId field value if set, zero value otherwise.

func (*Role) GetBotUserIdOk

func (o *Role) GetBotUserIdOk() (*string, bool)

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) GetColors

func (o *Role) GetColors() []int32

GetColors returns the Colors field value if set, zero value otherwise.

func (*Role) GetColorsOk

func (o *Role) 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 (*Role) GetCreatedAt

func (o *Role) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*Role) GetCreatedAtOk

func (o *Role) 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 (*Role) GetIcon

func (o *Role) GetIcon() string

GetIcon returns the Icon field value if set, zero value otherwise.

func (*Role) GetIconOk

func (o *Role) GetIconOk() (*string, bool)

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) GetId

func (o *Role) GetId() int32

GetId returns the Id field value

func (*Role) GetIdOk

func (o *Role) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Role) GetIsBase

func (o *Role) GetIsBase() bool

GetIsBase returns the IsBase field value if set, zero value otherwise.

func (*Role) GetIsBaseOk

func (o *Role) GetIsBaseOk() (*bool, bool)

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

func (o *Role) GetIsDisplayedSeparately() bool

GetIsDisplayedSeparately returns the IsDisplayedSeparately field value if set, zero value otherwise.

func (*Role) GetIsDisplayedSeparatelyOk

func (o *Role) 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 (*Role) GetIsMentionable

func (o *Role) GetIsMentionable() bool

GetIsMentionable returns the IsMentionable field value if set, zero value otherwise.

func (*Role) GetIsMentionableOk

func (o *Role) 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 (*Role) GetIsSelfAssignable

func (o *Role) GetIsSelfAssignable() bool

GetIsSelfAssignable returns the IsSelfAssignable field value if set, zero value otherwise.

func (*Role) GetIsSelfAssignableOk

func (o *Role) 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 (*Role) GetName

func (o *Role) GetName() string

GetName returns the Name field value

func (*Role) GetNameOk

func (o *Role) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Role) GetPermissions

func (o *Role) GetPermissions() []string

GetPermissions returns the Permissions field value

func (*Role) GetPermissionsOk

func (o *Role) GetPermissionsOk() ([]string, bool)

GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.

func (*Role) GetPriority

func (o *Role) GetPriority() int32

GetPriority returns the Priority field value if set, zero value otherwise.

func (*Role) GetPriorityOk

func (o *Role) 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 (*Role) GetServerId

func (o *Role) GetServerId() string

GetServerId returns the ServerId field value

func (*Role) GetServerIdOk

func (o *Role) GetServerIdOk() (*string, bool)

GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.

func (*Role) GetUpdatedAt

func (o *Role) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Role) GetUpdatedAtOk

func (o *Role) 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 (*Role) HasBotUserId

func (o *Role) HasBotUserId() bool

HasBotUserId returns a boolean if a field has been set.

func (*Role) HasColors

func (o *Role) HasColors() bool

HasColors returns a boolean if a field has been set.

func (*Role) HasIcon

func (o *Role) HasIcon() bool

HasIcon returns a boolean if a field has been set.

func (*Role) HasIsBase

func (o *Role) HasIsBase() bool

HasIsBase returns a boolean if a field has been set.

func (*Role) HasIsDisplayedSeparately

func (o *Role) HasIsDisplayedSeparately() bool

HasIsDisplayedSeparately returns a boolean if a field has been set.

func (*Role) HasIsMentionable

func (o *Role) HasIsMentionable() bool

HasIsMentionable returns a boolean if a field has been set.

func (*Role) HasIsSelfAssignable

func (o *Role) HasIsSelfAssignable() bool

HasIsSelfAssignable returns a boolean if a field has been set.

func (*Role) HasPriority

func (o *Role) HasPriority() bool

HasPriority returns a boolean if a field has been set.

func (*Role) HasUpdatedAt

func (o *Role) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Role) MarshalJSON

func (o Role) MarshalJSON() ([]byte, error)

func (*Role) SetBotUserId

func (o *Role) SetBotUserId(v string)

SetBotUserId gets a reference to the given string and assigns it to the BotUserId field.

func (*Role) SetColors

func (o *Role) SetColors(v []int32)

SetColors gets a reference to the given []int32 and assigns it to the Colors field.

func (*Role) SetCreatedAt

func (o *Role) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Role) SetIcon

func (o *Role) SetIcon(v string)

SetIcon gets a reference to the given string and assigns it to the Icon field.

func (*Role) SetId

func (o *Role) SetId(v int32)

SetId sets field value

func (*Role) SetIsBase

func (o *Role) SetIsBase(v bool)

SetIsBase gets a reference to the given bool and assigns it to the IsBase field.

func (*Role) SetIsDisplayedSeparately

func (o *Role) SetIsDisplayedSeparately(v bool)

SetIsDisplayedSeparately gets a reference to the given bool and assigns it to the IsDisplayedSeparately field.

func (*Role) SetIsMentionable

func (o *Role) SetIsMentionable(v bool)

SetIsMentionable gets a reference to the given bool and assigns it to the IsMentionable field.

func (*Role) SetIsSelfAssignable

func (o *Role) SetIsSelfAssignable(v bool)

SetIsSelfAssignable gets a reference to the given bool and assigns it to the IsSelfAssignable field.

func (*Role) SetName

func (o *Role) SetName(v string)

SetName sets field value

func (*Role) SetPermissions

func (o *Role) SetPermissions(v []string)

SetPermissions sets field value

func (*Role) SetPriority

func (o *Role) SetPriority(v int32)

SetPriority gets a reference to the given int32 and assigns it to the Priority field.

func (*Role) SetServerId

func (o *Role) SetServerId(v string)

SetServerId sets field value

func (*Role) SetUpdatedAt

func (o *Role) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (Role) ToMap

func (o Role) ToMap() (map[string]interface{}, error)

func (*Role) UnmarshalJSON

func (o *Role) UnmarshalJSON(data []byte) (err error)

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
}

func (RoleMembershipAPIRoleMembershipCreateRequest) Execute

type RoleMembershipAPIRoleMembershipDeleteRequest

type RoleMembershipAPIRoleMembershipDeleteRequest struct {
	ApiService RoleMembershipAPI
	// contains filtered or unexported fields
}

func (RoleMembershipAPIRoleMembershipDeleteRequest) Execute

type RoleMembershipAPIRoleMembershipReadManyRequest

type RoleMembershipAPIRoleMembershipReadManyRequest struct {
	ApiService RoleMembershipAPI
	// contains filtered or unexported fields
}

func (RoleMembershipAPIRoleMembershipReadManyRequest) Execute

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

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

Execute executes the request

func (*RoleMembershipAPIService) RoleMembershipReadMany

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

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 (RolesAPIRoleCreateRequest) RoleCreateRequest

func (r RolesAPIRoleCreateRequest) RoleCreateRequest(roleCreateRequest RoleCreateRequest) RolesAPIRoleCreateRequest

type RolesAPIRoleDeleteRequest

type RolesAPIRoleDeleteRequest struct {
	ApiService RolesAPI
	// contains filtered or unexported fields
}

func (RolesAPIRoleDeleteRequest) Execute

type RolesAPIRolePermissionUpdateRequest

type RolesAPIRolePermissionUpdateRequest struct {
	ApiService RolesAPI
	// contains filtered or unexported fields
}

func (RolesAPIRolePermissionUpdateRequest) Execute

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

type RolesAPIRoleReadRequest

type RolesAPIRoleReadRequest struct {
	ApiService RolesAPI
	// contains filtered or unexported fields
}

func (RolesAPIRoleReadRequest) Execute

type RolesAPIRoleUpdateRequest

type RolesAPIRoleUpdateRequest struct {
	ApiService RolesAPI
	// contains filtered or unexported fields
}

func (RolesAPIRoleUpdateRequest) Execute

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 (RolesAPIServerMemberPermissionsReadRequest) ChannelId

func (RolesAPIServerMemberPermissionsReadRequest) Execute

func (RolesAPIServerMemberPermissionsReadRequest) Ids

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

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

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

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

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

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

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

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

func NewServer(id string, ownerId string, name string, createdAt time.Time) *Server

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) GetAbout

func (o *Server) GetAbout() string

GetAbout returns the About field value if set, zero value otherwise.

func (*Server) GetAboutOk

func (o *Server) GetAboutOk() (*string, bool)

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) GetAvatar

func (o *Server) GetAvatar() string

GetAvatar returns the Avatar field value if set, zero value otherwise.

func (*Server) GetAvatarOk

func (o *Server) 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 (*Server) GetBanner

func (o *Server) GetBanner() string

GetBanner returns the Banner field value if set, zero value otherwise.

func (*Server) GetBannerOk

func (o *Server) GetBannerOk() (*string, bool)

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

func (o *Server) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*Server) GetCreatedAtOk

func (o *Server) 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 (*Server) GetDefaultChannelId

func (o *Server) GetDefaultChannelId() string

GetDefaultChannelId returns the DefaultChannelId field value if set, zero value otherwise.

func (*Server) GetDefaultChannelIdOk

func (o *Server) GetDefaultChannelIdOk() (*string, bool)

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) GetId

func (o *Server) GetId() string

GetId returns the Id field value

func (*Server) GetIdOk

func (o *Server) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Server) GetIsVerified

func (o *Server) GetIsVerified() bool

GetIsVerified returns the IsVerified field value if set, zero value otherwise.

func (*Server) GetIsVerifiedOk

func (o *Server) GetIsVerifiedOk() (*bool, bool)

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) GetName

func (o *Server) GetName() string

GetName returns the Name field value

func (*Server) GetNameOk

func (o *Server) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Server) GetOwnerId

func (o *Server) GetOwnerId() string

GetOwnerId returns the OwnerId field value

func (*Server) GetOwnerIdOk

func (o *Server) GetOwnerIdOk() (*string, bool)

GetOwnerIdOk returns a tuple with the OwnerId field value and a boolean to check if the value has been set.

func (*Server) GetTimezone

func (o *Server) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*Server) GetTimezoneOk

func (o *Server) GetTimezoneOk() (*string, bool)

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) GetType

func (o *Server) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Server) GetTypeOk

func (o *Server) 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 (*Server) GetUrl

func (o *Server) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*Server) GetUrlOk

func (o *Server) 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 (*Server) HasAbout

func (o *Server) HasAbout() bool

HasAbout returns a boolean if a field has been set.

func (*Server) HasAvatar

func (o *Server) HasAvatar() bool

HasAvatar returns a boolean if a field has been set.

func (*Server) HasBanner

func (o *Server) HasBanner() bool

HasBanner returns a boolean if a field has been set.

func (*Server) HasDefaultChannelId

func (o *Server) HasDefaultChannelId() bool

HasDefaultChannelId returns a boolean if a field has been set.

func (*Server) HasIsVerified

func (o *Server) HasIsVerified() bool

HasIsVerified returns a boolean if a field has been set.

func (*Server) HasTimezone

func (o *Server) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (*Server) HasType

func (o *Server) HasType() bool

HasType returns a boolean if a field has been set.

func (*Server) HasUrl

func (o *Server) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (Server) MarshalJSON

func (o Server) MarshalJSON() ([]byte, error)

func (*Server) SetAbout

func (o *Server) SetAbout(v string)

SetAbout gets a reference to the given string and assigns it to the About field.

func (*Server) SetAvatar

func (o *Server) SetAvatar(v string)

SetAvatar gets a reference to the given string and assigns it to the Avatar field.

func (*Server) SetBanner

func (o *Server) SetBanner(v string)

SetBanner gets a reference to the given string and assigns it to the Banner field.

func (*Server) SetCreatedAt

func (o *Server) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Server) SetDefaultChannelId

func (o *Server) SetDefaultChannelId(v string)

SetDefaultChannelId gets a reference to the given string and assigns it to the DefaultChannelId field.

func (*Server) SetId

func (o *Server) SetId(v string)

SetId sets field value

func (*Server) SetIsVerified

func (o *Server) SetIsVerified(v bool)

SetIsVerified gets a reference to the given bool and assigns it to the IsVerified field.

func (*Server) SetName

func (o *Server) SetName(v string)

SetName sets field value

func (*Server) SetOwnerId

func (o *Server) SetOwnerId(v string)

SetOwnerId sets field value

func (*Server) SetTimezone

func (o *Server) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*Server) SetType

func (o *Server) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*Server) SetUrl

func (o *Server) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (Server) ToMap

func (o Server) ToMap() (map[string]interface{}, error)

func (*Server) UnmarshalJSON

func (o *Server) UnmarshalJSON(data []byte) (err error)

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) SetId

func (o *ServerChannel) SetId(v string)

SetId 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) SetName

func (o *ServerChannel) SetName(v string)

SetName sets field value

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) SetType

func (o *ServerChannel) SetType(v string)

SetType sets field value

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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

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) SetUser

func (o *ServerMember) SetUser(v User)

SetUser 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

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

GetMembers returns the Members field value

func (*ServerMemberReadMany200Response) GetMembersOk

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

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

type ServerSubscriptionAPIServerSubscriptionTierReadRequest

type ServerSubscriptionAPIServerSubscriptionTierReadRequest struct {
	ApiService ServerSubscriptionAPI
	// contains filtered or unexported fields
}

func (ServerSubscriptionAPIServerSubscriptionTierReadRequest) Execute

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

Execute executes the request

@return ServerSubscriptionTierRead200Response

func (*ServerSubscriptionAPIService) ServerSubscriptionTierReadMany

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

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 (*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

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

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 (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 (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 (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 (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 (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

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

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

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

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

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

type ServersAPIService

type ServersAPIService service

ServersAPIService ServersAPI service

func (*ServersAPIService) ServerRead

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

Execute executes the request

@return ServerRead200Response
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(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) SetType

func (o *SocialLink) SetType(v string)

SetType sets field value

func (*SocialLink) SetUserId

func (o *SocialLink) SetUserId(v string)

SetUserId sets field value

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

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

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) SetUrl

func (o *UrlSignature) SetUrl(v string)

SetUrl sets field value

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

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

Execute executes the request

@return UrlSignatureCreateMany200Response

type UrlSignatureAPIUrlSignatureCreateManyRequest

type UrlSignatureAPIUrlSignatureCreateManyRequest struct {
	ApiService UrlSignatureAPI
	// contains filtered or unexported fields
}

func (UrlSignatureAPIUrlSignatureCreateManyRequest) Execute

func (UrlSignatureAPIUrlSignatureCreateManyRequest) UrlSignatureCreateManyRequest

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

func NewUser(id string, name string, createdAt time.Time) *User

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) GetAvatar

func (o *User) GetAvatar() string

GetAvatar returns the Avatar field value if set, zero value otherwise.

func (*User) GetAvatarOk

func (o *User) 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 (*User) GetBanner

func (o *User) GetBanner() string

GetBanner returns the Banner field value if set, zero value otherwise.

func (*User) GetBannerOk

func (o *User) GetBannerOk() (*string, bool)

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

func (o *User) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*User) GetCreatedAtOk

func (o *User) 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 (*User) GetId

func (o *User) GetId() string

GetId returns the Id field value

func (*User) GetIdOk

func (o *User) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*User) GetName

func (o *User) GetName() string

GetName returns the Name field value

func (*User) GetNameOk

func (o *User) GetNameOk() (*string, bool)

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) GetType

func (o *User) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*User) GetTypeOk

func (o *User) 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 (*User) HasAvatar

func (o *User) HasAvatar() bool

HasAvatar returns a boolean if a field has been set.

func (*User) HasBanner

func (o *User) HasBanner() bool

HasBanner returns a boolean if a field has been set.

func (*User) HasStatus

func (o *User) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*User) HasType

func (o *User) HasType() bool

HasType returns a boolean if a field has been set.

func (User) MarshalJSON

func (o User) MarshalJSON() ([]byte, error)

func (*User) SetAvatar

func (o *User) SetAvatar(v string)

SetAvatar gets a reference to the given string and assigns it to the Avatar field.

func (*User) SetBanner

func (o *User) SetBanner(v string)

SetBanner gets a reference to the given string and assigns it to the Banner field.

func (*User) SetCreatedAt

func (o *User) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*User) SetId

func (o *User) SetId(v string)

SetId sets field value

func (*User) SetName

func (o *User) SetName(v string)

SetName sets field value

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

func (o *User) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (User) ToMap

func (o User) ToMap() (map[string]interface{}, error)

func (*User) UnmarshalJSON

func (o *User) UnmarshalJSON(data []byte) (err error)

type UserID

type UserID struct {
	// contains filtered or unexported fields
}

UserID The ID of the user

func (*UserID) MarshalJSON

func (src *UserID) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*UserID) UnmarshalJSON

func (dst *UserID) UnmarshalJSON(data []byte) error

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

func (src *UserID1) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*UserID1) UnmarshalJSON

func (dst *UserID1) UnmarshalJSON(data []byte) error

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

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

Execute executes the request

func (*UserStatusAPIService) UserStatusDelete

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

Execute executes the request

type UserStatusAPIUserStatusCreateRequest

type UserStatusAPIUserStatusCreateRequest struct {
	ApiService UserStatusAPI
	// contains filtered or unexported fields
}

func (UserStatusAPIUserStatusCreateRequest) Execute

func (UserStatusAPIUserStatusCreateRequest) UserStatusCreateRequest

type UserStatusAPIUserStatusDeleteRequest

type UserStatusAPIUserStatusDeleteRequest struct {
	ApiService UserStatusAPI
	// contains filtered or unexported fields
}

func (UserStatusAPIUserStatusDeleteRequest) Execute

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) GetId

func (o *UserSummary) GetId() string

GetId returns the Id field value

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) SetId

func (o *UserSummary) SetId(v string)

SetId sets field value

func (*UserSummary) SetName

func (o *UserSummary) SetName(v string)

SetName sets field value

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

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

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

Execute executes the request

@return UserServerReadMany200Response

type UsersAPIUserReadRequest

type UsersAPIUserReadRequest struct {
	ApiService UsersAPI
	// contains filtered or unexported fields
}

func (UsersAPIUserReadRequest) Execute

type UsersAPIUserServerReadManyRequest

type UsersAPIUserServerReadManyRequest struct {
	ApiService UsersAPI
	// contains filtered or unexported fields
}

func (UsersAPIUserServerReadManyRequest) Execute

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) GetAvatar

func (o *Webhook) GetAvatar() string

GetAvatar returns the Avatar field value if set, zero value otherwise.

func (*Webhook) GetAvatarOk

func (o *Webhook) 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 (*Webhook) GetChannelId

func (o *Webhook) GetChannelId() string

GetChannelId returns the ChannelId field value

func (*Webhook) GetChannelIdOk

func (o *Webhook) GetChannelIdOk() (*string, bool)

GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.

func (*Webhook) GetCreatedAt

func (o *Webhook) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*Webhook) GetCreatedAtOk

func (o *Webhook) 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 (*Webhook) GetCreatedBy

func (o *Webhook) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*Webhook) GetCreatedByOk

func (o *Webhook) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.

func (*Webhook) GetDeletedAt

func (o *Webhook) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.

func (*Webhook) GetDeletedAtOk

func (o *Webhook) GetDeletedAtOk() (*time.Time, bool)

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) GetId

func (o *Webhook) GetId() string

GetId returns the Id field value

func (*Webhook) GetIdOk

func (o *Webhook) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Webhook) GetName

func (o *Webhook) GetName() string

GetName returns the Name field value

func (*Webhook) GetNameOk

func (o *Webhook) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Webhook) GetServerId

func (o *Webhook) GetServerId() string

GetServerId returns the ServerId field value

func (*Webhook) GetServerIdOk

func (o *Webhook) GetServerIdOk() (*string, bool)

GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.

func (*Webhook) GetToken

func (o *Webhook) GetToken() string

GetToken returns the Token field value if set, zero value otherwise.

func (*Webhook) GetTokenOk

func (o *Webhook) GetTokenOk() (*string, bool)

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) HasAvatar

func (o *Webhook) HasAvatar() bool

HasAvatar returns a boolean if a field has been set.

func (*Webhook) HasDeletedAt

func (o *Webhook) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*Webhook) HasToken

func (o *Webhook) HasToken() bool

HasToken returns a boolean if a field has been set.

func (Webhook) MarshalJSON

func (o Webhook) MarshalJSON() ([]byte, error)

func (*Webhook) SetAvatar

func (o *Webhook) SetAvatar(v string)

SetAvatar gets a reference to the given string and assigns it to the Avatar field.

func (*Webhook) SetChannelId

func (o *Webhook) SetChannelId(v string)

SetChannelId sets field value

func (*Webhook) SetCreatedAt

func (o *Webhook) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Webhook) SetCreatedBy

func (o *Webhook) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Webhook) SetDeletedAt

func (o *Webhook) SetDeletedAt(v time.Time)

SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.

func (*Webhook) SetId

func (o *Webhook) SetId(v string)

SetId sets field value

func (*Webhook) SetName

func (o *Webhook) SetName(v string)

SetName sets field value

func (*Webhook) SetServerId

func (o *Webhook) SetServerId(v string)

SetServerId sets field value

func (*Webhook) SetToken

func (o *Webhook) SetToken(v string)

SetToken gets a reference to the given string and assigns it to the Token field.

func (Webhook) ToMap

func (o Webhook) ToMap() (map[string]interface{}, error)

func (*Webhook) UnmarshalJSON

func (o *Webhook) UnmarshalJSON(data []byte) (err error)

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

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

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

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

Execute executes the request

@return WebhookCreate201Response

type WebhookAPIWebhookCreateRequest

type WebhookAPIWebhookCreateRequest struct {
	ApiService WebhookAPI
	// contains filtered or unexported fields
}

func (WebhookAPIWebhookCreateRequest) Execute

func (WebhookAPIWebhookCreateRequest) WebhookCreateRequest

func (r WebhookAPIWebhookCreateRequest) WebhookCreateRequest(webhookCreateRequest WebhookCreateRequest) WebhookAPIWebhookCreateRequest

type WebhookAPIWebhookDeleteRequest

type WebhookAPIWebhookDeleteRequest struct {
	ApiService WebhookAPI
	// contains filtered or unexported fields
}

func (WebhookAPIWebhookDeleteRequest) Execute

type WebhookAPIWebhookReadManyRequest

type WebhookAPIWebhookReadManyRequest struct {
	ApiService WebhookAPI
	// contains filtered or unexported fields
}

func (WebhookAPIWebhookReadManyRequest) ChannelId

ID of the channel you want to filter for webhooks

func (WebhookAPIWebhookReadManyRequest) Execute

type WebhookAPIWebhookReadRequest

type WebhookAPIWebhookReadRequest struct {
	ApiService WebhookAPI
	// contains filtered or unexported fields
}

func (WebhookAPIWebhookReadRequest) Execute

type WebhookAPIWebhookUpdateRequest

type WebhookAPIWebhookUpdateRequest struct {
	ApiService WebhookAPI
	// contains filtered or unexported fields
}

func (WebhookAPIWebhookUpdateRequest) Execute

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL