class TencentCloud::Tsf::V20180326::ApiDetailResponse

ApiDetailResponse描述

def deserialize(params)

def deserialize(params)
  unless params['Request'].nil?
    @Request = []
    params['Request'].each do |i|
      apirequestdescr_tmp = ApiRequestDescr.new
      apirequestdescr_tmp.deserialize(i)
      @Request << apirequestdescr_tmp
    end
  end
  unless params['Response'].nil?
    @Response = []
    params['Response'].each do |i|
      apiresponsedescr_tmp = ApiResponseDescr.new
      apiresponsedescr_tmp.deserialize(i)
      @Response << apiresponsedescr_tmp
    end
  end
  unless params['Definitions'].nil?
    @Definitions = []
    params['Definitions'].each do |i|
      apidefinitiondescr_tmp = ApiDefinitionDescr.new
      apidefinitiondescr_tmp.deserialize(i)
      @Definitions << apidefinitiondescr_tmp
    end
  end
  @RequestContentType = params['RequestContentType']
  @CanRun = params['CanRun']
  @Status = params['Status']
  @Description = params['Description']
end

def initialize(request=nil, response=nil, definitions=nil, requestcontenttype=nil, canrun=nil, status=nil, description=nil)

def initialize(request=nil, response=nil, definitions=nil, requestcontenttype=nil, canrun=nil, status=nil, description=nil)
  @Request = request
  @Response = response
  @Definitions = definitions
  @RequestContentType = requestcontenttype
  @CanRun = canrun
  @Status = status
  @Description = description
end