openapi

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 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.43.1
  • 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
CredentialsApi CreateCredential Post /v1/Credentials
CredentialsApi DeleteCredential Delete /v1/Credentials/{Sid}
CredentialsApi FetchCredential Get /v1/Credentials/{Sid}
CredentialsApi ListCredential Get /v1/Credentials
CredentialsApi UpdateCredential Post /v1/Credentials/{Sid}
ServicesApi CreateService Post /v1/Services
ServicesApi DeleteService Delete /v1/Services/{Sid}
ServicesApi FetchService Get /v1/Services/{Sid}
ServicesApi ListService Get /v1/Services
ServicesApi UpdateService Post /v1/Services/{Sid}
ServicesChannelsApi CreateChannel Post /v1/Services/{ServiceSid}/Channels
ServicesChannelsApi DeleteChannel Delete /v1/Services/{ServiceSid}/Channels/{Sid}
ServicesChannelsApi FetchChannel Get /v1/Services/{ServiceSid}/Channels/{Sid}
ServicesChannelsApi ListChannel Get /v1/Services/{ServiceSid}/Channels
ServicesChannelsApi UpdateChannel Post /v1/Services/{ServiceSid}/Channels/{Sid}
ServicesChannelsInvitesApi CreateInvite Post /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Invites
ServicesChannelsInvitesApi DeleteInvite Delete /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Invites/{Sid}
ServicesChannelsInvitesApi FetchInvite Get /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Invites/{Sid}
ServicesChannelsInvitesApi ListInvite Get /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Invites
ServicesChannelsMembersApi CreateMember Post /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Members
ServicesChannelsMembersApi DeleteMember Delete /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Members/{Sid}
ServicesChannelsMembersApi FetchMember Get /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Members/{Sid}
ServicesChannelsMembersApi ListMember Get /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Members
ServicesChannelsMembersApi UpdateMember Post /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Members/{Sid}
ServicesChannelsMessagesApi CreateMessage Post /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Messages
ServicesChannelsMessagesApi DeleteMessage Delete /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Messages/{Sid}
ServicesChannelsMessagesApi FetchMessage Get /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Messages/{Sid}
ServicesChannelsMessagesApi ListMessage Get /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Messages
ServicesChannelsMessagesApi UpdateMessage Post /v1/Services/{ServiceSid}/Channels/{ChannelSid}/Messages/{Sid}
ServicesRolesApi CreateRole Post /v1/Services/{ServiceSid}/Roles
ServicesRolesApi DeleteRole Delete /v1/Services/{ServiceSid}/Roles/{Sid}
ServicesRolesApi FetchRole Get /v1/Services/{ServiceSid}/Roles/{Sid}
ServicesRolesApi ListRole Get /v1/Services/{ServiceSid}/Roles
ServicesRolesApi UpdateRole Post /v1/Services/{ServiceSid}/Roles/{Sid}
ServicesUsersApi CreateUser Post /v1/Services/{ServiceSid}/Users
ServicesUsersApi DeleteUser Delete /v1/Services/{ServiceSid}/Users/{Sid}
ServicesUsersApi FetchUser Get /v1/Services/{ServiceSid}/Users/{Sid}
ServicesUsersApi ListUser Get /v1/Services/{ServiceSid}/Users
ServicesUsersApi UpdateUser Post /v1/Services/{ServiceSid}/Users/{Sid}
ServicesUsersChannelsApi ListUserChannel Get /v1/Services/{ServiceSid}/Users/{UserSid}/Channels

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)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiService added in v0.11.0

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

func NewApiService added in v0.11.0

func NewApiService(requestHandler *twilio.RequestHandler) *ApiService

func NewApiServiceWithClient added in v0.11.0

func NewApiServiceWithClient(client twilio.BaseClient) *ApiService

func (*ApiService) CreateChannel added in v0.11.0

func (c *ApiService) CreateChannel(ServiceSid string, params *CreateChannelParams) (*IpMessagingV1Channel, error)

func (*ApiService) CreateCredential added in v0.11.0

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

func (*ApiService) CreateInvite added in v0.11.0

func (c *ApiService) CreateInvite(ServiceSid string, ChannelSid string, params *CreateInviteParams) (*IpMessagingV1Invite, error)

func (*ApiService) CreateMember added in v0.11.0

func (c *ApiService) CreateMember(ServiceSid string, ChannelSid string, params *CreateMemberParams) (*IpMessagingV1Member, error)

func (*ApiService) CreateMessage added in v0.11.0

func (c *ApiService) CreateMessage(ServiceSid string, ChannelSid string, params *CreateMessageParams) (*IpMessagingV1Message, error)

func (*ApiService) CreateRole added in v0.11.0

func (c *ApiService) CreateRole(ServiceSid string, params *CreateRoleParams) (*IpMessagingV1Role, error)

func (*ApiService) CreateService added in v0.11.0

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

func (*ApiService) CreateUser added in v0.11.0

func (c *ApiService) CreateUser(ServiceSid string, params *CreateUserParams) (*IpMessagingV1User, error)

func (*ApiService) DeleteChannel added in v0.11.0

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

func (*ApiService) DeleteCredential added in v0.11.0

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

func (*ApiService) DeleteInvite added in v0.11.0

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

func (*ApiService) DeleteMember added in v0.11.0

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

func (*ApiService) DeleteMessage added in v0.11.0

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

func (*ApiService) DeleteRole added in v0.11.0

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

func (*ApiService) DeleteService added in v0.11.0

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

func (*ApiService) DeleteUser added in v0.11.0

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

func (*ApiService) FetchChannel added in v0.11.0

func (c *ApiService) FetchChannel(ServiceSid string, Sid string) (*IpMessagingV1Channel, error)

func (*ApiService) FetchCredential added in v0.11.0

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

func (*ApiService) FetchInvite added in v0.11.0

func (c *ApiService) FetchInvite(ServiceSid string, ChannelSid string, Sid string) (*IpMessagingV1Invite, error)

func (*ApiService) FetchMember added in v0.11.0

func (c *ApiService) FetchMember(ServiceSid string, ChannelSid string, Sid string) (*IpMessagingV1Member, error)

func (*ApiService) FetchMessage added in v0.11.0

func (c *ApiService) FetchMessage(ServiceSid string, ChannelSid string, Sid string) (*IpMessagingV1Message, error)

func (*ApiService) FetchRole added in v0.11.0

func (c *ApiService) FetchRole(ServiceSid string, Sid string) (*IpMessagingV1Role, error)

func (*ApiService) FetchService added in v0.11.0

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

func (*ApiService) FetchUser added in v0.11.0

func (c *ApiService) FetchUser(ServiceSid string, Sid string) (*IpMessagingV1User, error)

func (*ApiService) ListChannel added in v0.11.0

func (c *ApiService) ListChannel(ServiceSid string, params *ListChannelParams) ([]IpMessagingV1Channel, error)

Lists Channel records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListCredential added in v0.11.0

func (c *ApiService) ListCredential(params *ListCredentialParams) ([]IpMessagingV1Credential, error)

Lists Credential records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListInvite added in v0.11.0

func (c *ApiService) ListInvite(ServiceSid string, ChannelSid string, params *ListInviteParams) ([]IpMessagingV1Invite, error)

Lists Invite records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListMember added in v0.11.0

func (c *ApiService) ListMember(ServiceSid string, ChannelSid string, params *ListMemberParams) ([]IpMessagingV1Member, error)

Lists Member records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListMessage added in v0.11.0

func (c *ApiService) ListMessage(ServiceSid string, ChannelSid string, params *ListMessageParams) ([]IpMessagingV1Message, error)

Lists Message records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListRole added in v0.11.0

func (c *ApiService) ListRole(ServiceSid string, params *ListRoleParams) ([]IpMessagingV1Role, error)

Lists Role records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListService added in v0.11.0

func (c *ApiService) ListService(params *ListServiceParams) ([]IpMessagingV1Service, error)

Lists Service records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListUser added in v0.11.0

func (c *ApiService) ListUser(ServiceSid string, params *ListUserParams) ([]IpMessagingV1User, error)

Lists User records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListUserChannel added in v0.11.0

func (c *ApiService) ListUserChannel(ServiceSid string, UserSid string, params *ListUserChannelParams) ([]IpMessagingV1UserChannel, error)

Lists UserChannel records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) PageChannel added in v0.13.0

func (c *ApiService) PageChannel(ServiceSid string, params *ListChannelParams, pageToken, pageNumber string) (*ListChannelResponse, error)

