metadata

package
v0.4.26 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for metadata API

func (*Client) Configuration

func (a *Client) Configuration(params *ConfigurationParams, opts ...ClientOption) (*ConfigurationOK, error)

Configuration configuration API

func (*Client) GetAccountDetail added in v0.4.0

func (a *Client) GetAccountDetail(params *GetAccountDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountDetailOK, error)

GetAccountDetail get account detail API

func (*Client) GetAccountMetrics added in v0.4.0

func (a *Client) GetAccountMetrics(params *GetAccountMetricsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountMetricsOK, error)

GetAccountMetrics get account metrics API

func (*Client) GetEnvironmentDetail

func (a *Client) GetEnvironmentDetail(params *GetEnvironmentDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentDetailOK, error)

GetEnvironmentDetail get environment detail API

func (*Client) GetEnvironmentMetrics added in v0.4.0

func (a *Client) GetEnvironmentMetrics(params *GetEnvironmentMetricsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentMetricsOK, error)

GetEnvironmentMetrics get environment metrics API

func (*Client) GetFrontendDetail added in v0.4.0

func (a *Client) GetFrontendDetail(params *GetFrontendDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFrontendDetailOK, error)

GetFrontendDetail get frontend detail API

func (*Client) GetShareDetail

func (a *Client) GetShareDetail(params *GetShareDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetShareDetailOK, error)

GetShareDetail get share detail API

func (*Client) GetShareMetrics added in v0.4.0

func (a *Client) GetShareMetrics(params *GetShareMetricsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetShareMetricsOK, error)

GetShareMetrics get share metrics API

func (*Client) Overview

func (a *Client) Overview(params *OverviewParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OverviewOK, error)

Overview overview API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) Version

func (a *Client) Version(params *VersionParams, opts ...ClientOption) (*VersionOK, error)

