live_activities_1_0

package
v1.6.35 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) PushLiveActivity

func (client *Client) PushLiveActivity(request *PushLiveActivityRequest) (_result *PushLiveActivityResponse, _err error)

func (*Client) PushLiveActivityWithOptions

func (client *Client) PushLiveActivityWithOptions(request *PushLiveActivityRequest, headers *PushLiveActivityHeaders, runtime *util.RuntimeOptions) (_result *PushLiveActivityResponse, _err error)

func (*Client) SendLiveActivity

func (client *Client) SendLiveActivity(request *SendLiveActivityRequest) (_result *SendLiveActivityResponse, _err error)

func (*Client) SendLiveActivityWithOptions

func (client *Client) SendLiveActivityWithOptions(request *SendLiveActivityRequest, headers *SendLiveActivityHeaders, runtime *util.RuntimeOptions) (_result *SendLiveActivityResponse, _err error)

type PushLiveActivityHeaders

type PushLiveActivityHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (PushLiveActivityHeaders) GoString

func (s PushLiveActivityHeaders) GoString() string

func (*PushLiveActivityHeaders) SetCommonHeaders

func (s *PushLiveActivityHeaders) SetCommonHeaders(v map[string]*string) *PushLiveActivityHeaders

func (*PushLiveActivityHeaders) SetXAcsDingtalkAccessToken

func (s *PushLiveActivityHeaders) SetXAcsDingtalkAccessToken(v string) *PushLiveActivityHeaders

func (PushLiveActivityHeaders) String

func (s PushLiveActivityHeaders) String() string

type PushLiveActivityRequest

type PushLiveActivityRequest struct {
	ActivityEventData   *PushLiveActivityRequestActivityEventData   `json:"activityEventData,omitempty" xml:"activityEventData,omitempty" type:"Struct"`
	ActivityEventOption *PushLiveActivityRequestActivityEventOption `json:"activityEventOption,omitempty" xml:"activityEventOption,omitempty" type:"Struct"`
	ActivityId          *string                                     `json:"activityId,omitempty" xml:"activityId,omitempty"`
}

func (PushLiveActivityRequest) GoString

func (s PushLiveActivityRequest) GoString() string

func (*PushLiveActivityRequest) SetActivityEventData

func (*PushLiveActivityRequest) SetActivityEventOption

func (*PushLiveActivityRequest) SetActivityId

func (PushLiveActivityRequest) String

func (s PushLiveActivityRequest) String() string

type PushLiveActivityRequestActivityEventData

type PushLiveActivityRequestActivityEventData struct {
	I18nContentState interface{} `json:"i18nContentState,omitempty" xml:"i18nContentState,omitempty"`
	TemplateId       *string     `json:"templateId,omitempty" xml:"templateId,omitempty"`
}

func (PushLiveActivityRequestActivityEventData) GoString

func (*PushLiveActivityRequestActivityEventData) SetI18nContentState

func (*PushLiveActivityRequestActivityEventData) SetTemplateId

func (PushLiveActivityRequestActivityEventData) String

type PushLiveActivityRequestActivityEventOption

type PushLiveActivityRequestActivityEventOption struct {
	DismissalDate *int64  `json:"dismissalDate,omitempty" xml:"dismissalDate,omitempty"`
	PushType      *string `json:"pushType,omitempty" xml:"pushType,omitempty"`
	SendDate      *int64  `json:"sendDate,omitempty" xml:"sendDate,omitempty"`
	StaleDate     *int64  `json:"staleDate,omitempty" xml:"staleDate,omitempty"`
}

func (PushLiveActivityRequestActivityEventOption) GoString

func (*PushLiveActivityRequestActivityEventOption) SetDismissalDate

func (*PushLiveActivityRequestActivityEventOption) SetPushType

func (*PushLiveActivityRequestActivityEventOption) SetSendDate

func (*PushLiveActivityRequestActivityEventOption) SetStaleDate

func (PushLiveActivityRequestActivityEventOption) String

type PushLiveActivityResponse

type PushLiveActivityResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *PushLiveActivityResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (PushLiveActivityResponse) GoString

func (s PushLiveActivityResponse) GoString() string

func (*PushLiveActivityResponse) SetBody

func (*PushLiveActivityResponse) SetHeaders

func (*PushLiveActivityResponse) SetStatusCode

func (PushLiveActivityResponse) String

func (s PushLiveActivityResponse) String() string

type PushLiveActivityResponseBody

type PushLiveActivityResponseBody struct {
	Result *string `json:"result,omitempty" xml:"result,omitempty"`
}

func (PushLiveActivityResponseBody) GoString

func (s PushLiveActivityResponseBody) GoString() string

func (*PushLiveActivityResponseBody) SetResult

func (PushLiveActivityResponseBody) String

type SendLiveActivityHeaders

type SendLiveActivityHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (SendLiveActivityHeaders) GoString

func (s SendLiveActivityHeaders) GoString() string

func (*SendLiveActivityHeaders) SetCommonHeaders

func (s *SendLiveActivityHeaders) SetCommonHeaders(v map[string]*string) *SendLiveActivityHeaders

func (*SendLiveActivityHeaders) SetXAcsDingtalkAccessToken

func (s *SendLiveActivityHeaders) SetXAcsDingtalkAccessToken(v string) *SendLiveActivityHeaders

func (SendLiveActivityHeaders) String

func (s SendLiveActivityHeaders) String() string

type SendLiveActivityRequest

type SendLiveActivityRequest struct {
	ActivityEventData   *SendLiveActivityRequestActivityEventData   `json:"activityEventData,omitempty" xml:"activityEventData,omitempty" type:"Struct"`
	ActivityEventOption *SendLiveActivityRequestActivityEventOption `json:"activityEventOption,omitempty" xml:"activityEventOption,omitempty" type:"Struct"`
	ActivityId          *string                                     `json:"activityId,omitempty" xml:"activityId,omitempty"`
}

func (SendLiveActivityRequest) GoString

func (s SendLiveActivityRequest) GoString() string

func (*SendLiveActivityRequest) SetActivityEventData

func (*SendLiveActivityRequest) SetActivityEventOption

func (*SendLiveActivityRequest) SetActivityId

func (SendLiveActivityRequest) String

func (s SendLiveActivityRequest) String() string

type SendLiveActivityRequestActivityEventData

type SendLiveActivityRequestActivityEventData struct {
	I18nContentState interface{} `json:"i18nContentState,omitempty" xml:"i18nContentState,omitempty"`
	TemplateId       *string     `json:"templateId,omitempty" xml:"templateId,omitempty"`
}

func (SendLiveActivityRequestActivityEventData) GoString

func (*SendLiveActivityRequestActivityEventData) SetI18nContentState

func (*SendLiveActivityRequestActivityEventData) SetTemplateId

func (SendLiveActivityRequestActivityEventData) String

type SendLiveActivityRequestActivityEventOption

type SendLiveActivityRequestActivityEventOption struct {
	DismissalDate *int64  `json:"dismissalDate,omitempty" xml:"dismissalDate,omitempty"`
	PushType      *string `json:"pushType,omitempty" xml:"pushType,omitempty"`
	SendDate      *int64  `json:"sendDate,omitempty" xml:"sendDate,omitempty"`
	StaleDate     *int64  `json:"staleDate,omitempty" xml:"staleDate,omitempty"`
}

func (SendLiveActivityRequestActivityEventOption) GoString

func (*SendLiveActivityRequestActivityEventOption) SetDismissalDate

func (*SendLiveActivityRequestActivityEventOption) SetPushType

func (*SendLiveActivityRequestActivityEventOption) SetSendDate

func (*SendLiveActivityRequestActivityEventOption) SetStaleDate

func (SendLiveActivityRequestActivityEventOption) String

type SendLiveActivityResponse

type SendLiveActivityResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *SendLiveActivityResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (SendLiveActivityResponse) GoString

func (s SendLiveActivityResponse) GoString() string

func (*SendLiveActivityResponse) SetBody

func (*SendLiveActivityResponse) SetHeaders

func (*SendLiveActivityResponse) SetStatusCode

func (SendLiveActivityResponse) String

func (s SendLiveActivityResponse) String() string

type SendLiveActivityResponseBody

type SendLiveActivityResponseBody struct {
	Result *string `json:"result,omitempty" xml:"result,omitempty"`
}

func (SendLiveActivityResponseBody) GoString

func (s SendLiveActivityResponseBody) GoString() string

func (*SendLiveActivityResponseBody) SetResult

func (SendLiveActivityResponseBody) String

Jump to

Keyboard shortcuts

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