Class: TencentCloud::Iotexplorer::V20190423::LoRaGatewayItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::LoRaGatewayItem
- Defined in:
- lib/v20190423/models.rb
Overview
LoRa 网关信息
Instance Attribute Summary collapse
- #CreatedAt ⇒ Object
- #Description ⇒ Object
- #FrequencyId ⇒ Object
- #GatewayId ⇒ Object
- #IsPublic ⇒ Object
- #LastSeenAt ⇒ Object
- #Location ⇒ Object
- #Name ⇒ Object
- #Position ⇒ Object
- #PositionDetails ⇒ Object
- #UpdatedAt ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(gatewayid = nil, ispublic = nil, description = nil, name = nil, position = nil, positiondetails = nil, location = nil, updatedat = nil, createdat = nil, lastseenat = nil, frequencyid = nil) ⇒ LoRaGatewayItem
constructor
A new instance of LoRaGatewayItem.
Constructor Details
#initialize(gatewayid = nil, ispublic = nil, description = nil, name = nil, position = nil, positiondetails = nil, location = nil, updatedat = nil, createdat = nil, lastseenat = nil, frequencyid = nil) ⇒ LoRaGatewayItem
Returns a new instance of LoRaGatewayItem.
10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 |
# File 'lib/v20190423/models.rb', line 10649 def initialize(gatewayid=nil, ispublic=nil, description=nil, name=nil, position=nil, positiondetails=nil, location=nil, updatedat=nil, createdat=nil, lastseenat=nil, frequencyid=nil) @GatewayId = gatewayid @IsPublic = ispublic @Description = description @Name = name @Position = position @PositionDetails = positiondetails @Location = location @UpdatedAt = updatedat @CreatedAt = createdat @LastSeenAt = lastseenat @FrequencyId = frequencyid end |
Instance Attribute Details
#CreatedAt ⇒ Object
10647 10648 10649 |
# File 'lib/v20190423/models.rb', line 10647 def CreatedAt @CreatedAt end |
#Description ⇒ Object
10647 10648 10649 |
# File 'lib/v20190423/models.rb', line 10647 def Description @Description end |
#FrequencyId ⇒ Object
10647 10648 10649 |
# File 'lib/v20190423/models.rb', line 10647 def FrequencyId @FrequencyId end |
#GatewayId ⇒ Object
10647 10648 10649 |
# File 'lib/v20190423/models.rb', line 10647 def GatewayId @GatewayId end |
#IsPublic ⇒ Object
10647 10648 10649 |
# File 'lib/v20190423/models.rb', line 10647 def IsPublic @IsPublic end |
#LastSeenAt ⇒ Object
10647 10648 10649 |
# File 'lib/v20190423/models.rb', line 10647 def LastSeenAt @LastSeenAt end |
#Location ⇒ Object
10647 10648 10649 |
# File 'lib/v20190423/models.rb', line 10647 def Location @Location end |
#Name ⇒ Object
10647 10648 10649 |
# File 'lib/v20190423/models.rb', line 10647 def Name @Name end |
#Position ⇒ Object
10647 10648 10649 |
# File 'lib/v20190423/models.rb', line 10647 def Position @Position end |
#PositionDetails ⇒ Object
10647 10648 10649 |
# File 'lib/v20190423/models.rb', line 10647 def PositionDetails @PositionDetails end |
#UpdatedAt ⇒ Object
10647 10648 10649 |
# File 'lib/v20190423/models.rb', line 10647 def UpdatedAt @UpdatedAt end |
Instance Method Details
#deserialize(params) ⇒ Object
10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 |
# File 'lib/v20190423/models.rb', line 10663 def deserialize(params) @GatewayId = params['GatewayId'] @IsPublic = params['IsPublic'] @Description = params['Description'] @Name = params['Name'] @Position = params['Position'] @PositionDetails = params['PositionDetails'] unless params['Location'].nil? @Location = LoRaGatewayLocation.new @Location.deserialize(params['Location']) end @UpdatedAt = params['UpdatedAt'] @CreatedAt = params['CreatedAt'] @LastSeenAt = params['LastSeenAt'] @FrequencyId = params['FrequencyId'] end |