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