cloudgameapi

package
v1.61.1038 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "regional"

EndpointType regional or central

Functions

func GetEndpointMap

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

type BatchDispatchGameSlotRequest

type BatchDispatchGameSlotRequest struct {
	*requests.RpcRequest
	QueueUserList string `position:"Body" name:"QueueUserList"`
}

BatchDispatchGameSlotRequest is the request struct for api BatchDispatchGameSlot

func CreateBatchDispatchGameSlotRequest

func CreateBatchDispatchGameSlotRequest() (request *BatchDispatchGameSlotRequest)

CreateBatchDispatchGameSlotRequest creates a request to invoke BatchDispatchGameSlot API

type BatchDispatchGameSlotResponse

type BatchDispatchGameSlotResponse struct {
	*responses.BaseResponse
	RequestId       string     `json:"RequestId" xml:"RequestId"`
	QueueResultList []DataList `json:"QueueResultList" xml:"QueueResultList"`
}

BatchDispatchGameSlotResponse is the response struct for api BatchDispatchGameSlot

func CreateBatchDispatchGameSlotResponse

func CreateBatchDispatchGameSlotResponse() (response *BatchDispatchGameSlotResponse)

CreateBatchDispatchGameSlotResponse creates a response to parse from BatchDispatchGameSlot response

type BatchStopGameSessionsRequest

type BatchStopGameSessionsRequest struct {
	*requests.RpcRequest
	GameId    string `position:"Query" name:"GameId"`
	Reason    string `position:"Query" name:"Reason"`
	ProjectId string `position:"Query" name:"ProjectId"`
	Token     string `position:"Query" name:"Token"`
	TrackInfo string `position:"Query" name:"TrackInfo"`
}

BatchStopGameSessionsRequest is the request struct for api BatchStopGameSessions

func CreateBatchStopGameSessionsRequest

func CreateBatchStopGameSessionsRequest() (request *BatchStopGameSessionsRequest)

CreateBatchStopGameSessionsRequest creates a request to invoke BatchStopGameSessions API

type BatchStopGameSessionsResponse

type BatchStopGameSessionsResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	Success    bool   `json:"Success" xml:"Success"`
	QueueState int    `json:"QueueState" xml:"QueueState"`
	Message    string `json:"Message" xml:"Message"`
	GameId     string `json:"GameId" xml:"GameId"`
	ProjectId  string `json:"ProjectId" xml:"ProjectId"`
	TrackInfo  string `json:"TrackInfo" xml:"TrackInfo"`
}

BatchStopGameSessionsResponse is the response struct for api BatchStopGameSessions

func CreateBatchStopGameSessionsResponse

func CreateBatchStopGameSessionsResponse() (response *BatchStopGameSessionsResponse)

CreateBatchStopGameSessionsResponse creates a response to parse from BatchStopGameSessions response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

func NewClientWithAccessKey

func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)

NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithEcsRamRole

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithOptions

func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)

NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client

func NewClientWithProvider

func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)

NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArn

func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArnAndPolicy

func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRsaKeyPair

func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)

NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithStsToken

func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)

NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func (*Client) BatchDispatchGameSlot

func (client *Client) BatchDispatchGameSlot(request *BatchDispatchGameSlotRequest) (response *BatchDispatchGameSlotResponse, err error)

BatchDispatchGameSlot invokes the cloudgameapi.BatchDispatchGameSlot API synchronously

func (*Client) BatchDispatchGameSlotWithCallback

func (client *Client) BatchDispatchGameSlotWithCallback(request *BatchDispatchGameSlotRequest, callback func(response *BatchDispatchGameSlotResponse, err error)) <-chan int

BatchDispatchGameSlotWithCallback invokes the cloudgameapi.BatchDispatchGameSlot API asynchronously

func (*Client) BatchDispatchGameSlotWithChan

func (client *Client) BatchDispatchGameSlotWithChan(request *BatchDispatchGameSlotRequest) (<-chan *BatchDispatchGameSlotResponse, <-chan error)

BatchDispatchGameSlotWithChan invokes the cloudgameapi.BatchDispatchGameSlot API asynchronously

func (*Client) BatchStopGameSessions

func (client *Client) BatchStopGameSessions(request *BatchStopGameSessionsRequest) (response *BatchStopGameSessionsResponse, err error)

BatchStopGameSessions invokes the cloudgameapi.BatchStopGameSessions API synchronously

func (*Client) BatchStopGameSessionsWithCallback

func (client *Client) BatchStopGameSessionsWithCallback(request *BatchStopGameSessionsRequest, callback func(response *BatchStopGameSessionsResponse, err error)) <-chan int

BatchStopGameSessionsWithCallback invokes the cloudgameapi.BatchStopGameSessions API asynchronously

func (*Client) BatchStopGameSessionsWithChan

func (client *Client) BatchStopGameSessionsWithChan(request *BatchStopGameSessionsRequest) (<-chan *BatchStopGameSessionsResponse, <-chan error)

BatchStopGameSessionsWithChan invokes the cloudgameapi.BatchStopGameSessions API asynchronously

func (*Client) CloseOrder

func (client *Client) CloseOrder(request *CloseOrderRequest) (response *CloseOrderResponse, err error)

CloseOrder invokes the cloudgameapi.CloseOrder API synchronously

func (*Client) CloseOrderWithCallback

func (client *Client) CloseOrderWithCallback(request *CloseOrderRequest, callback func(response *CloseOrderResponse, err error)) <-chan int

CloseOrderWithCallback invokes the cloudgameapi.CloseOrder API asynchronously

func (*Client) CloseOrderWithChan

func (client *Client) CloseOrderWithChan(request *CloseOrderRequest) (<-chan *CloseOrderResponse, <-chan error)

CloseOrderWithChan invokes the cloudgameapi.CloseOrder API asynchronously

func (*Client) CreateOrder

func (client *Client) CreateOrder(request *CreateOrderRequest) (response *CreateOrderResponse, err error)

CreateOrder invokes the cloudgameapi.CreateOrder API synchronously

func (*Client) CreateOrderWithCallback

func (client *Client) CreateOrderWithCallback(request *CreateOrderRequest, callback func(response *CreateOrderResponse, err error)) <-chan int

