model

package
v0.0.81 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrMsg

type ErrMsg struct {
	ErrorCode string `json:"error_code"`

	ErrorMsg string `json:"error_msg"`
}

用于返回具体的错误码和错误消息

func (ErrMsg) String

func (o ErrMsg) String() string

type ErrRsp

type ErrRsp struct {
	Error *ErrMsg `json:"error"`
}

当北向接口报错时,按此格式返回到body体中

func (ErrRsp) String

func (o ErrRsp) String() string

type ShowDomainLocationStatsRequest

type ShowDomainLocationStatsRequest struct {
	Action string `json:"action"`

	StartTime int64 `json:"start_time"`

	EndTime int64 `json:"end_time"`

	DomainName string `json:"domain_name"`

	StatType string `json:"stat_type"`

	Interval *int64 `json:"interval,omitempty"`

	Country *string `json:"country,omitempty"`

	Province *string `json:"province,omitempty"`

	Isp *string `json:"isp,omitempty"`

	GroupBy *string `json:"group_by,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

Request Object

func (ShowDomainLocationStatsRequest) String

type ShowDomainLocationStatsResponse

type ShowDomainLocationStatsResponse struct {
	GroupBy *string `json:"group_by,omitempty"`

	Result         map[string]interface{} `json:"result,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ShowDomainLocationStatsResponse) String

type ShowDomainStatsRequest

type ShowDomainStatsRequest struct {
	Action string `json:"action"`

	StartTime int64 `json:"start_time"`

	EndTime int64 `json:"end_time"`

	DomainName string `json:"domain_name"`

	StatType string `json:"stat_type"`

	Interval *int64 `json:"interval,omitempty"`

	GroupBy *string `json:"group_by,omitempty"`

	ServiceArea *string `json:"service_area,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

Request Object

func (ShowDomainStatsRequest) String

func (o ShowDomainStatsRequest) String() string

type ShowDomainStatsResponse

type ShowDomainStatsResponse struct {
	Result         map[string]interface{} `json:"result,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ShowDomainStatsResponse) String

func (o ShowDomainStatsResponse) String() string

type ShowTopUrlRequest

type ShowTopUrlRequest struct {
	StartTime int64 `json:"start_time"`

	EndTime int64 `json:"end_time"`

	DomainName string `json:"domain_name"`

	StatType string `json:"stat_type"`

	ServiceArea *string `json:"service_area,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

Request Object

func (ShowTopUrlRequest) String

func (o ShowTopUrlRequest) String() string

type ShowTopUrlResponse

type ShowTopUrlResponse struct {
	ServiceArea *string `json:"service_area,omitempty"`

	TopUrlSummary  *[]map[string]interface{} `json:"top_url_summary,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (ShowTopUrlResponse) String

func (o ShowTopUrlResponse) String() string

Jump to

Keyboard shortcuts

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