client

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchGetRequest

type BatchGetRequest struct {
	CompressionType    *string `json:"CompressionType,omitempty" xml:"CompressionType,omitempty"`
	Cursor             *string `json:"Cursor,omitempty" xml:"Cursor,omitempty"`
	Length             *int32  `json:"Length,omitempty" xml:"Length,omitempty"`
	Metric             *string `json:"Metric,omitempty" xml:"Metric,omitempty"`
	Namespace          *string `json:"Namespace,omitempty" xml:"Namespace,omitempty"`
	RecordKeyWhiteList *string `json:"RecordKeyWhiteList,omitempty" xml:"RecordKeyWhiteList,omitempty"`
}

func (BatchGetRequest) GoString

func (s BatchGetRequest) GoString() string

func (*BatchGetRequest) SetCompressionType

func (s *BatchGetRequest) SetCompressionType(v string) *BatchGetRequest

func (*BatchGetRequest) SetCursor

func (s *BatchGetRequest) SetCursor(v string) *BatchGetRequest

func (*BatchGetRequest) SetLength

func (s *BatchGetRequest) SetLength(v int32) *BatchGetRequest

func (*BatchGetRequest) SetMetric

func (s *BatchGetRequest) SetMetric(v string) *BatchGetRequest

func (*BatchGetRequest) SetNamespace

func (s *BatchGetRequest) SetNamespace(v string) *BatchGetRequest

func (*BatchGetRequest) SetRecordKeyWhiteList

func (s *BatchGetRequest) SetRecordKeyWhiteList(v string) *BatchGetRequest

func (BatchGetRequest) String

func (s BatchGetRequest) String() string

type BatchGetResponse

