Class: TencentCloud::Tem::V20210701::NamespaceInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20210701::NamespaceInfo
- Defined in:
- lib/v20210701/models.rb
Overview
Namespace 基础信息
Instance Attribute Summary collapse
- #ApmInstanceId ⇒ Object
- #CreatedDate ⇒ Object
- #Description ⇒ Object
- #EnvironmentId ⇒ Object
- #EnvironmentName ⇒ Object
- #EnvType ⇒ Object
- #Locked ⇒ Object
- #NamespaceName ⇒ Object
- #Region ⇒ Object
- #SubnetIds ⇒ Object
- #Tags ⇒ Object
- #VpcId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environmentid = nil, namespacename = nil, region = nil, vpcid = nil, subnetids = nil, description = nil, createddate = nil, environmentname = nil, apminstanceid = nil, locked = nil, tags = nil, envtype = nil) ⇒ NamespaceInfo
constructor
A new instance of NamespaceInfo.
Constructor Details
#initialize(environmentid = nil, namespacename = nil, region = nil, vpcid = nil, subnetids = nil, description = nil, createddate = nil, environmentname = nil, apminstanceid = nil, locked = nil, tags = nil, envtype = nil) ⇒ NamespaceInfo
Returns a new instance of NamespaceInfo.
3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 |
# File 'lib/v20210701/models.rb', line 3870 def initialize(environmentid=nil, namespacename=nil, region=nil, vpcid=nil, subnetids=nil, description=nil, createddate=nil, environmentname=nil, apminstanceid=nil, locked=nil, =nil, envtype=nil) @EnvironmentId = environmentid @NamespaceName = namespacename @Region = region @VpcId = vpcid @SubnetIds = subnetids @Description = description @CreatedDate = createddate @EnvironmentName = environmentname @ApmInstanceId = apminstanceid @Locked = locked @Tags = @EnvType = envtype end |
Instance Attribute Details
#ApmInstanceId ⇒ Object
3868 3869 3870 |
# File 'lib/v20210701/models.rb', line 3868 def ApmInstanceId @ApmInstanceId end |
#CreatedDate ⇒ Object
3868 3869 3870 |
# File 'lib/v20210701/models.rb', line 3868 def CreatedDate @CreatedDate end |
#Description ⇒ Object
3868 3869 3870 |
# File 'lib/v20210701/models.rb', line 3868 def Description @Description end |
#EnvironmentId ⇒ Object
3868 3869 3870 |
# File 'lib/v20210701/models.rb', line 3868 def EnvironmentId @EnvironmentId end |
#EnvironmentName ⇒ Object
3868 3869 3870 |
# File 'lib/v20210701/models.rb', line 3868 def EnvironmentName @EnvironmentName end |
#EnvType ⇒ Object
3868 3869 3870 |
# File 'lib/v20210701/models.rb', line 3868 def EnvType @EnvType end |
#Locked ⇒ Object
3868 3869 3870 |
# File 'lib/v20210701/models.rb', line 3868 def Locked @Locked end |
#NamespaceName ⇒ Object
3868 3869 3870 |
# File 'lib/v20210701/models.rb', line 3868 def NamespaceName @NamespaceName end |
#Region ⇒ Object
3868 3869 3870 |
# File 'lib/v20210701/models.rb', line 3868 def Region @Region end |
#SubnetIds ⇒ Object
3868 3869 3870 |
# File 'lib/v20210701/models.rb', line 3868 def SubnetIds @SubnetIds end |
#Tags ⇒ Object
3868 3869 3870 |
# File 'lib/v20210701/models.rb', line 3868 def Tags @Tags end |
#VpcId ⇒ Object
3868 3869 3870 |
# File 'lib/v20210701/models.rb', line 3868 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 |
# File 'lib/v20210701/models.rb', line 3885 def deserialize(params) @EnvironmentId = params['EnvironmentId'] @NamespaceName = params['NamespaceName'] @Region = params['Region'] @VpcId = params['VpcId'] @SubnetIds = params['SubnetIds'] @Description = params['Description'] @CreatedDate = params['CreatedDate'] @EnvironmentName = params['EnvironmentName'] @ApmInstanceId = params['ApmInstanceId'] @Locked = params['Locked'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end @EnvType = params['EnvType'] end |