Class: TencentCloud::Iotexplorer::V20190423::CreateDeviceSDPAnswerRequest

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

Overview

CreateDeviceSDPAnswer请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productid = nil, devicename = nil, sdpoffer = nil) ⇒ CreateDeviceSDPAnswerRequest

Returns a new instance of CreateDeviceSDPAnswerRequest.



1757
1758
1759
1760
1761
# File 'lib/v20190423/models.rb', line 1757

def initialize(productid=nil, devicename=nil, sdpoffer=nil)
  @ProductId = productid
  @DeviceName = devicename
  @SDPOffer = sdpoffer
end

Instance Attribute Details

#DeviceNameObject

Parameters:

  • ProductId:

    产品ID

  • DeviceName:

    设备名称

  • SDPOffer:

    SDP提议



1755
1756
1757
# File 'lib/v20190423/models.rb', line 1755

def DeviceName
  @DeviceName
end

#ProductIdObject

Parameters:

  • ProductId:

    产品ID

  • DeviceName:

    设备名称

  • SDPOffer:

    SDP提议



1755
1756
1757
# File 'lib/v20190423/models.rb', line 1755

def ProductId
  @ProductId
end

#SDPOfferObject

Parameters:

  • ProductId:

    产品ID

  • DeviceName:

    设备名称

  • SDPOffer:

    SDP提议



1755
1756
1757
# File 'lib/v20190423/models.rb', line 1755

def SDPOffer
  @SDPOffer
end

Instance Method Details

#deserialize(params) ⇒ Object



1763
1764
1765
1766
1767
# File 'lib/v20190423/models.rb', line 1763

def deserialize(params)
  @ProductId = params['ProductId']
  @DeviceName = params['DeviceName']
  @SDPOffer = params['SDPOffer']
end