135 lines
4.3 KiB
C#
135 lines
4.3 KiB
C#
/*
|
||
* 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
|
||
{
|
||
|
||
/// <summary>
|
||
/// 镜像ID
|
||
/// </summary>
|
||
[JsonProperty("ImageId")]
|
||
public string ImageId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 镜像名称
|
||
/// </summary>
|
||
[JsonProperty("ImageName")]
|
||
public string ImageName{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 镜像状态
|
||
/// </summary>
|
||
[JsonProperty("ImageState")]
|
||
public string ImageState{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 镜像类型
|
||
/// </summary>
|
||
[JsonProperty("ImageType")]
|
||
public string ImageType{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 操作系统名称
|
||
/// </summary>
|
||
[JsonProperty("ImageOsName")]
|
||
public string ImageOsName{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 镜像描述
|
||
/// </summary>
|
||
[JsonProperty("ImageDescription")]
|
||
public string ImageDescription{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 镜像导入时间
|
||
/// </summary>
|
||
[JsonProperty("ImageCreateTime")]
|
||
public string ImageCreateTime{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 操作系统位数
|
||
/// </summary>
|
||
[JsonProperty("Architecture")]
|
||
public string Architecture{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 操作系统类型
|
||
/// </summary>
|
||
[JsonProperty("OsType")]
|
||
public string OsType{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 操作系统版本
|
||
/// </summary>
|
||
[JsonProperty("OsVersion")]
|
||
public string OsVersion{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 操作系统平台
|
||
/// </summary>
|
||
[JsonProperty("Platform")]
|
||
public string Platform{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 镜像所有者
|
||
/// </summary>
|
||
[JsonProperty("ImageOwner")]
|
||
public long? ImageOwner{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 镜像大小。单位:GB
|
||
/// </summary>
|
||
[JsonProperty("ImageSize")]
|
||
public long? ImageSize{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 镜像来源信息
|
||
/// </summary>
|
||
[JsonProperty("SrcImage")]
|
||
public SrcImage SrcImage{ get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// For internal usage only. DO NOT USE IT.
|
||
/// </summary>
|
||
internal override void ToMap(Dictionary<string, string> 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);
|
||
}
|
||
}
|
||
}
|
||
|