Versions in this module Expand all Collapse all v2 v2.0.1 Nov 7, 2022 v2.0.0 Nov 7, 2022 Changes in this version + var ContextAPIKeys = contextKey("apiKeys") + var ContextAccessToken = contextKey("accesstoken") + var ContextBasicAuth = contextKey("basic") + var ContextHttpSignatureAuth = contextKey("httpsignature") + var ContextOAuth2 = contextKey("token") + var ContextOperationServerIndices = contextKey("serverOperationIndices") + var ContextOperationServerVariables = contextKey("serverOperationVariables") + var ContextServerIndex = contextKey("serverIndex") + var ContextServerVariables = contextKey("serverVariables") + func CacheExpires(r *http.Response) time.Time + func PtrBool(v bool) *bool + func PtrFloat32(v float32) *float32 + func PtrFloat64(v float64) *float64 + func PtrInt(v int) *int + func PtrInt32(v int32) *int32 + func PtrInt64(v int64) *int64 + func PtrString(v string) *string + func PtrTime(v time.Time) *time.Time + type APIClient struct + PublicPerformanceApi *PublicPerformanceApiService + func NewAPIClient(cfg *Configuration) *APIClient + func (c *APIClient) GetConfig() *Configuration + type APIKey struct + Key string + Prefix string + type APIResponse struct + Message string + Method string + Operation string + Payload []byte + RequestURL string + func NewAPIResponse(r *http.Response) *APIResponse + func NewAPIResponseWithError(errorMessage string) *APIResponse + type ApiGetPageRequest struct + ApiService *PublicPerformanceApiService + func (r ApiGetPageRequest) Domain(domain string) ApiGetPageRequest + func (r ApiGetPageRequest) End(end int64) ApiGetPageRequest + func (r ApiGetPageRequest) Execute() (*PublicPerformanceResponse, *http.Response, error) + func (r ApiGetPageRequest) Interval(interval string) ApiGetPageRequest + func (r ApiGetPageRequest) Pad(pad bool) ApiGetPageRequest + func (r ApiGetPageRequest) Path(path string) ApiGetPageRequest + func (r ApiGetPageRequest) Period(period string) ApiGetPageRequest + func (r ApiGetPageRequest) Start(start int64) ApiGetPageRequest + func (r ApiGetPageRequest) Sum(sum bool) ApiGetPageRequest + type ApiGetUptimeRequest struct + ApiService *PublicPerformanceApiService + func (r ApiGetUptimeRequest) Domain(domain string) ApiGetUptimeRequest + func (r ApiGetUptimeRequest) End(end int64) ApiGetUptimeRequest + func (r ApiGetUptimeRequest) Execute() (*PublicPerformanceResponse, *http.Response, error) + func (r ApiGetUptimeRequest) Interval(interval string) ApiGetUptimeRequest + func (r ApiGetUptimeRequest) Pad(pad bool) ApiGetUptimeRequest + func (r ApiGetUptimeRequest) Path(path string) ApiGetUptimeRequest + func (r ApiGetUptimeRequest) Period(period string) ApiGetUptimeRequest + func (r ApiGetUptimeRequest) Start(start int64) ApiGetUptimeRequest + func (r ApiGetUptimeRequest) Sum(sum bool) ApiGetUptimeRequest + type BasicAuth struct + Password string + UserName string + type Configuration struct + Debug bool + DefaultHeader map[string]string + HTTPClient *http.Client + Host string + OperationServers map[string]ServerConfigurations + Scheme string + Servers ServerConfigurations + UserAgent string + func NewConfiguration() *Configuration + func (c *Configuration) AddDefaultHeader(key string, value string) + func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) + func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) + type Error struct + Category string + Context *map[string][]string + CorrelationId string + Errors []ErrorDetail + Links *map[string]string + Message string + SubCategory *string + func NewError(message string, correlationId string, category string) *Error + func NewErrorWithDefaults() *Error + func (o *Error) GetCategory() string + func (o *Error) GetCategoryOk() (*string, bool) + func (o *Error) GetContext() map[string][]string + func (o *Error) GetContextOk() (*map[string][]string, bool) + func (o *Error) GetCorrelationId() string + func (o *Error) GetCorrelationIdOk() (*string, bool) + func (o *Error) GetErrors() []ErrorDetail + func (o *Error) GetErrorsOk() ([]ErrorDetail, bool) + func (o *Error) GetLinks() map[string]string + func (o *Error) GetLinksOk() (*map[string]string, bool) + func (o *Error) GetMessage() string + func (o *Error) GetMessageOk() (*string, bool) + func (o *Error) GetSubCategory() string + func (o *Error) GetSubCategoryOk() (*string, bool) + func (o *Error) HasContext() bool + func (o *Error) HasErrors() bool + func (o *Error) HasLinks() bool + func (o *Error) HasSubCategory() bool + func (o *Error) SetCategory(v string) + func (o *Error) SetContext(v map[string][]string) + func (o *Error) SetCorrelationId(v string) + func (o *Error) SetErrors(v []ErrorDetail) + func (o *Error) SetLinks(v map[string]string) + func (o *Error) SetMessage(v string) + func (o *Error) SetSubCategory(v string) + func (o Error) MarshalJSON() ([]byte, error) + type ErrorDetail struct + Code *string + Context *map[string][]string + In *string + Message string + SubCategory *string + func NewErrorDetail(message string) *ErrorDetail + func NewErrorDetailWithDefaults() *ErrorDetail + func (o *ErrorDetail) GetCode() string + func (o *ErrorDetail) GetCodeOk() (*string, bool) + func (o *ErrorDetail) GetContext() map[string][]string + func (o *ErrorDetail) GetContextOk() (*map[string][]string, bool) + func (o *ErrorDetail) GetIn() string + func (o *ErrorDetail) GetInOk() (*string, bool) + func (o *ErrorDetail) GetMessage() string + func (o *ErrorDetail) GetMessageOk() (*string, bool) + func (o *ErrorDetail) GetSubCategory() string + func (o *ErrorDetail) GetSubCategoryOk() (*string, bool) + func (o *ErrorDetail) HasCode() bool + func (o *ErrorDetail) HasContext() bool + func (o *ErrorDetail) HasIn() bool + func (o *ErrorDetail) HasSubCategory() bool + func (o *ErrorDetail) SetCode(v string) + func (o *ErrorDetail) SetContext(v map[string][]string) + func (o *ErrorDetail) SetIn(v string) + func (o *ErrorDetail) SetMessage(v string) + func (o *ErrorDetail) SetSubCategory(v string) + func (o ErrorDetail) MarshalJSON() ([]byte, error) + type GenericOpenAPIError struct + func (e GenericOpenAPIError) Body() []byte + func (e GenericOpenAPIError) Error() string + func (e GenericOpenAPIError) Model() interface{} + type NullableBool struct + func NewNullableBool(val *bool) *NullableBool + func (v *NullableBool) Set(val *bool) + func (v *NullableBool) UnmarshalJSON(src []byte) error + func (v *NullableBool) Unset() + func (v NullableBool) Get() *bool + func (v NullableBool) IsSet() bool + func (v NullableBool) MarshalJSON() ([]byte, error) + type NullableError struct + func NewNullableError(val *Error) *NullableError + func (v *NullableError) Set(val *Error) + func (v *NullableError) UnmarshalJSON(src []byte) error + func (v *NullableError) Unset() + func (v NullableError) Get() *Error + func (v NullableError) IsSet() bool + func (v NullableError) MarshalJSON() ([]byte, error) + type NullableErrorDetail struct + func NewNullableErrorDetail(val *ErrorDetail) *NullableErrorDetail + func (v *NullableErrorDetail) Set(val *ErrorDetail) + func (v *NullableErrorDetail) UnmarshalJSON(src []byte) error + func (v *NullableErrorDetail) Unset() + func (v NullableErrorDetail) Get() *ErrorDetail + func (v NullableErrorDetail) IsSet() bool + func (v NullableErrorDetail) MarshalJSON() ([]byte, error) + type NullableFloat32 struct + func NewNullableFloat32(val *float32) *NullableFloat32 + func (v *NullableFloat32) Set(val *float32) + func (v *NullableFloat32) UnmarshalJSON(src []byte) error + func (v *NullableFloat32) Unset() + func (v NullableFloat32) Get() *float32 + func (v NullableFloat32) IsSet() bool + func (v NullableFloat32) MarshalJSON() ([]byte, error) + type NullableFloat64 struct + func NewNullableFloat64(val *float64) *NullableFloat64 + func (v *NullableFloat64) Set(val *float64) + func (v *NullableFloat64) UnmarshalJSON(src []byte) error + func (v *NullableFloat64) Unset() + func (v NullableFloat64) Get() *float64 + func (v NullableFloat64) IsSet() bool + func (v NullableFloat64) MarshalJSON() ([]byte, error) + type NullableInt struct + func NewNullableInt(val *int) *NullableInt + func (v *NullableInt) Set(val *int) + func (v *NullableInt) UnmarshalJSON(src []byte) error + func (v *NullableInt) Unset() + func (v NullableInt) Get() *int + func (v NullableInt) IsSet() bool + func (v NullableInt) MarshalJSON() ([]byte, error) + type NullableInt32 struct + func NewNullableInt32(val *int32) *NullableInt32 + func (v *NullableInt32) Set(val *int32) + func (v *NullableInt32) UnmarshalJSON(src []byte) error + func (v *NullableInt32) Unset() + func (v NullableInt32) Get() *int32 + func (v NullableInt32) IsSet() bool + func (v NullableInt32) MarshalJSON() ([]byte, error) + type NullableInt64 struct + func NewNullableInt64(val *int64) *NullableInt64 + func (v *NullableInt64) Set(val *int64) + func (v *NullableInt64) UnmarshalJSON(src []byte) error + func (v *NullableInt64) Unset() + func (v NullableInt64) Get() *int64 + func (v NullableInt64) IsSet() bool + func (v NullableInt64) MarshalJSON() ([]byte, error) + type NullablePerformanceView struct + func NewNullablePerformanceView(val *PerformanceView) *NullablePerformanceView + func (v *NullablePerformanceView) Set(val *PerformanceView) + func (v *NullablePerformanceView) UnmarshalJSON(src []byte) error + func (v *NullablePerformanceView) Unset() + func (v NullablePerformanceView) Get() *PerformanceView + func (v NullablePerformanceView) IsSet() bool + func (v NullablePerformanceView) MarshalJSON() ([]byte, error) + type NullablePublicPerformanceResponse struct + func NewNullablePublicPerformanceResponse(val *PublicPerformanceResponse) *NullablePublicPerformanceResponse + func (v *NullablePublicPerformanceResponse) Set(val *PublicPerformanceResponse) + func (v *NullablePublicPerformanceResponse) UnmarshalJSON(src []byte) error + func (v *NullablePublicPerformanceResponse) Unset() + func (v NullablePublicPerformanceResponse) Get() *PublicPerformanceResponse + func (v NullablePublicPerformanceResponse) IsSet() bool + func (v NullablePublicPerformanceResponse) MarshalJSON() ([]byte, error) + type NullableString struct + func NewNullableString(val *string) *NullableString + func (v *NullableString) Set(val *string) + func (v *NullableString) UnmarshalJSON(src []byte) error + func (v *NullableString) Unset() + func (v NullableString) Get() *string + func (v NullableString) IsSet() bool + func (v NullableString) MarshalJSON() ([]byte, error) + type NullableTime struct + func NewNullableTime(val *time.Time) *NullableTime + func (v *NullableTime) Set(val *time.Time) + func (v *NullableTime) UnmarshalJSON(src []byte) error + func (v *NullableTime) Unset() + func (v NullableTime) Get() *time.Time + func (v NullableTime) IsSet() bool + func (v NullableTime) MarshalJSON() ([]byte, error) + type PerformanceView struct + AvgOriginResponseTime int32 + CacheHitRate float32 + CacheHits int32 + EndDatetime string + EndTimestamp int64 + ResponseTimeMs int32 + StartDatetime string + StartTimestamp int64 + TotalRequestTime int32 + TotalRequests int32 + Var100X int32 + Var20X int32 + Var30X int32 + Var403 int32 + Var404 int32 + Var40X int32 + Var500 int32 + Var504 int32 + Var50X int32 + Var50th int32 + Var95th int32 + Var99th int32 + func NewPerformanceView(startTimestamp int64, endTimestamp int64, startDatetime string, ...) *PerformanceView + func NewPerformanceViewWithDefaults() *PerformanceView + func (o *PerformanceView) GetAvgOriginResponseTime() int32 + func (o *PerformanceView) GetAvgOriginResponseTimeOk() (*int32, bool) + func (o *PerformanceView) GetCacheHitRate() float32 + func (o *PerformanceView) GetCacheHitRateOk() (*float32, bool) + func (o *PerformanceView) GetCacheHits() int32 + func (o *PerformanceView) GetCacheHitsOk() (*int32, bool) + func (o *PerformanceView) GetEndDatetime() string + func (o *PerformanceView) GetEndDatetimeOk() (*string, bool) + func (o *PerformanceView) GetEndTimestamp() int64 + func (o *PerformanceView) GetEndTimestampOk() (*int64, bool) + func (o *PerformanceView) GetResponseTimeMs() int32 + func (o *PerformanceView) GetResponseTimeMsOk() (*int32, bool) + func (o *PerformanceView) GetStartDatetime() string + func (o *PerformanceView) GetStartDatetimeOk() (*string, bool) + func (o *PerformanceView) GetStartTimestamp() int64 + func (o *PerformanceView) GetStartTimestampOk() (*int64, bool) + func (o *PerformanceView) GetTotalRequestTime() int32 + func (o *PerformanceView) GetTotalRequestTimeOk() (*int32, bool) + func (o *PerformanceView) GetTotalRequests() int32 + func (o *PerformanceView) GetTotalRequestsOk() (*int32, bool) + func (o *PerformanceView) GetVar100X() int32 + func (o *PerformanceView) GetVar100XOk() (*int32, bool) + func (o *PerformanceView) GetVar20X() int32 + func (o *PerformanceView) GetVar20XOk() (*int32, bool) + func (o *PerformanceView) GetVar30X() int32 + func (o *PerformanceView) GetVar30XOk() (*int32, bool) + func (o *PerformanceView) GetVar403() int32 + func (o *PerformanceView) GetVar403Ok() (*int32, bool) + func (o *PerformanceView) GetVar404() int32 + func (o *PerformanceView) GetVar404Ok() (*int32, bool) + func (o *PerformanceView) GetVar40X() int32 + func (o *PerformanceView) GetVar40XOk() (*int32, bool) + func (o *PerformanceView) GetVar500() int32 + func (o *PerformanceView) GetVar500Ok() (*int32, bool) + func (o *PerformanceView) GetVar504() int32 + func (o *PerformanceView) GetVar504Ok() (*int32, bool) + func (o *PerformanceView) GetVar50X() int32 + func (o *PerformanceView) GetVar50XOk() (*int32, bool) + func (o *PerformanceView) GetVar50th() int32 + func (o *PerformanceView) GetVar50thOk() (*int32, bool) + func (o *PerformanceView) GetVar95th() int32 + func (o *PerformanceView) GetVar95thOk() (*int32, bool) + func (o *PerformanceView) GetVar99th() int32 + func (o *PerformanceView) GetVar99thOk() (*int32, bool) + func (o *PerformanceView) SetAvgOriginResponseTime(v int32) + func (o *PerformanceView) SetCacheHitRate(v float32) + func (o *PerformanceView) SetCacheHits(v int32) + func (o *PerformanceView) SetEndDatetime(v string) + func (o *PerformanceView) SetEndTimestamp(v int64) + func (o *PerformanceView) SetResponseTimeMs(v int32) + func (o *PerformanceView) SetStartDatetime(v string) + func (o *PerformanceView) SetStartTimestamp(v int64) + func (o *PerformanceView) SetTotalRequestTime(v int32) + func (o *PerformanceView) SetTotalRequests(v int32) + func (o *PerformanceView) SetVar100X(v int32) + func (o *PerformanceView) SetVar20X(v int32) + func (o *PerformanceView) SetVar30X(v int32) + func (o *PerformanceView) SetVar403(v int32) + func (o *PerformanceView) SetVar404(v int32) + func (o *PerformanceView) SetVar40X(v int32) + func (o *PerformanceView) SetVar500(v int32) + func (o *PerformanceView) SetVar504(v int32) + func (o *PerformanceView) SetVar50X(v int32) + func (o *PerformanceView) SetVar50th(v int32) + func (o *PerformanceView) SetVar95th(v int32) + func (o *PerformanceView) SetVar99th(v int32) + func (o PerformanceView) MarshalJSON() ([]byte, error) + type PublicPerformanceApiService service + func (a *PublicPerformanceApiService) GetPage(ctx context.Context) ApiGetPageRequest + func (a *PublicPerformanceApiService) GetPageExecute(r ApiGetPageRequest) (*PublicPerformanceResponse, *http.Response, error) + func (a *PublicPerformanceApiService) GetUptime(ctx context.Context) ApiGetUptimeRequest + func (a *PublicPerformanceApiService) GetUptimeExecute(r ApiGetUptimeRequest) (*PublicPerformanceResponse, *http.Response, error) + type PublicPerformanceResponse struct + Data []PerformanceView + Domain *string + EndInterval int64 + Interval string + Path *string + Period *string + StartInterval int64 + func NewPublicPerformanceResponse(data []PerformanceView, startInterval int64, endInterval int64, ...) *PublicPerformanceResponse + func NewPublicPerformanceResponseWithDefaults() *PublicPerformanceResponse + func (o *PublicPerformanceResponse) GetData() []PerformanceView + func (o *PublicPerformanceResponse) GetDataOk() ([]PerformanceView, bool) + func (o *PublicPerformanceResponse) GetDomain() string + func (o *PublicPerformanceResponse) GetDomainOk() (*string, bool) + func (o *PublicPerformanceResponse) GetEndInterval() int64 + func (o *PublicPerformanceResponse) GetEndIntervalOk() (*int64, bool) + func (o *PublicPerformanceResponse) GetInterval() string + func (o *PublicPerformanceResponse) GetIntervalOk() (*string, bool) + func (o *PublicPerformanceResponse) GetPath() string + func (o *PublicPerformanceResponse) GetPathOk() (*string, bool) + func (o *PublicPerformanceResponse) GetPeriod() string + func (o *PublicPerformanceResponse) GetPeriodOk() (*string, bool) + func (o *PublicPerformanceResponse) GetStartInterval() int64 + func (o *PublicPerformanceResponse) GetStartIntervalOk() (*int64, bool) + func (o *PublicPerformanceResponse) HasDomain() bool + func (o *PublicPerformanceResponse) HasPath() bool + func (o *PublicPerformanceResponse) HasPeriod() bool + func (o *PublicPerformanceResponse) SetData(v []PerformanceView) + func (o *PublicPerformanceResponse) SetDomain(v string) + func (o *PublicPerformanceResponse) SetEndInterval(v int64) + func (o *PublicPerformanceResponse) SetInterval(v string) + func (o *PublicPerformanceResponse) SetPath(v string) + func (o *PublicPerformanceResponse) SetPeriod(v string) + func (o *PublicPerformanceResponse) SetStartInterval(v int64) + func (o PublicPerformanceResponse) MarshalJSON() ([]byte, error) + type ServerConfiguration struct + Description string + URL string + Variables map[string]ServerVariable + type ServerConfigurations []ServerConfiguration + func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) + type ServerVariable struct + DefaultValue string + Description string + EnumValues []string