class TencentCloud::Tsf::V20180326::Namespace
命名空间
def deserialize(params)
def deserialize(params) @NamespaceId = params['NamespaceId'] @NamespaceCode = params['NamespaceCode'] @NamespaceName = params['NamespaceName'] @NamespaceDesc = params['NamespaceDesc'] @IsDefault = params['IsDefault'] @NamespaceStatus = params['NamespaceStatus'] @DeleteFlag = params['DeleteFlag'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] unless params['ClusterList'].nil? @ClusterList = [] params['ClusterList'].each do |i| cluster_tmp = Cluster.new cluster_tmp.deserialize(i) @ClusterList << cluster_tmp end end @ClusterId = params['ClusterId'] @NamespaceResourceType = params['NamespaceResourceType'] @NamespaceType = params['NamespaceType'] @IsHaEnable = params['IsHaEnable'] @KubeInjectEnable = params['KubeInjectEnable'] end
def initialize(namespaceid=nil, namespacecode=nil, namespacename=nil, namespacedesc=nil, isdefault=nil, namespacestatus=nil, deleteflag=nil, createtime=nil, updatetime=nil, clusterlist=nil, clusterid=nil, namespaceresourcetype=nil, namespacetype=nil, ishaenable=nil, kubeinjectenable=nil)
def initialize(namespaceid=nil, namespacecode=nil, namespacename=nil, namespacedesc=nil, isdefault=nil, namespacestatus=nil, deleteflag=nil, createtime=nil, updatetime=nil, clusterlist=nil, clusterid=nil, namespaceresourcetype=nil, namespacetype=nil, ishaenable=nil, kubeinjectenable=nil) @NamespaceId = namespaceid @NamespaceCode = namespacecode @NamespaceName = namespacename @NamespaceDesc = namespacedesc @IsDefault = isdefault @NamespaceStatus = namespacestatus @DeleteFlag = deleteflag @CreateTime = createtime @UpdateTime = updatetime @ClusterList = clusterlist @ClusterId = clusterid @NamespaceResourceType = namespaceresourcetype @NamespaceType = namespacetype @IsHaEnable = ishaenable @KubeInjectEnable = kubeinjectenable end