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,表示取不到有效值。.
-
#ExpirationDate ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#IssueDate ⇒ 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,表示取不到有效值。.
-
#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) ⇒ 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) ⇒ License
Returns a new instance of License.
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 |
# File 'lib/v20220530/models.rb', line 129 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) @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 end |
Instance Attribute Details
#ActivationDate ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
127 128 129 |
# File 'lib/v20220530/models.rb', line 127 def ActivationDate @ActivationDate end |
#AuthorizedCloudappId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
127 128 129 |
# File 'lib/v20220530/models.rb', line 127 def AuthorizedCloudappId @AuthorizedCloudappId end |
#AuthorizedCloudappRoleId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
127 128 129 |
# File 'lib/v20220530/models.rb', line 127 def AuthorizedCloudappRoleId @AuthorizedCloudappRoleId end |
#AuthorizedSpecification ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
127 128 129 |
# File 'lib/v20220530/models.rb', line 127 def AuthorizedSpecification @AuthorizedSpecification end |
#AuthorizedUserUin ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
127 128 129 |
# File 'lib/v20220530/models.rb', line 127 def AuthorizedUserUin @AuthorizedUserUin end |
#BillingMode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
127 128 129 |
# File 'lib/v20220530/models.rb', line 127 def BillingMode @BillingMode end |
#ExpirationDate ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
127 128 129 |
# File 'lib/v20220530/models.rb', line 127 def ExpirationDate @ExpirationDate end |
#IssueDate ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
127 128 129 |
# File 'lib/v20220530/models.rb', line 127 def IssueDate @IssueDate end |
#LicenseId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
127 128 129 |
# File 'lib/v20220530/models.rb', line 127 def LicenseId @LicenseId end |
#LicenseLevel ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
127 128 129 |
# File 'lib/v20220530/models.rb', line 127 def LicenseLevel @LicenseLevel end |
#LicenseMode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
127 128 129 |
# File 'lib/v20220530/models.rb', line 127 def LicenseMode @LicenseMode end |
#LicenseStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
127 128 129 |
# File 'lib/v20220530/models.rb', line 127 def LicenseStatus @LicenseStatus end |
#LicenseType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
127 128 129 |
# File 'lib/v20220530/models.rb', line 127 def LicenseType @LicenseType end |
#LifeSpan ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
127 128 129 |
# File 'lib/v20220530/models.rb', line 127 def LifeSpan @LifeSpan end |
#LifeSpanUnit ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
127 128 129 |
# File 'lib/v20220530/models.rb', line 127 def LifeSpanUnit @LifeSpanUnit end |
#ProviderId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
127 128 129 |
# File 'lib/v20220530/models.rb', line 127 def ProviderId @ProviderId end |
#SoftwarePackageId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
127 128 129 |
# File 'lib/v20220530/models.rb', line 127 def SoftwarePackageId @SoftwarePackageId end |
#SoftwarePackageVersion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
127 128 129 |
# File 'lib/v20220530/models.rb', line 127 def SoftwarePackageVersion @SoftwarePackageVersion end |
Instance Method Details
#deserialize(params) ⇒ Object
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/v20220530/models.rb', line 150 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'] end |