Source code for jdcloud_sdk.services.billing.models.ResourceOrderStatusVo

# 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 ResourceOrderStatusVo(object): def __init__(self, resourceId, pin, status=None, billingStatus=None, billingType=None, endTime=None, chargeMode=None, chargeDuration=None, chargeUnit=None, site=None, operateTime=None): """ :param resourceId: 资源id :param pin: 用户pin :param status: (Optional) 资源状态 1:正常 2:停服 3:删除 :param billingStatus: (Optional) 计费状态 0:停止计费 1:计费中 :param billingType: (Optional) 计费类型 1:按配置 2:按用量 3:包年包月 :param endTime: (Optional) 结束时间 :param chargeMode: (Optional) billingType兼容交易系统字段 :param chargeDuration: (Optional) timeSpan兼容交易系统字段 :param chargeUnit: (Optional) timeUnit兼容交易系统字段 :param site: (Optional) 站点信息 0:中国 1:国际 10:专有云 :param operateTime: (Optional) 操作时间 """ self.resourceId = resourceId self.pin = pin self.status = status self.billingStatus = billingStatus self.billingType = billingType self.endTime = endTime self.chargeMode = chargeMode self.chargeDuration = chargeDuration self.chargeUnit = chargeUnit self.site = site self.operateTime = operateTime