Class: TencentCloud::Goosefs::V20220519::ChargeAttribute

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

Overview

付费信息详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(curdeadline = nil, paymode = nil, autorenewflag = nil, resourceid = nil) ⇒ ChargeAttribute

Returns a new instance of ChargeAttribute.



245
246
247
248
249
250
# File 'lib/v20220519/models.rb', line 245

def initialize(curdeadline=nil, paymode=nil, autorenewflag=nil, resourceid=nil)
  @CurDeadline = curdeadline
  @PayMode = paymode
  @AutoRenewFlag = autorenewflag
  @ResourceId = resourceid
end

Instance Attribute Details

#AutoRenewFlagObject

Parameters:

  • CurDeadline:

    到期时间

  • PayMode:

    付费方式

  • AutoRenewFlag:

    自动付费标识:0:默认未设置 1:自动续费 2 不自动续费

  • ResourceId:

    资源ID



243
244
245
# File 'lib/v20220519/models.rb', line 243

def AutoRenewFlag
  @AutoRenewFlag
end

#CurDeadlineObject

Parameters:

  • CurDeadline:

    到期时间

  • PayMode:

    付费方式

  • AutoRenewFlag:

    自动付费标识:0:默认未设置 1:自动续费 2 不自动续费

  • ResourceId:

    资源ID



243
244
245
# File 'lib/v20220519/models.rb', line 243

def CurDeadline
  @CurDeadline
end

#PayModeObject

Parameters:

  • CurDeadline:

    到期时间

  • PayMode:

    付费方式

  • AutoRenewFlag:

    自动付费标识:0:默认未设置 1:自动续费 2 不自动续费

  • ResourceId:

    资源ID



243
244
245
# File 'lib/v20220519/models.rb', line 243

def PayMode
  @PayMode
end

#ResourceIdObject

Parameters:

  • CurDeadline:

    到期时间

  • PayMode:

    付费方式

  • AutoRenewFlag:

    自动付费标识:0:默认未设置 1:自动续费 2 不自动续费

  • ResourceId:

    资源ID



243
244
245
# File 'lib/v20220519/models.rb', line 243

def ResourceId
  @ResourceId
end

Instance Method Details

#deserialize(params) ⇒ Object



252
253
254
255
256
257
# File 'lib/v20220519/models.rb', line 252

def deserialize(params)
  @CurDeadline = params['CurDeadline']
  @PayMode = params['PayMode']
  @AutoRenewFlag = params['AutoRenewFlag']
  @ResourceId = params['ResourceId']
end