Class: TencentCloud::Tse::V20201207::GovernanceAlias
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::GovernanceAlias
- Defined in:
- lib/v20201207/models.rb
Overview
服务别名结构信息
Instance Attribute Summary collapse
- #Alias ⇒ Object
- #AliasNamespace ⇒ Object
- #Comment ⇒ Object
- #CreateTime ⇒ Object
- #Editable ⇒ Object
- #Id ⇒ Object
- #Metadatas ⇒ Object
- #ModifyTime ⇒ Object
- #Namespace ⇒ Object
- #Service ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(_alias = nil, aliasnamespace = nil, service = nil, namespace = nil, comment = nil, createtime = nil, modifytime = nil, id = nil, editable = nil, metadatas = nil) ⇒ GovernanceAlias
constructor
A new instance of GovernanceAlias.
Constructor Details
#initialize(_alias = nil, aliasnamespace = nil, service = nil, namespace = nil, comment = nil, createtime = nil, modifytime = nil, id = nil, editable = nil, metadatas = nil) ⇒ GovernanceAlias
Returns a new instance of GovernanceAlias.
7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 |
# File 'lib/v20201207/models.rb', line 7793 def initialize(_alias=nil, aliasnamespace=nil, service=nil, namespace=nil, comment=nil, createtime=nil, modifytime=nil, id=nil, editable=nil, =nil) @Alias = _alias @AliasNamespace = aliasnamespace @Service = service @Namespace = namespace @Comment = comment @CreateTime = createtime @ModifyTime = modifytime @Id = id @Editable = editable @Metadatas = end |
Instance Attribute Details
#Alias ⇒ Object
7791 7792 7793 |
# File 'lib/v20201207/models.rb', line 7791 def Alias @Alias end |
#AliasNamespace ⇒ Object
7791 7792 7793 |
# File 'lib/v20201207/models.rb', line 7791 def AliasNamespace @AliasNamespace end |
#Comment ⇒ Object
7791 7792 7793 |
# File 'lib/v20201207/models.rb', line 7791 def Comment @Comment end |
#CreateTime ⇒ Object
7791 7792 7793 |
# File 'lib/v20201207/models.rb', line 7791 def CreateTime @CreateTime end |
#Editable ⇒ Object
7791 7792 7793 |
# File 'lib/v20201207/models.rb', line 7791 def Editable @Editable end |
#Id ⇒ Object
7791 7792 7793 |
# File 'lib/v20201207/models.rb', line 7791 def Id @Id end |
#Metadatas ⇒ Object
7791 7792 7793 |
# File 'lib/v20201207/models.rb', line 7791 def Metadatas @Metadatas end |
#ModifyTime ⇒ Object
7791 7792 7793 |
# File 'lib/v20201207/models.rb', line 7791 def ModifyTime @ModifyTime end |
#Namespace ⇒ Object
7791 7792 7793 |
# File 'lib/v20201207/models.rb', line 7791 def Namespace @Namespace end |
#Service ⇒ Object
7791 7792 7793 |
# File 'lib/v20201207/models.rb', line 7791 def Service @Service end |
Instance Method Details
#deserialize(params) ⇒ Object
7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 |
# File 'lib/v20201207/models.rb', line 7806 def deserialize(params) @Alias = params['Alias'] @AliasNamespace = params['AliasNamespace'] @Service = params['Service'] @Namespace = params['Namespace'] @Comment = params['Comment'] @CreateTime = params['CreateTime'] @ModifyTime = params['ModifyTime'] @Id = params['Id'] @Editable = params['Editable'] unless params['Metadatas'].nil? @Metadatas = [] params['Metadatas'].each do |i| = Metadata.new .deserialize(i) @Metadatas << end end end |