Class: TencentCloud::Wedata::V20210820::DescribeApproveTypeListResponse

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

Overview

DescribeApproveTypeList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = nil, requestid = nil) ⇒ DescribeApproveTypeListResponse



8604
8605
8606
8607
# File 'lib/v20210820/models.rb', line 8604

def initialize(data=nil, requestid=nil)
  @Data = data
  @RequestId = requestid
end

Instance Attribute Details

#DataObject



8602
8603
8604
# File 'lib/v20210820/models.rb', line 8602

def Data
  @Data
end

#RequestIdObject



8602
8603
8604
# File 'lib/v20210820/models.rb', line 8602

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
# File 'lib/v20210820/models.rb', line 8609

def deserialize(params)
  unless params['Data'].nil?
    @Data = []
    params['Data'].each do |i|
      approvetype_tmp = ApproveType.new
      approvetype_tmp.deserialize(i)
      @Data << approvetype_tmp
    end
  end
  @RequestId = params['RequestId']
end