Class: TencentCloud::Cwp::V20180228::ProductStatusInfo

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

Overview

产品试用状态查询接口Data出参

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fwuserstatus = nil, canapplytrial = nil, cannotapplyreason = nil, lasttrialtime = nil) ⇒ ProductStatusInfo

Returns a new instance of ProductStatusInfo.



35753
35754
35755
35756
35757
35758
# File 'lib/v20180228/models.rb', line 35753

def initialize(fwuserstatus=nil, canapplytrial=nil, cannotapplyreason=nil, lasttrialtime=nil)
  @FWUserStatus = fwuserstatus
  @CanApplyTrial = canapplytrial
  @CanNotApplyReason = cannotapplyreason
  @LastTrialTime = lasttrialtime
end

Instance Attribute Details

#CanApplyTrialObject

Parameters:

  • FWUserStatus:

    防护状态,1未防护,2防护中,3试用中,4已过期

  • CanApplyTrial:

    是否可以申请试用,true可以申请

  • CanNotApplyReason:

    无法试用原因,可试用为空

  • LastTrialTime:

    上次试用结束时间(不存在试用记录则为空)



35751
35752
35753
# File 'lib/v20180228/models.rb', line 35751

def CanApplyTrial
  @CanApplyTrial
end

#CanNotApplyReasonObject

Parameters:

  • FWUserStatus:

    防护状态,1未防护,2防护中,3试用中,4已过期

  • CanApplyTrial:

    是否可以申请试用,true可以申请

  • CanNotApplyReason:

    无法试用原因,可试用为空

  • LastTrialTime:

    上次试用结束时间(不存在试用记录则为空)



35751
35752
35753
# File 'lib/v20180228/models.rb', line 35751

def CanNotApplyReason
  @CanNotApplyReason
end

#FWUserStatusObject

Parameters:

  • FWUserStatus:

    防护状态,1未防护,2防护中,3试用中,4已过期

  • CanApplyTrial:

    是否可以申请试用,true可以申请

  • CanNotApplyReason:

    无法试用原因,可试用为空

  • LastTrialTime:

    上次试用结束时间(不存在试用记录则为空)



35751
35752
35753
# File 'lib/v20180228/models.rb', line 35751

def FWUserStatus
  @FWUserStatus
end

#LastTrialTimeObject

Parameters:

  • FWUserStatus:

    防护状态,1未防护,2防护中,3试用中,4已过期

  • CanApplyTrial:

    是否可以申请试用,true可以申请

  • CanNotApplyReason:

    无法试用原因,可试用为空

  • LastTrialTime:

    上次试用结束时间(不存在试用记录则为空)



35751
35752
35753
# File 'lib/v20180228/models.rb', line 35751

def LastTrialTime
  @LastTrialTime
end

Instance Method Details

#deserialize(params) ⇒ Object



35760
35761
35762
35763
35764
35765
# File 'lib/v20180228/models.rb', line 35760

def deserialize(params)
  @FWUserStatus = params['FWUserStatus']
  @CanApplyTrial = params['CanApplyTrial']
  @CanNotApplyReason = params['CanNotApplyReason']
  @LastTrialTime = params['LastTrialTime']
end