Source code for jdcloud_sdk.services.httpdns.models.Dataplan

# 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 Dataplan(object): def __init__(self, id=None, accountId=None, number=None, unit=None, startTime=None, expireTime=None, usedNumber=None, type=None, isExpired=None): """ :param id: (Optional) 流量包索引ID :param accountId: (Optional) 账户ID :param number: (Optional) 这个流量包的总数 :param unit: (Optional) 这个流量包的单位 :param startTime: (Optional) 这个流量包的起始时间 :param expireTime: (Optional) 这个流量包的过期时间 :param usedNumber: (Optional) 这个流量包使用过了的数量 :param type: (Optional) 流量包的类型,1:免费流量包 2:收费包 :param isExpired: (Optional) 是否过期,0:未过期 1:过期了 """ self.id = id self.accountId = accountId self.number = number self.unit = unit self.startTime = startTime self.expireTime = expireTime self.usedNumber = usedNumber self.type = type self.isExpired = isExpired