Class: TencentCloud::Billing::V20180709::DescribeAllocationRuleSummaryRequest

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

Overview

DescribeAllocationRuleSummary请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(limit = nil, offset = nil, month = nil, type = nil, name = nil) ⇒ DescribeAllocationRuleSummaryRequest

Returns a new instance of DescribeAllocationRuleSummaryRequest.



6347
6348
6349
6350
6351
6352
6353
# File 'lib/v20180709/models.rb', line 6347

def initialize(limit=nil, offset=nil, month=nil, type=nil, name=nil)
  @Limit = limit
  @Offset = offset
  @Month = month
  @Type = type
  @Name = name
end

Instance Attribute Details

#LimitObject

枚举值如下:1 - 自定义分摊占比2 - 等比分摊3 - 按占比分摊

Parameters:

  • Limit:

    每次获取数据量,最大值1000

  • Offset:

    分页偏移量

  • Month:

    月份,不传默认当前月

  • Type:

    公摊策略类型,用于筛选。

  • Name:

    公摊规则名称或分账单元名称,用于模糊筛选。



6345
6346
6347
# File 'lib/v20180709/models.rb', line 6345

def Limit
  @Limit
end

#MonthObject

枚举值如下:1 - 自定义分摊占比2 - 等比分摊3 - 按占比分摊

Parameters:

  • Limit:

    每次获取数据量,最大值1000

  • Offset:

    分页偏移量

  • Month:

    月份,不传默认当前月

  • Type:

    公摊策略类型,用于筛选。

  • Name:

    公摊规则名称或分账单元名称,用于模糊筛选。



6345
6346
6347
# File 'lib/v20180709/models.rb', line 6345

def Month
  @Month
end

#NameObject

枚举值如下:1 - 自定义分摊占比2 - 等比分摊3 - 按占比分摊

Parameters:

  • Limit:

    每次获取数据量,最大值1000

  • Offset:

    分页偏移量

  • Month:

    月份,不传默认当前月

  • Type:

    公摊策略类型,用于筛选。

  • Name:

    公摊规则名称或分账单元名称,用于模糊筛选。



6345
6346
6347
# File 'lib/v20180709/models.rb', line 6345

def Name
  @Name
end

#OffsetObject

枚举值如下:1 - 自定义分摊占比2 - 等比分摊3 - 按占比分摊

Parameters:

  • Limit:

    每次获取数据量,最大值1000

  • Offset:

    分页偏移量

  • Month:

    月份,不传默认当前月

  • Type:

    公摊策略类型,用于筛选。

  • Name:

    公摊规则名称或分账单元名称,用于模糊筛选。



6345
6346
6347
# File 'lib/v20180709/models.rb', line 6345

def Offset
  @Offset
end

#TypeObject

枚举值如下:1 - 自定义分摊占比2 - 等比分摊3 - 按占比分摊

Parameters:

  • Limit:

    每次获取数据量,最大值1000

  • Offset:

    分页偏移量

  • Month:

    月份,不传默认当前月

  • Type:

    公摊策略类型,用于筛选。

  • Name:

    公摊规则名称或分账单元名称,用于模糊筛选。



6345
6346
6347
# File 'lib/v20180709/models.rb', line 6345

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



6355
6356
6357
6358
6359
6360
6361
# File 'lib/v20180709/models.rb', line 6355

def deserialize(params)
  @Limit = params['Limit']
  @Offset = params['Offset']
  @Month = params['Month']
  @Type = params['Type']
  @Name = params['Name']
end