type BatchGetResponse struct {
	Headers map[string]*string    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *BatchGetResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (BatchGetResponse) GoString

func (s BatchGetResponse) GoString() string

func (*BatchGetResponse) SetBody

func (*BatchGetResponse) SetHeaders

func (s *BatchGetResponse) SetHeaders(v map[string]*string) *BatchGetResponse

func (BatchGetResponse) String

func (s BatchGetResponse) String() string

type BatchGetResponseBody

type BatchGetResponseBody struct {
	Code    *int32                    `json:"Code,omitempty" xml:"Code,omitempty"`
	Data    *BatchGetResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	Message *string                   `json:"Message,omitempty" xml:"Message,omitempty"`
	// Id of the request
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Success   *bool   `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (BatchGetResponseBody) GoString

func (s BatchGetResponseBody) GoString() string

func (*BatchGetResponseBody) SetCode

func (*BatchGetResponseBody) SetData

func (*BatchGetResponseBody) SetMessage

func (*BatchGetResponseBody) SetRequestId

func (s *BatchGetResponseBody) SetRequestId(v string) *BatchGetResponseBody

func (*BatchGetResponseBody) SetSuccess

func (BatchGetResponseBody) String

func (s BatchGetResponseBody) String() string

type BatchGetResponseBodyData

type BatchGetResponseBodyData struct {
	CompressionKeys   []*string                          `json:"CompressionKeys,omitempty" xml:"CompressionKeys,omitempty" type:"Repeated"`
	CompressionValues [][]map[string]interface{}         `json:"CompressionValues,omitempty" xml:"CompressionValues,omitempty" type:"Repeated"`
	Cursor            *string                            `json:"Cursor,omitempty" xml:"Cursor,omitempty"`
	Length            *int64                             `json:"Length,omitempty" xml:"Length,omitempty"`
	Records           []*BatchGetResponseBodyDataRecords `json:"Records,omitempty" xml:"Records,omitempty" type:"Repeated"`
	AnchorTs          *int64                             `json:"__anchorTs__,omitempty" xml:"__anchorTs__,omitempty"`
}

func (BatchGetResponseBodyData) GoString

func (s BatchGetResponseBodyData) GoString() string

func (*BatchGetResponseBodyData) SetAnchorTs

func (*BatchGetResponseBodyData) SetCompressionKeys

func (s *BatchGetResponseBodyData) SetCompressionKeys(v []*string) *BatchGetResponseBodyData

func (*BatchGetResponseBodyData) SetCompressionValues

func (s *BatchGetResponseBodyData) SetCompressionValues(v [][]map[string]interface{}) *BatchGetResponseBodyData

func (*BatchGetResponseBodyData) SetCursor

func (*BatchGetResponseBodyData) SetLength

func (*BatchGetResponseBodyData) SetRecords

func (BatchGetResponseBodyData) String

func (s BatchGetResponseBodyData) String() string

type BatchGetResponseBodyDataRecords

type BatchGetResponseBodyDataRecords struct {
	LabelValues   []*string `json:"LabelValues,omitempty" xml:"LabelValues,omitempty" type:"Repeated"`
	Labels        []*string `json:"Labels,omitempty" xml:"Labels,omitempty" type:"Repeated"`
	MeasureLabels []*string `json:"MeasureLabels,omitempty" xml:"MeasureLabels,omitempty" type:"Repeated"`
	MeasureValues []*string `json:"MeasureValues,omitempty" xml:"MeasureValues,omitempty" type:"Repeated"`
	Metric        *string   `json:"Metric,omitempty" xml:"Metric,omitempty"`
	Namespace     *string   `json:"Namespace,omitempty" xml:"Namespace,omitempty"`
	Period        *int32    `json:"Period,omitempty" xml:"Period,omitempty"`
	TagValues     []*string `json:"TagValues,omitempty" xml:"TagValues,omitempty" type:"Repeated"`
	Tags          []*string `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
	Timestamp     *int64    `json:"Timestamp,omitempty" xml:"Timestamp,omitempty"`
}

func (BatchGetResponseBodyDataRecords) GoString

func (*BatchGetResponseBodyDataRecords) SetLabelValues

func (*BatchGetResponseBodyDataRecords) SetLabels

func (*BatchGetResponseBodyDataRecords) SetMeasureLabels

func (*BatchGetResponseBodyDataRecords) SetMeasureValues

func (*BatchGetResponseBodyDataRecords) SetMetric

func (*BatchGetResponseBodyDataRecords) SetNamespace

func (*BatchGetResponseBodyDataRecords) SetPeriod

func (*BatchGetResponseBodyDataRecords) SetTagValues

func (*BatchGetResponseBodyDataRecords) SetTags

func (*BatchGetResponseBodyDataRecords) SetTimestamp

func (BatchGetResponseBodyDataRecords) String

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) BatchGet

func (client *Client) BatchGet(request *BatchGetRequest) (_result *BatchGetResponse, _err error)

func (*Client) BatchGetWithOptions

func (client *Client) BatchGetWithOptions(request *BatchGetRequest, runtime *util.RuntimeOptions) (_result *BatchGetResponse, _err error)

func (*Client) Cursor

func (client *Client) Cursor(request *CursorRequest) (_result *CursorResponse, _err error)

func (*Client) CursorWithOptions

func (client *Client) CursorWithOptions(tmpReq *CursorRequest, runtime *util.RuntimeOptions) (_result *CursorResponse, _err error)

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

type CursorRequest