Retrieve a single page of Channel records from the API. Request is executed immediately.

func (*ApiService) PageCredential added in v0.13.0

func (c *ApiService) PageCredential(params *ListCredentialParams, pageToken, pageNumber string) (*ListCredentialResponse, error)

Retrieve a single page of Credential records from the API. Request is executed immediately.

func (*ApiService) PageInvite added in v0.13.0

func (c *ApiService) PageInvite(ServiceSid string, ChannelSid string, params *ListInviteParams, pageToken, pageNumber string) (*ListInviteResponse, error)

Retrieve a single page of Invite records from the API. Request is executed immediately.

func (*ApiService) PageMember added in v0.13.0

func (c *ApiService) PageMember(ServiceSid string, ChannelSid string, params *ListMemberParams, pageToken, pageNumber string) (*ListMemberResponse, error)

Retrieve a single page of Member records from the API. Request is executed immediately.

func (*ApiService) PageMessage added in v0.13.0

func (c *ApiService) PageMessage(ServiceSid string, ChannelSid string, params *ListMessageParams, pageToken, pageNumber string) (*ListMessageResponse, error)

Retrieve a single page of Message records from the API. Request is executed immediately.

func (*ApiService) PageRole added in v0.13.0

func (c *ApiService) PageRole(ServiceSid string, params *ListRoleParams, pageToken, pageNumber string) (*ListRoleResponse, error)

Retrieve a single page of Role records from the API. Request is executed immediately.

func (*ApiService) PageService added in v0.13.0

func (c *ApiService) PageService(params *ListServiceParams, pageToken, pageNumber string) (*ListServiceResponse, error)

Retrieve a single page of Service records from the API. Request is executed immediately.

func (*ApiService) PageUser added in v0.13.0

func (c *ApiService) PageUser(ServiceSid string, params *ListUserParams, pageToken, pageNumber string) (*ListUserResponse, error)

Retrieve a single page of User records from the API. Request is executed immediately.

func (*ApiService) PageUserChannel added in v0.13.0

func (c *ApiService) PageUserChannel(ServiceSid string, UserSid string, params *ListUserChannelParams, pageToken, pageNumber string) (*ListUserChannelResponse, error)

Retrieve a single page of UserChannel records from the API. Request is executed immediately.

func (*ApiService) StreamChannel added in v0.13.0

func (c *ApiService) StreamChannel(ServiceSid string, params *ListChannelParams) (chan IpMessagingV1Channel, chan error)

Streams Channel records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamCredential added in v0.13.0

func (c *ApiService) StreamCredential(params *ListCredentialParams) (chan IpMessagingV1Credential, chan error)

Streams Credential records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamInvite added in v0.13.0

func (c *ApiService) StreamInvite(ServiceSid string, ChannelSid string, params *ListInviteParams) (chan IpMessagingV1Invite, chan error)

Streams Invite records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamMember added in v0.13.0

func (c *ApiService) StreamMember(ServiceSid string, ChannelSid string, params *ListMemberParams) (chan IpMessagingV1Member, chan error)

Streams Member records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamMessage added in v0.13.0

func (c *ApiService) StreamMessage(ServiceSid string, ChannelSid string, params *ListMessageParams) (chan IpMessagingV1Message, chan error)

Streams Message records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamRole added in v0.13.0

func (c *ApiService) StreamRole(ServiceSid string, params *ListRoleParams) (chan IpMessagingV1Role, chan error)

Streams Role records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamService added in v0.13.0

func (c *ApiService) StreamService(params *ListServiceParams) (chan IpMessagingV1Service, chan error)

Streams Service records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamUser added in v0.13.0

func (c *ApiService) StreamUser(ServiceSid string, params *ListUserParams) (chan IpMessagingV1User, chan error)

Streams User records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamUserChannel added in v0.13.0

func (c *ApiService) StreamUserChannel(ServiceSid string, UserSid string, params *ListUserChannelParams) (chan IpMessagingV1UserChannel, chan error)

Streams UserChannel records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) UpdateChannel added in v0.11.0

func (c *ApiService) UpdateChannel(ServiceSid string, Sid string, params *UpdateChannelParams) (*IpMessagingV1Channel, error)

func (*ApiService) UpdateCredential added in v0.11.0

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

