Class: TencentCloud::Cloudapp::V20220530::License
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cloudapp::V20220530::License
- Defined in:
- lib/v20220530/models.rb
Overview
表示应用实例的软件授权,包含颁发信息、激活信息等内容。
Instance Attribute Summary collapse
-
#ActivationDate ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#AuthorizedCloudappId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#AuthorizedCloudappRoleId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#AuthorizedSpecification ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#AuthorizedUserUin ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#BillingMode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CreateSource ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ExpirationDate ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#IssueDate ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#IssueURL ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#LicenseData ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#LicenseId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#LicenseLevel ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#LicenseMode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#LicenseStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#LicenseType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#LifeSpan ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#LifeSpanUnit ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ProviderId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ProviderUin ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SoftwarePackageId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SoftwarePackageVersion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(licenseid = nil, licensemode = nil, licensestatus = nil, providerid = nil, softwarepackageid = nil, softwarepackageversion = nil, authorizeduseruin = nil, authorizedcloudappid = nil, authorizedcloudapproleid = nil, authorizedspecification = nil, billingmode = nil, lifespan = nil, issuedate = nil, activationdate = nil, expirationdate = nil, lifespanunit = nil, licensetype = nil, licenselevel = nil, licensedata = nil, issueurl = nil, provideruin = nil, createsource = nil) ⇒ License
constructor
A new instance of License.
Constructor Details
#initialize(licenseid = nil, licensemode = nil, licensestatus = nil, providerid = nil, softwarepackageid = nil, softwarepackageversion = nil, authorizeduseruin = nil, authorizedcloudappid = nil, authorizedcloudapproleid = nil, authorizedspecification = nil, billingmode = nil, lifespan = nil, issuedate = nil, activationdate = nil, expirationdate = nil, lifespanunit = nil, licensetype = nil, licenselevel = nil, licensedata = nil, issueurl = nil, provideruin = nil, createsource = nil) ⇒ License
Returns a new instance of License.
208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 |
# File 'lib/v20220530/models.rb', line 208 def initialize(licenseid=nil, licensemode=nil, licensestatus=nil, providerid=nil, softwarepackageid=nil, softwarepackageversion=nil, =nil, =nil, =nil, =nil, billingmode=nil, lifespan=nil, issuedate=nil, activationdate=nil, expirationdate=nil, lifespanunit=nil, licensetype=nil, licenselevel=nil, licensedata=nil, issueurl=nil, provideruin=nil, createsource=nil) @LicenseId = licenseid @LicenseMode = licensemode @LicenseStatus = licensestatus @ProviderId = providerid @SoftwarePackageId = softwarepackageid @SoftwarePackageVersion = softwarepackageversion @AuthorizedUserUin = @AuthorizedCloudappId = @AuthorizedCloudappRoleId = @AuthorizedSpecification = @BillingMode = billingmode @LifeSpan = lifespan @IssueDate = issuedate @ActivationDate = activationdate @ExpirationDate = expirationdate @LifeSpanUnit = lifespanunit @LicenseType = licensetype @LicenseLevel = licenselevel @LicenseData = licensedata @IssueURL = issueurl @ProviderUin = provideruin @CreateSource = createsource end |
Instance Attribute Details
#ActivationDate ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def ActivationDate @ActivationDate end |
#AuthorizedCloudappId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def AuthorizedCloudappId @AuthorizedCloudappId end |
#AuthorizedCloudappRoleId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def AuthorizedCloudappRoleId @AuthorizedCloudappRoleId end |
#AuthorizedSpecification ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def AuthorizedSpecification @AuthorizedSpecification end |
#AuthorizedUserUin ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def AuthorizedUserUin @AuthorizedUserUin end |
#BillingMode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def BillingMode @BillingMode end |
#CreateSource ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def CreateSource @CreateSource end |
#ExpirationDate ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def ExpirationDate @ExpirationDate end |
#IssueDate ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def IssueDate @IssueDate end |
#IssueURL ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def IssueURL @IssueURL end |
#LicenseData ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def LicenseData @LicenseData end |
#LicenseId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def LicenseId @LicenseId end |
#LicenseLevel ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def LicenseLevel @LicenseLevel end |
#LicenseMode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def LicenseMode @LicenseMode end |
#LicenseStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def LicenseStatus @LicenseStatus end |
#LicenseType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def LicenseType @LicenseType end |
#LifeSpan ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def LifeSpan @LifeSpan end |
#LifeSpanUnit ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def LifeSpanUnit @LifeSpanUnit end |
#ProviderId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def ProviderId @ProviderId end |
#ProviderUin ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def ProviderUin @ProviderUin end |
#SoftwarePackageId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def SoftwarePackageId @SoftwarePackageId end |
#SoftwarePackageVersion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
206 207 208 |
# File 'lib/v20220530/models.rb', line 206 def SoftwarePackageVersion @SoftwarePackageVersion end |
Instance Method Details
#deserialize(params) ⇒ Object
233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 |
# File 'lib/v20220530/models.rb', line 233 def deserialize(params) @LicenseId = params['LicenseId'] @LicenseMode = params['LicenseMode'] @LicenseStatus = params['LicenseStatus'] @ProviderId = params['ProviderId'] @SoftwarePackageId = params['SoftwarePackageId'] @SoftwarePackageVersion = params['SoftwarePackageVersion'] @AuthorizedUserUin = params['AuthorizedUserUin'] @AuthorizedCloudappId = params['AuthorizedCloudappId'] @AuthorizedCloudappRoleId = params['AuthorizedCloudappRoleId'] unless params['AuthorizedSpecification'].nil? @AuthorizedSpecification = [] params['AuthorizedSpecification'].each do |i| saleparam_tmp = SaleParam.new saleparam_tmp.deserialize(i) @AuthorizedSpecification << saleparam_tmp end end @BillingMode = params['BillingMode'] @LifeSpan = params['LifeSpan'] @IssueDate = params['IssueDate'] @ActivationDate = params['ActivationDate'] @ExpirationDate = params['ExpirationDate'] @LifeSpanUnit = params['LifeSpanUnit'] @LicenseType = params['LicenseType'] @LicenseLevel = params['LicenseLevel'] unless params['LicenseData'].nil? @LicenseData = LicenseData.new @LicenseData.deserialize(params['LicenseData']) end @IssueURL = params['IssueURL'] @ProviderUin = params['ProviderUin'] @CreateSource = params['CreateSource'] end |