Version version API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	Configuration(params *ConfigurationParams, opts ...ClientOption) (*ConfigurationOK, error)

	GetAccountDetail(params *GetAccountDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountDetailOK, error)

	GetAccountMetrics(params *GetAccountMetricsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountMetricsOK, error)

	GetEnvironmentDetail(params *GetEnvironmentDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentDetailOK, error)

	GetEnvironmentMetrics(params *GetEnvironmentMetricsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentMetricsOK, error)

	GetFrontendDetail(params *GetFrontendDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFrontendDetailOK, error)

	GetShareDetail(params *GetShareDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetShareDetailOK, error)

	GetShareMetrics(params *GetShareMetricsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetShareMetricsOK, error)

	Overview(params *OverviewParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OverviewOK, error)

	Version(params *VersionParams, opts ...ClientOption) (*VersionOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new metadata API client.

type ConfigurationOK

type ConfigurationOK struct {
	Payload *rest_model_zrok.Configuration
}

ConfigurationOK describes a response with status code 200, with default header values.

current configuration

func NewConfigurationOK

func NewConfigurationOK() *ConfigurationOK

NewConfigurationOK creates a ConfigurationOK with default headers values

func (*ConfigurationOK) Code added in v0.4.19

func (o *ConfigurationOK) Code() int

Code gets the status code for the configuration o k response

func (*ConfigurationOK) Error

func (o *ConfigurationOK) Error() string

func (*ConfigurationOK) GetPayload

func (*ConfigurationOK) IsClientError

func (o *ConfigurationOK) IsClientError() bool

IsClientError returns true when this configuration o k response has a 4xx status code

func (*ConfigurationOK) IsCode

func (o *ConfigurationOK) IsCode(code int) bool

IsCode returns true when this configuration o k response a status code equal to that given

func (*ConfigurationOK) IsRedirect

func (o *ConfigurationOK) IsRedirect() bool

IsRedirect returns true when this configuration o k response has a 3xx status code

func (*ConfigurationOK) IsServerError

func (o *ConfigurationOK) IsServerError() bool

IsServerError returns true when this configuration o k response has a 5xx status code

func (*ConfigurationOK) IsSuccess

func (o *ConfigurationOK) IsSuccess() bool

IsSuccess returns true when this configuration o k response has a 2xx status code

func (*ConfigurationOK) String

func (o *ConfigurationOK) String() string

type ConfigurationParams

type ConfigurationParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ConfigurationParams contains all the parameters to send to the API endpoint

for the configuration operation.

Typically these are written to a http.Request.

func NewConfigurationParams

func NewConfigurationParams() *ConfigurationParams

NewConfigurationParams creates a new ConfigurationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewConfigurationParamsWithContext

func NewConfigurationParamsWithContext(ctx context.Context) *ConfigurationParams

NewConfigurationParamsWithContext creates a new ConfigurationParams object with the ability to set a context for a request.

func NewConfigurationParamsWithHTTPClient

func NewConfigurationParamsWithHTTPClient(client *http.Client) *ConfigurationParams

NewConfigurationParamsWithHTTPClient creates a new ConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewConfigurationParamsWithTimeout

func NewConfigurationParamsWithTimeout(timeout time.Duration) *ConfigurationParams

NewConfigurationParamsWithTimeout creates a new ConfigurationParams object with the ability to set a timeout on a request.

func (*ConfigurationParams) SetContext

func (o *ConfigurationParams) SetContext(ctx context.Context)

SetContext adds the context to the configuration params

func (*ConfigurationParams) SetDefaults

func (o *ConfigurationParams) SetDefaults()

SetDefaults hydrates default values in the configuration params (not the query body).

All values with no default are reset to their zero value.

func (*ConfigurationParams) SetHTTPClient

func (o *ConfigurationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the configuration params

func (*ConfigurationParams) SetTimeout

func (o *ConfigurationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the configuration params

func (*ConfigurationParams) WithContext

WithContext adds the context to the configuration params

func (*ConfigurationParams) WithDefaults

func (o *ConfigurationParams) WithDefaults() *ConfigurationParams

WithDefaults hydrates default values in the configuration params (not the query body).

All values with no default are reset to their zero value.

func (*ConfigurationParams) WithHTTPClient

func (o *ConfigurationParams) WithHTTPClient(client *http.Client) *ConfigurationParams

WithHTTPClient adds the HTTPClient to the configuration params

func (*ConfigurationParams) WithTimeout

func (o *ConfigurationParams) WithTimeout(timeout time.Duration) *ConfigurationParams

WithTimeout adds the timeout to the configuration params

func (*ConfigurationParams) WriteToRequest

func (o *ConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ConfigurationReader

type ConfigurationReader struct {
	// contains filtered or unexported fields
}

ConfigurationReader is a Reader for the Configuration structure.

func (*ConfigurationReader) ReadResponse

func (o *ConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAccountDetailInternalServerError added in v0.4.0

type GetAccountDetailInternalServerError struct {
}

GetAccountDetailInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewGetAccountDetailInternalServerError added in v0.4.0

func NewGetAccountDetailInternalServerError() *GetAccountDetailInternalServerError

NewGetAccountDetailInternalServerError creates a GetAccountDetailInternalServerError with default headers values

func (*GetAccountDetailInternalServerError) Code added in v0.4.19

Code gets the status code for the get account detail internal server error response

func (*GetAccountDetailInternalServerError) Error added in v0.4.0

func (*GetAccountDetailInternalServerError) IsClientError added in v0.4.0

func (o *GetAccountDetailInternalServerError) IsClientError() bool

IsClientError returns true when this get account detail internal server error response has a 4xx status code

func (*GetAccountDetailInternalServerError) IsCode added in v0.4.0

IsCode returns true when this get account detail internal server error response a status code equal to that given

func (*GetAccountDetailInternalServerError) IsRedirect added in v0.4.0

func (o *GetAccountDetailInternalServerError) IsRedirect() bool

IsRedirect returns true when this get account detail internal server error response has a 3xx status code

func (*GetAccountDetailInternalServerError) IsServerError added in v0.4.0

func (o *GetAccountDetailInternalServerError) IsServerError() bool

IsServerError returns true when this get account detail internal server error response has a 5xx status code

func (*GetAccountDetailInternalServerError) IsSuccess added in v0.4.0

IsSuccess returns true when this get account detail internal server error response has a 2xx status code

func (*GetAccountDetailInternalServerError) String added in v0.4.0

type GetAccountDetailOK added in v0.4.0

type GetAccountDetailOK struct {
	Payload rest_model_zrok.Environments
}

GetAccountDetailOK describes a response with status code 200, with default header values.

ok

func NewGetAccountDetailOK added in v0.4.0

func NewGetAccountDetailOK() *GetAccountDetailOK

NewGetAccountDetailOK creates a GetAccountDetailOK with default headers values

func (*GetAccountDetailOK) Code added in v0.4.19

func (o *GetAccountDetailOK) Code() int

Code gets the status code for the get account detail o k response

func (*GetAccountDetailOK) Error added in v0.4.0

func (o *GetAccountDetailOK) Error() string

func (*GetAccountDetailOK) GetPayload added in v0.4.0

func (*GetAccountDetailOK) IsClientError added in v0.4.0

func (o *GetAccountDetailOK) IsClientError() bool

IsClientError returns true when this get account detail o k response has a 4xx status code

func (*GetAccountDetailOK) IsCode added in v0.4.0

func (o *GetAccountDetailOK) IsCode(code int) bool

IsCode returns true when this get account detail o k response a status code equal to that given

func (*GetAccountDetailOK) IsRedirect added in v0.4.0

func (o *GetAccountDetailOK) IsRedirect() bool

IsRedirect returns true when this get account detail o k response has a 3xx status code

func (*GetAccountDetailOK) IsServerError added in v0.4.0

func (o *GetAccountDetailOK) IsServerError() bool

IsServerError returns true when this get account detail o k response has a 5xx status code

func (*GetAccountDetailOK) IsSuccess added in v0.4.0

func (o *GetAccountDetailOK) IsSuccess() bool

IsSuccess returns true when this get account detail o k response has a 2xx status code

func (*GetAccountDetailOK) String added in v0.4.0

func (o *GetAccountDetailOK) String() string

type GetAccountDetailParams added in v0.4.0

type GetAccountDetailParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAccountDetailParams contains all the parameters to send to the API endpoint

for the get account detail operation.

Typically these are written to a http.Request.

func NewGetAccountDetailParams added in v0.4.0

func NewGetAccountDetailParams() *GetAccountDetailParams

NewGetAccountDetailParams creates a new GetAccountDetailParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAccountDetailParamsWithContext added in v0.4.0

func NewGetAccountDetailParamsWithContext(ctx context.Context) *GetAccountDetailParams

NewGetAccountDetailParamsWithContext creates a new GetAccountDetailParams object with the ability to set a context for a request.

func NewGetAccountDetailParamsWithHTTPClient added in v0.4.0

func NewGetAccountDetailParamsWithHTTPClient(client *http.Client) *GetAccountDetailParams

NewGetAccountDetailParamsWithHTTPClient creates a new GetAccountDetailParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountDetailParamsWithTimeout added in v0.4.0

func NewGetAccountDetailParamsWithTimeout(timeout time.Duration) *GetAccountDetailParams

NewGetAccountDetailParamsWithTimeout creates a new GetAccountDetailParams object with the ability to set a timeout on a request.

func (*GetAccountDetailParams) SetContext added in v0.4.0

func (o *GetAccountDetailParams) SetContext(ctx context.Context)

SetContext adds the context to the get account detail params

func (*GetAccountDetailParams) SetDefaults added in v0.4.0

func (o *GetAccountDetailParams) SetDefaults()

SetDefaults hydrates default values in the get account detail params (not the query body).

All values with no default are reset to their zero value.

func (*GetAccountDetailParams) SetHTTPClient added in v0.4.0

func (o *GetAccountDetailParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get account detail params

func (*GetAccountDetailParams) SetTimeout added in v0.4.0

func (o *GetAccountDetailParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get account detail params

func (*GetAccountDetailParams) WithContext added in v0.4.0

WithContext adds the context to the get account detail params

func (*GetAccountDetailParams) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the get account detail params (not the query body).

All values with no default are reset to their zero value.

func (*GetAccountDetailParams) WithHTTPClient added in v0.4.0

func (o *GetAccountDetailParams) WithHTTPClient(client *http.Client) *GetAccountDetailParams

WithHTTPClient adds the HTTPClient to the get account detail params

func (*GetAccountDetailParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get account detail params

func (*GetAccountDetailParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetAccountDetailReader added in v0.4.0

type GetAccountDetailReader struct {
	// contains filtered or unexported fields
}

GetAccountDetailReader is a Reader for the GetAccountDetail structure.

func (*GetAccountDetailReader) ReadResponse added in v0.4.0

func (o *GetAccountDetailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAccountMetricsBadRequest added in v0.4.0

type GetAccountMetricsBadRequest struct {
}

GetAccountMetricsBadRequest describes a response with status code 400, with default header values.

bad request

func NewGetAccountMetricsBadRequest added in v0.4.0

func NewGetAccountMetricsBadRequest() *GetAccountMetricsBadRequest

NewGetAccountMetricsBadRequest creates a GetAccountMetricsBadRequest with default headers values

func (*GetAccountMetricsBadRequest) Code added in v0.4.19

func (o *GetAccountMetricsBadRequest) Code() int

Code gets the status code for the get account metrics bad request response

func (*GetAccountMetricsBadRequest) Error added in v0.4.0

func (*GetAccountMetricsBadRequest) IsClientError added in v0.4.0

func (o *GetAccountMetricsBadRequest) IsClientError() bool

IsClientError returns true when this get account metrics bad request response has a 4xx status code

func (*GetAccountMetricsBadRequest) IsCode added in v0.4.0

func (o *GetAccountMetricsBadRequest) IsCode(code int) bool

IsCode returns true when this get account metrics bad request response a status code equal to that given

func (*GetAccountMetricsBadRequest) IsRedirect added in v0.4.0

func (o *GetAccountMetricsBadRequest) IsRedirect() bool

IsRedirect returns true when this get account metrics bad request response has a 3xx status code

func (*GetAccountMetricsBadRequest) IsServerError added in v0.4.0

func (o *GetAccountMetricsBadRequest) IsServerError() bool

IsServerError returns true when this get account metrics bad request response has a 5xx status code

func (*GetAccountMetricsBadRequest) IsSuccess added in v0.4.0

func (o *GetAccountMetricsBadRequest) IsSuccess() bool

IsSuccess returns true when this get account metrics bad request response has a 2xx status code

func (*GetAccountMetricsBadRequest) String added in v0.4.0

func (o *GetAccountMetricsBadRequest) String() string

type GetAccountMetricsInternalServerError added in v0.4.0

type GetAccountMetricsInternalServerError struct {
}

GetAccountMetricsInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewGetAccountMetricsInternalServerError added in v0.4.0

func NewGetAccountMetricsInternalServerError() *GetAccountMetricsInternalServerError

NewGetAccountMetricsInternalServerError creates a GetAccountMetricsInternalServerError with default headers values

func (*GetAccountMetricsInternalServerError) Code added in v0.4.19

Code gets the status code for the get account metrics internal server error response

func (*GetAccountMetricsInternalServerError) Error added in v0.4.0

func (*GetAccountMetricsInternalServerError) IsClientError added in v0.4.0

func (o *GetAccountMetricsInternalServerError) IsClientError() bool

IsClientError returns true when this get account metrics internal server error response has a 4xx status code

func (*GetAccountMetricsInternalServerError) IsCode added in v0.4.0

IsCode returns true when this get account metrics internal server error response a status code equal to that given

func (*GetAccountMetricsInternalServerError) IsRedirect added in v0.4.0

IsRedirect returns true when this get account metrics internal server error response has a 3xx status code

func (*GetAccountMetricsInternalServerError) IsServerError added in v0.4.0

func (o *GetAccountMetricsInternalServerError) IsServerError() bool

IsServerError returns true when this get account metrics internal server error response has a 5xx status code

func (*GetAccountMetricsInternalServerError) IsSuccess added in v0.4.0

IsSuccess returns true when this get account metrics internal server error response has a 2xx status code

func (*GetAccountMetricsInternalServerError) String added in v0.4.0

type GetAccountMetricsOK added in v0.4.0

type GetAccountMetricsOK struct {
	Payload *rest_model_zrok.Metrics
}

GetAccountMetricsOK describes a response with status code 200, with default header values.

account metrics

func NewGetAccountMetricsOK added in v0.4.0

func NewGetAccountMetricsOK() *GetAccountMetricsOK

NewGetAccountMetricsOK creates a GetAccountMetricsOK with default headers values

func (*GetAccountMetricsOK) Code added in v0.4.19

func (o *GetAccountMetricsOK) Code() int

Code gets the status code for the get account metrics o k response

func (*GetAccountMetricsOK) Error added in v0.4.0

func (o *GetAccountMetricsOK) Error() string

func (*GetAccountMetricsOK) GetPayload added in v0.4.0

func (o *GetAccountMetricsOK) GetPayload() *rest_model_zrok.Metrics

func (*GetAccountMetricsOK) IsClientError added in v0.4.0

func (o *GetAccountMetricsOK) IsClientError() bool

IsClientError returns true when this get account metrics o k response has a 4xx status code

func (*GetAccountMetricsOK) IsCode added in v0.4.0

func (o *GetAccountMetricsOK) IsCode(code int) bool

IsCode returns true when this get account metrics o k response a status code equal to that given

func (*GetAccountMetricsOK) IsRedirect added in v0.4.0

func (o *GetAccountMetricsOK) IsRedirect() bool

IsRedirect returns true when this get account metrics o k response has a 3xx status code

func (*GetAccountMetricsOK) IsServerError added in v0.4.0

func (o *GetAccountMetricsOK) IsServerError() bool

IsServerError returns true when this get account metrics o k response has a 5xx status code

func (*GetAccountMetricsOK) IsSuccess added in v0.4.0

func (o *GetAccountMetricsOK) IsSuccess() bool

IsSuccess returns true when this get account metrics o k response has a 2xx status code

func (*GetAccountMetricsOK) String added in v0.4.0

func (o *GetAccountMetricsOK) String() string

type GetAccountMetricsParams added in v0.4.0

type GetAccountMetricsParams struct {

	// Duration.
	Duration *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAccountMetricsParams contains all the parameters to send to the API endpoint

for the get account metrics operation.

Typically these are written to a http.Request.

func NewGetAccountMetricsParams added in v0.4.0

func NewGetAccountMetricsParams() *GetAccountMetricsParams

NewGetAccountMetricsParams creates a new GetAccountMetricsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAccountMetricsParamsWithContext added in v0.4.0

func NewGetAccountMetricsParamsWithContext(ctx context.Context) *GetAccountMetricsParams

NewGetAccountMetricsParamsWithContext creates a new GetAccountMetricsParams object with the ability to set a context for a request.

func NewGetAccountMetricsParamsWithHTTPClient added in v0.4.0

func NewGetAccountMetricsParamsWithHTTPClient(client *http.Client) *GetAccountMetricsParams

NewGetAccountMetricsParamsWithHTTPClient creates a new GetAccountMetricsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountMetricsParamsWithTimeout added in v0.4.0

func NewGetAccountMetricsParamsWithTimeout(timeout time.Duration) *GetAccountMetricsParams

NewGetAccountMetricsParamsWithTimeout creates a new GetAccountMetricsParams object with the ability to set a timeout on a request.

func (*GetAccountMetricsParams) SetContext added in v0.4.0

func (o *GetAccountMetricsParams) SetContext(ctx context.Context)

SetContext adds the context to the get account metrics params

func (*GetAccountMetricsParams) SetDefaults added in v0.4.0

func (o *GetAccountMetricsParams) SetDefaults()

SetDefaults hydrates default values in the get account metrics params (not the query body).

All values with no default are reset to their zero value.

func (*GetAccountMetricsParams) SetDuration added in v0.4.0

func (o *GetAccountMetricsParams) SetDuration(duration *string)

SetDuration adds the duration to the get account metrics params

func (*GetAccountMetricsParams) SetHTTPClient added in v0.4.0

func (o *GetAccountMetricsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get account metrics params

func (*GetAccountMetricsParams) SetTimeout added in v0.4.0

func (o *GetAccountMetricsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get account metrics params

func (*GetAccountMetricsParams) WithContext added in v0.4.0

WithContext adds the context to the get account metrics params

func (*GetAccountMetricsParams) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the get account metrics params (not the query body).

All values with no default are reset to their zero value.

func (*GetAccountMetricsParams) WithDuration added in v0.4.0

func (o *GetAccountMetricsParams) WithDuration(duration *string) *GetAccountMetricsParams

WithDuration adds the duration to the get account metrics params

func (*GetAccountMetricsParams) WithHTTPClient added in v0.4.0

func (o *GetAccountMetricsParams) WithHTTPClient(client *http.Client) *GetAccountMetricsParams

WithHTTPClient adds the HTTPClient to the get account metrics params

func (*GetAccountMetricsParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get account metrics params

func (*GetAccountMetricsParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetAccountMetricsReader added in v0.4.0

type GetAccountMetricsReader struct {
	// contains filtered or unexported fields
}

GetAccountMetricsReader is a Reader for the GetAccountMetrics structure.

func (*GetAccountMetricsReader) ReadResponse added in v0.4.0

func (o *GetAccountMetricsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEnvironmentDetailInternalServerError

type GetEnvironmentDetailInternalServerError struct {
}

GetEnvironmentDetailInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewGetEnvironmentDetailInternalServerError

func NewGetEnvironmentDetailInternalServerError() *GetEnvironmentDetailInternalServerError

NewGetEnvironmentDetailInternalServerError creates a GetEnvironmentDetailInternalServerError with default headers values

func (*GetEnvironmentDetailInternalServerError) Code added in v0.4.19

Code gets the status code for the get environment detail internal server error response

func (*GetEnvironmentDetailInternalServerError) Error

func (*GetEnvironmentDetailInternalServerError) IsClientError

func (o *GetEnvironmentDetailInternalServerError) IsClientError() bool

IsClientError returns true when this get environment detail internal server error response has a 4xx status code

func (*GetEnvironmentDetailInternalServerError) IsCode

IsCode returns true when this get environment detail internal server error response a status code equal to that given

func (*GetEnvironmentDetailInternalServerError) IsRedirect

IsRedirect returns true when this get environment detail internal server error response has a 3xx status code

func (*GetEnvironmentDetailInternalServerError) IsServerError

func (o *GetEnvironmentDetailInternalServerError) IsServerError() bool

IsServerError returns true when this get environment detail internal server error response has a 5xx status code

func (*GetEnvironmentDetailInternalServerError) IsSuccess

IsSuccess returns true when this get environment detail internal server error response has a 2xx status code

func (*GetEnvironmentDetailInternalServerError) String

type GetEnvironmentDetailNotFound

type GetEnvironmentDetailNotFound struct {
}

GetEnvironmentDetailNotFound describes a response with status code 404, with default header values.

not found

func NewGetEnvironmentDetailNotFound

func NewGetEnvironmentDetailNotFound() *GetEnvironmentDetailNotFound

NewGetEnvironmentDetailNotFound creates a GetEnvironmentDetailNotFound with default headers values

func (*GetEnvironmentDetailNotFound) Code added in v0.4.19

Code gets the status code for the get environment detail not found response

func (*GetEnvironmentDetailNotFound) Error

func (*GetEnvironmentDetailNotFound) IsClientError

func (o *GetEnvironmentDetailNotFound) IsClientError() bool

IsClientError returns true when this get environment detail not found response has a 4xx status code

func (*GetEnvironmentDetailNotFound) IsCode

func (o *GetEnvironmentDetailNotFound) IsCode(code int) bool

IsCode returns true when this get environment detail not found response a status code equal to that given

func (*GetEnvironmentDetailNotFound) IsRedirect

func (o *GetEnvironmentDetailNotFound) IsRedirect() bool

IsRedirect returns true when this get environment detail not found response has a 3xx status code

func (*GetEnvironmentDetailNotFound) IsServerError

func (o *GetEnvironmentDetailNotFound) IsServerError() bool

IsServerError returns true when this get environment detail not found response has a 5xx status code

func (*GetEnvironmentDetailNotFound) IsSuccess

func (o *GetEnvironmentDetailNotFound) IsSuccess() bool

IsSuccess returns true when this get environment detail not found response has a 2xx status code

func (*GetEnvironmentDetailNotFound) String

type GetEnvironmentDetailOK

type GetEnvironmentDetailOK struct {
	Payload *rest_model_zrok.EnvironmentAndResources
}

GetEnvironmentDetailOK describes a response with status code 200, with default header values.

ok

func NewGetEnvironmentDetailOK

func NewGetEnvironmentDetailOK() *GetEnvironmentDetailOK

NewGetEnvironmentDetailOK creates a GetEnvironmentDetailOK with default headers values

func (*GetEnvironmentDetailOK) Code added in v0.4.19

func (o *GetEnvironmentDetailOK) Code() int

Code gets the status code for the get environment detail o k response

func (*GetEnvironmentDetailOK) Error

func (o *GetEnvironmentDetailOK) Error() string

func (*GetEnvironmentDetailOK) GetPayload

func (*GetEnvironmentDetailOK) IsClientError

func (o *GetEnvironmentDetailOK) IsClientError() bool

IsClientError returns true when this get environment detail o k response has a 4xx status code

func (*GetEnvironmentDetailOK) IsCode

func (o *GetEnvironmentDetailOK) IsCode(code int) bool

IsCode returns true when this get environment detail o k response a status code equal to that given

func (*GetEnvironmentDetailOK) IsRedirect

func (o *GetEnvironmentDetailOK) IsRedirect() bool

IsRedirect returns true when this get environment detail o k response has a 3xx status code

func (*GetEnvironmentDetailOK) IsServerError

func (o *GetEnvironmentDetailOK) IsServerError() bool

IsServerError returns true when this get environment detail o k response has a 5xx status code

func (*GetEnvironmentDetailOK) IsSuccess

func (o *GetEnvironmentDetailOK) IsSuccess() bool

IsSuccess returns true when this get environment detail o k response has a 2xx status code

func (*GetEnvironmentDetailOK) String

func (o *GetEnvironmentDetailOK) String() string

type GetEnvironmentDetailParams

type GetEnvironmentDetailParams struct {

	// EnvZID.
	EnvZID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEnvironmentDetailParams contains all the parameters to send to the API endpoint

for the get environment detail operation.

Typically these are written to a http.Request.

func NewGetEnvironmentDetailParams

func NewGetEnvironmentDetailParams() *GetEnvironmentDetailParams

NewGetEnvironmentDetailParams creates a new GetEnvironmentDetailParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEnvironmentDetailParamsWithContext

func NewGetEnvironmentDetailParamsWithContext(ctx context.Context) *GetEnvironmentDetailParams

NewGetEnvironmentDetailParamsWithContext creates a new GetEnvironmentDetailParams object with the ability to set a context for a request.

func NewGetEnvironmentDetailParamsWithHTTPClient

func NewGetEnvironmentDetailParamsWithHTTPClient(client *http.Client) *GetEnvironmentDetailParams

NewGetEnvironmentDetailParamsWithHTTPClient creates a new GetEnvironmentDetailParams object with the ability to set a custom HTTPClient for a request.

func NewGetEnvironmentDetailParamsWithTimeout

func NewGetEnvironmentDetailParamsWithTimeout(timeout time.Duration) *GetEnvironmentDetailParams

NewGetEnvironmentDetailParamsWithTimeout creates a new GetEnvironmentDetailParams object with the ability to set a timeout on a request.

func (*GetEnvironmentDetailParams) SetContext

func (o *GetEnvironmentDetailParams) SetContext(ctx context.Context)

SetContext adds the context to the get environment detail params

func (*GetEnvironmentDetailParams) SetDefaults

func (o *GetEnvironmentDetailParams) SetDefaults()

SetDefaults hydrates default values in the get environment detail params (not the query body).

All values with no default are reset to their zero value.

func (*GetEnvironmentDetailParams) SetEnvZID

func (o *GetEnvironmentDetailParams) SetEnvZID(envZID string)

SetEnvZID adds the envZId to the get environment detail params

func (*GetEnvironmentDetailParams) SetHTTPClient

func (o *GetEnvironmentDetailParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get environment detail params

func (*GetEnvironmentDetailParams) SetTimeout

func (o *GetEnvironmentDetailParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get environment detail params

func (*GetEnvironmentDetailParams) WithContext

WithContext adds the context to the get environment detail params

func (*GetEnvironmentDetailParams) WithDefaults

WithDefaults hydrates default values in the get environment detail params (not the query body).

All values with no default are reset to their zero value.

func (*GetEnvironmentDetailParams) WithEnvZID

WithEnvZID adds the envZID to the get environment detail params

func (*GetEnvironmentDetailParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get environment detail params

func (*GetEnvironmentDetailParams) WithTimeout

WithTimeout adds the timeout to the get environment detail params

func (*GetEnvironmentDetailParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEnvironmentDetailReader

type GetEnvironmentDetailReader struct {
	// contains filtered or unexported fields
}

GetEnvironmentDetailReader is a Reader for the GetEnvironmentDetail structure.

func (*GetEnvironmentDetailReader) ReadResponse

func (o *GetEnvironmentDetailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEnvironmentDetailUnauthorized

type GetEnvironmentDetailUnauthorized struct {
}

GetEnvironmentDetailUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewGetEnvironmentDetailUnauthorized

func NewGetEnvironmentDetailUnauthorized() *GetEnvironmentDetailUnauthorized

NewGetEnvironmentDetailUnauthorized creates a GetEnvironmentDetailUnauthorized with default headers values

func (*GetEnvironmentDetailUnauthorized) Code added in v0.4.19

Code gets the status code for the get environment detail unauthorized response

func (*GetEnvironmentDetailUnauthorized) Error

func (*GetEnvironmentDetailUnauthorized) IsClientError

func (o *GetEnvironmentDetailUnauthorized) IsClientError() bool

IsClientError returns true when this get environment detail unauthorized response has a 4xx status code

func (*GetEnvironmentDetailUnauthorized) IsCode

func (o *GetEnvironmentDetailUnauthorized) IsCode(code int) bool

IsCode returns true when this get environment detail unauthorized response a status code equal to that given

func (*GetEnvironmentDetailUnauthorized) IsRedirect

func (o *GetEnvironmentDetailUnauthorized) IsRedirect() bool

IsRedirect returns true when this get environment detail unauthorized response has a 3xx status code

func (*GetEnvironmentDetailUnauthorized) IsServerError

func (o *GetEnvironmentDetailUnauthorized) IsServerError() bool

IsServerError returns true when this get environment detail unauthorized response has a 5xx status code

func (*GetEnvironmentDetailUnauthorized) IsSuccess

func (o *GetEnvironmentDetailUnauthorized) IsSuccess() bool

IsSuccess returns true when this get environment detail unauthorized response has a 2xx status code

func (*GetEnvironmentDetailUnauthorized) String

type GetEnvironmentMetricsBadRequest added in v0.4.0

type GetEnvironmentMetricsBadRequest struct {
}

GetEnvironmentMetricsBadRequest describes a response with status code 400, with default header values.

bad request

func NewGetEnvironmentMetricsBadRequest added in v0.4.0

func NewGetEnvironmentMetricsBadRequest() *GetEnvironmentMetricsBadRequest

NewGetEnvironmentMetricsBadRequest creates a GetEnvironmentMetricsBadRequest with default headers values

func (*GetEnvironmentMetricsBadRequest) Code added in v0.4.19

Code gets the status code for the get environment metrics bad request response

func (*GetEnvironmentMetricsBadRequest) Error added in v0.4.0

func (*GetEnvironmentMetricsBadRequest) IsClientError added in v0.4.0

func (o *GetEnvironmentMetricsBadRequest) IsClientError() bool

IsClientError returns true when this get environment metrics bad request response has a 4xx status code

func (*GetEnvironmentMetricsBadRequest) IsCode added in v0.4.0

func (o *GetEnvironmentMetricsBadRequest) IsCode(code int) bool

IsCode returns true when this get environment metrics bad request response a status code equal to that given

func (*GetEnvironmentMetricsBadRequest) IsRedirect added in v0.4.0

func (o *GetEnvironmentMetricsBadRequest) IsRedirect() bool

IsRedirect returns true when this get environment metrics bad request response has a 3xx status code

func (*GetEnvironmentMetricsBadRequest) IsServerError added in v0.4.0

func (o *GetEnvironmentMetricsBadRequest) IsServerError() bool

IsServerError returns true when this get environment metrics bad request response has a 5xx status code

func (*GetEnvironmentMetricsBadRequest) IsSuccess added in v0.4.0

func (o *GetEnvironmentMetricsBadRequest) IsSuccess() bool

IsSuccess returns true when this get environment metrics bad request response has a 2xx status code

func (*GetEnvironmentMetricsBadRequest) String added in v0.4.0

type GetEnvironmentMetricsInternalServerError added in v0.4.0

type GetEnvironmentMetricsInternalServerError struct {
}

GetEnvironmentMetricsInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewGetEnvironmentMetricsInternalServerError added in v0.4.0

func NewGetEnvironmentMetricsInternalServerError() *GetEnvironmentMetricsInternalServerError

NewGetEnvironmentMetricsInternalServerError creates a GetEnvironmentMetricsInternalServerError with default headers values

func (*GetEnvironmentMetricsInternalServerError) Code added in v0.4.19

Code gets the status code for the get environment metrics internal server error response

func (*GetEnvironmentMetricsInternalServerError) Error added in v0.4.0

func (*GetEnvironmentMetricsInternalServerError) IsClientError added in v0.4.0

IsClientError returns true when this get environment metrics internal server error response has a 4xx status code

func (*GetEnvironmentMetricsInternalServerError) IsCode added in v0.4.0

IsCode returns true when this get environment metrics internal server error response a status code equal to that given

func (*GetEnvironmentMetricsInternalServerError) IsRedirect added in v0.4.0

IsRedirect returns true when this get environment metrics internal server error response has a 3xx status code

func (*GetEnvironmentMetricsInternalServerError) IsServerError added in v0.4.0

IsServerError returns true when this get environment metrics internal server error response has a 5xx status code

func (*GetEnvironmentMetricsInternalServerError) IsSuccess added in v0.4.0

IsSuccess returns true when this get environment metrics internal server error response has a 2xx status code

func (*GetEnvironmentMetricsInternalServerError) String added in v0.4.0

type GetEnvironmentMetricsOK added in v0.4.0

type GetEnvironmentMetricsOK struct {
	Payload *rest_model_zrok.Metrics
}

GetEnvironmentMetricsOK describes a response with status code 200, with default header values.

environment metrics

func NewGetEnvironmentMetricsOK added in v0.4.0

func NewGetEnvironmentMetricsOK() *GetEnvironmentMetricsOK

NewGetEnvironmentMetricsOK creates a GetEnvironmentMetricsOK with default headers values

func (*GetEnvironmentMetricsOK) Code added in v0.4.19

func (o *GetEnvironmentMetricsOK) Code() int

Code gets the status code for the get environment metrics o k response

func (*GetEnvironmentMetricsOK) Error added in v0.4.0

func (o *GetEnvironmentMetricsOK) Error() string

func (*GetEnvironmentMetricsOK) GetPayload added in v0.4.0

func (*GetEnvironmentMetricsOK) IsClientError added in v0.4.0

func (o *GetEnvironmentMetricsOK) IsClientError() bool

IsClientError returns true when this get environment metrics o k response has a 4xx status code

func (*GetEnvironmentMetricsOK) IsCode added in v0.4.0

func (o *GetEnvironmentMetricsOK) IsCode(code int) bool

IsCode returns true when this get environment metrics o k response a status code equal to that given

func (*GetEnvironmentMetricsOK) IsRedirect added in v0.4.0

func (o *GetEnvironmentMetricsOK) IsRedirect() bool

IsRedirect returns true when this get environment metrics o k response has a 3xx status code

func (*GetEnvironmentMetricsOK) IsServerError added in v0.4.0

func (o *GetEnvironmentMetricsOK) IsServerError() bool

IsServerError returns true when this get environment metrics o k response has a 5xx status code

func (*GetEnvironmentMetricsOK) IsSuccess added in v0.4.0

func (o *GetEnvironmentMetricsOK) IsSuccess() bool

IsSuccess returns true when this get environment metrics o k response has a 2xx status code

func (*GetEnvironmentMetricsOK) String added in v0.4.0

func (o *GetEnvironmentMetricsOK) String() string

type GetEnvironmentMetricsParams added in v0.4.0

type GetEnvironmentMetricsParams struct {

	// Duration.
	Duration *string

	// EnvID.
	EnvID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEnvironmentMetricsParams contains all the parameters to send to the API endpoint

for the get environment metrics operation.

Typically these are written to a http.Request.

func NewGetEnvironmentMetricsParams added in v0.4.0

func NewGetEnvironmentMetricsParams() *GetEnvironmentMetricsParams

NewGetEnvironmentMetricsParams creates a new GetEnvironmentMetricsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEnvironmentMetricsParamsWithContext added in v0.4.0

func NewGetEnvironmentMetricsParamsWithContext(ctx context.Context) *GetEnvironmentMetricsParams

NewGetEnvironmentMetricsParamsWithContext creates a new GetEnvironmentMetricsParams object with the ability to set a context for a request.

func NewGetEnvironmentMetricsParamsWithHTTPClient added in v0.4.0

func NewGetEnvironmentMetricsParamsWithHTTPClient(client *http.Client) *GetEnvironmentMetricsParams

NewGetEnvironmentMetricsParamsWithHTTPClient creates a new GetEnvironmentMetricsParams object with the ability to set a custom HTTPClient for a request.

func NewGetEnvironmentMetricsParamsWithTimeout added in v0.4.0

func NewGetEnvironmentMetricsParamsWithTimeout(timeout time.Duration) *GetEnvironmentMetricsParams

NewGetEnvironmentMetricsParamsWithTimeout creates a new GetEnvironmentMetricsParams object with the ability to set a timeout on a request.

func (*GetEnvironmentMetricsParams) SetContext added in v0.4.0

func (o *GetEnvironmentMetricsParams) SetContext(ctx context.Context)

SetContext adds the context to the get environment metrics params

func (*GetEnvironmentMetricsParams) SetDefaults added in v0.4.0

func (o *GetEnvironmentMetricsParams) SetDefaults()

SetDefaults hydrates default values in the get environment metrics params (not the query body).

All values with no default are reset to their zero value.

func (*GetEnvironmentMetricsParams) SetDuration added in v0.4.0

func (o *GetEnvironmentMetricsParams) SetDuration(duration *string)

SetDuration adds the duration to the get environment metrics params

func (*GetEnvironmentMetricsParams) SetEnvID added in v0.4.0

func (o *GetEnvironmentMetricsParams) SetEnvID(envID string)

SetEnvID adds the envId to the get environment metrics params

func (*GetEnvironmentMetricsParams) SetHTTPClient added in v0.4.0

func (o *GetEnvironmentMetricsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get environment metrics params

func (*GetEnvironmentMetricsParams) SetTimeout added in v0.4.0

func (o *GetEnvironmentMetricsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get environment metrics params

func (*GetEnvironmentMetricsParams) WithContext added in v0.4.0

WithContext adds the context to the get environment metrics params

func (*GetEnvironmentMetricsParams) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the get environment metrics params (not the query body).

All values with no default are reset to their zero value.

func (*GetEnvironmentMetricsParams) WithDuration added in v0.4.0

WithDuration adds the duration to the get environment metrics params

func (*GetEnvironmentMetricsParams) WithEnvID added in v0.4.0

WithEnvID adds the envID to the get environment metrics params

func (*GetEnvironmentMetricsParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the get environment metrics params

func (*GetEnvironmentMetricsParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get environment metrics params

func (*GetEnvironmentMetricsParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetEnvironmentMetricsReader added in v0.4.0

type GetEnvironmentMetricsReader struct {
	// contains filtered or unexported fields
}

GetEnvironmentMetricsReader is a Reader for the GetEnvironmentMetrics structure.

func (*GetEnvironmentMetricsReader) ReadResponse added in v0.4.0

func (o *GetEnvironmentMetricsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEnvironmentMetricsUnauthorized added in v0.4.0

type GetEnvironmentMetricsUnauthorized struct {
}

GetEnvironmentMetricsUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewGetEnvironmentMetricsUnauthorized added in v0.4.0

func NewGetEnvironmentMetricsUnauthorized() *GetEnvironmentMetricsUnauthorized

NewGetEnvironmentMetricsUnauthorized creates a GetEnvironmentMetricsUnauthorized with default headers values

func (*GetEnvironmentMetricsUnauthorized) Code added in v0.4.19

Code gets the status code for the get environment metrics unauthorized response

func (*GetEnvironmentMetricsUnauthorized) Error added in v0.4.0

func (*GetEnvironmentMetricsUnauthorized) IsClientError added in v0.4.0

func (o *GetEnvironmentMetricsUnauthorized) IsClientError() bool

IsClientError returns true when this get environment metrics unauthorized response has a 4xx status code

func (*GetEnvironmentMetricsUnauthorized) IsCode added in v0.4.0

func (o *GetEnvironmentMetricsUnauthorized) IsCode(code int) bool

IsCode returns true when this get environment metrics unauthorized response a status code equal to that given

func (*GetEnvironmentMetricsUnauthorized) IsRedirect added in v0.4.0

func (o *GetEnvironmentMetricsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get environment metrics unauthorized response has a 3xx status code

func (*GetEnvironmentMetricsUnauthorized) IsServerError added in v0.4.0

func (o *GetEnvironmentMetricsUnauthorized) IsServerError() bool

IsServerError returns true when this get environment metrics unauthorized response has a 5xx status code

func (*GetEnvironmentMetricsUnauthorized) IsSuccess added in v0.4.0

func (o *GetEnvironmentMetricsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get environment metrics unauthorized response has a 2xx status code

func (*GetEnvironmentMetricsUnauthorized) String added in v0.4.0

type GetFrontendDetailInternalServerError added in v0.4.0

type GetFrontendDetailInternalServerError struct {
}

GetFrontendDetailInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewGetFrontendDetailInternalServerError added in v0.4.0

func NewGetFrontendDetailInternalServerError() *GetFrontendDetailInternalServerError

NewGetFrontendDetailInternalServerError creates a GetFrontendDetailInternalServerError with default headers values

func (*GetFrontendDetailInternalServerError) Code added in v0.4.19

Code gets the status code for the get frontend detail internal server error response

func (*GetFrontendDetailInternalServerError) Error added in v0.4.0

func (*GetFrontendDetailInternalServerError) IsClientError added in v0.4.0

func (o *GetFrontendDetailInternalServerError) IsClientError() bool

IsClientError returns true when this get frontend detail internal server error response has a 4xx status code

func (*GetFrontendDetailInternalServerError) IsCode added in v0.4.0

IsCode returns true when this get frontend detail internal server error response a status code equal to that given

func (*GetFrontendDetailInternalServerError) IsRedirect added in v0.4.0

IsRedirect returns true when this get frontend detail internal server error response has a 3xx status code

func (*GetFrontendDetailInternalServerError) IsServerError added in v0.4.0

func (o *GetFrontendDetailInternalServerError) IsServerError() bool

IsServerError returns true when this get frontend detail internal server error response has a 5xx status code

func (*GetFrontendDetailInternalServerError) IsSuccess added in v0.4.0

IsSuccess returns true when this get frontend detail internal server error response has a 2xx status code

func (*GetFrontendDetailInternalServerError) String added in v0.4.0

type GetFrontendDetailNotFound added in v0.4.0

type GetFrontendDetailNotFound struct {
}

GetFrontendDetailNotFound describes a response with status code 404, with default header values.

not found

func NewGetFrontendDetailNotFound added in v0.4.0

func NewGetFrontendDetailNotFound() *GetFrontendDetailNotFound

NewGetFrontendDetailNotFound creates a GetFrontendDetailNotFound with default headers values

func (*GetFrontendDetailNotFound) Code added in v0.4.19

func (o *GetFrontendDetailNotFound) Code() int

Code gets the status code for the get frontend detail not found response

func (*GetFrontendDetailNotFound) Error added in v0.4.0

func (o *GetFrontendDetailNotFound) Error() string

func (*GetFrontendDetailNotFound) IsClientError added in v0.4.0

func (o *GetFrontendDetailNotFound) IsClientError() bool

IsClientError returns true when this get frontend detail not found response has a 4xx status code

func (*GetFrontendDetailNotFound) IsCode added in v0.4.0

func (o *GetFrontendDetailNotFound) IsCode(code int) bool

IsCode returns true when this get frontend detail not found response a status code equal to that given

func (*GetFrontendDetailNotFound) IsRedirect added in v0.4.0

func (o *GetFrontendDetailNotFound) IsRedirect() bool

IsRedirect returns true when this get frontend detail not found response has a 3xx status code

func (*GetFrontendDetailNotFound) IsServerError added in v0.4.0

func (o *GetFrontendDetailNotFound) IsServerError() bool

IsServerError returns true when this get frontend detail not found response has a 5xx status code

func (*GetFrontendDetailNotFound) IsSuccess added in v0.4.0

func (o *GetFrontendDetailNotFound) IsSuccess() bool

IsSuccess returns true when this get frontend detail not found response has a 2xx status code

func (*GetFrontendDetailNotFound) String added in v0.4.0

func (o *GetFrontendDetailNotFound) String() string

type GetFrontendDetailOK added in v0.4.0

type GetFrontendDetailOK struct {
	Payload *rest_model_zrok.Frontend
}

GetFrontendDetailOK describes a response with status code 200, with default header values.

ok

func NewGetFrontendDetailOK added in v0.4.0

func NewGetFrontendDetailOK() *GetFrontendDetailOK

NewGetFrontendDetailOK creates a GetFrontendDetailOK with default headers values

func (*GetFrontendDetailOK) Code added in v0.4.19

func (o *GetFrontendDetailOK) Code() int

Code gets the status code for the get frontend detail o k response

func (*GetFrontendDetailOK) Error added in v0.4.0

func (o *GetFrontendDetailOK) Error() string

func (*GetFrontendDetailOK) GetPayload added in v0.4.0

func (o *GetFrontendDetailOK) GetPayload() *rest_model_zrok.Frontend

func (*GetFrontendDetailOK) IsClientError added in v0.4.0

func (o *GetFrontendDetailOK) IsClientError() bool

IsClientError returns true when this get frontend detail o k response has a 4xx status code

func (*GetFrontendDetailOK) IsCode added in v0.4.0

func (o *GetFrontendDetailOK) IsCode(code int) bool

IsCode returns true when this get frontend detail o k response a status code equal to that given

func (*GetFrontendDetailOK) IsRedirect added in v0.4.0

func (o *GetFrontendDetailOK) IsRedirect() bool

IsRedirect returns true when this get frontend detail o k response has a 3xx status code

func (*GetFrontendDetailOK) IsServerError added in v0.4.0

func (o *GetFrontendDetailOK) IsServerError() bool

IsServerError returns true when this get frontend detail o k response has a 5xx status code

func (*GetFrontendDetailOK) IsSuccess added in v0.4.0

func (o *GetFrontendDetailOK) IsSuccess() bool

IsSuccess returns true when this get frontend detail o k response has a 2xx status code

func (*GetFrontendDetailOK) String added in v0.4.0

func (o *GetFrontendDetailOK) String() string

type GetFrontendDetailParams added in v0.4.0

type GetFrontendDetailParams struct {

	// FeID.
	FeID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetFrontendDetailParams contains all the parameters to send to the API endpoint

for the get frontend detail operation.

Typically these are written to a http.Request.

func NewGetFrontendDetailParams added in v0.4.0

func NewGetFrontendDetailParams() *GetFrontendDetailParams

NewGetFrontendDetailParams creates a new GetFrontendDetailParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetFrontendDetailParamsWithContext added in v0.4.0

func NewGetFrontendDetailParamsWithContext(ctx context.Context) *GetFrontendDetailParams

NewGetFrontendDetailParamsWithContext creates a new GetFrontendDetailParams object with the ability to set a context for a request.

func NewGetFrontendDetailParamsWithHTTPClient added in v0.4.0

func NewGetFrontendDetailParamsWithHTTPClient(client *http.Client) *GetFrontendDetailParams

NewGetFrontendDetailParamsWithHTTPClient creates a new GetFrontendDetailParams object with the ability to set a custom HTTPClient for a request.

func NewGetFrontendDetailParamsWithTimeout added in v0.4.0

func NewGetFrontendDetailParamsWithTimeout(timeout time.Duration) *GetFrontendDetailParams

NewGetFrontendDetailParamsWithTimeout creates a new GetFrontendDetailParams object with the ability to set a timeout on a request.

func (*GetFrontendDetailParams) SetContext added in v0.4.0

func (o *GetFrontendDetailParams) SetContext(ctx context.Context)

SetContext adds the context to the get frontend detail params

func (*GetFrontendDetailParams) SetDefaults added in v0.4.0

func (o *GetFrontendDetailParams) SetDefaults()

SetDefaults hydrates default values in the get frontend detail params (not the query body).

All values with no default are reset to their zero value.

func (*GetFrontendDetailParams) SetFeID added in v0.4.0

func (o *GetFrontendDetailParams) SetFeID(feID int64)

SetFeID adds the feId to the get frontend detail params

func (*GetFrontendDetailParams) SetHTTPClient added in v0.4.0

func (o *GetFrontendDetailParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get frontend detail params

func (*GetFrontendDetailParams) SetTimeout added in v0.4.0

func (o *GetFrontendDetailParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get frontend detail params

func (*GetFrontendDetailParams) WithContext added in v0.4.0

WithContext adds the context to the get frontend detail params

func (*GetFrontendDetailParams) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the get frontend detail params (not the query body).

All values with no default are reset to their zero value.

func (*GetFrontendDetailParams) WithFeID added in v0.4.0

WithFeID adds the feID to the get frontend detail params

func (*GetFrontendDetailParams) WithHTTPClient added in v0.4.0

func (o *GetFrontendDetailParams) WithHTTPClient(client *http.Client) *GetFrontendDetailParams

WithHTTPClient adds the HTTPClient to the get frontend detail params

func (*GetFrontendDetailParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get frontend detail params

func (*GetFrontendDetailParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetFrontendDetailReader added in v0.4.0

type GetFrontendDetailReader struct {
	// contains filtered or unexported fields
}

GetFrontendDetailReader is a Reader for the GetFrontendDetail structure.

func (*GetFrontendDetailReader) ReadResponse added in v0.4.0

func (o *GetFrontendDetailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetFrontendDetailUnauthorized added in v0.4.0

type GetFrontendDetailUnauthorized struct {
}

GetFrontendDetailUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewGetFrontendDetailUnauthorized added in v0.4.0

func NewGetFrontendDetailUnauthorized() *GetFrontendDetailUnauthorized

NewGetFrontendDetailUnauthorized creates a GetFrontendDetailUnauthorized with default headers values

func (*GetFrontendDetailUnauthorized) Code added in v0.4.19

Code gets the status code for the get frontend detail unauthorized response

func (*GetFrontendDetailUnauthorized) Error added in v0.4.0

func (*GetFrontendDetailUnauthorized) IsClientError added in v0.4.0

func (o *GetFrontendDetailUnauthorized) IsClientError() bool

IsClientError returns true when this get frontend detail unauthorized response has a 4xx status code

func (*GetFrontendDetailUnauthorized) IsCode added in v0.4.0

func (o *GetFrontendDetailUnauthorized) IsCode(code int) bool

IsCode returns true when this get frontend detail unauthorized response a status code equal to that given

func (*GetFrontendDetailUnauthorized) IsRedirect added in v0.4.0

func (o *GetFrontendDetailUnauthorized) IsRedirect() bool

IsRedirect returns true when this get frontend detail unauthorized response has a 3xx status code

func (*GetFrontendDetailUnauthorized) IsServerError added in v0.4.0

func (o *GetFrontendDetailUnauthorized) IsServerError() bool

IsServerError returns true when this get frontend detail unauthorized response has a 5xx status code

func (*GetFrontendDetailUnauthorized) IsSuccess added in v0.4.0

func (o *GetFrontendDetailUnauthorized) IsSuccess() bool

IsSuccess returns true when this get frontend detail unauthorized response has a 2xx status code

func (*GetFrontendDetailUnauthorized) String added in v0.4.0

type GetShareDetailInternalServerError

type GetShareDetailInternalServerError struct {
}

GetShareDetailInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewGetShareDetailInternalServerError

func NewGetShareDetailInternalServerError() *GetShareDetailInternalServerError

NewGetShareDetailInternalServerError creates a GetShareDetailInternalServerError with default headers values

func (*GetShareDetailInternalServerError) Code added in v0.4.19

Code gets the status code for the get share detail internal server error response

func (*GetShareDetailInternalServerError) Error

func (*GetShareDetailInternalServerError) IsClientError

func (o *GetShareDetailInternalServerError) IsClientError() bool

IsClientError returns true when this get share detail internal server error response has a 4xx status code

func (*GetShareDetailInternalServerError) IsCode

func (o *GetShareDetailInternalServerError) IsCode(code int) bool

IsCode returns true when this get share detail internal server error response a status code equal to that given

func (*GetShareDetailInternalServerError) IsRedirect

func (o *GetShareDetailInternalServerError) IsRedirect() bool

IsRedirect returns true when this get share detail internal server error response has a 3xx status code

func (*GetShareDetailInternalServerError) IsServerError

func (o *GetShareDetailInternalServerError) IsServerError() bool

IsServerError returns true when this get share detail internal server error response has a 5xx status code

func (*GetShareDetailInternalServerError) IsSuccess

func (o *GetShareDetailInternalServerError) IsSuccess() bool

IsSuccess returns true when this get share detail internal server error response has a 2xx status code

func (*GetShareDetailInternalServerError) String

type GetShareDetailNotFound

type GetShareDetailNotFound struct {
}

GetShareDetailNotFound describes a response with status code 404, with default header values.

not found

func NewGetShareDetailNotFound

func NewGetShareDetailNotFound() *GetShareDetailNotFound

NewGetShareDetailNotFound creates a GetShareDetailNotFound with default headers values

func (*GetShareDetailNotFound) Code added in v0.4.19

func (o *GetShareDetailNotFound) Code() int

Code gets the status code for the get share detail not found response

func (*GetShareDetailNotFound) Error

func (o *GetShareDetailNotFound) Error() string

func (*GetShareDetailNotFound) IsClientError

func (o *GetShareDetailNotFound) IsClientError() bool

IsClientError returns true when this get share detail not found response has a 4xx status code

func (*GetShareDetailNotFound) IsCode

func (o *GetShareDetailNotFound) IsCode(code int) bool

IsCode returns true when this get share detail not found response a status code equal to that given

func (*GetShareDetailNotFound) IsRedirect

func (o *GetShareDetailNotFound) IsRedirect() bool

IsRedirect returns true when this get share detail not found response has a 3xx status code

func (*GetShareDetailNotFound) IsServerError

func (o *GetShareDetailNotFound) IsServerError() bool

IsServerError returns true when this get share detail not found response has a 5xx status code

func (*GetShareDetailNotFound) IsSuccess

func (o *GetShareDetailNotFound) IsSuccess() bool

IsSuccess returns true when this get share detail not found response has a 2xx status code

func (*GetShareDetailNotFound) String

func (o *GetShareDetailNotFound) String() string

type GetShareDetailOK

type GetShareDetailOK struct {
	Payload *rest_model_zrok.Share
}

GetShareDetailOK describes a response with status code 200, with default header values.

ok

func NewGetShareDetailOK

func NewGetShareDetailOK() *GetShareDetailOK

NewGetShareDetailOK creates a GetShareDetailOK with default headers values

func (*GetShareDetailOK) Code added in v0.4.19

func (o *GetShareDetailOK) Code() int

Code gets the status code for the get share detail o k response

func (*GetShareDetailOK) Error

func (o *GetShareDetailOK) Error() string

func (*GetShareDetailOK) GetPayload

func (o *GetShareDetailOK) GetPayload() *rest_model_zrok.Share

func (*GetShareDetailOK) IsClientError

func (o *GetShareDetailOK) IsClientError() bool

IsClientError returns true when this get share detail o k response has a 4xx status code

func (*GetShareDetailOK) IsCode

func (o *GetShareDetailOK) IsCode(code int) bool

IsCode returns true when this get share detail o k response a status code equal to that given

func (*GetShareDetailOK) IsRedirect

func (o *GetShareDetailOK) IsRedirect() bool

IsRedirect returns true when this get share detail o k response has a 3xx status code

func (*GetShareDetailOK) IsServerError

func (o *GetShareDetailOK) IsServerError() bool

IsServerError returns true when this get share detail o k response has a 5xx status code

func (*GetShareDetailOK) IsSuccess

func (o *GetShareDetailOK) IsSuccess() bool

IsSuccess returns true when this get share detail o k response has a 2xx status code

func (*GetShareDetailOK) String

func (o *GetShareDetailOK) String() string

type GetShareDetailParams

type GetShareDetailParams struct {

	// ShrToken.
	ShrToken string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetShareDetailParams contains all the parameters to send to the API endpoint

for the get share detail operation.

Typically these are written to a http.Request.

func NewGetShareDetailParams

func NewGetShareDetailParams() *GetShareDetailParams

NewGetShareDetailParams creates a new GetShareDetailParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetShareDetailParamsWithContext

func NewGetShareDetailParamsWithContext(ctx context.Context) *GetShareDetailParams

NewGetShareDetailParamsWithContext creates a new GetShareDetailParams object with the ability to set a context for a request.

func NewGetShareDetailParamsWithHTTPClient

func NewGetShareDetailParamsWithHTTPClient(client *http.Client) *GetShareDetailParams

NewGetShareDetailParamsWithHTTPClient creates a new GetShareDetailParams object with the ability to set a custom HTTPClient for a request.

func NewGetShareDetailParamsWithTimeout

func NewGetShareDetailParamsWithTimeout(timeout time.Duration) *GetShareDetailParams

NewGetShareDetailParamsWithTimeout creates a new GetShareDetailParams object with the ability to set a timeout on a request.

func (*GetShareDetailParams) SetContext

func (o *GetShareDetailParams) SetContext(ctx context.Context)

SetContext adds the context to the get share detail params

func (*GetShareDetailParams) SetDefaults

func (o *GetShareDetailParams) SetDefaults()

SetDefaults hydrates default values in the get share detail params (not the query body).

All values with no default are reset to their zero value.

func (*GetShareDetailParams) SetHTTPClient

func (o *GetShareDetailParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get share detail params

func (*GetShareDetailParams) SetShrToken

func (o *GetShareDetailParams) SetShrToken(shrToken string)

SetShrToken adds the shrToken to the get share detail params

func (*GetShareDetailParams) SetTimeout

func (o *GetShareDetailParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get share detail params

func (*GetShareDetailParams) WithContext

WithContext adds the context to the get share detail params

func (*GetShareDetailParams) WithDefaults

func (o *GetShareDetailParams) WithDefaults() *GetShareDetailParams

WithDefaults hydrates default values in the get share detail params (not the query body).

All values with no default are reset to their zero value.

func (*GetShareDetailParams) WithHTTPClient

func (o *GetShareDetailParams) WithHTTPClient(client *http.Client) *GetShareDetailParams

WithHTTPClient adds the HTTPClient to the get share detail params

func (*GetShareDetailParams) WithShrToken

func (o *GetShareDetailParams) WithShrToken(shrToken string) *GetShareDetailParams

WithShrToken adds the shrToken to the get share detail params

func (*GetShareDetailParams) WithTimeout

func (o *GetShareDetailParams) WithTimeout(timeout time.Duration) *GetShareDetailParams

WithTimeout adds the timeout to the get share detail params

func (*GetShareDetailParams) WriteToRequest

func (o *GetShareDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetShareDetailReader

type GetShareDetailReader struct {
	// contains filtered or unexported fields
}

GetShareDetailReader is a Reader for the GetShareDetail structure.

func (*GetShareDetailReader) ReadResponse

func (o *GetShareDetailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetShareDetailUnauthorized

type GetShareDetailUnauthorized struct {
}

GetShareDetailUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewGetShareDetailUnauthorized

func NewGetShareDetailUnauthorized() *GetShareDetailUnauthorized

NewGetShareDetailUnauthorized creates a GetShareDetailUnauthorized with default headers values

func (*GetShareDetailUnauthorized) Code added in v0.4.19

func (o *GetShareDetailUnauthorized) Code() int

Code gets the status code for the get share detail unauthorized response

func (*GetShareDetailUnauthorized) Error

func (*GetShareDetailUnauthorized) IsClientError

func (o *GetShareDetailUnauthorized) IsClientError() bool

IsClientError returns true when this get share detail unauthorized response has a 4xx status code

func (*GetShareDetailUnauthorized) IsCode

func (o *GetShareDetailUnauthorized) IsCode(code int) bool

IsCode returns true when this get share detail unauthorized response a status code equal to that given

func (*GetShareDetailUnauthorized) IsRedirect

func (o *GetShareDetailUnauthorized) IsRedirect() bool

IsRedirect returns true when this get share detail unauthorized response has a 3xx status code

func (*GetShareDetailUnauthorized) IsServerError

func (o *GetShareDetailUnauthorized) IsServerError() bool

IsServerError returns true when this get share detail unauthorized response has a 5xx status code

func (*GetShareDetailUnauthorized) IsSuccess

func (o *GetShareDetailUnauthorized) IsSuccess() bool

IsSuccess returns true when this get share detail unauthorized response has a 2xx status code

func (*GetShareDetailUnauthorized) String

func (o *GetShareDetailUnauthorized) String() string

type GetShareMetricsBadRequest added in v0.4.0

type GetShareMetricsBadRequest struct {
}

GetShareMetricsBadRequest describes a response with status code 400, with default header values.

bad request

func NewGetShareMetricsBadRequest added in v0.4.0

func NewGetShareMetricsBadRequest() *GetShareMetricsBadRequest

NewGetShareMetricsBadRequest creates a GetShareMetricsBadRequest with default headers values

func (*GetShareMetricsBadRequest) Code added in v0.4.19

func (o *GetShareMetricsBadRequest) Code() int

Code gets the status code for the get share metrics bad request response

func (*GetShareMetricsBadRequest) Error added in v0.4.0

func (o *GetShareMetricsBadRequest) Error() string

func (*GetShareMetricsBadRequest) IsClientError added in v0.4.0

func (o *GetShareMetricsBadRequest) IsClientError() bool

IsClientError returns true when this get share metrics bad request response has a 4xx status code

func (*GetShareMetricsBadRequest) IsCode added in v0.4.0

func (o *GetShareMetricsBadRequest) IsCode(code int) bool

IsCode returns true when this get share metrics bad request response a status code equal to that given

func (*GetShareMetricsBadRequest) IsRedirect added in v0.4.0

func (o *GetShareMetricsBadRequest) IsRedirect() bool

IsRedirect returns true when this get share metrics bad request response has a 3xx status code

func (*GetShareMetricsBadRequest) IsServerError added in v0.4.0

func (o *GetShareMetricsBadRequest) IsServerError() bool

IsServerError returns true when this get share metrics bad request response has a 5xx status code

func (*GetShareMetricsBadRequest) IsSuccess added in v0.4.0

func (o *GetShareMetricsBadRequest) IsSuccess() bool

IsSuccess returns true when this get share metrics bad request response has a 2xx status code

func (*GetShareMetricsBadRequest) String added in v0.4.0

func (o *GetShareMetricsBadRequest) String() string

type GetShareMetricsInternalServerError added in v0.4.0

type GetShareMetricsInternalServerError struct {
}

GetShareMetricsInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewGetShareMetricsInternalServerError added in v0.4.0

func NewGetShareMetricsInternalServerError() *GetShareMetricsInternalServerError

NewGetShareMetricsInternalServerError creates a GetShareMetricsInternalServerError with default headers values

func (*GetShareMetricsInternalServerError) Code added in v0.4.19

Code gets the status code for the get share metrics internal server error response

func (*GetShareMetricsInternalServerError) Error added in v0.4.0

func (*GetShareMetricsInternalServerError) IsClientError added in v0.4.0

func (o *GetShareMetricsInternalServerError) IsClientError() bool

IsClientError returns true when this get share metrics internal server error response has a 4xx status code

func (*GetShareMetricsInternalServerError) IsCode added in v0.4.0

IsCode returns true when this get share metrics internal server error response a status code equal to that given

func (*GetShareMetricsInternalServerError) IsRedirect added in v0.4.0

func (o *GetShareMetricsInternalServerError) IsRedirect() bool

IsRedirect returns true when this get share metrics internal server error response has a 3xx status code

func (*GetShareMetricsInternalServerError) IsServerError added in v0.4.0

func (o *GetShareMetricsInternalServerError) IsServerError() bool

IsServerError returns true when this get share metrics internal server error response has a 5xx status code

func (*GetShareMetricsInternalServerError) IsSuccess added in v0.4.0

IsSuccess returns true when this get share metrics internal server error response has a 2xx status code

func (*GetShareMetricsInternalServerError) String added in v0.4.0

type GetShareMetricsOK added in v0.4.0

type GetShareMetricsOK struct {
	Payload *rest_model_zrok.Metrics
}

GetShareMetricsOK describes a response with status code 200, with default header values.

share metrics

func NewGetShareMetricsOK added in v0.4.0

func NewGetShareMetricsOK() *GetShareMetricsOK

NewGetShareMetricsOK creates a GetShareMetricsOK with default headers values

func (*GetShareMetricsOK) Code added in v0.4.19

func (o *GetShareMetricsOK) Code() int

Code gets the status code for the get share metrics o k response

func (*GetShareMetricsOK) Error added in v0.4.0

func (o *GetShareMetricsOK) Error() string

func (*GetShareMetricsOK) GetPayload added in v0.4.0

func (o *GetShareMetricsOK) GetPayload() *rest_model_zrok.Metrics

func (*GetShareMetricsOK) IsClientError added in v0.4.0

func (o *GetShareMetricsOK) IsClientError() bool

IsClientError returns true when this get share metrics o k response has a 4xx status code

func (*GetShareMetricsOK) IsCode added in v0.4.0

func (o *GetShareMetricsOK) IsCode(code int) bool

IsCode returns true when this get share metrics o k response a status code equal to that given

func (*GetShareMetricsOK) IsRedirect added in v0.4.0

func (o *GetShareMetricsOK) IsRedirect() bool

IsRedirect returns true when this get share metrics o k response has a 3xx status code

func (*GetShareMetricsOK) IsServerError added in v0.4.0

func (o *GetShareMetricsOK) IsServerError() bool

IsServerError returns true when this get share metrics o k response has a 5xx status code

func (*GetShareMetricsOK) IsSuccess added in v0.4.0

func (o *GetShareMetricsOK) IsSuccess() bool

IsSuccess returns true when this get share metrics o k response has a 2xx status code

func (*GetShareMetricsOK) String added in v0.4.0

func (o *GetShareMetricsOK) String() string

type GetShareMetricsParams added in v0.4.0

type GetShareMetricsParams struct {

	// Duration.
	Duration *string

	// ShrToken.
	ShrToken string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetShareMetricsParams contains all the parameters to send to the API endpoint

for the get share metrics operation.

Typically these are written to a http.Request.

func NewGetShareMetricsParams added in v0.4.0

func NewGetShareMetricsParams() *GetShareMetricsParams

NewGetShareMetricsParams creates a new GetShareMetricsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetShareMetricsParamsWithContext added in v0.4.0

func NewGetShareMetricsParamsWithContext(ctx context.Context) *GetShareMetricsParams

NewGetShareMetricsParamsWithContext creates a new GetShareMetricsParams object with the ability to set a context for a request.

func NewGetShareMetricsParamsWithHTTPClient added in v0.4.0

func NewGetShareMetricsParamsWithHTTPClient(client *http.Client) *GetShareMetricsParams

NewGetShareMetricsParamsWithHTTPClient creates a new GetShareMetricsParams object with the ability to set a custom HTTPClient for a request.

func NewGetShareMetricsParamsWithTimeout added in v0.4.0

func NewGetShareMetricsParamsWithTimeout(timeout time.Duration) *GetShareMetricsParams

NewGetShareMetricsParamsWithTimeout creates a new GetShareMetricsParams object with the ability to set a timeout on a request.

func (*GetShareMetricsParams) SetContext added in v0.4.0

func (o *GetShareMetricsParams) SetContext(ctx context.Context)

SetContext adds the context to the get share metrics params

func (*GetShareMetricsParams) SetDefaults added in v0.4.0

func (o *GetShareMetricsParams) SetDefaults()

SetDefaults hydrates default values in the get share metrics params (not the query body).

All values with no default are reset to their zero value.

func (*GetShareMetricsParams) SetDuration added in v0.4.0

func (o *GetShareMetricsParams) SetDuration(duration *string)

SetDuration adds the duration to the get share metrics params

func (*GetShareMetricsParams) SetHTTPClient added in v0.4.0

func (o *GetShareMetricsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get share metrics params

func (*GetShareMetricsParams) SetShrToken added in v0.4.0

func (o *GetShareMetricsParams) SetShrToken(shrToken string)

SetShrToken adds the shrToken to the get share metrics params

func (*GetShareMetricsParams) SetTimeout added in v0.4.0

func (o *GetShareMetricsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get share metrics params

func (*GetShareMetricsParams) WithContext added in v0.4.0

WithContext adds the context to the get share metrics params

func (*GetShareMetricsParams) WithDefaults added in v0.4.0

func (o *GetShareMetricsParams) WithDefaults() *GetShareMetricsParams

WithDefaults hydrates default values in the get share metrics params (not the query body).

All values with no default are reset to their zero value.

func (*GetShareMetricsParams) WithDuration added in v0.4.0

func (o *GetShareMetricsParams) WithDuration(duration *string) *GetShareMetricsParams

WithDuration adds the duration to the get share metrics params

func (*GetShareMetricsParams) WithHTTPClient added in v0.4.0

func (o *GetShareMetricsParams) WithHTTPClient(client *http.Client) *GetShareMetricsParams

WithHTTPClient adds the HTTPClient to the get share metrics params

func (*GetShareMetricsParams) WithShrToken added in v0.4.0

func (o *GetShareMetricsParams) WithShrToken(shrToken string) *GetShareMetricsParams

WithShrToken adds the shrToken to the get share metrics params

func (*GetShareMetricsParams) WithTimeout added in v0.4.0

func (o *GetShareMetricsParams) WithTimeout(timeout time.Duration) *GetShareMetricsParams

WithTimeout adds the timeout to the get share metrics params

func (*GetShareMetricsParams) WriteToRequest added in v0.4.0

func (o *GetShareMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetShareMetricsReader added in v0.4.0

type GetShareMetricsReader struct {
	// contains filtered or unexported fields
}

GetShareMetricsReader is a Reader for the GetShareMetrics structure.

func (*GetShareMetricsReader) ReadResponse added in v0.4.0

func (o *GetShareMetricsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetShareMetricsUnauthorized added in v0.4.0

type GetShareMetricsUnauthorized struct {
}

GetShareMetricsUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewGetShareMetricsUnauthorized added in v0.4.0

func NewGetShareMetricsUnauthorized() *GetShareMetricsUnauthorized

NewGetShareMetricsUnauthorized creates a GetShareMetricsUnauthorized with default headers values

func (*GetShareMetricsUnauthorized) Code added in v0.4.19

func (o *GetShareMetricsUnauthorized) Code() int

Code gets the status code for the get share metrics unauthorized response

func (*GetShareMetricsUnauthorized) Error added in v0.4.0

func (*GetShareMetricsUnauthorized) IsClientError added in v0.4.0

func (o *GetShareMetricsUnauthorized) IsClientError() bool

IsClientError returns true when this get share metrics unauthorized response has a 4xx status code

func (*GetShareMetricsUnauthorized) IsCode added in v0.4.0

func (o *GetShareMetricsUnauthorized) IsCode(code int) bool

IsCode returns true when this get share metrics unauthorized response a status code equal to that given

func (*GetShareMetricsUnauthorized) IsRedirect added in v0.4.0

func (o *GetShareMetricsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get share metrics unauthorized response has a 3xx status code

func (*GetShareMetricsUnauthorized) IsServerError added in v0.4.0

func (o *GetShareMetricsUnauthorized) IsServerError() bool

IsServerError returns true when this get share metrics unauthorized response has a 5xx status code

func (*GetShareMetricsUnauthorized) IsSuccess added in v0.4.0

func (o *GetShareMetricsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get share metrics unauthorized response has a 2xx status code

func (*GetShareMetricsUnauthorized) String added in v0.4.0

func (o *GetShareMetricsUnauthorized) String() string

type OverviewInternalServerError

type OverviewInternalServerError struct {
	Payload rest_model_zrok.ErrorMessage
}

OverviewInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewOverviewInternalServerError

func NewOverviewInternalServerError() *OverviewInternalServerError

NewOverviewInternalServerError creates a OverviewInternalServerError with default headers values

func (*OverviewInternalServerError) Code added in v0.4.19

func (o *OverviewInternalServerError) Code() int

Code gets the status code for the overview internal server error response

func (*OverviewInternalServerError) Error

func (*OverviewInternalServerError) GetPayload

func (*OverviewInternalServerError) IsClientError

func (o *OverviewInternalServerError) IsClientError() bool

IsClientError returns true when this overview internal server error response has a 4xx status code

func (*OverviewInternalServerError) IsCode

func (o *OverviewInternalServerError) IsCode(code int) bool

IsCode returns true when this overview internal server error response a status code equal to that given

func (*OverviewInternalServerError) IsRedirect

func (o *OverviewInternalServerError) IsRedirect() bool

IsRedirect returns true when this overview internal server error response has a 3xx status code

func (*OverviewInternalServerError) IsServerError

func (o *OverviewInternalServerError) IsServerError() bool

IsServerError returns true when this overview internal server error response has a 5xx status code

func (*OverviewInternalServerError) IsSuccess

func (o *OverviewInternalServerError) IsSuccess() bool

IsSuccess returns true when this overview internal server error response has a 2xx status code

func (*OverviewInternalServerError) String

func (o *OverviewInternalServerError) String() string

type OverviewOK

type OverviewOK struct {
	Payload *rest_model_zrok.Overview
}

OverviewOK describes a response with status code 200, with default header values.

overview returned

func NewOverviewOK

func NewOverviewOK() *OverviewOK

NewOverviewOK creates a OverviewOK with default headers values

func (*OverviewOK) Code added in v0.4.19

func (o *OverviewOK) Code() int

Code gets the status code for the overview o k response

func (*OverviewOK) Error

func (o *OverviewOK) Error() string

func (*OverviewOK) GetPayload

func (o *OverviewOK) GetPayload() *rest_model_zrok.Overview

func (*OverviewOK) IsClientError

func (o *OverviewOK) IsClientError() bool

IsClientError returns true when this overview o k response has a 4xx status code

func (*OverviewOK) IsCode

func (o *OverviewOK) IsCode(code int) bool

IsCode returns true when this overview o k response a status code equal to that given

func (*OverviewOK) IsRedirect

func (o *OverviewOK) IsRedirect() bool

IsRedirect returns true when this overview o k response has a 3xx status code

func (*OverviewOK) IsServerError

func (o *OverviewOK) IsServerError() bool

IsServerError returns true when this overview o k response has a 5xx status code

func (*OverviewOK) IsSuccess

func (o *OverviewOK) IsSuccess() bool

IsSuccess returns true when this overview o k response has a 2xx status code

func (*OverviewOK) String

func (o *OverviewOK) String() string

type OverviewParams

type OverviewParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

OverviewParams contains all the parameters to send to the API endpoint

for the overview operation.

Typically these are written to a http.Request.

func NewOverviewParams

func NewOverviewParams() *OverviewParams

NewOverviewParams creates a new OverviewParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewOverviewParamsWithContext

func NewOverviewParamsWithContext(ctx context.Context) *OverviewParams

NewOverviewParamsWithContext creates a new OverviewParams object with the ability to set a context for a request.

func NewOverviewParamsWithHTTPClient

func NewOverviewParamsWithHTTPClient(client *http.Client) *OverviewParams

NewOverviewParamsWithHTTPClient creates a new OverviewParams object with the ability to set a custom HTTPClient for a request.

func NewOverviewParamsWithTimeout

func NewOverviewParamsWithTimeout(timeout time.Duration) *OverviewParams

NewOverviewParamsWithTimeout creates a new OverviewParams object with the ability to set a timeout on a request.

func (*OverviewParams) SetContext

func (o *OverviewParams) SetContext(ctx context.Context)

SetContext adds the context to the overview params

func (*OverviewParams) SetDefaults

func (o *OverviewParams) SetDefaults()

SetDefaults hydrates default values in the overview params (not the query body).

All values with no default are reset to their zero value.

func (*OverviewParams) SetHTTPClient

func (o *OverviewParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the overview params

func (*OverviewParams) SetTimeout

func (o *OverviewParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the overview params

func (*OverviewParams) WithContext

func (o *OverviewParams) WithContext(ctx context.Context) *OverviewParams

WithContext adds the context to the overview params

func (*OverviewParams) WithDefaults

func (o *OverviewParams) WithDefaults() *OverviewParams

WithDefaults hydrates default values in the overview params (not the query body).

All values with no default are reset to their zero value.

func (*OverviewParams) WithHTTPClient

func (o *OverviewParams) WithHTTPClient(client *http.Client) *OverviewParams

WithHTTPClient adds the HTTPClient to the overview params

func (*OverviewParams) WithTimeout

func (o *OverviewParams) WithTimeout(timeout time.Duration) *OverviewParams

WithTimeout adds the timeout to the overview params

func (*OverviewParams) WriteToRequest

func (o *OverviewParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type OverviewReader

type OverviewReader struct {
	// contains filtered or unexported fields
}

OverviewReader is a Reader for the Overview structure.

func (*OverviewReader) ReadResponse

func (o *OverviewReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type VersionOK

type VersionOK struct {
	Payload rest_model_zrok.Version
}

VersionOK describes a response with status code 200, with default header values.

current server version

func NewVersionOK

func NewVersionOK() *VersionOK

NewVersionOK creates a VersionOK with default headers values

func (*VersionOK) Code added in v0.4.19

func (o *VersionOK) Code() int

Code gets the status code for the version o k response

func (*VersionOK) Error

func (o *VersionOK) Error() string

func (*VersionOK) GetPayload

func (o *VersionOK) GetPayload() rest_model_zrok.Version

func (*VersionOK) IsClientError

func (o *VersionOK) IsClientError() bool

IsClientError returns true when this version o k response has a 4xx status code

func (*VersionOK) IsCode

func (o *VersionOK) IsCode(code int) bool

IsCode returns true when this version o k response a status code equal to that given

func (*VersionOK) IsRedirect

func (o *VersionOK) IsRedirect() bool

IsRedirect returns true when this version o k response has a 3xx status code

func (*VersionOK) IsServerError

func (o *VersionOK) IsServerError() bool

IsServerError returns true when this version o k response has a 5xx status code

func (*VersionOK) IsSuccess

func (o *VersionOK) IsSuccess() bool

IsSuccess returns true when this version o k response has a 2xx status code

func (*VersionOK) String

func (o *VersionOK) String() string

type VersionParams

type VersionParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

VersionParams contains all the parameters to send to the API endpoint

for the version operation.

Typically these are written to a http.Request.

func NewVersionParams

func NewVersionParams() *VersionParams

NewVersionParams creates a new VersionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewVersionParamsWithContext

func NewVersionParamsWithContext(ctx context.Context) *VersionParams

NewVersionParamsWithContext creates a new VersionParams object with the ability to set a context for a request.

func NewVersionParamsWithHTTPClient

func NewVersionParamsWithHTTPClient(client *http.Client) *VersionParams

NewVersionParamsWithHTTPClient creates a new VersionParams object with the ability to set a custom HTTPClient for a request.

func NewVersionParamsWithTimeout

func NewVersionParamsWithTimeout(timeout time.Duration) *VersionParams

NewVersionParamsWithTimeout creates a new VersionParams object with the ability to set a timeout on a request.

func (*VersionParams) SetContext

func (o *VersionParams) SetContext(ctx context.Context)

SetContext adds the context to the version params

func (*VersionParams) SetDefaults

func (o *VersionParams) SetDefaults()

SetDefaults hydrates default values in the version params (not the query body).

All values with no default are reset to their zero value.

func (*VersionParams) SetHTTPClient

func (o *VersionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the version params

func (*VersionParams) SetTimeout

func (o *VersionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the version params

func (*VersionParams) WithContext

func (o *VersionParams) WithContext(ctx context.Context) *VersionParams

WithContext adds the context to the version params

func (*VersionParams) WithDefaults

func (o *VersionParams) WithDefaults() *VersionParams

WithDefaults hydrates default values in the version params (not the query body).

All values with no default are reset to their zero value.

func (*VersionParams) WithHTTPClient

func (o *VersionParams) WithHTTPClient(client *http.Client) *VersionParams

WithHTTPClient adds the HTTPClient to the version params

func (*VersionParams) WithTimeout

func (o *VersionParams) WithTimeout(timeout time.Duration) *VersionParams

WithTimeout adds the timeout to the version params

func (*VersionParams) WriteToRequest

func (o *VersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type VersionReader

type VersionReader struct {
	// contains filtered or unexported fields
}

VersionReader is a Reader for the Version structure.

func (*VersionReader) ReadResponse

func (o *VersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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