DomainInfo.go raw

   1  // Copyright 2018 JDCLOUD.COM
   2  //
   3  // Licensed under the Apache License, Version 2.0 (the "License");
   4  // you may not use this file except in compliance with the License.
   5  // You may obtain a copy of the License at
   6  //
   7  //     http://www.apache.org/licenses/LICENSE-2.0
   8  //
   9  // Unless required by applicable law or agreed to in writing, software
  10  // distributed under the License is distributed on an "AS IS" BASIS,
  11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12  // See the License for the specific language governing permissions and
  13  // limitations under the License.
  14  //
  15  // NOTE: This class is auto generated by the jdcloud code generator program.
  16  
  17  package models
  18  
  19  type DomainInfo struct {
  20  
  21  	/* 域名的唯一ID (Optional) */
  22  	Id int `json:"id"`
  23  
  24  	/* 域名字符串 (Optional) */
  25  	DomainName string `json:"domainName"`
  26  
  27  	/* 创建时间,格式Unix timestamp,时间单位:毫秒 (Optional) */
  28  	CreateTime int64 `json:"createTime"`
  29  
  30  	/* 过期时间,格式Unix timestamp,时间单位:毫秒 (Optional) */
  31  	ExpirationDate int64 `json:"expirationDate"`
  32  
  33  	/* 套餐类型,免费:0 企业版:1 企业高级版:2 (Optional) */
  34  	PackId int `json:"packId"`
  35  
  36  	/* 套餐的名字 (Optional) */
  37  	PackName string `json:"packName"`
  38  
  39  	/* 解析的状态, 暂无解析:1,正常解析:2, 部分解析:3, 暂停解析:4 NS未修改:5,域名探测错误:7,域名未注册:8,注册局暂停解析:9 (Optional) */
  40  	ResolvingStatus string `json:"resolvingStatus"`
  41  
  42  	/* 创建者 (Optional) */
  43  	Creator string `json:"creator"`
  44  
  45  	/* 是否是京东云资源 (Optional) */
  46  	JcloudNs bool `json:"jcloudNs"`
  47  
  48  	/* 域名的锁定状态,0:未锁定, 1:已锁定 (Optional) */
  49  	LockStatus int `json:"lockStatus"`
  50  
  51  	/* 主域名当前的Nameserver列表 (Optional) */
  52  	ProbeNsList []string `json:"probeNsList"`
  53  
  54  	/* 主域名应该设置的Nameserver列表 (Optional) */
  55  	DefNsList []string `json:"defNsList"`
  56  }
  57