Class: TencentCloud::Tbp::V20190311::Group
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tbp::V20190311::Group
- Defined in:
- lib/v20190311/models.rb
Overview
Group是消息组的具体定义,当前包含ContentType、Url、Content三个字段。其中,具体的ContentType字段定义,参考互联网MIME类型标准。
Instance Attribute Summary collapse
-
#Content ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ContentType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Url ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(contenttype = nil, url = nil, content = nil) ⇒ Group
constructor
A new instance of Group.
Constructor Details
#initialize(contenttype = nil, url = nil, content = nil) ⇒ Group
Returns a new instance of Group.
77 78 79 80 81 |
# File 'lib/v20190311/models.rb', line 77 def initialize(contenttype=nil, url=nil, content=nil) @ContentType = contenttype @Url = url @Content = content end |
Instance Attribute Details
#Content ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
75 76 77 |
# File 'lib/v20190311/models.rb', line 75 def Content @Content end |
#ContentType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
75 76 77 |
# File 'lib/v20190311/models.rb', line 75 def ContentType @ContentType end |
#Url ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
75 76 77 |
# File 'lib/v20190311/models.rb', line 75 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
83 84 85 86 87 |
# File 'lib/v20190311/models.rb', line 83 def deserialize(params) @ContentType = params['ContentType'] @Url = params['Url'] @Content = params['Content'] end |