Class: TencentCloud::Iotcloud::V20210408::SDKLogItem

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

Overview

SDK日志项

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productid = nil, devicename = nil, level = nil, datetime = nil, content = nil) ⇒ SDKLogItem

Returns a new instance of SDKLogItem.



4115
4116
4117
4118
4119
4120
4121
# File 'lib/v20210408/models.rb', line 4115

def initialize(productid=nil, devicename=nil, level=nil, datetime=nil, content=nil)
  @ProductId = productid
  @DeviceName = devicename
  @Level = level
  @DateTime = datetime
  @Content = content
end

Instance Attribute Details

#ContentObject

Parameters:

  • ProductId:

    产品ID

  • DeviceName:

    设备名称

  • Level:

    日志等级

  • DateTime:

    日志时间

  • Content:

    日志内容



4113
4114
4115
# File 'lib/v20210408/models.rb', line 4113

def Content
  @Content
end

#DateTimeObject

Parameters:

  • ProductId:

    产品ID

  • DeviceName:

    设备名称

  • Level:

    日志等级

  • DateTime:

    日志时间

  • Content:

    日志内容



4113
4114
4115
# File 'lib/v20210408/models.rb', line 4113

def DateTime
  @DateTime
end

#DeviceNameObject

Parameters:

  • ProductId:

    产品ID

  • DeviceName:

    设备名称

  • Level:

    日志等级

  • DateTime:

    日志时间

  • Content:

    日志内容



4113
4114
4115
# File 'lib/v20210408/models.rb', line 4113

def DeviceName
  @DeviceName
end

#LevelObject

Parameters:

  • ProductId:

    产品ID

  • DeviceName:

    设备名称

  • Level:

    日志等级

  • DateTime:

    日志时间

  • Content:

    日志内容



4113
4114
4115
# File 'lib/v20210408/models.rb', line 4113

def Level
  @Level
end

#ProductIdObject

Parameters:

  • ProductId:

    产品ID

  • DeviceName:

    设备名称

  • Level:

    日志等级

  • DateTime:

    日志时间

  • Content:

    日志内容



4113
4114
4115
# File 'lib/v20210408/models.rb', line 4113

def ProductId
  @ProductId
end

Instance Method Details

#deserialize(params) ⇒ Object



4123
4124
4125
4126
4127
4128
4129
# File 'lib/v20210408/models.rb', line 4123

def deserialize(params)
  @ProductId = params['ProductId']
  @DeviceName = params['DeviceName']
  @Level = params['Level']
  @DateTime = params['DateTime']
  @Content = params['Content']
end