Documentation
¶
Overview ¶
This file is auto-generated, don't edit it. Thanks. *
*
Index ¶
- type Client
- func (client *Client) CreateActivity(request *CreateActivityRequest) (_result *CreateActivityResponse, _err error)
- func (client *Client) CreateActivityWithOptions(request *CreateActivityRequest, headers *CreateActivityHeaders, ...) (_result *CreateActivityResponse, _err error)
- func (client *Client) Init(config *openapi.Config) (_err error)
- func (client *Client) ListActivity(request *ListActivityRequest) (_result *ListActivityResponse, _err error)
- func (client *Client) ListActivityWithOptions(request *ListActivityRequest, headers *ListActivityHeaders, ...) (_result *ListActivityResponse, _err error)
- type CreateActivityHeaders
- type CreateActivityRequest
- type CreateActivityRequestDetail
- func (s CreateActivityRequestDetail) GoString() string
- func (s *CreateActivityRequestDetail) SetAddress(v *CreateActivityRequestDetailAddress) *CreateActivityRequestDetail
- func (s *CreateActivityRequestDetail) SetBannerMediaId(v string) *CreateActivityRequestDetail
- func (s *CreateActivityRequestDetail) SetEndTime(v int64) *CreateActivityRequestDetail
- func (s *CreateActivityRequestDetail) SetForeignId(v string) *CreateActivityRequestDetail
- func (s *CreateActivityRequestDetail) SetIndustry(v string) *CreateActivityRequestDetail
- func (s *CreateActivityRequestDetail) SetRoleName(v string) *CreateActivityRequestDetail
- func (s *CreateActivityRequestDetail) SetSource(v string) *CreateActivityRequestDetail
- func (s *CreateActivityRequestDetail) SetStartTime(v int64) *CreateActivityRequestDetail
- func (s *CreateActivityRequestDetail) SetTitle(v string) *CreateActivityRequestDetail
- func (s *CreateActivityRequestDetail) SetType(v int32) *CreateActivityRequestDetail
- func (s *CreateActivityRequestDetail) SetUrl(v string) *CreateActivityRequestDetail
- func (s CreateActivityRequestDetail) String() string
- type CreateActivityRequestDetailAddress
- func (s CreateActivityRequestDetailAddress) GoString() string
- func (s *CreateActivityRequestDetailAddress) SetDistrict(v string) *CreateActivityRequestDetailAddress
- func (s *CreateActivityRequestDetailAddress) SetLat(v string) *CreateActivityRequestDetailAddress
- func (s *CreateActivityRequestDetailAddress) SetLng(v string) *CreateActivityRequestDetailAddress
- func (s *CreateActivityRequestDetailAddress) SetName(v string) *CreateActivityRequestDetailAddress
- func (s CreateActivityRequestDetailAddress) String() string
- type CreateActivityResponse
- func (s CreateActivityResponse) GoString() string
- func (s *CreateActivityResponse) SetBody(v *CreateActivityResponseBody) *CreateActivityResponse
- func (s *CreateActivityResponse) SetHeaders(v map[string]*string) *CreateActivityResponse
- func (s *CreateActivityResponse) SetStatusCode(v int32) *CreateActivityResponse
- func (s CreateActivityResponse) String() string
- type CreateActivityResponseBody
- type ListActivityHeaders
- type ListActivityRequest
- type ListActivityResponse
- func (s ListActivityResponse) GoString() string
- func (s *ListActivityResponse) SetBody(v *ListActivityResponseBody) *ListActivityResponse
- func (s *ListActivityResponse) SetHeaders(v map[string]*string) *ListActivityResponse
- func (s *ListActivityResponse) SetStatusCode(v int32) *ListActivityResponse
- func (s ListActivityResponse) String() string
- type ListActivityResponseBody
- func (s ListActivityResponseBody) GoString() string
- func (s *ListActivityResponseBody) SetList(v []*ListActivityResponseBodyList) *ListActivityResponseBody
- func (s *ListActivityResponseBody) SetMaxResults(v string) *ListActivityResponseBody
- func (s *ListActivityResponseBody) SetNextToken(v string) *ListActivityResponseBody
- func (s ListActivityResponseBody) String() string
- type ListActivityResponseBodyList
- func (s ListActivityResponseBodyList) GoString() string
- func (s *ListActivityResponseBodyList) SetActivityId(v string) *ListActivityResponseBodyList
- func (s *ListActivityResponseBodyList) SetBannerMediaId(v string) *ListActivityResponseBodyList
- func (s *ListActivityResponseBodyList) SetEndTime(v int64) *ListActivityResponseBodyList
- func (s *ListActivityResponseBodyList) SetForeignId(v string) *ListActivityResponseBodyList
- func (s *ListActivityResponseBodyList) SetStartTime(v int64) *ListActivityResponseBodyList
- func (s *ListActivityResponseBodyList) SetStatus(v string) *ListActivityResponseBodyList
- func (s *ListActivityResponseBodyList) SetTitle(v string) *ListActivityResponseBodyList
- func (s *ListActivityResponseBodyList) SetType(v string) *ListActivityResponseBodyList
- func (s *ListActivityResponseBodyList) SetUrl(v string) *ListActivityResponseBodyList
- func (s ListActivityResponseBodyList) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
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) 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 (s *CreateActivityRequest) SetDetail(v *CreateActivityRequestDetail) *CreateActivityRequest
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 (s *CreateActivityRequestDetail) SetAddress(v *CreateActivityRequestDetailAddress) *CreateActivityRequestDetail
func (*CreateActivityRequestDetail) SetBannerMediaId ¶
func (s *CreateActivityRequestDetail) SetBannerMediaId(v string) *CreateActivityRequestDetail
func (*CreateActivityRequestDetail) SetEndTime ¶
func (s *CreateActivityRequestDetail) SetEndTime(v int64) *CreateActivityRequestDetail
func (*CreateActivityRequestDetail) SetForeignId ¶
func (s *CreateActivityRequestDetail) SetForeignId(v string) *CreateActivityRequestDetail
func (*CreateActivityRequestDetail) SetIndustry ¶
func (s *CreateActivityRequestDetail) SetIndustry(v string) *CreateActivityRequestDetail
func (*CreateActivityRequestDetail) SetRoleName ¶
func (s *CreateActivityRequestDetail) SetRoleName(v string) *CreateActivityRequestDetail
func (*CreateActivityRequestDetail) SetSource ¶
func (s *CreateActivityRequestDetail) SetSource(v string) *CreateActivityRequestDetail
func (*CreateActivityRequestDetail) SetStartTime ¶
func (s *CreateActivityRequestDetail) SetStartTime(v int64) *CreateActivityRequestDetail
func (*CreateActivityRequestDetail) SetTitle ¶
func (s *CreateActivityRequestDetail) SetTitle(v string) *CreateActivityRequestDetail
func (*CreateActivityRequestDetail) SetType ¶
func (s *CreateActivityRequestDetail) SetType(v int32) *CreateActivityRequestDetail
func (*CreateActivityRequestDetail) SetUrl ¶
func (s *CreateActivityRequestDetail) SetUrl(v string) *CreateActivityRequestDetail
func (CreateActivityRequestDetail) String ¶
func (s CreateActivityRequestDetail) String() 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 (s CreateActivityRequestDetailAddress) GoString() string
func (*CreateActivityRequestDetailAddress) SetDistrict ¶
func (s *CreateActivityRequestDetailAddress) SetDistrict(v string) *CreateActivityRequestDetailAddress
func (*CreateActivityRequestDetailAddress) SetLat ¶
func (s *CreateActivityRequestDetailAddress) SetLat(v string) *CreateActivityRequestDetailAddress
func (*CreateActivityRequestDetailAddress) SetLng ¶
func (s *CreateActivityRequestDetailAddress) SetLng(v string) *CreateActivityRequestDetailAddress
func (*CreateActivityRequestDetailAddress) SetName ¶
func (s *CreateActivityRequestDetailAddress) SetName(v string) *CreateActivityRequestDetailAddress
func (CreateActivityRequestDetailAddress) String ¶
func (s CreateActivityRequestDetailAddress) String() string
type CreateActivityResponse ¶
type CreateActivityResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` Body *CreateActivityResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` }
func (CreateActivityResponse) GoString ¶
func (s CreateActivityResponse) GoString() string
func (*CreateActivityResponse) SetBody ¶
func (s *CreateActivityResponse) SetBody(v *CreateActivityResponseBody) *CreateActivityResponse
func (*CreateActivityResponse) SetHeaders ¶
func (s *CreateActivityResponse) SetHeaders(v map[string]*string) *CreateActivityResponse
func (*CreateActivityResponse) SetStatusCode ¶
func (s *CreateActivityResponse) SetStatusCode(v int32) *CreateActivityResponse
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 (s *CreateActivityResponseBody) SetActivityId(v string) *CreateActivityResponseBody
func (CreateActivityResponseBody) String ¶
func (s CreateActivityResponseBody) String() 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" require:"true"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` Body *ListActivityResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` }
func (ListActivityResponse) GoString ¶
func (s ListActivityResponse) GoString() string
func (*ListActivityResponse) SetBody ¶
func (s *ListActivityResponse) SetBody(v *ListActivityResponseBody) *ListActivityResponse
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 (s *ListActivityResponseBody) SetList(v []*ListActivityResponseBodyList) *ListActivityResponseBody
func (*ListActivityResponseBody) SetMaxResults ¶
func (s *ListActivityResponseBody) SetMaxResults(v string) *ListActivityResponseBody
func (*ListActivityResponseBody) SetNextToken ¶
func (s *ListActivityResponseBody) SetNextToken(v string) *ListActivityResponseBody
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 (s *ListActivityResponseBodyList) SetActivityId(v string) *ListActivityResponseBodyList
func (*ListActivityResponseBodyList) SetBannerMediaId ¶
func (s *ListActivityResponseBodyList) SetBannerMediaId(v string) *ListActivityResponseBodyList
func (*ListActivityResponseBodyList) SetEndTime ¶
func (s *ListActivityResponseBodyList) SetEndTime(v int64) *ListActivityResponseBodyList
func (*ListActivityResponseBodyList) SetForeignId ¶
func (s *ListActivityResponseBodyList) SetForeignId(v string) *ListActivityResponseBodyList
func (*ListActivityResponseBodyList) SetStartTime ¶
func (s *ListActivityResponseBodyList) SetStartTime(v int64) *ListActivityResponseBodyList
func (*ListActivityResponseBodyList) SetStatus ¶
func (s *ListActivityResponseBodyList) SetStatus(v string) *ListActivityResponseBodyList
func (*ListActivityResponseBodyList) SetTitle ¶
func (s *ListActivityResponseBodyList) SetTitle(v string) *ListActivityResponseBodyList
func (*ListActivityResponseBodyList) SetType ¶
func (s *ListActivityResponseBodyList) SetType(v string) *ListActivityResponseBodyList
func (*ListActivityResponseBodyList) SetUrl ¶
func (s *ListActivityResponseBodyList) SetUrl(v string) *ListActivityResponseBodyList
func (ListActivityResponseBodyList) String ¶
func (s ListActivityResponseBodyList) String() string
Click to show internal directories.
Click to hide internal directories.