Class: TencentCloud::Cloudapp::V20220530::IssueLicenseRequest

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

Overview

IssueLicense请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cloudappid = nil, licenseid = nil, licensedata = nil, activatemode = nil, activateat = nil) ⇒ IssueLicenseRequest

Returns a new instance of IssueLicenseRequest.



121
122
123
124
125
126
127
# File 'lib/v20220530/models.rb', line 121

def initialize(cloudappid=nil, licenseid=nil, licensedata=nil, activatemode=nil, activateat=nil)
  @CloudappId = cloudappid
  @LicenseId = licenseid
  @LicenseData = licensedata
  @ActivateMode = activatemode
  @ActivateAt = activateat
end

Instance Attribute Details

#ActivateAtObject

Parameters:

  • 云应用实例 ID

  • 云应用颁发的 License 授权 ID。系统中唯一,伙伴可通过 License 颁发的订阅接口中获取

  • License 的详细数据

  • License 的激活模式

    枚举值:
    • immediate : 立即激活
    • scheduled: 指定时间激活

  • 激活时间,指定时间激活时需要传该字段



119
120
121
# File 'lib/v20220530/models.rb', line 119

def ActivateAt
  @ActivateAt
end

#ActivateModeObject

Parameters:

  • 云应用实例 ID

  • 云应用颁发的 License 授权 ID。系统中唯一,伙伴可通过 License 颁发的订阅接口中获取

  • License 的详细数据

  • License 的激活模式

    枚举值:
    • immediate : 立即激活
    • scheduled: 指定时间激活

  • 激活时间,指定时间激活时需要传该字段



119
120
121
# File 'lib/v20220530/models.rb', line 119

def ActivateMode
  @ActivateMode
end

#CloudappIdObject

Parameters:

  • 云应用实例 ID

  • 云应用颁发的 License 授权 ID。系统中唯一,伙伴可通过 License 颁发的订阅接口中获取

  • License 的详细数据

  • License 的激活模式

    枚举值:
    • immediate : 立即激活
    • scheduled: 指定时间激活

  • 激活时间,指定时间激活时需要传该字段



119
120
121
# File 'lib/v20220530/models.rb', line 119

def CloudappId
  @CloudappId
end

#LicenseDataObject

Parameters:

  • 云应用实例 ID

  • 云应用颁发的 License 授权 ID。系统中唯一,伙伴可通过 License 颁发的订阅接口中获取

  • License 的详细数据

  • License 的激活模式

    枚举值:
    • immediate : 立即激活
    • scheduled: 指定时间激活

  • 激活时间,指定时间激活时需要传该字段



119
120
121
# File 'lib/v20220530/models.rb', line 119

def LicenseData
  @LicenseData
end

#LicenseIdObject

Parameters:

  • 云应用实例 ID

  • 云应用颁发的 License 授权 ID。系统中唯一,伙伴可通过 License 颁发的订阅接口中获取

  • License 的详细数据

  • License 的激活模式

    枚举值:
    • immediate : 立即激活
    • scheduled: 指定时间激活

  • 激活时间,指定时间激活时需要传该字段



119
120
121
# File 'lib/v20220530/models.rb', line 119

def LicenseId
  @LicenseId
end

Instance Method Details

#deserialize(params) ⇒ Object



129
130
131
132
133
134
135
136
137
138
# File 'lib/v20220530/models.rb', line 129

def deserialize(params)
  @CloudappId = params['CloudappId']
  @LicenseId = params['LicenseId']
  unless params['LicenseData'].nil?
    @LicenseData = PartnerLicenseData.new
    @LicenseData.deserialize(params['LicenseData'])
  end
  @ActivateMode = params['ActivateMode']
  @ActivateAt = params['ActivateAt']
end