lib/v20200820/models.rb in tencentcloud-sdk-gpm-3.0.590 vs lib/v20200820/models.rb in tencentcloud-sdk-gpm-3.0.591

- old
+ new

@@ -23,11 +23,11 @@ # @type Key: String # @param Value: 属性字典 value # @type Value: Integer attr_accessor :Key, :Value - + def initialize(key=nil, value=nil) @Key = key @Value = value end @@ -43,11 +43,11 @@ # @type MatchCode: String # @param MatchTicketId: 要取消的匹配匹配票据 ID # @type MatchTicketId: String attr_accessor :MatchCode, :MatchTicketId - + def initialize(matchcode=nil, matchticketid=nil) @MatchCode = matchcode @MatchTicketId = matchticketid end @@ -63,11 +63,11 @@ # @type ErrCode: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :ErrCode, :RequestId - + def initialize(errcode=nil, requestid=nil) @ErrCode = errcode @RequestId = requestid end @@ -105,11 +105,11 @@ # @type LogSwitch: Integer # @param Tags: 标签,key-value结构的数组 # @type Tags: Array attr_accessor :MatchName, :RuleCode, :Timeout, :ServerType, :MatchDesc, :NotifyUrl, :ServerRegion, :ServerQueue, :CustomPushData, :ServerSessionData, :GameProperties, :LogSwitch, :Tags - + def initialize(matchname=nil, rulecode=nil, timeout=nil, servertype=nil, matchdesc=nil, notifyurl=nil, serverregion=nil, serverqueue=nil, custompushdata=nil, serversessiondata=nil, gameproperties=nil, logswitch=nil, tags=nil) @MatchName = matchname @RuleCode = rulecode @Timeout = timeout @ServerType = servertype @@ -161,11 +161,11 @@ # @type MatchInfo: :class:`Tencentcloud::Gpm.v20200820.models.MatchInfo` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :MatchInfo, :RequestId - + def initialize(matchinfo=nil, requestid=nil) @MatchInfo = matchinfo @RequestId = requestid end @@ -188,11 +188,11 @@ # @type RuleDesc: String # @param Tags: 标签,key-value结构的数组,最多关联50组标签 # @type Tags: Array attr_accessor :RuleName, :RuleScript, :RuleDesc, :Tags - + def initialize(rulename=nil, rulescript=nil, ruledesc=nil, tags=nil) @RuleName = rulename @RuleScript = rulescript @RuleDesc = ruledesc @Tags = tags @@ -219,11 +219,11 @@ # @type RuleInfo: :class:`Tencentcloud::Gpm.v20200820.models.RuleInfo` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RuleInfo, :RequestId - + def initialize(ruleinfo=nil, requestid=nil) @RuleInfo = ruleinfo @RequestId = requestid end @@ -240,11 +240,11 @@ class DeleteMatchRequest < TencentCloud::Common::AbstractModel # @param MatchCode: 匹配code # @type MatchCode: String attr_accessor :MatchCode - + def initialize(matchcode=nil) @MatchCode = matchcode end def deserialize(params) @@ -256,11 +256,11 @@ class DeleteMatchResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -272,11 +272,11 @@ class DeleteRuleRequest < TencentCloud::Common::AbstractModel # @param RuleCode: 规则code # @type RuleCode: String attr_accessor :RuleCode - + def initialize(rulecode=nil) @RuleCode = rulecode end def deserialize(params) @@ -288,11 +288,11 @@ class DeleteRuleResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -310,11 +310,11 @@ # @type TimeType: Integer # @param MatchCode: 匹配code # @type MatchCode: String attr_accessor :StartTime, :EndTime, :TimeType, :MatchCode - + def initialize(starttime=nil, endtime=nil, timetype=nil, matchcode=nil) @StartTime = starttime @EndTime = endtime @TimeType = timetype @MatchCode = matchcode @@ -338,11 +338,11 @@ # @type TrendData: :class:`Tencentcloud::Gpm.v20200820.models.ReportTrendData` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :OverviewData, :TrendData, :RequestId - + def initialize(overviewdata=nil, trenddata=nil, requestid=nil) @OverviewData = overviewdata @TrendData = trenddata @RequestId = requestid end @@ -368,11 +368,11 @@ # @type Limit: Integer # @param MatchCode: 搜索的字符串 # @type MatchCode: String attr_accessor :Offset, :Limit, :MatchCode - + def initialize(offset=nil, limit=nil, matchcode=nil) @Offset = offset @Limit = limit @MatchCode = matchcode end @@ -394,11 +394,11 @@ # @type TotalCount: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :MatchCodes, :TotalCount, :RequestId - + def initialize(matchcodes=nil, totalcount=nil, requestid=nil) @MatchCodes = matchcodes @TotalCount = totalcount @RequestId = requestid end @@ -421,11 +421,11 @@ class DescribeMatchRequest < TencentCloud::Common::AbstractModel # @param MatchCode: 匹配code # @type MatchCode: String attr_accessor :MatchCode - + def initialize(matchcode=nil) @MatchCode = matchcode end def deserialize(params) @@ -440,11 +440,11 @@ # @type MatchInfo: :class:`Tencentcloud::Gpm.v20200820.models.MatchInfo` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :MatchInfo, :RequestId - + def initialize(matchinfo=nil, requestid=nil) @MatchInfo = matchinfo @RequestId = requestid end @@ -469,11 +469,11 @@ # @type Keyword: String # @param Tags: 标签列表,用于过滤。 # @type Tags: Array attr_accessor :PageNumber, :PageSize, :SearchType, :Keyword, :Tags - + def initialize(pagenumber=nil, pagesize=nil, searchtype=nil, keyword=nil, tags=nil) @PageNumber = pagenumber @PageSize = pagesize @SearchType = searchtype @Keyword = keyword @@ -513,11 +513,11 @@ # @type Keyword: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :MatchInfoList, :TotalCount, :PageNumber, :PageSize, :SearchType, :Keyword, :RequestId - + def initialize(matchinfolist=nil, totalcount=nil, pagenumber=nil, pagesize=nil, searchtype=nil, keyword=nil, requestid=nil) @MatchInfoList = matchinfolist @TotalCount = totalcount @PageNumber = pagenumber @PageSize = pagesize @@ -548,11 +548,11 @@ class DescribeMatchingProgressRequest < TencentCloud::Common::AbstractModel # @param MatchTicketIds: 匹配票据 ID列表, 列表长度 12。 # @type MatchTicketIds: Array attr_accessor :MatchTicketIds - + def initialize(matchticketids=nil) @MatchTicketIds = matchticketids end def deserialize(params) @@ -577,11 +577,11 @@ # @type ErrCode: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :MatchTickets, :ErrCode, :RequestId - + def initialize(matchtickets=nil, errcode=nil, requestid=nil) @MatchTickets = matchtickets @ErrCode = errcode @RequestId = requestid end @@ -604,11 +604,11 @@ class DescribeRuleRequest < TencentCloud::Common::AbstractModel # @param RuleCode: 规则code # @type RuleCode: String attr_accessor :RuleCode - + def initialize(rulecode=nil) @RuleCode = rulecode end def deserialize(params) @@ -623,11 +623,11 @@ # @type RuleInfo: :class:`Tencentcloud::Gpm.v20200820.models.RuleInfo` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RuleInfo, :RequestId - + def initialize(ruleinfo=nil, requestid=nil) @RuleInfo = ruleinfo @RequestId = requestid end @@ -652,11 +652,11 @@ # @type Keyword: String # @param Tags: 标签列表,用于过滤。 # @type Tags: Array attr_accessor :PageNumber, :PageSize, :SearchType, :Keyword, :Tags - + def initialize(pagenumber=nil, pagesize=nil, searchtype=nil, keyword=nil, tags=nil) @PageNumber = pagenumber @PageSize = pagesize @SearchType = searchtype @Keyword = keyword @@ -696,11 +696,11 @@ # @type Keyword: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RuleInfoList, :TotalCount, :PageNumber, :PageSize, :SearchType, :Keyword, :RequestId - + def initialize(ruleinfolist=nil, totalcount=nil, pagenumber=nil, pagesize=nil, searchtype=nil, keyword=nil, requestid=nil) @RuleInfoList = ruleinfolist @TotalCount = totalcount @PageNumber = pagenumber @PageSize = pagesize @@ -731,11 +731,11 @@ class DescribeTokenRequest < TencentCloud::Common::AbstractModel # @param MatchCode: 匹配code # @type MatchCode: String attr_accessor :MatchCode - + def initialize(matchcode=nil) @MatchCode = matchcode end def deserialize(params) @@ -753,11 +753,11 @@ # @type CompatibleSpan: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :MatchToken, :CompatibleSpan, :RequestId - + def initialize(matchtoken=nil, compatiblespan=nil, requestid=nil) @MatchToken = matchtoken @CompatibleSpan = compatiblespan @RequestId = requestid end @@ -775,11 +775,11 @@ # @type MatchCode: String # @param MatchTicketId: 匹配票据 ID # @type MatchTicketId: String attr_accessor :MatchCode, :MatchTicketId - + def initialize(matchcode=nil, matchticketid=nil) @MatchCode = matchcode @MatchTicketId = matchticketid end @@ -803,11 +803,11 @@ # @type ListValue: Array # @param MapValue: 字典属性值 # @type MapValue: Array attr_accessor :Name, :Type, :NumberValue, :StringValue, :ListValue, :MapValue - + def initialize(name=nil, type=nil, numbervalue=nil, stringvalue=nil, listvalue=nil, mapvalue=nil) @Name = name @Type = type @NumberValue = numbervalue @StringValue = stringvalue @@ -837,11 +837,11 @@ # @param MatchCode: 匹配code # 注意:此字段可能返回 null,表示取不到有效值。 # @type MatchCode: String attr_accessor :MatchCode - + def initialize(matchcode=nil) @MatchCode = matchcode end def deserialize(params) @@ -918,11 +918,11 @@ # @param LogStatus: 日志状态,0表示正常,1表示日志集不存在,2表示日志主题不存在,3表示日志集和日志主题都不存在。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type LogStatus: Integer attr_accessor :MatchCode, :MatchName, :MatchDesc, :RuleCode, :CreateTime, :Timeout, :NotifyUrl, :ServerType, :ServerRegion, :ServerQueue, :CustomPushData, :ServerSessionData, :GameProperties, :LogSwitch, :LogsetId, :LogsetName, :LogTopicId, :LogTopicName, :Tags, :Region, :AppId, :Uin, :CreateUin, :RuleName, :LogStatus - + def initialize(matchcode=nil, matchname=nil, matchdesc=nil, rulecode=nil, createtime=nil, timeout=nil, notifyurl=nil, servertype=nil, serverregion=nil, serverqueue=nil, custompushdata=nil, serversessiondata=nil, gameproperties=nil, logswitch=nil, logsetid=nil, logsetname=nil, logtopicid=nil, logtopicname=nil, tags=nil, region=nil, appid=nil, uin=nil, createuin=nil, rulename=nil, logstatus=nil) @MatchCode = matchcode @MatchName = matchname @MatchDesc = matchdesc @RuleCode = rulecode @@ -1019,11 +1019,11 @@ # @param EndTime: 匹配请求因完成、失败、超时、被取消而停止执行的时间 eg: "2020-08-17T08:14:38.077Z" # 注意:此字段可能返回 null,表示取不到有效值。 # @type EndTime: String attr_accessor :Id, :MatchCode, :MatchResult, :MatchType, :Players, :Status, :StatusMessage, :StatusReason, :StartTime, :EndTime - + def initialize(id=nil, matchcode=nil, matchresult=nil, matchtype=nil, players=nil, status=nil, statusmessage=nil, statusreason=nil, starttime=nil, endtime=nil) @Id = id @MatchCode = matchcode @MatchResult = matchresult @MatchType = matchtype @@ -1086,11 +1086,11 @@ # @type LogSwitch: Integer # @param Tags: 标签,key-value结构的数组 # @type Tags: Array attr_accessor :MatchName, :RuleCode, :Timeout, :ServerType, :MatchCode, :MatchDesc, :NotifyUrl, :ServerRegion, :ServerQueue, :CustomPushData, :ServerSessionData, :GameProperties, :LogSwitch, :Tags - + def initialize(matchname=nil, rulecode=nil, timeout=nil, servertype=nil, matchcode=nil, matchdesc=nil, notifyurl=nil, serverregion=nil, serverqueue=nil, custompushdata=nil, serversessiondata=nil, gameproperties=nil, logswitch=nil, tags=nil) @MatchName = matchname @RuleCode = rulecode @Timeout = timeout @ServerType = servertype @@ -1144,11 +1144,11 @@ # @type MatchInfo: :class:`Tencentcloud::Gpm.v20200820.models.MatchInfo` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :MatchInfo, :RequestId - + def initialize(matchinfo=nil, requestid=nil) @MatchInfo = matchinfo @RequestId = requestid end @@ -1171,11 +1171,11 @@ # @type RuleDesc: String # @param Tags: 标签,key-value结构的数组,最多关联50组标签 # @type Tags: Array attr_accessor :RuleCode, :RuleName, :RuleDesc, :Tags - + def initialize(rulecode=nil, rulename=nil, ruledesc=nil, tags=nil) @RuleCode = rulecode @RuleName = rulename @RuleDesc = ruledesc @Tags = tags @@ -1202,11 +1202,11 @@ # @type RuleInfo: :class:`Tencentcloud::Gpm.v20200820.models.RuleInfo` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RuleInfo, :RequestId - + def initialize(ruleinfo=nil, requestid=nil) @RuleInfo = ruleinfo @RequestId = requestid end @@ -1227,11 +1227,11 @@ # @type CompatibleSpan: Integer # @param MatchToken: Token,[a-zA-Z0-9-_.], 长度0-64。如果为空,将由GPM随机生成。 # @type MatchToken: String attr_accessor :MatchCode, :CompatibleSpan, :MatchToken - + def initialize(matchcode=nil, compatiblespan=nil, matchtoken=nil) @MatchCode = matchcode @CompatibleSpan = compatiblespan @MatchToken = matchtoken end @@ -1252,11 +1252,11 @@ # @type CompatibleSpan: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :MatchToken, :CompatibleSpan, :RequestId - + def initialize(matchtoken=nil, compatiblespan=nil, requestid=nil) @MatchToken = matchtoken @CompatibleSpan = compatiblespan @RequestId = requestid end @@ -1284,11 +1284,11 @@ # @type CustomProfile: String # @param RegionLatencies: 各区域延迟,最多 20 条 # @type RegionLatencies: Array attr_accessor :Id, :Name, :MatchAttributes, :Team, :CustomPlayerStatus, :CustomProfile, :RegionLatencies - + def initialize(id=nil, name=nil, matchattributes=nil, team=nil, customplayerstatus=nil, customprofile=nil, regionlatencies=nil) @Id = id @Name = name @MatchAttributes = matchattributes @Team = team @@ -1343,11 +1343,11 @@ # @type Region: String # @param Latency: 毫秒延迟 0~999999 # @type Latency: Integer attr_accessor :Region, :Latency - + def initialize(region=nil, latency=nil) @Region = region @Latency = latency end @@ -1369,11 +1369,11 @@ # @type FailPercent: Float # @param AverageSec: 平均匹配时间 # @type AverageSec: Float attr_accessor :TotalTimes, :SuccessPercent, :TimeoutPercent, :FailPercent, :AverageSec - + def initialize(totaltimes=nil, successpercent=nil, timeoutpercent=nil, failpercent=nil, averagesec=nil) @TotalTimes = totaltimes @SuccessPercent = successpercent @TimeoutPercent = timeoutpercent @FailPercent = failpercent @@ -1403,11 +1403,11 @@ # @type TimeoutList: Array # @param TimeList: 时间数组,单位:秒 # @type TimeList: Array attr_accessor :TotalList, :CancelList, :SuccessList, :FailList, :TimeoutList, :TimeList - + def initialize(totallist=nil, cancellist=nil, successlist=nil, faillist=nil, timeoutlist=nil, timelist=nil) @TotalList = totallist @CancelList = cancellist @SuccessList = successlist @FailList = faillist @@ -1435,11 +1435,11 @@ # @type CreateTime: String # @param RuleCode: 规则code # @type RuleCode: String attr_accessor :RuleName, :MatchCodeList, :CreateTime, :RuleCode - + def initialize(rulename=nil, matchcodelist=nil, createtime=nil, rulecode=nil) @RuleName = rulename @MatchCodeList = matchcodelist @CreateTime = createtime @RuleCode = rulecode @@ -1491,11 +1491,11 @@ # @param CreateUin: 用户OwnerUin # 注意:此字段可能返回 null,表示取不到有效值。 # @type CreateUin: String attr_accessor :RuleName, :CreateTime, :RuleDesc, :RuleScript, :Tags, :MatchCodeList, :RuleCode, :Region, :AppId, :Uin, :CreateUin - + def initialize(rulename=nil, createtime=nil, ruledesc=nil, rulescript=nil, tags=nil, matchcodelist=nil, rulecode=nil, region=nil, appid=nil, uin=nil, createuin=nil) @RuleName = rulename @CreateTime = createtime @RuleDesc = ruledesc @RuleScript = rulescript @@ -1547,11 +1547,11 @@ # @type GameServerSessionId: String # @param MatchTicketId: 匹配票据 Id 默认 "" 为空则由 GPM 自动生成 长度 [1, 128] # @type MatchTicketId: String attr_accessor :MatchCode, :Players, :GameServerSessionId, :MatchTicketId - + def initialize(matchcode=nil, players=nil, gameserversessionid=nil, matchticketid=nil) @MatchCode = matchcode @Players = players @GameServerSessionId = gameserversessionid @MatchTicketId = matchticketid @@ -1579,11 +1579,11 @@ # @type MatchTicket: :class:`Tencentcloud::Gpm.v20200820.models.MatchTicket` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :MatchTicket, :RequestId - + def initialize(matchticket=nil, requestid=nil) @MatchTicket = matchticket @RequestId = requestid end @@ -1604,11 +1604,11 @@ # @type Players: Array # @param MatchTicketId: 匹配票据 ID 默认空字符串,为空则由 GPM 自动生成 长度 128,只能包含数字、字母、. 和 - # @type MatchTicketId: String attr_accessor :MatchCode, :Players, :MatchTicketId - + def initialize(matchcode=nil, players=nil, matchticketid=nil) @MatchCode = matchcode @Players = players @MatchTicketId = matchticketid end @@ -1635,11 +1635,11 @@ # @type MatchTicketId: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :ErrCode, :MatchTicketId, :RequestId - + def initialize(errcode=nil, matchticketid=nil, requestid=nil) @ErrCode = errcode @MatchTicketId = matchticketid @RequestId = requestid end @@ -1657,11 +1657,11 @@ # @type Key: String # @param Value: 值 # @type Value: String attr_accessor :Key, :Value - + def initialize(key=nil, value=nil) @Key = key @Value = value end @@ -1677,10 +1677,10 @@ # @type TagKey: String # @param TagValue: 标签值 # @type TagValue: String attr_accessor :TagKey, :TagValue - + def initialize(tagkey=nil, tagvalue=nil) @TagKey = tagkey @TagValue = tagvalue end