Class: TencentCloud::Iotvideoindustry::V20201201::ModifySceneRequest

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

Overview

ModifyScene请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(intid = nil, scenename = nil, scenetrigger = nil, recordduration = nil) ⇒ ModifySceneRequest

Returns a new instance of ModifySceneRequest.



5643
5644
5645
5646
5647
5648
# File 'lib/v20201201/models.rb', line 5643

def initialize(intid=nil, scenename=nil, scenetrigger=nil, recordduration=nil)
  @IntId = intid
  @SceneName = scenename
  @SceneTrigger = scenetrigger
  @RecordDuration = recordduration
end

Instance Attribute Details

#IntIdObject

Parameters:

  • IntId:

    场景ID

  • SceneName:

    场景名称

  • SceneTrigger:

    触发条件

  • RecordDuration:

    录制时长(秒)



5641
5642
5643
# File 'lib/v20201201/models.rb', line 5641

def IntId
  @IntId
end

#RecordDurationObject

Parameters:

  • IntId:

    场景ID

  • SceneName:

    场景名称

  • SceneTrigger:

    触发条件

  • RecordDuration:

    录制时长(秒)



5641
5642
5643
# File 'lib/v20201201/models.rb', line 5641

def RecordDuration
  @RecordDuration
end

#SceneNameObject

Parameters:

  • IntId:

    场景ID

  • SceneName:

    场景名称

  • SceneTrigger:

    触发条件

  • RecordDuration:

    录制时长(秒)



5641
5642
5643
# File 'lib/v20201201/models.rb', line 5641

def SceneName
  @SceneName
end

#SceneTriggerObject

Parameters:

  • IntId:

    场景ID

  • SceneName:

    场景名称

  • SceneTrigger:

    触发条件

  • RecordDuration:

    录制时长(秒)



5641
5642
5643
# File 'lib/v20201201/models.rb', line 5641

def SceneTrigger
  @SceneTrigger
end

Instance Method Details

#deserialize(params) ⇒ Object



5650
5651
5652
5653
5654
5655
# File 'lib/v20201201/models.rb', line 5650

def deserialize(params)
  @IntId = params['IntId']
  @SceneName = params['SceneName']
  @SceneTrigger = params['SceneTrigger']
  @RecordDuration = params['RecordDuration']
end