openapi

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: MIT Imports: 6 Imported by: 1

README

Go API client for openapi

This is the public Twilio REST API.

Overview

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

  • API version: 1.16.0
  • Package version: 1.0.0
  • Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit https://support.twilio.com

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 "./openapi"

Documentation for API Endpoints

All URIs are relative to https://ip-messaging.twilio.com

Class Method HTTP request Description
DefaultApi CreateChannel Post /v1/Services/{ServiceSid}/Channels
DefaultApi CreateCredential Post /v1/Credentials
DefaultApi CreateInvite Post /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Invites
DefaultApi CreateMember Post /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Members
DefaultApi CreateMessage Post /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Messages
DefaultApi CreateRole Post /v1/Services/{ServiceSid}/Roles
DefaultApi CreateService Post /v1/Services
DefaultApi CreateUser Post /v1/Services/{ServiceSid}/Users
DefaultApi DeleteChannel Delete /v1/Services/{ServiceSid}/Channels/{Sid}
DefaultApi DeleteCredential Delete /v1/Credentials/{Sid}
DefaultApi DeleteInvite Delete /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Invites/{Sid}
DefaultApi DeleteMember Delete /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Members/{Sid}
DefaultApi DeleteMessage Delete /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Messages/{Sid}
DefaultApi DeleteRole Delete /v1/Services/{ServiceSid}/Roles/{Sid}
DefaultApi DeleteService Delete /v1/Services/{Sid}
DefaultApi DeleteUser Delete /v1/Services/{ServiceSid}/Users/{Sid}
DefaultApi FetchChannel Get /v1/Services/{ServiceSid}/Channels/{Sid}
DefaultApi FetchCredential Get /v1/Credentials/{Sid}
DefaultApi FetchInvite Get /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Invites/{Sid}
DefaultApi FetchMember Get /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Members/{Sid}
DefaultApi FetchMessage Get /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Messages/{Sid}
DefaultApi FetchRole Get /v1/Services/{ServiceSid}/Roles/{Sid}
DefaultApi FetchService Get /v1/Services/{Sid}
DefaultApi FetchUser Get /v1/Services/{ServiceSid}/Users/{Sid}
DefaultApi ListChannel Get /v1/Services/{ServiceSid}/Channels
DefaultApi ListCredential Get /v1/Credentials
DefaultApi ListInvite Get /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Invites
DefaultApi ListMember Get /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Members
DefaultApi ListMessage Get /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Messages
DefaultApi ListRole Get /v1/Services/{ServiceSid}/Roles
DefaultApi ListService Get /v1/Services
DefaultApi ListUser Get /v1/Services/{ServiceSid}/Users
DefaultApi ListUserChannel Get /v1/Services/{ServiceSid}/Users/{UserSid}/Channels
DefaultApi UpdateChannel Post /v1/Services/{ServiceSid}/Channels/{Sid}
DefaultApi UpdateCredential Post /v1/Credentials/{Sid}
DefaultApi UpdateMember Post /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Members/{Sid}
DefaultApi UpdateMessage Post /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Messages/{Sid}
DefaultApi UpdateRole Post /v1/Services/{ServiceSid}/Roles/{Sid}
DefaultApi UpdateService Post /v1/Services/{Sid}
DefaultApi UpdateUser Post /v1/Services/{ServiceSid}/Users/{Sid}

Documentation For Models

Documentation For Authorization

accountSid_authToken

  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
    UserName: "username",
    Password: "password",
})
r, err := client.Service.Operation(auth, args)

Author

support@twilio.com

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateChannelParams

type CreateChannelParams struct {
	//
	Attributes *string `json:"Attributes,omitempty"`
	//
	FriendlyName *string `json:"FriendlyName,omitempty"`
	//
	Type *string `json:"Type,omitempty"`
	//
	UniqueName *string `json:"UniqueName,omitempty"`
}

Optional parameters for the method 'CreateChannel'

func (*CreateChannelParams) SetAttributes

func (params *CreateChannelParams) SetAttributes(Attributes string) *CreateChannelParams

func (*CreateChannelParams) SetFriendlyName

func (params *CreateChannelParams) SetFriendlyName(FriendlyName string) *CreateChannelParams

func (*CreateChannelParams) SetType

func (params *CreateChannelParams) SetType(Type string) *CreateChannelParams

func (*CreateChannelParams) SetUniqueName

func (params *CreateChannelParams) SetUniqueName(UniqueName string) *CreateChannelParams

type CreateCredentialParams

type CreateCredentialParams struct {
	//
	ApiKey *string `json:"ApiKey,omitempty"`
	//
	Certificate *string `json:"Certificate,omitempty"`
	//
	FriendlyName *string `json:"FriendlyName,omitempty"`
	//
	PrivateKey *string `json:"PrivateKey,omitempty"`
	//
	Sandbox *bool `json:"Sandbox,omitempty"`
	//
	Secret *string `json:"Secret,omitempty"`
	//
	Type *string `json:"Type,omitempty"`
}

Optional parameters for the method 'CreateCredential'

func (*CreateCredentialParams) SetApiKey

func (params *CreateCredentialParams) SetApiKey(ApiKey string) *CreateCredentialParams

func (*CreateCredentialParams) SetCertificate

func (params *CreateCredentialParams) SetCertificate(Certificate string) *CreateCredentialParams

func (*CreateCredentialParams) SetFriendlyName

func (params *CreateCredentialParams) SetFriendlyName(FriendlyName string) *CreateCredentialParams

func (*CreateCredentialParams) SetPrivateKey

func (params *CreateCredentialParams) SetPrivateKey(PrivateKey string) *CreateCredentialParams

func (*CreateCredentialParams) SetSandbox

func (params *CreateCredentialParams) SetSandbox(Sandbox bool) *CreateCredentialParams

func (*CreateCredentialParams) SetSecret

func (params *CreateCredentialParams) SetSecret(Secret string) *CreateCredentialParams

func (*CreateCredentialParams) SetType

func (params *CreateCredentialParams) SetType(Type string) *CreateCredentialParams

type CreateInviteParams

type CreateInviteParams struct {
	//
	Identity *string `json:"Identity,omitempty"`
	//
	RoleSid *string `json:"RoleSid,omitempty"`
}

Optional parameters for the method 'CreateInvite'

func (*CreateInviteParams) SetIdentity

func (params *CreateInviteParams) SetIdentity(Identity string) *CreateInviteParams

func (*CreateInviteParams) SetRoleSid

func (params *CreateInviteParams) SetRoleSid(RoleSid string) *CreateInviteParams