type CursorRequest struct {
	EndTime   *int64                   `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	Matchers  []*CursorRequestMatchers `json:"Matchers,omitempty" xml:"Matchers,omitempty" type:"Repeated"`
	Metric    *string                  `json:"Metric,omitempty" xml:"Metric,omitempty"`
	Namespace *string                  `json:"Namespace,omitempty" xml:"Namespace,omitempty"`
	Period    *int32                   `json:"Period,omitempty" xml:"Period,omitempty"`
	StartTime *int64                   `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (CursorRequest) GoString

func (s CursorRequest) GoString() string

func (*CursorRequest) SetEndTime

func (s *CursorRequest) SetEndTime(v int64) *CursorRequest

func (*CursorRequest) SetMatchers

func (s *CursorRequest) SetMatchers(v []*CursorRequestMatchers) *CursorRequest

func (*CursorRequest) SetMetric

func (s *CursorRequest) SetMetric(v string) *CursorRequest

func (*CursorRequest) SetNamespace

func (s *CursorRequest) SetNamespace(v string) *CursorRequest

func (*CursorRequest) SetPeriod

func (s *CursorRequest) SetPeriod(v int32) *CursorRequest

func (*CursorRequest) SetStartTime

func (s *CursorRequest) SetStartTime(v int64) *CursorRequest

func (CursorRequest) String

func (s CursorRequest) String() string

type CursorRequestMatchers

type CursorRequestMatchers struct {
	Label    *string `json:"Label,omitempty" xml:"Label,omitempty"`
	Operator *string `json:"Operator,omitempty" xml:"Operator,omitempty"`
	Value    *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CursorRequestMatchers) GoString

func (s CursorRequestMatchers) GoString() string

func (*CursorRequestMatchers) SetLabel

func (*CursorRequestMatchers) SetOperator

func (*CursorRequestMatchers) SetValue

func (CursorRequestMatchers) String

func (s CursorRequestMatchers) String() string

type CursorResponse

type CursorResponse struct {
	Headers map[string]*string  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *CursorResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CursorResponse) GoString

func (s CursorResponse) GoString() string

func (*CursorResponse) SetBody

func (*CursorResponse) SetHeaders

func (s *CursorResponse) SetHeaders(v map[string]*string) *CursorResponse

func (CursorResponse) String

func (s CursorResponse) String() string

type CursorResponseBody

type CursorResponseBody struct {
	Code      *int32                  `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *CursorResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	Message   *string                 `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string                 `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Success   *bool                   `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (CursorResponseBody) GoString

func (s CursorResponseBody) GoString() string

func (*CursorResponseBody) SetCode

func (*CursorResponseBody) SetData

func (*CursorResponseBody) SetMessage

func (s *CursorResponseBody) SetMessage(v string) *CursorResponseBody

func (*CursorResponseBody) SetRequestId

func (s *CursorResponseBody) SetRequestId(v string) *CursorResponseBody

func (*CursorResponseBody) SetSuccess

func (s *CursorResponseBody) SetSuccess(v bool) *CursorResponseBody

func (CursorResponseBody) String

func (s CursorResponseBody) String() string

type CursorResponseBodyData

type CursorResponseBodyData struct {
	Cursor *string `json:"Cursor,omitempty" xml:"Cursor,omitempty"`
}

func (CursorResponseBodyData) GoString

func (s CursorResponseBodyData) GoString() string

func (*CursorResponseBodyData) SetCursor

func (CursorResponseBodyData) String

func (s CursorResponseBodyData) String() string

type CursorShrinkRequest

type CursorShrinkRequest struct {
	EndTime        *int64  `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	MatchersShrink *string `json:"Matchers,omitempty" xml:"Matchers,omitempty"`
	Metric         *string `json:"Metric,omitempty" xml:"Metric,omitempty"`
	Namespace      *string `json:"Namespace,omitempty" xml:"Namespace,omitempty"`
	Period         *int32  `json:"Period,omitempty" xml:"Period,omitempty"`
	StartTime      *int64  `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (CursorShrinkRequest) GoString

func (s CursorShrinkRequest) GoString() string

func (*CursorShrinkRequest) SetEndTime

func (s *CursorShrinkRequest) SetEndTime(v int64) *CursorShrinkRequest

func (*CursorShrinkRequest) SetMatchersShrink

func (s *CursorShrinkRequest) SetMatchersShrink(v string) *CursorShrinkRequest

func (*CursorShrinkRequest) SetMetric

func (*CursorShrinkRequest) SetNamespace

func (s *CursorShrinkRequest) SetNamespace(v string) *CursorShrinkRequest

func (*CursorShrinkRequest) SetPeriod

func (*CursorShrinkRequest) SetStartTime

func (s *CursorShrinkRequest) SetStartTime(v int64) *CursorShrinkRequest

func (CursorShrinkRequest) String

func (s CursorShrinkRequest) String() string

Jump to

Keyboard shortcuts

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