class TencentCloud::Tcbr::V20220217::EnvInfo
环境信息
def deserialize(params)
def deserialize(params) @EnvId = params['EnvId'] @Source = params['Source'] @Alias = params['Alias'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] @Status = params['Status'] @IsAutoDegrade = params['IsAutoDegrade'] @EnvChannel = params['EnvChannel'] @PayMode = params['PayMode'] @IsDefault = params['IsDefault'] @Region = params['Region'] @EnvType = params['EnvType'] unless params['Databases'].nil? @Databases = [] params['Databases'].each do |i| databasesinfo_tmp = DatabasesInfo.new databasesinfo_tmp.deserialize(i) @Databases << databasesinfo_tmp end end unless params['Storages'].nil? @Storages = [] params['Storages'].each do |i| storageinfo_tmp = StorageInfo.new storageinfo_tmp.deserialize(i) @Storages << storageinfo_tmp end end unless params['Functions'].nil? @Functions = [] params['Functions'].each do |i| functioninfo_tmp = FunctionInfo.new functioninfo_tmp.deserialize(i) @Functions << functioninfo_tmp end end unless params['LogServices'].nil? @LogServices = [] params['LogServices'].each do |i| logserviceinfo_tmp = LogServiceInfo.new logserviceinfo_tmp.deserialize(i) @LogServices << logserviceinfo_tmp end end unless params['StaticStorages'].nil? @StaticStorages = [] params['StaticStorages'].each do |i| staticstorageinfo_tmp = StaticStorageInfo.new staticstorageinfo_tmp.deserialize(i) @StaticStorages << staticstorageinfo_tmp end end unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end unless params['CustomLogServices'].nil? @CustomLogServices = [] params['CustomLogServices'].each do |i| clsinfo_tmp = ClsInfo.new clsinfo_tmp.deserialize(i) @CustomLogServices << clsinfo_tmp end end @PackageId = params['PackageId'] @PackageName = params['PackageName'] end
def initialize(envid=nil, source=nil, _alias=nil, createtime=nil, updatetime=nil, status=nil, isautodegrade=nil, envchannel=nil, paymode=nil, isdefault=nil, region=nil, envtype=nil, databases=nil, storages=nil, functions=nil, logservices=nil, staticstorages=nil, tags=nil, customlogservices=nil, packageid=nil, packagename=nil)
def initialize(envid=nil, source=nil, _alias=nil, createtime=nil, updatetime=nil, status=nil, isautodegrade=nil, envchannel=nil, paymode=nil, isdefault=nil, region=nil, envtype=nil, databases=nil, storages=nil, functions=nil, logservices=nil, staticstorages=nil, tags=nil, customlogservices=nil, packageid=nil, packagename=nil) @EnvId = envid @Source = source @Alias = _alias @CreateTime = createtime @UpdateTime = updatetime @Status = status @IsAutoDegrade = isautodegrade @EnvChannel = envchannel @PayMode = paymode @IsDefault = isdefault @Region = region @EnvType = envtype @Databases = databases @Storages = storages @Functions = functions @LogServices = logservices @StaticStorages = staticstorages @Tags = tags @CustomLogServices = customlogservices @PackageId = packageid @PackageName = packagename end