Class: TencentCloud::Ecdn::V20191012::DomainBriefInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecdn::V20191012::DomainBriefInfo
- Defined in:
- lib/v20191012/models.rb
Overview
CDN域名简要信息。
Instance Attribute Summary collapse
-
#AppId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Area ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Cname ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Disable ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Domain ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Origin ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ProjectId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Readonly ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ResourceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Tag ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#UpdateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(resourceid = nil, appid = nil, domain = nil, cname = nil, status = nil, projectid = nil, createtime = nil, updatetime = nil, origin = nil, disable = nil, area = nil, readonly = nil, tag = nil) ⇒ DomainBriefInfo
constructor
A new instance of DomainBriefInfo.
Constructor Details
#initialize(resourceid = nil, appid = nil, domain = nil, cname = nil, status = nil, projectid = nil, createtime = nil, updatetime = nil, origin = nil, disable = nil, area = nil, readonly = nil, tag = nil) ⇒ DomainBriefInfo
Returns a new instance of DomainBriefInfo.
645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 |
# File 'lib/v20191012/models.rb', line 645 def initialize(resourceid=nil, appid=nil, domain=nil, cname=nil, status=nil, projectid=nil, createtime=nil, updatetime=nil, origin=nil, disable=nil, area=nil, readonly=nil, tag=nil) @ResourceId = resourceid @AppId = appid @Domain = domain @Cname = cname @Status = status @ProjectId = projectid @CreateTime = createtime @UpdateTime = updatetime @Origin = origin @Disable = disable @Area = area @Readonly = readonly @Tag = tag end |
Instance Attribute Details
#AppId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
643 644 645 |
# File 'lib/v20191012/models.rb', line 643 def AppId @AppId end |
#Area ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
643 644 645 |
# File 'lib/v20191012/models.rb', line 643 def Area @Area end |
#Cname ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
643 644 645 |
# File 'lib/v20191012/models.rb', line 643 def Cname @Cname end |
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
643 644 645 |
# File 'lib/v20191012/models.rb', line 643 def CreateTime @CreateTime end |
#Disable ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
643 644 645 |
# File 'lib/v20191012/models.rb', line 643 def Disable @Disable end |
#Domain ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
643 644 645 |
# File 'lib/v20191012/models.rb', line 643 def Domain @Domain end |
#Origin ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
643 644 645 |
# File 'lib/v20191012/models.rb', line 643 def Origin @Origin end |
#ProjectId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
643 644 645 |
# File 'lib/v20191012/models.rb', line 643 def ProjectId @ProjectId end |
#Readonly ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
643 644 645 |
# File 'lib/v20191012/models.rb', line 643 def Readonly @Readonly end |
#ResourceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
643 644 645 |
# File 'lib/v20191012/models.rb', line 643 def ResourceId @ResourceId end |
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
643 644 645 |
# File 'lib/v20191012/models.rb', line 643 def Status @Status end |
#Tag ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
643 644 645 |
# File 'lib/v20191012/models.rb', line 643 def Tag @Tag end |
#UpdateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
643 644 645 |
# File 'lib/v20191012/models.rb', line 643 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 |
# File 'lib/v20191012/models.rb', line 661 def deserialize(params) @ResourceId = params['ResourceId'] @AppId = params['AppId'] @Domain = params['Domain'] @Cname = params['Cname'] @Status = params['Status'] @ProjectId = params['ProjectId'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] unless params['Origin'].nil? @Origin = Origin.new @Origin.deserialize(params['Origin']) end @Disable = params['Disable'] @Area = params['Area'] @Readonly = params['Readonly'] unless params['Tag'].nil? @Tag = [] params['Tag'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tag << tag_tmp end end end |