v20200820

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const APIVersion = "2020-08-20"

Variables

This section is empty.

Functions

This section is empty.

Types

type AttributeMap

type AttributeMap struct {

	// 属性字典 key [a-zA-Z0-9-\.]*
	Key *string `json:"Key,omitempty" name:"Key"`

	// 属性字典 value
	Value *int64 `json:"Value,omitempty" name:"Value"`
}

type CancelMatchingRequest

type CancelMatchingRequest struct {
	*tchttp.BaseRequest

	// 匹配 Code
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`

	// 要取消的匹配匹配票据 ID
	MatchTicketId *string `json:"MatchTicketId,omitempty" name:"MatchTicketId"`
}

func NewCancelMatchingRequest

func NewCancelMatchingRequest() (request *CancelMatchingRequest)

func (*CancelMatchingRequest) FromJsonString

func (r *CancelMatchingRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CancelMatchingRequest) ToJsonString

func (r *CancelMatchingRequest) ToJsonString() string

type CancelMatchingResponse

type CancelMatchingResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 错误码
		ErrCode *uint64 `json:"ErrCode,omitempty" name:"ErrCode"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCancelMatchingResponse

func NewCancelMatchingResponse() (response *CancelMatchingResponse)

func (*CancelMatchingResponse) FromJsonString

func (r *CancelMatchingResponse) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CancelMatchingResponse) ToJsonString

func (r *CancelMatchingResponse) ToJsonString() string

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) CancelMatching

func (c *Client) CancelMatching(request *CancelMatchingRequest) (response *CancelMatchingResponse, err error)

取消匹配。

func (*Client) CreateMatch

func (c *Client) CreateMatch(request *CreateMatchRequest) (response *CreateMatchResponse, err error)

创建匹配

func (*Client) CreateRule

func (c *Client) CreateRule(request *CreateRuleRequest) (response *CreateRuleResponse, err error)

创建规则

func (*Client) DeleteMatch

func (c *Client) DeleteMatch(request *DeleteMatchRequest) (response *DeleteMatchResponse, err error)

删除匹配

func (*Client) DeleteRule

func (c *Client) DeleteRule(request *DeleteRuleRequest) (response *DeleteRuleResponse, err error)

删除规则

func (*Client) DescribeData

func (c *Client) DescribeData(request *DescribeDataRequest) (response *DescribeDataResponse, err error)

统计数据

func (*Client) DescribeMatch

func (c *Client) DescribeMatch(request *DescribeMatchRequest) (response *DescribeMatchResponse, err error)

查询匹配详情

func (*Client) DescribeMatchCodes

func (c *Client) DescribeMatchCodes(request *DescribeMatchCodesRequest) (response *DescribeMatchCodesResponse, err error)

分页查询匹配Code

func (*Client) DescribeMatches

func (c *Client) DescribeMatches(request *DescribeMatchesRequest) (response *DescribeMatchesResponse, err error)

分页查询匹配列表

func (*Client) DescribeMatchingProgress

func (c *Client) DescribeMatchingProgress(request *DescribeMatchingProgressRequest) (response *DescribeMatchingProgressResponse, err error)

查询匹配进度。

func (*Client) DescribeRule

func (c *Client) DescribeRule(request *DescribeRuleRequest) (response *DescribeRuleResponse, err error)

查询规则详情

func (*Client) DescribeRules

func (c *Client) DescribeRules(request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)

分页查询规则集列表

func (*Client) DescribeToken

func (c *Client) DescribeToken(request *DescribeTokenRequest) (response *DescribeTokenResponse, err error)

查询匹配Token,Token用于push消息验证。

func (*Client) ModifyMatch

func (c *Client) ModifyMatch(request *ModifyMatchRequest) (response *ModifyMatchResponse, err error)

修改匹配

func (*Client) ModifyRule

func (c *Client) ModifyRule(request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)

修改规则(描述、标签)

func (*Client) ModifyToken

func (c *Client) ModifyToken(request *ModifyTokenRequest) (response *ModifyTokenResponse, err error)

修改匹配Token。

func (*Client) StartMatching

func (c *Client) StartMatching(request *StartMatchingRequest) (response *StartMatchingResponse, err error)

支持传入一个玩家或多个玩家发起匹配,在同一个请求内的玩家将被分到同一个对局。

func (*Client) StartMatchingBackfill

func (c *Client) StartMatchingBackfill(request *StartMatchingBackfillRequest) (response *StartMatchingBackfillResponse, err error)

通过调用StartMatchingBackfill,用户可以传入一个回填的匹配请求,GPM为回填请求搜索符合条件的ticket并形成一个新的match。

type CreateMatchRequest

