Class: TencentCloud::Iotvideoindustry::V20201201::CreateMessageForwardRequest

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

Overview

CreateMessageForward请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(regionid = nil, regionname = nil, instance = nil, instancename = nil, messagetype = nil, topicid = nil, topicname = nil) ⇒ CreateMessageForwardRequest

Returns a new instance of CreateMessageForwardRequest.



791
792
793
794
795
796
797
798
799
# File 'lib/v20201201/models.rb', line 791

def initialize(regionid=nil, regionname=nil, instance=nil, instancename=nil, messagetype=nil, topicid=nil, topicname=nil)
  @RegionId = regionid
  @RegionName = regionname
  @Instance = instance
  @InstanceName = instancename
  @MessageType = messagetype
  @TopicId = topicid
  @TopicName = topicname
end

Instance Attribute Details

#InstanceObject

Parameters:

  • RegionId:

    区域ID

  • RegionName:

    区域名称

  • Instance:

    实例ID

  • InstanceName:

    实例名称

  • MessageType:

    json数组, 转发类型 1: 告警 2:GPS

  • TopicId:

    kafka topic id

  • TopicName:

    kafka topic 名称



789
790
791
# File 'lib/v20201201/models.rb', line 789

def Instance
  @Instance
end

#InstanceNameObject

Parameters:

  • RegionId:

    区域ID

  • RegionName:

    区域名称

  • Instance:

    实例ID

  • InstanceName:

    实例名称

  • MessageType:

    json数组, 转发类型 1: 告警 2:GPS

  • TopicId:

    kafka topic id

  • TopicName:

    kafka topic 名称



789
790
791
# File 'lib/v20201201/models.rb', line 789

def InstanceName
  @InstanceName
end

#MessageTypeObject

Parameters:

  • RegionId:

    区域ID

  • RegionName:

    区域名称

  • Instance:

    实例ID

  • InstanceName:

    实例名称

  • MessageType:

    json数组, 转发类型 1: 告警 2:GPS

  • TopicId:

    kafka topic id

  • TopicName:

    kafka topic 名称



789
790
791
# File 'lib/v20201201/models.rb', line 789

def MessageType
  @MessageType
end

#RegionIdObject

Parameters:

  • RegionId:

    区域ID

  • RegionName:

    区域名称

  • Instance:

    实例ID

  • InstanceName:

    实例名称

  • MessageType:

    json数组, 转发类型 1: 告警 2:GPS

  • TopicId:

    kafka topic id

  • TopicName:

    kafka topic 名称



789
790
791
# File 'lib/v20201201/models.rb', line 789

def RegionId
  @RegionId
end

#RegionNameObject

Parameters:

  • RegionId:

    区域ID

  • RegionName:

    区域名称

  • Instance:

    实例ID

  • InstanceName:

    实例名称

  • MessageType:

    json数组, 转发类型 1: 告警 2:GPS

  • TopicId:

    kafka topic id

  • TopicName:

    kafka topic 名称



789
790
791
# File 'lib/v20201201/models.rb', line 789

def RegionName
  @RegionName
end

#TopicIdObject

Parameters:

  • RegionId:

    区域ID

  • RegionName:

    区域名称

  • Instance:

    实例ID

  • InstanceName:

    实例名称

  • MessageType:

    json数组, 转发类型 1: 告警 2:GPS

  • TopicId:

    kafka topic id

  • TopicName:

    kafka topic 名称



789
790
791
# File 'lib/v20201201/models.rb', line 789

def TopicId
  @TopicId
end

#TopicNameObject

Parameters:

  • RegionId:

    区域ID

  • RegionName:

    区域名称

  • Instance:

    实例ID

  • InstanceName:

    实例名称

  • MessageType:

    json数组, 转发类型 1: 告警 2:GPS

  • TopicId:

    kafka topic id

  • TopicName:

    kafka topic 名称



789
790
791
# File 'lib/v20201201/models.rb', line 789

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



801
802
803
804
805
806
807
808
809
# File 'lib/v20201201/models.rb', line 801

def deserialize(params)
  @RegionId = params['RegionId']
  @RegionName = params['RegionName']
  @Instance = params['Instance']
  @InstanceName = params['InstanceName']
  @MessageType = params['MessageType']
  @TopicId = params['TopicId']
  @TopicName = params['TopicName']
end