Class: TencentCloud::Tdmq::V20200217::CreateRabbitMQVirtualHostResponse

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

Overview

CreateRabbitMQVirtualHost返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(virtualhost = nil, requestid = nil) ⇒ CreateRabbitMQVirtualHostResponse

Returns a new instance of CreateRabbitMQVirtualHostResponse.



1901
1902
1903
1904
# File 'lib/v20200217/models.rb', line 1901

def initialize(virtualhost=nil, requestid=nil)
  @VirtualHost = virtualhost
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • VirtualHost:

    vhost名

  • RequestId:

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



1899
1900
1901
# File 'lib/v20200217/models.rb', line 1899

def RequestId
  @RequestId
end

#VirtualHostObject

Parameters:

  • VirtualHost:

    vhost名

  • RequestId:

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



1899
1900
1901
# File 'lib/v20200217/models.rb', line 1899

def VirtualHost
  @VirtualHost
end

Instance Method Details

#deserialize(params) ⇒ Object



1906
1907
1908
1909
# File 'lib/v20200217/models.rb', line 1906

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