models

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2019 License: Apache-2.0 Imports: 0 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackSourceAddress

type BackSourceAddress struct {

	/* 地址协议, 如http (Optional) */
	Protocol *string `json:"protocol"`

	/* 域名 (Optional) */
	HostName *string `json:"hostName"`

	/* 将前缀替换为指定的内容 (Optional) */
	ReplaceKeyPrefixWith *string `json:"replaceKeyPrefixWith"`

	/* 将key替换为指定内容 (Optional) */
	ReplaceKeyWith *string `json:"replaceKeyWith"`

	/* 将后缀替换为指定的内容 (Optional) */
	ReplaceKeySuffixWith *string `json:"replaceKeySuffixWith"`
}

type BackSourceHeaderRule

type BackSourceHeaderRule struct {

	/* 是否允许所有的Http header (Optional) */
	AllowAllHeaders *bool `json:"allowAllHeaders"`

	/* 允许的http header列表 (Optional) */
	AllowHeaders []string `json:"allowHeaders"`

	/* 禁止的http header列表 (Optional) */
	NotAllowHeaders []string `json:"notAllowHeaders"`

	/* 设置指定http header参数,类型为Map\<String, String> (Optional) */
	SetHeaders *interface{} `json:"setHeaders"`
}

type BackSourceRule

type BackSourceRule struct {

	/* 回源类型 (Optional) */
	BackSourceType *string `json:"backSourceType"`

	/*  (Optional) */
	Condition *BackSourceRuleCondition `json:"condition"`

	/*  (Optional) */
	Address *BackSourceAddress `json:"address"`

	/* 是否允许query String (Optional) */
	AllowQueryString *bool `json:"allowQueryString"`

	/* 是否跟随重定向 (Optional) */
	FollowRedirects *bool `json:"followRedirects"`

	/*  (Optional) */
	HeaderRule *BackSourceHeaderRule `json:"headerRule"`
}

type BackSourceRuleCondition

type BackSourceRuleCondition struct {

	/* 当前缀为指定的前缀时开启回源 (Optional) */
	KeyPrefixEquals *string `json:"keyPrefixEquals"`

	/* 当http错误码为指定错误码时开启回源 (Optional) */
	HttpErrorCodeReturnedEquals *int `json:"httpErrorCodeReturnedEquals"`
}

type BucketBackSourceConfiguration

type BucketBackSourceConfiguration struct {

	/* 回源配置规则 (Optional) */
	BackSourceRules []BackSourceRule `json:"backSourceRules"`
}

type BucketMonitorStatistic

type BucketMonitorStatistic struct {

	/* bucket name  */
	BucketName string `json:"bucketName"`

	/* 统计数值  */
	Count int64 `json:"count"`

	/* 时间  */
	Time string `json:"time"`
}

type BucketMonitorStatisticQueryResult

type BucketMonitorStatisticQueryResult struct {

	/* 查询结果总数 (Optional) */
	TotalCount int `json:"totalCount"`

	/* bucket 统计列表 (Optional) */
	QueryList []BucketMonitorStatistic `json:"queryList"`
}

type BucketSpaceStatistic

type BucketSpaceStatistic struct {

	/* bucket name  */
	BucketName string `json:"bucketName"`

	/* bucket 存储空间  */
	Space int64 `json:"space"`
}

type BucketSpaceStatisticQueryResult

type BucketSpaceStatisticQueryResult struct {

	/* 查询结果总数 (Optional) */
	TotalCount int `json:"totalCount"`

	/* bucket 统计列表 (Optional) */
	QueryList []BucketSpaceStatistic `json:"queryList"`
}

type CName

type CName struct {

	/* 自定义域名id (Optional) */
	Id int `json:"id"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 源站域名 (Optional) */
	OriginDomain string `json:"originDomain"`

	/* 自定义域名 (Optional) */
	Cname string `json:"cname"`

	/* 自定义域名状态 (Optional) */
	Status int `json:"status"`

	/* bucket name (Optional) */
	BucketName string `json:"bucketName"`

	/* cname是否成功,1:已解析;0:未解析 (Optional) */
	IsCName int `json:"isCName"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* http版本,0:http,1:https (Optional) */
	ProtoType int `json:"protoType"`
}

type CNameInfo

type CNameInfo struct {

	/* 自定义域名  */
	Cname string `json:"cname"`

	/* http版本,0:http,1:https (Optional) */
	ProtoType int `json:"protoType"`

	/* 域名  */
	EndPoint string `json:"endPoint"`

	/* 是否拦截内部域名添,任意值跳过拦截 (Optional) */
	Internal string `json:"internal"`
}

type CNameQueryResult

type CNameQueryResult struct {

	/* 查询结果总数 (Optional) */
	TotalCount int `json:"totalCount"`

	/*  (Optional) */
	ResultList []CName `json:"resultList"`
}

type ICP

type ICP struct {

	/* true为备案,false为未备案 (Optional) */
	Icp bool `json:"icp"`
}

type ImageExtensions

type ImageExtensions struct {

	/* 原图保护图像格式列表,符合固定XML格式,例如\<?xml version="1.0" encoding="UTF-8"?>\<Condition>\<Extension>jpg\</Extension>\</Condition>  */
	ImageExtensions string `json:"imageExtensions"`
}

Jump to

Keyboard shortcuts

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