Class: TencentCloud::Ccc::V20200210::PhoneNumBuyInfo

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

Overview

号码购买信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(phonenum = nil, type = nil, calltype = nil, buytime = nil, endtime = nil, state = nil) ⇒ PhoneNumBuyInfo

Returns a new instance of PhoneNumBuyInfo.



5980
5981
5982
5983
5984
5985
5986
5987
# File 'lib/v20200210/models.rb', line 5980

def initialize(phonenum=nil, type=nil, calltype=nil, buytime=nil, endtime=nil, state=nil)
  @PhoneNum = phonenum
  @Type = type
  @CallType = calltype
  @BuyTime = buytime
  @EndTime = endtime
  @State = state
end

Instance Attribute Details

#BuyTimeObject

Parameters:

  • PhoneNum:

    电话号码

  • Type:

    号码类型,0-固话|1-虚商号码|2-运营商号码|3-400号码

  • CallType:

    号码呼叫类型,1-呼入|2-呼出|3-呼入呼出

  • BuyTime:

    购买时间戳

  • EndTime:

    截止时间戳

  • State:

    号码状态,1正常|2欠费停用|4管理员停用|5违规停用



5978
5979
5980
# File 'lib/v20200210/models.rb', line 5978

def BuyTime
  @BuyTime
end

#CallTypeObject

Parameters:

  • PhoneNum:

    电话号码

  • Type:

    号码类型,0-固话|1-虚商号码|2-运营商号码|3-400号码

  • CallType:

    号码呼叫类型,1-呼入|2-呼出|3-呼入呼出

  • BuyTime:

    购买时间戳

  • EndTime:

    截止时间戳

  • State:

    号码状态,1正常|2欠费停用|4管理员停用|5违规停用



5978
5979
5980
# File 'lib/v20200210/models.rb', line 5978

def CallType
  @CallType
end

#EndTimeObject

Parameters:

  • PhoneNum:

    电话号码

  • Type:

    号码类型,0-固话|1-虚商号码|2-运营商号码|3-400号码

  • CallType:

    号码呼叫类型,1-呼入|2-呼出|3-呼入呼出

  • BuyTime:

    购买时间戳

  • EndTime:

    截止时间戳

  • State:

    号码状态,1正常|2欠费停用|4管理员停用|5违规停用



5978
5979
5980
# File 'lib/v20200210/models.rb', line 5978

def EndTime
  @EndTime
end

#PhoneNumObject

Parameters:

  • PhoneNum:

    电话号码

  • Type:

    号码类型,0-固话|1-虚商号码|2-运营商号码|3-400号码

  • CallType:

    号码呼叫类型,1-呼入|2-呼出|3-呼入呼出

  • BuyTime:

    购买时间戳

  • EndTime:

    截止时间戳

  • State:

    号码状态,1正常|2欠费停用|4管理员停用|5违规停用



5978
5979
5980
# File 'lib/v20200210/models.rb', line 5978

def PhoneNum
  @PhoneNum
end

#StateObject

Parameters:

  • PhoneNum:

    电话号码

  • Type:

    号码类型,0-固话|1-虚商号码|2-运营商号码|3-400号码

  • CallType:

    号码呼叫类型,1-呼入|2-呼出|3-呼入呼出

  • BuyTime:

    购买时间戳

  • EndTime:

    截止时间戳

  • State:

    号码状态,1正常|2欠费停用|4管理员停用|5违规停用



5978
5979
5980
# File 'lib/v20200210/models.rb', line 5978

def State
  @State
end

#TypeObject

Parameters:

  • PhoneNum:

    电话号码

  • Type:

    号码类型,0-固话|1-虚商号码|2-运营商号码|3-400号码

  • CallType:

    号码呼叫类型,1-呼入|2-呼出|3-呼入呼出

  • BuyTime:

    购买时间戳

  • EndTime:

    截止时间戳

  • State:

    号码状态,1正常|2欠费停用|4管理员停用|5违规停用



5978
5979
5980
# File 'lib/v20200210/models.rb', line 5978

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



5989
5990
5991
5992
5993
5994
5995
5996
# File 'lib/v20200210/models.rb', line 5989

def deserialize(params)
  @PhoneNum = params['PhoneNum']
  @Type = params['Type']
  @CallType = params['CallType']
  @BuyTime = params['BuyTime']
  @EndTime = params['EndTime']
  @State = params['State']
end