Class: TencentCloud::Dayu::V20180709::CreateBoundIPRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::CreateBoundIPRequest
- Defined in:
- lib/v20180709/models.rb
Overview
CreateBoundIP请求参数结构体
Instance Attribute Summary collapse
- #BoundDevList ⇒ Object
- #Business ⇒ Object
- #CopyPolicy ⇒ Object
- #Id ⇒ Object
- #UnBoundDevList ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(business = nil, id = nil, bounddevlist = nil, unbounddevlist = nil, copypolicy = nil) ⇒ CreateBoundIPRequest
constructor
A new instance of CreateBoundIPRequest.
Constructor Details
#initialize(business = nil, id = nil, bounddevlist = nil, unbounddevlist = nil, copypolicy = nil) ⇒ CreateBoundIPRequest
Returns a new instance of CreateBoundIPRequest.
397 398 399 400 401 402 403 |
# File 'lib/v20180709/models.rb', line 397 def initialize(business=nil, id=nil, bounddevlist=nil, unbounddevlist=nil, copypolicy=nil) @Business = business @Id = id @BoundDevList = bounddevlist @UnBoundDevList = unbounddevlist @CopyPolicy = copypolicy end |
Instance Attribute Details
#BoundDevList ⇒ Object
395 396 397 |
# File 'lib/v20180709/models.rb', line 395 def BoundDevList @BoundDevList end |
#Business ⇒ Object
395 396 397 |
# File 'lib/v20180709/models.rb', line 395 def Business @Business end |
#CopyPolicy ⇒ Object
395 396 397 |
# File 'lib/v20180709/models.rb', line 395 def CopyPolicy @CopyPolicy end |
#Id ⇒ Object
395 396 397 |
# File 'lib/v20180709/models.rb', line 395 def Id @Id end |
#UnBoundDevList ⇒ Object
395 396 397 |
# File 'lib/v20180709/models.rb', line 395 def UnBoundDevList @UnBoundDevList end |
Instance Method Details
#deserialize(params) ⇒ Object
405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 |
# File 'lib/v20180709/models.rb', line 405 def deserialize(params) @Business = params['Business'] @Id = params['Id'] unless params['BoundDevList'].nil? @BoundDevList = [] params['BoundDevList'].each do |i| boundipinfo_tmp = BoundIpInfo.new boundipinfo_tmp.deserialize(i) @BoundDevList << boundipinfo_tmp end end unless params['UnBoundDevList'].nil? @UnBoundDevList = [] params['UnBoundDevList'].each do |i| boundipinfo_tmp = BoundIpInfo.new boundipinfo_tmp.deserialize(i) @UnBoundDevList << boundipinfo_tmp end end @CopyPolicy = params['CopyPolicy'] end |