type CreateMemberParams

type CreateMemberParams struct {
	//
	Identity *string `json:"Identity,omitempty"`
	//
	RoleSid *string `json:"RoleSid,omitempty"`
}

Optional parameters for the method 'CreateMember'

func (*CreateMemberParams) SetIdentity

func (params *CreateMemberParams) SetIdentity(Identity string) *CreateMemberParams

func (*CreateMemberParams) SetRoleSid

func (params *CreateMemberParams) SetRoleSid(RoleSid string) *CreateMemberParams

type CreateMessageParams

type CreateMessageParams struct {
	//
	Attributes *string `json:"Attributes,omitempty"`
	//
	Body *string `json:"Body,omitempty"`
	//
	From *string `json:"From,omitempty"`
}

Optional parameters for the method 'CreateMessage'

func (*CreateMessageParams) SetAttributes

func (params *CreateMessageParams) SetAttributes(Attributes string) *CreateMessageParams

func (*CreateMessageParams) SetBody

func (params *CreateMessageParams) SetBody(Body string) *CreateMessageParams

func (*CreateMessageParams) SetFrom

func (params *CreateMessageParams) SetFrom(From string) *CreateMessageParams

type CreateRoleParams

type CreateRoleParams struct {
	//
	FriendlyName *string `json:"FriendlyName,omitempty"`
	//
	Permission *[]string `json:"Permission,omitempty"`
	//
	Type *string `json:"Type,omitempty"`
}

Optional parameters for the method 'CreateRole'

func (*CreateRoleParams) SetFriendlyName

func (params *CreateRoleParams) SetFriendlyName(FriendlyName string) *CreateRoleParams

func (*CreateRoleParams) SetPermission

func (params *CreateRoleParams) SetPermission(Permission []string) *CreateRoleParams

func (*CreateRoleParams) SetType

func (params *CreateRoleParams) SetType(Type string) *CreateRoleParams

type CreateServiceParams

type CreateServiceParams struct {
	//
	FriendlyName *string `json:"FriendlyName,omitempty"`
}

Optional parameters for the method 'CreateService'

func (*CreateServiceParams) SetFriendlyName

func (params *CreateServiceParams) SetFriendlyName(FriendlyName string) *CreateServiceParams

type CreateUserParams

type CreateUserParams struct {
	//
	Attributes *string `json:"Attributes,omitempty"`
	//
	FriendlyName *string `json:"FriendlyName,omitempty"`
	//
	Identity *string `json:"Identity,omitempty"`
	//
	RoleSid *string `json:"RoleSid,omitempty"`
}

Optional parameters for the method 'CreateUser'

func (*CreateUserParams) SetAttributes

func (params *CreateUserParams) SetAttributes(Attributes string) *CreateUserParams

func (*CreateUserParams) SetFriendlyName

func (params *CreateUserParams) SetFriendlyName(FriendlyName string) *CreateUserParams

func (*CreateUserParams) SetIdentity

func (params *CreateUserParams) SetIdentity(Identity string) *CreateUserParams

func (*CreateUserParams) SetRoleSid

func (params *CreateUserParams) SetRoleSid(RoleSid string) *CreateUserParams

type DefaultApiService

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

func NewDefaultApiService

func NewDefaultApiService(client twilio.BaseClient) *DefaultApiService

func (*DefaultApiService) CreateChannel

func (c *DefaultApiService) CreateChannel(ServiceSid string, params *CreateChannelParams) (*IpMessagingV1ServiceChannel, error)

func (*DefaultApiService) CreateCredential

func (c *DefaultApiService) CreateCredential(params *CreateCredentialParams) (*IpMessagingV1Credential, error)

func (*DefaultApiService) CreateInvite

func (c *DefaultApiService) CreateInvite(ServiceSid string, ChannelSid string, params *CreateInviteParams) (*IpMessagingV1ServiceChannelInvite, error)

func (*DefaultApiService) CreateMember

func (c *DefaultApiService) CreateMember(ServiceSid string, ChannelSid string, params *CreateMemberParams) (*IpMessagingV1ServiceChannelMember, error)

func (*DefaultApiService) CreateMessage

func (c *DefaultApiService) CreateMessage(ServiceSid string, ChannelSid string, params *CreateMessageParams) (*IpMessagingV1ServiceChannelMessage, error)

func (*DefaultApiService) CreateRole

func (c *DefaultApiService) CreateRole(ServiceSid string, params *CreateRoleParams) (*IpMessagingV1ServiceRole, error)

func (*DefaultApiService) CreateService

func (c *DefaultApiService) CreateService(params *CreateServiceParams) (*IpMessagingV1Service, error)

func (*DefaultApiService) CreateUser

func (c *DefaultApiService) CreateUser(ServiceSid string, params *CreateUserParams) (*IpMessagingV1ServiceUser, error)

func (*DefaultApiService) DeleteChannel

func (c *DefaultApiService) DeleteChannel(ServiceSid string, Sid string) error

func (*DefaultApiService) DeleteCredential

func (c *DefaultApiService) DeleteCredential(Sid string) error

func (*DefaultApiService) DeleteInvite

func (c *DefaultApiService) DeleteInvite(ServiceSid string, ChannelSid string, Sid string) error

func (*DefaultApiService) DeleteMember

func (c *DefaultApiService) DeleteMember(ServiceSid string, ChannelSid string, Sid string) error

func (*DefaultApiService) DeleteMessage

func (c *DefaultApiService) DeleteMessage(ServiceSid string, ChannelSid string, Sid string) error

func (*DefaultApiService) DeleteRole

func (c *DefaultApiService) DeleteRole(ServiceSid string, Sid string) error

func (*DefaultApiService) DeleteService

func (c *DefaultApiService) DeleteService(Sid string) error

func (*DefaultApiService) DeleteUser

func (c *DefaultApiService) DeleteUser(ServiceSid string, Sid string) error

func (*DefaultApiService) FetchChannel

func (c *DefaultApiService) FetchChannel(ServiceSid string, Sid string) (*IpMessagingV1ServiceChannel, error)

func (*DefaultApiService) FetchCredential

func (c *DefaultApiService) FetchCredential(Sid string) (*IpMessagingV1Credential, error)

func (*DefaultApiService) FetchInvite

func (c *DefaultApiService) FetchInvite(ServiceSid string, ChannelSid string, Sid string) (*IpMessagingV1ServiceChannelInvite, error)

func (*DefaultApiService) FetchMember

func (c *DefaultApiService) FetchMember(ServiceSid string, ChannelSid string, Sid string) (*IpMessagingV1ServiceChannelMember, error)

