models

package
v1.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {

	/* 索引id (Optional) */
	Id int `json:"id"`

	/* 用户名 (Optional) */
	UserPin string `json:"userPin"`

	/* 账户ID (Optional) */
	AccountId string `json:"accountId"`

	/* 提供httpdns服务的IP (Optional) */
	ServiceIp []string `json:"serviceIp"`

	/* httpdns服务的密钥 (Optional) */
	Key []string `json:"key"`

	/* httpdns服务的密钥的状态,同key的序号对应 (Optional) */
	KeyStatus []int `json:"keyStatus"`

	/* 账户创建时间 (Optional) */
	CreateTime int64 `json:"createTime"`

	/* 账户更新时间 (Optional) */
	UpdateTime int64 `json:"updateTime"`

	/* 非鉴权方式是否可以访问httpdns服务,0:不可以,1:可以 (Optional) */
	NoauthAccess int `json:"noauthAccess"`

	/* 账户最多可以创建的域名 (Optional) */
	DomainLimit int `json:"domainLimit"`

	/* 账户状态,0:正常 1:使用80%流量,2:欠费 3:停服 (Optional) */
	AccountStatus int `json:"accountStatus"`
}

type AccountId

type AccountId struct {

	/* 用户名 (Optional) */
	UserPin string `json:"userPin"`

	/* 账户ID (Optional) */
	AccountId string `json:"accountId"`
}

type Count

type Count struct {

	/* 类型,"http_auth","http_non_auth","https_auth","https_non_auth","all"5种 (Optional) */
	Name string `json:"name"`

	/* 此类型的数据。<br>
	"all"类型的data是"http_auth","http_noauth","https_auth","https_noauth"四个类型的data之和。
	 (Optional) */
	Data []int64 `json:"data"`
}

type CountData

type CountData struct {

	/* 时间序列 (Optional) */
	Time []int64 `json:"time"`

	/* 数据序列 (Optional) */
	Count []Count `json:"count"`
}

type Dataplan

type Dataplan struct {

	/* 流量包索引ID (Optional) */
	Id int `json:"id"`

	/* 账户ID (Optional) */
	AccountId string `json:"accountId"`

	/* 这个流量包的总数 (Optional) */
	Number float64 `json:"number"`

	/* 这个流量包的单位 (Optional) */
	Unit int `json:"unit"`

	/* 这个流量包的起始时间 (Optional) */
	StartTime int64 `json:"startTime"`

	/* 这个流量包的过期时间 (Optional) */
	ExpireTime int64 `json:"expireTime"`

	/* 这个流量包使用过了的数量 (Optional) */
	UsedNumber float64 `json:"usedNumber"`

	/* 流量包的类型,1:免费流量包 2:收费包 (Optional) */
	Type int `json:"type"`

	/* 是否过期,0:未过期 1:过期了 (Optional) */
	IsExpired int `json:"isExpired"`
}

type DataplanInfo

type DataplanInfo struct {

	/* 使用过的额度 (Optional) */
	UsedNumber int64 `json:"usedNumber"`

	/* 剩余的额度 (Optional) */
	ExcessNumber int64 `json:"excessNumber"`
}

type Domain

type Domain struct {

	/* 索引ID (Optional) */
	Id int `json:"id"`

	/* 账户ID (Optional) */
	AccountId string `json:"accountId"`

	/* 服务的域名 (Optional) */
	DomainName string `json:"domainName"`

	/* 域名创建时间 (Optional) */
	CreateTime int64 `json:"createTime"`

	/* 从本月1号开始到现在的httpdns总查询次数 (Optional) */
	QueryCount int64 `json:"queryCount"`

	/* 是否删除 (Optional) */
	IsDelete int `json:"isDelete"`
}

type DomainData

type DomainData struct {

	/* 域名数组 (Optional) */
	DataList []Domain `json:"dataList"`

	/* 当前页的个数 (Optional) */
	CurrentCount int `json:"currentCount"`

	/* 域名的总数 (Optional) */
	TotalCount int `json:"totalCount"`

	/* 域名的总页数 (Optional) */
	TotalPage int `json:"totalPage"`
}

type Totalcount

type Totalcount struct {

	/* 域名 (Optional) */
	Domain string `json:"domain"`

	/* 域名的查询总数 (Optional) */
	Count int64 `json:"count"`
}

type TotalcountData

type TotalcountData struct {

	/* 域名查询次数数组 (Optional) */
	DataList []Totalcount `json:"dataList"`

	/* 当前页的个数 (Optional) */
	CurrentCount int `json:"currentCount"`

	/* 总数 (Optional) */
	TotalCount int `json:"totalCount"`

	/* 总页数 (Optional) */
	TotalPage int `json:"totalPage"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL