Class: TencentCloud::Gpm::V20200820::ModifyMatchRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gpm::V20200820::ModifyMatchRequest
- Defined in:
- lib/v20200820/models.rb
Overview
ModifyMatch请求参数结构体
Instance Attribute Summary collapse
- #CustomPushData ⇒ Object
- #GameProperties ⇒ Object
- #LogSwitch ⇒ Object
- #MatchCode ⇒ Object
- #MatchDesc ⇒ Object
- #MatchName ⇒ Object
- #NotifyUrl ⇒ Object
- #RuleCode ⇒ Object
- #ServerQueue ⇒ Object
- #ServerRegion ⇒ Object
- #ServerSessionData ⇒ Object
- #ServerType ⇒ Object
- #Tags ⇒ Object
- #Timeout ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#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) ⇒ ModifyMatchRequest
constructor
A new instance of ModifyMatchRequest.
Constructor Details
#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) ⇒ ModifyMatchRequest
Returns a new instance of ModifyMatchRequest.
1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 |
# File 'lib/v20200820/models.rb', line 1092 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, =nil) @MatchName = matchname @RuleCode = rulecode @Timeout = timeout @ServerType = servertype @MatchCode = matchcode @MatchDesc = matchdesc @NotifyUrl = notifyurl @ServerRegion = serverregion @ServerQueue = serverqueue @CustomPushData = custompushdata @ServerSessionData = serversessiondata @GameProperties = gameproperties @LogSwitch = logswitch @Tags = end |
Instance Attribute Details
#CustomPushData ⇒ Object
1090 1091 1092 |
# File 'lib/v20200820/models.rb', line 1090 def CustomPushData @CustomPushData end |
#GameProperties ⇒ Object
1090 1091 1092 |
# File 'lib/v20200820/models.rb', line 1090 def GameProperties @GameProperties end |
#LogSwitch ⇒ Object
1090 1091 1092 |
# File 'lib/v20200820/models.rb', line 1090 def LogSwitch @LogSwitch end |
#MatchCode ⇒ Object
1090 1091 1092 |
# File 'lib/v20200820/models.rb', line 1090 def MatchCode @MatchCode end |
#MatchDesc ⇒ Object
1090 1091 1092 |
# File 'lib/v20200820/models.rb', line 1090 def MatchDesc @MatchDesc end |
#MatchName ⇒ Object
1090 1091 1092 |
# File 'lib/v20200820/models.rb', line 1090 def MatchName @MatchName end |
#NotifyUrl ⇒ Object
1090 1091 1092 |
# File 'lib/v20200820/models.rb', line 1090 def NotifyUrl @NotifyUrl end |
#RuleCode ⇒ Object
1090 1091 1092 |
# File 'lib/v20200820/models.rb', line 1090 def RuleCode @RuleCode end |
#ServerQueue ⇒ Object
1090 1091 1092 |
# File 'lib/v20200820/models.rb', line 1090 def ServerQueue @ServerQueue end |
#ServerRegion ⇒ Object
1090 1091 1092 |
# File 'lib/v20200820/models.rb', line 1090 def ServerRegion @ServerRegion end |
#ServerSessionData ⇒ Object
1090 1091 1092 |
# File 'lib/v20200820/models.rb', line 1090 def ServerSessionData @ServerSessionData end |
#ServerType ⇒ Object
1090 1091 1092 |
# File 'lib/v20200820/models.rb', line 1090 def ServerType @ServerType end |
#Tags ⇒ Object
1090 1091 1092 |
# File 'lib/v20200820/models.rb', line 1090 def Tags @Tags end |
#Timeout ⇒ Object
1090 1091 1092 |
# File 'lib/v20200820/models.rb', line 1090 def Timeout @Timeout end |
Instance Method Details
#deserialize(params) ⇒ Object
1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 |
# File 'lib/v20200820/models.rb', line 1109 def deserialize(params) @MatchName = params['MatchName'] @RuleCode = params['RuleCode'] @Timeout = params['Timeout'] @ServerType = params['ServerType'] @MatchCode = params['MatchCode'] @MatchDesc = params['MatchDesc'] @NotifyUrl = params['NotifyUrl'] @ServerRegion = params['ServerRegion'] @ServerQueue = params['ServerQueue'] @CustomPushData = params['CustomPushData'] @ServerSessionData = params['ServerSessionData'] unless params['GameProperties'].nil? @GameProperties = [] params['GameProperties'].each do |i| stringkv_tmp = StringKV.new stringkv_tmp.deserialize(i) @GameProperties << stringkv_tmp end end @LogSwitch = params['LogSwitch'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| stringkv_tmp = StringKV.new stringkv_tmp.deserialize(i) @Tags << stringkv_tmp end end end |