func (*ApiService) UpdateMember added in v0.11.0

func (c *ApiService) UpdateMember(ServiceSid string, ChannelSid string, Sid string, params *UpdateMemberParams) (*IpMessagingV1Member, error)

func (*ApiService) UpdateMessage added in v0.11.0

func (c *ApiService) UpdateMessage(ServiceSid string, ChannelSid string, Sid string, params *UpdateMessageParams) (*IpMessagingV1Message, error)

func (*ApiService) UpdateRole added in v0.11.0

func (c *ApiService) UpdateRole(ServiceSid string, Sid string, params *UpdateRoleParams) (*IpMessagingV1Role, error)

func (*ApiService) UpdateService added in v0.11.0

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

func (*ApiService) UpdateUser added in v0.11.0

func (c *ApiService) UpdateUser(ServiceSid string, Sid string, params *UpdateUserParams) (*IpMessagingV1User, error)

type CreateChannelParams

type CreateChannelParams struct {
	//
	FriendlyName *string `json:"FriendlyName,omitempty"`
	//
	UniqueName *string `json:"UniqueName,omitempty"`
	//
	Attributes *string `json:"Attributes,omitempty"`
	//
	Type *string `json:"Type,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 {
	//
	Type *string `json:"Type,omitempty"`
	//
	FriendlyName *string `json:"FriendlyName,omitempty"`
	//
	Certificate *string `json:"Certificate,omitempty"`
	//
	PrivateKey *string `json:"PrivateKey,omitempty"`
	//
	Sandbox *bool `json:"Sandbox,omitempty"`
	//
	ApiKey *string `json:"ApiKey,omitempty"`
	//
	Secret *string `json:"Secret,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 {
	//
	Body *string `json:"Body,omitempty"`
	//
	From *string `json:"From,omitempty"`
	//
	Attributes *string `json:"Attributes,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"`
	//
	Type *string `json:"Type,omitempty"`
	//
	Permission *[]string `json:"Permission,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 {
	//
	Identity *string `json:"Identity,omitempty"`
	//
	RoleSid *string `json:"RoleSid,omitempty"`
	//
	Attributes *string `json:"Attributes,omitempty"`
	//
	FriendlyName *string `json:"FriendlyName,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 IpMessagingV1Channel added in v0.14.0

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

IpMessagingV1Channel struct for IpMessagingV1Channel

type IpMessagingV1Credential

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

IpMessagingV1Credential struct for IpMessagingV1Credential

type IpMessagingV1Invite added in v0.14.0

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

IpMessagingV1Invite struct for IpMessagingV1Invite

type IpMessagingV1Member added in v0.14.0

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

IpMessagingV1Member struct for IpMessagingV1Member

type IpMessagingV1Message added in v0.14.0

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

IpMessagingV1Message struct for IpMessagingV1Message

type IpMessagingV1Role added in v0.14.0

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

IpMessagingV1Role struct for IpMessagingV1Role

type IpMessagingV1Service

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

IpMessagingV1Service struct for IpMessagingV1Service

type IpMessagingV1User added in v0.14.0

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

IpMessagingV1User struct for IpMessagingV1User

type IpMessagingV1UserChannel added in v0.14.0

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

IpMessagingV1UserChannel struct for IpMessagingV1UserChannel

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 *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListChannel'

func (*ListChannelParams) SetLimit added in v0.13.0

func (params *ListChannelParams) SetLimit(Limit int) *ListChannelParams

func (*ListChannelParams) SetPageSize

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

func (*ListChannelParams) SetType

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

type ListChannelResponse

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

ListChannelResponse struct for ListChannelResponse

type ListChannelResponseMeta added in v1.0.0

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

ListChannelResponseMeta struct for ListChannelResponseMeta

type ListCredentialParams

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

Optional parameters for the method 'ListCredential'

func (*ListCredentialParams) SetLimit added in v0.13.0

func (params *ListCredentialParams) SetLimit(Limit int) *ListCredentialParams

func (*ListCredentialParams) SetPageSize

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

type ListCredentialResponse

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

ListCredentialResponse struct for ListCredentialResponse

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 *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListInvite'

func (*ListInviteParams) SetIdentity

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

func (*ListInviteParams) SetLimit added in v0.13.0

func (params *ListInviteParams) SetLimit(Limit int) *ListInviteParams

func (*ListInviteParams) SetPageSize

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

type ListInviteResponse

type ListInviteResponse struct {
	Invites []IpMessagingV1Invite   `json:"invites,omitempty"`
	Meta    ListChannelResponseMeta `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 *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListMember'

func (*ListMemberParams) SetIdentity

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

func (*ListMemberParams) SetLimit added in v0.13.0

func (params *ListMemberParams) SetLimit(Limit int) *ListMemberParams

func (*ListMemberParams) SetPageSize

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

type ListMemberResponse

type ListMemberResponse struct {
	Members []IpMessagingV1Member   `json:"members,omitempty"`
	Meta    ListChannelResponseMeta `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 *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListMessage'

func (*ListMessageParams) SetLimit added in v0.13.0

func (params *ListMessageParams) SetLimit(Limit int) *ListMessageParams

func (*ListMessageParams) SetOrder

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

func (*ListMessageParams) SetPageSize

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

type ListMessageResponse

type ListMessageResponse struct {
	Messages []IpMessagingV1Message  `json:"messages,omitempty"`
	Meta     ListChannelResponseMeta `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 *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListRole'

func (*ListRoleParams) SetLimit added in v0.13.0

func (params *ListRoleParams) SetLimit(Limit int) *ListRoleParams

func (*ListRoleParams) SetPageSize

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

type ListRoleResponse

type ListRoleResponse struct {
	Roles []IpMessagingV1Role     `json:"roles,omitempty"`
	Meta  ListChannelResponseMeta `json:"meta,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 *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListService'

func (*ListServiceParams) SetLimit added in v0.13.0

func (params *ListServiceParams) SetLimit(Limit int) *ListServiceParams

func (*ListServiceParams) SetPageSize

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

type ListServiceResponse

type ListServiceResponse struct {
	Services []IpMessagingV1Service  `json:"services,omitempty"`
	Meta     ListChannelResponseMeta `json:"meta,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 *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListUserChannel'

func (*ListUserChannelParams) SetLimit added in v0.13.0

func (params *ListUserChannelParams) SetLimit(Limit int) *ListUserChannelParams

func (*ListUserChannelParams) SetPageSize

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

type ListUserChannelResponse

type ListUserChannelResponse struct {
	Channels []IpMessagingV1UserChannel `json:"channels,omitempty"`
	Meta     ListChannelResponseMeta    `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 *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListUser'

func (*ListUserParams) SetLimit added in v0.13.0

func (params *ListUserParams) SetLimit(Limit int) *ListUserParams

func (*ListUserParams) SetPageSize

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

type ListUserResponse

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

ListUserResponse struct for ListUserResponse

type UpdateChannelParams

type UpdateChannelParams struct {
	//
	FriendlyName *string `json:"FriendlyName,omitempty"`
	//
	UniqueName *string `json:"UniqueName,omitempty"`
	//
	Attributes *string `json:"Attributes,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 {
	//
	FriendlyName *string `json:"FriendlyName,omitempty"`
	//
	Certificate *string `json:"Certificate,omitempty"`
	//
	PrivateKey *string `json:"PrivateKey,omitempty"`
	//
	Sandbox *bool `json:"Sandbox,omitempty"`
	//
	ApiKey *string `json:"ApiKey,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 {
	//
	RoleSid *string `json:"RoleSid,omitempty"`
	//
	LastConsumedMessageIndex *int `json:"LastConsumedMessageIndex,omitempty"`
}

Optional parameters for the method 'UpdateMember'

func (*UpdateMemberParams) SetLastConsumedMessageIndex

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

func (*UpdateMemberParams) SetRoleSid

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

type UpdateMessageParams

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

Optional parameters for the method 'UpdateService'

func (*UpdateServiceParams) SetConsumptionReportInterval

func (params *UpdateServiceParams) SetConsumptionReportInterval(ConsumptionReportInterval int) *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 int) *UpdateServiceParams

func (*UpdateServiceParams) SetLimitsUserChannels

func (params *UpdateServiceParams) SetLimitsUserChannels(LimitsUserChannels int) *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 int) *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 {
	//
	RoleSid *string `json:"RoleSid,omitempty"`
	//
	Attributes *string `json:"Attributes,omitempty"`
	//
	FriendlyName *string `json:"FriendlyName,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