Class: TencentCloud::Dasb::V20191018::ModifyDeviceRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20191018/models.rb

Overview

ModifyDevice请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, port = nil, groupidset = nil, departmentid = nil, domainid = nil) ⇒ ModifyDeviceRequest



3737
3738
3739
3740
3741
3742
3743
# File 'lib/v20191018/models.rb', line 3737

def initialize(id=nil, port=nil, groupidset=nil, departmentid=nil, domainid=nil)
  @Id = id
  @Port = port
  @GroupIdSet = groupidset
  @DepartmentId = departmentid
  @DomainId = domainid
end

Instance Attribute Details

#DepartmentIdObject



3735
3736
3737
# File 'lib/v20191018/models.rb', line 3735

def DepartmentId
  @DepartmentId
end

#DomainIdObject



3735
3736
3737
# File 'lib/v20191018/models.rb', line 3735

def DomainId
  @DomainId
end

#GroupIdSetObject



3735
3736
3737
# File 'lib/v20191018/models.rb', line 3735

def GroupIdSet
  @GroupIdSet
end

#IdObject



3735
3736
3737
# File 'lib/v20191018/models.rb', line 3735

def Id
  @Id
end

#PortObject



3735
3736
3737
# File 'lib/v20191018/models.rb', line 3735

def Port
  @Port
end

Instance Method Details

#deserialize(params) ⇒ Object



3745
3746
3747
3748
3749
3750
3751
# File 'lib/v20191018/models.rb', line 3745

def deserialize(params)
  @Id = params['Id']
  @Port = params['Port']
  @GroupIdSet = params['GroupIdSet']
  @DepartmentId = params['DepartmentId']
  @DomainId = params['DomainId']
end