activity_1_0

package
v1.6.71 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 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) CreateActivity

func (client *Client) CreateActivity(request *CreateActivityRequest) (_result *CreateActivityResponse, _err error)

func (*Client) CreateActivityWithOptions

func (client *Client) CreateActivityWithOptions(request *CreateActivityRequest, headers *CreateActivityHeaders, runtime *util.RuntimeOptions) (_result *CreateActivityResponse, _err error)

func (*Client) Init

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

func (*Client) ListActivity

func (client *Client) ListActivity(request *ListActivityRequest) (_result *ListActivityResponse, _err error)

func (*Client) ListActivityWithOptions

func (client *Client) ListActivityWithOptions(request *ListActivityRequest, headers *ListActivityHeaders, runtime *util.RuntimeOptions) (_result *ListActivityResponse, _err error)

type CreateActivityHeaders

type CreateActivityHeaders 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 (CreateActivityHeaders) GoString

func (s CreateActivityHeaders) GoString() string

func (*CreateActivityHeaders) SetCommonHeaders

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

func (*CreateActivityHeaders) SetXAcsDingtalkAccessToken

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

func (CreateActivityHeaders) String

func (s CreateActivityHeaders) String() string

type CreateActivityRequest

type CreateActivityRequest struct {
	Detail *CreateActivityRequestDetail `json:"detail,omitempty" xml:"detail,omitempty" type:"Struct"`
}

func (CreateActivityRequest) GoString

func (s CreateActivityRequest) GoString() string

func (*CreateActivityRequest) SetDetail

func (CreateActivityRequest) String

func (s CreateActivityRequest) String() string

type CreateActivityRequestDetail

type CreateActivityRequestDetail struct {
	Address       *CreateActivityRequestDetailAddress `json:"address,omitempty" xml:"address,omitempty" type:"Struct"`
	BannerMediaId *string                             `json:"bannerMediaId,omitempty" xml:"bannerMediaId,omitempty"`
	EndTime       *int64                              `json:"endTime,omitempty" xml:"endTime,omitempty"`
	ForeignId     *string                             `json:"foreignId,omitempty" xml:"foreignId,omitempty"`
	Industry      *string                             `json:"industry,omitempty" xml:"industry,omitempty"`
	RoleName      *string                             `json:"roleName,omitempty" xml:"roleName,omitempty"`
	Source        *string                             `json:"source,omitempty" xml:"source,omitempty"`
	StartTime     *int64                              `json:"startTime,omitempty" xml:"startTime,omitempty"`
	Title         *string                             `json:"title,omitempty" xml:"title,omitempty"`
	Type          *int32                              `json:"type,omitempty" xml:"type,omitempty"`
	Url           *string                             `json:"url,omitempty" xml:"url,omitempty"`
}

func (CreateActivityRequestDetail) GoString

func (s CreateActivityRequestDetail) GoString() string

func (*CreateActivityRequestDetail) SetAddress

func (*CreateActivityRequestDetail) SetBannerMediaId

func (*CreateActivityRequestDetail) SetEndTime

func (*CreateActivityRequestDetail) SetForeignId

func (*CreateActivityRequestDetail) SetIndustry

func (*CreateActivityRequestDetail) SetRoleName

func (*CreateActivityRequestDetail) SetSource

func (*CreateActivityRequestDetail) SetStartTime

func (*CreateActivityRequestDetail) SetTitle

func (*CreateActivityRequestDetail) SetType

func (*CreateActivityRequestDetail) SetUrl

func (CreateActivityRequestDetail) String

type CreateActivityRequestDetailAddress

type CreateActivityRequestDetailAddress struct {
	District *string `json:"district,omitempty" xml:"district,omitempty"`
	Lat      *string `json:"lat,omitempty" xml:"lat,omitempty"`
	Lng      *string `json:"lng,omitempty" xml:"lng,omitempty"`
	Name     *string `json:"name,omitempty" xml:"name,omitempty"`
}

func (CreateActivityRequestDetailAddress) GoString

func (*CreateActivityRequestDetailAddress) SetDistrict

func (*CreateActivityRequestDetailAddress) SetLat

func (*CreateActivityRequestDetailAddress) SetLng

func (*CreateActivityRequestDetailAddress) SetName

func (CreateActivityRequestDetailAddress) String

type CreateActivityResponse

type CreateActivityResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateActivityResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateActivityResponse) GoString

