Class: TencentCloud::Bsca::V20210811::DescribeKBLicenseResponse

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

Overview

DescribeKBLicense返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(licenselist = nil, normalizedlicenseexpression = nil, requestid = nil) ⇒ DescribeKBLicenseResponse

Returns a new instance of DescribeKBLicenseResponse.



492
493
494
495
496
# File 'lib/v20210811/models.rb', line 492

def initialize(licenselist=nil, normalizedlicenseexpression=nil, requestid=nil)
  @LicenseList = licenselist
  @NormalizedLicenseExpression = normalizedlicenseexpression
  @RequestId = requestid
end

Instance Attribute Details

#LicenseListObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LicenseList:

    许可证列表

  • NormalizedLicenseExpression:

    用于匹配的License表达式

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



490
491
492
# File 'lib/v20210811/models.rb', line 490

def LicenseList
  @LicenseList
end

#NormalizedLicenseExpressionObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LicenseList:

    许可证列表

  • NormalizedLicenseExpression:

    用于匹配的License表达式

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



490
491
492
# File 'lib/v20210811/models.rb', line 490

def NormalizedLicenseExpression
  @NormalizedLicenseExpression
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LicenseList:

    许可证列表

  • NormalizedLicenseExpression:

    用于匹配的License表达式

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



490
491
492
# File 'lib/v20210811/models.rb', line 490

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



498
499
500
501
502
503
504
505
506
507
508
509
# File 'lib/v20210811/models.rb', line 498

def deserialize(params)
  unless params['LicenseList'].nil?
    @LicenseList = []
    params['LicenseList'].each do |i|
      licenseunion_tmp = LicenseUnion.new
      licenseunion_tmp.deserialize(i)
      @LicenseList << licenseunion_tmp
    end
  end
  @NormalizedLicenseExpression = params['NormalizedLicenseExpression']
  @RequestId = params['RequestId']
end