CreateOrderWithCallback invokes the cloudgameapi.CreateOrder API asynchronously

func (*Client) CreateOrderWithChan

func (client *Client) CreateOrderWithChan(request *CreateOrderRequest) (<-chan *CreateOrderResponse, <-chan error)

CreateOrderWithChan invokes the cloudgameapi.CreateOrder API asynchronously

func (*Client) CreateToken

func (client *Client) CreateToken(request *CreateTokenRequest) (response *CreateTokenResponse, err error)

CreateToken invokes the cloudgameapi.CreateToken API synchronously

func (*Client) CreateTokenWithCallback

func (client *Client) CreateTokenWithCallback(request *CreateTokenRequest, callback func(response *CreateTokenResponse, err error)) <-chan int

CreateTokenWithCallback invokes the cloudgameapi.CreateToken API asynchronously

func (*Client) CreateTokenWithChan

func (client *Client) CreateTokenWithChan(request *CreateTokenRequest) (<-chan *CreateTokenResponse, <-chan error)

CreateTokenWithChan invokes the cloudgameapi.CreateToken API asynchronously

func (*Client) DeliveryOrder

func (client *Client) DeliveryOrder(request *DeliveryOrderRequest) (response *DeliveryOrderResponse, err error)

DeliveryOrder invokes the cloudgameapi.DeliveryOrder API synchronously

func (*Client) DeliveryOrderWithCallback

func (client *Client) DeliveryOrderWithCallback(request *DeliveryOrderRequest, callback func(response *DeliveryOrderResponse, err error)) <-chan int

DeliveryOrderWithCallback invokes the cloudgameapi.DeliveryOrder API asynchronously

func (*Client) DeliveryOrderWithChan

func (client *Client) DeliveryOrderWithChan(request *DeliveryOrderRequest) (<-chan *DeliveryOrderResponse, <-chan error)

DeliveryOrderWithChan invokes the cloudgameapi.DeliveryOrder API asynchronously

func (*Client) DispatchGameSlot

func (client *Client) DispatchGameSlot(request *DispatchGameSlotRequest) (response *DispatchGameSlotResponse, err error)

DispatchGameSlot invokes the cloudgameapi.DispatchGameSlot API synchronously

func (*Client) DispatchGameSlotWithCallback

func (client *Client) DispatchGameSlotWithCallback(request *DispatchGameSlotRequest, callback func(response *DispatchGameSlotResponse, err error)) <-chan int

DispatchGameSlotWithCallback invokes the cloudgameapi.DispatchGameSlot API asynchronously

func (*Client) DispatchGameSlotWithChan

func (client *Client) DispatchGameSlotWithChan(request *DispatchGameSlotRequest) (<-chan *DispatchGameSlotResponse, <-chan error)

DispatchGameSlotWithChan invokes the cloudgameapi.DispatchGameSlot API asynchronously

func (*Client) GetGameCcu

func (client *Client) GetGameCcu(request *GetGameCcuRequest) (response *GetGameCcuResponse, err error)

GetGameCcu invokes the cloudgameapi.GetGameCcu API synchronously

func (*Client) GetGameCcuWithCallback

func (client *Client) GetGameCcuWithCallback(request *GetGameCcuRequest, callback func(response *GetGameCcuResponse, err error)) <-chan int

GetGameCcuWithCallback invokes the cloudgameapi.GetGameCcu API asynchronously

func (*Client) GetGameCcuWithChan

func (client *Client) GetGameCcuWithChan(request *GetGameCcuRequest) (<-chan *GetGameCcuResponse, <-chan error)

GetGameCcuWithChan invokes the cloudgameapi.GetGameCcu API asynchronously

func (*Client) GetItem

func (client *Client) GetItem(request *GetItemRequest) (response *GetItemResponse, err error)

GetItem invokes the cloudgameapi.GetItem API synchronously

func (*Client) GetItemWithCallback

func (client *Client) GetItemWithCallback(request *GetItemRequest, callback func(response *GetItemResponse, err error)) <-chan int

GetItemWithCallback invokes the cloudgameapi.GetItem API asynchronously

func (*Client) GetItemWithChan

func (client *Client) GetItemWithChan(request *GetItemRequest) (<-chan *GetItemResponse, <-chan error)

GetItemWithChan invokes the cloudgameapi.GetItem API asynchronously

func (*Client) GetSession

func (client *Client) GetSession(request *GetSessionRequest) (response *GetSessionResponse, err error)

GetSession invokes the cloudgameapi.GetSession API synchronously

func (*Client) GetSessionWithCallback

func (client *Client) GetSessionWithCallback(request *GetSessionRequest, callback func(response *GetSessionResponse, err error)) <-chan int

GetSessionWithCallback invokes the cloudgameapi.GetSession API asynchronously

func (*Client) GetSessionWithChan

func (client *Client) GetSessionWithChan(request *GetSessionRequest) (<-chan *GetSessionResponse, <-chan error)

GetSessionWithChan invokes the cloudgameapi.GetSession API asynchronously

func (*Client) GetStopGameToken

func (client *Client) GetStopGameToken(request *GetStopGameTokenRequest) (response *GetStopGameTokenResponse, err error)

GetStopGameToken invokes the cloudgameapi.GetStopGameToken API synchronously

func (*Client) GetStopGameTokenWithCallback

func (client *Client) GetStopGameTokenWithCallback(request *GetStopGameTokenRequest, callback func(response *GetStopGameTokenResponse, err error)) <-chan int

GetStopGameTokenWithCallback invokes the cloudgameapi.GetStopGameToken API asynchronously

func (*Client) GetStopGameTokenWithChan

func (client *Client) GetStopGameTokenWithChan(request *GetStopGameTokenRequest) (<-chan *GetStopGameTokenResponse, <-chan error)

GetStopGameTokenWithChan invokes the cloudgameapi.GetStopGameToken API asynchronously

func (*Client) ListBoughtGames

func (client *Client) ListBoughtGames(request *ListBoughtGamesRequest) (response *ListBoughtGamesResponse, err error)

ListBoughtGames invokes the cloudgameapi.ListBoughtGames API synchronously