type CreateMatchRequest struct {
	*tchttp.BaseRequest

	// 匹配名称,[a-zA-Z0-9-\.]* 长度128
	MatchName *string `json:"MatchName,omitempty" name:"MatchName"`

	// 规则code
	RuleCode *string `json:"RuleCode,omitempty" name:"RuleCode"`

	// 超时时间,1-600秒
	Timeout *int64 `json:"Timeout,omitempty" name:"Timeout"`

	// 是否为匹配结果请求服务器资源,0表示否,1表示请求GSE资源
	ServerType *int64 `json:"ServerType,omitempty" name:"ServerType"`

	// 匹配描述,最长1024
	MatchDesc *string `json:"MatchDesc,omitempty" name:"MatchDesc"`

	// 只支持https 和 http 协议
	NotifyUrl *string `json:"NotifyUrl,omitempty" name:"NotifyUrl"`

	// 游戏服务器队列地域
	ServerRegion *string `json:"ServerRegion,omitempty" name:"ServerRegion"`

	// 游戏服务器队列
	ServerQueue *string `json:"ServerQueue,omitempty" name:"ServerQueue"`

	// 自定义推送数据
	CustomPushData *string `json:"CustomPushData,omitempty" name:"CustomPushData"`

	// 游戏服务器会话数据
	ServerSessionData *string `json:"ServerSessionData,omitempty" name:"ServerSessionData"`

	// 游戏属性,key-value结构的数组
	GameProperties []*StringKV `json:"GameProperties,omitempty" name:"GameProperties" list`

	// 日志开关,0表示关,1表示开
	LogSwitch *int64 `json:"LogSwitch,omitempty" name:"LogSwitch"`

	// 标签,key-value结构的数组
	Tags []*StringKV `json:"Tags,omitempty" name:"Tags" list`
}

func NewCreateMatchRequest

func NewCreateMatchRequest() (request *CreateMatchRequest)

func (*CreateMatchRequest) FromJsonString

func (r *CreateMatchRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateMatchRequest) ToJsonString

func (r *CreateMatchRequest) ToJsonString() string

type CreateMatchResponse

type CreateMatchResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 匹配信息
		MatchInfo *MatchInfo `json:"MatchInfo,omitempty" name:"MatchInfo"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateMatchResponse

func NewCreateMatchResponse() (response *CreateMatchResponse)

func (*CreateMatchResponse) FromJsonString

func (r *CreateMatchResponse) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateMatchResponse) ToJsonString

func (r *CreateMatchResponse) ToJsonString() string

type CreateRuleRequest

type CreateRuleRequest struct {
	*tchttp.BaseRequest

	// 规则名称,[a-zA-Z0-9-\.]* 长度128
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// 规则脚本,长度65535
	RuleScript *string `json:"RuleScript,omitempty" name:"RuleScript"`

	// 规则描述,最长1024
	RuleDesc *string `json:"RuleDesc,omitempty" name:"RuleDesc"`

	// 标签,key-value结构的数组,最多关联50组标签
	Tags []*StringKV `json:"Tags,omitempty" name:"Tags" list`
}

func NewCreateRuleRequest

func NewCreateRuleRequest() (request *CreateRuleRequest)

func (*CreateRuleRequest) FromJsonString

func (r *CreateRuleRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateRuleRequest) ToJsonString

func (r *CreateRuleRequest) ToJsonString() string

type CreateRuleResponse

type CreateRuleResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 规则信息
		RuleInfo *RuleInfo `json:"RuleInfo,omitempty" name:"RuleInfo"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateRuleResponse

func NewCreateRuleResponse() (response *CreateRuleResponse)

func (*CreateRuleResponse) FromJsonString

func (r *CreateRuleResponse) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateRuleResponse) ToJsonString

func (r *CreateRuleResponse) ToJsonString() string

type DeleteMatchRequest

type DeleteMatchRequest struct {
	*tchttp.BaseRequest

	// 匹配code
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`
}

func NewDeleteMatchRequest

func NewDeleteMatchRequest() (request *DeleteMatchRequest)

func (*DeleteMatchRequest) FromJsonString

func (r *DeleteMatchRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMatchRequest) ToJsonString

func (r *DeleteMatchRequest) ToJsonString() string

type DeleteMatchResponse

type DeleteMatchResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteMatchResponse

func NewDeleteMatchResponse() (response *DeleteMatchResponse)

func (*DeleteMatchResponse) FromJsonString

func (r *DeleteMatchResponse) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMatchResponse) ToJsonString

func (r *DeleteMatchResponse) ToJsonString() string

type DeleteRuleRequest

type DeleteRuleRequest struct {
	*tchttp.BaseRequest

	// 规则code
	RuleCode *string `json:"RuleCode,omitempty" name:"RuleCode"`
}

func NewDeleteRuleRequest

func NewDeleteRuleRequest() (request *DeleteRuleRequest)

func (*DeleteRuleRequest) FromJsonString

func (r *DeleteRuleRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteRuleRequest) ToJsonString

func (r *DeleteRuleRequest) ToJsonString() string

type DeleteRuleResponse

type DeleteRuleResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteRuleResponse

func NewDeleteRuleResponse() (response *DeleteRuleResponse)

func (*DeleteRuleResponse) FromJsonString

func (r *DeleteRuleResponse) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteRuleResponse) ToJsonString

func (r *DeleteRuleResponse) ToJsonString() string

type DescribeDataRequest

type DescribeDataRequest struct {
	*tchttp.BaseRequest

	// 起始时间,单位:秒
	StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"`

	// 截止时间,单位:秒
	EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"`

	// 时间粒度,1表示1天;2表示1小时;3表示1分钟;4表示10分钟;5表示30分钟
	TimeType *int64 `json:"TimeType,omitempty" name:"TimeType"`

	// 匹配code
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`
}

func NewDescribeDataRequest

func NewDescribeDataRequest() (request *DescribeDataRequest)

func (*DescribeDataRequest) FromJsonString

func (r *DescribeDataRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDataRequest) ToJsonString

func (r *DescribeDataRequest) ToJsonString() string

type DescribeDataResponse

type DescribeDataResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 匹配概况
		// 注意:此字段可能返回 null,表示取不到有效值。
		OverviewData *ReportOverviewData `json:"OverviewData,omitempty" name:"OverviewData"`

		// 匹配请求次数趋势数据
		// 注意:此字段可能返回 null,表示取不到有效值。
		TrendData *ReportTrendData `json:"TrendData,omitempty" name:"TrendData"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeDataResponse

func NewDescribeDataResponse() (response *DescribeDataResponse)

func (*DescribeDataResponse) FromJsonString

func (r *DescribeDataResponse) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDataResponse) ToJsonString

func (r *DescribeDataResponse) ToJsonString() string

type DescribeMatchCodesRequest

type DescribeMatchCodesRequest struct {
	*tchttp.BaseRequest

	// 偏移量,页码
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 每页数量
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 搜索的字符串
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`
}

func NewDescribeMatchCodesRequest

func NewDescribeMatchCodesRequest() (request *DescribeMatchCodesRequest)

func (*DescribeMatchCodesRequest) FromJsonString

func (r *DescribeMatchCodesRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMatchCodesRequest) ToJsonString

func (r *DescribeMatchCodesRequest) ToJsonString() string

type DescribeMatchCodesResponse

type DescribeMatchCodesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 匹配Code
		// 注意:此字段可能返回 null,表示取不到有效值。
		MatchCodes []*MatchCodeAttr `json:"MatchCodes,omitempty" name:"MatchCodes" list`

		// 总数
		// 注意:此字段可能返回 null,表示取不到有效值。
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeMatchCodesResponse

func NewDescribeMatchCodesResponse() (response *DescribeMatchCodesResponse)

func (*DescribeMatchCodesResponse) FromJsonString

func (r *DescribeMatchCodesResponse) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMatchCodesResponse) ToJsonString

func (r *DescribeMatchCodesResponse) ToJsonString() string

type DescribeMatchRequest

type DescribeMatchRequest struct {
	*tchttp.BaseRequest

	// 匹配code
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`
}

func NewDescribeMatchRequest

func NewDescribeMatchRequest() (request *DescribeMatchRequest)

func (*DescribeMatchRequest) FromJsonString

func (r *DescribeMatchRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMatchRequest) ToJsonString

func (r *DescribeMatchRequest) ToJsonString() string

type DescribeMatchResponse

type DescribeMatchResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 匹配信息
		// 注意:此字段可能返回 null,表示取不到有效值。
		MatchInfo *MatchInfo `json:"MatchInfo,omitempty" name:"MatchInfo"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeMatchResponse

func NewDescribeMatchResponse() (response *DescribeMatchResponse)

func (*DescribeMatchResponse) FromJsonString

func (r *DescribeMatchResponse) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMatchResponse) ToJsonString

func (r *DescribeMatchResponse) ToJsonString() string

type DescribeMatchesRequest

type DescribeMatchesRequest struct {
	*tchttp.BaseRequest

	// 当前页号,不传则获取所有有权限的资源。
	PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"`

	// 单页大小,不传则获取所有有权限的资源。
	PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`

	// 查询类型(可选):match表示通过matchCode或者matchName来搜索,rule表示通过ruleCode或者ruleName来搜索,其余类型不做过滤处理。
	SearchType *string `json:"SearchType,omitempty" name:"SearchType"`

	// 查询关键词,针对SearchType进行具体过滤的内容。
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`

	// 标签列表,用于过滤。
	Tags []*Tag `json:"Tags,omitempty" name:"Tags" list`
}

func NewDescribeMatchesRequest

func NewDescribeMatchesRequest() (request *DescribeMatchesRequest)

func (*DescribeMatchesRequest) FromJsonString

func (r *DescribeMatchesRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMatchesRequest) ToJsonString

func (r *DescribeMatchesRequest) ToJsonString() string

type DescribeMatchesResponse

type DescribeMatchesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 匹配信息列表
		// 注意:此字段可能返回 null,表示取不到有效值。
		MatchInfoList []*MatchInfo `json:"MatchInfoList,omitempty" name:"MatchInfoList" list`

		// 总记录数
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 当前页号,不填默认返回第一页
		PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"`

		// 单页大小,不填默认取 30,最大值不能超过 30
		PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`

		// 查询类型(可选):matchName表示匹配名称,matchCode表示匹配code,ruleName表示规则名称,tag表示标签Key/Value
		SearchType *string `json:"SearchType,omitempty" name:"SearchType"`

		// 查询关键词(可选)
		Keyword *string `json:"Keyword,omitempty" name:"Keyword"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeMatchesResponse

func NewDescribeMatchesResponse() (response *DescribeMatchesResponse)

func (*DescribeMatchesResponse) FromJsonString

func (r *DescribeMatchesResponse) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMatchesResponse) ToJsonString

func (r *DescribeMatchesResponse) ToJsonString() string

type DescribeMatchingProgressRequest

type DescribeMatchingProgressRequest struct {
	*tchttp.BaseRequest

	// 匹配票据 ID列表, 列表长度 12。
	MatchTicketIds []*MTicket `json:"MatchTicketIds,omitempty" name:"MatchTicketIds" list`
}

func NewDescribeMatchingProgressRequest

func NewDescribeMatchingProgressRequest() (request *DescribeMatchingProgressRequest)

func (*DescribeMatchingProgressRequest) FromJsonString

func (r *DescribeMatchingProgressRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMatchingProgressRequest) ToJsonString

func (r *DescribeMatchingProgressRequest) ToJsonString() string

type DescribeMatchingProgressResponse

type DescribeMatchingProgressResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 匹配票据列表
		// 注意:此字段可能返回 null,表示取不到有效值。
		MatchTickets []*MatchTicket `json:"MatchTickets,omitempty" name:"MatchTickets" list`

		// 错误码
		// 注意:此字段可能返回 null,表示取不到有效值。
		ErrCode *uint64 `json:"ErrCode,omitempty" name:"ErrCode"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeMatchingProgressResponse

func NewDescribeMatchingProgressResponse() (response *DescribeMatchingProgressResponse)

func (*DescribeMatchingProgressResponse) FromJsonString

func (r *DescribeMatchingProgressResponse) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMatchingProgressResponse) ToJsonString

func (r *DescribeMatchingProgressResponse) ToJsonString() string

type DescribeRuleRequest

type DescribeRuleRequest struct {
	*tchttp.BaseRequest

	// 规则code
	RuleCode *string `json:"RuleCode,omitempty" name:"RuleCode"`
}

func NewDescribeRuleRequest

func NewDescribeRuleRequest() (request *DescribeRuleRequest)

func (*DescribeRuleRequest) FromJsonString

func (r *DescribeRuleRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRuleRequest) ToJsonString

func (r *DescribeRuleRequest) ToJsonString() string

type DescribeRuleResponse

type DescribeRuleResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 规则信息
		// 注意:此字段可能返回 null,表示取不到有效值。
		RuleInfo *RuleInfo `json:"RuleInfo,omitempty" name:"RuleInfo"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeRuleResponse

func NewDescribeRuleResponse() (response *DescribeRuleResponse)

func (*DescribeRuleResponse) FromJsonString

func (r *DescribeRuleResponse) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRuleResponse) ToJsonString

func (r *DescribeRuleResponse) ToJsonString() string

type DescribeRulesRequest

type DescribeRulesRequest struct {
	*tchttp.BaseRequest

	// 当前页号,不传则返回第一页
	PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"`

	// 单页大小,最大 30,不填默认30
	PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`

	// 查询类型(可选):match表示通过matchCode或者matchName来搜索,rule表示通过ruleCode或者ruleName来搜索,其余类型不做过滤处理。
	SearchType *string `json:"SearchType,omitempty" name:"SearchType"`

	// 查询关键词,针对SearchType进行具体过滤的内容。
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`

	// 标签列表,用于过滤。
	Tags []*Tag `json:"Tags,omitempty" name:"Tags" list`
}

func NewDescribeRulesRequest

func NewDescribeRulesRequest() (request *DescribeRulesRequest)

func (*DescribeRulesRequest) FromJsonString

func (r *DescribeRulesRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRulesRequest) ToJsonString

func (r *DescribeRulesRequest) ToJsonString() string

type DescribeRulesResponse

type DescribeRulesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 规则信息列表
		// 注意:此字段可能返回 null,表示取不到有效值。
		RuleInfoList []*RuleBriefInfo `json:"RuleInfoList,omitempty" name:"RuleInfoList" list`

		// 总记录数
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 当前页号
		PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"`

		// 单页大小
		PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`

		// 查询类型(可选)matchName表示匹配名称,matchCode表示匹配code,ruleName表示规则名称,tag表示标签Key/Value
		SearchType *string `json:"SearchType,omitempty" name:"SearchType"`

		// 查询关键词(可选)
		Keyword *string `json:"Keyword,omitempty" name:"Keyword"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeRulesResponse

func NewDescribeRulesResponse() (response *DescribeRulesResponse)

func (*DescribeRulesResponse) FromJsonString

func (r *DescribeRulesResponse) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRulesResponse) ToJsonString

func (r *DescribeRulesResponse) ToJsonString() string

type DescribeTokenRequest

type DescribeTokenRequest struct {
	*tchttp.BaseRequest

	// 匹配code
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`
}

func NewDescribeTokenRequest

func NewDescribeTokenRequest() (request *DescribeTokenRequest)

func (*DescribeTokenRequest) FromJsonString

func (r *DescribeTokenRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTokenRequest) ToJsonString

func (r *DescribeTokenRequest) ToJsonString() string

type DescribeTokenResponse

type DescribeTokenResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 当前的MatchCode对应的Token。如果当前MatchCode没有Token,该参数可能取不到有效值。
		// 注意:此字段可能返回 null,表示取不到有效值。
		MatchToken *string `json:"MatchToken,omitempty" name:"MatchToken"`

		// 当Token被替换后,GPM将兼容推送原始Token的时间(秒)。
		// 注意:此字段可能返回 null,表示取不到有效值。
		CompatibleSpan *uint64 `json:"CompatibleSpan,omitempty" name:"CompatibleSpan"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeTokenResponse

func NewDescribeTokenResponse() (response *DescribeTokenResponse)

func (*DescribeTokenResponse) FromJsonString

func (r *DescribeTokenResponse) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTokenResponse) ToJsonString

func (r *DescribeTokenResponse) ToJsonString() string

type MTicket

type MTicket struct {

	// 匹配Code
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`

	// 匹配票据 ID
	MatchTicketId *string `json:"MatchTicketId,omitempty" name:"MatchTicketId"`
}

type MatchAttribute

type MatchAttribute struct {

	// 属性名 长度 128 [a-zA-Z0-9-\.]*
	Name *string `json:"Name,omitempty" name:"Name"`

	// 属性类型: 0 数值; 1 string; 默认 0
	Type *uint64 `json:"Type,omitempty" name:"Type"`

	// 数字属性值 默认 0.0
	NumberValue *float64 `json:"NumberValue,omitempty" name:"NumberValue"`

	// 字符串属性值 长度 128 默认 ""
	StringValue *string `json:"StringValue,omitempty" name:"StringValue"`

	// list 属性值
	ListValue []*string `json:"ListValue,omitempty" name:"ListValue" list`

	// 字典属性值
	MapValue []*AttributeMap `json:"MapValue,omitempty" name:"MapValue" list`
}

type MatchCodeAttr

type MatchCodeAttr struct {

	// 匹配code
	// 注意:此字段可能返回 null,表示取不到有效值。
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`
}

type MatchInfo

type MatchInfo struct {

	// 匹配code
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`

	// 匹配名称
	MatchName *string `json:"MatchName,omitempty" name:"MatchName"`

	// 匹配描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	MatchDesc *string `json:"MatchDesc,omitempty" name:"MatchDesc"`

	// 规则code
	RuleCode *string `json:"RuleCode,omitempty" name:"RuleCode"`

	// 创建时间
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 超时时间
	Timeout *int64 `json:"Timeout,omitempty" name:"Timeout"`

	// 接收通知地址
	NotifyUrl *string `json:"NotifyUrl,omitempty" name:"NotifyUrl"`

	// 是否为匹配结果请求服务器资源,0否,1请求GSE资源
	ServerType *int64 `json:"ServerType,omitempty" name:"ServerType"`

	// 服务器队列所在地域
	// 注意:此字段可能返回 null,表示取不到有效值。
	ServerRegion *string `json:"ServerRegion,omitempty" name:"ServerRegion"`

	// 服务器队列
	// 注意:此字段可能返回 null,表示取不到有效值。
	ServerQueue *string `json:"ServerQueue,omitempty" name:"ServerQueue"`

	// 自定义推送数据
	// 注意:此字段可能返回 null,表示取不到有效值。
	CustomPushData *string `json:"CustomPushData,omitempty" name:"CustomPushData"`

	// 游戏服务器会话数据
	// 注意:此字段可能返回 null,表示取不到有效值。
	ServerSessionData *string `json:"ServerSessionData,omitempty" name:"ServerSessionData"`

	// 游戏属性
	// 注意:此字段可能返回 null,表示取不到有效值。
	GameProperties []*StringKV `json:"GameProperties,omitempty" name:"GameProperties" list`

	// 日志开关,0表示关,1表示开
	LogSwitch *int64 `json:"LogSwitch,omitempty" name:"LogSwitch"`

	// 日志集id
	// 注意:此字段可能返回 null,表示取不到有效值。
	LogsetId *string `json:"LogsetId,omitempty" name:"LogsetId"`

	// 日志集名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	LogsetName *string `json:"LogsetName,omitempty" name:"LogsetName"`

	// 日志主题id
	// 注意:此字段可能返回 null,表示取不到有效值。
	LogTopicId *string `json:"LogTopicId,omitempty" name:"LogTopicId"`

	// 日志主题名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	LogTopicName *string `json:"LogTopicName,omitempty" name:"LogTopicName"`

	// 标签
	// 注意:此字段可能返回 null,表示取不到有效值。
	Tags []*StringKV `json:"Tags,omitempty" name:"Tags" list`

	// 地区
	// 注意:此字段可能返回 null,表示取不到有效值。
	Region *string `json:"Region,omitempty" name:"Region"`

	// 用户AppId
	// 注意:此字段可能返回 null,表示取不到有效值。
	AppId *string `json:"AppId,omitempty" name:"AppId"`

	// 用户主账号Uin
	// 注意:此字段可能返回 null,表示取不到有效值。
	Uin *string `json:"Uin,omitempty" name:"Uin"`

	// 用户创建账号Uin
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreateUin *string `json:"CreateUin,omitempty" name:"CreateUin"`

	// 规则名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// 日志状态,0表示正常,1表示日志集不存在,2表示日志主题不存在,3表示日志集和日志主题都不存在。
	// 注意:此字段可能返回 null,表示取不到有效值。
	LogStatus *int64 `json:"LogStatus,omitempty" name:"LogStatus"`
}

type MatchTicket

type MatchTicket struct {

	// 匹配票据 ID长度 128 [a-zA-Z0-9-\.]*
	Id *string `json:"Id,omitempty" name:"Id"`

	// 匹配 Code
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`

	// 根据 MatchType 取不同的结构序列化结果
	// 注意:此字段可能返回 null,表示取不到有效值。
	MatchResult *string `json:"MatchResult,omitempty" name:"MatchResult"`

	// 表示不同的匹配类型,NORMAL | GSE
	// 注意:此字段可能返回 null,表示取不到有效值。
	MatchType *string `json:"MatchType,omitempty" name:"MatchType"`

	// 玩家信息列表
	Players []*Player `json:"Players,omitempty" name:"Players" list`

	// 匹配状态: SEARCHING 匹配中; PLACING 匹配放置中; COMPLETED 匹配完成; CANCELLED 匹配取消; TIMEDOUT 匹配超时; FAILED 匹配失败
	Status *string `json:"Status,omitempty" name:"Status"`

	// 匹配状态信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	StatusMessage *string `json:"StatusMessage,omitempty" name:"StatusMessage"`

	// 匹配状态原因
	// 注意:此字段可能返回 null,表示取不到有效值。
	StatusReason *string `json:"StatusReason,omitempty" name:"StatusReason"`

	// 收到发起匹配请求的时间 eg: "2020-08-17T08:14:38.077Z"
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 匹配请求因完成、失败、超时、被取消而停止执行的时间 eg: "2020-08-17T08:14:38.077Z"
	// 注意:此字段可能返回 null,表示取不到有效值。
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

type ModifyMatchRequest

type ModifyMatchRequest struct {
	*tchttp.BaseRequest

	// 匹配名称,[a-zA-Z0-9-\.]* 长度128
	MatchName *string `json:"MatchName,omitempty" name:"MatchName"`

	// 规则code
	RuleCode *string `json:"RuleCode,omitempty" name:"RuleCode"`

	// 超时时间,1-600秒
	Timeout *int64 `json:"Timeout,omitempty" name:"Timeout"`

	// 是否为匹配结果请求服务器资源,0表示否,1表示请求GSE资源
	ServerType *int64 `json:"ServerType,omitempty" name:"ServerType"`

	// 匹配code
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`

	// 匹配描述,最长1024
	MatchDesc *string `json:"MatchDesc,omitempty" name:"MatchDesc"`

	// 只支持 http 和 https 协议
	NotifyUrl *string `json:"NotifyUrl,omitempty" name:"NotifyUrl"`

	// 游戏服务器队列地域
	ServerRegion *string `json:"ServerRegion,omitempty" name:"ServerRegion"`

	// 游戏服务器队列
	ServerQueue *string `json:"ServerQueue,omitempty" name:"ServerQueue"`

	// 自定义推送数据
	CustomPushData *string `json:"CustomPushData,omitempty" name:"CustomPushData"`

	// 游戏服务器会话数据
	ServerSessionData *string `json:"ServerSessionData,omitempty" name:"ServerSessionData"`

	// 游戏属性,key-value结构的数组
	GameProperties []*StringKV `json:"GameProperties,omitempty" name:"GameProperties" list`

	// 日志开关,0表示关,1表示开
	LogSwitch *int64 `json:"LogSwitch,omitempty" name:"LogSwitch"`

	// 标签,key-value结构的数组
	Tags []*StringKV `json:"Tags,omitempty" name:"Tags" list`
}

func NewModifyMatchRequest

func NewModifyMatchRequest() (request *ModifyMatchRequest)

func (*ModifyMatchRequest) FromJsonString

func (r *ModifyMatchRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyMatchRequest) ToJsonString

func (r *ModifyMatchRequest) ToJsonString() string

type ModifyMatchResponse

type ModifyMatchResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 匹配信息
		MatchInfo *MatchInfo `json:"MatchInfo,omitempty" name:"MatchInfo"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyMatchResponse

func NewModifyMatchResponse() (response *ModifyMatchResponse)

func (*ModifyMatchResponse) FromJsonString

func (r *ModifyMatchResponse) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyMatchResponse) ToJsonString

func (r *ModifyMatchResponse) ToJsonString() string

type ModifyRuleRequest

type ModifyRuleRequest struct {
	*tchttp.BaseRequest

	// 规则code
	RuleCode *string `json:"RuleCode,omitempty" name:"RuleCode"`

	// 规则名称,只能包含数字、字母、. 和 -
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// 规则描述,最长1024
	RuleDesc *string `json:"RuleDesc,omitempty" name:"RuleDesc"`

	// 标签,key-value结构的数组,最多关联50组标签
	Tags []*StringKV `json:"Tags,omitempty" name:"Tags" list`
}

func NewModifyRuleRequest

func NewModifyRuleRequest() (request *ModifyRuleRequest)

func (*ModifyRuleRequest) FromJsonString

func (r *ModifyRuleRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyRuleRequest) ToJsonString

func (r *ModifyRuleRequest) ToJsonString() string

type ModifyRuleResponse

type ModifyRuleResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 规则信息
		RuleInfo *RuleInfo `json:"RuleInfo,omitempty" name:"RuleInfo"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyRuleResponse

func NewModifyRuleResponse() (response *ModifyRuleResponse)

func (*ModifyRuleResponse) FromJsonString

func (r *ModifyRuleResponse) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyRuleResponse) ToJsonString

func (r *ModifyRuleResponse) ToJsonString() string

type ModifyTokenRequest

type ModifyTokenRequest struct {
	*tchttp.BaseRequest

	// 匹配Code。
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`

	// 单位秒,取值0-1800。此参数表示当前Token被替换后,GPM将持续推送原Token的时间。在CompatibleSpan时间范围内,用户将在事件消息中收到当前和原始Token。
	CompatibleSpan *uint64 `json:"CompatibleSpan,omitempty" name:"CompatibleSpan"`

	// Token,[a-zA-Z0-9-_.], 长度0-64。如果为空,将由GPM随机生成。
	MatchToken *string `json:"MatchToken,omitempty" name:"MatchToken"`
}

func NewModifyTokenRequest

func NewModifyTokenRequest() (request *ModifyTokenRequest)

func (*ModifyTokenRequest) FromJsonString

func (r *ModifyTokenRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyTokenRequest) ToJsonString

func (r *ModifyTokenRequest) ToJsonString() string

type ModifyTokenResponse

type ModifyTokenResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 成功设置的Token。
		MatchToken *string `json:"MatchToken,omitempty" name:"MatchToken"`

		// 当前Token被替换后,GPM将持续推送原Token的时间。
		// 注意:此字段可能返回 null,表示取不到有效值。
		CompatibleSpan *uint64 `json:"CompatibleSpan,omitempty" name:"CompatibleSpan"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyTokenResponse

func NewModifyTokenResponse() (response *ModifyTokenResponse)

func (*ModifyTokenResponse) FromJsonString

func (r *ModifyTokenResponse) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyTokenResponse) ToJsonString

func (r *ModifyTokenResponse) ToJsonString() string

type Player

type Player struct {

	// 玩家 PlayerId 长度 128 [a-zA-Z\d-\._]*
	Id *string `json:"Id,omitempty" name:"Id"`

	// 玩家昵称,长度 128
	Name *string `json:"Name,omitempty" name:"Name"`

	// 玩家匹配属性,最多 10 条
	MatchAttributes []*MatchAttribute `json:"MatchAttributes,omitempty" name:"MatchAttributes" list`

	// 队伍名,可以传递不同队伍名,长度 128 [a-zA-Z0-9-\.]*
	Team *string `json:"Team,omitempty" name:"Team"`

	// 自定义玩家状态 透传参数 [0, 99999]
	CustomPlayerStatus *uint64 `json:"CustomPlayerStatus,omitempty" name:"CustomPlayerStatus"`

	// 自定义玩家信息 透传参数 长度 1024
	CustomProfile *string `json:"CustomProfile,omitempty" name:"CustomProfile"`

	// 各区域延迟,最多 20 条
	RegionLatencies []*RegionLatency `json:"RegionLatencies,omitempty" name:"RegionLatencies" list`
}

type RegionLatency

type RegionLatency struct {

	// 地域
	// ap-beijing          华北地区(北京)
	// ap-chengdu          西南地区(成都)
	// ap-guangzhou          华南地区(广州)
	// ap-hongkong          港澳台地区(中国香港)
	// ap-seoul          亚太地区(首尔)
	// ap-shanghai          华东地区(上海)
	// ap-singapore          东南亚地区(新加坡)
	// eu-frankfurt          欧洲地区(法兰克福)
	// na-siliconvalley          美国西部(硅谷)
	// na-toronto          北美地区(多伦多)
	// ap-mumbai          亚太地区(孟买)
	// na-ashburn          美国东部(弗吉尼亚)
	// ap-bangkok          亚太地区(曼谷)
	// eu-moscow          欧洲地区(莫斯科)
	// ap-tokyo          亚太地区(东京)
	Region *string `json:"Region,omitempty" name:"Region"`

	// 毫秒延迟 0~999999
	Latency *uint64 `json:"Latency,omitempty" name:"Latency"`
}

type ReportOverviewData

type ReportOverviewData struct {

	// 总次数
	TotalTimes *string `json:"TotalTimes,omitempty" name:"TotalTimes"`

	// 成功率
	SuccessPercent *float64 `json:"SuccessPercent,omitempty" name:"SuccessPercent"`

	// 超时率
	TimeoutPercent *float64 `json:"TimeoutPercent,omitempty" name:"TimeoutPercent"`

	// 失败率
	FailPercent *float64 `json:"FailPercent,omitempty" name:"FailPercent"`

	// 平均匹配时间
	AverageSec *float64 `json:"AverageSec,omitempty" name:"AverageSec"`
}

type ReportTrendData

type ReportTrendData struct {

	// 总次数
	TotalList []*string `json:"TotalList,omitempty" name:"TotalList" list`

	// 被取消次数
	CancelList []*string `json:"CancelList,omitempty" name:"CancelList" list`

	// 成功次数
	SuccessList []*string `json:"SuccessList,omitempty" name:"SuccessList" list`

	// 失败次数
	FailList []*string `json:"FailList,omitempty" name:"FailList" list`

	// 超时次数
	TimeoutList []*string `json:"TimeoutList,omitempty" name:"TimeoutList" list`

	// 时间数组,单位:秒
	TimeList []*string `json:"TimeList,omitempty" name:"TimeList" list`
}

type RuleBriefInfo

type RuleBriefInfo struct {

	// 规则名称 [a-zA-Z\d-\.]*
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// 关联匹配
	MatchCodeList []*StringKV `json:"MatchCodeList,omitempty" name:"MatchCodeList" list`

	// 创建时间
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 规则code
	RuleCode *string `json:"RuleCode,omitempty" name:"RuleCode"`
}

type RuleInfo

type RuleInfo struct {

	// 规则名称 [a-zA-Z0-9-\.]*
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// 创建时间
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 规则描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	RuleDesc *string `json:"RuleDesc,omitempty" name:"RuleDesc"`

	// 规则脚本
	RuleScript *string `json:"RuleScript,omitempty" name:"RuleScript"`

	// 标签
	// 注意:此字段可能返回 null,表示取不到有效值。
	Tags []*StringKV `json:"Tags,omitempty" name:"Tags" list`

	// 关联匹配
	// 注意:此字段可能返回 null,表示取不到有效值。
	MatchCodeList []*StringKV `json:"MatchCodeList,omitempty" name:"MatchCodeList" list`

	// 规则code
	RuleCode *string `json:"RuleCode,omitempty" name:"RuleCode"`

	// 地区
	// 注意:此字段可能返回 null,表示取不到有效值。
	Region *string `json:"Region,omitempty" name:"Region"`

	// 用户AppId
	// 注意:此字段可能返回 null,表示取不到有效值。
	AppId *string `json:"AppId,omitempty" name:"AppId"`

	// 用户Uin
	// 注意:此字段可能返回 null,表示取不到有效值。
	Uin *string `json:"Uin,omitempty" name:"Uin"`

	// 用户OwnerUin
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreateUin *string `json:"CreateUin,omitempty" name:"CreateUin"`
}

type StartMatchingBackfillRequest

type StartMatchingBackfillRequest struct {
	*tchttp.BaseRequest

	// 匹配code
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`

	// 玩家信息
	Players []*Player `json:"Players,omitempty" name:"Players" list`

	// 游戏服务器回话 ID [1-256] 个ASCII 字符
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// 匹配票据 Id 默认 "" 为空则由 GPM 自动生成 长度 [1, 128]
	MatchTicketId *string `json:"MatchTicketId,omitempty" name:"MatchTicketId"`
}

func NewStartMatchingBackfillRequest

func NewStartMatchingBackfillRequest() (request *StartMatchingBackfillRequest)

func (*StartMatchingBackfillRequest) FromJsonString

func (r *StartMatchingBackfillRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartMatchingBackfillRequest) ToJsonString

func (r *StartMatchingBackfillRequest) ToJsonString() string

type StartMatchingBackfillResponse

type StartMatchingBackfillResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 匹配票据
		// 注意:此字段可能返回 null,表示取不到有效值。
		MatchTicket *MatchTicket `json:"MatchTicket,omitempty" name:"MatchTicket"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewStartMatchingBackfillResponse

func NewStartMatchingBackfillResponse() (response *StartMatchingBackfillResponse)

func (*StartMatchingBackfillResponse) FromJsonString

func (r *StartMatchingBackfillResponse) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartMatchingBackfillResponse) ToJsonString

func (r *StartMatchingBackfillResponse) ToJsonString() string

type StartMatchingRequest

type StartMatchingRequest struct {
	*tchttp.BaseRequest

	// 匹配 Code。
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`

	// 玩家信息 最多 200 条。
	Players []*Player `json:"Players,omitempty" name:"Players" list`

	// 匹配票据 ID 默认空字符串,为空则由 GPM 自动生成 长度 128,只能包含数字、字母、. 和 -
	MatchTicketId *string `json:"MatchTicketId,omitempty" name:"MatchTicketId"`
}

func NewStartMatchingRequest

func NewStartMatchingRequest() (request *StartMatchingRequest)

func (*StartMatchingRequest) FromJsonString

func (r *StartMatchingRequest) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartMatchingRequest) ToJsonString

func (r *StartMatchingRequest) ToJsonString() string

type StartMatchingResponse

type StartMatchingResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 错误码。
		ErrCode *uint64 `json:"ErrCode,omitempty" name:"ErrCode"`

		// 匹配票据 ID长度 128。
		MatchTicketId *string `json:"MatchTicketId,omitempty" name:"MatchTicketId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewStartMatchingResponse

func NewStartMatchingResponse() (response *StartMatchingResponse)

func (*StartMatchingResponse) FromJsonString

func (r *StartMatchingResponse) FromJsonString(s string) error

It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartMatchingResponse) ToJsonString

func (r *StartMatchingResponse) ToJsonString() string

type StringKV

type StringKV struct {

	// 键
	Key *string `json:"Key,omitempty" name:"Key"`

	// 值
	Value *string `json:"Value,omitempty" name:"Value"`
}

type Tag

type Tag struct {

	// 标签键
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// 标签值
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`
}

Jump to

Keyboard shortcuts

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