Class: TencentCloud::Tdmq::V20200217::RabbitMQPrivateVirtualHost

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

Overview

RabbitMQ专享版云服务器

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(virtualhostname = nil, description = nil) ⇒ RabbitMQPrivateVirtualHost

Returns a new instance of RabbitMQPrivateVirtualHost.



10687
10688
10689
10690
# File 'lib/v20200217/models.rb', line 10687

def initialize(virtualhostname=nil, description=nil)
  @VirtualHostName = virtualhostname
  @Description = description
end

Instance Attribute Details

#DescriptionObject

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

Parameters:

  • VirtualHostName:

    虚拟主机的名字

  • Description:

    虚拟主机的描述



10685
10686
10687
# File 'lib/v20200217/models.rb', line 10685

def Description
  @Description
end

#VirtualHostNameObject

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

Parameters:

  • VirtualHostName:

    虚拟主机的名字

  • Description:

    虚拟主机的描述



10685
10686
10687
# File 'lib/v20200217/models.rb', line 10685

def VirtualHostName
  @VirtualHostName
end

Instance Method Details

#deserialize(params) ⇒ Object



10692
10693
10694
10695
# File 'lib/v20200217/models.rb', line 10692

def deserialize(params)
  @VirtualHostName = params['VirtualHostName']
  @Description = params['Description']
end