Class: TencentCloud::Cwp::V20180228::ExportLicenseDetailRequest

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

Overview

ExportLicenseDetail请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filters = nil, ishistory = nil, tags = nil, exportmonth = nil) ⇒ ExportLicenseDetailRequest

Returns a new instance of ExportLicenseDetailRequest.



27931
27932
27933
27934
27935
27936
# File 'lib/v20180228/models.rb', line 27931

def initialize(filters=nil, ishistory=nil, tags=nil, exportmonth=nil)
  @Filters = filters
  @IsHistory = ishistory
  @Tags = tags
  @ExportMonth = exportmonth
end

Instance Attribute Details

#ExportMonthObject

<li> LicenseType 授权类型, 0 专业版-按量计费, 1专业版-包年包月 , 2 旗舰版-包年包月</li> <li>ResourceId 资源ID</li>

Parameters:

  • Filters:

    多个条件筛选时 LicenseStatus,DeadlineStatus,ResourceId,Keywords 取交集

  • IsHistory:

    是否导出全部授权详情

  • Tags:

    标签筛选,平台标签能力,这里传入 标签键,标签值作为一个对象

  • ExportMonth:

    导出月份, 该参数仅在IsHistory 时可选.



27929
27930
27931
# File 'lib/v20180228/models.rb', line 27929

def ExportMonth
  @ExportMonth
end

#FiltersObject

<li> LicenseType 授权类型, 0 专业版-按量计费, 1专业版-包年包月 , 2 旗舰版-包年包月</li> <li>ResourceId 资源ID</li>

Parameters:

  • Filters:

    多个条件筛选时 LicenseStatus,DeadlineStatus,ResourceId,Keywords 取交集

  • IsHistory:

    是否导出全部授权详情

  • Tags:

    标签筛选,平台标签能力,这里传入 标签键,标签值作为一个对象

  • ExportMonth:

    导出月份, 该参数仅在IsHistory 时可选.



27929
27930
27931
# File 'lib/v20180228/models.rb', line 27929

def Filters
  @Filters
end

#IsHistoryObject

<li> LicenseType 授权类型, 0 专业版-按量计费, 1专业版-包年包月 , 2 旗舰版-包年包月</li> <li>ResourceId 资源ID</li>

Parameters:

  • Filters:

    多个条件筛选时 LicenseStatus,DeadlineStatus,ResourceId,Keywords 取交集

  • IsHistory:

    是否导出全部授权详情

  • Tags:

    标签筛选,平台标签能力,这里传入 标签键,标签值作为一个对象

  • ExportMonth:

    导出月份, 该参数仅在IsHistory 时可选.



27929
27930
27931
# File 'lib/v20180228/models.rb', line 27929

def IsHistory
  @IsHistory
end

#TagsObject

<li> LicenseType 授权类型, 0 专业版-按量计费, 1专业版-包年包月 , 2 旗舰版-包年包月</li> <li>ResourceId 资源ID</li>

Parameters:

  • Filters:

    多个条件筛选时 LicenseStatus,DeadlineStatus,ResourceId,Keywords 取交集

  • IsHistory:

    是否导出全部授权详情

  • Tags:

    标签筛选,平台标签能力,这里传入 标签键,标签值作为一个对象

  • ExportMonth:

    导出月份, 该参数仅在IsHistory 时可选.



27929
27930
27931
# File 'lib/v20180228/models.rb', line 27929

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



27938
27939
27940
27941
27942
27943
27944
27945
27946
27947
27948
27949
27950
27951
27952
27953
27954
27955
27956
27957
# File 'lib/v20180228/models.rb', line 27938

def deserialize(params)
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      filters_tmp = Filters.new
      filters_tmp.deserialize(i)
      @Filters << filters_tmp
    end
  end
  @IsHistory = params['IsHistory']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tags_tmp = Tags.new
      tags_tmp.deserialize(i)
      @Tags << tags_tmp
    end
  end
  @ExportMonth = params['ExportMonth']
end