Class: TencentCloud::Tcb::V20180608::SmsFreeQuota

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

Overview

短信免费量

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(freequota = nil, totalusedquota = nil, cyclestart = nil, cycleend = nil, todayusedquota = nil) ⇒ SmsFreeQuota

Returns a new instance of SmsFreeQuota.



7574
7575
7576
7577
7578
7579
7580
# File 'lib/v20180608/models.rb', line 7574

def initialize(freequota=nil, totalusedquota=nil, cyclestart=nil, cycleend=nil, todayusedquota=nil)
  @FreeQuota = freequota
  @TotalUsedQuota = totalusedquota
  @CycleStart = cyclestart
  @CycleEnd = cycleend
  @TodayUsedQuota = todayusedquota
end

Instance Attribute Details

#CycleEndObject

Parameters:

  • FreeQuota:

    免费量总条数

  • TotalUsedQuota:

    共计已使用总条数

  • CycleStart:

    免费周期起点,0000-00-00 00:00:00 形式

  • CycleEnd:

    免费周期终点,0000-00-00 00:00:00 形式

  • TodayUsedQuota:

    今天已使用总条数



7572
7573
7574
# File 'lib/v20180608/models.rb', line 7572

def CycleEnd
  @CycleEnd
end

#CycleStartObject

Parameters:

  • FreeQuota:

    免费量总条数

  • TotalUsedQuota:

    共计已使用总条数

  • CycleStart:

    免费周期起点,0000-00-00 00:00:00 形式

  • CycleEnd:

    免费周期终点,0000-00-00 00:00:00 形式

  • TodayUsedQuota:

    今天已使用总条数



7572
7573
7574
# File 'lib/v20180608/models.rb', line 7572

def CycleStart
  @CycleStart
end

#FreeQuotaObject

Parameters:

  • FreeQuota:

    免费量总条数

  • TotalUsedQuota:

    共计已使用总条数

  • CycleStart:

    免费周期起点,0000-00-00 00:00:00 形式

  • CycleEnd:

    免费周期终点,0000-00-00 00:00:00 形式

  • TodayUsedQuota:

    今天已使用总条数



7572
7573
7574
# File 'lib/v20180608/models.rb', line 7572

def FreeQuota
  @FreeQuota
end

#TodayUsedQuotaObject

Parameters:

  • FreeQuota:

    免费量总条数

  • TotalUsedQuota:

    共计已使用总条数

  • CycleStart:

    免费周期起点,0000-00-00 00:00:00 形式

  • CycleEnd:

    免费周期终点,0000-00-00 00:00:00 形式

  • TodayUsedQuota:

    今天已使用总条数



7572
7573
7574
# File 'lib/v20180608/models.rb', line 7572

def TodayUsedQuota
  @TodayUsedQuota
end

#TotalUsedQuotaObject

Parameters:

  • FreeQuota:

    免费量总条数

  • TotalUsedQuota:

    共计已使用总条数

  • CycleStart:

    免费周期起点,0000-00-00 00:00:00 形式

  • CycleEnd:

    免费周期终点,0000-00-00 00:00:00 形式

  • TodayUsedQuota:

    今天已使用总条数



7572
7573
7574
# File 'lib/v20180608/models.rb', line 7572

def TotalUsedQuota
  @TotalUsedQuota
end

Instance Method Details

#deserialize(params) ⇒ Object



7582
7583
7584
7585
7586
7587
7588
# File 'lib/v20180608/models.rb', line 7582

def deserialize(params)
  @FreeQuota = params['FreeQuota']
  @TotalUsedQuota = params['TotalUsedQuota']
  @CycleStart = params['CycleStart']
  @CycleEnd = params['CycleEnd']
  @TodayUsedQuota = params['TodayUsedQuota']
end