Class: TencentCloud::Cfw::V20190904::CommonIdNameStatus

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

Overview

ID NAME STATUS 组合结构

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, name = nil, status = nil) ⇒ CommonIdNameStatus

Returns a new instance of CommonIdNameStatus.



1042
1043
1044
1045
1046
# File 'lib/v20190904/models.rb', line 1042

def initialize(id=nil, name=nil, status=nil)
  @Id = id
  @Name = name
  @Status = status
end

Instance Attribute Details

#IdObject

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

Parameters:

  • 资源id

  • 资源name

  • 状态



1040
1041
1042
# File 'lib/v20190904/models.rb', line 1040

def Id
  @Id
end

#NameObject

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

Parameters:

  • 资源id

  • 资源name

  • 状态



1040
1041
1042
# File 'lib/v20190904/models.rb', line 1040

def Name
  @Name
end

#StatusObject

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

Parameters:

  • 资源id

  • 资源name

  • 状态



1040
1041
1042
# File 'lib/v20190904/models.rb', line 1040

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



1048
1049
1050
1051
1052
# File 'lib/v20190904/models.rb', line 1048

def deserialize(params)
  @Id = params['Id']
  @Name = params['Name']
  @Status = params['Status']
end