func (*Client) ListBoughtGamesWithCallback

func (client *Client) ListBoughtGamesWithCallback(request *ListBoughtGamesRequest, callback func(response *ListBoughtGamesResponse, err error)) <-chan int

ListBoughtGamesWithCallback invokes the cloudgameapi.ListBoughtGames API asynchronously

func (*Client) ListBoughtGamesWithChan

func (client *Client) ListBoughtGamesWithChan(request *ListBoughtGamesRequest) (<-chan *ListBoughtGamesResponse, <-chan error)

ListBoughtGamesWithChan invokes the cloudgameapi.ListBoughtGames API asynchronously

func (*Client) QueryGame

func (client *Client) QueryGame(request *QueryGameRequest) (response *QueryGameResponse, err error)

QueryGame invokes the cloudgameapi.QueryGame API synchronously

func (*Client) QueryGameWithCallback

func (client *Client) QueryGameWithCallback(request *QueryGameRequest, callback func(response *QueryGameResponse, err error)) <-chan int

QueryGameWithCallback invokes the cloudgameapi.QueryGame API asynchronously

func (*Client) QueryGameWithChan

func (client *Client) QueryGameWithChan(request *QueryGameRequest) (<-chan *QueryGameResponse, <-chan error)

QueryGameWithChan invokes the cloudgameapi.QueryGame API asynchronously

func (*Client) QueryItems

func (client *Client) QueryItems(request *QueryItemsRequest) (response *QueryItemsResponse, err error)

QueryItems invokes the cloudgameapi.QueryItems API synchronously

func (*Client) QueryItemsWithCallback

func (client *Client) QueryItemsWithCallback(request *QueryItemsRequest, callback func(response *QueryItemsResponse, err error)) <-chan int

QueryItemsWithCallback invokes the cloudgameapi.QueryItems API asynchronously

func (*Client) QueryItemsWithChan

func (client *Client) QueryItemsWithChan(request *QueryItemsRequest) (<-chan *QueryItemsResponse, <-chan error)

QueryItemsWithChan invokes the cloudgameapi.QueryItems API asynchronously

func (*Client) QueryOrder

func (client *Client) QueryOrder(request *QueryOrderRequest) (response *QueryOrderResponse, err error)

QueryOrder invokes the cloudgameapi.QueryOrder API synchronously

func (*Client) QueryOrderWithCallback

func (client *Client) QueryOrderWithCallback(request *QueryOrderRequest, callback func(response *QueryOrderResponse, err error)) <-chan int

QueryOrderWithCallback invokes the cloudgameapi.QueryOrder API asynchronously

func (*Client) QueryOrderWithChan

func (client *Client) QueryOrderWithChan(request *QueryOrderRequest) (<-chan *QueryOrderResponse, <-chan error)

QueryOrderWithChan invokes the cloudgameapi.QueryOrder API asynchronously

func (*Client) QueryOutAccountBindStatus

func (client *Client) QueryOutAccountBindStatus(request *QueryOutAccountBindStatusRequest) (response *QueryOutAccountBindStatusResponse, err error)

QueryOutAccountBindStatus invokes the cloudgameapi.QueryOutAccountBindStatus API synchronously

func (*Client) QueryOutAccountBindStatusWithCallback

func (client *Client) QueryOutAccountBindStatusWithCallback(request *QueryOutAccountBindStatusRequest, callback func(response *QueryOutAccountBindStatusResponse, err error)) <-chan int

QueryOutAccountBindStatusWithCallback invokes the cloudgameapi.QueryOutAccountBindStatus API asynchronously

func (*Client) QueryOutAccountBindStatusWithChan

func (client *Client) QueryOutAccountBindStatusWithChan(request *QueryOutAccountBindStatusRequest) (<-chan *QueryOutAccountBindStatusResponse, <-chan error)

QueryOutAccountBindStatusWithChan invokes the cloudgameapi.QueryOutAccountBindStatus API asynchronously

func (*Client) QueryProject

func (client *Client) QueryProject(request *QueryProjectRequest) (response *QueryProjectResponse, err error)

QueryProject invokes the cloudgameapi.QueryProject API synchronously

func (*Client) QueryProjectWithCallback

func (client *Client) QueryProjectWithCallback(request *QueryProjectRequest, callback func(response *QueryProjectResponse, err error)) <-chan int

QueryProjectWithCallback invokes the cloudgameapi.QueryProject API asynchronously

func (*Client) QueryProjectWithChan

func (client *Client) QueryProjectWithChan(request *QueryProjectRequest) (<-chan *QueryProjectResponse, <-chan error)

QueryProjectWithChan invokes the cloudgameapi.QueryProject API asynchronously

func (*Client) QueryTenant

func (client *Client) QueryTenant(request *QueryTenantRequest) (response *QueryTenantResponse, err error)

QueryTenant invokes the cloudgameapi.QueryTenant API synchronously

func (*Client) QueryTenantWithCallback

func (client *Client) QueryTenantWithCallback(request *QueryTenantRequest, callback func(response *QueryTenantResponse, err error)) <-chan int

QueryTenantWithCallback invokes the cloudgameapi.QueryTenant API asynchronously

func (*Client) QueryTenantWithChan

func (client *Client) QueryTenantWithChan(request *QueryTenantRequest) (<-chan *QueryTenantResponse, <-chan error)

QueryTenantWithChan invokes the cloudgameapi.QueryTenant API asynchronously

func (*Client) SkipTrialPolicy

func (client *Client) SkipTrialPolicy(request *SkipTrialPolicyRequest) (response *SkipTrialPolicyResponse, err error)

SkipTrialPolicy invokes the cloudgameapi.SkipTrialPolicy API synchronously

func (*Client) SkipTrialPolicyWithCallback

func (client *Client) SkipTrialPolicyWithCallback(request *SkipTrialPolicyRequest, callback func(response *SkipTrialPolicyResponse, err error)) <-chan int

SkipTrialPolicyWithCallback invokes the cloudgameapi.SkipTrialPolicy API asynchronously

func (*Client) SkipTrialPolicyWithChan

func (client *Client) SkipTrialPolicyWithChan(request *SkipTrialPolicyRequest) (<-chan *SkipTrialPolicyResponse, <-chan error)

