Class: TencentCloud::Vod::V20180717::SetCLSPushTargetRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::SetCLSPushTargetRequest
- Defined in:
- lib/v20180717/models.rb
Overview
SetCLSPushTarget请求参数结构体
Instance Attribute Summary collapse
- #ChineseMainlandCLSTargetInfo ⇒ Object
- #Domain ⇒ Object
- #OutsideChineseMainlandCLSTargetInfo ⇒ Object
- #SubAppId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, subappid = nil, chinesemainlandclstargetinfo = nil, outsidechinesemainlandclstargetinfo = nil) ⇒ SetCLSPushTargetRequest
constructor
A new instance of SetCLSPushTargetRequest.
Constructor Details
#initialize(domain = nil, subappid = nil, chinesemainlandclstargetinfo = nil, outsidechinesemainlandclstargetinfo = nil) ⇒ SetCLSPushTargetRequest
Returns a new instance of SetCLSPushTargetRequest.
26526 26527 26528 26529 26530 26531 |
# File 'lib/v20180717/models.rb', line 26526 def initialize(domain=nil, subappid=nil, chinesemainlandclstargetinfo=nil, outsidechinesemainlandclstargetinfo=nil) @Domain = domain @SubAppId = subappid @ChineseMainlandCLSTargetInfo = chinesemainlandclstargetinfo @OutsideChineseMainlandCLSTargetInfo = outsidechinesemainlandclstargetinfo end |
Instance Attribute Details
#ChineseMainlandCLSTargetInfo ⇒ Object
26524 26525 26526 |
# File 'lib/v20180717/models.rb', line 26524 def ChineseMainlandCLSTargetInfo @ChineseMainlandCLSTargetInfo end |
#Domain ⇒ Object
26524 26525 26526 |
# File 'lib/v20180717/models.rb', line 26524 def Domain @Domain end |
#OutsideChineseMainlandCLSTargetInfo ⇒ Object
26524 26525 26526 |
# File 'lib/v20180717/models.rb', line 26524 def OutsideChineseMainlandCLSTargetInfo @OutsideChineseMainlandCLSTargetInfo end |
#SubAppId ⇒ Object
26524 26525 26526 |
# File 'lib/v20180717/models.rb', line 26524 def SubAppId @SubAppId end |
Instance Method Details
#deserialize(params) ⇒ Object
26533 26534 26535 26536 26537 26538 26539 26540 26541 26542 26543 26544 |
# File 'lib/v20180717/models.rb', line 26533 def deserialize(params) @Domain = params['Domain'] @SubAppId = params['SubAppId'] unless params['ChineseMainlandCLSTargetInfo'].nil? @ChineseMainlandCLSTargetInfo = AreaCLSTargetInfo.new @ChineseMainlandCLSTargetInfo.deserialize(params['ChineseMainlandCLSTargetInfo']) end unless params['OutsideChineseMainlandCLSTargetInfo'].nil? @OutsideChineseMainlandCLSTargetInfo = AreaCLSTargetInfo.new @OutsideChineseMainlandCLSTargetInfo.deserialize(params['OutsideChineseMainlandCLSTargetInfo']) end end |