
com.tencentcloudapi.tione.v20211111.models.DescribeModelServiceHotUpdatedRequest Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.tione.v20211111.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeModelServiceHotUpdatedRequest extends AbstractModel{
/**
* 镜像信息,配置服务运行所需的镜像地址等信息
*/
@SerializedName("ImageInfo")
@Expose
private ImageInfo ImageInfo;
/**
* 模型信息,需要挂载模型时填写
*/
@SerializedName("ModelInfo")
@Expose
private ModelInfo ModelInfo;
/**
* 挂载信息
*/
@SerializedName("VolumeMount")
@Expose
private VolumeMount VolumeMount;
/**
* Get 镜像信息,配置服务运行所需的镜像地址等信息
* @return ImageInfo 镜像信息,配置服务运行所需的镜像地址等信息
*/
public ImageInfo getImageInfo() {
return this.ImageInfo;
}
/**
* Set 镜像信息,配置服务运行所需的镜像地址等信息
* @param ImageInfo 镜像信息,配置服务运行所需的镜像地址等信息
*/
public void setImageInfo(ImageInfo ImageInfo) {
this.ImageInfo = ImageInfo;
}
/**
* Get 模型信息,需要挂载模型时填写
* @return ModelInfo 模型信息,需要挂载模型时填写
*/
public ModelInfo getModelInfo() {
return this.ModelInfo;
}
/**
* Set 模型信息,需要挂载模型时填写
* @param ModelInfo 模型信息,需要挂载模型时填写
*/
public void setModelInfo(ModelInfo ModelInfo) {
this.ModelInfo = ModelInfo;
}
/**
* Get 挂载信息
* @return VolumeMount 挂载信息
*/
public VolumeMount getVolumeMount() {
return this.VolumeMount;
}
/**
* Set 挂载信息
* @param VolumeMount 挂载信息
*/
public void setVolumeMount(VolumeMount VolumeMount) {
this.VolumeMount = VolumeMount;
}
public DescribeModelServiceHotUpdatedRequest() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public DescribeModelServiceHotUpdatedRequest(DescribeModelServiceHotUpdatedRequest source) {
if (source.ImageInfo != null) {
this.ImageInfo = new ImageInfo(source.ImageInfo);
}
if (source.ModelInfo != null) {
this.ModelInfo = new ModelInfo(source.ModelInfo);
}
if (source.VolumeMount != null) {
this.VolumeMount = new VolumeMount(source.VolumeMount);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamObj(map, prefix + "ImageInfo.", this.ImageInfo);
this.setParamObj(map, prefix + "ModelInfo.", this.ModelInfo);
this.setParamObj(map, prefix + "VolumeMount.", this.VolumeMount);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy