Class: TencentCloud::Iotexplorer::V20190423::GetTWeCallActiveStatusResponse

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

Overview

GetTWeCallActiveStatus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(twecallactiveinfos = nil, requestid = nil) ⇒ GetTWeCallActiveStatusResponse

Returns a new instance of GetTWeCallActiveStatusResponse.



9043
9044
9045
9046
# File 'lib/v20190423/models.rb', line 9043

def initialize(twecallactiveinfos=nil, requestid=nil)
  @TWeCallActiveInfos = twecallactiveinfos
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TWeCallActiveInfos:

    激活状态

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



9041
9042
9043
# File 'lib/v20190423/models.rb', line 9041

def RequestId
  @RequestId
end

#TWeCallActiveInfosObject

Parameters:

  • TWeCallActiveInfos:

    激活状态

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



9041
9042
9043
# File 'lib/v20190423/models.rb', line 9041

def TWeCallActiveInfos
  @TWeCallActiveInfos
end

Instance Method Details

#deserialize(params) ⇒ Object



9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
# File 'lib/v20190423/models.rb', line 9048

def deserialize(params)
  unless params['TWeCallActiveInfos'].nil?
    @TWeCallActiveInfos = []
    params['TWeCallActiveInfos'].each do |i|
      twecallactiveinfo_tmp = TWeCallActiveInfo.new
      twecallactiveinfo_tmp.deserialize(i)
      @TWeCallActiveInfos << twecallactiveinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end