func (*DefaultApiService) FetchMessage

func (c *DefaultApiService) FetchMessage(ServiceSid string, ChannelSid string, Sid string) (*IpMessagingV1ServiceChannelMessage, error)

func (*DefaultApiService) FetchRole

func (c *DefaultApiService) FetchRole(ServiceSid string, Sid string) (*IpMessagingV1ServiceRole, error)

func (*DefaultApiService) FetchService

func (c *DefaultApiService) FetchService(Sid string) (*IpMessagingV1Service, error)

func (*DefaultApiService) FetchUser

func (c *DefaultApiService) FetchUser(ServiceSid string, Sid string) (*IpMessagingV1ServiceUser, error)

func (*DefaultApiService) ListChannel

func (c *DefaultApiService) ListChannel(ServiceSid string, params *ListChannelParams) (*ListChannelResponse, error)

func (*DefaultApiService) ListCredential

func (c *DefaultApiService) ListCredential(params *ListCredentialParams) (*ListCredentialResponse, error)

func (*DefaultApiService) ListInvite

func (c *DefaultApiService) ListInvite(ServiceSid string, ChannelSid string, params *ListInviteParams) (*ListInviteResponse, error)

func (*DefaultApiService) ListMember

func (c *DefaultApiService) ListMember(ServiceSid string, ChannelSid string, params *ListMemberParams) (*ListMemberResponse, error)

func (*DefaultApiService) ListMessage

func (c *DefaultApiService) ListMessage(ServiceSid string, ChannelSid string, params *ListMessageParams) (*ListMessageResponse, error)

func (*DefaultApiService) ListRole

func (c *DefaultApiService) ListRole(ServiceSid string, params *ListRoleParams) (*ListRoleResponse, error)

func (*DefaultApiService) ListService

func (c *DefaultApiService) ListService(params *ListServiceParams) (*ListServiceResponse, error)

func (*DefaultApiService) ListUser

func (c *DefaultApiService) ListUser(ServiceSid string, params *ListUserParams) (*ListUserResponse, error)

func (*DefaultApiService) ListUserChannel

func (c *DefaultApiService) ListUserChannel(ServiceSid string, UserSid string, params *ListUserChannelParams) (*ListUserChannelResponse, error)

func (*DefaultApiService) UpdateChannel

func (c *DefaultApiService) UpdateChannel(ServiceSid string, Sid string, params *UpdateChannelParams) (*IpMessagingV1ServiceChannel, error)

func (*DefaultApiService) UpdateCredential

func (c *DefaultApiService) UpdateCredential(Sid string, params *UpdateCredentialParams) (*IpMessagingV1Credential, error)

func (*DefaultApiService) UpdateMember

func (c *DefaultApiService) UpdateMember(ServiceSid string, ChannelSid string, Sid string, params *UpdateMemberParams) (*IpMessagingV1ServiceChannelMember, error)

func (*DefaultApiService) UpdateMessage

func (c *DefaultApiService) UpdateMessage(ServiceSid string, ChannelSid string, Sid string, params *UpdateMessageParams) (*IpMessagingV1ServiceChannelMessage, error)

func (*DefaultApiService) UpdateRole

func (c *DefaultApiService) UpdateRole(ServiceSid string, Sid string, params *UpdateRoleParams) (*IpMessagingV1ServiceRole, error)

func (*DefaultApiService) UpdateService

func (c *DefaultApiService) UpdateService(Sid string, params *UpdateServiceParams) (*IpMessagingV1Service, error)

func (*DefaultApiService) UpdateUser

func (c *DefaultApiService) UpdateUser(ServiceSid string, Sid string, params *UpdateUserParams) (*IpMessagingV1ServiceUser, error)

type IpMessagingV1Credential

type IpMessagingV1Credential struct {
	AccountSid   *string    `json:"account_sid,omitempty"`
	DateCreated  *time.Time `json:"date_created,omitempty"`
	DateUpdated  *time.Time `json:"date_updated,omitempty"`
	FriendlyName *string    `json:"friendly_name,omitempty"`
	Sandbox      *string    `json:"sandbox,omitempty"`
	Sid          *string    `json:"sid,omitempty"`
	Type         *string    `json:"type,omitempty"`
	Url          *string    `json:"url,omitempty"`
}

IpMessagingV1Credential struct for IpMessagingV1Credential

type IpMessagingV1Service

type IpMessagingV1Service struct {
	AccountSid                   *string                 `json:"account_sid,omitempty"`
	ConsumptionReportInterval    *int32                  `json:"consumption_report_interval,omitempty"`
	DateCreated                  *time.Time              `json:"date_created,omitempty"`
	DateUpdated                  *time.Time              `json:"date_updated,omitempty"`
	DefaultChannelCreatorRoleSid *string                 `json:"default_channel_creator_role_sid,omitempty"`
	DefaultChannelRoleSid        *string                 `json:"default_channel_role_sid,omitempty"`
	DefaultServiceRoleSid        *string                 `json:"default_service_role_sid,omitempty"`
	FriendlyName                 *string                 `json:"friendly_name,omitempty"`
	Limits                       *map[string]interface{} `json:"limits,omitempty"`
	Links                        *map[string]interface{} `json:"links,omitempty"`
	Notifications                *map[string]interface{} `json:"notifications,omitempty"`
	PostWebhookUrl               *string                 `json:"post_webhook_url,omitempty"`
	PreWebhookUrl                *string                 `json:"pre_webhook_url,omitempty"`
	ReachabilityEnabled          *bool                   `json:"reachability_enabled,omitempty"`
	ReadStatusEnabled            *bool                   `json:"read_status_enabled,omitempty"`
	Sid                          *string                 `json:"sid,omitempty"`
	TypingIndicatorTimeout       *int32                  `json:"typing_indicator_timeout,omitempty"`
	Url                          *string                 `json:"url,omitempty"`
	WebhookFilters               *[]string               `json:"webhook_filters,omitempty"`
	WebhookMethod                *string                 `json:"webhook_method,omitempty"`
	Webhooks                     *map[string]interface{} `json:"webhooks,omitempty"`
}

IpMessagingV1Service struct for IpMessagingV1Service

type IpMessagingV1ServiceChannel