SkipTrialPolicyWithChan invokes the cloudgameapi.SkipTrialPolicy API asynchronously

func (*Client) StopGameSession

func (client *Client) StopGameSession(request *StopGameSessionRequest) (response *StopGameSessionResponse, err error)

StopGameSession invokes the cloudgameapi.StopGameSession API synchronously

func (*Client) StopGameSessionWithCallback

func (client *Client) StopGameSessionWithCallback(request *StopGameSessionRequest, callback func(response *StopGameSessionResponse, err error)) <-chan int

StopGameSessionWithCallback invokes the cloudgameapi.StopGameSession API asynchronously

func (*Client) StopGameSessionWithChan

func (client *Client) StopGameSessionWithChan(request *StopGameSessionRequest) (<-chan *StopGameSessionResponse, <-chan error)

StopGameSessionWithChan invokes the cloudgameapi.StopGameSession API asynchronously

type CloseOrderRequest

type CloseOrderRequest struct {
	*requests.RpcRequest
	AccountDomain  string `position:"Query" name:"AccountDomain"`
	OrderId        string `position:"Query" name:"OrderId"`
	BuyerAccountId string `position:"Query" name:"BuyerAccountId"`
}

CloseOrderRequest is the request struct for api CloseOrder

func CreateCloseOrderRequest

func CreateCloseOrderRequest() (request *CloseOrderRequest)

CreateCloseOrderRequest creates a request to invoke CloseOrder API

type CloseOrderResponse

type CloseOrderResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      bool   `json:"Data" xml:"Data"`
}

CloseOrderResponse is the response struct for api CloseOrder

func CreateCloseOrderResponse

func CreateCloseOrderResponse() (response *CloseOrderResponse)

CreateCloseOrderResponse creates a response to parse from CloseOrder response

type CreateOrderRequest

type CreateOrderRequest struct {
	*requests.RpcRequest
	AccountDomain   string           `position:"Query" name:"AccountDomain"`
	ItemId          string           `position:"Query" name:"ItemId"`
	SettlementPrice requests.Integer `position:"Query" name:"SettlementPrice"`
	Amount          requests.Integer `position:"Query" name:"Amount"`
	OriginPrice     requests.Integer `position:"Query" name:"OriginPrice"`
	IdempotentCode  string           `position:"Query" name:"IdempotentCode"`
	GameIdList      string           `position:"Query" name:"GameIdList"`
	BuyerAccountId  string           `position:"Query" name:"BuyerAccountId"`
	SkuId           string           `position:"Query" name:"SkuId"`
}

CreateOrderRequest is the request struct for api CreateOrder

func CreateCreateOrderRequest

func CreateCreateOrderRequest() (request *CreateOrderRequest)

CreateCreateOrderRequest creates a request to invoke CreateOrder API

type CreateOrderResponse

type CreateOrderResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      Data   `json:"Data" xml:"Data"`
}

CreateOrderResponse is the response struct for api CreateOrder

func CreateCreateOrderResponse

func CreateCreateOrderResponse() (response *CreateOrderResponse)

CreateCreateOrderResponse creates a response to parse from CreateOrder response

type CreateTokenRequest

type CreateTokenRequest struct {
	*requests.RpcRequest
	ClientToken  string `position:"Query" name:"ClientToken"`
	Session      string `position:"Query" name:"Session"`
	CurrentToken string `position:"Query" name:"CurrentToken"`
}

CreateTokenRequest is the request struct for api CreateToken

func CreateCreateTokenRequest

func CreateCreateTokenRequest() (request *CreateTokenRequest)

CreateCreateTokenRequest creates a request to invoke CreateToken API

type CreateTokenResponse

type CreateTokenResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      Data   `json:"Data" xml:"Data"`
}

CreateTokenResponse is the response struct for api CreateToken

func CreateCreateTokenResponse

func CreateCreateTokenResponse() (response *CreateTokenResponse)

CreateCreateTokenResponse creates a response to parse from CreateToken response

type Data

type Data struct {
	Token             string      `json:"Token" xml:"Token"`
	AccountDomain     string      `json:"AccountDomain" xml:"AccountDomain"`
	BuyerAccountId    string      `json:"BuyerAccountId" xml:"BuyerAccountId"`
	Session           string      `json:"Session" xml:"Session"`
	TotalCount        int64       `json:"TotalCount" xml:"TotalCount"`
	FinishTime        int64       `json:"FinishTime" xml:"FinishTime"`
	DeliveryStatus    string      `json:"DeliveryStatus" xml:"DeliveryStatus"`
	SettlementPrice   int64       `json:"SettlementPrice" xml:"SettlementPrice"`
	CreateTime        int64       `json:"CreateTime" xml:"CreateTime"`
	PageSize          int         `json:"PageSize" xml:"PageSize"`
	ItemId            string      `json:"ItemId" xml:"ItemId"`
	OrderId           string      `json:"OrderId" xml:"OrderId"`
	BindStatus        int         `json:"BindStatus" xml:"BindStatus"`
	Amount            int64       `json:"Amount" xml:"Amount"`
	PageNumber        int         `json:"PageNumber" xml:"PageNumber"`
	Status            string      `json:"Status" xml:"Status"`
	AutoUnlockTime    int64       `json:"AutoUnlockTime" xml:"AutoUnlockTime"`
	OriginPrice       int64       `json:"OriginPrice" xml:"OriginPrice"`
	SkuId             string      `json:"SkuId" xml:"SkuId"`
	ApplyDeliveryTime int64       `json:"ApplyDeliveryTime" xml:"ApplyDeliveryTime"`
	SkipResult        int         `json:"SkipResult" xml:"SkipResult"`
	Items             []ItemsItem `json:"Items" xml:"Items"`
}

Data is a nested struct in cloudgameapi response

type DataInGetItem

