/* * Copyright (c) 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. */ namespace TencentCloud.Ecm.V20190719.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class Image : AbstractModel { /// /// 镜像ID /// [JsonProperty("ImageId")] public string ImageId{ get; set; } /// /// 镜像名称 /// [JsonProperty("ImageName")] public string ImageName{ get; set; } /// /// 镜像状态 /// [JsonProperty("ImageState")] public string ImageState{ get; set; } /// /// 镜像类型 /// [JsonProperty("ImageType")] public string ImageType{ get; set; } /// /// 操作系统名称 /// [JsonProperty("ImageOsName")] public string ImageOsName{ get; set; } /// /// 镜像描述 /// [JsonProperty("ImageDescription")] public string ImageDescription{ get; set; } /// /// 镜像导入时间 /// [JsonProperty("ImageCreateTime")] public string ImageCreateTime{ get; set; } /// /// 操作系统位数 /// [JsonProperty("Architecture")] public string Architecture{ get; set; } /// /// 操作系统类型 /// [JsonProperty("OsType")] public string OsType{ get; set; } /// /// 操作系统版本 /// [JsonProperty("OsVersion")] public string OsVersion{ get; set; } /// /// 操作系统平台 /// [JsonProperty("Platform")] public string Platform{ get; set; } /// /// 镜像所有者 /// [JsonProperty("ImageOwner")] public long? ImageOwner{ get; set; } /// /// 镜像大小。单位:GB /// [JsonProperty("ImageSize")] public long? ImageSize{ get; set; } /// /// 镜像来源信息 /// [JsonProperty("SrcImage")] public SrcImage SrcImage{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "ImageId", this.ImageId); this.SetParamSimple(map, prefix + "ImageName", this.ImageName); this.SetParamSimple(map, prefix + "ImageState", this.ImageState); this.SetParamSimple(map, prefix + "ImageType", this.ImageType); this.SetParamSimple(map, prefix + "ImageOsName", this.ImageOsName); this.SetParamSimple(map, prefix + "ImageDescription", this.ImageDescription); this.SetParamSimple(map, prefix + "ImageCreateTime", this.ImageCreateTime); this.SetParamSimple(map, prefix + "Architecture", this.Architecture); this.SetParamSimple(map, prefix + "OsType", this.OsType); this.SetParamSimple(map, prefix + "OsVersion", this.OsVersion); this.SetParamSimple(map, prefix + "Platform", this.Platform); this.SetParamSimple(map, prefix + "ImageOwner", this.ImageOwner); this.SetParamSimple(map, prefix + "ImageSize", this.ImageSize); this.SetParamObj(map, prefix + "SrcImage.", this.SrcImage); } } }