type IpMessagingV1ServiceChannel struct {
	AccountSid    *string                 `json:"account_sid,omitempty"`
	Attributes    *string                 `json:"attributes,omitempty"`
	CreatedBy     *string                 `json:"created_by,omitempty"`
	DateCreated   *time.Time              `json:"date_created,omitempty"`
	DateUpdated   *time.Time              `json:"date_updated,omitempty"`
	FriendlyName  *string                 `json:"friendly_name,omitempty"`
	Links         *map[string]interface{} `json:"links,omitempty"`
	MembersCount  *int32                  `json:"members_count,omitempty"`
	MessagesCount *int32                  `json:"messages_count,omitempty"`
	ServiceSid    *string                 `json:"service_sid,omitempty"`
	Sid           *string                 `json:"sid,omitempty"`
	Type          *string                 `json:"type,omitempty"`
	UniqueName    *string                 `json:"unique_name,omitempty"`
	Url           *string                 `json:"url,omitempty"`
}

IpMessagingV1ServiceChannel struct for IpMessagingV1ServiceChannel

type IpMessagingV1ServiceChannelInvite

type IpMessagingV1ServiceChannelInvite struct {
	AccountSid  *string    `json:"account_sid,omitempty"`
	ChannelSid  *string    `json:"channel_sid,omitempty"`
	CreatedBy   *string    `json:"created_by,omitempty"`
	DateCreated *time.Time `json:"date_created,omitempty"`
	DateUpdated *time.Time `json:"date_updated,omitempty"`
	Identity    *string    `json:"identity,omitempty"`
	RoleSid     *string    `json:"role_sid,omitempty"`
	ServiceSid  *string    `json:"service_sid,omitempty"`
	Sid         *string    `json:"sid,omitempty"`
	Url         *string    `json:"url,omitempty"`
}

IpMessagingV1ServiceChannelInvite struct for IpMessagingV1ServiceChannelInvite

type IpMessagingV1ServiceChannelMember

type IpMessagingV1ServiceChannelMember struct {
	AccountSid               *string    `json:"account_sid,omitempty"`
	ChannelSid               *string    `json:"channel_sid,omitempty"`
	DateCreated              *time.Time `json:"date_created,omitempty"`
	DateUpdated              *time.Time `json:"date_updated,omitempty"`
	Identity                 *string    `json:"identity,omitempty"`
	LastConsumedMessageIndex *int32     `json:"last_consumed_message_index,omitempty"`
	LastConsumptionTimestamp *time.Time `json:"last_consumption_timestamp,omitempty"`
	RoleSid                  *string    `json:"role_sid,omitempty"`
	ServiceSid               *string    `json:"service_sid,omitempty"`
	Sid                      *string    `json:"sid,omitempty"`
	Url                      *string    `json:"url,omitempty"`
}

IpMessagingV1ServiceChannelMember struct for IpMessagingV1ServiceChannelMember

type IpMessagingV1ServiceChannelMessage

type IpMessagingV1ServiceChannelMessage struct {
	AccountSid  *string    `json:"account_sid,omitempty"`
	Attributes  *string    `json:"attributes,omitempty"`
	Body        *string    `json:"body,omitempty"`
	ChannelSid  *string    `json:"channel_sid,omitempty"`
	DateCreated *time.Time `json:"date_created,omitempty"`
	DateUpdated *time.Time `json:"date_updated,omitempty"`
	From        *string    `json:"from,omitempty"`
	Index       *int32     `json:"index,omitempty"`
	ServiceSid  *string    `json:"service_sid,omitempty"`
	Sid         *string    `json:"sid,omitempty"`
	To          *string    `json:"to,omitempty"`
	Url         *string    `json:"url,omitempty"`
	WasEdited   *bool      `json:"was_edited,omitempty"`
}

IpMessagingV1ServiceChannelMessage struct for IpMessagingV1ServiceChannelMessage

type IpMessagingV1ServiceRole

type IpMessagingV1ServiceRole struct {
	AccountSid   *string    `json:"account_sid,omitempty"`
	DateCreated  *time.Time `json:"date_created,omitempty"`
	DateUpdated  *time.Time `json:"date_updated,omitempty"`
	FriendlyName *string    `json:"friendly_name,omitempty"`
	Permissions  *[]string  `json:"permissions,omitempty"`
	ServiceSid   *string    `json:"service_sid,omitempty"`
	Sid          *string    `json:"sid,omitempty"`
	Type         *string    `json:"type,omitempty"`
	Url          *string    `json:"url,omitempty"`
}

IpMessagingV1ServiceRole struct for IpMessagingV1ServiceRole

type IpMessagingV1ServiceUser

type IpMessagingV1ServiceUser struct {
	AccountSid          *string                 `json:"account_sid,omitempty"`
	Attributes          *string                 `json:"attributes,omitempty"`
	DateCreated         *time.Time              `json:"date_created,omitempty"`
	DateUpdated         *time.Time              `json:"date_updated,omitempty"`
	FriendlyName        *string                 `json:"friendly_name,omitempty"`
	Identity            *string                 `json:"identity,omitempty"`
	IsNotifiable        *bool                   `json:"is_notifiable,omitempty"`
	IsOnline            *bool                   `json:"is_online,omitempty"`
	JoinedChannelsCount *int32                  `json:"joined_channels_count,omitempty"`
	Links               *map[string]interface{} `json:"links,omitempty"`
	RoleSid             *string                 `json:"role_sid,omitempty"`
	ServiceSid          *string                 `json:"service_sid,omitempty"`
	Sid                 *string                 `json:"sid,omitempty"`
	Url                 *string                 `json:"url,omitempty"`
}

IpMessagingV1ServiceUser struct for IpMessagingV1ServiceUser

type IpMessagingV1ServiceUserUserChannel

type IpMessagingV1ServiceUserUserChannel struct {
	AccountSid               *string                 `json:"account_sid,omitempty"`
	ChannelSid               *string                 `json:"channel_sid,omitempty"`
	LastConsumedMessageIndex *int32                  `json:"last_consumed_message_index,omitempty"`
	Links                    *map[string]interface{} `json:"links,omitempty"`
	MemberSid                *string                 `json:"member_sid,omitempty"`
	ServiceSid               *string                 `json:"service_sid,omitempty"`
	Status                   *string                 `json:"status,omitempty"`
	UnreadMessagesCount      *int32                  `json:"unread_messages_count,omitempty"`
}

IpMessagingV1ServiceUserUserChannel struct for IpMessagingV1ServiceUserUserChannel

type ListChannelParams

type ListChannelParams struct {
	//
	Type *[]string `json:"Type,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListChannel'

func (*ListChannelParams) SetPageSize

func (params *ListChannelParams) SetPageSize(PageSize int32) *ListChannelParams

func (*ListChannelParams) SetType

func (params *ListChannelParams) SetType(Type []string) *ListChannelParams

type ListChannelResponse

type ListChannelResponse struct {
	Channels []IpMessagingV1ServiceChannel `json:"channels,omitempty"`
	Meta     ListCredentialResponseMeta    `json:"meta,omitempty"`
}

ListChannelResponse struct for ListChannelResponse

type ListCredentialParams

type ListCredentialParams struct {
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListCredential'

func (*ListCredentialParams) SetPageSize

func (params *ListCredentialParams) SetPageSize(PageSize int32) *ListCredentialParams

type ListCredentialResponse

type ListCredentialResponse struct {
	Credentials []IpMessagingV1Credential  `json:"credentials,omitempty"`
	Meta        ListCredentialResponseMeta `json:"meta,omitempty"`
}

ListCredentialResponse struct for ListCredentialResponse

type ListCredentialResponseMeta

type ListCredentialResponseMeta struct {
	FirstPageUrl    string `json:"first_page_url,omitempty"`
	Key             string `json:"key,omitempty"`
	NextPageUrl     string `json:"next_page_url,omitempty"`
	Page            int32  `json:"page,omitempty"`
	PageSize        int32  `json:"page_size,omitempty"`
	PreviousPageUrl string `json:"previous_page_url,omitempty"`
	Url             string `json:"url,omitempty"`
}

ListCredentialResponseMeta struct for ListCredentialResponseMeta

type ListInviteParams

type ListInviteParams struct {
	//
	Identity *[]string `json:"Identity,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListInvite'

func (*ListInviteParams) SetIdentity

func (params *ListInviteParams) SetIdentity(Identity []string) *ListInviteParams

func (*ListInviteParams) SetPageSize

func (params *ListInviteParams) SetPageSize(PageSize int32) *ListInviteParams

type ListInviteResponse

type ListInviteResponse struct {
	Invites []IpMessagingV1ServiceChannelInvite `json:"invites,omitempty"`
	Meta    ListCredentialResponseMeta          `json:"meta,omitempty"`
}

ListInviteResponse struct for ListInviteResponse

type ListMemberParams

type ListMemberParams struct {
	//
	Identity *[]string `json:"Identity,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListMember'

func (*ListMemberParams) SetIdentity

func (params *ListMemberParams) SetIdentity(Identity []string) *ListMemberParams

func (*ListMemberParams) SetPageSize

func (params *ListMemberParams) SetPageSize(PageSize int32) *ListMemberParams

type ListMemberResponse

type ListMemberResponse struct {
	Members []IpMessagingV1ServiceChannelMember `json:"members,omitempty"`
	Meta    ListCredentialResponseMeta          `json:"meta,omitempty"`
}

ListMemberResponse struct for ListMemberResponse

type ListMessageParams

type ListMessageParams struct {
	//
	Order *string `json:"Order,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListMessage'

func (*ListMessageParams) SetOrder

func (params *ListMessageParams) SetOrder(Order string) *ListMessageParams

func (*ListMessageParams) SetPageSize

func (params *ListMessageParams) SetPageSize(PageSize int32) *ListMessageParams

type ListMessageResponse

type ListMessageResponse struct {
	Messages []IpMessagingV1ServiceChannelMessage `json:"messages,omitempty"`
	Meta     ListCredentialResponseMeta           `json:"meta,omitempty"`
}

ListMessageResponse struct for ListMessageResponse

type ListRoleParams

type ListRoleParams struct {
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListRole'

func (*ListRoleParams) SetPageSize

func (params *ListRoleParams) SetPageSize(PageSize int32) *ListRoleParams

type ListRoleResponse

type ListRoleResponse struct {
	Meta  ListCredentialResponseMeta `json:"meta,omitempty"`
	Roles []IpMessagingV1ServiceRole `json:"roles,omitempty"`
}

ListRoleResponse struct for ListRoleResponse

type ListServiceParams

type ListServiceParams struct {
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListService'

func (*ListServiceParams) SetPageSize

func (params *ListServiceParams) SetPageSize(PageSize int32) *ListServiceParams

type ListServiceResponse

type ListServiceResponse struct {
	Meta     ListCredentialResponseMeta `json:"meta,omitempty"`
	Services []IpMessagingV1Service     `json:"services,omitempty"`
}

ListServiceResponse struct for ListServiceResponse

type ListUserChannelParams

type ListUserChannelParams struct {
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListUserChannel'

func (*ListUserChannelParams) SetPageSize

func (params *ListUserChannelParams) SetPageSize(PageSize int32) *ListUserChannelParams

type ListUserChannelResponse

type ListUserChannelResponse struct {
	Channels []IpMessagingV1ServiceUserUserChannel `json:"channels,omitempty"`
	Meta     ListCredentialResponseMeta            `json:"meta,omitempty"`
}

ListUserChannelResponse struct for ListUserChannelResponse

type ListUserParams

type ListUserParams struct {
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int32 `json:"PageSize,omitempty"`
}

Optional parameters for the method 'ListUser'

func (*ListUserParams) SetPageSize

func (params *ListUserParams) SetPageSize(PageSize int32) *ListUserParams

type ListUserResponse

type ListUserResponse struct {
	Meta  ListCredentialResponseMeta `json:"meta,omitempty"`
	Users []IpMessagingV1ServiceUser `json:"users,omitempty"`
}

ListUserResponse struct for ListUserResponse

type UpdateChannelParams

type UpdateChannelParams struct {
	//
	Attributes *string `json:"Attributes,omitempty"`
	//
	FriendlyName *string `json:"FriendlyName,omitempty"`
	//
	UniqueName *string `json:"UniqueName,omitempty"`
}

Optional parameters for the method 'UpdateChannel'

func (*UpdateChannelParams) SetAttributes

func (params *UpdateChannelParams) SetAttributes(Attributes string) *UpdateChannelParams

func (*UpdateChannelParams) SetFriendlyName

func (params *UpdateChannelParams) SetFriendlyName(FriendlyName string) *UpdateChannelParams

func (*UpdateChannelParams) SetUniqueName

func (params *UpdateChannelParams) SetUniqueName(UniqueName string) *UpdateChannelParams

type UpdateCredentialParams

type UpdateCredentialParams struct {
	//
	ApiKey *string `json:"ApiKey,omitempty"`
	//
	Certificate *string `json:"Certificate,omitempty"`
	//
	FriendlyName *string `json:"FriendlyName,omitempty"`
	//
	PrivateKey *string `json:"PrivateKey,omitempty"`
	//
	Sandbox *bool `json:"Sandbox,omitempty"`
	//
	Secret *string `json:"Secret,omitempty"`
}

Optional parameters for the method 'UpdateCredential'

func (*UpdateCredentialParams) SetApiKey

func (params *UpdateCredentialParams) SetApiKey(ApiKey string) *UpdateCredentialParams

func (*UpdateCredentialParams) SetCertificate

func (params *UpdateCredentialParams) SetCertificate(Certificate string) *UpdateCredentialParams

func (*UpdateCredentialParams) SetFriendlyName

func (params *UpdateCredentialParams) SetFriendlyName(FriendlyName string) *UpdateCredentialParams

func (*UpdateCredentialParams) SetPrivateKey

func (params *UpdateCredentialParams) SetPrivateKey(PrivateKey string) *UpdateCredentialParams

func (*UpdateCredentialParams) SetSandbox

func (params *UpdateCredentialParams) SetSandbox(Sandbox bool) *UpdateCredentialParams

func (*UpdateCredentialParams) SetSecret

func (params *UpdateCredentialParams) SetSecret(Secret string) *UpdateCredentialParams

type UpdateMemberParams

type UpdateMemberParams struct {
	//
	LastConsumedMessageIndex *int32 `json:"LastConsumedMessageIndex,omitempty"`
	//
	RoleSid *string `json:"RoleSid,omitempty"`
}

Optional parameters for the method 'UpdateMember'

func (*UpdateMemberParams) SetLastConsumedMessageIndex

func (params *UpdateMemberParams) SetLastConsumedMessageIndex(LastConsumedMessageIndex int32) *UpdateMemberParams

func (*UpdateMemberParams) SetRoleSid

func (params *UpdateMemberParams) SetRoleSid(RoleSid string) *UpdateMemberParams

type UpdateMessageParams

type UpdateMessageParams struct {
	//
	Attributes *string `json:"Attributes,omitempty"`
	//
	Body *string `json:"Body,omitempty"`
}

Optional parameters for the method 'UpdateMessage'

func (*UpdateMessageParams) SetAttributes

func (params *UpdateMessageParams) SetAttributes(Attributes string) *UpdateMessageParams

func (*UpdateMessageParams) SetBody

func (params *UpdateMessageParams) SetBody(Body string) *UpdateMessageParams

type UpdateRoleParams

type UpdateRoleParams struct {
	//
	Permission *[]string `json:"Permission,omitempty"`
}

Optional parameters for the method 'UpdateRole'

func (*UpdateRoleParams) SetPermission

func (params *UpdateRoleParams) SetPermission(Permission []string) *UpdateRoleParams

type UpdateServiceParams

type UpdateServiceParams struct {
	//
	ConsumptionReportInterval *int32 `json:"ConsumptionReportInterval,omitempty"`
	//
	DefaultChannelCreatorRoleSid *string `json:"DefaultChannelCreatorRoleSid,omitempty"`
	//
	DefaultChannelRoleSid *string `json:"DefaultChannelRoleSid,omitempty"`
	//
	DefaultServiceRoleSid *string `json:"DefaultServiceRoleSid,omitempty"`
	//
	FriendlyName *string `json:"FriendlyName,omitempty"`
	//
	LimitsChannelMembers *int32 `json:"Limits.ChannelMembers,omitempty"`
	//
	LimitsUserChannels *int32 `json:"Limits.UserChannels,omitempty"`
	//
	NotificationsAddedToChannelEnabled *bool `json:"Notifications.AddedToChannel.Enabled,omitempty"`
	//
	NotificationsAddedToChannelTemplate *string `json:"Notifications.AddedToChannel.Template,omitempty"`
	//
	NotificationsInvitedToChannelEnabled *bool `json:"Notifications.InvitedToChannel.Enabled,omitempty"`
	//
	NotificationsInvitedToChannelTemplate *string `json:"Notifications.InvitedToChannel.Template,omitempty"`
	//
	NotificationsNewMessageEnabled *bool `json:"Notifications.NewMessage.Enabled,omitempty"`
	//
	NotificationsNewMessageTemplate *string `json:"Notifications.NewMessage.Template,omitempty"`
	//
	NotificationsRemovedFromChannelEnabled *bool `json:"Notifications.RemovedFromChannel.Enabled,omitempty"`
	//
	NotificationsRemovedFromChannelTemplate *string `json:"Notifications.RemovedFromChannel.Template,omitempty"`
	//
	PostWebhookUrl *string `json:"PostWebhookUrl,omitempty"`
	//
	PreWebhookUrl *string `json:"PreWebhookUrl,omitempty"`
	//
	ReachabilityEnabled *bool `json:"ReachabilityEnabled,omitempty"`
	//
	ReadStatusEnabled *bool `json:"ReadStatusEnabled,omitempty"`
	//
	TypingIndicatorTimeout *int32 `json:"TypingIndicatorTimeout,omitempty"`
	//
	WebhookFilters *[]string `json:"WebhookFilters,omitempty"`
	//
	WebhookMethod *string `json:"WebhookMethod,omitempty"`
	//
	WebhooksOnChannelAddMethod *string `json:"Webhooks.OnChannelAdd.Method,omitempty"`
	//
	WebhooksOnChannelAddUrl *string `json:"Webhooks.OnChannelAdd.Url,omitempty"`
	//
	WebhooksOnChannelAddedMethod *string `json:"Webhooks.OnChannelAdded.Method,omitempty"`
	//
	WebhooksOnChannelAddedUrl *string `json:"Webhooks.OnChannelAdded.Url,omitempty"`
	//
	WebhooksOnChannelDestroyMethod *string `json:"Webhooks.OnChannelDestroy.Method,omitempty"`
	//
	WebhooksOnChannelDestroyUrl *string `json:"Webhooks.OnChannelDestroy.Url,omitempty"`
	//
	WebhooksOnChannelDestroyedMethod *string `json:"Webhooks.OnChannelDestroyed.Method,omitempty"`
	//
	WebhooksOnChannelDestroyedUrl *string `json:"Webhooks.OnChannelDestroyed.Url,omitempty"`
	//
	WebhooksOnChannelUpdateMethod *string `json:"Webhooks.OnChannelUpdate.Method,omitempty"`
	//
	WebhooksOnChannelUpdateUrl *string `json:"Webhooks.OnChannelUpdate.Url,omitempty"`
	//
	WebhooksOnChannelUpdatedMethod *string `json:"Webhooks.OnChannelUpdated.Method,omitempty"`
	//
	WebhooksOnChannelUpdatedUrl *string `json:"Webhooks.OnChannelUpdated.Url,omitempty"`
	//
	WebhooksOnMemberAddMethod *string `json:"Webhooks.OnMemberAdd.Method,omitempty"`
	//
	WebhooksOnMemberAddUrl *string `json:"Webhooks.OnMemberAdd.Url,omitempty"`
	//
	WebhooksOnMemberAddedMethod *string `json:"Webhooks.OnMemberAdded.Method,omitempty"`
	//
	WebhooksOnMemberAddedUrl *string `json:"Webhooks.OnMemberAdded.Url,omitempty"`
	//
	WebhooksOnMemberRemoveMethod *string `json:"Webhooks.OnMemberRemove.Method,omitempty"`
	//
	WebhooksOnMemberRemoveUrl *string `json:"Webhooks.OnMemberRemove.Url,omitempty"`
	//
	WebhooksOnMemberRemovedMethod *string `json:"Webhooks.OnMemberRemoved.Method,omitempty"`
	//
	WebhooksOnMemberRemovedUrl *string `json:"Webhooks.OnMemberRemoved.Url,omitempty"`
	//
	WebhooksOnMessageRemoveMethod *string `json:"Webhooks.OnMessageRemove.Method,omitempty"`
	//
	WebhooksOnMessageRemoveUrl *string `json:"Webhooks.OnMessageRemove.Url,omitempty"`
	//
	WebhooksOnMessageRemovedMethod *string `json:"Webhooks.OnMessageRemoved.Method,omitempty"`
	//
	WebhooksOnMessageRemovedUrl *string `json:"Webhooks.OnMessageRemoved.Url,omitempty"`
	//
	WebhooksOnMessageSendMethod *string `json:"Webhooks.OnMessageSend.Method,omitempty"`
	//
	WebhooksOnMessageSendUrl *string `json:"Webhooks.OnMessageSend.Url,omitempty"`
	//
	WebhooksOnMessageSentMethod *string `json:"Webhooks.OnMessageSent.Method,omitempty"`
	//
	WebhooksOnMessageSentUrl *string `json:"Webhooks.OnMessageSent.Url,omitempty"`
	//
	WebhooksOnMessageUpdateMethod *string `json:"Webhooks.OnMessageUpdate.Method,omitempty"`
	//
	WebhooksOnMessageUpdateUrl *string `json:"Webhooks.OnMessageUpdate.Url,omitempty"`
	//
	WebhooksOnMessageUpdatedMethod *string `json:"Webhooks.OnMessageUpdated.Method,omitempty"`
	//
	WebhooksOnMessageUpdatedUrl *string `json:"Webhooks.OnMessageUpdated.Url,omitempty"`
}

Optional parameters for the method 'UpdateService'

func (*UpdateServiceParams) SetConsumptionReportInterval

func (params *UpdateServiceParams) SetConsumptionReportInterval(ConsumptionReportInterval int32) *UpdateServiceParams

func (*UpdateServiceParams) SetDefaultChannelCreatorRoleSid

func (params *UpdateServiceParams) SetDefaultChannelCreatorRoleSid(DefaultChannelCreatorRoleSid string) *UpdateServiceParams

func (*UpdateServiceParams) SetDefaultChannelRoleSid

func (params *UpdateServiceParams) SetDefaultChannelRoleSid(DefaultChannelRoleSid string) *UpdateServiceParams

func (*UpdateServiceParams) SetDefaultServiceRoleSid

func (params *UpdateServiceParams) SetDefaultServiceRoleSid(DefaultServiceRoleSid string) *UpdateServiceParams

func (*UpdateServiceParams) SetFriendlyName

func (params *UpdateServiceParams) SetFriendlyName(FriendlyName string) *UpdateServiceParams

func (*UpdateServiceParams) SetLimitsChannelMembers

func (params *UpdateServiceParams) SetLimitsChannelMembers(LimitsChannelMembers int32) *UpdateServiceParams

func (*UpdateServiceParams) SetLimitsUserChannels

func (params *UpdateServiceParams) SetLimitsUserChannels(LimitsUserChannels int32) *UpdateServiceParams

func (*UpdateServiceParams) SetNotificationsAddedToChannelEnabled

func (params *UpdateServiceParams) SetNotificationsAddedToChannelEnabled(NotificationsAddedToChannelEnabled bool) *UpdateServiceParams

func (*UpdateServiceParams) SetNotificationsAddedToChannelTemplate

func (params *UpdateServiceParams) SetNotificationsAddedToChannelTemplate(NotificationsAddedToChannelTemplate string) *UpdateServiceParams

func (*UpdateServiceParams) SetNotificationsInvitedToChannelEnabled

func (params *UpdateServiceParams) SetNotificationsInvitedToChannelEnabled(NotificationsInvitedToChannelEnabled bool) *UpdateServiceParams

func (*UpdateServiceParams) SetNotificationsInvitedToChannelTemplate

func (params *UpdateServiceParams) SetNotificationsInvitedToChannelTemplate(NotificationsInvitedToChannelTemplate string) *UpdateServiceParams

func (*UpdateServiceParams) SetNotificationsNewMessageEnabled

func (params *UpdateServiceParams) SetNotificationsNewMessageEnabled(NotificationsNewMessageEnabled bool) *UpdateServiceParams

func (*UpdateServiceParams) SetNotificationsNewMessageTemplate

func (params *UpdateServiceParams) SetNotificationsNewMessageTemplate(NotificationsNewMessageTemplate string) *UpdateServiceParams

func (*UpdateServiceParams) SetNotificationsRemovedFromChannelEnabled

func (params *UpdateServiceParams) SetNotificationsRemovedFromChannelEnabled(NotificationsRemovedFromChannelEnabled bool) *UpdateServiceParams

func (*UpdateServiceParams) SetNotificationsRemovedFromChannelTemplate

func (params *UpdateServiceParams) SetNotificationsRemovedFromChannelTemplate(NotificationsRemovedFromChannelTemplate string) *UpdateServiceParams

func (*UpdateServiceParams) SetPostWebhookUrl

func (params *UpdateServiceParams) SetPostWebhookUrl(PostWebhookUrl string) *UpdateServiceParams

func (*UpdateServiceParams) SetPreWebhookUrl

func (params *UpdateServiceParams) SetPreWebhookUrl(PreWebhookUrl string) *UpdateServiceParams

func (*UpdateServiceParams) SetReachabilityEnabled

func (params *UpdateServiceParams) SetReachabilityEnabled(ReachabilityEnabled bool) *UpdateServiceParams

func (*UpdateServiceParams) SetReadStatusEnabled

func (params *UpdateServiceParams) SetReadStatusEnabled(ReadStatusEnabled bool) *UpdateServiceParams

func (*UpdateServiceParams) SetTypingIndicatorTimeout

func (params *UpdateServiceParams) SetTypingIndicatorTimeout(TypingIndicatorTimeout int32) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhookFilters

func (params *UpdateServiceParams) SetWebhookFilters(WebhookFilters []string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhookMethod

func (params *UpdateServiceParams) SetWebhookMethod(WebhookMethod string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnChannelAddMethod

func (params *UpdateServiceParams) SetWebhooksOnChannelAddMethod(WebhooksOnChannelAddMethod string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnChannelAddUrl

func (params *UpdateServiceParams) SetWebhooksOnChannelAddUrl(WebhooksOnChannelAddUrl string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnChannelAddedMethod

func (params *UpdateServiceParams) SetWebhooksOnChannelAddedMethod(WebhooksOnChannelAddedMethod string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnChannelAddedUrl

func (params *UpdateServiceParams) SetWebhooksOnChannelAddedUrl(WebhooksOnChannelAddedUrl string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnChannelDestroyMethod

func (params *UpdateServiceParams) SetWebhooksOnChannelDestroyMethod(WebhooksOnChannelDestroyMethod string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnChannelDestroyUrl

func (params *UpdateServiceParams) SetWebhooksOnChannelDestroyUrl(WebhooksOnChannelDestroyUrl string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnChannelDestroyedMethod

func (params *UpdateServiceParams) SetWebhooksOnChannelDestroyedMethod(WebhooksOnChannelDestroyedMethod string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnChannelDestroyedUrl

func (params *UpdateServiceParams) SetWebhooksOnChannelDestroyedUrl(WebhooksOnChannelDestroyedUrl string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnChannelUpdateMethod

func (params *UpdateServiceParams) SetWebhooksOnChannelUpdateMethod(WebhooksOnChannelUpdateMethod string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnChannelUpdateUrl

func (params *UpdateServiceParams) SetWebhooksOnChannelUpdateUrl(WebhooksOnChannelUpdateUrl string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnChannelUpdatedMethod

func (params *UpdateServiceParams) SetWebhooksOnChannelUpdatedMethod(WebhooksOnChannelUpdatedMethod string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnChannelUpdatedUrl

func (params *UpdateServiceParams) SetWebhooksOnChannelUpdatedUrl(WebhooksOnChannelUpdatedUrl string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnMemberAddMethod

func (params *UpdateServiceParams) SetWebhooksOnMemberAddMethod(WebhooksOnMemberAddMethod string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnMemberAddUrl

func (params *UpdateServiceParams) SetWebhooksOnMemberAddUrl(WebhooksOnMemberAddUrl string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnMemberAddedMethod

func (params *UpdateServiceParams) SetWebhooksOnMemberAddedMethod(WebhooksOnMemberAddedMethod string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnMemberAddedUrl

func (params *UpdateServiceParams) SetWebhooksOnMemberAddedUrl(WebhooksOnMemberAddedUrl string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnMemberRemoveMethod

func (params *UpdateServiceParams) SetWebhooksOnMemberRemoveMethod(WebhooksOnMemberRemoveMethod string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnMemberRemoveUrl

func (params *UpdateServiceParams) SetWebhooksOnMemberRemoveUrl(WebhooksOnMemberRemoveUrl string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnMemberRemovedMethod

func (params *UpdateServiceParams) SetWebhooksOnMemberRemovedMethod(WebhooksOnMemberRemovedMethod string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnMemberRemovedUrl

func (params *UpdateServiceParams) SetWebhooksOnMemberRemovedUrl(WebhooksOnMemberRemovedUrl string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnMessageRemoveMethod

func (params *UpdateServiceParams) SetWebhooksOnMessageRemoveMethod(WebhooksOnMessageRemoveMethod string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnMessageRemoveUrl

func (params *UpdateServiceParams) SetWebhooksOnMessageRemoveUrl(WebhooksOnMessageRemoveUrl string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnMessageRemovedMethod

func (params *UpdateServiceParams) SetWebhooksOnMessageRemovedMethod(WebhooksOnMessageRemovedMethod string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnMessageRemovedUrl

func (params *UpdateServiceParams) SetWebhooksOnMessageRemovedUrl(WebhooksOnMessageRemovedUrl string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnMessageSendMethod

func (params *UpdateServiceParams) SetWebhooksOnMessageSendMethod(WebhooksOnMessageSendMethod string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnMessageSendUrl

func (params *UpdateServiceParams) SetWebhooksOnMessageSendUrl(WebhooksOnMessageSendUrl string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnMessageSentMethod

func (params *UpdateServiceParams) SetWebhooksOnMessageSentMethod(WebhooksOnMessageSentMethod string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnMessageSentUrl

func (params *UpdateServiceParams) SetWebhooksOnMessageSentUrl(WebhooksOnMessageSentUrl string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnMessageUpdateMethod

func (params *UpdateServiceParams) SetWebhooksOnMessageUpdateMethod(WebhooksOnMessageUpdateMethod string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnMessageUpdateUrl

func (params *UpdateServiceParams) SetWebhooksOnMessageUpdateUrl(WebhooksOnMessageUpdateUrl string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnMessageUpdatedMethod

func (params *UpdateServiceParams) SetWebhooksOnMessageUpdatedMethod(WebhooksOnMessageUpdatedMethod string) *UpdateServiceParams

func (*UpdateServiceParams) SetWebhooksOnMessageUpdatedUrl

func (params *UpdateServiceParams) SetWebhooksOnMessageUpdatedUrl(WebhooksOnMessageUpdatedUrl string) *UpdateServiceParams

type UpdateUserParams

type UpdateUserParams struct {
	//
	Attributes *string `json:"Attributes,omitempty"`
	//
	FriendlyName *string `json:"FriendlyName,omitempty"`
	//
	RoleSid *string `json:"RoleSid,omitempty"`
}

Optional parameters for the method 'UpdateUser'

func (*UpdateUserParams) SetAttributes

func (params *UpdateUserParams) SetAttributes(Attributes string) *UpdateUserParams

func (*UpdateUserParams) SetFriendlyName

func (params *UpdateUserParams) SetFriendlyName(FriendlyName string) *UpdateUserParams

func (*UpdateUserParams) SetRoleSid

func (params *UpdateUserParams) SetRoleSid(RoleSid string) *UpdateUserParams

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL