# 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 Domain(object):
def __init__(self, id=None, domainName=None, createTime=None, expirationDate=None, packId=None, lockStatus=None):
"""
:param id: (Optional) 域名在云解析里唯一的ID
:param domainName: (Optional) 域名字符串
:param createTime: (Optional) 域名的创建时间,Unix timestamp格式,时间单位:毫秒
:param expirationDate: (Optional) 域名的过期时间,Unix timestamp格式,时间单位:毫秒
:param packId: (Optional) 域名的套餐类型,0->免费 1->企业版 2->企业高级版
不同套餐的描述,请查阅<a href="https://docs.jdcloud.com/cn/jd-cloud-dns/price-overview">文档</a>
:param lockStatus: (Optional) 域名的锁定状态,0:未锁定, 1:已锁定
锁定的含义,请查阅<a href="https://docs.jdcloud.com/cn/jd-cloud-dns/lock-domain">文档</a>
"""
self.id = id
self.domainName = domainName
self.createTime = createTime
self.expirationDate = expirationDate
self.packId = packId
self.lockStatus = lockStatus