func (s CreateActivityResponse) GoString() string

func (*CreateActivityResponse) SetBody

func (*CreateActivityResponse) SetHeaders

func (*CreateActivityResponse) SetStatusCode

func (CreateActivityResponse) String

func (s CreateActivityResponse) String() string

type CreateActivityResponseBody

type CreateActivityResponseBody struct {
	ActivityId *string `json:"activityId,omitempty" xml:"activityId,omitempty"`
}

func (CreateActivityResponseBody) GoString

func (s CreateActivityResponseBody) GoString() string

func (*CreateActivityResponseBody) SetActivityId

func (CreateActivityResponseBody) String

type ListActivityHeaders

type ListActivityHeaders 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 (ListActivityHeaders) GoString

func (s ListActivityHeaders) GoString() string

func (*ListActivityHeaders) SetCommonHeaders

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

func (*ListActivityHeaders) SetXAcsDingtalkAccessToken

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

func (ListActivityHeaders) String

func (s ListActivityHeaders) String() string

type ListActivityRequest

type ListActivityRequest struct {
	MaxResults *int32  `json:"maxResults,omitempty" xml:"maxResults,omitempty"`
	NextToken  *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (ListActivityRequest) GoString

func (s ListActivityRequest) GoString() string

func (*ListActivityRequest) SetMaxResults

func (s *ListActivityRequest) SetMaxResults(v int32) *ListActivityRequest

func (*ListActivityRequest) SetNextToken

func (s *ListActivityRequest) SetNextToken(v string) *ListActivityRequest

func (ListActivityRequest) String

func (s ListActivityRequest) String() string

type ListActivityResponse

type ListActivityResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListActivityResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListActivityResponse) GoString

func (s ListActivityResponse) GoString() string

func (*ListActivityResponse) SetBody

func (*ListActivityResponse) SetHeaders

func (s *ListActivityResponse) SetHeaders(v map[string]*string) *ListActivityResponse

func (*ListActivityResponse) SetStatusCode

func (s *ListActivityResponse) SetStatusCode(v int32) *ListActivityResponse

func (ListActivityResponse) String

func (s ListActivityResponse) String() string

type ListActivityResponseBody

type ListActivityResponseBody struct {
	List       []*ListActivityResponseBodyList `json:"list,omitempty" xml:"list,omitempty" type:"Repeated"`
	MaxResults *string                         `json:"maxResults,omitempty" xml:"maxResults,omitempty"`
	NextToken  *string                         `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (ListActivityResponseBody) GoString

func (s ListActivityResponseBody) GoString() string

func (*ListActivityResponseBody) SetList

func (*ListActivityResponseBody) SetMaxResults

func (*ListActivityResponseBody) SetNextToken

func (ListActivityResponseBody) String

func (s ListActivityResponseBody) String() string

type ListActivityResponseBodyList

type ListActivityResponseBodyList struct {
	ActivityId    *string `json:"activityId,omitempty" xml:"activityId,omitempty"`
	BannerMediaId *string `json:"bannerMediaId,omitempty" xml:"bannerMediaId,omitempty"`
	EndTime       *int64  `json:"endTime,omitempty" xml:"endTime,omitempty"`
	ForeignId     *string `json:"foreignId,omitempty" xml:"foreignId,omitempty"`
	StartTime     *int64  `json:"startTime,omitempty" xml:"startTime,omitempty"`
	Status        *string `json:"status,omitempty" xml:"status,omitempty"`
	Title         *string `json:"title,omitempty" xml:"title,omitempty"`
	Type          *string `json:"type,omitempty" xml:"type,omitempty"`
	Url           *string `json:"url,omitempty" xml:"url,omitempty"`
}

func (ListActivityResponseBodyList) GoString

func (s ListActivityResponseBodyList) GoString() string

func (*ListActivityResponseBodyList) SetActivityId

func (*ListActivityResponseBodyList) SetBannerMediaId

func (*ListActivityResponseBodyList) SetEndTime

func (*ListActivityResponseBodyList) SetForeignId

func (*ListActivityResponseBodyList) SetStartTime

func (*ListActivityResponseBodyList) SetStatus

func (*ListActivityResponseBodyList) SetTitle

func (*ListActivityResponseBodyList) SetType

func (*ListActivityResponseBodyList) SetUrl

func (ListActivityResponseBodyList) String

Jump to

Keyboard shortcuts

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