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.
26528 26529 26530 26531 26532 26533 |
# File 'lib/v20180717/models.rb', line 26528 def initialize(domain=nil, subappid=nil, chinesemainlandclstargetinfo=nil, outsidechinesemainlandclstargetinfo=nil) @Domain = domain @SubAppId = subappid @ChineseMainlandCLSTargetInfo = chinesemainlandclstargetinfo @OutsideChineseMainlandCLSTargetInfo = outsidechinesemainlandclstargetinfo end |
Instance Attribute Details
#ChineseMainlandCLSTargetInfo ⇒ Object
26526 26527 26528 |
# File 'lib/v20180717/models.rb', line 26526 def ChineseMainlandCLSTargetInfo @ChineseMainlandCLSTargetInfo end |
#Domain ⇒ Object
26526 26527 26528 |
# File 'lib/v20180717/models.rb', line 26526 def Domain @Domain end |
#OutsideChineseMainlandCLSTargetInfo ⇒ Object
26526 26527 26528 |
# File 'lib/v20180717/models.rb', line 26526 def OutsideChineseMainlandCLSTargetInfo @OutsideChineseMainlandCLSTargetInfo end |
#SubAppId ⇒ Object
26526 26527 26528 |
# File 'lib/v20180717/models.rb', line 26526 def SubAppId @SubAppId end |
Instance Method Details
#deserialize(params) ⇒ Object
26535 26536 26537 26538 26539 26540 26541 26542 26543 26544 26545 26546 |
# File 'lib/v20180717/models.rb', line 26535 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 |