Class: TencentCloud::Live::V20180801::DescribeCasterTransitionTypesResponse

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

Overview

DescribeCasterTransitionTypes返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(transitiontypes = nil, requestid = nil) ⇒ DescribeCasterTransitionTypesResponse



6019
6020
6021
6022
# File 'lib/v20180801/models.rb', line 6019

def initialize(transitiontypes=nil, requestid=nil)
  @TransitionTypes = transitiontypes
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject



6017
6018
6019
# File 'lib/v20180801/models.rb', line 6017

def RequestId
  @RequestId
end

#TransitionTypesObject



6017
6018
6019
# File 'lib/v20180801/models.rb', line 6017

def TransitionTypes
  @TransitionTypes
end

Instance Method Details

#deserialize(params) ⇒ Object



6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
# File 'lib/v20180801/models.rb', line 6024

def deserialize(params)
  unless params['TransitionTypes'].nil?
    @TransitionTypes = []
    params['TransitionTypes'].each do |i|
      transitiontypeinfo_tmp = TransitionTypeInfo.new
      transitiontypeinfo_tmp.deserialize(i)
      @TransitionTypes << transitiontypeinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end