Documentation ¶
Index ¶
- type Client
- func (a *Client) GetV1MetricsIncidents(params *GetV1MetricsIncidentsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetV1MetricsIncidentsOK, error)
- func (a *Client) GetV1MetricsInfraType(params *GetV1MetricsInfraTypeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetV1MetricsInfraTypeOK, error)
- func (a *Client) GetV1MetricsInfraTypeInfraID(params *GetV1MetricsInfraTypeInfraIDParams, ...) (*GetV1MetricsInfraTypeInfraIDOK, error)
- func (a *Client) GetV1MetricsRetrospectives(params *GetV1MetricsRetrospectivesParams, ...) (*GetV1MetricsRetrospectivesOK, error)
- func (a *Client) GetV1MetricsUserInvolvements(params *GetV1MetricsUserInvolvementsParams, ...) (*GetV1MetricsUserInvolvementsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetV1MetricsIncidentsOK
- func (o *GetV1MetricsIncidentsOK) Error() string
- func (o *GetV1MetricsIncidentsOK) GetPayload() *models.MetricsMetricsEntity
- func (o *GetV1MetricsIncidentsOK) IsClientError() bool
- func (o *GetV1MetricsIncidentsOK) IsCode(code int) bool
- func (o *GetV1MetricsIncidentsOK) IsRedirect() bool
- func (o *GetV1MetricsIncidentsOK) IsServerError() bool
- func (o *GetV1MetricsIncidentsOK) IsSuccess() bool
- func (o *GetV1MetricsIncidentsOK) String() string
- type GetV1MetricsIncidentsParams
- func NewGetV1MetricsIncidentsParams() *GetV1MetricsIncidentsParams
- func NewGetV1MetricsIncidentsParamsWithContext(ctx context.Context) *GetV1MetricsIncidentsParams
- func NewGetV1MetricsIncidentsParamsWithHTTPClient(client *http.Client) *GetV1MetricsIncidentsParams
- func NewGetV1MetricsIncidentsParamsWithTimeout(timeout time.Duration) *GetV1MetricsIncidentsParams
- func (o *GetV1MetricsIncidentsParams) SetBucketSize(bucketSize *string)
- func (o *GetV1MetricsIncidentsParams) SetBy(by *string)
- func (o *GetV1MetricsIncidentsParams) SetConditions(conditions *string)
- func (o *GetV1MetricsIncidentsParams) SetContext(ctx context.Context)
- func (o *GetV1MetricsIncidentsParams) SetDefaults()
- func (o *GetV1MetricsIncidentsParams) SetEndDate(endDate *strfmt.Date)
- func (o *GetV1MetricsIncidentsParams) SetHTTPClient(client *http.Client)
- func (o *GetV1MetricsIncidentsParams) SetSortDirection(sortDirection *string)
- func (o *GetV1MetricsIncidentsParams) SetSortField(sortField *string)
- func (o *GetV1MetricsIncidentsParams) SetSortLimit(sortLimit *int32)
- func (o *GetV1MetricsIncidentsParams) SetStartDate(startDate *strfmt.Date)
- func (o *GetV1MetricsIncidentsParams) SetTimeout(timeout time.Duration)
- func (o *GetV1MetricsIncidentsParams) WithBucketSize(bucketSize *string) *GetV1MetricsIncidentsParams
- func (o *GetV1MetricsIncidentsParams) WithBy(by *string) *GetV1MetricsIncidentsParams
- func (o *GetV1MetricsIncidentsParams) WithConditions(conditions *string) *GetV1MetricsIncidentsParams
- func (o *GetV1MetricsIncidentsParams) WithContext(ctx context.Context) *GetV1MetricsIncidentsParams
- func (o *GetV1MetricsIncidentsParams) WithDefaults() *GetV1MetricsIncidentsParams
- func (o *GetV1MetricsIncidentsParams) WithEndDate(endDate *strfmt.Date) *GetV1MetricsIncidentsParams
- func (o *GetV1MetricsIncidentsParams) WithHTTPClient(client *http.Client) *GetV1MetricsIncidentsParams
- func (o *GetV1MetricsIncidentsParams) WithSortDirection(sortDirection *string) *GetV1MetricsIncidentsParams
- func (o *GetV1MetricsIncidentsParams) WithSortField(sortField *string) *GetV1MetricsIncidentsParams
- func (o *GetV1MetricsIncidentsParams) WithSortLimit(sortLimit *int32) *GetV1MetricsIncidentsParams
- func (o *GetV1MetricsIncidentsParams) WithStartDate(startDate *strfmt.Date) *GetV1MetricsIncidentsParams
- func (o *GetV1MetricsIncidentsParams) WithTimeout(timeout time.Duration) *GetV1MetricsIncidentsParams
- func (o *GetV1MetricsIncidentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1MetricsIncidentsReader
- type GetV1MetricsInfraTypeInfraIDOK
- func (o *GetV1MetricsInfraTypeInfraIDOK) Error() string
- func (o *GetV1MetricsInfraTypeInfraIDOK) GetPayload() *models.MetricsSingleMetricsEntity
- func (o *GetV1MetricsInfraTypeInfraIDOK) IsClientError() bool
- func (o *GetV1MetricsInfraTypeInfraIDOK) IsCode(code int) bool
- func (o *GetV1MetricsInfraTypeInfraIDOK) IsRedirect() bool
- func (o *GetV1MetricsInfraTypeInfraIDOK) IsServerError() bool
- func (o *GetV1MetricsInfraTypeInfraIDOK) IsSuccess() bool
- func (o *GetV1MetricsInfraTypeInfraIDOK) String() string
- type GetV1MetricsInfraTypeInfraIDParams
- func NewGetV1MetricsInfraTypeInfraIDParams() *GetV1MetricsInfraTypeInfraIDParams
- func NewGetV1MetricsInfraTypeInfraIDParamsWithContext(ctx context.Context) *GetV1MetricsInfraTypeInfraIDParams
- func NewGetV1MetricsInfraTypeInfraIDParamsWithHTTPClient(client *http.Client) *GetV1MetricsInfraTypeInfraIDParams
- func NewGetV1MetricsInfraTypeInfraIDParamsWithTimeout(timeout time.Duration) *GetV1MetricsInfraTypeInfraIDParams
- func (o *GetV1MetricsInfraTypeInfraIDParams) SetContext(ctx context.Context)
- func (o *GetV1MetricsInfraTypeInfraIDParams) SetDefaults()
- func (o *GetV1MetricsInfraTypeInfraIDParams) SetEndDate(endDate *strfmt.Date)
- func (o *GetV1MetricsInfraTypeInfraIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV1MetricsInfraTypeInfraIDParams) SetInfraID(infraID string)
- func (o *GetV1MetricsInfraTypeInfraIDParams) SetInfraType(infraType string)
- func (o *GetV1MetricsInfraTypeInfraIDParams) SetStartDate(startDate *strfmt.Date)
- func (o *GetV1MetricsInfraTypeInfraIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1MetricsInfraTypeInfraIDParams) WithContext(ctx context.Context) *GetV1MetricsInfraTypeInfraIDParams
- func (o *GetV1MetricsInfraTypeInfraIDParams) WithDefaults() *GetV1MetricsInfraTypeInfraIDParams
- func (o *GetV1MetricsInfraTypeInfraIDParams) WithEndDate(endDate *strfmt.Date) *GetV1MetricsInfraTypeInfraIDParams
- func (o *GetV1MetricsInfraTypeInfraIDParams) WithHTTPClient(client *http.Client) *GetV1MetricsInfraTypeInfraIDParams
- func (o *GetV1MetricsInfraTypeInfraIDParams) WithInfraID(infraID string) *GetV1MetricsInfraTypeInfraIDParams
- func (o *GetV1MetricsInfraTypeInfraIDParams) WithInfraType(infraType string) *GetV1MetricsInfraTypeInfraIDParams
- func (o *GetV1MetricsInfraTypeInfraIDParams) WithStartDate(startDate *strfmt.Date) *GetV1MetricsInfraTypeInfraIDParams
- func (o *GetV1MetricsInfraTypeInfraIDParams) WithTimeout(timeout time.Duration) *GetV1MetricsInfraTypeInfraIDParams
- func (o *GetV1MetricsInfraTypeInfraIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1MetricsInfraTypeInfraIDReader
- type GetV1MetricsInfraTypeOK
- func (o *GetV1MetricsInfraTypeOK) Error() string
- func (o *GetV1MetricsInfraTypeOK) GetPayload() *models.MetricsSingleMetricsEntity
- func (o *GetV1MetricsInfraTypeOK) IsClientError() bool
- func (o *GetV1MetricsInfraTypeOK) IsCode(code int) bool
- func (o *GetV1MetricsInfraTypeOK) IsRedirect() bool
- func (o *GetV1MetricsInfraTypeOK) IsServerError() bool
- func (o *GetV1MetricsInfraTypeOK) IsSuccess() bool
- func (o *GetV1MetricsInfraTypeOK) String() string
- type GetV1MetricsInfraTypeParams
- func NewGetV1MetricsInfraTypeParams() *GetV1MetricsInfraTypeParams
- func NewGetV1MetricsInfraTypeParamsWithContext(ctx context.Context) *GetV1MetricsInfraTypeParams
- func NewGetV1MetricsInfraTypeParamsWithHTTPClient(client *http.Client) *GetV1MetricsInfraTypeParams
- func NewGetV1MetricsInfraTypeParamsWithTimeout(timeout time.Duration) *GetV1MetricsInfraTypeParams
- func (o *GetV1MetricsInfraTypeParams) SetContext(ctx context.Context)
- func (o *GetV1MetricsInfraTypeParams) SetDefaults()
- func (o *GetV1MetricsInfraTypeParams) SetEndDate(endDate *strfmt.Date)
- func (o *GetV1MetricsInfraTypeParams) SetHTTPClient(client *http.Client)
- func (o *GetV1MetricsInfraTypeParams) SetInfraType(infraType string)
- func (o *GetV1MetricsInfraTypeParams) SetStartDate(startDate *strfmt.Date)
- func (o *GetV1MetricsInfraTypeParams) SetTimeout(timeout time.Duration)
- func (o *GetV1MetricsInfraTypeParams) WithContext(ctx context.Context) *GetV1MetricsInfraTypeParams
- func (o *GetV1MetricsInfraTypeParams) WithDefaults() *GetV1MetricsInfraTypeParams
- func (o *GetV1MetricsInfraTypeParams) WithEndDate(endDate *strfmt.Date) *GetV1MetricsInfraTypeParams
- func (o *GetV1MetricsInfraTypeParams) WithHTTPClient(client *http.Client) *GetV1MetricsInfraTypeParams
- func (o *GetV1MetricsInfraTypeParams) WithInfraType(infraType string) *GetV1MetricsInfraTypeParams
- func (o *GetV1MetricsInfraTypeParams) WithStartDate(startDate *strfmt.Date) *GetV1MetricsInfraTypeParams
- func (o *GetV1MetricsInfraTypeParams) WithTimeout(timeout time.Duration) *GetV1MetricsInfraTypeParams
- func (o *GetV1MetricsInfraTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1MetricsInfraTypeReader
- type GetV1MetricsRetrospectivesOK
- func (o *GetV1MetricsRetrospectivesOK) Error() string
- func (o *GetV1MetricsRetrospectivesOK) GetPayload() *models.MetricsRetrospectiveEntity
- func (o *GetV1MetricsRetrospectivesOK) IsClientError() bool
- func (o *GetV1MetricsRetrospectivesOK) IsCode(code int) bool
- func (o *GetV1MetricsRetrospectivesOK) IsRedirect() bool
- func (o *GetV1MetricsRetrospectivesOK) IsServerError() bool
- func (o *GetV1MetricsRetrospectivesOK) IsSuccess() bool
- func (o *GetV1MetricsRetrospectivesOK) String() string
- type GetV1MetricsRetrospectivesParams
- func NewGetV1MetricsRetrospectivesParams() *GetV1MetricsRetrospectivesParams
- func NewGetV1MetricsRetrospectivesParamsWithContext(ctx context.Context) *GetV1MetricsRetrospectivesParams
- func NewGetV1MetricsRetrospectivesParamsWithHTTPClient(client *http.Client) *GetV1MetricsRetrospectivesParams
- func NewGetV1MetricsRetrospectivesParamsWithTimeout(timeout time.Duration) *GetV1MetricsRetrospectivesParams
- func (o *GetV1MetricsRetrospectivesParams) SetContext(ctx context.Context)
- func (o *GetV1MetricsRetrospectivesParams) SetDefaults()
- func (o *GetV1MetricsRetrospectivesParams) SetEndDate(endDate *strfmt.Date)
- func (o *GetV1MetricsRetrospectivesParams) SetHTTPClient(client *http.Client)
- func (o *GetV1MetricsRetrospectivesParams) SetStartDate(startDate *strfmt.Date)
- func (o *GetV1MetricsRetrospectivesParams) SetTimeout(timeout time.Duration)
- func (o *GetV1MetricsRetrospectivesParams) WithContext(ctx context.Context) *GetV1MetricsRetrospectivesParams
- func (o *GetV1MetricsRetrospectivesParams) WithDefaults() *GetV1MetricsRetrospectivesParams
- func (o *GetV1MetricsRetrospectivesParams) WithEndDate(endDate *strfmt.Date) *GetV1MetricsRetrospectivesParams
- func (o *GetV1MetricsRetrospectivesParams) WithHTTPClient(client *http.Client) *GetV1MetricsRetrospectivesParams
- func (o *GetV1MetricsRetrospectivesParams) WithStartDate(startDate *strfmt.Date) *GetV1MetricsRetrospectivesParams
- func (o *GetV1MetricsRetrospectivesParams) WithTimeout(timeout time.Duration) *GetV1MetricsRetrospectivesParams
- func (o *GetV1MetricsRetrospectivesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1MetricsRetrospectivesReader
- type GetV1MetricsUserInvolvementsOK
- func (o *GetV1MetricsUserInvolvementsOK) Error() string
- func (o *GetV1MetricsUserInvolvementsOK) GetPayload() *models.MetricsMetricsEntity
- func (o *GetV1MetricsUserInvolvementsOK) IsClientError() bool
- func (o *GetV1MetricsUserInvolvementsOK) IsCode(code int) bool
- func (o *GetV1MetricsUserInvolvementsOK) IsRedirect() bool
- func (o *GetV1MetricsUserInvolvementsOK) IsServerError() bool
- func (o *GetV1MetricsUserInvolvementsOK) IsSuccess() bool
- func (o *GetV1MetricsUserInvolvementsOK) String() string
- type GetV1MetricsUserInvolvementsParams
- func NewGetV1MetricsUserInvolvementsParams() *GetV1MetricsUserInvolvementsParams
- func NewGetV1MetricsUserInvolvementsParamsWithContext(ctx context.Context) *GetV1MetricsUserInvolvementsParams
- func NewGetV1MetricsUserInvolvementsParamsWithHTTPClient(client *http.Client) *GetV1MetricsUserInvolvementsParams
- func NewGetV1MetricsUserInvolvementsParamsWithTimeout(timeout time.Duration) *GetV1MetricsUserInvolvementsParams
- func (o *GetV1MetricsUserInvolvementsParams) SetBucketSize(bucketSize *string)
- func (o *GetV1MetricsUserInvolvementsParams) SetBy(by *string)
- func (o *GetV1MetricsUserInvolvementsParams) SetContext(ctx context.Context)
- func (o *GetV1MetricsUserInvolvementsParams) SetDefaults()
- func (o *GetV1MetricsUserInvolvementsParams) SetEndDate(endDate *strfmt.Date)
- func (o *GetV1MetricsUserInvolvementsParams) SetHTTPClient(client *http.Client)
- func (o *GetV1MetricsUserInvolvementsParams) SetSortDirection(sortDirection *string)
- func (o *GetV1MetricsUserInvolvementsParams) SetSortField(sortField *string)
- func (o *GetV1MetricsUserInvolvementsParams) SetSortLimit(sortLimit *int32)
- func (o *GetV1MetricsUserInvolvementsParams) SetStartDate(startDate *strfmt.Date)
- func (o *GetV1MetricsUserInvolvementsParams) SetTimeout(timeout time.Duration)
- func (o *GetV1MetricsUserInvolvementsParams) WithBucketSize(bucketSize *string) *GetV1MetricsUserInvolvementsParams
- func (o *GetV1MetricsUserInvolvementsParams) WithBy(by *string) *GetV1MetricsUserInvolvementsParams
- func (o *GetV1MetricsUserInvolvementsParams) WithContext(ctx context.Context) *GetV1MetricsUserInvolvementsParams
- func (o *GetV1MetricsUserInvolvementsParams) WithDefaults() *GetV1MetricsUserInvolvementsParams
- func (o *GetV1MetricsUserInvolvementsParams) WithEndDate(endDate *strfmt.Date) *GetV1MetricsUserInvolvementsParams
- func (o *GetV1MetricsUserInvolvementsParams) WithHTTPClient(client *http.Client) *GetV1MetricsUserInvolvementsParams
- func (o *GetV1MetricsUserInvolvementsParams) WithSortDirection(sortDirection *string) *GetV1MetricsUserInvolvementsParams
- func (o *GetV1MetricsUserInvolvementsParams) WithSortField(sortField *string) *GetV1MetricsUserInvolvementsParams
- func (o *GetV1MetricsUserInvolvementsParams) WithSortLimit(sortLimit *int32) *GetV1MetricsUserInvolvementsParams
- func (o *GetV1MetricsUserInvolvementsParams) WithStartDate(startDate *strfmt.Date) *GetV1MetricsUserInvolvementsParams
- func (o *GetV1MetricsUserInvolvementsParams) WithTimeout(timeout time.Duration) *GetV1MetricsUserInvolvementsParams
- func (o *GetV1MetricsUserInvolvementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1MetricsUserInvolvementsReader
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 metrics API
func (*Client) GetV1MetricsIncidents ¶
func (a *Client) GetV1MetricsIncidents(params *GetV1MetricsIncidentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1MetricsIncidentsOK, error)
GetV1MetricsIncidents lists incident metrics
Returns a report with time bucketed analytics data
func (*Client) GetV1MetricsInfraType ¶
func (a *Client) GetV1MetricsInfraType(params *GetV1MetricsInfraTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1MetricsInfraTypeOK, error)
GetV1MetricsInfraType lists metrics for a component type
Returns metrics for all components of a given type
func (*Client) GetV1MetricsInfraTypeInfraID ¶
func (a *Client) GetV1MetricsInfraTypeInfraID(params *GetV1MetricsInfraTypeInfraIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1MetricsInfraTypeInfraIDOK, error)
GetV1MetricsInfraTypeInfraID shows metrics for a component
Return metrics for a specific component
func (*Client) GetV1MetricsRetrospectives ¶
func (a *Client) GetV1MetricsRetrospectives(params *GetV1MetricsRetrospectivesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1MetricsRetrospectivesOK, error)
GetV1MetricsRetrospectives lists retrospective metrics
Returns a report with retrospective analytics data
func (*Client) GetV1MetricsUserInvolvements ¶
func (a *Client) GetV1MetricsUserInvolvements(params *GetV1MetricsUserInvolvementsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1MetricsUserInvolvementsOK, error)
GetV1MetricsUserInvolvements lists user metrics
Returns a report with time bucketed analytics data
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetV1MetricsIncidents(params *GetV1MetricsIncidentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1MetricsIncidentsOK, error) GetV1MetricsInfraType(params *GetV1MetricsInfraTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1MetricsInfraTypeOK, error) GetV1MetricsInfraTypeInfraID(params *GetV1MetricsInfraTypeInfraIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1MetricsInfraTypeInfraIDOK, error) GetV1MetricsRetrospectives(params *GetV1MetricsRetrospectivesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1MetricsRetrospectivesOK, error) GetV1MetricsUserInvolvements(params *GetV1MetricsUserInvolvementsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1MetricsUserInvolvementsOK, 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 metrics API client.
type GetV1MetricsIncidentsOK ¶
type GetV1MetricsIncidentsOK struct {
Payload *models.MetricsMetricsEntity
}
GetV1MetricsIncidentsOK describes a response with status code 200, with default header values.
Returns a report with time bucketed analytics data
func NewGetV1MetricsIncidentsOK ¶
func NewGetV1MetricsIncidentsOK() *GetV1MetricsIncidentsOK
NewGetV1MetricsIncidentsOK creates a GetV1MetricsIncidentsOK with default headers values
func (*GetV1MetricsIncidentsOK) Error ¶
func (o *GetV1MetricsIncidentsOK) Error() string
func (*GetV1MetricsIncidentsOK) GetPayload ¶
func (o *GetV1MetricsIncidentsOK) GetPayload() *models.MetricsMetricsEntity
func (*GetV1MetricsIncidentsOK) IsClientError ¶
func (o *GetV1MetricsIncidentsOK) IsClientError() bool
IsClientError returns true when this get v1 metrics incidents o k response has a 4xx status code
func (*GetV1MetricsIncidentsOK) IsCode ¶
func (o *GetV1MetricsIncidentsOK) IsCode(code int) bool
IsCode returns true when this get v1 metrics incidents o k response a status code equal to that given
func (*GetV1MetricsIncidentsOK) IsRedirect ¶
func (o *GetV1MetricsIncidentsOK) IsRedirect() bool
IsRedirect returns true when this get v1 metrics incidents o k response has a 3xx status code
func (*GetV1MetricsIncidentsOK) IsServerError ¶
func (o *GetV1MetricsIncidentsOK) IsServerError() bool
IsServerError returns true when this get v1 metrics incidents o k response has a 5xx status code
func (*GetV1MetricsIncidentsOK) IsSuccess ¶
func (o *GetV1MetricsIncidentsOK) IsSuccess() bool
IsSuccess returns true when this get v1 metrics incidents o k response has a 2xx status code
func (*GetV1MetricsIncidentsOK) String ¶
func (o *GetV1MetricsIncidentsOK) String() string
type GetV1MetricsIncidentsParams ¶
type GetV1MetricsIncidentsParams struct { // BucketSize. BucketSize *string // By. By *string // Conditions. Conditions *string /* EndDate. The end date to return metrics from Format: date */ EndDate *strfmt.Date // SortDirection. SortDirection *string // SortField. SortField *string // SortLimit. // // Format: int32 SortLimit *int32 /* StartDate. The start date to return metrics from Format: date */ StartDate *strfmt.Date Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1MetricsIncidentsParams contains all the parameters to send to the API endpoint
for the get v1 metrics incidents operation. Typically these are written to a http.Request.
func NewGetV1MetricsIncidentsParams ¶
func NewGetV1MetricsIncidentsParams() *GetV1MetricsIncidentsParams
NewGetV1MetricsIncidentsParams creates a new GetV1MetricsIncidentsParams 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 NewGetV1MetricsIncidentsParamsWithContext ¶
func NewGetV1MetricsIncidentsParamsWithContext(ctx context.Context) *GetV1MetricsIncidentsParams
NewGetV1MetricsIncidentsParamsWithContext creates a new GetV1MetricsIncidentsParams object with the ability to set a context for a request.
func NewGetV1MetricsIncidentsParamsWithHTTPClient ¶
func NewGetV1MetricsIncidentsParamsWithHTTPClient(client *http.Client) *GetV1MetricsIncidentsParams
NewGetV1MetricsIncidentsParamsWithHTTPClient creates a new GetV1MetricsIncidentsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1MetricsIncidentsParamsWithTimeout ¶
func NewGetV1MetricsIncidentsParamsWithTimeout(timeout time.Duration) *GetV1MetricsIncidentsParams
NewGetV1MetricsIncidentsParamsWithTimeout creates a new GetV1MetricsIncidentsParams object with the ability to set a timeout on a request.
func (*GetV1MetricsIncidentsParams) SetBucketSize ¶
func (o *GetV1MetricsIncidentsParams) SetBucketSize(bucketSize *string)
SetBucketSize adds the bucketSize to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) SetBy ¶
func (o *GetV1MetricsIncidentsParams) SetBy(by *string)
SetBy adds the by to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) SetConditions ¶
func (o *GetV1MetricsIncidentsParams) SetConditions(conditions *string)
SetConditions adds the conditions to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) SetContext ¶
func (o *GetV1MetricsIncidentsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) SetDefaults ¶
func (o *GetV1MetricsIncidentsParams) SetDefaults()
SetDefaults hydrates default values in the get v1 metrics incidents params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1MetricsIncidentsParams) SetEndDate ¶
func (o *GetV1MetricsIncidentsParams) SetEndDate(endDate *strfmt.Date)
SetEndDate adds the endDate to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) SetHTTPClient ¶
func (o *GetV1MetricsIncidentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) SetSortDirection ¶
func (o *GetV1MetricsIncidentsParams) SetSortDirection(sortDirection *string)
SetSortDirection adds the sortDirection to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) SetSortField ¶
func (o *GetV1MetricsIncidentsParams) SetSortField(sortField *string)
SetSortField adds the sortField to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) SetSortLimit ¶
func (o *GetV1MetricsIncidentsParams) SetSortLimit(sortLimit *int32)
SetSortLimit adds the sortLimit to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) SetStartDate ¶
func (o *GetV1MetricsIncidentsParams) SetStartDate(startDate *strfmt.Date)
SetStartDate adds the startDate to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) SetTimeout ¶
func (o *GetV1MetricsIncidentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) WithBucketSize ¶
func (o *GetV1MetricsIncidentsParams) WithBucketSize(bucketSize *string) *GetV1MetricsIncidentsParams
WithBucketSize adds the bucketSize to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) WithBy ¶
func (o *GetV1MetricsIncidentsParams) WithBy(by *string) *GetV1MetricsIncidentsParams
WithBy adds the by to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) WithConditions ¶
func (o *GetV1MetricsIncidentsParams) WithConditions(conditions *string) *GetV1MetricsIncidentsParams
WithConditions adds the conditions to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) WithContext ¶
func (o *GetV1MetricsIncidentsParams) WithContext(ctx context.Context) *GetV1MetricsIncidentsParams
WithContext adds the context to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) WithDefaults ¶
func (o *GetV1MetricsIncidentsParams) WithDefaults() *GetV1MetricsIncidentsParams
WithDefaults hydrates default values in the get v1 metrics incidents params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1MetricsIncidentsParams) WithEndDate ¶
func (o *GetV1MetricsIncidentsParams) WithEndDate(endDate *strfmt.Date) *GetV1MetricsIncidentsParams
WithEndDate adds the endDate to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) WithHTTPClient ¶
func (o *GetV1MetricsIncidentsParams) WithHTTPClient(client *http.Client) *GetV1MetricsIncidentsParams
WithHTTPClient adds the HTTPClient to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) WithSortDirection ¶
func (o *GetV1MetricsIncidentsParams) WithSortDirection(sortDirection *string) *GetV1MetricsIncidentsParams
WithSortDirection adds the sortDirection to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) WithSortField ¶
func (o *GetV1MetricsIncidentsParams) WithSortField(sortField *string) *GetV1MetricsIncidentsParams
WithSortField adds the sortField to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) WithSortLimit ¶
func (o *GetV1MetricsIncidentsParams) WithSortLimit(sortLimit *int32) *GetV1MetricsIncidentsParams
WithSortLimit adds the sortLimit to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) WithStartDate ¶
func (o *GetV1MetricsIncidentsParams) WithStartDate(startDate *strfmt.Date) *GetV1MetricsIncidentsParams
WithStartDate adds the startDate to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) WithTimeout ¶
func (o *GetV1MetricsIncidentsParams) WithTimeout(timeout time.Duration) *GetV1MetricsIncidentsParams
WithTimeout adds the timeout to the get v1 metrics incidents params
func (*GetV1MetricsIncidentsParams) WriteToRequest ¶
func (o *GetV1MetricsIncidentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1MetricsIncidentsReader ¶
type GetV1MetricsIncidentsReader struct {
// contains filtered or unexported fields
}
GetV1MetricsIncidentsReader is a Reader for the GetV1MetricsIncidents structure.
func (*GetV1MetricsIncidentsReader) ReadResponse ¶
func (o *GetV1MetricsIncidentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1MetricsInfraTypeInfraIDOK ¶
type GetV1MetricsInfraTypeInfraIDOK struct {
Payload *models.MetricsSingleMetricsEntity
}
GetV1MetricsInfraTypeInfraIDOK describes a response with status code 200, with default header values.
Return metrics for a specific component
func NewGetV1MetricsInfraTypeInfraIDOK ¶
func NewGetV1MetricsInfraTypeInfraIDOK() *GetV1MetricsInfraTypeInfraIDOK
NewGetV1MetricsInfraTypeInfraIDOK creates a GetV1MetricsInfraTypeInfraIDOK with default headers values
func (*GetV1MetricsInfraTypeInfraIDOK) Error ¶
func (o *GetV1MetricsInfraTypeInfraIDOK) Error() string
func (*GetV1MetricsInfraTypeInfraIDOK) GetPayload ¶
func (o *GetV1MetricsInfraTypeInfraIDOK) GetPayload() *models.MetricsSingleMetricsEntity
func (*GetV1MetricsInfraTypeInfraIDOK) IsClientError ¶
func (o *GetV1MetricsInfraTypeInfraIDOK) IsClientError() bool
IsClientError returns true when this get v1 metrics infra type infra Id o k response has a 4xx status code
func (*GetV1MetricsInfraTypeInfraIDOK) IsCode ¶
func (o *GetV1MetricsInfraTypeInfraIDOK) IsCode(code int) bool
IsCode returns true when this get v1 metrics infra type infra Id o k response a status code equal to that given
func (*GetV1MetricsInfraTypeInfraIDOK) IsRedirect ¶
func (o *GetV1MetricsInfraTypeInfraIDOK) IsRedirect() bool
IsRedirect returns true when this get v1 metrics infra type infra Id o k response has a 3xx status code
func (*GetV1MetricsInfraTypeInfraIDOK) IsServerError ¶
func (o *GetV1MetricsInfraTypeInfraIDOK) IsServerError() bool
IsServerError returns true when this get v1 metrics infra type infra Id o k response has a 5xx status code
func (*GetV1MetricsInfraTypeInfraIDOK) IsSuccess ¶
func (o *GetV1MetricsInfraTypeInfraIDOK) IsSuccess() bool
IsSuccess returns true when this get v1 metrics infra type infra Id o k response has a 2xx status code
func (*GetV1MetricsInfraTypeInfraIDOK) String ¶
func (o *GetV1MetricsInfraTypeInfraIDOK) String() string
type GetV1MetricsInfraTypeInfraIDParams ¶
type GetV1MetricsInfraTypeInfraIDParams struct { /* EndDate. The end date to return metrics from, defaults to today Format: date */ EndDate *strfmt.Date /* InfraID. Component UUID */ InfraID string // InfraType. InfraType string /* StartDate. The start date to return metrics from; defaults to 30 days ago Format: date */ StartDate *strfmt.Date Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1MetricsInfraTypeInfraIDParams contains all the parameters to send to the API endpoint
for the get v1 metrics infra type infra Id operation. Typically these are written to a http.Request.
func NewGetV1MetricsInfraTypeInfraIDParams ¶
func NewGetV1MetricsInfraTypeInfraIDParams() *GetV1MetricsInfraTypeInfraIDParams
NewGetV1MetricsInfraTypeInfraIDParams creates a new GetV1MetricsInfraTypeInfraIDParams 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 NewGetV1MetricsInfraTypeInfraIDParamsWithContext ¶
func NewGetV1MetricsInfraTypeInfraIDParamsWithContext(ctx context.Context) *GetV1MetricsInfraTypeInfraIDParams
NewGetV1MetricsInfraTypeInfraIDParamsWithContext creates a new GetV1MetricsInfraTypeInfraIDParams object with the ability to set a context for a request.
func NewGetV1MetricsInfraTypeInfraIDParamsWithHTTPClient ¶
func NewGetV1MetricsInfraTypeInfraIDParamsWithHTTPClient(client *http.Client) *GetV1MetricsInfraTypeInfraIDParams
NewGetV1MetricsInfraTypeInfraIDParamsWithHTTPClient creates a new GetV1MetricsInfraTypeInfraIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1MetricsInfraTypeInfraIDParamsWithTimeout ¶
func NewGetV1MetricsInfraTypeInfraIDParamsWithTimeout(timeout time.Duration) *GetV1MetricsInfraTypeInfraIDParams
NewGetV1MetricsInfraTypeInfraIDParamsWithTimeout creates a new GetV1MetricsInfraTypeInfraIDParams object with the ability to set a timeout on a request.
func (*GetV1MetricsInfraTypeInfraIDParams) SetContext ¶
func (o *GetV1MetricsInfraTypeInfraIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 metrics infra type infra Id params
func (*GetV1MetricsInfraTypeInfraIDParams) SetDefaults ¶
func (o *GetV1MetricsInfraTypeInfraIDParams) SetDefaults()
SetDefaults hydrates default values in the get v1 metrics infra type infra Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1MetricsInfraTypeInfraIDParams) SetEndDate ¶
func (o *GetV1MetricsInfraTypeInfraIDParams) SetEndDate(endDate *strfmt.Date)
SetEndDate adds the endDate to the get v1 metrics infra type infra Id params
func (*GetV1MetricsInfraTypeInfraIDParams) SetHTTPClient ¶
func (o *GetV1MetricsInfraTypeInfraIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 metrics infra type infra Id params
func (*GetV1MetricsInfraTypeInfraIDParams) SetInfraID ¶
func (o *GetV1MetricsInfraTypeInfraIDParams) SetInfraID(infraID string)
SetInfraID adds the infraId to the get v1 metrics infra type infra Id params
func (*GetV1MetricsInfraTypeInfraIDParams) SetInfraType ¶
func (o *GetV1MetricsInfraTypeInfraIDParams) SetInfraType(infraType string)
SetInfraType adds the infraType to the get v1 metrics infra type infra Id params
func (*GetV1MetricsInfraTypeInfraIDParams) SetStartDate ¶
func (o *GetV1MetricsInfraTypeInfraIDParams) SetStartDate(startDate *strfmt.Date)
SetStartDate adds the startDate to the get v1 metrics infra type infra Id params
func (*GetV1MetricsInfraTypeInfraIDParams) SetTimeout ¶
func (o *GetV1MetricsInfraTypeInfraIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 metrics infra type infra Id params
func (*GetV1MetricsInfraTypeInfraIDParams) WithContext ¶
func (o *GetV1MetricsInfraTypeInfraIDParams) WithContext(ctx context.Context) *GetV1MetricsInfraTypeInfraIDParams
WithContext adds the context to the get v1 metrics infra type infra Id params
func (*GetV1MetricsInfraTypeInfraIDParams) WithDefaults ¶
func (o *GetV1MetricsInfraTypeInfraIDParams) WithDefaults() *GetV1MetricsInfraTypeInfraIDParams
WithDefaults hydrates default values in the get v1 metrics infra type infra Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1MetricsInfraTypeInfraIDParams) WithEndDate ¶
func (o *GetV1MetricsInfraTypeInfraIDParams) WithEndDate(endDate *strfmt.Date) *GetV1MetricsInfraTypeInfraIDParams
WithEndDate adds the endDate to the get v1 metrics infra type infra Id params
func (*GetV1MetricsInfraTypeInfraIDParams) WithHTTPClient ¶
func (o *GetV1MetricsInfraTypeInfraIDParams) WithHTTPClient(client *http.Client) *GetV1MetricsInfraTypeInfraIDParams
WithHTTPClient adds the HTTPClient to the get v1 metrics infra type infra Id params
func (*GetV1MetricsInfraTypeInfraIDParams) WithInfraID ¶
func (o *GetV1MetricsInfraTypeInfraIDParams) WithInfraID(infraID string) *GetV1MetricsInfraTypeInfraIDParams
WithInfraID adds the infraID to the get v1 metrics infra type infra Id params
func (*GetV1MetricsInfraTypeInfraIDParams) WithInfraType ¶
func (o *GetV1MetricsInfraTypeInfraIDParams) WithInfraType(infraType string) *GetV1MetricsInfraTypeInfraIDParams
WithInfraType adds the infraType to the get v1 metrics infra type infra Id params
func (*GetV1MetricsInfraTypeInfraIDParams) WithStartDate ¶
func (o *GetV1MetricsInfraTypeInfraIDParams) WithStartDate(startDate *strfmt.Date) *GetV1MetricsInfraTypeInfraIDParams
WithStartDate adds the startDate to the get v1 metrics infra type infra Id params
func (*GetV1MetricsInfraTypeInfraIDParams) WithTimeout ¶
func (o *GetV1MetricsInfraTypeInfraIDParams) WithTimeout(timeout time.Duration) *GetV1MetricsInfraTypeInfraIDParams
WithTimeout adds the timeout to the get v1 metrics infra type infra Id params
func (*GetV1MetricsInfraTypeInfraIDParams) WriteToRequest ¶
func (o *GetV1MetricsInfraTypeInfraIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1MetricsInfraTypeInfraIDReader ¶
type GetV1MetricsInfraTypeInfraIDReader struct {
// contains filtered or unexported fields
}
GetV1MetricsInfraTypeInfraIDReader is a Reader for the GetV1MetricsInfraTypeInfraID structure.
func (*GetV1MetricsInfraTypeInfraIDReader) ReadResponse ¶
func (o *GetV1MetricsInfraTypeInfraIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1MetricsInfraTypeOK ¶
type GetV1MetricsInfraTypeOK struct {
Payload *models.MetricsSingleMetricsEntity
}
GetV1MetricsInfraTypeOK describes a response with status code 200, with default header values.
Returns metrics for all components of a given type
func NewGetV1MetricsInfraTypeOK ¶
func NewGetV1MetricsInfraTypeOK() *GetV1MetricsInfraTypeOK
NewGetV1MetricsInfraTypeOK creates a GetV1MetricsInfraTypeOK with default headers values
func (*GetV1MetricsInfraTypeOK) Error ¶
func (o *GetV1MetricsInfraTypeOK) Error() string
func (*GetV1MetricsInfraTypeOK) GetPayload ¶
func (o *GetV1MetricsInfraTypeOK) GetPayload() *models.MetricsSingleMetricsEntity
func (*GetV1MetricsInfraTypeOK) IsClientError ¶
func (o *GetV1MetricsInfraTypeOK) IsClientError() bool
IsClientError returns true when this get v1 metrics infra type o k response has a 4xx status code
func (*GetV1MetricsInfraTypeOK) IsCode ¶
func (o *GetV1MetricsInfraTypeOK) IsCode(code int) bool
IsCode returns true when this get v1 metrics infra type o k response a status code equal to that given
func (*GetV1MetricsInfraTypeOK) IsRedirect ¶
func (o *GetV1MetricsInfraTypeOK) IsRedirect() bool
IsRedirect returns true when this get v1 metrics infra type o k response has a 3xx status code
func (*GetV1MetricsInfraTypeOK) IsServerError ¶
func (o *GetV1MetricsInfraTypeOK) IsServerError() bool
IsServerError returns true when this get v1 metrics infra type o k response has a 5xx status code
func (*GetV1MetricsInfraTypeOK) IsSuccess ¶
func (o *GetV1MetricsInfraTypeOK) IsSuccess() bool
IsSuccess returns true when this get v1 metrics infra type o k response has a 2xx status code
func (*GetV1MetricsInfraTypeOK) String ¶
func (o *GetV1MetricsInfraTypeOK) String() string
type GetV1MetricsInfraTypeParams ¶
type GetV1MetricsInfraTypeParams struct { /* EndDate. The end date to return metrics from, defaults to today Format: date */ EndDate *strfmt.Date // InfraType. InfraType string /* StartDate. The start date to return metrics from; defaults to 30 days ago Format: date */ StartDate *strfmt.Date Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1MetricsInfraTypeParams contains all the parameters to send to the API endpoint
for the get v1 metrics infra type operation. Typically these are written to a http.Request.
func NewGetV1MetricsInfraTypeParams ¶
func NewGetV1MetricsInfraTypeParams() *GetV1MetricsInfraTypeParams
NewGetV1MetricsInfraTypeParams creates a new GetV1MetricsInfraTypeParams 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 NewGetV1MetricsInfraTypeParamsWithContext ¶
func NewGetV1MetricsInfraTypeParamsWithContext(ctx context.Context) *GetV1MetricsInfraTypeParams
NewGetV1MetricsInfraTypeParamsWithContext creates a new GetV1MetricsInfraTypeParams object with the ability to set a context for a request.
func NewGetV1MetricsInfraTypeParamsWithHTTPClient ¶
func NewGetV1MetricsInfraTypeParamsWithHTTPClient(client *http.Client) *GetV1MetricsInfraTypeParams
NewGetV1MetricsInfraTypeParamsWithHTTPClient creates a new GetV1MetricsInfraTypeParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1MetricsInfraTypeParamsWithTimeout ¶
func NewGetV1MetricsInfraTypeParamsWithTimeout(timeout time.Duration) *GetV1MetricsInfraTypeParams
NewGetV1MetricsInfraTypeParamsWithTimeout creates a new GetV1MetricsInfraTypeParams object with the ability to set a timeout on a request.
func (*GetV1MetricsInfraTypeParams) SetContext ¶
func (o *GetV1MetricsInfraTypeParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 metrics infra type params
func (*GetV1MetricsInfraTypeParams) SetDefaults ¶
func (o *GetV1MetricsInfraTypeParams) SetDefaults()
SetDefaults hydrates default values in the get v1 metrics infra type params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1MetricsInfraTypeParams) SetEndDate ¶
func (o *GetV1MetricsInfraTypeParams) SetEndDate(endDate *strfmt.Date)
SetEndDate adds the endDate to the get v1 metrics infra type params
func (*GetV1MetricsInfraTypeParams) SetHTTPClient ¶
func (o *GetV1MetricsInfraTypeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 metrics infra type params
func (*GetV1MetricsInfraTypeParams) SetInfraType ¶
func (o *GetV1MetricsInfraTypeParams) SetInfraType(infraType string)
SetInfraType adds the infraType to the get v1 metrics infra type params
func (*GetV1MetricsInfraTypeParams) SetStartDate ¶
func (o *GetV1MetricsInfraTypeParams) SetStartDate(startDate *strfmt.Date)
SetStartDate adds the startDate to the get v1 metrics infra type params
func (*GetV1MetricsInfraTypeParams) SetTimeout ¶
func (o *GetV1MetricsInfraTypeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 metrics infra type params
func (*GetV1MetricsInfraTypeParams) WithContext ¶
func (o *GetV1MetricsInfraTypeParams) WithContext(ctx context.Context) *GetV1MetricsInfraTypeParams
WithContext adds the context to the get v1 metrics infra type params
func (*GetV1MetricsInfraTypeParams) WithDefaults ¶
func (o *GetV1MetricsInfraTypeParams) WithDefaults() *GetV1MetricsInfraTypeParams
WithDefaults hydrates default values in the get v1 metrics infra type params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1MetricsInfraTypeParams) WithEndDate ¶
func (o *GetV1MetricsInfraTypeParams) WithEndDate(endDate *strfmt.Date) *GetV1MetricsInfraTypeParams
WithEndDate adds the endDate to the get v1 metrics infra type params
func (*GetV1MetricsInfraTypeParams) WithHTTPClient ¶
func (o *GetV1MetricsInfraTypeParams) WithHTTPClient(client *http.Client) *GetV1MetricsInfraTypeParams
WithHTTPClient adds the HTTPClient to the get v1 metrics infra type params
func (*GetV1MetricsInfraTypeParams) WithInfraType ¶
func (o *GetV1MetricsInfraTypeParams) WithInfraType(infraType string) *GetV1MetricsInfraTypeParams
WithInfraType adds the infraType to the get v1 metrics infra type params
func (*GetV1MetricsInfraTypeParams) WithStartDate ¶
func (o *GetV1MetricsInfraTypeParams) WithStartDate(startDate *strfmt.Date) *GetV1MetricsInfraTypeParams
WithStartDate adds the startDate to the get v1 metrics infra type params
func (*GetV1MetricsInfraTypeParams) WithTimeout ¶
func (o *GetV1MetricsInfraTypeParams) WithTimeout(timeout time.Duration) *GetV1MetricsInfraTypeParams
WithTimeout adds the timeout to the get v1 metrics infra type params
func (*GetV1MetricsInfraTypeParams) WriteToRequest ¶
func (o *GetV1MetricsInfraTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1MetricsInfraTypeReader ¶
type GetV1MetricsInfraTypeReader struct {
// contains filtered or unexported fields
}
GetV1MetricsInfraTypeReader is a Reader for the GetV1MetricsInfraType structure.
func (*GetV1MetricsInfraTypeReader) ReadResponse ¶
func (o *GetV1MetricsInfraTypeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1MetricsRetrospectivesOK ¶
type GetV1MetricsRetrospectivesOK struct {
Payload *models.MetricsRetrospectiveEntity
}
GetV1MetricsRetrospectivesOK describes a response with status code 200, with default header values.
Returns a report with retrospective analytics data
func NewGetV1MetricsRetrospectivesOK ¶
func NewGetV1MetricsRetrospectivesOK() *GetV1MetricsRetrospectivesOK
NewGetV1MetricsRetrospectivesOK creates a GetV1MetricsRetrospectivesOK with default headers values
func (*GetV1MetricsRetrospectivesOK) Error ¶
func (o *GetV1MetricsRetrospectivesOK) Error() string
func (*GetV1MetricsRetrospectivesOK) GetPayload ¶
func (o *GetV1MetricsRetrospectivesOK) GetPayload() *models.MetricsRetrospectiveEntity
func (*GetV1MetricsRetrospectivesOK) IsClientError ¶
func (o *GetV1MetricsRetrospectivesOK) IsClientError() bool
IsClientError returns true when this get v1 metrics retrospectives o k response has a 4xx status code
func (*GetV1MetricsRetrospectivesOK) IsCode ¶
func (o *GetV1MetricsRetrospectivesOK) IsCode(code int) bool
IsCode returns true when this get v1 metrics retrospectives o k response a status code equal to that given
func (*GetV1MetricsRetrospectivesOK) IsRedirect ¶
func (o *GetV1MetricsRetrospectivesOK) IsRedirect() bool
IsRedirect returns true when this get v1 metrics retrospectives o k response has a 3xx status code
func (*GetV1MetricsRetrospectivesOK) IsServerError ¶
func (o *GetV1MetricsRetrospectivesOK) IsServerError() bool
IsServerError returns true when this get v1 metrics retrospectives o k response has a 5xx status code
func (*GetV1MetricsRetrospectivesOK) IsSuccess ¶
func (o *GetV1MetricsRetrospectivesOK) IsSuccess() bool
IsSuccess returns true when this get v1 metrics retrospectives o k response has a 2xx status code
func (*GetV1MetricsRetrospectivesOK) String ¶
func (o *GetV1MetricsRetrospectivesOK) String() string
type GetV1MetricsRetrospectivesParams ¶
type GetV1MetricsRetrospectivesParams struct { /* EndDate. The end date to return metrics from Format: date */ EndDate *strfmt.Date /* StartDate. The start date to return metrics from Format: date */ StartDate *strfmt.Date Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1MetricsRetrospectivesParams contains all the parameters to send to the API endpoint
for the get v1 metrics retrospectives operation. Typically these are written to a http.Request.
func NewGetV1MetricsRetrospectivesParams ¶
func NewGetV1MetricsRetrospectivesParams() *GetV1MetricsRetrospectivesParams
NewGetV1MetricsRetrospectivesParams creates a new GetV1MetricsRetrospectivesParams 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 NewGetV1MetricsRetrospectivesParamsWithContext ¶
func NewGetV1MetricsRetrospectivesParamsWithContext(ctx context.Context) *GetV1MetricsRetrospectivesParams
NewGetV1MetricsRetrospectivesParamsWithContext creates a new GetV1MetricsRetrospectivesParams object with the ability to set a context for a request.
func NewGetV1MetricsRetrospectivesParamsWithHTTPClient ¶
func NewGetV1MetricsRetrospectivesParamsWithHTTPClient(client *http.Client) *GetV1MetricsRetrospectivesParams
NewGetV1MetricsRetrospectivesParamsWithHTTPClient creates a new GetV1MetricsRetrospectivesParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1MetricsRetrospectivesParamsWithTimeout ¶
func NewGetV1MetricsRetrospectivesParamsWithTimeout(timeout time.Duration) *GetV1MetricsRetrospectivesParams
NewGetV1MetricsRetrospectivesParamsWithTimeout creates a new GetV1MetricsRetrospectivesParams object with the ability to set a timeout on a request.
func (*GetV1MetricsRetrospectivesParams) SetContext ¶
func (o *GetV1MetricsRetrospectivesParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 metrics retrospectives params
func (*GetV1MetricsRetrospectivesParams) SetDefaults ¶
func (o *GetV1MetricsRetrospectivesParams) SetDefaults()
SetDefaults hydrates default values in the get v1 metrics retrospectives params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1MetricsRetrospectivesParams) SetEndDate ¶
func (o *GetV1MetricsRetrospectivesParams) SetEndDate(endDate *strfmt.Date)
SetEndDate adds the endDate to the get v1 metrics retrospectives params
func (*GetV1MetricsRetrospectivesParams) SetHTTPClient ¶
func (o *GetV1MetricsRetrospectivesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 metrics retrospectives params
func (*GetV1MetricsRetrospectivesParams) SetStartDate ¶
func (o *GetV1MetricsRetrospectivesParams) SetStartDate(startDate *strfmt.Date)
SetStartDate adds the startDate to the get v1 metrics retrospectives params
func (*GetV1MetricsRetrospectivesParams) SetTimeout ¶
func (o *GetV1MetricsRetrospectivesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 metrics retrospectives params
func (*GetV1MetricsRetrospectivesParams) WithContext ¶
func (o *GetV1MetricsRetrospectivesParams) WithContext(ctx context.Context) *GetV1MetricsRetrospectivesParams
WithContext adds the context to the get v1 metrics retrospectives params
func (*GetV1MetricsRetrospectivesParams) WithDefaults ¶
func (o *GetV1MetricsRetrospectivesParams) WithDefaults() *GetV1MetricsRetrospectivesParams
WithDefaults hydrates default values in the get v1 metrics retrospectives params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1MetricsRetrospectivesParams) WithEndDate ¶
func (o *GetV1MetricsRetrospectivesParams) WithEndDate(endDate *strfmt.Date) *GetV1MetricsRetrospectivesParams
WithEndDate adds the endDate to the get v1 metrics retrospectives params
func (*GetV1MetricsRetrospectivesParams) WithHTTPClient ¶
func (o *GetV1MetricsRetrospectivesParams) WithHTTPClient(client *http.Client) *GetV1MetricsRetrospectivesParams
WithHTTPClient adds the HTTPClient to the get v1 metrics retrospectives params
func (*GetV1MetricsRetrospectivesParams) WithStartDate ¶
func (o *GetV1MetricsRetrospectivesParams) WithStartDate(startDate *strfmt.Date) *GetV1MetricsRetrospectivesParams
WithStartDate adds the startDate to the get v1 metrics retrospectives params
func (*GetV1MetricsRetrospectivesParams) WithTimeout ¶
func (o *GetV1MetricsRetrospectivesParams) WithTimeout(timeout time.Duration) *GetV1MetricsRetrospectivesParams
WithTimeout adds the timeout to the get v1 metrics retrospectives params
func (*GetV1MetricsRetrospectivesParams) WriteToRequest ¶
func (o *GetV1MetricsRetrospectivesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1MetricsRetrospectivesReader ¶
type GetV1MetricsRetrospectivesReader struct {
// contains filtered or unexported fields
}
GetV1MetricsRetrospectivesReader is a Reader for the GetV1MetricsRetrospectives structure.
func (*GetV1MetricsRetrospectivesReader) ReadResponse ¶
func (o *GetV1MetricsRetrospectivesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1MetricsUserInvolvementsOK ¶
type GetV1MetricsUserInvolvementsOK struct {
Payload *models.MetricsMetricsEntity
}
GetV1MetricsUserInvolvementsOK describes a response with status code 200, with default header values.
Returns a report with time bucketed analytics data
func NewGetV1MetricsUserInvolvementsOK ¶
func NewGetV1MetricsUserInvolvementsOK() *GetV1MetricsUserInvolvementsOK
NewGetV1MetricsUserInvolvementsOK creates a GetV1MetricsUserInvolvementsOK with default headers values
func (*GetV1MetricsUserInvolvementsOK) Error ¶
func (o *GetV1MetricsUserInvolvementsOK) Error() string
func (*GetV1MetricsUserInvolvementsOK) GetPayload ¶
func (o *GetV1MetricsUserInvolvementsOK) GetPayload() *models.MetricsMetricsEntity
func (*GetV1MetricsUserInvolvementsOK) IsClientError ¶
func (o *GetV1MetricsUserInvolvementsOK) IsClientError() bool
IsClientError returns true when this get v1 metrics user involvements o k response has a 4xx status code
func (*GetV1MetricsUserInvolvementsOK) IsCode ¶
func (o *GetV1MetricsUserInvolvementsOK) IsCode(code int) bool
IsCode returns true when this get v1 metrics user involvements o k response a status code equal to that given
func (*GetV1MetricsUserInvolvementsOK) IsRedirect ¶
func (o *GetV1MetricsUserInvolvementsOK) IsRedirect() bool
IsRedirect returns true when this get v1 metrics user involvements o k response has a 3xx status code
func (*GetV1MetricsUserInvolvementsOK) IsServerError ¶
func (o *GetV1MetricsUserInvolvementsOK) IsServerError() bool
IsServerError returns true when this get v1 metrics user involvements o k response has a 5xx status code
func (*GetV1MetricsUserInvolvementsOK) IsSuccess ¶
func (o *GetV1MetricsUserInvolvementsOK) IsSuccess() bool
IsSuccess returns true when this get v1 metrics user involvements o k response has a 2xx status code
func (*GetV1MetricsUserInvolvementsOK) String ¶
func (o *GetV1MetricsUserInvolvementsOK) String() string
type GetV1MetricsUserInvolvementsParams ¶
type GetV1MetricsUserInvolvementsParams struct { // BucketSize. BucketSize *string // By. By *string /* EndDate. The end date to return metrics from Format: date */ EndDate *strfmt.Date // SortDirection. SortDirection *string // SortField. SortField *string // SortLimit. // // Format: int32 SortLimit *int32 /* StartDate. The start date to return metrics from Format: date */ StartDate *strfmt.Date Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1MetricsUserInvolvementsParams contains all the parameters to send to the API endpoint
for the get v1 metrics user involvements operation. Typically these are written to a http.Request.
func NewGetV1MetricsUserInvolvementsParams ¶
func NewGetV1MetricsUserInvolvementsParams() *GetV1MetricsUserInvolvementsParams
NewGetV1MetricsUserInvolvementsParams creates a new GetV1MetricsUserInvolvementsParams 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 NewGetV1MetricsUserInvolvementsParamsWithContext ¶
func NewGetV1MetricsUserInvolvementsParamsWithContext(ctx context.Context) *GetV1MetricsUserInvolvementsParams
NewGetV1MetricsUserInvolvementsParamsWithContext creates a new GetV1MetricsUserInvolvementsParams object with the ability to set a context for a request.
func NewGetV1MetricsUserInvolvementsParamsWithHTTPClient ¶
func NewGetV1MetricsUserInvolvementsParamsWithHTTPClient(client *http.Client) *GetV1MetricsUserInvolvementsParams
NewGetV1MetricsUserInvolvementsParamsWithHTTPClient creates a new GetV1MetricsUserInvolvementsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1MetricsUserInvolvementsParamsWithTimeout ¶
func NewGetV1MetricsUserInvolvementsParamsWithTimeout(timeout time.Duration) *GetV1MetricsUserInvolvementsParams
NewGetV1MetricsUserInvolvementsParamsWithTimeout creates a new GetV1MetricsUserInvolvementsParams object with the ability to set a timeout on a request.
func (*GetV1MetricsUserInvolvementsParams) SetBucketSize ¶
func (o *GetV1MetricsUserInvolvementsParams) SetBucketSize(bucketSize *string)
SetBucketSize adds the bucketSize to the get v1 metrics user involvements params
func (*GetV1MetricsUserInvolvementsParams) SetBy ¶
func (o *GetV1MetricsUserInvolvementsParams) SetBy(by *string)
SetBy adds the by to the get v1 metrics user involvements params
func (*GetV1MetricsUserInvolvementsParams) SetContext ¶
func (o *GetV1MetricsUserInvolvementsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 metrics user involvements params
func (*GetV1MetricsUserInvolvementsParams) SetDefaults ¶
func (o *GetV1MetricsUserInvolvementsParams) SetDefaults()
SetDefaults hydrates default values in the get v1 metrics user involvements params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1MetricsUserInvolvementsParams) SetEndDate ¶
func (o *GetV1MetricsUserInvolvementsParams) SetEndDate(endDate *strfmt.Date)
SetEndDate adds the endDate to the get v1 metrics user involvements params
func (*GetV1MetricsUserInvolvementsParams) SetHTTPClient ¶
func (o *GetV1MetricsUserInvolvementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 metrics user involvements params
func (*GetV1MetricsUserInvolvementsParams) SetSortDirection ¶
func (o *GetV1MetricsUserInvolvementsParams) SetSortDirection(sortDirection *string)
SetSortDirection adds the sortDirection to the get v1 metrics user involvements params
func (*GetV1MetricsUserInvolvementsParams) SetSortField ¶
func (o *GetV1MetricsUserInvolvementsParams) SetSortField(sortField *string)
SetSortField adds the sortField to the get v1 metrics user involvements params
func (*GetV1MetricsUserInvolvementsParams) SetSortLimit ¶
func (o *GetV1MetricsUserInvolvementsParams) SetSortLimit(sortLimit *int32)
SetSortLimit adds the sortLimit to the get v1 metrics user involvements params
func (*GetV1MetricsUserInvolvementsParams) SetStartDate ¶
func (o *GetV1MetricsUserInvolvementsParams) SetStartDate(startDate *strfmt.Date)
SetStartDate adds the startDate to the get v1 metrics user involvements params
func (*GetV1MetricsUserInvolvementsParams) SetTimeout ¶
func (o *GetV1MetricsUserInvolvementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 metrics user involvements params
func (*GetV1MetricsUserInvolvementsParams) WithBucketSize ¶
func (o *GetV1MetricsUserInvolvementsParams) WithBucketSize(bucketSize *string) *GetV1MetricsUserInvolvementsParams
WithBucketSize adds the bucketSize to the get v1 metrics user involvements params
func (*GetV1MetricsUserInvolvementsParams) WithBy ¶
func (o *GetV1MetricsUserInvolvementsParams) WithBy(by *string) *GetV1MetricsUserInvolvementsParams
WithBy adds the by to the get v1 metrics user involvements params
func (*GetV1MetricsUserInvolvementsParams) WithContext ¶
func (o *GetV1MetricsUserInvolvementsParams) WithContext(ctx context.Context) *GetV1MetricsUserInvolvementsParams
WithContext adds the context to the get v1 metrics user involvements params
func (*GetV1MetricsUserInvolvementsParams) WithDefaults ¶
func (o *GetV1MetricsUserInvolvementsParams) WithDefaults() *GetV1MetricsUserInvolvementsParams
WithDefaults hydrates default values in the get v1 metrics user involvements params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1MetricsUserInvolvementsParams) WithEndDate ¶
func (o *GetV1MetricsUserInvolvementsParams) WithEndDate(endDate *strfmt.Date) *GetV1MetricsUserInvolvementsParams
WithEndDate adds the endDate to the get v1 metrics user involvements params
func (*GetV1MetricsUserInvolvementsParams) WithHTTPClient ¶
func (o *GetV1MetricsUserInvolvementsParams) WithHTTPClient(client *http.Client) *GetV1MetricsUserInvolvementsParams
WithHTTPClient adds the HTTPClient to the get v1 metrics user involvements params
func (*GetV1MetricsUserInvolvementsParams) WithSortDirection ¶
func (o *GetV1MetricsUserInvolvementsParams) WithSortDirection(sortDirection *string) *GetV1MetricsUserInvolvementsParams
WithSortDirection adds the sortDirection to the get v1 metrics user involvements params
func (*GetV1MetricsUserInvolvementsParams) WithSortField ¶
func (o *GetV1MetricsUserInvolvementsParams) WithSortField(sortField *string) *GetV1MetricsUserInvolvementsParams
WithSortField adds the sortField to the get v1 metrics user involvements params
func (*GetV1MetricsUserInvolvementsParams) WithSortLimit ¶
func (o *GetV1MetricsUserInvolvementsParams) WithSortLimit(sortLimit *int32) *GetV1MetricsUserInvolvementsParams
WithSortLimit adds the sortLimit to the get v1 metrics user involvements params
func (*GetV1MetricsUserInvolvementsParams) WithStartDate ¶
func (o *GetV1MetricsUserInvolvementsParams) WithStartDate(startDate *strfmt.Date) *GetV1MetricsUserInvolvementsParams
WithStartDate adds the startDate to the get v1 metrics user involvements params
func (*GetV1MetricsUserInvolvementsParams) WithTimeout ¶
func (o *GetV1MetricsUserInvolvementsParams) WithTimeout(timeout time.Duration) *GetV1MetricsUserInvolvementsParams
WithTimeout adds the timeout to the get v1 metrics user involvements params
func (*GetV1MetricsUserInvolvementsParams) WriteToRequest ¶
func (o *GetV1MetricsUserInvolvementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1MetricsUserInvolvementsReader ¶
type GetV1MetricsUserInvolvementsReader struct {
// contains filtered or unexported fields
}
GetV1MetricsUserInvolvementsReader is a Reader for the GetV1MetricsUserInvolvements structure.
func (*GetV1MetricsUserInvolvementsReader) ReadResponse ¶
func (o *GetV1MetricsUserInvolvementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- get_v1_metrics_incidents_parameters.go
- get_v1_metrics_incidents_responses.go
- get_v1_metrics_infra_type_infra_id_parameters.go
- get_v1_metrics_infra_type_infra_id_responses.go
- get_v1_metrics_infra_type_parameters.go
- get_v1_metrics_infra_type_responses.go
- get_v1_metrics_retrospectives_parameters.go
- get_v1_metrics_retrospectives_responses.go
- get_v1_metrics_user_involvements_parameters.go
- get_v1_metrics_user_involvements_responses.go
- metrics_client.go