Class: TencentCloud::Monitor::V20180724::DescribeAlarmSmsQuotaQuota

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

Overview

DescribeAlarmSmsQuota接口的配额信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, name = nil, freeleft = nil, purchaseleft = nil, used = nil) ⇒ DescribeAlarmSmsQuotaQuota

Returns a new instance of DescribeAlarmSmsQuotaQuota.



4858
4859
4860
4861
4862
4863
4864
# File 'lib/v20180724/models.rb', line 4858

def initialize(type=nil, name=nil, freeleft=nil, purchaseleft=nil, used=nil)
  @Type = type
  @Name = name
  @FreeLeft = freeleft
  @PurchaseLeft = purchaseleft
  @Used = used
end

Instance Attribute Details

#FreeLeftObject

Parameters:

  • Type:

    配额类型

  • Name:

    配额名称

  • FreeLeft:

    免费配额剩余量

  • PurchaseLeft:

    付费配额剩余量

  • Used:

    已使用量



4856
4857
4858
# File 'lib/v20180724/models.rb', line 4856

def FreeLeft
  @FreeLeft
end

#NameObject

Parameters:

  • Type:

    配额类型

  • Name:

    配额名称

  • FreeLeft:

    免费配额剩余量

  • PurchaseLeft:

    付费配额剩余量

  • Used:

    已使用量



4856
4857
4858
# File 'lib/v20180724/models.rb', line 4856

def Name
  @Name
end

#PurchaseLeftObject

Parameters:

  • Type:

    配额类型

  • Name:

    配额名称

  • FreeLeft:

    免费配额剩余量

  • PurchaseLeft:

    付费配额剩余量

  • Used:

    已使用量



4856
4857
4858
# File 'lib/v20180724/models.rb', line 4856

def PurchaseLeft
  @PurchaseLeft
end

#TypeObject

Parameters:

  • Type:

    配额类型

  • Name:

    配额名称

  • FreeLeft:

    免费配额剩余量

  • PurchaseLeft:

    付费配额剩余量

  • Used:

    已使用量



4856
4857
4858
# File 'lib/v20180724/models.rb', line 4856

def Type
  @Type
end

#UsedObject

Parameters:

  • Type:

    配额类型

  • Name:

    配额名称

  • FreeLeft:

    免费配额剩余量

  • PurchaseLeft:

    付费配额剩余量

  • Used:

    已使用量



4856
4857
4858
# File 'lib/v20180724/models.rb', line 4856

def Used
  @Used
end

Instance Method Details

#deserialize(params) ⇒ Object



4866
4867
4868
4869
4870
4871
4872
# File 'lib/v20180724/models.rb', line 4866

def deserialize(params)
  @Type = params['Type']
  @Name = params['Name']
  @FreeLeft = params['FreeLeft']
  @PurchaseLeft = params['PurchaseLeft']
  @Used = params['Used']
end