Source code for jdcloud_sdk.services.jdfusion.models.ImageInfo

# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# 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.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


[docs]class ImageInfo(object): def __init__(self, id=None, name=None, description=None, architecture=None, createdTime=None, imageSource=None, osType=None, platform=None, progress=None, size=None, status=None, cloudID=None): """ :param id: (Optional) 镜像ID :param name: (Optional) 镜像名称 :param description: (Optional) 镜像描述 :param architecture: (Optional) 镜像架构 :param createdTime: (Optional) 创建时间 :param imageSource: (Optional) 镜像来源 :param osType: (Optional) 镜像操作系统类型 :param platform: (Optional) 操作系统平台 :param progress: (Optional) 镜像复制和转换时的进度,仅显示数值,单位为百分比 :param size: (Optional) 镜像大小 单位MB :param status: (Optional) 状态 :param cloudID: (Optional) 云注册信息ID """ self.id = id self.name = name self.description = description self.architecture = architecture self.createdTime = createdTime self.imageSource = imageSource self.osType = osType self.platform = platform self.progress = progress self.size = size self.status = status self.cloudID = cloudID