type DataInGetItem struct {
	ItemId      string      `json:"ItemId" xml:"ItemId"`
	CreateTime  int64       `json:"CreateTime" xml:"CreateTime"`
	ModifyTime  int64       `json:"ModifyTime" xml:"ModifyTime"`
	SellerId    string      `json:"SellerId" xml:"SellerId"`
	CategoryId  int64       `json:"CategoryId" xml:"CategoryId"`
	Title       string      `json:"Title" xml:"Title"`
	OriginPrice int64       `json:"OriginPrice" xml:"OriginPrice"`
	SalePrice   int64       `json:"SalePrice" xml:"SalePrice"`
	Status      int         `json:"Status" xml:"Status"`
	Description string      `json:"Description" xml:"Description"`
	Supplier    string      `json:"Supplier" xml:"Supplier"`
	Games       []GamesItem `json:"Games" xml:"Games"`
	Skus        []Units     `json:"Skus" xml:"Skus"`
}

DataInGetItem is a nested struct in cloudgameapi response

type DataInQueryGame

type DataInQueryGame struct {
	Items []Items `json:"Items" xml:"Items"`
}

DataInQueryGame is a nested struct in cloudgameapi response

type DataInQueryProject

type DataInQueryProject struct {
	Items []Items `json:"Items" xml:"Items"`
}

DataInQueryProject is a nested struct in cloudgameapi response

type DataInQueryTenant

type DataInQueryTenant struct {
	Items []Items `json:"Items" xml:"Items"`
}

DataInQueryTenant is a nested struct in cloudgameapi response

type DataList

type DataList struct {
	Message     string `json:"Message" xml:"Message"`
	QueueCode   int    `json:"QueueCode" xml:"QueueCode"`
	UserId      string `json:"UserId" xml:"UserId"`
	RegionName  string `json:"RegionName" xml:"RegionName"`
	GameId      string `json:"GameId" xml:"GameId"`
	GameSession string `json:"GameSession" xml:"GameSession"`
	QueueState  int    `json:"QueueState" xml:"QueueState"`
}

DataList is a nested struct in cloudgameapi response

type DataListInGetGameCcu

type DataListInGetGameCcu struct {
	DataListItem []DataListItem `json:"DataList" xml:"DataList"`
}

DataListInGetGameCcu is a nested struct in cloudgameapi response

type DataListItem

type DataListItem struct {
	Ccu      int64  `json:"Ccu" xml:"Ccu"`
	GameId   string `json:"GameId" xml:"GameId"`
	RegionId string `json:"RegionId" xml:"RegionId"`
}

DataListItem is a nested struct in cloudgameapi response

type DeliveryOrderRequest

type DeliveryOrderRequest struct {
	*requests.RpcRequest
	AccountDomain  string `position:"Query" name:"AccountDomain"`
	OrderId        string `position:"Query" name:"OrderId"`
	BuyerAccountId string `position:"Query" name:"BuyerAccountId"`
}

DeliveryOrderRequest is the request struct for api DeliveryOrder

func CreateDeliveryOrderRequest

func CreateDeliveryOrderRequest() (request *DeliveryOrderRequest)

CreateDeliveryOrderRequest creates a request to invoke DeliveryOrder API

type DeliveryOrderResponse

type DeliveryOrderResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      Data   `json:"Data" xml:"Data"`
}

DeliveryOrderResponse is the response struct for api DeliveryOrder

func CreateDeliveryOrderResponse

func CreateDeliveryOrderResponse() (response *DeliveryOrderResponse)

CreateDeliveryOrderResponse creates a response to parse from DeliveryOrder response

type DispatchGameSlotRequest

type DispatchGameSlotRequest struct {
	*requests.RpcRequest
	GameId         string           `position:"Body" name:"GameId"`
	Cancel         requests.Boolean `position:"Body" name:"Cancel"`
	GameSession    string           `position:"Body" name:"GameSession"`
	SystemInfo     string           `position:"Body" name:"SystemInfo"`
	UserId         string           `position:"Body" name:"UserId"`
	Reconnect      requests.Boolean `position:"Body" name:"Reconnect"`
	AccessKey      string           `position:"Body" name:"AccessKey"`
	ClientIp       string           `position:"Body" name:"ClientIp"`
	RegionName     string           `position:"Body" name:"RegionName"`
	GameCommand    string           `position:"Body" name:"GameCommand"`
	BizParam       string           `position:"Body" name:"BizParam"`
	GameStartParam string           `position:"Body" name:"GameStartParam"`
}

DispatchGameSlotRequest is the request struct for api DispatchGameSlot

func CreateDispatchGameSlotRequest

func CreateDispatchGameSlotRequest() (request *DispatchGameSlotRequest)

CreateDispatchGameSlotRequest creates a request to invoke DispatchGameSlot API

type DispatchGameSlotResponse

type DispatchGameSlotResponse struct {
	*responses.BaseResponse
	RequestId   string `json:"RequestId" xml:"RequestId"`
	GameId      string `json:"GameId" xml:"GameId"`
	GameSession string `json:"GameSession" xml:"GameSession"`
	QueueState  int    `json:"QueueState" xml:"QueueState"`
	QueueCode   int    `json:"QueueCode" xml:"QueueCode"`
	Message     string `json:"Message" xml:"Message"`
	RegionName  string `json:"RegionName" xml:"RegionName"`
	UserId      string `json:"UserId" xml:"UserId"`
}

DispatchGameSlotResponse is the response struct for api DispatchGameSlot

func CreateDispatchGameSlotResponse

func CreateDispatchGameSlotResponse() (response *DispatchGameSlotResponse)

CreateDispatchGameSlotResponse creates a response to parse from DispatchGameSlot response

type GamesInGetItem

type GamesInGetItem struct {
	GamesItem []GamesItem `json:"Games" xml:"Games"`
}

GamesInGetItem is a nested struct in cloudgameapi response

type GamesInQueryItems

type GamesInQueryItems struct {
	GamesItem []GamesItem `json:"Games" xml:"Games"`
}

GamesInQueryItems is a nested struct in cloudgameapi response

type GamesItem

type GamesItem struct {
	Name   string `json:"Name" xml:"Name"`
	GameId string `json:"GameId" xml:"GameId"`
}

GamesItem is a nested struct in cloudgameapi response

type GetGameCcuRequest

type GetGameCcuRequest struct {
	*requests.RpcRequest
	GameId     string `position:"Query" name:"GameId"`
	AccessKey  string `position:"Query" name:"AccessKey"`
	RegionName string `position:"Query" name:"RegionName"`
}

GetGameCcuRequest is the request struct for api GetGameCcu

func CreateGetGameCcuRequest

func CreateGetGameCcuRequest() (request *GetGameCcuRequest)

CreateGetGameCcuRequest creates a request to invoke GetGameCcu API

type GetGameCcuResponse

type GetGameCcuResponse struct {
	*responses.BaseResponse
	RequestId string         `json:"RequestId" xml:"RequestId"`
	DataList  []DataListItem `json:"DataList" xml:"DataList"`
}

GetGameCcuResponse is the response struct for api GetGameCcu

func CreateGetGameCcuResponse

func CreateGetGameCcuResponse() (response *GetGameCcuResponse)

CreateGetGameCcuResponse creates a response to parse from GetGameCcu response

type GetItemRequest

type GetItemRequest struct {
	*requests.RpcRequest
	ItemId string `position:"Query" name:"ItemId"`
}

GetItemRequest is the request struct for api GetItem

func CreateGetItemRequest

func CreateGetItemRequest() (request *GetItemRequest)

CreateGetItemRequest creates a request to invoke GetItem API

type GetItemResponse

type GetItemResponse struct {
	*responses.BaseResponse
	RequestId string        `json:"RequestId" xml:"RequestId"`
	Data      DataInGetItem `json:"Data" xml:"Data"`
}

GetItemResponse is the response struct for api GetItem

func CreateGetItemResponse

func CreateGetItemResponse() (response *GetItemResponse)

CreateGetItemResponse creates a response to parse from GetItem response

type GetSessionRequest

type GetSessionRequest struct {
	*requests.RpcRequest
	Token string `position:"Query" name:"Token"`
}

GetSessionRequest is the request struct for api GetSession

func CreateGetSessionRequest

func CreateGetSessionRequest() (request *GetSessionRequest)

CreateGetSessionRequest creates a request to invoke GetSession API

type GetSessionResponse

type GetSessionResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      Data   `json:"Data" xml:"Data"`
}

GetSessionResponse is the response struct for api GetSession

func CreateGetSessionResponse

func CreateGetSessionResponse() (response *GetSessionResponse)

CreateGetSessionResponse creates a response to parse from GetSession response

type GetStopGameTokenRequest

type GetStopGameTokenRequest struct {
	*requests.RpcRequest
	GameId    string `position:"Query" name:"GameId"`
	AccessKey string `position:"Query" name:"AccessKey"`
}

GetStopGameTokenRequest is the request struct for api GetStopGameToken

func CreateGetStopGameTokenRequest

func CreateGetStopGameTokenRequest() (request *GetStopGameTokenRequest)

CreateGetStopGameTokenRequest creates a request to invoke GetStopGameToken API

type GetStopGameTokenResponse

type GetStopGameTokenResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	Token      string `json:"Token" xml:"Token"`
	ExpireTime int64  `json:"ExpireTime" xml:"ExpireTime"`
}

GetStopGameTokenResponse is the response struct for api GetStopGameToken

func CreateGetStopGameTokenResponse

func CreateGetStopGameTokenResponse() (response *GetStopGameTokenResponse)

CreateGetStopGameTokenResponse creates a response to parse from GetStopGameToken response

type Items

type Items struct {
	Name      string `json:"Name" xml:"Name"`
	GmtCreate string `json:"GmtCreate" xml:"GmtCreate"`
	GameId    int64  `json:"GameId" xml:"GameId"`
	Version   string `json:"Version" xml:"Version"`
	TenantId  int64  `json:"TenantId" xml:"TenantId"`
	Id        int64  `json:"Id" xml:"Id"`
	ProjectId int64  `json:"ProjectId" xml:"ProjectId"`
}

Items is a nested struct in cloudgameapi response

type ItemsInListBoughtGames

type ItemsInListBoughtGames struct {
	ItemsItem []ItemsItem `json:"Items" xml:"Items"`
}

ItemsInListBoughtGames is a nested struct in cloudgameapi response

type ItemsInQueryItems

type ItemsInQueryItems struct {
	ItemsItem []ItemsItem `json:"Items" xml:"Items"`
}

ItemsInQueryItems is a nested struct in cloudgameapi response

type ItemsItem

type ItemsItem struct {
	Supplier    string      `json:"Supplier" xml:"Supplier"`
	ModifyTime  int64       `json:"ModifyTime" xml:"ModifyTime"`
	Status      int         `json:"Status" xml:"Status"`
	Title       string      `json:"Title" xml:"Title"`
	SalePrice   int64       `json:"SalePrice" xml:"SalePrice"`
	CreateTime  int64       `json:"CreateTime" xml:"CreateTime"`
	CategoryId  int64       `json:"CategoryId" xml:"CategoryId"`
	GameId      string      `json:"GameId" xml:"GameId"`
	EndTime     int64       `json:"EndTime" xml:"EndTime"`
	ItemId      string      `json:"ItemId" xml:"ItemId"`
	GameName    string      `json:"GameName" xml:"GameName"`
	StartTime   int64       `json:"StartTime" xml:"StartTime"`
	SellerId    string      `json:"SellerId" xml:"SellerId"`
	OriginPrice int64       `json:"OriginPrice" xml:"OriginPrice"`
	Description string      `json:"Description" xml:"Description"`
	Games       []GamesItem `json:"Games" xml:"Games"`
	Skus        []Units     `json:"Skus" xml:"Skus"`
}

ItemsItem is a nested struct in cloudgameapi response

type ListBoughtGamesRequest

type ListBoughtGamesRequest struct {
	*requests.RpcRequest
	AccountDomain string           `position:"Query" name:"AccountDomain"`
	PageNumber    requests.Integer `position:"Query" name:"PageNumber"`
	AccountId     string           `position:"Query" name:"AccountId"`
	PageSize      requests.Integer `position:"Query" name:"PageSize"`
}

ListBoughtGamesRequest is the request struct for api ListBoughtGames

func CreateListBoughtGamesRequest

func CreateListBoughtGamesRequest() (request *ListBoughtGamesRequest)

CreateListBoughtGamesRequest creates a request to invoke ListBoughtGames API

type ListBoughtGamesResponse

type ListBoughtGamesResponse struct {
	*responses.BaseResponse
	RequestId  string      `json:"RequestId" xml:"RequestId"`
	PageNumber int         `json:"PageNumber" xml:"PageNumber"`
	PageSize   int         `json:"PageSize" xml:"PageSize"`
	TotalCount int         `json:"TotalCount" xml:"TotalCount"`
	Items      []ItemsItem `json:"Items" xml:"Items"`
}

ListBoughtGamesResponse is the response struct for api ListBoughtGames

func CreateListBoughtGamesResponse

func CreateListBoughtGamesResponse() (response *ListBoughtGamesResponse)

CreateListBoughtGamesResponse creates a response to parse from ListBoughtGames response

type QueryGameRequest

type QueryGameRequest struct {
	*requests.RpcRequest
	PageNo    requests.Integer `position:"Query" name:"PageNo"`
	PageSize  requests.Integer `position:"Query" name:"PageSize"`
	TenantId  requests.Integer `position:"Query" name:"TenantId"`
	ProjectId requests.Integer `position:"Query" name:"ProjectId"`
}

QueryGameRequest is the request struct for api QueryGame

func CreateQueryGameRequest

func CreateQueryGameRequest() (request *QueryGameRequest)

CreateQueryGameRequest creates a request to invoke QueryGame API

type QueryGameResponse

type QueryGameResponse struct {
	*responses.BaseResponse
	RequestId  string  `json:"RequestId" xml:"RequestId"`
	PageNumber int     `json:"PageNumber" xml:"PageNumber"`
	PageSize   int     `json:"PageSize" xml:"PageSize"`
	TotalCount int     `json:"TotalCount" xml:"TotalCount"`
	Data       []Items `json:"Data" xml:"Data"`
}

QueryGameResponse is the response struct for api QueryGame

func CreateQueryGameResponse

func CreateQueryGameResponse() (response *QueryGameResponse)

CreateQueryGameResponse creates a response to parse from QueryGame response

type QueryItemsRequest

type QueryItemsRequest struct {
	*requests.RpcRequest
	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
	PageSize   requests.Integer `position:"Query" name:"PageSize"`
}

QueryItemsRequest is the request struct for api QueryItems

func CreateQueryItemsRequest

func CreateQueryItemsRequest() (request *QueryItemsRequest)

CreateQueryItemsRequest creates a request to invoke QueryItems API

type QueryItemsResponse

type QueryItemsResponse struct {
	*responses.BaseResponse
	Success        bool   `json:"Success" xml:"Success"`
	RequestId      string `json:"RequestId" xml:"RequestId"`
	HttpStatusCode int64  `json:"HttpStatusCode" xml:"HttpStatusCode"`
	Data           Data   `json:"Data" xml:"Data"`
}

QueryItemsResponse is the response struct for api QueryItems

func CreateQueryItemsResponse

func CreateQueryItemsResponse() (response *QueryItemsResponse)

CreateQueryItemsResponse creates a response to parse from QueryItems response

type QueryOrderRequest

type QueryOrderRequest struct {
	*requests.RpcRequest
	AccountDomain  string `position:"Query" name:"AccountDomain"`
	OrderId        string `position:"Query" name:"OrderId"`
	BuyerAccountId string `position:"Query" name:"BuyerAccountId"`
}

QueryOrderRequest is the request struct for api QueryOrder

func CreateQueryOrderRequest

func CreateQueryOrderRequest() (request *QueryOrderRequest)

CreateQueryOrderRequest creates a request to invoke QueryOrder API

type QueryOrderResponse

type QueryOrderResponse struct {
	*responses.BaseResponse
	RequestId      string `json:"RequestId" xml:"RequestId"`
	DeliveryStatus string `json:"DeliveryStatus" xml:"DeliveryStatus"`
	RefundStatus   string `json:"RefundStatus" xml:"RefundStatus"`
	Data           Data   `json:"Data" xml:"Data"`
}

QueryOrderResponse is the response struct for api QueryOrder

func CreateQueryOrderResponse

func CreateQueryOrderResponse() (response *QueryOrderResponse)

CreateQueryOrderResponse creates a response to parse from QueryOrder response

type QueryOutAccountBindStatusRequest

type QueryOutAccountBindStatusRequest struct {
	*requests.RpcRequest
	GameId        string `position:"Query" name:"GameId"`
	AccountDomain string `position:"Query" name:"AccountDomain"`
	AccountId     string `position:"Query" name:"AccountId"`
}

QueryOutAccountBindStatusRequest is the request struct for api QueryOutAccountBindStatus

func CreateQueryOutAccountBindStatusRequest

func CreateQueryOutAccountBindStatusRequest() (request *QueryOutAccountBindStatusRequest)

CreateQueryOutAccountBindStatusRequest creates a request to invoke QueryOutAccountBindStatus API

type QueryOutAccountBindStatusResponse

type QueryOutAccountBindStatusResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      Data   `json:"Data" xml:"Data"`
}

QueryOutAccountBindStatusResponse is the response struct for api QueryOutAccountBindStatus

func CreateQueryOutAccountBindStatusResponse

func CreateQueryOutAccountBindStatusResponse() (response *QueryOutAccountBindStatusResponse)

CreateQueryOutAccountBindStatusResponse creates a response to parse from QueryOutAccountBindStatus response

type QueryProjectRequest

type QueryProjectRequest struct {
	*requests.RpcRequest
	PageNo    requests.Integer `position:"Query" name:"PageNo"`
	PageSize  requests.Integer `position:"Query" name:"PageSize"`
	TenantId  requests.Integer `position:"Query" name:"TenantId"`
	ProjectId requests.Integer `position:"Query" name:"ProjectId"`
}

QueryProjectRequest is the request struct for api QueryProject

func CreateQueryProjectRequest

func CreateQueryProjectRequest() (request *QueryProjectRequest)

CreateQueryProjectRequest creates a request to invoke QueryProject API

type QueryProjectResponse

type QueryProjectResponse struct {
	*responses.BaseResponse
	RequestId  string  `json:"RequestId" xml:"RequestId"`
	PageNumber int     `json:"PageNumber" xml:"PageNumber"`
	PageSize   int     `json:"PageSize" xml:"PageSize"`
	TotalCount int     `json:"TotalCount" xml:"TotalCount"`
	Data       []Items `json:"Data" xml:"Data"`
}

QueryProjectResponse is the response struct for api QueryProject

func CreateQueryProjectResponse

func CreateQueryProjectResponse() (response *QueryProjectResponse)

CreateQueryProjectResponse creates a response to parse from QueryProject response

type QueryTenantRequest

type QueryTenantRequest struct {
	*requests.RpcRequest
	Param    string           `position:"Query" name:"Param"`
	PageNo   requests.Integer `position:"Query" name:"PageNo"`
	PageSize requests.Integer `position:"Query" name:"PageSize"`
}

QueryTenantRequest is the request struct for api QueryTenant

func CreateQueryTenantRequest

func CreateQueryTenantRequest() (request *QueryTenantRequest)

CreateQueryTenantRequest creates a request to invoke QueryTenant API

type QueryTenantResponse

type QueryTenantResponse struct {
	*responses.BaseResponse
	RequestId  string  `json:"RequestId" xml:"RequestId"`
	PageNumber int     `json:"PageNumber" xml:"PageNumber"`
	PageSize   int     `json:"PageSize" xml:"PageSize"`
	TotalCount int     `json:"TotalCount" xml:"TotalCount"`
	Data       []Items `json:"Data" xml:"Data"`
}

QueryTenantResponse is the response struct for api QueryTenant

func CreateQueryTenantResponse

func CreateQueryTenantResponse() (response *QueryTenantResponse)

CreateQueryTenantResponse creates a response to parse from QueryTenant response

type QueueResultList

type QueueResultList struct {
	DataList []DataList `json:"DataList" xml:"DataList"`
}

QueueResultList is a nested struct in cloudgameapi response

type SalePropsInGetItem

type SalePropsInGetItem struct {
	SalePropsItem []SalePropsItem `json:"SaleProps" xml:"SaleProps"`
}

SalePropsInGetItem is a nested struct in cloudgameapi response

type SalePropsInQueryItems

type SalePropsInQueryItems struct {
	SalePropsItem []SalePropsItem `json:"SaleProps" xml:"SaleProps"`
}

SalePropsInQueryItems is a nested struct in cloudgameapi response

type SalePropsItem

type SalePropsItem struct {
	Value        string `json:"Value" xml:"Value"`
	PropertyId   int64  `json:"PropertyId" xml:"PropertyId"`
	ValueId      int64  `json:"ValueId" xml:"ValueId"`
	PropertyName string `json:"PropertyName" xml:"PropertyName"`
}

SalePropsItem is a nested struct in cloudgameapi response

type SkipTrialPolicyRequest

type SkipTrialPolicyRequest struct {
	*requests.RpcRequest
	GameSessionId string `position:"Query" name:"GameSessionId"`
}

SkipTrialPolicyRequest is the request struct for api SkipTrialPolicy

func CreateSkipTrialPolicyRequest

func CreateSkipTrialPolicyRequest() (request *SkipTrialPolicyRequest)

CreateSkipTrialPolicyRequest creates a request to invoke SkipTrialPolicy API

type SkipTrialPolicyResponse

type SkipTrialPolicyResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      Data   `json:"Data" xml:"Data"`
}

SkipTrialPolicyResponse is the response struct for api SkipTrialPolicy

func CreateSkipTrialPolicyResponse

func CreateSkipTrialPolicyResponse() (response *SkipTrialPolicyResponse)

CreateSkipTrialPolicyResponse creates a response to parse from SkipTrialPolicy response

type SkusInGetItem

type SkusInGetItem struct {
	Units []Units `json:"Units" xml:"Units"`
}

SkusInGetItem is a nested struct in cloudgameapi response

type SkusInQueryItems

type SkusInQueryItems struct {
	Units []Units `json:"Units" xml:"Units"`
}

SkusInQueryItems is a nested struct in cloudgameapi response

type StopGameSessionRequest

type StopGameSessionRequest struct {
	*requests.RpcRequest
	GameId      string `position:"Body" name:"GameId"`
	Reason      string `position:"Body" name:"Reason"`
	GameSession string `position:"Body" name:"GameSession"`
	UserId      string `position:"Body" name:"UserId"`
	AccessKey   string `position:"Body" name:"AccessKey"`
	BizParam    string `position:"Body" name:"BizParam"`
}

StopGameSessionRequest is the request struct for api StopGameSession

func CreateStopGameSessionRequest

func CreateStopGameSessionRequest() (request *StopGameSessionRequest)

CreateStopGameSessionRequest creates a request to invoke StopGameSession API

type StopGameSessionResponse

type StopGameSessionResponse struct {
	*responses.BaseResponse
	RequestId   string `json:"RequestId" xml:"RequestId"`
	GameId      string `json:"GameId" xml:"GameId"`
	GameSession string `json:"GameSession" xml:"GameSession"`
	QueueState  int    `json:"QueueState" xml:"QueueState"`
	QueueCode   int    `json:"QueueCode" xml:"QueueCode"`
	Message     string `json:"Message" xml:"Message"`
	Success     bool   `json:"Success" xml:"Success"`
}

StopGameSessionResponse is the response struct for api StopGameSession

func CreateStopGameSessionResponse

func CreateStopGameSessionResponse() (response *StopGameSessionResponse)

CreateStopGameSessionResponse creates a response to parse from StopGameSession response

type Units

type Units struct {
	ModifyTime  int64           `json:"ModifyTime" xml:"ModifyTime"`
	Status      int             `json:"Status" xml:"Status"`
	SalePrice   int64           `json:"SalePrice" xml:"SalePrice"`
	CreateTime  int64           `json:"CreateTime" xml:"CreateTime"`
	OriginPrice int64           `json:"OriginPrice" xml:"OriginPrice"`
	SkuId       string          `json:"SkuId" xml:"SkuId"`
	ItemId      string          `json:"ItemId" xml:"ItemId"`
	SaleProps   []SalePropsItem `json:"SaleProps" xml:"SaleProps"`
}

Units is a nested struct in cloudgameapi response

Jump to

Keyboard shortcuts

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