Class: TencentCloud::Smh::V20210712::DescribeLibrarySecretResponse

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

Overview

DescribeLibrarySecret返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(libraryid = nil, librarysecret = nil, requestid = nil) ⇒ DescribeLibrarySecretResponse

Returns a new instance of DescribeLibrarySecretResponse.



434
435
436
437
438
# File 'lib/v20210712/models.rb', line 434

def initialize(libraryid=nil, librarysecret=nil, requestid=nil)
  @LibraryId = libraryid
  @LibrarySecret = librarysecret
  @RequestId = requestid
end

Instance Attribute Details

#LibraryIdObject

Parameters:

  • LibraryId:

    查询的媒体库 ID

  • LibrarySecret:

    查询到的媒体库密钥

  • RequestId:

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



432
433
434
# File 'lib/v20210712/models.rb', line 432

def LibraryId
  @LibraryId
end

#LibrarySecretObject

Parameters:

  • LibraryId:

    查询的媒体库 ID

  • LibrarySecret:

    查询到的媒体库密钥

  • RequestId:

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



432
433
434
# File 'lib/v20210712/models.rb', line 432

def LibrarySecret
  @LibrarySecret
end

#RequestIdObject

Parameters:

  • LibraryId:

    查询的媒体库 ID

  • LibrarySecret:

    查询到的媒体库密钥

  • RequestId:

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



432
433
434
# File 'lib/v20210712/models.rb', line 432

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



440
441
442
443
444
# File 'lib/v20210712/models.rb', line 440

def deserialize(params)
  @LibraryId = params['LibraryId']
  @LibrarySecret = params['LibrarySecret']
  @RequestId = params['RequestId']
end