operations

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 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 operations API

func (*Client) CreateBucket

func (a *Client) CreateBucket(params *CreateBucketParams, opts ...ClientOption) (*CreateBucketOK, error)

CreateBucket create bucket API

func (*Client) CreateClassicDashboard

func (a *Client) CreateClassicDashboard(params *CreateClassicDashboardParams, opts ...ClientOption) (*CreateClassicDashboardOK, error)

CreateClassicDashboard create classic dashboard API

func (*Client) CreateCollection

func (a *Client) CreateCollection(params *CreateCollectionParams, opts ...ClientOption) (*CreateCollectionOK, error)

CreateCollection create collection API

func (*Client) CreateDashboard

func (a *Client) CreateDashboard(params *CreateDashboardParams, opts ...ClientOption) (*CreateDashboardOK, error)

CreateDashboard create dashboard API

func (*Client) CreateDerivedLabel

func (a *Client) CreateDerivedLabel(params *CreateDerivedLabelParams, opts ...ClientOption) (*CreateDerivedLabelOK, error)

CreateDerivedLabel create derived label API

func (*Client) CreateDerivedMetric

func (a *Client) CreateDerivedMetric(params *CreateDerivedMetricParams, opts ...ClientOption) (*CreateDerivedMetricOK, error)

CreateDerivedMetric create derived metric API

func (*Client) CreateDropRule

func (a *Client) CreateDropRule(params *CreateDropRuleParams, opts ...ClientOption) (*CreateDropRuleOK, error)

CreateDropRule create drop rule API

func (*Client) CreateGrafanaDashboard

func (a *Client) CreateGrafanaDashboard(params *CreateGrafanaDashboardParams, opts ...ClientOption) (*CreateGrafanaDashboardOK, error)

CreateGrafanaDashboard create grafana dashboard API

func (*Client) CreateMappingRule

func (a *Client) CreateMappingRule(params *CreateMappingRuleParams, opts ...ClientOption) (*CreateMappingRuleOK, error)

CreateMappingRule create mapping rule API

func (*Client) CreateMonitor

func (a *Client) CreateMonitor(params *CreateMonitorParams, opts ...ClientOption) (*CreateMonitorOK, error)

CreateMonitor create monitor API

func (*Client) CreateMutingRule

func (a *Client) CreateMutingRule(params *CreateMutingRuleParams, opts ...ClientOption) (*CreateMutingRuleOK, error)

CreateMutingRule create muting rule API

func (*Client) CreateNotificationPolicy

func (a *Client) CreateNotificationPolicy(params *CreateNotificationPolicyParams, opts ...ClientOption) (*CreateNotificationPolicyOK, error)

CreateNotificationPolicy create notification policy API

func (*Client) CreateNotifier

func (a *Client) CreateNotifier(params *CreateNotifierParams, opts ...ClientOption) (*CreateNotifierOK, error)

CreateNotifier create notifier API

func (*Client) CreateRecordingRule

func (a *Client) CreateRecordingRule(params *CreateRecordingRuleParams, opts ...ClientOption) (*CreateRecordingRuleOK, error)

CreateRecordingRule create recording rule API

func (*Client) CreateResourcePools

func (a *Client) CreateResourcePools(params *CreateResourcePoolsParams, opts ...ClientOption) (*CreateResourcePoolsOK, error)

CreateResourcePools ResourcePools CRUD (subset for singleton objects)

func (*Client) CreateRollupRule

func (a *Client) CreateRollupRule(params *CreateRollupRuleParams, opts ...ClientOption) (*CreateRollupRuleOK, error)

CreateRollupRule create rollup rule API

func (*Client) CreateServiceAccount

func (a *Client) CreateServiceAccount(params *CreateServiceAccountParams, opts ...ClientOption) (*CreateServiceAccountOK, error)

CreateServiceAccount create service account API

func (*Client) CreateTeam

func (a *Client) CreateTeam(params *CreateTeamParams, opts ...ClientOption) (*CreateTeamOK, error)

CreateTeam create team API

func (*Client) DeleteBucket

func (a *Client) DeleteBucket(params *DeleteBucketParams, opts ...ClientOption) (*DeleteBucketOK, error)

DeleteBucket delete bucket API

func (*Client) DeleteClassicDashboard

func (a *Client) DeleteClassicDashboard(params *DeleteClassicDashboardParams, opts ...ClientOption) (*DeleteClassicDashboardOK, error)

DeleteClassicDashboard delete classic dashboard API

func (*Client) DeleteCollection

func (a *Client) DeleteCollection(params *DeleteCollectionParams, opts ...ClientOption) (*DeleteCollectionOK, error)

DeleteCollection delete collection API

func (*Client) DeleteDashboard

func (a *Client) DeleteDashboard(params *DeleteDashboardParams, opts ...ClientOption) (*DeleteDashboardOK, error)

DeleteDashboard delete dashboard API

func (*Client) DeleteDerivedLabel

func (a *Client) DeleteDerivedLabel(params *DeleteDerivedLabelParams, opts ...ClientOption) (*DeleteDerivedLabelOK, error)

DeleteDerivedLabel delete derived label API

func (*Client) DeleteDerivedMetric

func (a *Client) DeleteDerivedMetric(params *DeleteDerivedMetricParams, opts ...ClientOption) (*DeleteDerivedMetricOK, error)

DeleteDerivedMetric delete derived metric API

func (*Client) DeleteDropRule

func (a *Client) DeleteDropRule(params *DeleteDropRuleParams, opts ...ClientOption) (*DeleteDropRuleOK, error)

DeleteDropRule delete drop rule API

func (*Client) DeleteGrafanaDashboard

func (a *Client) DeleteGrafanaDashboard(params *DeleteGrafanaDashboardParams, opts ...ClientOption) (*DeleteGrafanaDashboardOK, error)

DeleteGrafanaDashboard delete grafana dashboard API

func (*Client) DeleteMappingRule

func (a *Client) DeleteMappingRule(params *DeleteMappingRuleParams, opts ...ClientOption) (*DeleteMappingRuleOK, error)

DeleteMappingRule delete mapping rule API

func (*Client) DeleteMonitor

func (a *Client) DeleteMonitor(params *DeleteMonitorParams, opts ...ClientOption) (*DeleteMonitorOK, error)

DeleteMonitor delete monitor API

func (*Client) DeleteMutingRule

func (a *Client) DeleteMutingRule(params *DeleteMutingRuleParams, opts ...ClientOption) (*DeleteMutingRuleOK, error)

DeleteMutingRule delete muting rule API

func (*Client) DeleteNotificationPolicy

func (a *Client) DeleteNotificationPolicy(params *DeleteNotificationPolicyParams, opts ...ClientOption) (*DeleteNotificationPolicyOK, error)

DeleteNotificationPolicy delete notification policy API

func (*Client) DeleteNotifier

func (a *Client) DeleteNotifier(params *DeleteNotifierParams, opts ...ClientOption) (*DeleteNotifierOK, error)

DeleteNotifier delete notifier API

func (*Client) DeleteRecordingRule

func (a *Client) DeleteRecordingRule(params *DeleteRecordingRuleParams, opts ...ClientOption) (*DeleteRecordingRuleOK, error)

DeleteRecordingRule delete recording rule API

func (*Client) DeleteResourcePools

func (a *Client) DeleteResourcePools(params *DeleteResourcePoolsParams, opts ...ClientOption) (*DeleteResourcePoolsOK, error)

DeleteResourcePools delete resource pools API

func (*Client) DeleteRollupRule

func (a *Client) DeleteRollupRule(params *DeleteRollupRuleParams, opts ...ClientOption) (*DeleteRollupRuleOK, error)

DeleteRollupRule delete rollup rule API

func (*Client) DeleteServiceAccount

func (a *Client) DeleteServiceAccount(params *DeleteServiceAccountParams, opts ...ClientOption) (*DeleteServiceAccountOK, error)

DeleteServiceAccount delete service account API

func (*Client) DeleteTeam

func (a *Client) DeleteTeam(params *DeleteTeamParams, opts ...ClientOption) (*DeleteTeamOK, error)

DeleteTeam delete team API

func (*Client) ListBuckets

func (a *Client) ListBuckets(params *ListBucketsParams, opts ...ClientOption) (*ListBucketsOK, error)

ListBuckets list buckets API

func (*Client) ListClassicDashboards

func (a *Client) ListClassicDashboards(params *ListClassicDashboardsParams, opts ...ClientOption) (*ListClassicDashboardsOK, error)

ListClassicDashboards list classic dashboards API

func (*Client) ListCollections

func (a *Client) ListCollections(params *ListCollectionsParams, opts ...ClientOption) (*ListCollectionsOK, error)

ListCollections list collections API

func (*Client) ListDashboards

func (a *Client) ListDashboards(params *ListDashboardsParams, opts ...ClientOption) (*ListDashboardsOK, error)

ListDashboards list dashboards API

func (*Client) ListDerivedLabels

func (a *Client) ListDerivedLabels(params *ListDerivedLabelsParams, opts ...ClientOption) (*ListDerivedLabelsOK, error)

ListDerivedLabels list derived labels API

func (*Client) ListDerivedMetrics

func (a *Client) ListDerivedMetrics(params *ListDerivedMetricsParams, opts ...ClientOption) (*ListDerivedMetricsOK, error)

ListDerivedMetrics list derived metrics API

func (*Client) ListDropRules

func (a *Client) ListDropRules(params *ListDropRulesParams, opts ...ClientOption) (*ListDropRulesOK, error)

ListDropRules list drop rules API

func (*Client) ListGrafanaDashboards

func (a *Client) ListGrafanaDashboards(params *ListGrafanaDashboardsParams, opts ...ClientOption) (*ListGrafanaDashboardsOK, error)

ListGrafanaDashboards list grafana dashboards API

func (*Client) ListMappingRules

func (a *Client) ListMappingRules(params *ListMappingRulesParams, opts ...ClientOption) (*ListMappingRulesOK, error)

ListMappingRules list mapping rules API

func (*Client) ListMonitors

func (a *Client) ListMonitors(params *ListMonitorsParams, opts ...ClientOption) (*ListMonitorsOK, error)

ListMonitors list monitors API

func (*Client) ListMutingRules

func (a *Client) ListMutingRules(params *ListMutingRulesParams, opts ...ClientOption) (*ListMutingRulesOK, error)

ListMutingRules list muting rules API

func (*Client) ListNotificationPolicies

func (a *Client) ListNotificationPolicies(params *ListNotificationPoliciesParams, opts ...ClientOption) (*ListNotificationPoliciesOK, error)

ListNotificationPolicies list notification policies API

func (*Client) ListNotifiers

func (a *Client) ListNotifiers(params *ListNotifiersParams, opts ...ClientOption) (*ListNotifiersOK, error)

ListNotifiers list notifiers API

func (*Client) ListRecordingRules

func (a *Client) ListRecordingRules(params *ListRecordingRulesParams, opts ...ClientOption) (*ListRecordingRulesOK, error)

ListRecordingRules list recording rules API

func (*Client) ListRollupRules

func (a *Client) ListRollupRules(params *ListRollupRulesParams, opts ...ClientOption) (*ListRollupRulesOK, error)

ListRollupRules list rollup rules API

func (*Client) ListServiceAccounts

func (a *Client) ListServiceAccounts(params *ListServiceAccountsParams, opts ...ClientOption) (*ListServiceAccountsOK, error)

ListServiceAccounts list service accounts API

func (*Client) ListTeams

func (a *Client) ListTeams(params *ListTeamsParams, opts ...ClientOption) (*ListTeamsOK, error)

ListTeams list teams API

func (*Client) ReadBucket

func (a *Client) ReadBucket(params *ReadBucketParams, opts ...ClientOption) (*ReadBucketOK, error)

ReadBucket read bucket API

func (*Client) ReadClassicDashboard

func (a *Client) ReadClassicDashboard(params *ReadClassicDashboardParams, opts ...ClientOption) (*ReadClassicDashboardOK, error)

ReadClassicDashboard read classic dashboard API

func (*Client) ReadCollection

func (a *Client) ReadCollection(params *ReadCollectionParams, opts ...ClientOption) (*ReadCollectionOK, error)

ReadCollection read collection API

func (*Client) ReadDashboard

func (a *Client) ReadDashboard(params *ReadDashboardParams, opts ...ClientOption) (*ReadDashboardOK, error)

ReadDashboard read dashboard API

func (*Client) ReadDerivedLabel

func (a *Client) ReadDerivedLabel(params *ReadDerivedLabelParams, opts ...ClientOption) (*ReadDerivedLabelOK, error)

ReadDerivedLabel read derived label API

func (*Client) ReadDerivedMetric

func (a *Client) ReadDerivedMetric(params *ReadDerivedMetricParams, opts ...ClientOption) (*ReadDerivedMetricOK, error)

ReadDerivedMetric read derived metric API

func (*Client) ReadDropRule

func (a *Client) ReadDropRule(params *ReadDropRuleParams, opts ...ClientOption) (*ReadDropRuleOK, error)

ReadDropRule read drop rule API

func (*Client) ReadGrafanaDashboard

func (a *Client) ReadGrafanaDashboard(params *ReadGrafanaDashboardParams, opts ...ClientOption) (*ReadGrafanaDashboardOK, error)

ReadGrafanaDashboard read grafana dashboard API

func (*Client) ReadMappingRule

func (a *Client) ReadMappingRule(params *ReadMappingRuleParams, opts ...ClientOption) (*ReadMappingRuleOK, error)

ReadMappingRule read mapping rule API

func (*Client) ReadMonitor

func (a *Client) ReadMonitor(params *ReadMonitorParams, opts ...ClientOption) (*ReadMonitorOK, error)

ReadMonitor read monitor API

func (*Client) ReadMutingRule

func (a *Client) ReadMutingRule(params *ReadMutingRuleParams, opts ...ClientOption) (*ReadMutingRuleOK, error)

ReadMutingRule read muting rule API

func (*Client) ReadNotificationPolicy

func (a *Client) ReadNotificationPolicy(params *ReadNotificationPolicyParams, opts ...ClientOption) (*ReadNotificationPolicyOK, error)

ReadNotificationPolicy read notification policy API

func (*Client) ReadNotifier

func (a *Client) ReadNotifier(params *ReadNotifierParams, opts ...ClientOption) (*ReadNotifierOK, error)

ReadNotifier read notifier API

func (*Client) ReadRecordingRule

func (a *Client) ReadRecordingRule(params *ReadRecordingRuleParams, opts ...ClientOption) (*ReadRecordingRuleOK, error)

ReadRecordingRule read recording rule API

func (*Client) ReadResourcePools

func (a *Client) ReadResourcePools(params *ReadResourcePoolsParams, opts ...ClientOption) (*ReadResourcePoolsOK, error)

ReadResourcePools read resource pools API

func (*Client) ReadRollupRule

func (a *Client) ReadRollupRule(params *ReadRollupRuleParams, opts ...ClientOption) (*ReadRollupRuleOK, error)

ReadRollupRule read rollup rule API

func (*Client) ReadServiceAccount

func (a *Client) ReadServiceAccount(params *ReadServiceAccountParams, opts ...ClientOption) (*ReadServiceAccountOK, error)

ReadServiceAccount read service account API

func (*Client) ReadTeam

func (a *Client) ReadTeam(params *ReadTeamParams, opts ...ClientOption) (*ReadTeamOK, error)

ReadTeam read team API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateBucket

func (a *Client) UpdateBucket(params *UpdateBucketParams, opts ...ClientOption) (*UpdateBucketOK, error)

UpdateBucket update bucket API

func (*Client) UpdateClassicDashboard

func (a *Client) UpdateClassicDashboard(params *UpdateClassicDashboardParams, opts ...ClientOption) (*UpdateClassicDashboardOK, error)

UpdateClassicDashboard update classic dashboard API

func (*Client) UpdateCollection

func (a *Client) UpdateCollection(params *UpdateCollectionParams, opts ...ClientOption) (*UpdateCollectionOK, error)

UpdateCollection update collection API

func (*Client) UpdateDashboard

func (a *Client) UpdateDashboard(params *UpdateDashboardParams, opts ...ClientOption) (*UpdateDashboardOK, error)

UpdateDashboard update dashboard API

func (*Client) UpdateDerivedLabel

func (a *Client) UpdateDerivedLabel(params *UpdateDerivedLabelParams, opts ...ClientOption) (*UpdateDerivedLabelOK, error)

UpdateDerivedLabel update derived label API

func (*Client) UpdateDerivedMetric

func (a *Client) UpdateDerivedMetric(params *UpdateDerivedMetricParams, opts ...ClientOption) (*UpdateDerivedMetricOK, error)

UpdateDerivedMetric update derived metric API

func (*Client) UpdateDropRule

func (a *Client) UpdateDropRule(params *UpdateDropRuleParams, opts ...ClientOption) (*UpdateDropRuleOK, error)

UpdateDropRule update drop rule API

func (*Client) UpdateGrafanaDashboard

func (a *Client) UpdateGrafanaDashboard(params *UpdateGrafanaDashboardParams, opts ...ClientOption) (*UpdateGrafanaDashboardOK, error)

UpdateGrafanaDashboard update grafana dashboard API

func (*Client) UpdateMappingRule

func (a *Client) UpdateMappingRule(params *UpdateMappingRuleParams, opts ...ClientOption) (*UpdateMappingRuleOK, error)

UpdateMappingRule update mapping rule API

func (*Client) UpdateMonitor

func (a *Client) UpdateMonitor(params *UpdateMonitorParams, opts ...ClientOption) (*UpdateMonitorOK, error)

UpdateMonitor update monitor API

func (*Client) UpdateMutingRule

func (a *Client) UpdateMutingRule(params *UpdateMutingRuleParams, opts ...ClientOption) (*UpdateMutingRuleOK, error)

UpdateMutingRule update muting rule API

func (*Client) UpdateNotificationPolicy

func (a *Client) UpdateNotificationPolicy(params *UpdateNotificationPolicyParams, opts ...ClientOption) (*UpdateNotificationPolicyOK, error)

UpdateNotificationPolicy update notification policy API

func (*Client) UpdateNotifier

func (a *Client) UpdateNotifier(params *UpdateNotifierParams, opts ...ClientOption) (*UpdateNotifierOK, error)

UpdateNotifier update notifier API

func (*Client) UpdateRecordingRule

func (a *Client) UpdateRecordingRule(params *UpdateRecordingRuleParams, opts ...ClientOption) (*UpdateRecordingRuleOK, error)

UpdateRecordingRule update recording rule API

func (*Client) UpdateResourcePools

func (a *Client) UpdateResourcePools(params *UpdateResourcePoolsParams, opts ...ClientOption) (*UpdateResourcePoolsOK, error)

UpdateResourcePools update resource pools API

func (*Client) UpdateRollupRule

func (a *Client) UpdateRollupRule(params *UpdateRollupRuleParams, opts ...ClientOption) (*UpdateRollupRuleOK, error)

UpdateRollupRule update rollup rule API

func (*Client) UpdateTeam

func (a *Client) UpdateTeam(params *UpdateTeamParams, opts ...ClientOption) (*UpdateTeamOK, error)

UpdateTeam update team API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateBucket(params *CreateBucketParams, opts ...ClientOption) (*CreateBucketOK, error)

	CreateClassicDashboard(params *CreateClassicDashboardParams, opts ...ClientOption) (*CreateClassicDashboardOK, error)

	CreateCollection(params *CreateCollectionParams, opts ...ClientOption) (*CreateCollectionOK, error)

	CreateDashboard(params *CreateDashboardParams, opts ...ClientOption) (*CreateDashboardOK, error)

	CreateDerivedLabel(params *CreateDerivedLabelParams, opts ...ClientOption) (*CreateDerivedLabelOK, error)

	CreateDerivedMetric(params *CreateDerivedMetricParams, opts ...ClientOption) (*CreateDerivedMetricOK, error)

	CreateDropRule(params *CreateDropRuleParams, opts ...ClientOption) (*CreateDropRuleOK, error)

	CreateGrafanaDashboard(params *CreateGrafanaDashboardParams, opts ...ClientOption) (*CreateGrafanaDashboardOK, error)

	CreateMappingRule(params *CreateMappingRuleParams, opts ...ClientOption) (*CreateMappingRuleOK, error)

	CreateMonitor(params *CreateMonitorParams, opts ...ClientOption) (*CreateMonitorOK, error)

	CreateMutingRule(params *CreateMutingRuleParams, opts ...ClientOption) (*CreateMutingRuleOK, error)

	CreateNotificationPolicy(params *CreateNotificationPolicyParams, opts ...ClientOption) (*CreateNotificationPolicyOK, error)

	CreateNotifier(params *CreateNotifierParams, opts ...ClientOption) (*CreateNotifierOK, error)

	CreateRecordingRule(params *CreateRecordingRuleParams, opts ...ClientOption) (*CreateRecordingRuleOK, error)

	CreateResourcePools(params *CreateResourcePoolsParams, opts ...ClientOption) (*CreateResourcePoolsOK, error)

	CreateRollupRule(params *CreateRollupRuleParams, opts ...ClientOption) (*CreateRollupRuleOK, error)

	CreateServiceAccount(params *CreateServiceAccountParams, opts ...ClientOption) (*CreateServiceAccountOK, error)

	CreateTeam(params *CreateTeamParams, opts ...ClientOption) (*CreateTeamOK, error)

	DeleteBucket(params *DeleteBucketParams, opts ...ClientOption) (*DeleteBucketOK, error)

	DeleteClassicDashboard(params *DeleteClassicDashboardParams, opts ...ClientOption) (*DeleteClassicDashboardOK, error)

	DeleteCollection(params *DeleteCollectionParams, opts ...ClientOption) (*DeleteCollectionOK, error)

	DeleteDashboard(params *DeleteDashboardParams, opts ...ClientOption) (*DeleteDashboardOK, error)

	DeleteDerivedLabel(params *DeleteDerivedLabelParams, opts ...ClientOption) (*DeleteDerivedLabelOK, error)

	DeleteDerivedMetric(params *DeleteDerivedMetricParams, opts ...ClientOption) (*DeleteDerivedMetricOK, error)

	DeleteDropRule(params *DeleteDropRuleParams, opts ...ClientOption) (*DeleteDropRuleOK, error)

	DeleteGrafanaDashboard(params *DeleteGrafanaDashboardParams, opts ...ClientOption) (*DeleteGrafanaDashboardOK, error)

	DeleteMappingRule(params *DeleteMappingRuleParams, opts ...ClientOption) (*DeleteMappingRuleOK, error)

	DeleteMonitor(params *DeleteMonitorParams, opts ...ClientOption) (*DeleteMonitorOK, error)

	DeleteMutingRule(params *DeleteMutingRuleParams, opts ...ClientOption) (*DeleteMutingRuleOK, error)

	DeleteNotificationPolicy(params *DeleteNotificationPolicyParams, opts ...ClientOption) (*DeleteNotificationPolicyOK, error)

	DeleteNotifier(params *DeleteNotifierParams, opts ...ClientOption) (*DeleteNotifierOK, error)

	DeleteRecordingRule(params *DeleteRecordingRuleParams, opts ...ClientOption) (*DeleteRecordingRuleOK, error)

	DeleteResourcePools(params *DeleteResourcePoolsParams, opts ...ClientOption) (*DeleteResourcePoolsOK, error)

	DeleteRollupRule(params *DeleteRollupRuleParams, opts ...ClientOption) (*DeleteRollupRuleOK, error)

	DeleteServiceAccount(params *DeleteServiceAccountParams, opts ...ClientOption) (*DeleteServiceAccountOK, error)

	DeleteTeam(params *DeleteTeamParams, opts ...ClientOption) (*DeleteTeamOK, error)

	ListBuckets(params *ListBucketsParams, opts ...ClientOption) (*ListBucketsOK, error)

	ListClassicDashboards(params *ListClassicDashboardsParams, opts ...ClientOption) (*ListClassicDashboardsOK, error)

	ListCollections(params *ListCollectionsParams, opts ...ClientOption) (*ListCollectionsOK, error)

	ListDashboards(params *ListDashboardsParams, opts ...ClientOption) (*ListDashboardsOK, error)

	ListDerivedLabels(params *ListDerivedLabelsParams, opts ...ClientOption) (*ListDerivedLabelsOK, error)

	ListDerivedMetrics(params *ListDerivedMetricsParams, opts ...ClientOption) (*ListDerivedMetricsOK, error)

	ListDropRules(params *ListDropRulesParams, opts ...ClientOption) (*ListDropRulesOK, error)

	ListGrafanaDashboards(params *ListGrafanaDashboardsParams, opts ...ClientOption) (*ListGrafanaDashboardsOK, error)

	ListMappingRules(params *ListMappingRulesParams, opts ...ClientOption) (*ListMappingRulesOK, error)

	ListMonitors(params *ListMonitorsParams, opts ...ClientOption) (*ListMonitorsOK, error)

	ListMutingRules(params *ListMutingRulesParams, opts ...ClientOption) (*ListMutingRulesOK, error)

	ListNotificationPolicies(params *ListNotificationPoliciesParams, opts ...ClientOption) (*ListNotificationPoliciesOK, error)

	ListNotifiers(params *ListNotifiersParams, opts ...ClientOption) (*ListNotifiersOK, error)

	ListRecordingRules(params *ListRecordingRulesParams, opts ...ClientOption) (*ListRecordingRulesOK, error)

	ListRollupRules(params *ListRollupRulesParams, opts ...ClientOption) (*ListRollupRulesOK, error)

	ListServiceAccounts(params *ListServiceAccountsParams, opts ...ClientOption) (*ListServiceAccountsOK, error)

	ListTeams(params *ListTeamsParams, opts ...ClientOption) (*ListTeamsOK, error)

	ReadBucket(params *ReadBucketParams, opts ...ClientOption) (*ReadBucketOK, error)

	ReadClassicDashboard(params *ReadClassicDashboardParams, opts ...ClientOption) (*ReadClassicDashboardOK, error)

	ReadCollection(params *ReadCollectionParams, opts ...ClientOption) (*ReadCollectionOK, error)

	ReadDashboard(params *ReadDashboardParams, opts ...ClientOption) (*ReadDashboardOK, error)

	ReadDerivedLabel(params *ReadDerivedLabelParams, opts ...ClientOption) (*ReadDerivedLabelOK, error)

	ReadDerivedMetric(params *ReadDerivedMetricParams, opts ...ClientOption) (*ReadDerivedMetricOK, error)

	ReadDropRule(params *ReadDropRuleParams, opts ...ClientOption) (*ReadDropRuleOK, error)

	ReadGrafanaDashboard(params *ReadGrafanaDashboardParams, opts ...ClientOption) (*ReadGrafanaDashboardOK, error)

	ReadMappingRule(params *ReadMappingRuleParams, opts ...ClientOption) (*ReadMappingRuleOK, error)

	ReadMonitor(params *ReadMonitorParams, opts ...ClientOption) (*ReadMonitorOK, error)

	ReadMutingRule(params *ReadMutingRuleParams, opts ...ClientOption) (*ReadMutingRuleOK, error)

	ReadNotificationPolicy(params *ReadNotificationPolicyParams, opts ...ClientOption) (*ReadNotificationPolicyOK, error)

	ReadNotifier(params *ReadNotifierParams, opts ...ClientOption) (*ReadNotifierOK, error)

	ReadRecordingRule(params *ReadRecordingRuleParams, opts ...ClientOption) (*ReadRecordingRuleOK, error)

	ReadResourcePools(params *ReadResourcePoolsParams, opts ...ClientOption) (*ReadResourcePoolsOK, error)

	ReadRollupRule(params *ReadRollupRuleParams, opts ...ClientOption) (*ReadRollupRuleOK, error)

	ReadServiceAccount(params *ReadServiceAccountParams, opts ...ClientOption) (*ReadServiceAccountOK, error)

	ReadTeam(params *ReadTeamParams, opts ...ClientOption) (*ReadTeamOK, error)

	UpdateBucket(params *UpdateBucketParams, opts ...ClientOption) (*UpdateBucketOK, error)

	UpdateClassicDashboard(params *UpdateClassicDashboardParams, opts ...ClientOption) (*UpdateClassicDashboardOK, error)

	UpdateCollection(params *UpdateCollectionParams, opts ...ClientOption) (*UpdateCollectionOK, error)

	UpdateDashboard(params *UpdateDashboardParams, opts ...ClientOption) (*UpdateDashboardOK, error)

	UpdateDerivedLabel(params *UpdateDerivedLabelParams, opts ...ClientOption) (*UpdateDerivedLabelOK, error)

	UpdateDerivedMetric(params *UpdateDerivedMetricParams, opts ...ClientOption) (*UpdateDerivedMetricOK, error)

	UpdateDropRule(params *UpdateDropRuleParams, opts ...ClientOption) (*UpdateDropRuleOK, error)

	UpdateGrafanaDashboard(params *UpdateGrafanaDashboardParams, opts ...ClientOption) (*UpdateGrafanaDashboardOK, error)

	UpdateMappingRule(params *UpdateMappingRuleParams, opts ...ClientOption) (*UpdateMappingRuleOK, error)

	UpdateMonitor(params *UpdateMonitorParams, opts ...ClientOption) (*UpdateMonitorOK, error)

	UpdateMutingRule(params *UpdateMutingRuleParams, opts ...ClientOption) (*UpdateMutingRuleOK, error)

	UpdateNotificationPolicy(params *UpdateNotificationPolicyParams, opts ...ClientOption) (*UpdateNotificationPolicyOK, error)

	UpdateNotifier(params *UpdateNotifierParams, opts ...ClientOption) (*UpdateNotifierOK, error)

	UpdateRecordingRule(params *UpdateRecordingRuleParams, opts ...ClientOption) (*UpdateRecordingRuleOK, error)

	UpdateResourcePools(params *UpdateResourcePoolsParams, opts ...ClientOption) (*UpdateResourcePoolsOK, error)

	UpdateRollupRule(params *UpdateRollupRuleParams, opts ...ClientOption) (*UpdateRollupRuleOK, error)

	UpdateTeam(params *UpdateTeamParams, opts ...ClientOption) (*UpdateTeamOK, 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 operations API client.

type CreateBucketBadRequest

type CreateBucketBadRequest struct {
	Payload *models.APIError
}

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

Cannot create the Bucket because the request is invalid.

func NewCreateBucketBadRequest

func NewCreateBucketBadRequest() *CreateBucketBadRequest

NewCreateBucketBadRequest creates a CreateBucketBadRequest with default headers values

func (*CreateBucketBadRequest) Code

func (o *CreateBucketBadRequest) Code() int

Code gets the status code for the create bucket bad request response

func (*CreateBucketBadRequest) Error

func (o *CreateBucketBadRequest) Error() string

func (*CreateBucketBadRequest) GetPayload

func (o *CreateBucketBadRequest) GetPayload() *models.APIError

func (*CreateBucketBadRequest) IsClientError

func (o *CreateBucketBadRequest) IsClientError() bool

IsClientError returns true when this create bucket bad request response has a 4xx status code

func (*CreateBucketBadRequest) IsCode

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

IsCode returns true when this create bucket bad request response a status code equal to that given

func (*CreateBucketBadRequest) IsRedirect

func (o *CreateBucketBadRequest) IsRedirect() bool

IsRedirect returns true when this create bucket bad request response has a 3xx status code

func (*CreateBucketBadRequest) IsServerError

func (o *CreateBucketBadRequest) IsServerError() bool

IsServerError returns true when this create bucket bad request response has a 5xx status code

func (*CreateBucketBadRequest) IsSuccess

func (o *CreateBucketBadRequest) IsSuccess() bool

IsSuccess returns true when this create bucket bad request response has a 2xx status code

func (*CreateBucketBadRequest) String

func (o *CreateBucketBadRequest) String() string

type CreateBucketConflict

type CreateBucketConflict struct {
	Payload *models.APIError
}

CreateBucketConflict describes a response with status code 409, with default header values.

Cannot create the Bucket because there is a conflict with an existing Bucket.

func NewCreateBucketConflict

func NewCreateBucketConflict() *CreateBucketConflict

NewCreateBucketConflict creates a CreateBucketConflict with default headers values

func (*CreateBucketConflict) Code

func (o *CreateBucketConflict) Code() int

Code gets the status code for the create bucket conflict response

func (*CreateBucketConflict) Error

func (o *CreateBucketConflict) Error() string

func (*CreateBucketConflict) GetPayload

func (o *CreateBucketConflict) GetPayload() *models.APIError

func (*CreateBucketConflict) IsClientError

func (o *CreateBucketConflict) IsClientError() bool

IsClientError returns true when this create bucket conflict response has a 4xx status code

func (*CreateBucketConflict) IsCode

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

IsCode returns true when this create bucket conflict response a status code equal to that given

func (*CreateBucketConflict) IsRedirect

func (o *CreateBucketConflict) IsRedirect() bool

IsRedirect returns true when this create bucket conflict response has a 3xx status code

func (*CreateBucketConflict) IsServerError

func (o *CreateBucketConflict) IsServerError() bool

IsServerError returns true when this create bucket conflict response has a 5xx status code

func (*CreateBucketConflict) IsSuccess

func (o *CreateBucketConflict) IsSuccess() bool

IsSuccess returns true when this create bucket conflict response has a 2xx status code

func (*CreateBucketConflict) String

func (o *CreateBucketConflict) String() string

type CreateBucketDefault

type CreateBucketDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateBucketDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateBucketDefault

func NewCreateBucketDefault(code int) *CreateBucketDefault

NewCreateBucketDefault creates a CreateBucketDefault with default headers values

func (*CreateBucketDefault) Code

func (o *CreateBucketDefault) Code() int

Code gets the status code for the create bucket default response

func (*CreateBucketDefault) Error

func (o *CreateBucketDefault) Error() string

func (*CreateBucketDefault) GetPayload

func (o *CreateBucketDefault) GetPayload() models.GenericError

func (*CreateBucketDefault) IsClientError

func (o *CreateBucketDefault) IsClientError() bool

IsClientError returns true when this create bucket default response has a 4xx status code

func (*CreateBucketDefault) IsCode

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

IsCode returns true when this create bucket default response a status code equal to that given

func (*CreateBucketDefault) IsRedirect

func (o *CreateBucketDefault) IsRedirect() bool

IsRedirect returns true when this create bucket default response has a 3xx status code

func (*CreateBucketDefault) IsServerError

func (o *CreateBucketDefault) IsServerError() bool

IsServerError returns true when this create bucket default response has a 5xx status code

func (*CreateBucketDefault) IsSuccess

func (o *CreateBucketDefault) IsSuccess() bool

IsSuccess returns true when this create bucket default response has a 2xx status code

func (*CreateBucketDefault) String

func (o *CreateBucketDefault) String() string

type CreateBucketInternalServerError

type CreateBucketInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewCreateBucketInternalServerError

func NewCreateBucketInternalServerError() *CreateBucketInternalServerError

NewCreateBucketInternalServerError creates a CreateBucketInternalServerError with default headers values

func (*CreateBucketInternalServerError) Code

Code gets the status code for the create bucket internal server error response

func (*CreateBucketInternalServerError) Error

func (*CreateBucketInternalServerError) GetPayload

func (*CreateBucketInternalServerError) IsClientError

func (o *CreateBucketInternalServerError) IsClientError() bool

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

func (*CreateBucketInternalServerError) IsCode

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

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

func (*CreateBucketInternalServerError) IsRedirect

func (o *CreateBucketInternalServerError) IsRedirect() bool

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

func (*CreateBucketInternalServerError) IsServerError

func (o *CreateBucketInternalServerError) IsServerError() bool

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

func (*CreateBucketInternalServerError) IsSuccess

func (o *CreateBucketInternalServerError) IsSuccess() bool

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

func (*CreateBucketInternalServerError) String

type CreateBucketOK

type CreateBucketOK struct {
	Payload *models.Configv1CreateBucketResponse
}

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

A successful response containing the created Bucket.

func NewCreateBucketOK

func NewCreateBucketOK() *CreateBucketOK

NewCreateBucketOK creates a CreateBucketOK with default headers values

func (*CreateBucketOK) Code

func (o *CreateBucketOK) Code() int

Code gets the status code for the create bucket o k response

func (*CreateBucketOK) Error

func (o *CreateBucketOK) Error() string

func (*CreateBucketOK) GetPayload

func (*CreateBucketOK) IsClientError

func (o *CreateBucketOK) IsClientError() bool

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

func (*CreateBucketOK) IsCode

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

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

func (*CreateBucketOK) IsRedirect

func (o *CreateBucketOK) IsRedirect() bool

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

func (*CreateBucketOK) IsServerError

func (o *CreateBucketOK) IsServerError() bool

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

func (*CreateBucketOK) IsSuccess

func (o *CreateBucketOK) IsSuccess() bool

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

func (*CreateBucketOK) String

func (o *CreateBucketOK) String() string

type CreateBucketParams

type CreateBucketParams struct {

	// Body.
	Body *models.Configv1CreateBucketRequest

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

CreateBucketParams contains all the parameters to send to the API endpoint

for the create bucket operation.

Typically these are written to a http.Request.

func NewCreateBucketParams

func NewCreateBucketParams() *CreateBucketParams

NewCreateBucketParams creates a new CreateBucketParams 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 NewCreateBucketParamsWithContext

func NewCreateBucketParamsWithContext(ctx context.Context) *CreateBucketParams

NewCreateBucketParamsWithContext creates a new CreateBucketParams object with the ability to set a context for a request.

func NewCreateBucketParamsWithHTTPClient

func NewCreateBucketParamsWithHTTPClient(client *http.Client) *CreateBucketParams

NewCreateBucketParamsWithHTTPClient creates a new CreateBucketParams object with the ability to set a custom HTTPClient for a request.

func NewCreateBucketParamsWithTimeout

func NewCreateBucketParamsWithTimeout(timeout time.Duration) *CreateBucketParams

NewCreateBucketParamsWithTimeout creates a new CreateBucketParams object with the ability to set a timeout on a request.

func (*CreateBucketParams) SetBody

SetBody adds the body to the create bucket params

func (*CreateBucketParams) SetContext

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

SetContext adds the context to the create bucket params

func (*CreateBucketParams) SetDefaults

func (o *CreateBucketParams) SetDefaults()

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

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

func (*CreateBucketParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create bucket params

func (*CreateBucketParams) SetTimeout

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

SetTimeout adds the timeout to the create bucket params

func (*CreateBucketParams) WithBody

WithBody adds the body to the create bucket params

func (*CreateBucketParams) WithContext

WithContext adds the context to the create bucket params

func (*CreateBucketParams) WithDefaults

func (o *CreateBucketParams) WithDefaults() *CreateBucketParams

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

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

func (*CreateBucketParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create bucket params

func (*CreateBucketParams) WithTimeout

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

WithTimeout adds the timeout to the create bucket params

func (*CreateBucketParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateBucketReader

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

CreateBucketReader is a Reader for the CreateBucket structure.

func (*CreateBucketReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateClassicDashboardBadRequest

type CreateClassicDashboardBadRequest struct {
	Payload *models.APIError
}

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

Cannot create the GrafanaDashboard because the request is invalid.

func NewCreateClassicDashboardBadRequest

func NewCreateClassicDashboardBadRequest() *CreateClassicDashboardBadRequest

NewCreateClassicDashboardBadRequest creates a CreateClassicDashboardBadRequest with default headers values

func (*CreateClassicDashboardBadRequest) Code

Code gets the status code for the create classic dashboard bad request response

func (*CreateClassicDashboardBadRequest) Error

func (*CreateClassicDashboardBadRequest) GetPayload

func (*CreateClassicDashboardBadRequest) IsClientError

func (o *CreateClassicDashboardBadRequest) IsClientError() bool

IsClientError returns true when this create classic dashboard bad request response has a 4xx status code

func (*CreateClassicDashboardBadRequest) IsCode

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

IsCode returns true when this create classic dashboard bad request response a status code equal to that given

func (*CreateClassicDashboardBadRequest) IsRedirect

func (o *CreateClassicDashboardBadRequest) IsRedirect() bool

IsRedirect returns true when this create classic dashboard bad request response has a 3xx status code

func (*CreateClassicDashboardBadRequest) IsServerError

func (o *CreateClassicDashboardBadRequest) IsServerError() bool

IsServerError returns true when this create classic dashboard bad request response has a 5xx status code

func (*CreateClassicDashboardBadRequest) IsSuccess

func (o *CreateClassicDashboardBadRequest) IsSuccess() bool

IsSuccess returns true when this create classic dashboard bad request response has a 2xx status code

func (*CreateClassicDashboardBadRequest) String

type CreateClassicDashboardConflict

type CreateClassicDashboardConflict struct {
	Payload *models.APIError
}

CreateClassicDashboardConflict describes a response with status code 409, with default header values.

Cannot create the GrafanaDashboard because there is a conflict with an existing GrafanaDashboard.

func NewCreateClassicDashboardConflict

func NewCreateClassicDashboardConflict() *CreateClassicDashboardConflict

NewCreateClassicDashboardConflict creates a CreateClassicDashboardConflict with default headers values

func (*CreateClassicDashboardConflict) Code

Code gets the status code for the create classic dashboard conflict response

func (*CreateClassicDashboardConflict) Error

func (*CreateClassicDashboardConflict) GetPayload

func (*CreateClassicDashboardConflict) IsClientError

func (o *CreateClassicDashboardConflict) IsClientError() bool

IsClientError returns true when this create classic dashboard conflict response has a 4xx status code

func (*CreateClassicDashboardConflict) IsCode

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

IsCode returns true when this create classic dashboard conflict response a status code equal to that given

func (*CreateClassicDashboardConflict) IsRedirect

func (o *CreateClassicDashboardConflict) IsRedirect() bool

IsRedirect returns true when this create classic dashboard conflict response has a 3xx status code

func (*CreateClassicDashboardConflict) IsServerError

func (o *CreateClassicDashboardConflict) IsServerError() bool

IsServerError returns true when this create classic dashboard conflict response has a 5xx status code

func (*CreateClassicDashboardConflict) IsSuccess

func (o *CreateClassicDashboardConflict) IsSuccess() bool

IsSuccess returns true when this create classic dashboard conflict response has a 2xx status code

func (*CreateClassicDashboardConflict) String

type CreateClassicDashboardDefault

type CreateClassicDashboardDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateClassicDashboardDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateClassicDashboardDefault

func NewCreateClassicDashboardDefault(code int) *CreateClassicDashboardDefault

NewCreateClassicDashboardDefault creates a CreateClassicDashboardDefault with default headers values

func (*CreateClassicDashboardDefault) Code

Code gets the status code for the create classic dashboard default response

func (*CreateClassicDashboardDefault) Error

func (*CreateClassicDashboardDefault) GetPayload

func (*CreateClassicDashboardDefault) IsClientError

func (o *CreateClassicDashboardDefault) IsClientError() bool

IsClientError returns true when this create classic dashboard default response has a 4xx status code

func (*CreateClassicDashboardDefault) IsCode

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

IsCode returns true when this create classic dashboard default response a status code equal to that given

func (*CreateClassicDashboardDefault) IsRedirect

func (o *CreateClassicDashboardDefault) IsRedirect() bool

IsRedirect returns true when this create classic dashboard default response has a 3xx status code

func (*CreateClassicDashboardDefault) IsServerError

func (o *CreateClassicDashboardDefault) IsServerError() bool

IsServerError returns true when this create classic dashboard default response has a 5xx status code

func (*CreateClassicDashboardDefault) IsSuccess

func (o *CreateClassicDashboardDefault) IsSuccess() bool

IsSuccess returns true when this create classic dashboard default response has a 2xx status code

func (*CreateClassicDashboardDefault) String

type CreateClassicDashboardInternalServerError

type CreateClassicDashboardInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewCreateClassicDashboardInternalServerError

func NewCreateClassicDashboardInternalServerError() *CreateClassicDashboardInternalServerError

NewCreateClassicDashboardInternalServerError creates a CreateClassicDashboardInternalServerError with default headers values

func (*CreateClassicDashboardInternalServerError) Code

Code gets the status code for the create classic dashboard internal server error response

func (*CreateClassicDashboardInternalServerError) Error

func (*CreateClassicDashboardInternalServerError) GetPayload

func (*CreateClassicDashboardInternalServerError) IsClientError

IsClientError returns true when this create classic dashboard internal server error response has a 4xx status code

func (*CreateClassicDashboardInternalServerError) IsCode

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

func (*CreateClassicDashboardInternalServerError) IsRedirect

IsRedirect returns true when this create classic dashboard internal server error response has a 3xx status code

func (*CreateClassicDashboardInternalServerError) IsServerError

IsServerError returns true when this create classic dashboard internal server error response has a 5xx status code

func (*CreateClassicDashboardInternalServerError) IsSuccess

IsSuccess returns true when this create classic dashboard internal server error response has a 2xx status code

func (*CreateClassicDashboardInternalServerError) String

type CreateClassicDashboardOK

type CreateClassicDashboardOK struct {
	Payload *models.Configv1CreateClassicDashboardResponse
}

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

A successful response containing the created GrafanaDashboard.

func NewCreateClassicDashboardOK

func NewCreateClassicDashboardOK() *CreateClassicDashboardOK

NewCreateClassicDashboardOK creates a CreateClassicDashboardOK with default headers values

func (*CreateClassicDashboardOK) Code

func (o *CreateClassicDashboardOK) Code() int

Code gets the status code for the create classic dashboard o k response

func (*CreateClassicDashboardOK) Error

func (o *CreateClassicDashboardOK) Error() string

func (*CreateClassicDashboardOK) GetPayload

func (*CreateClassicDashboardOK) IsClientError

func (o *CreateClassicDashboardOK) IsClientError() bool

IsClientError returns true when this create classic dashboard o k response has a 4xx status code

func (*CreateClassicDashboardOK) IsCode

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

IsCode returns true when this create classic dashboard o k response a status code equal to that given

func (*CreateClassicDashboardOK) IsRedirect

func (o *CreateClassicDashboardOK) IsRedirect() bool

IsRedirect returns true when this create classic dashboard o k response has a 3xx status code

func (*CreateClassicDashboardOK) IsServerError

func (o *CreateClassicDashboardOK) IsServerError() bool

IsServerError returns true when this create classic dashboard o k response has a 5xx status code

func (*CreateClassicDashboardOK) IsSuccess

func (o *CreateClassicDashboardOK) IsSuccess() bool

IsSuccess returns true when this create classic dashboard o k response has a 2xx status code

func (*CreateClassicDashboardOK) String

func (o *CreateClassicDashboardOK) String() string

type CreateClassicDashboardParams

type CreateClassicDashboardParams struct {

	// Body.
	Body *models.Configv1CreateClassicDashboardRequest

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

CreateClassicDashboardParams contains all the parameters to send to the API endpoint

for the create classic dashboard operation.

Typically these are written to a http.Request.

func NewCreateClassicDashboardParams

func NewCreateClassicDashboardParams() *CreateClassicDashboardParams

NewCreateClassicDashboardParams creates a new CreateClassicDashboardParams 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 NewCreateClassicDashboardParamsWithContext

func NewCreateClassicDashboardParamsWithContext(ctx context.Context) *CreateClassicDashboardParams

NewCreateClassicDashboardParamsWithContext creates a new CreateClassicDashboardParams object with the ability to set a context for a request.

func NewCreateClassicDashboardParamsWithHTTPClient

func NewCreateClassicDashboardParamsWithHTTPClient(client *http.Client) *CreateClassicDashboardParams

NewCreateClassicDashboardParamsWithHTTPClient creates a new CreateClassicDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewCreateClassicDashboardParamsWithTimeout

func NewCreateClassicDashboardParamsWithTimeout(timeout time.Duration) *CreateClassicDashboardParams

NewCreateClassicDashboardParamsWithTimeout creates a new CreateClassicDashboardParams object with the ability to set a timeout on a request.

func (*CreateClassicDashboardParams) SetBody

SetBody adds the body to the create classic dashboard params

func (*CreateClassicDashboardParams) SetContext

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

SetContext adds the context to the create classic dashboard params

func (*CreateClassicDashboardParams) SetDefaults

func (o *CreateClassicDashboardParams) SetDefaults()

SetDefaults hydrates default values in the create classic dashboard params (not the query body).

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

func (*CreateClassicDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create classic dashboard params

func (*CreateClassicDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the create classic dashboard params

func (*CreateClassicDashboardParams) WithBody

WithBody adds the body to the create classic dashboard params

func (*CreateClassicDashboardParams) WithContext

WithContext adds the context to the create classic dashboard params

func (*CreateClassicDashboardParams) WithDefaults

WithDefaults hydrates default values in the create classic dashboard params (not the query body).

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

func (*CreateClassicDashboardParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create classic dashboard params

func (*CreateClassicDashboardParams) WithTimeout

WithTimeout adds the timeout to the create classic dashboard params

func (*CreateClassicDashboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateClassicDashboardReader

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

CreateClassicDashboardReader is a Reader for the CreateClassicDashboard structure.

func (*CreateClassicDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateCollectionBadRequest

type CreateCollectionBadRequest struct {
	Payload *models.APIError
}

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

Cannot create the Collection because the request is invalid.

func NewCreateCollectionBadRequest

func NewCreateCollectionBadRequest() *CreateCollectionBadRequest

NewCreateCollectionBadRequest creates a CreateCollectionBadRequest with default headers values

func (*CreateCollectionBadRequest) Code

func (o *CreateCollectionBadRequest) Code() int

Code gets the status code for the create collection bad request response

func (*CreateCollectionBadRequest) Error

func (*CreateCollectionBadRequest) GetPayload

func (o *CreateCollectionBadRequest) GetPayload() *models.APIError

func (*CreateCollectionBadRequest) IsClientError

func (o *CreateCollectionBadRequest) IsClientError() bool

IsClientError returns true when this create collection bad request response has a 4xx status code

func (*CreateCollectionBadRequest) IsCode

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

IsCode returns true when this create collection bad request response a status code equal to that given

func (*CreateCollectionBadRequest) IsRedirect

func (o *CreateCollectionBadRequest) IsRedirect() bool

IsRedirect returns true when this create collection bad request response has a 3xx status code

func (*CreateCollectionBadRequest) IsServerError

func (o *CreateCollectionBadRequest) IsServerError() bool

IsServerError returns true when this create collection bad request response has a 5xx status code

func (*CreateCollectionBadRequest) IsSuccess

func (o *CreateCollectionBadRequest) IsSuccess() bool

IsSuccess returns true when this create collection bad request response has a 2xx status code

func (*CreateCollectionBadRequest) String

func (o *CreateCollectionBadRequest) String() string

type CreateCollectionConflict

type CreateCollectionConflict struct {
	Payload *models.APIError
}

CreateCollectionConflict describes a response with status code 409, with default header values.

Cannot create the Collection because there is a conflict with an existing Collection.

func NewCreateCollectionConflict

func NewCreateCollectionConflict() *CreateCollectionConflict

NewCreateCollectionConflict creates a CreateCollectionConflict with default headers values

func (*CreateCollectionConflict) Code

func (o *CreateCollectionConflict) Code() int

Code gets the status code for the create collection conflict response

func (*CreateCollectionConflict) Error

func (o *CreateCollectionConflict) Error() string

func (*CreateCollectionConflict) GetPayload

func (o *CreateCollectionConflict) GetPayload() *models.APIError

func (*CreateCollectionConflict) IsClientError

func (o *CreateCollectionConflict) IsClientError() bool

IsClientError returns true when this create collection conflict response has a 4xx status code

func (*CreateCollectionConflict) IsCode

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

IsCode returns true when this create collection conflict response a status code equal to that given

func (*CreateCollectionConflict) IsRedirect

func (o *CreateCollectionConflict) IsRedirect() bool

IsRedirect returns true when this create collection conflict response has a 3xx status code

func (*CreateCollectionConflict) IsServerError

func (o *CreateCollectionConflict) IsServerError() bool

IsServerError returns true when this create collection conflict response has a 5xx status code

func (*CreateCollectionConflict) IsSuccess

func (o *CreateCollectionConflict) IsSuccess() bool

IsSuccess returns true when this create collection conflict response has a 2xx status code

func (*CreateCollectionConflict) String

func (o *CreateCollectionConflict) String() string

type CreateCollectionDefault

type CreateCollectionDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateCollectionDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateCollectionDefault

func NewCreateCollectionDefault(code int) *CreateCollectionDefault

NewCreateCollectionDefault creates a CreateCollectionDefault with default headers values

func (*CreateCollectionDefault) Code

func (o *CreateCollectionDefault) Code() int

Code gets the status code for the create collection default response

func (*CreateCollectionDefault) Error

func (o *CreateCollectionDefault) Error() string

func (*CreateCollectionDefault) GetPayload

func (*CreateCollectionDefault) IsClientError

func (o *CreateCollectionDefault) IsClientError() bool

IsClientError returns true when this create collection default response has a 4xx status code

func (*CreateCollectionDefault) IsCode

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

IsCode returns true when this create collection default response a status code equal to that given

func (*CreateCollectionDefault) IsRedirect

func (o *CreateCollectionDefault) IsRedirect() bool

IsRedirect returns true when this create collection default response has a 3xx status code

func (*CreateCollectionDefault) IsServerError

func (o *CreateCollectionDefault) IsServerError() bool

IsServerError returns true when this create collection default response has a 5xx status code

func (*CreateCollectionDefault) IsSuccess

func (o *CreateCollectionDefault) IsSuccess() bool

IsSuccess returns true when this create collection default response has a 2xx status code

func (*CreateCollectionDefault) String

func (o *CreateCollectionDefault) String() string

type CreateCollectionInternalServerError

type CreateCollectionInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewCreateCollectionInternalServerError

func NewCreateCollectionInternalServerError() *CreateCollectionInternalServerError

NewCreateCollectionInternalServerError creates a CreateCollectionInternalServerError with default headers values

func (*CreateCollectionInternalServerError) Code

Code gets the status code for the create collection internal server error response

func (*CreateCollectionInternalServerError) Error

func (*CreateCollectionInternalServerError) GetPayload

func (*CreateCollectionInternalServerError) IsClientError

func (o *CreateCollectionInternalServerError) IsClientError() bool

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

func (*CreateCollectionInternalServerError) IsCode

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

func (*CreateCollectionInternalServerError) IsRedirect

func (o *CreateCollectionInternalServerError) IsRedirect() bool

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

func (*CreateCollectionInternalServerError) IsServerError

func (o *CreateCollectionInternalServerError) IsServerError() bool

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

func (*CreateCollectionInternalServerError) IsSuccess

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

func (*CreateCollectionInternalServerError) String

type CreateCollectionOK

type CreateCollectionOK struct {
	Payload *models.Configv1CreateCollectionResponse
}

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

A successful response containing the created Collection.

func NewCreateCollectionOK

func NewCreateCollectionOK() *CreateCollectionOK

NewCreateCollectionOK creates a CreateCollectionOK with default headers values

func (*CreateCollectionOK) Code

func (o *CreateCollectionOK) Code() int

Code gets the status code for the create collection o k response

func (*CreateCollectionOK) Error

func (o *CreateCollectionOK) Error() string

func (*CreateCollectionOK) GetPayload

func (*CreateCollectionOK) IsClientError

func (o *CreateCollectionOK) IsClientError() bool

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

func (*CreateCollectionOK) IsCode

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

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

func (*CreateCollectionOK) IsRedirect

func (o *CreateCollectionOK) IsRedirect() bool

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

func (*CreateCollectionOK) IsServerError

func (o *CreateCollectionOK) IsServerError() bool

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

func (*CreateCollectionOK) IsSuccess

func (o *CreateCollectionOK) IsSuccess() bool

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

func (*CreateCollectionOK) String

func (o *CreateCollectionOK) String() string

type CreateCollectionParams

type CreateCollectionParams struct {

	// Body.
	Body *models.Configv1CreateCollectionRequest

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

CreateCollectionParams contains all the parameters to send to the API endpoint

for the create collection operation.

Typically these are written to a http.Request.

func NewCreateCollectionParams

func NewCreateCollectionParams() *CreateCollectionParams

NewCreateCollectionParams creates a new CreateCollectionParams 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 NewCreateCollectionParamsWithContext

func NewCreateCollectionParamsWithContext(ctx context.Context) *CreateCollectionParams

NewCreateCollectionParamsWithContext creates a new CreateCollectionParams object with the ability to set a context for a request.

func NewCreateCollectionParamsWithHTTPClient

func NewCreateCollectionParamsWithHTTPClient(client *http.Client) *CreateCollectionParams

NewCreateCollectionParamsWithHTTPClient creates a new CreateCollectionParams object with the ability to set a custom HTTPClient for a request.

func NewCreateCollectionParamsWithTimeout

func NewCreateCollectionParamsWithTimeout(timeout time.Duration) *CreateCollectionParams

NewCreateCollectionParamsWithTimeout creates a new CreateCollectionParams object with the ability to set a timeout on a request.

func (*CreateCollectionParams) SetBody

SetBody adds the body to the create collection params

func (*CreateCollectionParams) SetContext

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

SetContext adds the context to the create collection params

func (*CreateCollectionParams) SetDefaults

func (o *CreateCollectionParams) SetDefaults()

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

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

func (*CreateCollectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create collection params

func (*CreateCollectionParams) SetTimeout

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

SetTimeout adds the timeout to the create collection params

func (*CreateCollectionParams) WithBody

WithBody adds the body to the create collection params

func (*CreateCollectionParams) WithContext

WithContext adds the context to the create collection params

func (*CreateCollectionParams) WithDefaults

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

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

func (*CreateCollectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create collection params

func (*CreateCollectionParams) WithTimeout

WithTimeout adds the timeout to the create collection params

func (*CreateCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateCollectionReader

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

CreateCollectionReader is a Reader for the CreateCollection structure.

func (*CreateCollectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateDashboardBadRequest

type CreateDashboardBadRequest struct {
	Payload *models.APIError
}

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

Cannot create the Dashboard because the request is invalid.

func NewCreateDashboardBadRequest

func NewCreateDashboardBadRequest() *CreateDashboardBadRequest

NewCreateDashboardBadRequest creates a CreateDashboardBadRequest with default headers values

func (*CreateDashboardBadRequest) Code

func (o *CreateDashboardBadRequest) Code() int

Code gets the status code for the create dashboard bad request response

func (*CreateDashboardBadRequest) Error

func (o *CreateDashboardBadRequest) Error() string

func (*CreateDashboardBadRequest) GetPayload

func (o *CreateDashboardBadRequest) GetPayload() *models.APIError

func (*CreateDashboardBadRequest) IsClientError

func (o *CreateDashboardBadRequest) IsClientError() bool

IsClientError returns true when this create dashboard bad request response has a 4xx status code

func (*CreateDashboardBadRequest) IsCode

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

IsCode returns true when this create dashboard bad request response a status code equal to that given

func (*CreateDashboardBadRequest) IsRedirect

func (o *CreateDashboardBadRequest) IsRedirect() bool

IsRedirect returns true when this create dashboard bad request response has a 3xx status code

func (*CreateDashboardBadRequest) IsServerError

func (o *CreateDashboardBadRequest) IsServerError() bool

IsServerError returns true when this create dashboard bad request response has a 5xx status code

func (*CreateDashboardBadRequest) IsSuccess

func (o *CreateDashboardBadRequest) IsSuccess() bool

IsSuccess returns true when this create dashboard bad request response has a 2xx status code

func (*CreateDashboardBadRequest) String

func (o *CreateDashboardBadRequest) String() string

type CreateDashboardConflict

type CreateDashboardConflict struct {
	Payload *models.APIError
}

CreateDashboardConflict describes a response with status code 409, with default header values.

Cannot create the Dashboard because there is a conflict with an existing Dashboard.

func NewCreateDashboardConflict

func NewCreateDashboardConflict() *CreateDashboardConflict

NewCreateDashboardConflict creates a CreateDashboardConflict with default headers values

func (*CreateDashboardConflict) Code

func (o *CreateDashboardConflict) Code() int

Code gets the status code for the create dashboard conflict response

func (*CreateDashboardConflict) Error

func (o *CreateDashboardConflict) Error() string

func (*CreateDashboardConflict) GetPayload

func (o *CreateDashboardConflict) GetPayload() *models.APIError

func (*CreateDashboardConflict) IsClientError

func (o *CreateDashboardConflict) IsClientError() bool

IsClientError returns true when this create dashboard conflict response has a 4xx status code

func (*CreateDashboardConflict) IsCode

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

IsCode returns true when this create dashboard conflict response a status code equal to that given

func (*CreateDashboardConflict) IsRedirect

func (o *CreateDashboardConflict) IsRedirect() bool

IsRedirect returns true when this create dashboard conflict response has a 3xx status code

func (*CreateDashboardConflict) IsServerError

func (o *CreateDashboardConflict) IsServerError() bool

IsServerError returns true when this create dashboard conflict response has a 5xx status code

func (*CreateDashboardConflict) IsSuccess

func (o *CreateDashboardConflict) IsSuccess() bool

IsSuccess returns true when this create dashboard conflict response has a 2xx status code

func (*CreateDashboardConflict) String

func (o *CreateDashboardConflict) String() string

type CreateDashboardDefault

type CreateDashboardDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateDashboardDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateDashboardDefault

func NewCreateDashboardDefault(code int) *CreateDashboardDefault

NewCreateDashboardDefault creates a CreateDashboardDefault with default headers values

func (*CreateDashboardDefault) Code

func (o *CreateDashboardDefault) Code() int

Code gets the status code for the create dashboard default response

func (*CreateDashboardDefault) Error

func (o *CreateDashboardDefault) Error() string

func (*CreateDashboardDefault) GetPayload

func (o *CreateDashboardDefault) GetPayload() models.GenericError

func (*CreateDashboardDefault) IsClientError

func (o *CreateDashboardDefault) IsClientError() bool

IsClientError returns true when this create dashboard default response has a 4xx status code

func (*CreateDashboardDefault) IsCode

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

IsCode returns true when this create dashboard default response a status code equal to that given

func (*CreateDashboardDefault) IsRedirect

func (o *CreateDashboardDefault) IsRedirect() bool

IsRedirect returns true when this create dashboard default response has a 3xx status code

func (*CreateDashboardDefault) IsServerError

func (o *CreateDashboardDefault) IsServerError() bool

IsServerError returns true when this create dashboard default response has a 5xx status code

func (*CreateDashboardDefault) IsSuccess

func (o *CreateDashboardDefault) IsSuccess() bool

IsSuccess returns true when this create dashboard default response has a 2xx status code

func (*CreateDashboardDefault) String

func (o *CreateDashboardDefault) String() string

type CreateDashboardInternalServerError

type CreateDashboardInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewCreateDashboardInternalServerError

func NewCreateDashboardInternalServerError() *CreateDashboardInternalServerError

NewCreateDashboardInternalServerError creates a CreateDashboardInternalServerError with default headers values

func (*CreateDashboardInternalServerError) Code

Code gets the status code for the create dashboard internal server error response

func (*CreateDashboardInternalServerError) Error

func (*CreateDashboardInternalServerError) GetPayload

func (*CreateDashboardInternalServerError) IsClientError

func (o *CreateDashboardInternalServerError) IsClientError() bool

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

func (*CreateDashboardInternalServerError) IsCode

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

func (*CreateDashboardInternalServerError) IsRedirect

func (o *CreateDashboardInternalServerError) IsRedirect() bool

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

func (*CreateDashboardInternalServerError) IsServerError

func (o *CreateDashboardInternalServerError) IsServerError() bool

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

func (*CreateDashboardInternalServerError) IsSuccess

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

func (*CreateDashboardInternalServerError) String

type CreateDashboardOK

type CreateDashboardOK struct {
	Payload *models.Configv1CreateDashboardResponse
}

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

A successful response containing the created Dashboard.

func NewCreateDashboardOK

func NewCreateDashboardOK() *CreateDashboardOK

NewCreateDashboardOK creates a CreateDashboardOK with default headers values

func (*CreateDashboardOK) Code

func (o *CreateDashboardOK) Code() int

Code gets the status code for the create dashboard o k response

func (*CreateDashboardOK) Error

func (o *CreateDashboardOK) Error() string

func (*CreateDashboardOK) GetPayload

func (*CreateDashboardOK) IsClientError

func (o *CreateDashboardOK) IsClientError() bool

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

func (*CreateDashboardOK) IsCode

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

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

func (*CreateDashboardOK) IsRedirect

func (o *CreateDashboardOK) IsRedirect() bool

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

func (*CreateDashboardOK) IsServerError

func (o *CreateDashboardOK) IsServerError() bool

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

func (*CreateDashboardOK) IsSuccess

func (o *CreateDashboardOK) IsSuccess() bool

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

func (*CreateDashboardOK) String

func (o *CreateDashboardOK) String() string

type CreateDashboardParams

type CreateDashboardParams struct {

	// Body.
	Body *models.Configv1CreateDashboardRequest

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

CreateDashboardParams contains all the parameters to send to the API endpoint

for the create dashboard operation.

Typically these are written to a http.Request.

func NewCreateDashboardParams

func NewCreateDashboardParams() *CreateDashboardParams

NewCreateDashboardParams creates a new CreateDashboardParams 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 NewCreateDashboardParamsWithContext

func NewCreateDashboardParamsWithContext(ctx context.Context) *CreateDashboardParams

NewCreateDashboardParamsWithContext creates a new CreateDashboardParams object with the ability to set a context for a request.

func NewCreateDashboardParamsWithHTTPClient

func NewCreateDashboardParamsWithHTTPClient(client *http.Client) *CreateDashboardParams

NewCreateDashboardParamsWithHTTPClient creates a new CreateDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewCreateDashboardParamsWithTimeout

func NewCreateDashboardParamsWithTimeout(timeout time.Duration) *CreateDashboardParams

NewCreateDashboardParamsWithTimeout creates a new CreateDashboardParams object with the ability to set a timeout on a request.

func (*CreateDashboardParams) SetBody

SetBody adds the body to the create dashboard params

func (*CreateDashboardParams) SetContext

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

SetContext adds the context to the create dashboard params

func (*CreateDashboardParams) SetDefaults

func (o *CreateDashboardParams) SetDefaults()

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

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

func (*CreateDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create dashboard params

func (*CreateDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the create dashboard params

func (*CreateDashboardParams) WithBody

WithBody adds the body to the create dashboard params

func (*CreateDashboardParams) WithContext

WithContext adds the context to the create dashboard params

func (*CreateDashboardParams) WithDefaults

func (o *CreateDashboardParams) WithDefaults() *CreateDashboardParams

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

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

func (*CreateDashboardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create dashboard params

func (*CreateDashboardParams) WithTimeout

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

WithTimeout adds the timeout to the create dashboard params

func (*CreateDashboardParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateDashboardReader

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

CreateDashboardReader is a Reader for the CreateDashboard structure.

func (*CreateDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateDerivedLabelBadRequest

type CreateDerivedLabelBadRequest struct {
	Payload *models.APIError
}

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

Cannot create the DerivedLabel because the request is invalid.

func NewCreateDerivedLabelBadRequest

func NewCreateDerivedLabelBadRequest() *CreateDerivedLabelBadRequest

NewCreateDerivedLabelBadRequest creates a CreateDerivedLabelBadRequest with default headers values

func (*CreateDerivedLabelBadRequest) Code

Code gets the status code for the create derived label bad request response

func (*CreateDerivedLabelBadRequest) Error

func (*CreateDerivedLabelBadRequest) GetPayload

func (o *CreateDerivedLabelBadRequest) GetPayload() *models.APIError

func (*CreateDerivedLabelBadRequest) IsClientError

func (o *CreateDerivedLabelBadRequest) IsClientError() bool

IsClientError returns true when this create derived label bad request response has a 4xx status code

func (*CreateDerivedLabelBadRequest) IsCode

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

IsCode returns true when this create derived label bad request response a status code equal to that given

func (*CreateDerivedLabelBadRequest) IsRedirect

func (o *CreateDerivedLabelBadRequest) IsRedirect() bool

IsRedirect returns true when this create derived label bad request response has a 3xx status code

func (*CreateDerivedLabelBadRequest) IsServerError

func (o *CreateDerivedLabelBadRequest) IsServerError() bool

IsServerError returns true when this create derived label bad request response has a 5xx status code

func (*CreateDerivedLabelBadRequest) IsSuccess

func (o *CreateDerivedLabelBadRequest) IsSuccess() bool

IsSuccess returns true when this create derived label bad request response has a 2xx status code

func (*CreateDerivedLabelBadRequest) String

type CreateDerivedLabelConflict

type CreateDerivedLabelConflict struct {
	Payload *models.APIError
}

CreateDerivedLabelConflict describes a response with status code 409, with default header values.

Cannot create the DerivedLabel because there is a conflict with an existing DerivedLabel.

func NewCreateDerivedLabelConflict

func NewCreateDerivedLabelConflict() *CreateDerivedLabelConflict

NewCreateDerivedLabelConflict creates a CreateDerivedLabelConflict with default headers values

func (*CreateDerivedLabelConflict) Code

func (o *CreateDerivedLabelConflict) Code() int

Code gets the status code for the create derived label conflict response

func (*CreateDerivedLabelConflict) Error

func (*CreateDerivedLabelConflict) GetPayload

func (o *CreateDerivedLabelConflict) GetPayload() *models.APIError

func (*CreateDerivedLabelConflict) IsClientError

func (o *CreateDerivedLabelConflict) IsClientError() bool

IsClientError returns true when this create derived label conflict response has a 4xx status code

func (*CreateDerivedLabelConflict) IsCode

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

IsCode returns true when this create derived label conflict response a status code equal to that given

func (*CreateDerivedLabelConflict) IsRedirect

func (o *CreateDerivedLabelConflict) IsRedirect() bool

IsRedirect returns true when this create derived label conflict response has a 3xx status code

func (*CreateDerivedLabelConflict) IsServerError

func (o *CreateDerivedLabelConflict) IsServerError() bool

IsServerError returns true when this create derived label conflict response has a 5xx status code

func (*CreateDerivedLabelConflict) IsSuccess

func (o *CreateDerivedLabelConflict) IsSuccess() bool

IsSuccess returns true when this create derived label conflict response has a 2xx status code

func (*CreateDerivedLabelConflict) String

func (o *CreateDerivedLabelConflict) String() string

type CreateDerivedLabelDefault

type CreateDerivedLabelDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateDerivedLabelDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateDerivedLabelDefault

func NewCreateDerivedLabelDefault(code int) *CreateDerivedLabelDefault

NewCreateDerivedLabelDefault creates a CreateDerivedLabelDefault with default headers values

func (*CreateDerivedLabelDefault) Code

func (o *CreateDerivedLabelDefault) Code() int

Code gets the status code for the create derived label default response

func (*CreateDerivedLabelDefault) Error

func (o *CreateDerivedLabelDefault) Error() string

func (*CreateDerivedLabelDefault) GetPayload

func (*CreateDerivedLabelDefault) IsClientError

func (o *CreateDerivedLabelDefault) IsClientError() bool

IsClientError returns true when this create derived label default response has a 4xx status code

func (*CreateDerivedLabelDefault) IsCode

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

IsCode returns true when this create derived label default response a status code equal to that given

func (*CreateDerivedLabelDefault) IsRedirect

func (o *CreateDerivedLabelDefault) IsRedirect() bool

IsRedirect returns true when this create derived label default response has a 3xx status code

func (*CreateDerivedLabelDefault) IsServerError

func (o *CreateDerivedLabelDefault) IsServerError() bool

IsServerError returns true when this create derived label default response has a 5xx status code

func (*CreateDerivedLabelDefault) IsSuccess

func (o *CreateDerivedLabelDefault) IsSuccess() bool

IsSuccess returns true when this create derived label default response has a 2xx status code

func (*CreateDerivedLabelDefault) String

func (o *CreateDerivedLabelDefault) String() string

type CreateDerivedLabelInternalServerError

type CreateDerivedLabelInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewCreateDerivedLabelInternalServerError

func NewCreateDerivedLabelInternalServerError() *CreateDerivedLabelInternalServerError

NewCreateDerivedLabelInternalServerError creates a CreateDerivedLabelInternalServerError with default headers values

func (*CreateDerivedLabelInternalServerError) Code

Code gets the status code for the create derived label internal server error response

func (*CreateDerivedLabelInternalServerError) Error

func (*CreateDerivedLabelInternalServerError) GetPayload

func (*CreateDerivedLabelInternalServerError) IsClientError

func (o *CreateDerivedLabelInternalServerError) IsClientError() bool

IsClientError returns true when this create derived label internal server error response has a 4xx status code

func (*CreateDerivedLabelInternalServerError) IsCode

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

func (*CreateDerivedLabelInternalServerError) IsRedirect

IsRedirect returns true when this create derived label internal server error response has a 3xx status code

func (*CreateDerivedLabelInternalServerError) IsServerError

func (o *CreateDerivedLabelInternalServerError) IsServerError() bool

IsServerError returns true when this create derived label internal server error response has a 5xx status code

func (*CreateDerivedLabelInternalServerError) IsSuccess

IsSuccess returns true when this create derived label internal server error response has a 2xx status code

func (*CreateDerivedLabelInternalServerError) String

type CreateDerivedLabelOK

type CreateDerivedLabelOK struct {
	Payload *models.Configv1CreateDerivedLabelResponse
}

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

A successful response containing the created DerivedLabel.

func NewCreateDerivedLabelOK

func NewCreateDerivedLabelOK() *CreateDerivedLabelOK

NewCreateDerivedLabelOK creates a CreateDerivedLabelOK with default headers values

func (*CreateDerivedLabelOK) Code

func (o *CreateDerivedLabelOK) Code() int

Code gets the status code for the create derived label o k response

func (*CreateDerivedLabelOK) Error

func (o *CreateDerivedLabelOK) Error() string

func (*CreateDerivedLabelOK) GetPayload

func (*CreateDerivedLabelOK) IsClientError

func (o *CreateDerivedLabelOK) IsClientError() bool

IsClientError returns true when this create derived label o k response has a 4xx status code

func (*CreateDerivedLabelOK) IsCode

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

IsCode returns true when this create derived label o k response a status code equal to that given

func (*CreateDerivedLabelOK) IsRedirect

func (o *CreateDerivedLabelOK) IsRedirect() bool

IsRedirect returns true when this create derived label o k response has a 3xx status code

func (*CreateDerivedLabelOK) IsServerError

func (o *CreateDerivedLabelOK) IsServerError() bool

IsServerError returns true when this create derived label o k response has a 5xx status code

func (*CreateDerivedLabelOK) IsSuccess

func (o *CreateDerivedLabelOK) IsSuccess() bool

IsSuccess returns true when this create derived label o k response has a 2xx status code

func (*CreateDerivedLabelOK) String

func (o *CreateDerivedLabelOK) String() string

type CreateDerivedLabelParams

type CreateDerivedLabelParams struct {

	// Body.
	Body *models.Configv1CreateDerivedLabelRequest

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

CreateDerivedLabelParams contains all the parameters to send to the API endpoint

for the create derived label operation.

Typically these are written to a http.Request.

func NewCreateDerivedLabelParams

func NewCreateDerivedLabelParams() *CreateDerivedLabelParams

NewCreateDerivedLabelParams creates a new CreateDerivedLabelParams 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 NewCreateDerivedLabelParamsWithContext

func NewCreateDerivedLabelParamsWithContext(ctx context.Context) *CreateDerivedLabelParams

NewCreateDerivedLabelParamsWithContext creates a new CreateDerivedLabelParams object with the ability to set a context for a request.

func NewCreateDerivedLabelParamsWithHTTPClient

func NewCreateDerivedLabelParamsWithHTTPClient(client *http.Client) *CreateDerivedLabelParams

NewCreateDerivedLabelParamsWithHTTPClient creates a new CreateDerivedLabelParams object with the ability to set a custom HTTPClient for a request.

func NewCreateDerivedLabelParamsWithTimeout

func NewCreateDerivedLabelParamsWithTimeout(timeout time.Duration) *CreateDerivedLabelParams

NewCreateDerivedLabelParamsWithTimeout creates a new CreateDerivedLabelParams object with the ability to set a timeout on a request.

func (*CreateDerivedLabelParams) SetBody

SetBody adds the body to the create derived label params

func (*CreateDerivedLabelParams) SetContext

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

SetContext adds the context to the create derived label params

func (*CreateDerivedLabelParams) SetDefaults

func (o *CreateDerivedLabelParams) SetDefaults()

SetDefaults hydrates default values in the create derived label params (not the query body).

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

func (*CreateDerivedLabelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create derived label params

func (*CreateDerivedLabelParams) SetTimeout

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

SetTimeout adds the timeout to the create derived label params

func (*CreateDerivedLabelParams) WithBody

WithBody adds the body to the create derived label params

func (*CreateDerivedLabelParams) WithContext

WithContext adds the context to the create derived label params

func (*CreateDerivedLabelParams) WithDefaults

WithDefaults hydrates default values in the create derived label params (not the query body).

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

func (*CreateDerivedLabelParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create derived label params

func (*CreateDerivedLabelParams) WithTimeout

WithTimeout adds the timeout to the create derived label params

func (*CreateDerivedLabelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateDerivedLabelReader

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

CreateDerivedLabelReader is a Reader for the CreateDerivedLabel structure.

func (*CreateDerivedLabelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateDerivedMetricBadRequest

type CreateDerivedMetricBadRequest struct {
	Payload *models.APIError
}

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

Cannot create the DerivedMetric because the request is invalid.

func NewCreateDerivedMetricBadRequest

func NewCreateDerivedMetricBadRequest() *CreateDerivedMetricBadRequest

NewCreateDerivedMetricBadRequest creates a CreateDerivedMetricBadRequest with default headers values

func (*CreateDerivedMetricBadRequest) Code

Code gets the status code for the create derived metric bad request response

func (*CreateDerivedMetricBadRequest) Error

func (*CreateDerivedMetricBadRequest) GetPayload

func (*CreateDerivedMetricBadRequest) IsClientError

func (o *CreateDerivedMetricBadRequest) IsClientError() bool

IsClientError returns true when this create derived metric bad request response has a 4xx status code

func (*CreateDerivedMetricBadRequest) IsCode

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

IsCode returns true when this create derived metric bad request response a status code equal to that given

func (*CreateDerivedMetricBadRequest) IsRedirect

func (o *CreateDerivedMetricBadRequest) IsRedirect() bool

IsRedirect returns true when this create derived metric bad request response has a 3xx status code

func (*CreateDerivedMetricBadRequest) IsServerError

func (o *CreateDerivedMetricBadRequest) IsServerError() bool

IsServerError returns true when this create derived metric bad request response has a 5xx status code

func (*CreateDerivedMetricBadRequest) IsSuccess

func (o *CreateDerivedMetricBadRequest) IsSuccess() bool

IsSuccess returns true when this create derived metric bad request response has a 2xx status code

func (*CreateDerivedMetricBadRequest) String

type CreateDerivedMetricConflict

type CreateDerivedMetricConflict struct {
	Payload *models.APIError
}

CreateDerivedMetricConflict describes a response with status code 409, with default header values.

Cannot create the DerivedMetric because there is a conflict with an existing DerivedMetric.

func NewCreateDerivedMetricConflict

func NewCreateDerivedMetricConflict() *CreateDerivedMetricConflict

NewCreateDerivedMetricConflict creates a CreateDerivedMetricConflict with default headers values

func (*CreateDerivedMetricConflict) Code

func (o *CreateDerivedMetricConflict) Code() int

Code gets the status code for the create derived metric conflict response

func (*CreateDerivedMetricConflict) Error

func (*CreateDerivedMetricConflict) GetPayload

func (o *CreateDerivedMetricConflict) GetPayload() *models.APIError

func (*CreateDerivedMetricConflict) IsClientError

func (o *CreateDerivedMetricConflict) IsClientError() bool

IsClientError returns true when this create derived metric conflict response has a 4xx status code

func (*CreateDerivedMetricConflict) IsCode

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

IsCode returns true when this create derived metric conflict response a status code equal to that given

func (*CreateDerivedMetricConflict) IsRedirect

func (o *CreateDerivedMetricConflict) IsRedirect() bool

IsRedirect returns true when this create derived metric conflict response has a 3xx status code

func (*CreateDerivedMetricConflict) IsServerError

func (o *CreateDerivedMetricConflict) IsServerError() bool

IsServerError returns true when this create derived metric conflict response has a 5xx status code

func (*CreateDerivedMetricConflict) IsSuccess

func (o *CreateDerivedMetricConflict) IsSuccess() bool

IsSuccess returns true when this create derived metric conflict response has a 2xx status code

func (*CreateDerivedMetricConflict) String

func (o *CreateDerivedMetricConflict) String() string

type CreateDerivedMetricDefault

type CreateDerivedMetricDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateDerivedMetricDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateDerivedMetricDefault

func NewCreateDerivedMetricDefault(code int) *CreateDerivedMetricDefault

NewCreateDerivedMetricDefault creates a CreateDerivedMetricDefault with default headers values

func (*CreateDerivedMetricDefault) Code

func (o *CreateDerivedMetricDefault) Code() int

Code gets the status code for the create derived metric default response

func (*CreateDerivedMetricDefault) Error

func (*CreateDerivedMetricDefault) GetPayload

func (*CreateDerivedMetricDefault) IsClientError

func (o *CreateDerivedMetricDefault) IsClientError() bool

IsClientError returns true when this create derived metric default response has a 4xx status code

func (*CreateDerivedMetricDefault) IsCode

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

IsCode returns true when this create derived metric default response a status code equal to that given

func (*CreateDerivedMetricDefault) IsRedirect

func (o *CreateDerivedMetricDefault) IsRedirect() bool

IsRedirect returns true when this create derived metric default response has a 3xx status code

func (*CreateDerivedMetricDefault) IsServerError

func (o *CreateDerivedMetricDefault) IsServerError() bool

IsServerError returns true when this create derived metric default response has a 5xx status code

func (*CreateDerivedMetricDefault) IsSuccess

func (o *CreateDerivedMetricDefault) IsSuccess() bool

IsSuccess returns true when this create derived metric default response has a 2xx status code

func (*CreateDerivedMetricDefault) String

func (o *CreateDerivedMetricDefault) String() string

type CreateDerivedMetricInternalServerError

type CreateDerivedMetricInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewCreateDerivedMetricInternalServerError

func NewCreateDerivedMetricInternalServerError() *CreateDerivedMetricInternalServerError

NewCreateDerivedMetricInternalServerError creates a CreateDerivedMetricInternalServerError with default headers values

func (*CreateDerivedMetricInternalServerError) Code

Code gets the status code for the create derived metric internal server error response

func (*CreateDerivedMetricInternalServerError) Error

func (*CreateDerivedMetricInternalServerError) GetPayload

func (*CreateDerivedMetricInternalServerError) IsClientError

func (o *CreateDerivedMetricInternalServerError) IsClientError() bool

IsClientError returns true when this create derived metric internal server error response has a 4xx status code

func (*CreateDerivedMetricInternalServerError) IsCode

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

func (*CreateDerivedMetricInternalServerError) IsRedirect

IsRedirect returns true when this create derived metric internal server error response has a 3xx status code

func (*CreateDerivedMetricInternalServerError) IsServerError

func (o *CreateDerivedMetricInternalServerError) IsServerError() bool

IsServerError returns true when this create derived metric internal server error response has a 5xx status code

func (*CreateDerivedMetricInternalServerError) IsSuccess

IsSuccess returns true when this create derived metric internal server error response has a 2xx status code

func (*CreateDerivedMetricInternalServerError) String

type CreateDerivedMetricOK

type CreateDerivedMetricOK struct {
	Payload *models.Configv1CreateDerivedMetricResponse
}

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

A successful response containing the created DerivedMetric.

func NewCreateDerivedMetricOK

func NewCreateDerivedMetricOK() *CreateDerivedMetricOK

NewCreateDerivedMetricOK creates a CreateDerivedMetricOK with default headers values

func (*CreateDerivedMetricOK) Code

func (o *CreateDerivedMetricOK) Code() int

Code gets the status code for the create derived metric o k response

func (*CreateDerivedMetricOK) Error

func (o *CreateDerivedMetricOK) Error() string

func (*CreateDerivedMetricOK) GetPayload

func (*CreateDerivedMetricOK) IsClientError

func (o *CreateDerivedMetricOK) IsClientError() bool

IsClientError returns true when this create derived metric o k response has a 4xx status code

func (*CreateDerivedMetricOK) IsCode

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

IsCode returns true when this create derived metric o k response a status code equal to that given

func (*CreateDerivedMetricOK) IsRedirect

func (o *CreateDerivedMetricOK) IsRedirect() bool

IsRedirect returns true when this create derived metric o k response has a 3xx status code

func (*CreateDerivedMetricOK) IsServerError

func (o *CreateDerivedMetricOK) IsServerError() bool

IsServerError returns true when this create derived metric o k response has a 5xx status code

func (*CreateDerivedMetricOK) IsSuccess

func (o *CreateDerivedMetricOK) IsSuccess() bool

IsSuccess returns true when this create derived metric o k response has a 2xx status code

func (*CreateDerivedMetricOK) String

func (o *CreateDerivedMetricOK) String() string

type CreateDerivedMetricParams

type CreateDerivedMetricParams struct {

	// Body.
	Body *models.Configv1CreateDerivedMetricRequest

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

CreateDerivedMetricParams contains all the parameters to send to the API endpoint

for the create derived metric operation.

Typically these are written to a http.Request.

func NewCreateDerivedMetricParams

func NewCreateDerivedMetricParams() *CreateDerivedMetricParams

NewCreateDerivedMetricParams creates a new CreateDerivedMetricParams 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 NewCreateDerivedMetricParamsWithContext

func NewCreateDerivedMetricParamsWithContext(ctx context.Context) *CreateDerivedMetricParams

NewCreateDerivedMetricParamsWithContext creates a new CreateDerivedMetricParams object with the ability to set a context for a request.

func NewCreateDerivedMetricParamsWithHTTPClient

func NewCreateDerivedMetricParamsWithHTTPClient(client *http.Client) *CreateDerivedMetricParams

NewCreateDerivedMetricParamsWithHTTPClient creates a new CreateDerivedMetricParams object with the ability to set a custom HTTPClient for a request.

func NewCreateDerivedMetricParamsWithTimeout

func NewCreateDerivedMetricParamsWithTimeout(timeout time.Duration) *CreateDerivedMetricParams

NewCreateDerivedMetricParamsWithTimeout creates a new CreateDerivedMetricParams object with the ability to set a timeout on a request.

func (*CreateDerivedMetricParams) SetBody

SetBody adds the body to the create derived metric params

func (*CreateDerivedMetricParams) SetContext

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

SetContext adds the context to the create derived metric params

func (*CreateDerivedMetricParams) SetDefaults

func (o *CreateDerivedMetricParams) SetDefaults()

SetDefaults hydrates default values in the create derived metric params (not the query body).

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

func (*CreateDerivedMetricParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create derived metric params

func (*CreateDerivedMetricParams) SetTimeout

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

SetTimeout adds the timeout to the create derived metric params

func (*CreateDerivedMetricParams) WithBody

WithBody adds the body to the create derived metric params

func (*CreateDerivedMetricParams) WithContext

WithContext adds the context to the create derived metric params

func (*CreateDerivedMetricParams) WithDefaults

WithDefaults hydrates default values in the create derived metric params (not the query body).

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

func (*CreateDerivedMetricParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create derived metric params

func (*CreateDerivedMetricParams) WithTimeout

WithTimeout adds the timeout to the create derived metric params

func (*CreateDerivedMetricParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateDerivedMetricReader

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

CreateDerivedMetricReader is a Reader for the CreateDerivedMetric structure.

func (*CreateDerivedMetricReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateDropRuleBadRequest

type CreateDropRuleBadRequest struct {
	Payload *models.APIError
}

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

Cannot create the DropRule because the request is invalid.

func NewCreateDropRuleBadRequest

func NewCreateDropRuleBadRequest() *CreateDropRuleBadRequest

NewCreateDropRuleBadRequest creates a CreateDropRuleBadRequest with default headers values

func (*CreateDropRuleBadRequest) Code

func (o *CreateDropRuleBadRequest) Code() int

Code gets the status code for the create drop rule bad request response

func (*CreateDropRuleBadRequest) Error

func (o *CreateDropRuleBadRequest) Error() string

func (*CreateDropRuleBadRequest) GetPayload

func (o *CreateDropRuleBadRequest) GetPayload() *models.APIError

func (*CreateDropRuleBadRequest) IsClientError

func (o *CreateDropRuleBadRequest) IsClientError() bool

IsClientError returns true when this create drop rule bad request response has a 4xx status code

func (*CreateDropRuleBadRequest) IsCode

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

IsCode returns true when this create drop rule bad request response a status code equal to that given

func (*CreateDropRuleBadRequest) IsRedirect

func (o *CreateDropRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this create drop rule bad request response has a 3xx status code

func (*CreateDropRuleBadRequest) IsServerError

func (o *CreateDropRuleBadRequest) IsServerError() bool

IsServerError returns true when this create drop rule bad request response has a 5xx status code

func (*CreateDropRuleBadRequest) IsSuccess

func (o *CreateDropRuleBadRequest) IsSuccess() bool

IsSuccess returns true when this create drop rule bad request response has a 2xx status code

func (*CreateDropRuleBadRequest) String

func (o *CreateDropRuleBadRequest) String() string

type CreateDropRuleConflict

type CreateDropRuleConflict struct {
	Payload *models.APIError
}

CreateDropRuleConflict describes a response with status code 409, with default header values.

Cannot create the DropRule because there is a conflict with an existing DropRule.

func NewCreateDropRuleConflict

func NewCreateDropRuleConflict() *CreateDropRuleConflict

NewCreateDropRuleConflict creates a CreateDropRuleConflict with default headers values

func (*CreateDropRuleConflict) Code

func (o *CreateDropRuleConflict) Code() int

Code gets the status code for the create drop rule conflict response

func (*CreateDropRuleConflict) Error

func (o *CreateDropRuleConflict) Error() string

func (*CreateDropRuleConflict) GetPayload

func (o *CreateDropRuleConflict) GetPayload() *models.APIError

func (*CreateDropRuleConflict) IsClientError

func (o *CreateDropRuleConflict) IsClientError() bool

IsClientError returns true when this create drop rule conflict response has a 4xx status code

func (*CreateDropRuleConflict) IsCode

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

IsCode returns true when this create drop rule conflict response a status code equal to that given

func (*CreateDropRuleConflict) IsRedirect

func (o *CreateDropRuleConflict) IsRedirect() bool

IsRedirect returns true when this create drop rule conflict response has a 3xx status code

func (*CreateDropRuleConflict) IsServerError

func (o *CreateDropRuleConflict) IsServerError() bool

IsServerError returns true when this create drop rule conflict response has a 5xx status code

func (*CreateDropRuleConflict) IsSuccess

func (o *CreateDropRuleConflict) IsSuccess() bool

IsSuccess returns true when this create drop rule conflict response has a 2xx status code

func (*CreateDropRuleConflict) String

func (o *CreateDropRuleConflict) String() string

type CreateDropRuleDefault

type CreateDropRuleDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateDropRuleDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateDropRuleDefault

func NewCreateDropRuleDefault(code int) *CreateDropRuleDefault

NewCreateDropRuleDefault creates a CreateDropRuleDefault with default headers values

func (*CreateDropRuleDefault) Code

func (o *CreateDropRuleDefault) Code() int

Code gets the status code for the create drop rule default response

func (*CreateDropRuleDefault) Error

func (o *CreateDropRuleDefault) Error() string

func (*CreateDropRuleDefault) GetPayload

func (o *CreateDropRuleDefault) GetPayload() models.GenericError

func (*CreateDropRuleDefault) IsClientError

func (o *CreateDropRuleDefault) IsClientError() bool

IsClientError returns true when this create drop rule default response has a 4xx status code

func (*CreateDropRuleDefault) IsCode

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

IsCode returns true when this create drop rule default response a status code equal to that given

func (*CreateDropRuleDefault) IsRedirect

func (o *CreateDropRuleDefault) IsRedirect() bool

IsRedirect returns true when this create drop rule default response has a 3xx status code

func (*CreateDropRuleDefault) IsServerError

func (o *CreateDropRuleDefault) IsServerError() bool

IsServerError returns true when this create drop rule default response has a 5xx status code

func (*CreateDropRuleDefault) IsSuccess

func (o *CreateDropRuleDefault) IsSuccess() bool

IsSuccess returns true when this create drop rule default response has a 2xx status code

func (*CreateDropRuleDefault) String

func (o *CreateDropRuleDefault) String() string

type CreateDropRuleInternalServerError

type CreateDropRuleInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewCreateDropRuleInternalServerError

func NewCreateDropRuleInternalServerError() *CreateDropRuleInternalServerError

NewCreateDropRuleInternalServerError creates a CreateDropRuleInternalServerError with default headers values

func (*CreateDropRuleInternalServerError) Code

Code gets the status code for the create drop rule internal server error response

func (*CreateDropRuleInternalServerError) Error

func (*CreateDropRuleInternalServerError) GetPayload

func (*CreateDropRuleInternalServerError) IsClientError

func (o *CreateDropRuleInternalServerError) IsClientError() bool

IsClientError returns true when this create drop rule internal server error response has a 4xx status code

func (*CreateDropRuleInternalServerError) IsCode

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

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

func (*CreateDropRuleInternalServerError) IsRedirect

func (o *CreateDropRuleInternalServerError) IsRedirect() bool

IsRedirect returns true when this create drop rule internal server error response has a 3xx status code

func (*CreateDropRuleInternalServerError) IsServerError

func (o *CreateDropRuleInternalServerError) IsServerError() bool

IsServerError returns true when this create drop rule internal server error response has a 5xx status code

func (*CreateDropRuleInternalServerError) IsSuccess

func (o *CreateDropRuleInternalServerError) IsSuccess() bool

IsSuccess returns true when this create drop rule internal server error response has a 2xx status code

func (*CreateDropRuleInternalServerError) String

type CreateDropRuleOK

type CreateDropRuleOK struct {
	Payload *models.Configv1CreateDropRuleResponse
}

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

A successful response containing the created DropRule.

func NewCreateDropRuleOK

func NewCreateDropRuleOK() *CreateDropRuleOK

NewCreateDropRuleOK creates a CreateDropRuleOK with default headers values

func (*CreateDropRuleOK) Code

func (o *CreateDropRuleOK) Code() int

Code gets the status code for the create drop rule o k response

func (*CreateDropRuleOK) Error

func (o *CreateDropRuleOK) Error() string

func (*CreateDropRuleOK) GetPayload

func (*CreateDropRuleOK) IsClientError

func (o *CreateDropRuleOK) IsClientError() bool

IsClientError returns true when this create drop rule o k response has a 4xx status code

func (*CreateDropRuleOK) IsCode

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

IsCode returns true when this create drop rule o k response a status code equal to that given

func (*CreateDropRuleOK) IsRedirect

func (o *CreateDropRuleOK) IsRedirect() bool

IsRedirect returns true when this create drop rule o k response has a 3xx status code

func (*CreateDropRuleOK) IsServerError

func (o *CreateDropRuleOK) IsServerError() bool

IsServerError returns true when this create drop rule o k response has a 5xx status code

func (*CreateDropRuleOK) IsSuccess

func (o *CreateDropRuleOK) IsSuccess() bool

IsSuccess returns true when this create drop rule o k response has a 2xx status code

func (*CreateDropRuleOK) String

func (o *CreateDropRuleOK) String() string

type CreateDropRuleParams

type CreateDropRuleParams struct {

	// Body.
	Body *models.Configv1CreateDropRuleRequest

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

CreateDropRuleParams contains all the parameters to send to the API endpoint

for the create drop rule operation.

Typically these are written to a http.Request.

func NewCreateDropRuleParams

func NewCreateDropRuleParams() *CreateDropRuleParams

NewCreateDropRuleParams creates a new CreateDropRuleParams 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 NewCreateDropRuleParamsWithContext

func NewCreateDropRuleParamsWithContext(ctx context.Context) *CreateDropRuleParams

NewCreateDropRuleParamsWithContext creates a new CreateDropRuleParams object with the ability to set a context for a request.

func NewCreateDropRuleParamsWithHTTPClient

func NewCreateDropRuleParamsWithHTTPClient(client *http.Client) *CreateDropRuleParams

NewCreateDropRuleParamsWithHTTPClient creates a new CreateDropRuleParams object with the ability to set a custom HTTPClient for a request.

func NewCreateDropRuleParamsWithTimeout

func NewCreateDropRuleParamsWithTimeout(timeout time.Duration) *CreateDropRuleParams

NewCreateDropRuleParamsWithTimeout creates a new CreateDropRuleParams object with the ability to set a timeout on a request.

func (*CreateDropRuleParams) SetBody

SetBody adds the body to the create drop rule params

func (*CreateDropRuleParams) SetContext

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

SetContext adds the context to the create drop rule params

func (*CreateDropRuleParams) SetDefaults

func (o *CreateDropRuleParams) SetDefaults()

SetDefaults hydrates default values in the create drop rule params (not the query body).

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

func (*CreateDropRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create drop rule params

func (*CreateDropRuleParams) SetTimeout

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

SetTimeout adds the timeout to the create drop rule params

func (*CreateDropRuleParams) WithBody

WithBody adds the body to the create drop rule params

func (*CreateDropRuleParams) WithContext

WithContext adds the context to the create drop rule params

func (*CreateDropRuleParams) WithDefaults

func (o *CreateDropRuleParams) WithDefaults() *CreateDropRuleParams

WithDefaults hydrates default values in the create drop rule params (not the query body).

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

func (*CreateDropRuleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create drop rule params

func (*CreateDropRuleParams) WithTimeout

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

WithTimeout adds the timeout to the create drop rule params

func (*CreateDropRuleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateDropRuleReader

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

CreateDropRuleReader is a Reader for the CreateDropRule structure.

func (*CreateDropRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateGrafanaDashboardBadRequest

type CreateGrafanaDashboardBadRequest struct {
	Payload *models.APIError
}

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

Cannot create the GrafanaDashboard because the request is invalid.

func NewCreateGrafanaDashboardBadRequest

func NewCreateGrafanaDashboardBadRequest() *CreateGrafanaDashboardBadRequest

NewCreateGrafanaDashboardBadRequest creates a CreateGrafanaDashboardBadRequest with default headers values

func (*CreateGrafanaDashboardBadRequest) Code

Code gets the status code for the create grafana dashboard bad request response

func (*CreateGrafanaDashboardBadRequest) Error

func (*CreateGrafanaDashboardBadRequest) GetPayload

func (*CreateGrafanaDashboardBadRequest) IsClientError

func (o *CreateGrafanaDashboardBadRequest) IsClientError() bool

IsClientError returns true when this create grafana dashboard bad request response has a 4xx status code

func (*CreateGrafanaDashboardBadRequest) IsCode

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

IsCode returns true when this create grafana dashboard bad request response a status code equal to that given

func (*CreateGrafanaDashboardBadRequest) IsRedirect

func (o *CreateGrafanaDashboardBadRequest) IsRedirect() bool

IsRedirect returns true when this create grafana dashboard bad request response has a 3xx status code

func (*CreateGrafanaDashboardBadRequest) IsServerError

func (o *CreateGrafanaDashboardBadRequest) IsServerError() bool

IsServerError returns true when this create grafana dashboard bad request response has a 5xx status code

func (*CreateGrafanaDashboardBadRequest) IsSuccess

func (o *CreateGrafanaDashboardBadRequest) IsSuccess() bool

IsSuccess returns true when this create grafana dashboard bad request response has a 2xx status code

func (*CreateGrafanaDashboardBadRequest) String

type CreateGrafanaDashboardConflict

type CreateGrafanaDashboardConflict struct {
	Payload *models.APIError
}

CreateGrafanaDashboardConflict describes a response with status code 409, with default header values.

Cannot create the GrafanaDashboard because there is a conflict with an existing GrafanaDashboard.

func NewCreateGrafanaDashboardConflict

func NewCreateGrafanaDashboardConflict() *CreateGrafanaDashboardConflict

NewCreateGrafanaDashboardConflict creates a CreateGrafanaDashboardConflict with default headers values

func (*CreateGrafanaDashboardConflict) Code

Code gets the status code for the create grafana dashboard conflict response

func (*CreateGrafanaDashboardConflict) Error

func (*CreateGrafanaDashboardConflict) GetPayload

func (*CreateGrafanaDashboardConflict) IsClientError

func (o *CreateGrafanaDashboardConflict) IsClientError() bool

IsClientError returns true when this create grafana dashboard conflict response has a 4xx status code

func (*CreateGrafanaDashboardConflict) IsCode

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

IsCode returns true when this create grafana dashboard conflict response a status code equal to that given

func (*CreateGrafanaDashboardConflict) IsRedirect

func (o *CreateGrafanaDashboardConflict) IsRedirect() bool

IsRedirect returns true when this create grafana dashboard conflict response has a 3xx status code

func (*CreateGrafanaDashboardConflict) IsServerError

func (o *CreateGrafanaDashboardConflict) IsServerError() bool

IsServerError returns true when this create grafana dashboard conflict response has a 5xx status code

func (*CreateGrafanaDashboardConflict) IsSuccess

func (o *CreateGrafanaDashboardConflict) IsSuccess() bool

IsSuccess returns true when this create grafana dashboard conflict response has a 2xx status code

func (*CreateGrafanaDashboardConflict) String

type CreateGrafanaDashboardDefault

type CreateGrafanaDashboardDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateGrafanaDashboardDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateGrafanaDashboardDefault

func NewCreateGrafanaDashboardDefault(code int) *CreateGrafanaDashboardDefault

NewCreateGrafanaDashboardDefault creates a CreateGrafanaDashboardDefault with default headers values

func (*CreateGrafanaDashboardDefault) Code

Code gets the status code for the create grafana dashboard default response

func (*CreateGrafanaDashboardDefault) Error

func (*CreateGrafanaDashboardDefault) GetPayload

func (*CreateGrafanaDashboardDefault) IsClientError

func (o *CreateGrafanaDashboardDefault) IsClientError() bool

IsClientError returns true when this create grafana dashboard default response has a 4xx status code

func (*CreateGrafanaDashboardDefault) IsCode

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

IsCode returns true when this create grafana dashboard default response a status code equal to that given

func (*CreateGrafanaDashboardDefault) IsRedirect

func (o *CreateGrafanaDashboardDefault) IsRedirect() bool

IsRedirect returns true when this create grafana dashboard default response has a 3xx status code

func (*CreateGrafanaDashboardDefault) IsServerError

func (o *CreateGrafanaDashboardDefault) IsServerError() bool

IsServerError returns true when this create grafana dashboard default response has a 5xx status code

func (*CreateGrafanaDashboardDefault) IsSuccess

func (o *CreateGrafanaDashboardDefault) IsSuccess() bool

IsSuccess returns true when this create grafana dashboard default response has a 2xx status code

func (*CreateGrafanaDashboardDefault) String

type CreateGrafanaDashboardInternalServerError

type CreateGrafanaDashboardInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewCreateGrafanaDashboardInternalServerError

func NewCreateGrafanaDashboardInternalServerError() *CreateGrafanaDashboardInternalServerError

NewCreateGrafanaDashboardInternalServerError creates a CreateGrafanaDashboardInternalServerError with default headers values

func (*CreateGrafanaDashboardInternalServerError) Code

Code gets the status code for the create grafana dashboard internal server error response

func (*CreateGrafanaDashboardInternalServerError) Error

func (*CreateGrafanaDashboardInternalServerError) GetPayload

func (*CreateGrafanaDashboardInternalServerError) IsClientError

IsClientError returns true when this create grafana dashboard internal server error response has a 4xx status code

func (*CreateGrafanaDashboardInternalServerError) IsCode

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

func (*CreateGrafanaDashboardInternalServerError) IsRedirect

IsRedirect returns true when this create grafana dashboard internal server error response has a 3xx status code

func (*CreateGrafanaDashboardInternalServerError) IsServerError

IsServerError returns true when this create grafana dashboard internal server error response has a 5xx status code

func (*CreateGrafanaDashboardInternalServerError) IsSuccess

IsSuccess returns true when this create grafana dashboard internal server error response has a 2xx status code

func (*CreateGrafanaDashboardInternalServerError) String

type CreateGrafanaDashboardOK

type CreateGrafanaDashboardOK struct {
	Payload *models.Configv1CreateGrafanaDashboardResponse
}

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

A successful response containing the created GrafanaDashboard.

func NewCreateGrafanaDashboardOK

func NewCreateGrafanaDashboardOK() *CreateGrafanaDashboardOK

NewCreateGrafanaDashboardOK creates a CreateGrafanaDashboardOK with default headers values

func (*CreateGrafanaDashboardOK) Code

func (o *CreateGrafanaDashboardOK) Code() int

Code gets the status code for the create grafana dashboard o k response

func (*CreateGrafanaDashboardOK) Error

func (o *CreateGrafanaDashboardOK) Error() string

func (*CreateGrafanaDashboardOK) GetPayload

func (*CreateGrafanaDashboardOK) IsClientError

func (o *CreateGrafanaDashboardOK) IsClientError() bool

IsClientError returns true when this create grafana dashboard o k response has a 4xx status code

func (*CreateGrafanaDashboardOK) IsCode

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

IsCode returns true when this create grafana dashboard o k response a status code equal to that given

func (*CreateGrafanaDashboardOK) IsRedirect

func (o *CreateGrafanaDashboardOK) IsRedirect() bool

IsRedirect returns true when this create grafana dashboard o k response has a 3xx status code

func (*CreateGrafanaDashboardOK) IsServerError

func (o *CreateGrafanaDashboardOK) IsServerError() bool

IsServerError returns true when this create grafana dashboard o k response has a 5xx status code

func (*CreateGrafanaDashboardOK) IsSuccess

func (o *CreateGrafanaDashboardOK) IsSuccess() bool

IsSuccess returns true when this create grafana dashboard o k response has a 2xx status code

func (*CreateGrafanaDashboardOK) String

func (o *CreateGrafanaDashboardOK) String() string

type CreateGrafanaDashboardParams

type CreateGrafanaDashboardParams struct {

	// Body.
	Body *models.Configv1CreateGrafanaDashboardRequest

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

CreateGrafanaDashboardParams contains all the parameters to send to the API endpoint

for the create grafana dashboard operation.

Typically these are written to a http.Request.

func NewCreateGrafanaDashboardParams

func NewCreateGrafanaDashboardParams() *CreateGrafanaDashboardParams

NewCreateGrafanaDashboardParams creates a new CreateGrafanaDashboardParams 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 NewCreateGrafanaDashboardParamsWithContext

func NewCreateGrafanaDashboardParamsWithContext(ctx context.Context) *CreateGrafanaDashboardParams

NewCreateGrafanaDashboardParamsWithContext creates a new CreateGrafanaDashboardParams object with the ability to set a context for a request.

func NewCreateGrafanaDashboardParamsWithHTTPClient

func NewCreateGrafanaDashboardParamsWithHTTPClient(client *http.Client) *CreateGrafanaDashboardParams

NewCreateGrafanaDashboardParamsWithHTTPClient creates a new CreateGrafanaDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewCreateGrafanaDashboardParamsWithTimeout

func NewCreateGrafanaDashboardParamsWithTimeout(timeout time.Duration) *CreateGrafanaDashboardParams

NewCreateGrafanaDashboardParamsWithTimeout creates a new CreateGrafanaDashboardParams object with the ability to set a timeout on a request.

func (*CreateGrafanaDashboardParams) SetBody

SetBody adds the body to the create grafana dashboard params

func (*CreateGrafanaDashboardParams) SetContext

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

SetContext adds the context to the create grafana dashboard params

func (*CreateGrafanaDashboardParams) SetDefaults

func (o *CreateGrafanaDashboardParams) SetDefaults()

SetDefaults hydrates default values in the create grafana dashboard params (not the query body).

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

func (*CreateGrafanaDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create grafana dashboard params

func (*CreateGrafanaDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the create grafana dashboard params

func (*CreateGrafanaDashboardParams) WithBody

WithBody adds the body to the create grafana dashboard params

func (*CreateGrafanaDashboardParams) WithContext

WithContext adds the context to the create grafana dashboard params

func (*CreateGrafanaDashboardParams) WithDefaults

WithDefaults hydrates default values in the create grafana dashboard params (not the query body).

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

func (*CreateGrafanaDashboardParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create grafana dashboard params

func (*CreateGrafanaDashboardParams) WithTimeout

WithTimeout adds the timeout to the create grafana dashboard params

func (*CreateGrafanaDashboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateGrafanaDashboardReader

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

CreateGrafanaDashboardReader is a Reader for the CreateGrafanaDashboard structure.

func (*CreateGrafanaDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateMappingRuleBadRequest

type CreateMappingRuleBadRequest struct {
	Payload *models.APIError
}

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

Cannot create the MappingRule because the request is invalid.

func NewCreateMappingRuleBadRequest

func NewCreateMappingRuleBadRequest() *CreateMappingRuleBadRequest

NewCreateMappingRuleBadRequest creates a CreateMappingRuleBadRequest with default headers values

func (*CreateMappingRuleBadRequest) Code

func (o *CreateMappingRuleBadRequest) Code() int

Code gets the status code for the create mapping rule bad request response

func (*CreateMappingRuleBadRequest) Error

func (*CreateMappingRuleBadRequest) GetPayload

func (o *CreateMappingRuleBadRequest) GetPayload() *models.APIError

func (*CreateMappingRuleBadRequest) IsClientError

func (o *CreateMappingRuleBadRequest) IsClientError() bool

IsClientError returns true when this create mapping rule bad request response has a 4xx status code

func (*CreateMappingRuleBadRequest) IsCode

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

IsCode returns true when this create mapping rule bad request response a status code equal to that given

func (*CreateMappingRuleBadRequest) IsRedirect

func (o *CreateMappingRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this create mapping rule bad request response has a 3xx status code

func (*CreateMappingRuleBadRequest) IsServerError

func (o *CreateMappingRuleBadRequest) IsServerError() bool

IsServerError returns true when this create mapping rule bad request response has a 5xx status code

func (*CreateMappingRuleBadRequest) IsSuccess

func (o *CreateMappingRuleBadRequest) IsSuccess() bool

IsSuccess returns true when this create mapping rule bad request response has a 2xx status code

func (*CreateMappingRuleBadRequest) String

func (o *CreateMappingRuleBadRequest) String() string

type CreateMappingRuleConflict

type CreateMappingRuleConflict struct {
	Payload *models.APIError
}

CreateMappingRuleConflict describes a response with status code 409, with default header values.

Cannot create the MappingRule because there is a conflict with an existing MappingRule.

func NewCreateMappingRuleConflict

func NewCreateMappingRuleConflict() *CreateMappingRuleConflict

NewCreateMappingRuleConflict creates a CreateMappingRuleConflict with default headers values

func (*CreateMappingRuleConflict) Code

func (o *CreateMappingRuleConflict) Code() int

Code gets the status code for the create mapping rule conflict response

func (*CreateMappingRuleConflict) Error

func (o *CreateMappingRuleConflict) Error() string

func (*CreateMappingRuleConflict) GetPayload

func (o *CreateMappingRuleConflict) GetPayload() *models.APIError

func (*CreateMappingRuleConflict) IsClientError

func (o *CreateMappingRuleConflict) IsClientError() bool

IsClientError returns true when this create mapping rule conflict response has a 4xx status code

func (*CreateMappingRuleConflict) IsCode

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

IsCode returns true when this create mapping rule conflict response a status code equal to that given

func (*CreateMappingRuleConflict) IsRedirect

func (o *CreateMappingRuleConflict) IsRedirect() bool

IsRedirect returns true when this create mapping rule conflict response has a 3xx status code

func (*CreateMappingRuleConflict) IsServerError

func (o *CreateMappingRuleConflict) IsServerError() bool

IsServerError returns true when this create mapping rule conflict response has a 5xx status code

func (*CreateMappingRuleConflict) IsSuccess

func (o *CreateMappingRuleConflict) IsSuccess() bool

IsSuccess returns true when this create mapping rule conflict response has a 2xx status code

func (*CreateMappingRuleConflict) String

func (o *CreateMappingRuleConflict) String() string

type CreateMappingRuleDefault

type CreateMappingRuleDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateMappingRuleDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateMappingRuleDefault

func NewCreateMappingRuleDefault(code int) *CreateMappingRuleDefault

NewCreateMappingRuleDefault creates a CreateMappingRuleDefault with default headers values

func (*CreateMappingRuleDefault) Code

func (o *CreateMappingRuleDefault) Code() int

Code gets the status code for the create mapping rule default response

func (*CreateMappingRuleDefault) Error

func (o *CreateMappingRuleDefault) Error() string

func (*CreateMappingRuleDefault) GetPayload

func (*CreateMappingRuleDefault) IsClientError

func (o *CreateMappingRuleDefault) IsClientError() bool

IsClientError returns true when this create mapping rule default response has a 4xx status code

func (*CreateMappingRuleDefault) IsCode

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

IsCode returns true when this create mapping rule default response a status code equal to that given

func (*CreateMappingRuleDefault) IsRedirect

func (o *CreateMappingRuleDefault) IsRedirect() bool

IsRedirect returns true when this create mapping rule default response has a 3xx status code

func (*CreateMappingRuleDefault) IsServerError

func (o *CreateMappingRuleDefault) IsServerError() bool

IsServerError returns true when this create mapping rule default response has a 5xx status code

func (*CreateMappingRuleDefault) IsSuccess

func (o *CreateMappingRuleDefault) IsSuccess() bool

IsSuccess returns true when this create mapping rule default response has a 2xx status code

func (*CreateMappingRuleDefault) String

func (o *CreateMappingRuleDefault) String() string

type CreateMappingRuleInternalServerError

type CreateMappingRuleInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewCreateMappingRuleInternalServerError

func NewCreateMappingRuleInternalServerError() *CreateMappingRuleInternalServerError

NewCreateMappingRuleInternalServerError creates a CreateMappingRuleInternalServerError with default headers values

func (*CreateMappingRuleInternalServerError) Code

Code gets the status code for the create mapping rule internal server error response

func (*CreateMappingRuleInternalServerError) Error

func (*CreateMappingRuleInternalServerError) GetPayload

func (*CreateMappingRuleInternalServerError) IsClientError

func (o *CreateMappingRuleInternalServerError) IsClientError() bool

IsClientError returns true when this create mapping rule internal server error response has a 4xx status code

func (*CreateMappingRuleInternalServerError) IsCode

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

func (*CreateMappingRuleInternalServerError) IsRedirect

IsRedirect returns true when this create mapping rule internal server error response has a 3xx status code

func (*CreateMappingRuleInternalServerError) IsServerError

func (o *CreateMappingRuleInternalServerError) IsServerError() bool

IsServerError returns true when this create mapping rule internal server error response has a 5xx status code

func (*CreateMappingRuleInternalServerError) IsSuccess

IsSuccess returns true when this create mapping rule internal server error response has a 2xx status code

func (*CreateMappingRuleInternalServerError) String

type CreateMappingRuleOK

type CreateMappingRuleOK struct {
	Payload *models.Configv1CreateMappingRuleResponse
}

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

A successful response containing the created MappingRule.

func NewCreateMappingRuleOK

func NewCreateMappingRuleOK() *CreateMappingRuleOK

NewCreateMappingRuleOK creates a CreateMappingRuleOK with default headers values

func (*CreateMappingRuleOK) Code

func (o *CreateMappingRuleOK) Code() int

Code gets the status code for the create mapping rule o k response

func (*CreateMappingRuleOK) Error

func (o *CreateMappingRuleOK) Error() string

func (*CreateMappingRuleOK) GetPayload

func (*CreateMappingRuleOK) IsClientError

func (o *CreateMappingRuleOK) IsClientError() bool

IsClientError returns true when this create mapping rule o k response has a 4xx status code

func (*CreateMappingRuleOK) IsCode

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

IsCode returns true when this create mapping rule o k response a status code equal to that given

func (*CreateMappingRuleOK) IsRedirect

func (o *CreateMappingRuleOK) IsRedirect() bool

IsRedirect returns true when this create mapping rule o k response has a 3xx status code

func (*CreateMappingRuleOK) IsServerError

func (o *CreateMappingRuleOK) IsServerError() bool

IsServerError returns true when this create mapping rule o k response has a 5xx status code

func (*CreateMappingRuleOK) IsSuccess

func (o *CreateMappingRuleOK) IsSuccess() bool

IsSuccess returns true when this create mapping rule o k response has a 2xx status code

func (*CreateMappingRuleOK) String

func (o *CreateMappingRuleOK) String() string

type CreateMappingRuleParams

type CreateMappingRuleParams struct {

	// Body.
	Body *models.Configv1CreateMappingRuleRequest

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

CreateMappingRuleParams contains all the parameters to send to the API endpoint

for the create mapping rule operation.

Typically these are written to a http.Request.

func NewCreateMappingRuleParams

func NewCreateMappingRuleParams() *CreateMappingRuleParams

NewCreateMappingRuleParams creates a new CreateMappingRuleParams 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 NewCreateMappingRuleParamsWithContext

func NewCreateMappingRuleParamsWithContext(ctx context.Context) *CreateMappingRuleParams

NewCreateMappingRuleParamsWithContext creates a new CreateMappingRuleParams object with the ability to set a context for a request.

func NewCreateMappingRuleParamsWithHTTPClient

func NewCreateMappingRuleParamsWithHTTPClient(client *http.Client) *CreateMappingRuleParams

NewCreateMappingRuleParamsWithHTTPClient creates a new CreateMappingRuleParams object with the ability to set a custom HTTPClient for a request.

func NewCreateMappingRuleParamsWithTimeout

func NewCreateMappingRuleParamsWithTimeout(timeout time.Duration) *CreateMappingRuleParams

NewCreateMappingRuleParamsWithTimeout creates a new CreateMappingRuleParams object with the ability to set a timeout on a request.

func (*CreateMappingRuleParams) SetBody

SetBody adds the body to the create mapping rule params

func (*CreateMappingRuleParams) SetContext

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

SetContext adds the context to the create mapping rule params

func (*CreateMappingRuleParams) SetDefaults

func (o *CreateMappingRuleParams) SetDefaults()

SetDefaults hydrates default values in the create mapping rule params (not the query body).

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

func (*CreateMappingRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create mapping rule params

func (*CreateMappingRuleParams) SetTimeout

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

SetTimeout adds the timeout to the create mapping rule params

func (*CreateMappingRuleParams) WithBody

WithBody adds the body to the create mapping rule params

func (*CreateMappingRuleParams) WithContext

WithContext adds the context to the create mapping rule params

func (*CreateMappingRuleParams) WithDefaults

WithDefaults hydrates default values in the create mapping rule params (not the query body).

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

func (*CreateMappingRuleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create mapping rule params

func (*CreateMappingRuleParams) WithTimeout

WithTimeout adds the timeout to the create mapping rule params

func (*CreateMappingRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateMappingRuleReader

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

CreateMappingRuleReader is a Reader for the CreateMappingRule structure.

func (*CreateMappingRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateMonitorBadRequest

type CreateMonitorBadRequest struct {
	Payload *models.APIError
}

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

Cannot create the Monitor because the request is invalid.

func NewCreateMonitorBadRequest

func NewCreateMonitorBadRequest() *CreateMonitorBadRequest

NewCreateMonitorBadRequest creates a CreateMonitorBadRequest with default headers values

func (*CreateMonitorBadRequest) Code

func (o *CreateMonitorBadRequest) Code() int

Code gets the status code for the create monitor bad request response

func (*CreateMonitorBadRequest) Error

func (o *CreateMonitorBadRequest) Error() string

func (*CreateMonitorBadRequest) GetPayload

func (o *CreateMonitorBadRequest) GetPayload() *models.APIError

func (*CreateMonitorBadRequest) IsClientError

func (o *CreateMonitorBadRequest) IsClientError() bool

IsClientError returns true when this create monitor bad request response has a 4xx status code

func (*CreateMonitorBadRequest) IsCode

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

IsCode returns true when this create monitor bad request response a status code equal to that given

func (*CreateMonitorBadRequest) IsRedirect

func (o *CreateMonitorBadRequest) IsRedirect() bool

IsRedirect returns true when this create monitor bad request response has a 3xx status code

func (*CreateMonitorBadRequest) IsServerError

func (o *CreateMonitorBadRequest) IsServerError() bool

IsServerError returns true when this create monitor bad request response has a 5xx status code

func (*CreateMonitorBadRequest) IsSuccess

func (o *CreateMonitorBadRequest) IsSuccess() bool

IsSuccess returns true when this create monitor bad request response has a 2xx status code

func (*CreateMonitorBadRequest) String

func (o *CreateMonitorBadRequest) String() string

type CreateMonitorConflict

type CreateMonitorConflict struct {
	Payload *models.APIError
}

CreateMonitorConflict describes a response with status code 409, with default header values.

Cannot create the Monitor because there is a conflict with an existing Monitor.

func NewCreateMonitorConflict

func NewCreateMonitorConflict() *CreateMonitorConflict

NewCreateMonitorConflict creates a CreateMonitorConflict with default headers values

func (*CreateMonitorConflict) Code

func (o *CreateMonitorConflict) Code() int

Code gets the status code for the create monitor conflict response

func (*CreateMonitorConflict) Error

func (o *CreateMonitorConflict) Error() string

func (*CreateMonitorConflict) GetPayload

func (o *CreateMonitorConflict) GetPayload() *models.APIError

func (*CreateMonitorConflict) IsClientError

func (o *CreateMonitorConflict) IsClientError() bool

IsClientError returns true when this create monitor conflict response has a 4xx status code

func (*CreateMonitorConflict) IsCode

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

IsCode returns true when this create monitor conflict response a status code equal to that given

func (*CreateMonitorConflict) IsRedirect

func (o *CreateMonitorConflict) IsRedirect() bool

IsRedirect returns true when this create monitor conflict response has a 3xx status code

func (*CreateMonitorConflict) IsServerError

func (o *CreateMonitorConflict) IsServerError() bool

IsServerError returns true when this create monitor conflict response has a 5xx status code

func (*CreateMonitorConflict) IsSuccess

func (o *CreateMonitorConflict) IsSuccess() bool

IsSuccess returns true when this create monitor conflict response has a 2xx status code

func (*CreateMonitorConflict) String

func (o *CreateMonitorConflict) String() string

type CreateMonitorDefault

type CreateMonitorDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateMonitorDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateMonitorDefault

func NewCreateMonitorDefault(code int) *CreateMonitorDefault

NewCreateMonitorDefault creates a CreateMonitorDefault with default headers values

func (*CreateMonitorDefault) Code

func (o *CreateMonitorDefault) Code() int

Code gets the status code for the create monitor default response

func (*CreateMonitorDefault) Error

func (o *CreateMonitorDefault) Error() string

func (*CreateMonitorDefault) GetPayload

func (o *CreateMonitorDefault) GetPayload() models.GenericError

func (*CreateMonitorDefault) IsClientError

func (o *CreateMonitorDefault) IsClientError() bool

IsClientError returns true when this create monitor default response has a 4xx status code

func (*CreateMonitorDefault) IsCode

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

IsCode returns true when this create monitor default response a status code equal to that given

func (*CreateMonitorDefault) IsRedirect

func (o *CreateMonitorDefault) IsRedirect() bool

IsRedirect returns true when this create monitor default response has a 3xx status code

func (*CreateMonitorDefault) IsServerError

func (o *CreateMonitorDefault) IsServerError() bool

IsServerError returns true when this create monitor default response has a 5xx status code

func (*CreateMonitorDefault) IsSuccess

func (o *CreateMonitorDefault) IsSuccess() bool

IsSuccess returns true when this create monitor default response has a 2xx status code

func (*CreateMonitorDefault) String

func (o *CreateMonitorDefault) String() string

type CreateMonitorInternalServerError

type CreateMonitorInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewCreateMonitorInternalServerError

func NewCreateMonitorInternalServerError() *CreateMonitorInternalServerError

NewCreateMonitorInternalServerError creates a CreateMonitorInternalServerError with default headers values

func (*CreateMonitorInternalServerError) Code

Code gets the status code for the create monitor internal server error response

func (*CreateMonitorInternalServerError) Error

func (*CreateMonitorInternalServerError) GetPayload

func (*CreateMonitorInternalServerError) IsClientError

func (o *CreateMonitorInternalServerError) IsClientError() bool

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

func (*CreateMonitorInternalServerError) IsCode

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

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

func (*CreateMonitorInternalServerError) IsRedirect

func (o *CreateMonitorInternalServerError) IsRedirect() bool

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

func (*CreateMonitorInternalServerError) IsServerError

func (o *CreateMonitorInternalServerError) IsServerError() bool

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

func (*CreateMonitorInternalServerError) IsSuccess

func (o *CreateMonitorInternalServerError) IsSuccess() bool

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

func (*CreateMonitorInternalServerError) String

type CreateMonitorOK

type CreateMonitorOK struct {
	Payload *models.Configv1CreateMonitorResponse
}

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

A successful response containing the created Monitor.

func NewCreateMonitorOK

func NewCreateMonitorOK() *CreateMonitorOK

NewCreateMonitorOK creates a CreateMonitorOK with default headers values

func (*CreateMonitorOK) Code

func (o *CreateMonitorOK) Code() int

Code gets the status code for the create monitor o k response

func (*CreateMonitorOK) Error

func (o *CreateMonitorOK) Error() string

func (*CreateMonitorOK) GetPayload

func (*CreateMonitorOK) IsClientError

func (o *CreateMonitorOK) IsClientError() bool

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

func (*CreateMonitorOK) IsCode

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

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

func (*CreateMonitorOK) IsRedirect

func (o *CreateMonitorOK) IsRedirect() bool

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

func (*CreateMonitorOK) IsServerError

func (o *CreateMonitorOK) IsServerError() bool

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

func (*CreateMonitorOK) IsSuccess

func (o *CreateMonitorOK) IsSuccess() bool

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

func (*CreateMonitorOK) String

func (o *CreateMonitorOK) String() string

type CreateMonitorParams

type CreateMonitorParams struct {

	// Body.
	Body *models.Configv1CreateMonitorRequest

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

CreateMonitorParams contains all the parameters to send to the API endpoint

for the create monitor operation.

Typically these are written to a http.Request.

func NewCreateMonitorParams

func NewCreateMonitorParams() *CreateMonitorParams

NewCreateMonitorParams creates a new CreateMonitorParams 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 NewCreateMonitorParamsWithContext

func NewCreateMonitorParamsWithContext(ctx context.Context) *CreateMonitorParams

NewCreateMonitorParamsWithContext creates a new CreateMonitorParams object with the ability to set a context for a request.

func NewCreateMonitorParamsWithHTTPClient

func NewCreateMonitorParamsWithHTTPClient(client *http.Client) *CreateMonitorParams

NewCreateMonitorParamsWithHTTPClient creates a new CreateMonitorParams object with the ability to set a custom HTTPClient for a request.

func NewCreateMonitorParamsWithTimeout

func NewCreateMonitorParamsWithTimeout(timeout time.Duration) *CreateMonitorParams

NewCreateMonitorParamsWithTimeout creates a new CreateMonitorParams object with the ability to set a timeout on a request.

func (*CreateMonitorParams) SetBody

SetBody adds the body to the create monitor params

func (*CreateMonitorParams) SetContext

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

SetContext adds the context to the create monitor params

func (*CreateMonitorParams) SetDefaults

func (o *CreateMonitorParams) SetDefaults()

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

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

func (*CreateMonitorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create monitor params

func (*CreateMonitorParams) SetTimeout

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

SetTimeout adds the timeout to the create monitor params

func (*CreateMonitorParams) WithBody

WithBody adds the body to the create monitor params

func (*CreateMonitorParams) WithContext

WithContext adds the context to the create monitor params

func (*CreateMonitorParams) WithDefaults

func (o *CreateMonitorParams) WithDefaults() *CreateMonitorParams

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

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

func (*CreateMonitorParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create monitor params

func (*CreateMonitorParams) WithTimeout

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

WithTimeout adds the timeout to the create monitor params

func (*CreateMonitorParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateMonitorReader

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

CreateMonitorReader is a Reader for the CreateMonitor structure.

func (*CreateMonitorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateMutingRuleBadRequest

type CreateMutingRuleBadRequest struct {
	Payload *models.APIError
}

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

Cannot create the MutingRule because the request is invalid.

func NewCreateMutingRuleBadRequest

func NewCreateMutingRuleBadRequest() *CreateMutingRuleBadRequest

NewCreateMutingRuleBadRequest creates a CreateMutingRuleBadRequest with default headers values

func (*CreateMutingRuleBadRequest) Code

func (o *CreateMutingRuleBadRequest) Code() int

Code gets the status code for the create muting rule bad request response

func (*CreateMutingRuleBadRequest) Error

func (*CreateMutingRuleBadRequest) GetPayload

func (o *CreateMutingRuleBadRequest) GetPayload() *models.APIError

func (*CreateMutingRuleBadRequest) IsClientError

func (o *CreateMutingRuleBadRequest) IsClientError() bool

IsClientError returns true when this create muting rule bad request response has a 4xx status code

func (*CreateMutingRuleBadRequest) IsCode

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

IsCode returns true when this create muting rule bad request response a status code equal to that given

func (*CreateMutingRuleBadRequest) IsRedirect

func (o *CreateMutingRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this create muting rule bad request response has a 3xx status code

func (*CreateMutingRuleBadRequest) IsServerError

func (o *CreateMutingRuleBadRequest) IsServerError() bool

IsServerError returns true when this create muting rule bad request response has a 5xx status code

func (*CreateMutingRuleBadRequest) IsSuccess

func (o *CreateMutingRuleBadRequest) IsSuccess() bool

IsSuccess returns true when this create muting rule bad request response has a 2xx status code

func (*CreateMutingRuleBadRequest) String

func (o *CreateMutingRuleBadRequest) String() string

type CreateMutingRuleConflict

type CreateMutingRuleConflict struct {
	Payload *models.APIError
}

CreateMutingRuleConflict describes a response with status code 409, with default header values.

Cannot create the MutingRule because there is a conflict with an existing MutingRule.

func NewCreateMutingRuleConflict

func NewCreateMutingRuleConflict() *CreateMutingRuleConflict

NewCreateMutingRuleConflict creates a CreateMutingRuleConflict with default headers values

func (*CreateMutingRuleConflict) Code

func (o *CreateMutingRuleConflict) Code() int

Code gets the status code for the create muting rule conflict response

func (*CreateMutingRuleConflict) Error

func (o *CreateMutingRuleConflict) Error() string

func (*CreateMutingRuleConflict) GetPayload

func (o *CreateMutingRuleConflict) GetPayload() *models.APIError

func (*CreateMutingRuleConflict) IsClientError

func (o *CreateMutingRuleConflict) IsClientError() bool

IsClientError returns true when this create muting rule conflict response has a 4xx status code

func (*CreateMutingRuleConflict) IsCode

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

IsCode returns true when this create muting rule conflict response a status code equal to that given

func (*CreateMutingRuleConflict) IsRedirect

func (o *CreateMutingRuleConflict) IsRedirect() bool

IsRedirect returns true when this create muting rule conflict response has a 3xx status code

func (*CreateMutingRuleConflict) IsServerError

func (o *CreateMutingRuleConflict) IsServerError() bool

IsServerError returns true when this create muting rule conflict response has a 5xx status code

func (*CreateMutingRuleConflict) IsSuccess

func (o *CreateMutingRuleConflict) IsSuccess() bool

IsSuccess returns true when this create muting rule conflict response has a 2xx status code

func (*CreateMutingRuleConflict) String

func (o *CreateMutingRuleConflict) String() string

type CreateMutingRuleDefault

type CreateMutingRuleDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateMutingRuleDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateMutingRuleDefault

func NewCreateMutingRuleDefault(code int) *CreateMutingRuleDefault

NewCreateMutingRuleDefault creates a CreateMutingRuleDefault with default headers values

func (*CreateMutingRuleDefault) Code

func (o *CreateMutingRuleDefault) Code() int

Code gets the status code for the create muting rule default response

func (*CreateMutingRuleDefault) Error

func (o *CreateMutingRuleDefault) Error() string

func (*CreateMutingRuleDefault) GetPayload

func (*CreateMutingRuleDefault) IsClientError

func (o *CreateMutingRuleDefault) IsClientError() bool

IsClientError returns true when this create muting rule default response has a 4xx status code

func (*CreateMutingRuleDefault) IsCode

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

IsCode returns true when this create muting rule default response a status code equal to that given

func (*CreateMutingRuleDefault) IsRedirect

func (o *CreateMutingRuleDefault) IsRedirect() bool

IsRedirect returns true when this create muting rule default response has a 3xx status code

func (*CreateMutingRuleDefault) IsServerError

func (o *CreateMutingRuleDefault) IsServerError() bool

IsServerError returns true when this create muting rule default response has a 5xx status code

func (*CreateMutingRuleDefault) IsSuccess

func (o *CreateMutingRuleDefault) IsSuccess() bool

IsSuccess returns true when this create muting rule default response has a 2xx status code

func (*CreateMutingRuleDefault) String

func (o *CreateMutingRuleDefault) String() string

type CreateMutingRuleInternalServerError

type CreateMutingRuleInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewCreateMutingRuleInternalServerError

func NewCreateMutingRuleInternalServerError() *CreateMutingRuleInternalServerError

NewCreateMutingRuleInternalServerError creates a CreateMutingRuleInternalServerError with default headers values

func (*CreateMutingRuleInternalServerError) Code

Code gets the status code for the create muting rule internal server error response

func (*CreateMutingRuleInternalServerError) Error

func (*CreateMutingRuleInternalServerError) GetPayload

func (*CreateMutingRuleInternalServerError) IsClientError

func (o *CreateMutingRuleInternalServerError) IsClientError() bool

IsClientError returns true when this create muting rule internal server error response has a 4xx status code

func (*CreateMutingRuleInternalServerError) IsCode

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

func (*CreateMutingRuleInternalServerError) IsRedirect

func (o *CreateMutingRuleInternalServerError) IsRedirect() bool

IsRedirect returns true when this create muting rule internal server error response has a 3xx status code

func (*CreateMutingRuleInternalServerError) IsServerError

func (o *CreateMutingRuleInternalServerError) IsServerError() bool

IsServerError returns true when this create muting rule internal server error response has a 5xx status code

func (*CreateMutingRuleInternalServerError) IsSuccess

IsSuccess returns true when this create muting rule internal server error response has a 2xx status code

func (*CreateMutingRuleInternalServerError) String

type CreateMutingRuleOK

type CreateMutingRuleOK struct {
	Payload *models.Configv1CreateMutingRuleResponse
}

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

A successful response containing the created MutingRule.

func NewCreateMutingRuleOK

func NewCreateMutingRuleOK() *CreateMutingRuleOK

NewCreateMutingRuleOK creates a CreateMutingRuleOK with default headers values

func (*CreateMutingRuleOK) Code

func (o *CreateMutingRuleOK) Code() int

Code gets the status code for the create muting rule o k response

func (*CreateMutingRuleOK) Error

func (o *CreateMutingRuleOK) Error() string

func (*CreateMutingRuleOK) GetPayload

func (*CreateMutingRuleOK) IsClientError

func (o *CreateMutingRuleOK) IsClientError() bool

IsClientError returns true when this create muting rule o k response has a 4xx status code

func (*CreateMutingRuleOK) IsCode

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

IsCode returns true when this create muting rule o k response a status code equal to that given

func (*CreateMutingRuleOK) IsRedirect

func (o *CreateMutingRuleOK) IsRedirect() bool

IsRedirect returns true when this create muting rule o k response has a 3xx status code

func (*CreateMutingRuleOK) IsServerError

func (o *CreateMutingRuleOK) IsServerError() bool

IsServerError returns true when this create muting rule o k response has a 5xx status code

func (*CreateMutingRuleOK) IsSuccess

func (o *CreateMutingRuleOK) IsSuccess() bool

IsSuccess returns true when this create muting rule o k response has a 2xx status code

func (*CreateMutingRuleOK) String

func (o *CreateMutingRuleOK) String() string

type CreateMutingRuleParams

type CreateMutingRuleParams struct {

	// Body.
	Body *models.Configv1CreateMutingRuleRequest

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

CreateMutingRuleParams contains all the parameters to send to the API endpoint

for the create muting rule operation.

Typically these are written to a http.Request.

func NewCreateMutingRuleParams

func NewCreateMutingRuleParams() *CreateMutingRuleParams

NewCreateMutingRuleParams creates a new CreateMutingRuleParams 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 NewCreateMutingRuleParamsWithContext

func NewCreateMutingRuleParamsWithContext(ctx context.Context) *CreateMutingRuleParams

NewCreateMutingRuleParamsWithContext creates a new CreateMutingRuleParams object with the ability to set a context for a request.

func NewCreateMutingRuleParamsWithHTTPClient

func NewCreateMutingRuleParamsWithHTTPClient(client *http.Client) *CreateMutingRuleParams

NewCreateMutingRuleParamsWithHTTPClient creates a new CreateMutingRuleParams object with the ability to set a custom HTTPClient for a request.

func NewCreateMutingRuleParamsWithTimeout

func NewCreateMutingRuleParamsWithTimeout(timeout time.Duration) *CreateMutingRuleParams

NewCreateMutingRuleParamsWithTimeout creates a new CreateMutingRuleParams object with the ability to set a timeout on a request.

func (*CreateMutingRuleParams) SetBody

SetBody adds the body to the create muting rule params

func (*CreateMutingRuleParams) SetContext

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

SetContext adds the context to the create muting rule params

func (*CreateMutingRuleParams) SetDefaults

func (o *CreateMutingRuleParams) SetDefaults()

SetDefaults hydrates default values in the create muting rule params (not the query body).

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

func (*CreateMutingRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create muting rule params

func (*CreateMutingRuleParams) SetTimeout

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

SetTimeout adds the timeout to the create muting rule params

func (*CreateMutingRuleParams) WithBody

WithBody adds the body to the create muting rule params

func (*CreateMutingRuleParams) WithContext

WithContext adds the context to the create muting rule params

func (*CreateMutingRuleParams) WithDefaults

WithDefaults hydrates default values in the create muting rule params (not the query body).

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

func (*CreateMutingRuleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create muting rule params

func (*CreateMutingRuleParams) WithTimeout

WithTimeout adds the timeout to the create muting rule params

func (*CreateMutingRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateMutingRuleReader

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

CreateMutingRuleReader is a Reader for the CreateMutingRule structure.

func (*CreateMutingRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateNotificationPolicyBadRequest

type CreateNotificationPolicyBadRequest struct {
	Payload *models.APIError
}

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

Cannot create the NotificationPolicy because the request is invalid.

func NewCreateNotificationPolicyBadRequest

func NewCreateNotificationPolicyBadRequest() *CreateNotificationPolicyBadRequest

NewCreateNotificationPolicyBadRequest creates a CreateNotificationPolicyBadRequest with default headers values

func (*CreateNotificationPolicyBadRequest) Code

Code gets the status code for the create notification policy bad request response

func (*CreateNotificationPolicyBadRequest) Error

func (*CreateNotificationPolicyBadRequest) GetPayload

func (*CreateNotificationPolicyBadRequest) IsClientError

func (o *CreateNotificationPolicyBadRequest) IsClientError() bool

IsClientError returns true when this create notification policy bad request response has a 4xx status code

func (*CreateNotificationPolicyBadRequest) IsCode

IsCode returns true when this create notification policy bad request response a status code equal to that given

func (*CreateNotificationPolicyBadRequest) IsRedirect

func (o *CreateNotificationPolicyBadRequest) IsRedirect() bool

IsRedirect returns true when this create notification policy bad request response has a 3xx status code

func (*CreateNotificationPolicyBadRequest) IsServerError

func (o *CreateNotificationPolicyBadRequest) IsServerError() bool

IsServerError returns true when this create notification policy bad request response has a 5xx status code

func (*CreateNotificationPolicyBadRequest) IsSuccess

IsSuccess returns true when this create notification policy bad request response has a 2xx status code

func (*CreateNotificationPolicyBadRequest) String

type CreateNotificationPolicyConflict

type CreateNotificationPolicyConflict struct {
	Payload *models.APIError
}

CreateNotificationPolicyConflict describes a response with status code 409, with default header values.

Cannot create the NotificationPolicy because there is a conflict with an existing NotificationPolicy.

func NewCreateNotificationPolicyConflict

func NewCreateNotificationPolicyConflict() *CreateNotificationPolicyConflict

NewCreateNotificationPolicyConflict creates a CreateNotificationPolicyConflict with default headers values

func (*CreateNotificationPolicyConflict) Code

Code gets the status code for the create notification policy conflict response

func (*CreateNotificationPolicyConflict) Error

func (*CreateNotificationPolicyConflict) GetPayload

func (*CreateNotificationPolicyConflict) IsClientError

func (o *CreateNotificationPolicyConflict) IsClientError() bool

IsClientError returns true when this create notification policy conflict response has a 4xx status code

func (*CreateNotificationPolicyConflict) IsCode

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

IsCode returns true when this create notification policy conflict response a status code equal to that given

func (*CreateNotificationPolicyConflict) IsRedirect

func (o *CreateNotificationPolicyConflict) IsRedirect() bool

IsRedirect returns true when this create notification policy conflict response has a 3xx status code

func (*CreateNotificationPolicyConflict) IsServerError

func (o *CreateNotificationPolicyConflict) IsServerError() bool

IsServerError returns true when this create notification policy conflict response has a 5xx status code

func (*CreateNotificationPolicyConflict) IsSuccess

func (o *CreateNotificationPolicyConflict) IsSuccess() bool

IsSuccess returns true when this create notification policy conflict response has a 2xx status code

func (*CreateNotificationPolicyConflict) String

type CreateNotificationPolicyDefault

type CreateNotificationPolicyDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateNotificationPolicyDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateNotificationPolicyDefault

func NewCreateNotificationPolicyDefault(code int) *CreateNotificationPolicyDefault

NewCreateNotificationPolicyDefault creates a CreateNotificationPolicyDefault with default headers values

func (*CreateNotificationPolicyDefault) Code

Code gets the status code for the create notification policy default response

func (*CreateNotificationPolicyDefault) Error

func (*CreateNotificationPolicyDefault) GetPayload

func (*CreateNotificationPolicyDefault) IsClientError

func (o *CreateNotificationPolicyDefault) IsClientError() bool

IsClientError returns true when this create notification policy default response has a 4xx status code

func (*CreateNotificationPolicyDefault) IsCode

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

IsCode returns true when this create notification policy default response a status code equal to that given

func (*CreateNotificationPolicyDefault) IsRedirect

func (o *CreateNotificationPolicyDefault) IsRedirect() bool

IsRedirect returns true when this create notification policy default response has a 3xx status code

func (*CreateNotificationPolicyDefault) IsServerError

func (o *CreateNotificationPolicyDefault) IsServerError() bool

IsServerError returns true when this create notification policy default response has a 5xx status code

func (*CreateNotificationPolicyDefault) IsSuccess

func (o *CreateNotificationPolicyDefault) IsSuccess() bool

IsSuccess returns true when this create notification policy default response has a 2xx status code

func (*CreateNotificationPolicyDefault) String

type CreateNotificationPolicyInternalServerError

type CreateNotificationPolicyInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewCreateNotificationPolicyInternalServerError

func NewCreateNotificationPolicyInternalServerError() *CreateNotificationPolicyInternalServerError

NewCreateNotificationPolicyInternalServerError creates a CreateNotificationPolicyInternalServerError with default headers values

func (*CreateNotificationPolicyInternalServerError) Code

Code gets the status code for the create notification policy internal server error response

func (*CreateNotificationPolicyInternalServerError) Error

func (*CreateNotificationPolicyInternalServerError) GetPayload

func (*CreateNotificationPolicyInternalServerError) IsClientError

IsClientError returns true when this create notification policy internal server error response has a 4xx status code

func (*CreateNotificationPolicyInternalServerError) IsCode

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

func (*CreateNotificationPolicyInternalServerError) IsRedirect

IsRedirect returns true when this create notification policy internal server error response has a 3xx status code

func (*CreateNotificationPolicyInternalServerError) IsServerError

IsServerError returns true when this create notification policy internal server error response has a 5xx status code

func (*CreateNotificationPolicyInternalServerError) IsSuccess

IsSuccess returns true when this create notification policy internal server error response has a 2xx status code

func (*CreateNotificationPolicyInternalServerError) String

type CreateNotificationPolicyOK

type CreateNotificationPolicyOK struct {
	Payload *models.Configv1CreateNotificationPolicyResponse
}

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

A successful response containing the created NotificationPolicy.

func NewCreateNotificationPolicyOK

func NewCreateNotificationPolicyOK() *CreateNotificationPolicyOK

NewCreateNotificationPolicyOK creates a CreateNotificationPolicyOK with default headers values

func (*CreateNotificationPolicyOK) Code

func (o *CreateNotificationPolicyOK) Code() int

Code gets the status code for the create notification policy o k response

func (*CreateNotificationPolicyOK) Error

func (*CreateNotificationPolicyOK) GetPayload

func (*CreateNotificationPolicyOK) IsClientError

func (o *CreateNotificationPolicyOK) IsClientError() bool

IsClientError returns true when this create notification policy o k response has a 4xx status code

func (*CreateNotificationPolicyOK) IsCode

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

IsCode returns true when this create notification policy o k response a status code equal to that given

func (*CreateNotificationPolicyOK) IsRedirect

func (o *CreateNotificationPolicyOK) IsRedirect() bool

IsRedirect returns true when this create notification policy o k response has a 3xx status code

func (*CreateNotificationPolicyOK) IsServerError

func (o *CreateNotificationPolicyOK) IsServerError() bool

IsServerError returns true when this create notification policy o k response has a 5xx status code

func (*CreateNotificationPolicyOK) IsSuccess

func (o *CreateNotificationPolicyOK) IsSuccess() bool

IsSuccess returns true when this create notification policy o k response has a 2xx status code

func (*CreateNotificationPolicyOK) String

func (o *CreateNotificationPolicyOK) String() string

type CreateNotificationPolicyParams

type CreateNotificationPolicyParams struct {

	// Body.
	Body *models.Configv1CreateNotificationPolicyRequest

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

CreateNotificationPolicyParams contains all the parameters to send to the API endpoint

for the create notification policy operation.

Typically these are written to a http.Request.

func NewCreateNotificationPolicyParams

func NewCreateNotificationPolicyParams() *CreateNotificationPolicyParams

NewCreateNotificationPolicyParams creates a new CreateNotificationPolicyParams 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 NewCreateNotificationPolicyParamsWithContext

func NewCreateNotificationPolicyParamsWithContext(ctx context.Context) *CreateNotificationPolicyParams

NewCreateNotificationPolicyParamsWithContext creates a new CreateNotificationPolicyParams object with the ability to set a context for a request.

func NewCreateNotificationPolicyParamsWithHTTPClient

func NewCreateNotificationPolicyParamsWithHTTPClient(client *http.Client) *CreateNotificationPolicyParams

NewCreateNotificationPolicyParamsWithHTTPClient creates a new CreateNotificationPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNotificationPolicyParamsWithTimeout

func NewCreateNotificationPolicyParamsWithTimeout(timeout time.Duration) *CreateNotificationPolicyParams

NewCreateNotificationPolicyParamsWithTimeout creates a new CreateNotificationPolicyParams object with the ability to set a timeout on a request.

func (*CreateNotificationPolicyParams) SetBody

SetBody adds the body to the create notification policy params

func (*CreateNotificationPolicyParams) SetContext

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

SetContext adds the context to the create notification policy params

func (*CreateNotificationPolicyParams) SetDefaults

func (o *CreateNotificationPolicyParams) SetDefaults()

SetDefaults hydrates default values in the create notification policy params (not the query body).

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

func (*CreateNotificationPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create notification policy params

func (*CreateNotificationPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the create notification policy params

func (*CreateNotificationPolicyParams) WithBody

WithBody adds the body to the create notification policy params

func (*CreateNotificationPolicyParams) WithContext

WithContext adds the context to the create notification policy params

func (*CreateNotificationPolicyParams) WithDefaults

WithDefaults hydrates default values in the create notification policy params (not the query body).

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

func (*CreateNotificationPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create notification policy params

func (*CreateNotificationPolicyParams) WithTimeout

WithTimeout adds the timeout to the create notification policy params

func (*CreateNotificationPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNotificationPolicyReader

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

CreateNotificationPolicyReader is a Reader for the CreateNotificationPolicy structure.

func (*CreateNotificationPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateNotifierBadRequest

type CreateNotifierBadRequest struct {
	Payload *models.APIError
}

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

Cannot create the Notifier because the request is invalid.

func NewCreateNotifierBadRequest

func NewCreateNotifierBadRequest() *CreateNotifierBadRequest

NewCreateNotifierBadRequest creates a CreateNotifierBadRequest with default headers values

func (*CreateNotifierBadRequest) Code

func (o *CreateNotifierBadRequest) Code() int

Code gets the status code for the create notifier bad request response

func (*CreateNotifierBadRequest) Error

func (o *CreateNotifierBadRequest) Error() string

func (*CreateNotifierBadRequest) GetPayload

func (o *CreateNotifierBadRequest) GetPayload() *models.APIError

func (*CreateNotifierBadRequest) IsClientError

func (o *CreateNotifierBadRequest) IsClientError() bool

IsClientError returns true when this create notifier bad request response has a 4xx status code

func (*CreateNotifierBadRequest) IsCode

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

IsCode returns true when this create notifier bad request response a status code equal to that given

func (*CreateNotifierBadRequest) IsRedirect

func (o *CreateNotifierBadRequest) IsRedirect() bool

IsRedirect returns true when this create notifier bad request response has a 3xx status code

func (*CreateNotifierBadRequest) IsServerError

func (o *CreateNotifierBadRequest) IsServerError() bool

IsServerError returns true when this create notifier bad request response has a 5xx status code

func (*CreateNotifierBadRequest) IsSuccess

func (o *CreateNotifierBadRequest) IsSuccess() bool

IsSuccess returns true when this create notifier bad request response has a 2xx status code

func (*CreateNotifierBadRequest) String

func (o *CreateNotifierBadRequest) String() string

type CreateNotifierConflict

type CreateNotifierConflict struct {
	Payload *models.APIError
}

CreateNotifierConflict describes a response with status code 409, with default header values.

Cannot create the Notifier because there is a conflict with an existing Notifier.

func NewCreateNotifierConflict

func NewCreateNotifierConflict() *CreateNotifierConflict

NewCreateNotifierConflict creates a CreateNotifierConflict with default headers values

func (*CreateNotifierConflict) Code

func (o *CreateNotifierConflict) Code() int

Code gets the status code for the create notifier conflict response

func (*CreateNotifierConflict) Error

func (o *CreateNotifierConflict) Error() string

func (*CreateNotifierConflict) GetPayload

func (o *CreateNotifierConflict) GetPayload() *models.APIError

func (*CreateNotifierConflict) IsClientError

func (o *CreateNotifierConflict) IsClientError() bool

IsClientError returns true when this create notifier conflict response has a 4xx status code

func (*CreateNotifierConflict) IsCode

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

IsCode returns true when this create notifier conflict response a status code equal to that given

func (*CreateNotifierConflict) IsRedirect

func (o *CreateNotifierConflict) IsRedirect() bool

IsRedirect returns true when this create notifier conflict response has a 3xx status code

func (*CreateNotifierConflict) IsServerError

func (o *CreateNotifierConflict) IsServerError() bool

IsServerError returns true when this create notifier conflict response has a 5xx status code

func (*CreateNotifierConflict) IsSuccess

func (o *CreateNotifierConflict) IsSuccess() bool

IsSuccess returns true when this create notifier conflict response has a 2xx status code

func (*CreateNotifierConflict) String

func (o *CreateNotifierConflict) String() string

type CreateNotifierDefault

type CreateNotifierDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateNotifierDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateNotifierDefault

func NewCreateNotifierDefault(code int) *CreateNotifierDefault

NewCreateNotifierDefault creates a CreateNotifierDefault with default headers values

func (*CreateNotifierDefault) Code

func (o *CreateNotifierDefault) Code() int

Code gets the status code for the create notifier default response

func (*CreateNotifierDefault) Error

func (o *CreateNotifierDefault) Error() string

func (*CreateNotifierDefault) GetPayload

func (o *CreateNotifierDefault) GetPayload() models.GenericError

func (*CreateNotifierDefault) IsClientError

func (o *CreateNotifierDefault) IsClientError() bool

IsClientError returns true when this create notifier default response has a 4xx status code

func (*CreateNotifierDefault) IsCode

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

IsCode returns true when this create notifier default response a status code equal to that given

func (*CreateNotifierDefault) IsRedirect

func (o *CreateNotifierDefault) IsRedirect() bool

IsRedirect returns true when this create notifier default response has a 3xx status code

func (*CreateNotifierDefault) IsServerError

func (o *CreateNotifierDefault) IsServerError() bool

IsServerError returns true when this create notifier default response has a 5xx status code

func (*CreateNotifierDefault) IsSuccess

func (o *CreateNotifierDefault) IsSuccess() bool

IsSuccess returns true when this create notifier default response has a 2xx status code

func (*CreateNotifierDefault) String

func (o *CreateNotifierDefault) String() string

type CreateNotifierInternalServerError

type CreateNotifierInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewCreateNotifierInternalServerError

func NewCreateNotifierInternalServerError() *CreateNotifierInternalServerError

NewCreateNotifierInternalServerError creates a CreateNotifierInternalServerError with default headers values

func (*CreateNotifierInternalServerError) Code

Code gets the status code for the create notifier internal server error response

func (*CreateNotifierInternalServerError) Error

func (*CreateNotifierInternalServerError) GetPayload

func (*CreateNotifierInternalServerError) IsClientError

func (o *CreateNotifierInternalServerError) IsClientError() bool

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

func (*CreateNotifierInternalServerError) IsCode

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

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

func (*CreateNotifierInternalServerError) IsRedirect

func (o *CreateNotifierInternalServerError) IsRedirect() bool

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

func (*CreateNotifierInternalServerError) IsServerError

func (o *CreateNotifierInternalServerError) IsServerError() bool

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

func (*CreateNotifierInternalServerError) IsSuccess

func (o *CreateNotifierInternalServerError) IsSuccess() bool

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

func (*CreateNotifierInternalServerError) String

type CreateNotifierOK

type CreateNotifierOK struct {
	Payload *models.Configv1CreateNotifierResponse
}

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

A successful response containing the created Notifier.

func NewCreateNotifierOK

func NewCreateNotifierOK() *CreateNotifierOK

NewCreateNotifierOK creates a CreateNotifierOK with default headers values

func (*CreateNotifierOK) Code

func (o *CreateNotifierOK) Code() int

Code gets the status code for the create notifier o k response

func (*CreateNotifierOK) Error

func (o *CreateNotifierOK) Error() string

func (*CreateNotifierOK) GetPayload

func (*CreateNotifierOK) IsClientError

func (o *CreateNotifierOK) IsClientError() bool

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

func (*CreateNotifierOK) IsCode

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

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

func (*CreateNotifierOK) IsRedirect

func (o *CreateNotifierOK) IsRedirect() bool

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

func (*CreateNotifierOK) IsServerError

func (o *CreateNotifierOK) IsServerError() bool

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

func (*CreateNotifierOK) IsSuccess

func (o *CreateNotifierOK) IsSuccess() bool

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

func (*CreateNotifierOK) String

func (o *CreateNotifierOK) String() string

type CreateNotifierParams

type CreateNotifierParams struct {

	// Body.
	Body *models.Configv1CreateNotifierRequest

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

CreateNotifierParams contains all the parameters to send to the API endpoint

for the create notifier operation.

Typically these are written to a http.Request.

func NewCreateNotifierParams

func NewCreateNotifierParams() *CreateNotifierParams

NewCreateNotifierParams creates a new CreateNotifierParams 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 NewCreateNotifierParamsWithContext

func NewCreateNotifierParamsWithContext(ctx context.Context) *CreateNotifierParams

NewCreateNotifierParamsWithContext creates a new CreateNotifierParams object with the ability to set a context for a request.

func NewCreateNotifierParamsWithHTTPClient

func NewCreateNotifierParamsWithHTTPClient(client *http.Client) *CreateNotifierParams

NewCreateNotifierParamsWithHTTPClient creates a new CreateNotifierParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNotifierParamsWithTimeout

func NewCreateNotifierParamsWithTimeout(timeout time.Duration) *CreateNotifierParams

NewCreateNotifierParamsWithTimeout creates a new CreateNotifierParams object with the ability to set a timeout on a request.

func (*CreateNotifierParams) SetBody

SetBody adds the body to the create notifier params

func (*CreateNotifierParams) SetContext

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

SetContext adds the context to the create notifier params

func (*CreateNotifierParams) SetDefaults

func (o *CreateNotifierParams) SetDefaults()

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

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

func (*CreateNotifierParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create notifier params

func (*CreateNotifierParams) SetTimeout

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

SetTimeout adds the timeout to the create notifier params

func (*CreateNotifierParams) WithBody

WithBody adds the body to the create notifier params

func (*CreateNotifierParams) WithContext

WithContext adds the context to the create notifier params

func (*CreateNotifierParams) WithDefaults

func (o *CreateNotifierParams) WithDefaults() *CreateNotifierParams

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

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

func (*CreateNotifierParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create notifier params

func (*CreateNotifierParams) WithTimeout

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

WithTimeout adds the timeout to the create notifier params

func (*CreateNotifierParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateNotifierReader

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

CreateNotifierReader is a Reader for the CreateNotifier structure.

func (*CreateNotifierReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateRecordingRuleBadRequest

type CreateRecordingRuleBadRequest struct {
	Payload *models.APIError
}

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

Cannot create the RecordingRule because the request is invalid.

func NewCreateRecordingRuleBadRequest

func NewCreateRecordingRuleBadRequest() *CreateRecordingRuleBadRequest

NewCreateRecordingRuleBadRequest creates a CreateRecordingRuleBadRequest with default headers values

func (*CreateRecordingRuleBadRequest) Code

Code gets the status code for the create recording rule bad request response

func (*CreateRecordingRuleBadRequest) Error

func (*CreateRecordingRuleBadRequest) GetPayload

func (*CreateRecordingRuleBadRequest) IsClientError

func (o *CreateRecordingRuleBadRequest) IsClientError() bool

IsClientError returns true when this create recording rule bad request response has a 4xx status code

func (*CreateRecordingRuleBadRequest) IsCode

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

IsCode returns true when this create recording rule bad request response a status code equal to that given

func (*CreateRecordingRuleBadRequest) IsRedirect

func (o *CreateRecordingRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this create recording rule bad request response has a 3xx status code

func (*CreateRecordingRuleBadRequest) IsServerError

func (o *CreateRecordingRuleBadRequest) IsServerError() bool

IsServerError returns true when this create recording rule bad request response has a 5xx status code

func (*CreateRecordingRuleBadRequest) IsSuccess

func (o *CreateRecordingRuleBadRequest) IsSuccess() bool

IsSuccess returns true when this create recording rule bad request response has a 2xx status code

func (*CreateRecordingRuleBadRequest) String

type CreateRecordingRuleConflict

type CreateRecordingRuleConflict struct {
	Payload *models.APIError
}

CreateRecordingRuleConflict describes a response with status code 409, with default header values.

Cannot create the RecordingRule because there is a conflict with an existing RecordingRule.

func NewCreateRecordingRuleConflict

func NewCreateRecordingRuleConflict() *CreateRecordingRuleConflict

NewCreateRecordingRuleConflict creates a CreateRecordingRuleConflict with default headers values

func (*CreateRecordingRuleConflict) Code

func (o *CreateRecordingRuleConflict) Code() int

Code gets the status code for the create recording rule conflict response

func (*CreateRecordingRuleConflict) Error

func (*CreateRecordingRuleConflict) GetPayload

func (o *CreateRecordingRuleConflict) GetPayload() *models.APIError

func (*CreateRecordingRuleConflict) IsClientError

func (o *CreateRecordingRuleConflict) IsClientError() bool

IsClientError returns true when this create recording rule conflict response has a 4xx status code

func (*CreateRecordingRuleConflict) IsCode

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

IsCode returns true when this create recording rule conflict response a status code equal to that given

func (*CreateRecordingRuleConflict) IsRedirect

func (o *CreateRecordingRuleConflict) IsRedirect() bool

IsRedirect returns true when this create recording rule conflict response has a 3xx status code

func (*CreateRecordingRuleConflict) IsServerError

func (o *CreateRecordingRuleConflict) IsServerError() bool

IsServerError returns true when this create recording rule conflict response has a 5xx status code

func (*CreateRecordingRuleConflict) IsSuccess

func (o *CreateRecordingRuleConflict) IsSuccess() bool

IsSuccess returns true when this create recording rule conflict response has a 2xx status code

func (*CreateRecordingRuleConflict) String

func (o *CreateRecordingRuleConflict) String() string

type CreateRecordingRuleDefault

type CreateRecordingRuleDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateRecordingRuleDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateRecordingRuleDefault

func NewCreateRecordingRuleDefault(code int) *CreateRecordingRuleDefault

NewCreateRecordingRuleDefault creates a CreateRecordingRuleDefault with default headers values

func (*CreateRecordingRuleDefault) Code

func (o *CreateRecordingRuleDefault) Code() int

Code gets the status code for the create recording rule default response

func (*CreateRecordingRuleDefault) Error

func (*CreateRecordingRuleDefault) GetPayload

func (*CreateRecordingRuleDefault) IsClientError

func (o *CreateRecordingRuleDefault) IsClientError() bool

IsClientError returns true when this create recording rule default response has a 4xx status code

func (*CreateRecordingRuleDefault) IsCode

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

IsCode returns true when this create recording rule default response a status code equal to that given

func (*CreateRecordingRuleDefault) IsRedirect

func (o *CreateRecordingRuleDefault) IsRedirect() bool

IsRedirect returns true when this create recording rule default response has a 3xx status code

func (*CreateRecordingRuleDefault) IsServerError

func (o *CreateRecordingRuleDefault) IsServerError() bool

IsServerError returns true when this create recording rule default response has a 5xx status code

func (*CreateRecordingRuleDefault) IsSuccess

func (o *CreateRecordingRuleDefault) IsSuccess() bool

IsSuccess returns true when this create recording rule default response has a 2xx status code

func (*CreateRecordingRuleDefault) String

func (o *CreateRecordingRuleDefault) String() string

type CreateRecordingRuleInternalServerError

type CreateRecordingRuleInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewCreateRecordingRuleInternalServerError

func NewCreateRecordingRuleInternalServerError() *CreateRecordingRuleInternalServerError

NewCreateRecordingRuleInternalServerError creates a CreateRecordingRuleInternalServerError with default headers values

func (*CreateRecordingRuleInternalServerError) Code

Code gets the status code for the create recording rule internal server error response

func (*CreateRecordingRuleInternalServerError) Error

func (*CreateRecordingRuleInternalServerError) GetPayload

func (*CreateRecordingRuleInternalServerError) IsClientError

func (o *CreateRecordingRuleInternalServerError) IsClientError() bool

IsClientError returns true when this create recording rule internal server error response has a 4xx status code

func (*CreateRecordingRuleInternalServerError) IsCode

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

func (*CreateRecordingRuleInternalServerError) IsRedirect

IsRedirect returns true when this create recording rule internal server error response has a 3xx status code

func (*CreateRecordingRuleInternalServerError) IsServerError

func (o *CreateRecordingRuleInternalServerError) IsServerError() bool

IsServerError returns true when this create recording rule internal server error response has a 5xx status code

func (*CreateRecordingRuleInternalServerError) IsSuccess

IsSuccess returns true when this create recording rule internal server error response has a 2xx status code

func (*CreateRecordingRuleInternalServerError) String

type CreateRecordingRuleOK

type CreateRecordingRuleOK struct {
	Payload *models.Configv1CreateRecordingRuleResponse
}

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

A successful response containing the created RecordingRule.

func NewCreateRecordingRuleOK

func NewCreateRecordingRuleOK() *CreateRecordingRuleOK

NewCreateRecordingRuleOK creates a CreateRecordingRuleOK with default headers values

func (*CreateRecordingRuleOK) Code

func (o *CreateRecordingRuleOK) Code() int

Code gets the status code for the create recording rule o k response

func (*CreateRecordingRuleOK) Error

func (o *CreateRecordingRuleOK) Error() string

func (*CreateRecordingRuleOK) GetPayload

func (*CreateRecordingRuleOK) IsClientError

func (o *CreateRecordingRuleOK) IsClientError() bool

IsClientError returns true when this create recording rule o k response has a 4xx status code

func (*CreateRecordingRuleOK) IsCode

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

IsCode returns true when this create recording rule o k response a status code equal to that given

func (*CreateRecordingRuleOK) IsRedirect

func (o *CreateRecordingRuleOK) IsRedirect() bool

IsRedirect returns true when this create recording rule o k response has a 3xx status code

func (*CreateRecordingRuleOK) IsServerError

func (o *CreateRecordingRuleOK) IsServerError() bool

IsServerError returns true when this create recording rule o k response has a 5xx status code

func (*CreateRecordingRuleOK) IsSuccess

func (o *CreateRecordingRuleOK) IsSuccess() bool

IsSuccess returns true when this create recording rule o k response has a 2xx status code

func (*CreateRecordingRuleOK) String

func (o *CreateRecordingRuleOK) String() string

type CreateRecordingRuleParams

type CreateRecordingRuleParams struct {

	// Body.
	Body *models.Configv1CreateRecordingRuleRequest

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

CreateRecordingRuleParams contains all the parameters to send to the API endpoint

for the create recording rule operation.

Typically these are written to a http.Request.

func NewCreateRecordingRuleParams

func NewCreateRecordingRuleParams() *CreateRecordingRuleParams

NewCreateRecordingRuleParams creates a new CreateRecordingRuleParams 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 NewCreateRecordingRuleParamsWithContext

func NewCreateRecordingRuleParamsWithContext(ctx context.Context) *CreateRecordingRuleParams

NewCreateRecordingRuleParamsWithContext creates a new CreateRecordingRuleParams object with the ability to set a context for a request.

func NewCreateRecordingRuleParamsWithHTTPClient

func NewCreateRecordingRuleParamsWithHTTPClient(client *http.Client) *CreateRecordingRuleParams

NewCreateRecordingRuleParamsWithHTTPClient creates a new CreateRecordingRuleParams object with the ability to set a custom HTTPClient for a request.

func NewCreateRecordingRuleParamsWithTimeout

func NewCreateRecordingRuleParamsWithTimeout(timeout time.Duration) *CreateRecordingRuleParams

NewCreateRecordingRuleParamsWithTimeout creates a new CreateRecordingRuleParams object with the ability to set a timeout on a request.

func (*CreateRecordingRuleParams) SetBody

SetBody adds the body to the create recording rule params

func (*CreateRecordingRuleParams) SetContext

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

SetContext adds the context to the create recording rule params

func (*CreateRecordingRuleParams) SetDefaults

func (o *CreateRecordingRuleParams) SetDefaults()

SetDefaults hydrates default values in the create recording rule params (not the query body).

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

func (*CreateRecordingRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create recording rule params

func (*CreateRecordingRuleParams) SetTimeout

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

SetTimeout adds the timeout to the create recording rule params

func (*CreateRecordingRuleParams) WithBody

WithBody adds the body to the create recording rule params

func (*CreateRecordingRuleParams) WithContext

WithContext adds the context to the create recording rule params

func (*CreateRecordingRuleParams) WithDefaults

WithDefaults hydrates default values in the create recording rule params (not the query body).

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

func (*CreateRecordingRuleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create recording rule params

func (*CreateRecordingRuleParams) WithTimeout

WithTimeout adds the timeout to the create recording rule params

func (*CreateRecordingRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateRecordingRuleReader

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

CreateRecordingRuleReader is a Reader for the CreateRecordingRule structure.

func (*CreateRecordingRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateResourcePoolsDefault

type CreateResourcePoolsDefault struct {
	Payload *models.APIError
	// contains filtered or unexported fields
}

CreateResourcePoolsDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewCreateResourcePoolsDefault

func NewCreateResourcePoolsDefault(code int) *CreateResourcePoolsDefault

NewCreateResourcePoolsDefault creates a CreateResourcePoolsDefault with default headers values

func (*CreateResourcePoolsDefault) Code

func (o *CreateResourcePoolsDefault) Code() int

Code gets the status code for the create resource pools default response

func (*CreateResourcePoolsDefault) Error

func (*CreateResourcePoolsDefault) GetPayload

func (o *CreateResourcePoolsDefault) GetPayload() *models.APIError

func (*CreateResourcePoolsDefault) IsClientError

func (o *CreateResourcePoolsDefault) IsClientError() bool

IsClientError returns true when this create resource pools default response has a 4xx status code

func (*CreateResourcePoolsDefault) IsCode

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

IsCode returns true when this create resource pools default response a status code equal to that given

func (*CreateResourcePoolsDefault) IsRedirect

func (o *CreateResourcePoolsDefault) IsRedirect() bool

IsRedirect returns true when this create resource pools default response has a 3xx status code

func (*CreateResourcePoolsDefault) IsServerError

func (o *CreateResourcePoolsDefault) IsServerError() bool

IsServerError returns true when this create resource pools default response has a 5xx status code

func (*CreateResourcePoolsDefault) IsSuccess

func (o *CreateResourcePoolsDefault) IsSuccess() bool

IsSuccess returns true when this create resource pools default response has a 2xx status code

func (*CreateResourcePoolsDefault) String

func (o *CreateResourcePoolsDefault) String() string

type CreateResourcePoolsOK

type CreateResourcePoolsOK struct {
	Payload *models.Configv1CreateResourcePoolsResponse
}

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

A successful response.

func NewCreateResourcePoolsOK

func NewCreateResourcePoolsOK() *CreateResourcePoolsOK

NewCreateResourcePoolsOK creates a CreateResourcePoolsOK with default headers values

func (*CreateResourcePoolsOK) Code

func (o *CreateResourcePoolsOK) Code() int

Code gets the status code for the create resource pools o k response

func (*CreateResourcePoolsOK) Error

func (o *CreateResourcePoolsOK) Error() string

func (*CreateResourcePoolsOK) GetPayload

func (*CreateResourcePoolsOK) IsClientError

func (o *CreateResourcePoolsOK) IsClientError() bool

IsClientError returns true when this create resource pools o k response has a 4xx status code

func (*CreateResourcePoolsOK) IsCode

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

IsCode returns true when this create resource pools o k response a status code equal to that given

func (*CreateResourcePoolsOK) IsRedirect

func (o *CreateResourcePoolsOK) IsRedirect() bool

IsRedirect returns true when this create resource pools o k response has a 3xx status code

func (*CreateResourcePoolsOK) IsServerError

func (o *CreateResourcePoolsOK) IsServerError() bool

IsServerError returns true when this create resource pools o k response has a 5xx status code

func (*CreateResourcePoolsOK) IsSuccess

func (o *CreateResourcePoolsOK) IsSuccess() bool

IsSuccess returns true when this create resource pools o k response has a 2xx status code

func (*CreateResourcePoolsOK) String

func (o *CreateResourcePoolsOK) String() string

type CreateResourcePoolsParams

type CreateResourcePoolsParams struct {

	// Body.
	Body *models.Configv1CreateResourcePoolsRequest

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

CreateResourcePoolsParams contains all the parameters to send to the API endpoint

for the create resource pools operation.

Typically these are written to a http.Request.

func NewCreateResourcePoolsParams

func NewCreateResourcePoolsParams() *CreateResourcePoolsParams

NewCreateResourcePoolsParams creates a new CreateResourcePoolsParams 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 NewCreateResourcePoolsParamsWithContext

func NewCreateResourcePoolsParamsWithContext(ctx context.Context) *CreateResourcePoolsParams

NewCreateResourcePoolsParamsWithContext creates a new CreateResourcePoolsParams object with the ability to set a context for a request.

func NewCreateResourcePoolsParamsWithHTTPClient

func NewCreateResourcePoolsParamsWithHTTPClient(client *http.Client) *CreateResourcePoolsParams

NewCreateResourcePoolsParamsWithHTTPClient creates a new CreateResourcePoolsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateResourcePoolsParamsWithTimeout

func NewCreateResourcePoolsParamsWithTimeout(timeout time.Duration) *CreateResourcePoolsParams

NewCreateResourcePoolsParamsWithTimeout creates a new CreateResourcePoolsParams object with the ability to set a timeout on a request.

func (*CreateResourcePoolsParams) SetBody

SetBody adds the body to the create resource pools params

func (*CreateResourcePoolsParams) SetContext

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

SetContext adds the context to the create resource pools params

func (*CreateResourcePoolsParams) SetDefaults

func (o *CreateResourcePoolsParams) SetDefaults()

SetDefaults hydrates default values in the create resource pools params (not the query body).

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

func (*CreateResourcePoolsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create resource pools params

func (*CreateResourcePoolsParams) SetTimeout

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

SetTimeout adds the timeout to the create resource pools params

func (*CreateResourcePoolsParams) WithBody

WithBody adds the body to the create resource pools params

func (*CreateResourcePoolsParams) WithContext

WithContext adds the context to the create resource pools params

func (*CreateResourcePoolsParams) WithDefaults

WithDefaults hydrates default values in the create resource pools params (not the query body).

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

func (*CreateResourcePoolsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create resource pools params

func (*CreateResourcePoolsParams) WithTimeout

WithTimeout adds the timeout to the create resource pools params

func (*CreateResourcePoolsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateResourcePoolsReader

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

CreateResourcePoolsReader is a Reader for the CreateResourcePools structure.

func (*CreateResourcePoolsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateRollupRuleBadRequest

type CreateRollupRuleBadRequest struct {
	Payload *models.APIError
}

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

Cannot create the RollupRule because the request is invalid.

func NewCreateRollupRuleBadRequest

func NewCreateRollupRuleBadRequest() *CreateRollupRuleBadRequest

NewCreateRollupRuleBadRequest creates a CreateRollupRuleBadRequest with default headers values

func (*CreateRollupRuleBadRequest) Code

func (o *CreateRollupRuleBadRequest) Code() int

Code gets the status code for the create rollup rule bad request response

func (*CreateRollupRuleBadRequest) Error

func (*CreateRollupRuleBadRequest) GetPayload

func (o *CreateRollupRuleBadRequest) GetPayload() *models.APIError

func (*CreateRollupRuleBadRequest) IsClientError

func (o *CreateRollupRuleBadRequest) IsClientError() bool

IsClientError returns true when this create rollup rule bad request response has a 4xx status code

func (*CreateRollupRuleBadRequest) IsCode

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

IsCode returns true when this create rollup rule bad request response a status code equal to that given

func (*CreateRollupRuleBadRequest) IsRedirect

func (o *CreateRollupRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this create rollup rule bad request response has a 3xx status code

func (*CreateRollupRuleBadRequest) IsServerError

func (o *CreateRollupRuleBadRequest) IsServerError() bool

IsServerError returns true when this create rollup rule bad request response has a 5xx status code

func (*CreateRollupRuleBadRequest) IsSuccess

func (o *CreateRollupRuleBadRequest) IsSuccess() bool

IsSuccess returns true when this create rollup rule bad request response has a 2xx status code

func (*CreateRollupRuleBadRequest) String

func (o *CreateRollupRuleBadRequest) String() string

type CreateRollupRuleConflict

type CreateRollupRuleConflict struct {
	Payload *models.APIError
}

CreateRollupRuleConflict describes a response with status code 409, with default header values.

Cannot create the RollupRule because there is a conflict with an existing RollupRule.

func NewCreateRollupRuleConflict

func NewCreateRollupRuleConflict() *CreateRollupRuleConflict

NewCreateRollupRuleConflict creates a CreateRollupRuleConflict with default headers values

func (*CreateRollupRuleConflict) Code

func (o *CreateRollupRuleConflict) Code() int

Code gets the status code for the create rollup rule conflict response

func (*CreateRollupRuleConflict) Error

func (o *CreateRollupRuleConflict) Error() string

func (*CreateRollupRuleConflict) GetPayload

func (o *CreateRollupRuleConflict) GetPayload() *models.APIError

func (*CreateRollupRuleConflict) IsClientError

func (o *CreateRollupRuleConflict) IsClientError() bool

IsClientError returns true when this create rollup rule conflict response has a 4xx status code

func (*CreateRollupRuleConflict) IsCode

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

IsCode returns true when this create rollup rule conflict response a status code equal to that given

func (*CreateRollupRuleConflict) IsRedirect

func (o *CreateRollupRuleConflict) IsRedirect() bool

IsRedirect returns true when this create rollup rule conflict response has a 3xx status code

func (*CreateRollupRuleConflict) IsServerError

func (o *CreateRollupRuleConflict) IsServerError() bool

IsServerError returns true when this create rollup rule conflict response has a 5xx status code

func (*CreateRollupRuleConflict) IsSuccess

func (o *CreateRollupRuleConflict) IsSuccess() bool

IsSuccess returns true when this create rollup rule conflict response has a 2xx status code

func (*CreateRollupRuleConflict) String

func (o *CreateRollupRuleConflict) String() string

type CreateRollupRuleDefault

type CreateRollupRuleDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateRollupRuleDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateRollupRuleDefault

func NewCreateRollupRuleDefault(code int) *CreateRollupRuleDefault

NewCreateRollupRuleDefault creates a CreateRollupRuleDefault with default headers values

func (*CreateRollupRuleDefault) Code

func (o *CreateRollupRuleDefault) Code() int

Code gets the status code for the create rollup rule default response

func (*CreateRollupRuleDefault) Error

func (o *CreateRollupRuleDefault) Error() string

func (*CreateRollupRuleDefault) GetPayload

func (*CreateRollupRuleDefault) IsClientError

func (o *CreateRollupRuleDefault) IsClientError() bool

IsClientError returns true when this create rollup rule default response has a 4xx status code

func (*CreateRollupRuleDefault) IsCode

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

IsCode returns true when this create rollup rule default response a status code equal to that given

func (*CreateRollupRuleDefault) IsRedirect

func (o *CreateRollupRuleDefault) IsRedirect() bool

IsRedirect returns true when this create rollup rule default response has a 3xx status code

func (*CreateRollupRuleDefault) IsServerError

func (o *CreateRollupRuleDefault) IsServerError() bool

IsServerError returns true when this create rollup rule default response has a 5xx status code

func (*CreateRollupRuleDefault) IsSuccess

func (o *CreateRollupRuleDefault) IsSuccess() bool

IsSuccess returns true when this create rollup rule default response has a 2xx status code

func (*CreateRollupRuleDefault) String

func (o *CreateRollupRuleDefault) String() string

type CreateRollupRuleInternalServerError

type CreateRollupRuleInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewCreateRollupRuleInternalServerError

func NewCreateRollupRuleInternalServerError() *CreateRollupRuleInternalServerError

NewCreateRollupRuleInternalServerError creates a CreateRollupRuleInternalServerError with default headers values

func (*CreateRollupRuleInternalServerError) Code

Code gets the status code for the create rollup rule internal server error response

func (*CreateRollupRuleInternalServerError) Error

func (*CreateRollupRuleInternalServerError) GetPayload

func (*CreateRollupRuleInternalServerError) IsClientError

func (o *CreateRollupRuleInternalServerError) IsClientError() bool

IsClientError returns true when this create rollup rule internal server error response has a 4xx status code

func (*CreateRollupRuleInternalServerError) IsCode

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

func (*CreateRollupRuleInternalServerError) IsRedirect

func (o *CreateRollupRuleInternalServerError) IsRedirect() bool

IsRedirect returns true when this create rollup rule internal server error response has a 3xx status code

func (*CreateRollupRuleInternalServerError) IsServerError

func (o *CreateRollupRuleInternalServerError) IsServerError() bool

IsServerError returns true when this create rollup rule internal server error response has a 5xx status code

func (*CreateRollupRuleInternalServerError) IsSuccess

IsSuccess returns true when this create rollup rule internal server error response has a 2xx status code

func (*CreateRollupRuleInternalServerError) String

type CreateRollupRuleOK

type CreateRollupRuleOK struct {
	Payload *models.Configv1CreateRollupRuleResponse
}

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

A successful response containing the created RollupRule.

func NewCreateRollupRuleOK

func NewCreateRollupRuleOK() *CreateRollupRuleOK

NewCreateRollupRuleOK creates a CreateRollupRuleOK with default headers values

func (*CreateRollupRuleOK) Code

func (o *CreateRollupRuleOK) Code() int

Code gets the status code for the create rollup rule o k response

func (*CreateRollupRuleOK) Error

func (o *CreateRollupRuleOK) Error() string

func (*CreateRollupRuleOK) GetPayload

func (*CreateRollupRuleOK) IsClientError

func (o *CreateRollupRuleOK) IsClientError() bool

IsClientError returns true when this create rollup rule o k response has a 4xx status code

func (*CreateRollupRuleOK) IsCode

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

IsCode returns true when this create rollup rule o k response a status code equal to that given

func (*CreateRollupRuleOK) IsRedirect

func (o *CreateRollupRuleOK) IsRedirect() bool

IsRedirect returns true when this create rollup rule o k response has a 3xx status code

func (*CreateRollupRuleOK) IsServerError

func (o *CreateRollupRuleOK) IsServerError() bool

IsServerError returns true when this create rollup rule o k response has a 5xx status code

func (*CreateRollupRuleOK) IsSuccess

func (o *CreateRollupRuleOK) IsSuccess() bool

IsSuccess returns true when this create rollup rule o k response has a 2xx status code

func (*CreateRollupRuleOK) String

func (o *CreateRollupRuleOK) String() string

type CreateRollupRuleParams

type CreateRollupRuleParams struct {

	// Body.
	Body *models.Configv1CreateRollupRuleRequest

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

CreateRollupRuleParams contains all the parameters to send to the API endpoint

for the create rollup rule operation.

Typically these are written to a http.Request.

func NewCreateRollupRuleParams

func NewCreateRollupRuleParams() *CreateRollupRuleParams

NewCreateRollupRuleParams creates a new CreateRollupRuleParams 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 NewCreateRollupRuleParamsWithContext

func NewCreateRollupRuleParamsWithContext(ctx context.Context) *CreateRollupRuleParams

NewCreateRollupRuleParamsWithContext creates a new CreateRollupRuleParams object with the ability to set a context for a request.

func NewCreateRollupRuleParamsWithHTTPClient

func NewCreateRollupRuleParamsWithHTTPClient(client *http.Client) *CreateRollupRuleParams

NewCreateRollupRuleParamsWithHTTPClient creates a new CreateRollupRuleParams object with the ability to set a custom HTTPClient for a request.

func NewCreateRollupRuleParamsWithTimeout

func NewCreateRollupRuleParamsWithTimeout(timeout time.Duration) *CreateRollupRuleParams

NewCreateRollupRuleParamsWithTimeout creates a new CreateRollupRuleParams object with the ability to set a timeout on a request.

func (*CreateRollupRuleParams) SetBody

SetBody adds the body to the create rollup rule params

func (*CreateRollupRuleParams) SetContext

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

SetContext adds the context to the create rollup rule params

func (*CreateRollupRuleParams) SetDefaults

func (o *CreateRollupRuleParams) SetDefaults()

SetDefaults hydrates default values in the create rollup rule params (not the query body).

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

func (*CreateRollupRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create rollup rule params

func (*CreateRollupRuleParams) SetTimeout

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

SetTimeout adds the timeout to the create rollup rule params

func (*CreateRollupRuleParams) WithBody

WithBody adds the body to the create rollup rule params

func (*CreateRollupRuleParams) WithContext

WithContext adds the context to the create rollup rule params

func (*CreateRollupRuleParams) WithDefaults

WithDefaults hydrates default values in the create rollup rule params (not the query body).

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

func (*CreateRollupRuleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create rollup rule params

func (*CreateRollupRuleParams) WithTimeout

WithTimeout adds the timeout to the create rollup rule params

func (*CreateRollupRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateRollupRuleReader

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

CreateRollupRuleReader is a Reader for the CreateRollupRule structure.

func (*CreateRollupRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateServiceAccountBadRequest

type CreateServiceAccountBadRequest struct {
	Payload *models.APIError
}

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

Cannot create the ServiceAccount because the request is invalid.

func NewCreateServiceAccountBadRequest

func NewCreateServiceAccountBadRequest() *CreateServiceAccountBadRequest

NewCreateServiceAccountBadRequest creates a CreateServiceAccountBadRequest with default headers values

func (*CreateServiceAccountBadRequest) Code

Code gets the status code for the create service account bad request response

func (*CreateServiceAccountBadRequest) Error

func (*CreateServiceAccountBadRequest) GetPayload

func (*CreateServiceAccountBadRequest) IsClientError

func (o *CreateServiceAccountBadRequest) IsClientError() bool

IsClientError returns true when this create service account bad request response has a 4xx status code

func (*CreateServiceAccountBadRequest) IsCode

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

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

func (*CreateServiceAccountBadRequest) IsRedirect

func (o *CreateServiceAccountBadRequest) IsRedirect() bool

IsRedirect returns true when this create service account bad request response has a 3xx status code

func (*CreateServiceAccountBadRequest) IsServerError

func (o *CreateServiceAccountBadRequest) IsServerError() bool

IsServerError returns true when this create service account bad request response has a 5xx status code

func (*CreateServiceAccountBadRequest) IsSuccess

func (o *CreateServiceAccountBadRequest) IsSuccess() bool

IsSuccess returns true when this create service account bad request response has a 2xx status code

func (*CreateServiceAccountBadRequest) String

type CreateServiceAccountConflict

type CreateServiceAccountConflict struct {
	Payload *models.APIError
}

CreateServiceAccountConflict describes a response with status code 409, with default header values.

Cannot create the ServiceAccount because there is a conflict with an existing ServiceAccount.

func NewCreateServiceAccountConflict

func NewCreateServiceAccountConflict() *CreateServiceAccountConflict

NewCreateServiceAccountConflict creates a CreateServiceAccountConflict with default headers values

func (*CreateServiceAccountConflict) Code

Code gets the status code for the create service account conflict response

func (*CreateServiceAccountConflict) Error

func (*CreateServiceAccountConflict) GetPayload

func (o *CreateServiceAccountConflict) GetPayload() *models.APIError

func (*CreateServiceAccountConflict) IsClientError

func (o *CreateServiceAccountConflict) IsClientError() bool

IsClientError returns true when this create service account conflict response has a 4xx status code

func (*CreateServiceAccountConflict) IsCode

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

IsCode returns true when this create service account conflict response a status code equal to that given

func (*CreateServiceAccountConflict) IsRedirect

func (o *CreateServiceAccountConflict) IsRedirect() bool

IsRedirect returns true when this create service account conflict response has a 3xx status code

func (*CreateServiceAccountConflict) IsServerError

func (o *CreateServiceAccountConflict) IsServerError() bool

IsServerError returns true when this create service account conflict response has a 5xx status code

func (*CreateServiceAccountConflict) IsSuccess

func (o *CreateServiceAccountConflict) IsSuccess() bool

IsSuccess returns true when this create service account conflict response has a 2xx status code

func (*CreateServiceAccountConflict) String

type CreateServiceAccountDefault

type CreateServiceAccountDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateServiceAccountDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateServiceAccountDefault

func NewCreateServiceAccountDefault(code int) *CreateServiceAccountDefault

NewCreateServiceAccountDefault creates a CreateServiceAccountDefault with default headers values

func (*CreateServiceAccountDefault) Code

func (o *CreateServiceAccountDefault) Code() int

Code gets the status code for the create service account default response

func (*CreateServiceAccountDefault) Error

func (*CreateServiceAccountDefault) GetPayload

func (*CreateServiceAccountDefault) IsClientError

func (o *CreateServiceAccountDefault) IsClientError() bool

IsClientError returns true when this create service account default response has a 4xx status code

func (*CreateServiceAccountDefault) IsCode

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

IsCode returns true when this create service account default response a status code equal to that given

func (*CreateServiceAccountDefault) IsRedirect

func (o *CreateServiceAccountDefault) IsRedirect() bool

IsRedirect returns true when this create service account default response has a 3xx status code

func (*CreateServiceAccountDefault) IsServerError

func (o *CreateServiceAccountDefault) IsServerError() bool

IsServerError returns true when this create service account default response has a 5xx status code

func (*CreateServiceAccountDefault) IsSuccess

func (o *CreateServiceAccountDefault) IsSuccess() bool

IsSuccess returns true when this create service account default response has a 2xx status code

func (*CreateServiceAccountDefault) String

func (o *CreateServiceAccountDefault) String() string

type CreateServiceAccountInternalServerError

type CreateServiceAccountInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewCreateServiceAccountInternalServerError

func NewCreateServiceAccountInternalServerError() *CreateServiceAccountInternalServerError

NewCreateServiceAccountInternalServerError creates a CreateServiceAccountInternalServerError with default headers values

func (*CreateServiceAccountInternalServerError) Code

Code gets the status code for the create service account internal server error response

func (*CreateServiceAccountInternalServerError) Error

func (*CreateServiceAccountInternalServerError) GetPayload

func (*CreateServiceAccountInternalServerError) IsClientError

func (o *CreateServiceAccountInternalServerError) IsClientError() bool

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

func (*CreateServiceAccountInternalServerError) IsCode

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

func (*CreateServiceAccountInternalServerError) IsRedirect

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

func (*CreateServiceAccountInternalServerError) IsServerError

func (o *CreateServiceAccountInternalServerError) IsServerError() bool

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

func (*CreateServiceAccountInternalServerError) IsSuccess

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

func (*CreateServiceAccountInternalServerError) String

type CreateServiceAccountOK

type CreateServiceAccountOK struct {
	Payload *models.Configv1CreateServiceAccountResponse
}

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

A successful response containing the created ServiceAccount.

func NewCreateServiceAccountOK

func NewCreateServiceAccountOK() *CreateServiceAccountOK

NewCreateServiceAccountOK creates a CreateServiceAccountOK with default headers values

func (*CreateServiceAccountOK) Code

func (o *CreateServiceAccountOK) Code() int

Code gets the status code for the create service account o k response

func (*CreateServiceAccountOK) Error

func (o *CreateServiceAccountOK) Error() string

func (*CreateServiceAccountOK) GetPayload

func (*CreateServiceAccountOK) IsClientError

func (o *CreateServiceAccountOK) IsClientError() bool

IsClientError returns true when this create service account o k response has a 4xx status code

func (*CreateServiceAccountOK) IsCode

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

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

func (*CreateServiceAccountOK) IsRedirect

func (o *CreateServiceAccountOK) IsRedirect() bool

IsRedirect returns true when this create service account o k response has a 3xx status code

func (*CreateServiceAccountOK) IsServerError

func (o *CreateServiceAccountOK) IsServerError() bool

IsServerError returns true when this create service account o k response has a 5xx status code

func (*CreateServiceAccountOK) IsSuccess

func (o *CreateServiceAccountOK) IsSuccess() bool

IsSuccess returns true when this create service account o k response has a 2xx status code

func (*CreateServiceAccountOK) String

func (o *CreateServiceAccountOK) String() string

type CreateServiceAccountParams

type CreateServiceAccountParams struct {

	// Body.
	Body *models.Configv1CreateServiceAccountRequest

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

CreateServiceAccountParams contains all the parameters to send to the API endpoint

for the create service account operation.

Typically these are written to a http.Request.

func NewCreateServiceAccountParams

func NewCreateServiceAccountParams() *CreateServiceAccountParams

NewCreateServiceAccountParams creates a new CreateServiceAccountParams 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 NewCreateServiceAccountParamsWithContext

func NewCreateServiceAccountParamsWithContext(ctx context.Context) *CreateServiceAccountParams

NewCreateServiceAccountParamsWithContext creates a new CreateServiceAccountParams object with the ability to set a context for a request.

func NewCreateServiceAccountParamsWithHTTPClient

func NewCreateServiceAccountParamsWithHTTPClient(client *http.Client) *CreateServiceAccountParams

NewCreateServiceAccountParamsWithHTTPClient creates a new CreateServiceAccountParams object with the ability to set a custom HTTPClient for a request.

func NewCreateServiceAccountParamsWithTimeout

func NewCreateServiceAccountParamsWithTimeout(timeout time.Duration) *CreateServiceAccountParams

NewCreateServiceAccountParamsWithTimeout creates a new CreateServiceAccountParams object with the ability to set a timeout on a request.

func (*CreateServiceAccountParams) SetBody

SetBody adds the body to the create service account params

func (*CreateServiceAccountParams) SetContext

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

SetContext adds the context to the create service account params

func (*CreateServiceAccountParams) SetDefaults

func (o *CreateServiceAccountParams) SetDefaults()

SetDefaults hydrates default values in the create service account params (not the query body).

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

func (*CreateServiceAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create service account params

func (*CreateServiceAccountParams) SetTimeout

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

SetTimeout adds the timeout to the create service account params

func (*CreateServiceAccountParams) WithBody

WithBody adds the body to the create service account params

func (*CreateServiceAccountParams) WithContext

WithContext adds the context to the create service account params

func (*CreateServiceAccountParams) WithDefaults

WithDefaults hydrates default values in the create service account params (not the query body).

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

func (*CreateServiceAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create service account params

func (*CreateServiceAccountParams) WithTimeout

WithTimeout adds the timeout to the create service account params

func (*CreateServiceAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateServiceAccountReader

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

CreateServiceAccountReader is a Reader for the CreateServiceAccount structure.

func (*CreateServiceAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateTeamBadRequest

type CreateTeamBadRequest struct {
	Payload *models.APIError
}

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

Cannot create the Team because the request is invalid.

func NewCreateTeamBadRequest

func NewCreateTeamBadRequest() *CreateTeamBadRequest

NewCreateTeamBadRequest creates a CreateTeamBadRequest with default headers values

func (*CreateTeamBadRequest) Code

func (o *CreateTeamBadRequest) Code() int

Code gets the status code for the create team bad request response

func (*CreateTeamBadRequest) Error

func (o *CreateTeamBadRequest) Error() string

func (*CreateTeamBadRequest) GetPayload

func (o *CreateTeamBadRequest) GetPayload() *models.APIError

func (*CreateTeamBadRequest) IsClientError

func (o *CreateTeamBadRequest) IsClientError() bool

IsClientError returns true when this create team bad request response has a 4xx status code

func (*CreateTeamBadRequest) IsCode

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

IsCode returns true when this create team bad request response a status code equal to that given

func (*CreateTeamBadRequest) IsRedirect

func (o *CreateTeamBadRequest) IsRedirect() bool

IsRedirect returns true when this create team bad request response has a 3xx status code

func (*CreateTeamBadRequest) IsServerError

func (o *CreateTeamBadRequest) IsServerError() bool

IsServerError returns true when this create team bad request response has a 5xx status code

func (*CreateTeamBadRequest) IsSuccess

func (o *CreateTeamBadRequest) IsSuccess() bool

IsSuccess returns true when this create team bad request response has a 2xx status code

func (*CreateTeamBadRequest) String

func (o *CreateTeamBadRequest) String() string

type CreateTeamConflict

type CreateTeamConflict struct {
	Payload *models.APIError
}

CreateTeamConflict describes a response with status code 409, with default header values.

Cannot create the Team because there is a conflict with an existing Team.

func NewCreateTeamConflict

func NewCreateTeamConflict() *CreateTeamConflict

NewCreateTeamConflict creates a CreateTeamConflict with default headers values

func (*CreateTeamConflict) Code

func (o *CreateTeamConflict) Code() int

Code gets the status code for the create team conflict response

func (*CreateTeamConflict) Error

func (o *CreateTeamConflict) Error() string

func (*CreateTeamConflict) GetPayload

func (o *CreateTeamConflict) GetPayload() *models.APIError

func (*CreateTeamConflict) IsClientError

func (o *CreateTeamConflict) IsClientError() bool

IsClientError returns true when this create team conflict response has a 4xx status code

func (*CreateTeamConflict) IsCode

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

IsCode returns true when this create team conflict response a status code equal to that given

func (*CreateTeamConflict) IsRedirect

func (o *CreateTeamConflict) IsRedirect() bool

IsRedirect returns true when this create team conflict response has a 3xx status code

func (*CreateTeamConflict) IsServerError

func (o *CreateTeamConflict) IsServerError() bool

IsServerError returns true when this create team conflict response has a 5xx status code

func (*CreateTeamConflict) IsSuccess

func (o *CreateTeamConflict) IsSuccess() bool

IsSuccess returns true when this create team conflict response has a 2xx status code

func (*CreateTeamConflict) String

func (o *CreateTeamConflict) String() string

type CreateTeamDefault

type CreateTeamDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateTeamDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateTeamDefault

func NewCreateTeamDefault(code int) *CreateTeamDefault

NewCreateTeamDefault creates a CreateTeamDefault with default headers values

func (*CreateTeamDefault) Code

func (o *CreateTeamDefault) Code() int

Code gets the status code for the create team default response

func (*CreateTeamDefault) Error

func (o *CreateTeamDefault) Error() string

func (*CreateTeamDefault) GetPayload

func (o *CreateTeamDefault) GetPayload() models.GenericError

func (*CreateTeamDefault) IsClientError

func (o *CreateTeamDefault) IsClientError() bool

IsClientError returns true when this create team default response has a 4xx status code

func (*CreateTeamDefault) IsCode

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

IsCode returns true when this create team default response a status code equal to that given

func (*CreateTeamDefault) IsRedirect

func (o *CreateTeamDefault) IsRedirect() bool

IsRedirect returns true when this create team default response has a 3xx status code

func (*CreateTeamDefault) IsServerError

func (o *CreateTeamDefault) IsServerError() bool

IsServerError returns true when this create team default response has a 5xx status code

func (*CreateTeamDefault) IsSuccess

func (o *CreateTeamDefault) IsSuccess() bool

IsSuccess returns true when this create team default response has a 2xx status code

func (*CreateTeamDefault) String

func (o *CreateTeamDefault) String() string

type CreateTeamInternalServerError

type CreateTeamInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewCreateTeamInternalServerError

func NewCreateTeamInternalServerError() *CreateTeamInternalServerError

NewCreateTeamInternalServerError creates a CreateTeamInternalServerError with default headers values

func (*CreateTeamInternalServerError) Code

Code gets the status code for the create team internal server error response

func (*CreateTeamInternalServerError) Error

func (*CreateTeamInternalServerError) GetPayload

func (*CreateTeamInternalServerError) IsClientError

func (o *CreateTeamInternalServerError) IsClientError() bool

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

func (*CreateTeamInternalServerError) IsCode

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

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

func (*CreateTeamInternalServerError) IsRedirect

func (o *CreateTeamInternalServerError) IsRedirect() bool

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

func (*CreateTeamInternalServerError) IsServerError

func (o *CreateTeamInternalServerError) IsServerError() bool

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

func (*CreateTeamInternalServerError) IsSuccess

func (o *CreateTeamInternalServerError) IsSuccess() bool

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

func (*CreateTeamInternalServerError) String

type CreateTeamOK

type CreateTeamOK struct {
	Payload *models.Configv1CreateTeamResponse
}

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

A successful response containing the created Team.

func NewCreateTeamOK

func NewCreateTeamOK() *CreateTeamOK

NewCreateTeamOK creates a CreateTeamOK with default headers values

func (*CreateTeamOK) Code

func (o *CreateTeamOK) Code() int

Code gets the status code for the create team o k response

func (*CreateTeamOK) Error

func (o *CreateTeamOK) Error() string

func (*CreateTeamOK) GetPayload

func (*CreateTeamOK) IsClientError

func (o *CreateTeamOK) IsClientError() bool

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

func (*CreateTeamOK) IsCode

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

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

func (*CreateTeamOK) IsRedirect

func (o *CreateTeamOK) IsRedirect() bool

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

func (*CreateTeamOK) IsServerError

func (o *CreateTeamOK) IsServerError() bool

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

func (*CreateTeamOK) IsSuccess

func (o *CreateTeamOK) IsSuccess() bool

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

func (*CreateTeamOK) String

func (o *CreateTeamOK) String() string

type CreateTeamParams

type CreateTeamParams struct {

	// Body.
	Body *models.Configv1CreateTeamRequest

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

CreateTeamParams contains all the parameters to send to the API endpoint

for the create team operation.

Typically these are written to a http.Request.

func NewCreateTeamParams

func NewCreateTeamParams() *CreateTeamParams

NewCreateTeamParams creates a new CreateTeamParams 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 NewCreateTeamParamsWithContext

func NewCreateTeamParamsWithContext(ctx context.Context) *CreateTeamParams

NewCreateTeamParamsWithContext creates a new CreateTeamParams object with the ability to set a context for a request.

func NewCreateTeamParamsWithHTTPClient

func NewCreateTeamParamsWithHTTPClient(client *http.Client) *CreateTeamParams

NewCreateTeamParamsWithHTTPClient creates a new CreateTeamParams object with the ability to set a custom HTTPClient for a request.

func NewCreateTeamParamsWithTimeout

func NewCreateTeamParamsWithTimeout(timeout time.Duration) *CreateTeamParams

NewCreateTeamParamsWithTimeout creates a new CreateTeamParams object with the ability to set a timeout on a request.

func (*CreateTeamParams) SetBody

SetBody adds the body to the create team params

func (*CreateTeamParams) SetContext

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

SetContext adds the context to the create team params

func (*CreateTeamParams) SetDefaults

func (o *CreateTeamParams) SetDefaults()

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

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

func (*CreateTeamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create team params

func (*CreateTeamParams) SetTimeout

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

SetTimeout adds the timeout to the create team params

func (*CreateTeamParams) WithBody

WithBody adds the body to the create team params

func (*CreateTeamParams) WithContext

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

WithContext adds the context to the create team params

func (*CreateTeamParams) WithDefaults

func (o *CreateTeamParams) WithDefaults() *CreateTeamParams

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

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

func (*CreateTeamParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create team params

func (*CreateTeamParams) WithTimeout

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

WithTimeout adds the timeout to the create team params

func (*CreateTeamParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateTeamReader

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

CreateTeamReader is a Reader for the CreateTeam structure.

func (*CreateTeamReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteBucketDefault

type DeleteBucketDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteBucketDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteBucketDefault

func NewDeleteBucketDefault(code int) *DeleteBucketDefault

NewDeleteBucketDefault creates a DeleteBucketDefault with default headers values

func (*DeleteBucketDefault) Code

func (o *DeleteBucketDefault) Code() int

Code gets the status code for the delete bucket default response

func (*DeleteBucketDefault) Error

func (o *DeleteBucketDefault) Error() string

func (*DeleteBucketDefault) GetPayload

func (o *DeleteBucketDefault) GetPayload() models.GenericError

func (*DeleteBucketDefault) IsClientError

func (o *DeleteBucketDefault) IsClientError() bool

IsClientError returns true when this delete bucket default response has a 4xx status code

func (*DeleteBucketDefault) IsCode

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

IsCode returns true when this delete bucket default response a status code equal to that given

func (*DeleteBucketDefault) IsRedirect

func (o *DeleteBucketDefault) IsRedirect() bool

IsRedirect returns true when this delete bucket default response has a 3xx status code

func (*DeleteBucketDefault) IsServerError

func (o *DeleteBucketDefault) IsServerError() bool

IsServerError returns true when this delete bucket default response has a 5xx status code

func (*DeleteBucketDefault) IsSuccess

func (o *DeleteBucketDefault) IsSuccess() bool

IsSuccess returns true when this delete bucket default response has a 2xx status code

func (*DeleteBucketDefault) String

func (o *DeleteBucketDefault) String() string

type DeleteBucketInternalServerError

type DeleteBucketInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewDeleteBucketInternalServerError

func NewDeleteBucketInternalServerError() *DeleteBucketInternalServerError

NewDeleteBucketInternalServerError creates a DeleteBucketInternalServerError with default headers values

func (*DeleteBucketInternalServerError) Code

Code gets the status code for the delete bucket internal server error response

func (*DeleteBucketInternalServerError) Error

func (*DeleteBucketInternalServerError) GetPayload

func (*DeleteBucketInternalServerError) IsClientError

func (o *DeleteBucketInternalServerError) IsClientError() bool

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

func (*DeleteBucketInternalServerError) IsCode

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

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

func (*DeleteBucketInternalServerError) IsRedirect

func (o *DeleteBucketInternalServerError) IsRedirect() bool

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

func (*DeleteBucketInternalServerError) IsServerError

func (o *DeleteBucketInternalServerError) IsServerError() bool

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

func (*DeleteBucketInternalServerError) IsSuccess

func (o *DeleteBucketInternalServerError) IsSuccess() bool

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

func (*DeleteBucketInternalServerError) String

type DeleteBucketNotFound

type DeleteBucketNotFound struct {
	Payload *models.APIError
}

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

Cannot delete the Bucket because the slug does not exist.

func NewDeleteBucketNotFound

func NewDeleteBucketNotFound() *DeleteBucketNotFound

NewDeleteBucketNotFound creates a DeleteBucketNotFound with default headers values

func (*DeleteBucketNotFound) Code

func (o *DeleteBucketNotFound) Code() int

Code gets the status code for the delete bucket not found response

func (*DeleteBucketNotFound) Error

func (o *DeleteBucketNotFound) Error() string

func (*DeleteBucketNotFound) GetPayload

func (o *DeleteBucketNotFound) GetPayload() *models.APIError

func (*DeleteBucketNotFound) IsClientError

func (o *DeleteBucketNotFound) IsClientError() bool

IsClientError returns true when this delete bucket not found response has a 4xx status code

func (*DeleteBucketNotFound) IsCode

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

IsCode returns true when this delete bucket not found response a status code equal to that given

func (*DeleteBucketNotFound) IsRedirect

func (o *DeleteBucketNotFound) IsRedirect() bool

IsRedirect returns true when this delete bucket not found response has a 3xx status code

func (*DeleteBucketNotFound) IsServerError

func (o *DeleteBucketNotFound) IsServerError() bool

IsServerError returns true when this delete bucket not found response has a 5xx status code

func (*DeleteBucketNotFound) IsSuccess

func (o *DeleteBucketNotFound) IsSuccess() bool

IsSuccess returns true when this delete bucket not found response has a 2xx status code

func (*DeleteBucketNotFound) String

func (o *DeleteBucketNotFound) String() string

type DeleteBucketOK

type DeleteBucketOK struct {
	Payload *models.Configv1DeleteBucketResponse
}

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

A successful response.

func NewDeleteBucketOK

func NewDeleteBucketOK() *DeleteBucketOK

NewDeleteBucketOK creates a DeleteBucketOK with default headers values

func (*DeleteBucketOK) Code

func (o *DeleteBucketOK) Code() int

Code gets the status code for the delete bucket o k response

func (*DeleteBucketOK) Error

func (o *DeleteBucketOK) Error() string

func (*DeleteBucketOK) GetPayload

func (*DeleteBucketOK) IsClientError

func (o *DeleteBucketOK) IsClientError() bool

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

func (*DeleteBucketOK) IsCode

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

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

func (*DeleteBucketOK) IsRedirect

func (o *DeleteBucketOK) IsRedirect() bool

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

func (*DeleteBucketOK) IsServerError

func (o *DeleteBucketOK) IsServerError() bool

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

func (*DeleteBucketOK) IsSuccess

func (o *DeleteBucketOK) IsSuccess() bool

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

func (*DeleteBucketOK) String

func (o *DeleteBucketOK) String() string

type DeleteBucketParams

type DeleteBucketParams struct {

	/* ForceDelete.

	     force_delete indicates deletion of the bucket and all resources that reference the bucket.
	This includes monitors, dashboards, notification policies, recording rules, and alerts.
	*/
	ForceDelete *bool

	// Slug.
	Slug string

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

DeleteBucketParams contains all the parameters to send to the API endpoint

for the delete bucket operation.

Typically these are written to a http.Request.

func NewDeleteBucketParams

func NewDeleteBucketParams() *DeleteBucketParams

NewDeleteBucketParams creates a new DeleteBucketParams 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 NewDeleteBucketParamsWithContext

func NewDeleteBucketParamsWithContext(ctx context.Context) *DeleteBucketParams

NewDeleteBucketParamsWithContext creates a new DeleteBucketParams object with the ability to set a context for a request.

func NewDeleteBucketParamsWithHTTPClient

func NewDeleteBucketParamsWithHTTPClient(client *http.Client) *DeleteBucketParams

NewDeleteBucketParamsWithHTTPClient creates a new DeleteBucketParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteBucketParamsWithTimeout

func NewDeleteBucketParamsWithTimeout(timeout time.Duration) *DeleteBucketParams

NewDeleteBucketParamsWithTimeout creates a new DeleteBucketParams object with the ability to set a timeout on a request.

func (*DeleteBucketParams) SetContext

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

SetContext adds the context to the delete bucket params

func (*DeleteBucketParams) SetDefaults

func (o *DeleteBucketParams) SetDefaults()

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

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

func (*DeleteBucketParams) SetForceDelete

func (o *DeleteBucketParams) SetForceDelete(forceDelete *bool)

SetForceDelete adds the forceDelete to the delete bucket params

func (*DeleteBucketParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete bucket params

func (*DeleteBucketParams) SetSlug

func (o *DeleteBucketParams) SetSlug(slug string)

SetSlug adds the slug to the delete bucket params

func (*DeleteBucketParams) SetTimeout

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

SetTimeout adds the timeout to the delete bucket params

func (*DeleteBucketParams) WithContext

WithContext adds the context to the delete bucket params

func (*DeleteBucketParams) WithDefaults

func (o *DeleteBucketParams) WithDefaults() *DeleteBucketParams

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

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

func (*DeleteBucketParams) WithForceDelete

func (o *DeleteBucketParams) WithForceDelete(forceDelete *bool) *DeleteBucketParams

WithForceDelete adds the forceDelete to the delete bucket params

func (*DeleteBucketParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete bucket params

func (*DeleteBucketParams) WithSlug

func (o *DeleteBucketParams) WithSlug(slug string) *DeleteBucketParams

WithSlug adds the slug to the delete bucket params

func (*DeleteBucketParams) WithTimeout

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

WithTimeout adds the timeout to the delete bucket params

func (*DeleteBucketParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteBucketReader

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

DeleteBucketReader is a Reader for the DeleteBucket structure.

func (*DeleteBucketReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteClassicDashboardDefault

type DeleteClassicDashboardDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteClassicDashboardDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteClassicDashboardDefault

func NewDeleteClassicDashboardDefault(code int) *DeleteClassicDashboardDefault

NewDeleteClassicDashboardDefault creates a DeleteClassicDashboardDefault with default headers values

func (*DeleteClassicDashboardDefault) Code

Code gets the status code for the delete classic dashboard default response

func (*DeleteClassicDashboardDefault) Error

func (*DeleteClassicDashboardDefault) GetPayload

func (*DeleteClassicDashboardDefault) IsClientError

func (o *DeleteClassicDashboardDefault) IsClientError() bool

IsClientError returns true when this delete classic dashboard default response has a 4xx status code

func (*DeleteClassicDashboardDefault) IsCode

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

IsCode returns true when this delete classic dashboard default response a status code equal to that given

func (*DeleteClassicDashboardDefault) IsRedirect

func (o *DeleteClassicDashboardDefault) IsRedirect() bool

IsRedirect returns true when this delete classic dashboard default response has a 3xx status code

func (*DeleteClassicDashboardDefault) IsServerError

func (o *DeleteClassicDashboardDefault) IsServerError() bool

IsServerError returns true when this delete classic dashboard default response has a 5xx status code

func (*DeleteClassicDashboardDefault) IsSuccess

func (o *DeleteClassicDashboardDefault) IsSuccess() bool

IsSuccess returns true when this delete classic dashboard default response has a 2xx status code

func (*DeleteClassicDashboardDefault) String

type DeleteClassicDashboardInternalServerError

type DeleteClassicDashboardInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewDeleteClassicDashboardInternalServerError

func NewDeleteClassicDashboardInternalServerError() *DeleteClassicDashboardInternalServerError

NewDeleteClassicDashboardInternalServerError creates a DeleteClassicDashboardInternalServerError with default headers values

func (*DeleteClassicDashboardInternalServerError) Code

Code gets the status code for the delete classic dashboard internal server error response

func (*DeleteClassicDashboardInternalServerError) Error

func (*DeleteClassicDashboardInternalServerError) GetPayload

func (*DeleteClassicDashboardInternalServerError) IsClientError

IsClientError returns true when this delete classic dashboard internal server error response has a 4xx status code

func (*DeleteClassicDashboardInternalServerError) IsCode

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

func (*DeleteClassicDashboardInternalServerError) IsRedirect

IsRedirect returns true when this delete classic dashboard internal server error response has a 3xx status code

func (*DeleteClassicDashboardInternalServerError) IsServerError

IsServerError returns true when this delete classic dashboard internal server error response has a 5xx status code

func (*DeleteClassicDashboardInternalServerError) IsSuccess

IsSuccess returns true when this delete classic dashboard internal server error response has a 2xx status code

func (*DeleteClassicDashboardInternalServerError) String

type DeleteClassicDashboardNotFound

type DeleteClassicDashboardNotFound struct {
	Payload *models.APIError
}

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

Cannot delete the GrafanaDashboard because the slug does not exist.

func NewDeleteClassicDashboardNotFound

func NewDeleteClassicDashboardNotFound() *DeleteClassicDashboardNotFound

NewDeleteClassicDashboardNotFound creates a DeleteClassicDashboardNotFound with default headers values

func (*DeleteClassicDashboardNotFound) Code

Code gets the status code for the delete classic dashboard not found response

func (*DeleteClassicDashboardNotFound) Error

func (*DeleteClassicDashboardNotFound) GetPayload

func (*DeleteClassicDashboardNotFound) IsClientError

func (o *DeleteClassicDashboardNotFound) IsClientError() bool

IsClientError returns true when this delete classic dashboard not found response has a 4xx status code

func (*DeleteClassicDashboardNotFound) IsCode

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

IsCode returns true when this delete classic dashboard not found response a status code equal to that given

func (*DeleteClassicDashboardNotFound) IsRedirect

func (o *DeleteClassicDashboardNotFound) IsRedirect() bool

IsRedirect returns true when this delete classic dashboard not found response has a 3xx status code

func (*DeleteClassicDashboardNotFound) IsServerError

func (o *DeleteClassicDashboardNotFound) IsServerError() bool

IsServerError returns true when this delete classic dashboard not found response has a 5xx status code

func (*DeleteClassicDashboardNotFound) IsSuccess

func (o *DeleteClassicDashboardNotFound) IsSuccess() bool

IsSuccess returns true when this delete classic dashboard not found response has a 2xx status code

func (*DeleteClassicDashboardNotFound) String

type DeleteClassicDashboardOK

type DeleteClassicDashboardOK struct {
	Payload models.Configv1DeleteClassicDashboardResponse
}

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

A successful response.

func NewDeleteClassicDashboardOK

func NewDeleteClassicDashboardOK() *DeleteClassicDashboardOK

NewDeleteClassicDashboardOK creates a DeleteClassicDashboardOK with default headers values

func (*DeleteClassicDashboardOK) Code

func (o *DeleteClassicDashboardOK) Code() int

Code gets the status code for the delete classic dashboard o k response

func (*DeleteClassicDashboardOK) Error

func (o *DeleteClassicDashboardOK) Error() string

func (*DeleteClassicDashboardOK) GetPayload

func (*DeleteClassicDashboardOK) IsClientError

func (o *DeleteClassicDashboardOK) IsClientError() bool

IsClientError returns true when this delete classic dashboard o k response has a 4xx status code

func (*DeleteClassicDashboardOK) IsCode

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

IsCode returns true when this delete classic dashboard o k response a status code equal to that given

func (*DeleteClassicDashboardOK) IsRedirect

func (o *DeleteClassicDashboardOK) IsRedirect() bool

IsRedirect returns true when this delete classic dashboard o k response has a 3xx status code

func (*DeleteClassicDashboardOK) IsServerError

func (o *DeleteClassicDashboardOK) IsServerError() bool

IsServerError returns true when this delete classic dashboard o k response has a 5xx status code

func (*DeleteClassicDashboardOK) IsSuccess

func (o *DeleteClassicDashboardOK) IsSuccess() bool

IsSuccess returns true when this delete classic dashboard o k response has a 2xx status code

func (*DeleteClassicDashboardOK) String

func (o *DeleteClassicDashboardOK) String() string

type DeleteClassicDashboardParams

type DeleteClassicDashboardParams struct {

	// Slug.
	Slug string

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

DeleteClassicDashboardParams contains all the parameters to send to the API endpoint

for the delete classic dashboard operation.

Typically these are written to a http.Request.

func NewDeleteClassicDashboardParams

func NewDeleteClassicDashboardParams() *DeleteClassicDashboardParams

NewDeleteClassicDashboardParams creates a new DeleteClassicDashboardParams 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 NewDeleteClassicDashboardParamsWithContext

func NewDeleteClassicDashboardParamsWithContext(ctx context.Context) *DeleteClassicDashboardParams

NewDeleteClassicDashboardParamsWithContext creates a new DeleteClassicDashboardParams object with the ability to set a context for a request.

func NewDeleteClassicDashboardParamsWithHTTPClient

func NewDeleteClassicDashboardParamsWithHTTPClient(client *http.Client) *DeleteClassicDashboardParams

NewDeleteClassicDashboardParamsWithHTTPClient creates a new DeleteClassicDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteClassicDashboardParamsWithTimeout

func NewDeleteClassicDashboardParamsWithTimeout(timeout time.Duration) *DeleteClassicDashboardParams

NewDeleteClassicDashboardParamsWithTimeout creates a new DeleteClassicDashboardParams object with the ability to set a timeout on a request.

func (*DeleteClassicDashboardParams) SetContext

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

SetContext adds the context to the delete classic dashboard params

func (*DeleteClassicDashboardParams) SetDefaults

func (o *DeleteClassicDashboardParams) SetDefaults()

SetDefaults hydrates default values in the delete classic dashboard params (not the query body).

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

func (*DeleteClassicDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete classic dashboard params

func (*DeleteClassicDashboardParams) SetSlug

func (o *DeleteClassicDashboardParams) SetSlug(slug string)

SetSlug adds the slug to the delete classic dashboard params

func (*DeleteClassicDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the delete classic dashboard params

func (*DeleteClassicDashboardParams) WithContext

WithContext adds the context to the delete classic dashboard params

func (*DeleteClassicDashboardParams) WithDefaults

WithDefaults hydrates default values in the delete classic dashboard params (not the query body).

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

func (*DeleteClassicDashboardParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete classic dashboard params

func (*DeleteClassicDashboardParams) WithSlug

WithSlug adds the slug to the delete classic dashboard params

func (*DeleteClassicDashboardParams) WithTimeout

WithTimeout adds the timeout to the delete classic dashboard params

func (*DeleteClassicDashboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteClassicDashboardReader

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

DeleteClassicDashboardReader is a Reader for the DeleteClassicDashboard structure.

func (*DeleteClassicDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteCollectionDefault

type DeleteCollectionDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteCollectionDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteCollectionDefault

func NewDeleteCollectionDefault(code int) *DeleteCollectionDefault

NewDeleteCollectionDefault creates a DeleteCollectionDefault with default headers values

func (*DeleteCollectionDefault) Code

func (o *DeleteCollectionDefault) Code() int

Code gets the status code for the delete collection default response

func (*DeleteCollectionDefault) Error

func (o *DeleteCollectionDefault) Error() string

func (*DeleteCollectionDefault) GetPayload

func (*DeleteCollectionDefault) IsClientError

func (o *DeleteCollectionDefault) IsClientError() bool

IsClientError returns true when this delete collection default response has a 4xx status code

func (*DeleteCollectionDefault) IsCode

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

IsCode returns true when this delete collection default response a status code equal to that given

func (*DeleteCollectionDefault) IsRedirect

func (o *DeleteCollectionDefault) IsRedirect() bool

IsRedirect returns true when this delete collection default response has a 3xx status code

func (*DeleteCollectionDefault) IsServerError

func (o *DeleteCollectionDefault) IsServerError() bool

IsServerError returns true when this delete collection default response has a 5xx status code

func (*DeleteCollectionDefault) IsSuccess

func (o *DeleteCollectionDefault) IsSuccess() bool

IsSuccess returns true when this delete collection default response has a 2xx status code

func (*DeleteCollectionDefault) String

func (o *DeleteCollectionDefault) String() string

type DeleteCollectionInternalServerError

type DeleteCollectionInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewDeleteCollectionInternalServerError

func NewDeleteCollectionInternalServerError() *DeleteCollectionInternalServerError

NewDeleteCollectionInternalServerError creates a DeleteCollectionInternalServerError with default headers values

func (*DeleteCollectionInternalServerError) Code

Code gets the status code for the delete collection internal server error response

func (*DeleteCollectionInternalServerError) Error

func (*DeleteCollectionInternalServerError) GetPayload

func (*DeleteCollectionInternalServerError) IsClientError

func (o *DeleteCollectionInternalServerError) IsClientError() bool

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

func (*DeleteCollectionInternalServerError) IsCode

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

func (*DeleteCollectionInternalServerError) IsRedirect

func (o *DeleteCollectionInternalServerError) IsRedirect() bool

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

func (*DeleteCollectionInternalServerError) IsServerError

func (o *DeleteCollectionInternalServerError) IsServerError() bool

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

func (*DeleteCollectionInternalServerError) IsSuccess

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

func (*DeleteCollectionInternalServerError) String

type DeleteCollectionNotFound

type DeleteCollectionNotFound struct {
	Payload *models.APIError
}

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

Cannot delete the Collection because the slug does not exist.

func NewDeleteCollectionNotFound

func NewDeleteCollectionNotFound() *DeleteCollectionNotFound

NewDeleteCollectionNotFound creates a DeleteCollectionNotFound with default headers values

func (*DeleteCollectionNotFound) Code

func (o *DeleteCollectionNotFound) Code() int

Code gets the status code for the delete collection not found response

func (*DeleteCollectionNotFound) Error

func (o *DeleteCollectionNotFound) Error() string

func (*DeleteCollectionNotFound) GetPayload

func (o *DeleteCollectionNotFound) GetPayload() *models.APIError

func (*DeleteCollectionNotFound) IsClientError

func (o *DeleteCollectionNotFound) IsClientError() bool

IsClientError returns true when this delete collection not found response has a 4xx status code

func (*DeleteCollectionNotFound) IsCode

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

IsCode returns true when this delete collection not found response a status code equal to that given

func (*DeleteCollectionNotFound) IsRedirect

func (o *DeleteCollectionNotFound) IsRedirect() bool

IsRedirect returns true when this delete collection not found response has a 3xx status code

func (*DeleteCollectionNotFound) IsServerError

func (o *DeleteCollectionNotFound) IsServerError() bool

IsServerError returns true when this delete collection not found response has a 5xx status code

func (*DeleteCollectionNotFound) IsSuccess

func (o *DeleteCollectionNotFound) IsSuccess() bool

IsSuccess returns true when this delete collection not found response has a 2xx status code

func (*DeleteCollectionNotFound) String

func (o *DeleteCollectionNotFound) String() string

type DeleteCollectionOK

type DeleteCollectionOK struct {
	Payload models.Configv1DeleteCollectionResponse
}

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

A successful response.

func NewDeleteCollectionOK

func NewDeleteCollectionOK() *DeleteCollectionOK

NewDeleteCollectionOK creates a DeleteCollectionOK with default headers values

func (*DeleteCollectionOK) Code

func (o *DeleteCollectionOK) Code() int

Code gets the status code for the delete collection o k response

func (*DeleteCollectionOK) Error

func (o *DeleteCollectionOK) Error() string

func (*DeleteCollectionOK) GetPayload

func (*DeleteCollectionOK) IsClientError

func (o *DeleteCollectionOK) IsClientError() bool

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

func (*DeleteCollectionOK) IsCode

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

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

func (*DeleteCollectionOK) IsRedirect

func (o *DeleteCollectionOK) IsRedirect() bool

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

func (*DeleteCollectionOK) IsServerError

func (o *DeleteCollectionOK) IsServerError() bool

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

func (*DeleteCollectionOK) IsSuccess

func (o *DeleteCollectionOK) IsSuccess() bool

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

func (*DeleteCollectionOK) String

func (o *DeleteCollectionOK) String() string

type DeleteCollectionParams

type DeleteCollectionParams struct {

	// Slug.
	Slug string

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

DeleteCollectionParams contains all the parameters to send to the API endpoint

for the delete collection operation.

Typically these are written to a http.Request.

func NewDeleteCollectionParams

func NewDeleteCollectionParams() *DeleteCollectionParams

NewDeleteCollectionParams creates a new DeleteCollectionParams 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 NewDeleteCollectionParamsWithContext

func NewDeleteCollectionParamsWithContext(ctx context.Context) *DeleteCollectionParams

NewDeleteCollectionParamsWithContext creates a new DeleteCollectionParams object with the ability to set a context for a request.

func NewDeleteCollectionParamsWithHTTPClient

func NewDeleteCollectionParamsWithHTTPClient(client *http.Client) *DeleteCollectionParams

NewDeleteCollectionParamsWithHTTPClient creates a new DeleteCollectionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteCollectionParamsWithTimeout

func NewDeleteCollectionParamsWithTimeout(timeout time.Duration) *DeleteCollectionParams

NewDeleteCollectionParamsWithTimeout creates a new DeleteCollectionParams object with the ability to set a timeout on a request.

func (*DeleteCollectionParams) SetContext

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

SetContext adds the context to the delete collection params

func (*DeleteCollectionParams) SetDefaults

func (o *DeleteCollectionParams) SetDefaults()

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

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

func (*DeleteCollectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete collection params

func (*DeleteCollectionParams) SetSlug

func (o *DeleteCollectionParams) SetSlug(slug string)

SetSlug adds the slug to the delete collection params

func (*DeleteCollectionParams) SetTimeout

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

SetTimeout adds the timeout to the delete collection params

func (*DeleteCollectionParams) WithContext

WithContext adds the context to the delete collection params

func (*DeleteCollectionParams) WithDefaults

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

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

func (*DeleteCollectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete collection params

func (*DeleteCollectionParams) WithSlug

WithSlug adds the slug to the delete collection params

func (*DeleteCollectionParams) WithTimeout

WithTimeout adds the timeout to the delete collection params

func (*DeleteCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCollectionReader

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

DeleteCollectionReader is a Reader for the DeleteCollection structure.

func (*DeleteCollectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDashboardDefault

type DeleteDashboardDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteDashboardDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteDashboardDefault

func NewDeleteDashboardDefault(code int) *DeleteDashboardDefault

NewDeleteDashboardDefault creates a DeleteDashboardDefault with default headers values

func (*DeleteDashboardDefault) Code

func (o *DeleteDashboardDefault) Code() int

Code gets the status code for the delete dashboard default response

func (*DeleteDashboardDefault) Error

func (o *DeleteDashboardDefault) Error() string

func (*DeleteDashboardDefault) GetPayload

func (o *DeleteDashboardDefault) GetPayload() models.GenericError

func (*DeleteDashboardDefault) IsClientError

func (o *DeleteDashboardDefault) IsClientError() bool

IsClientError returns true when this delete dashboard default response has a 4xx status code

func (*DeleteDashboardDefault) IsCode

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

IsCode returns true when this delete dashboard default response a status code equal to that given

func (*DeleteDashboardDefault) IsRedirect

func (o *DeleteDashboardDefault) IsRedirect() bool

IsRedirect returns true when this delete dashboard default response has a 3xx status code

func (*DeleteDashboardDefault) IsServerError

func (o *DeleteDashboardDefault) IsServerError() bool

IsServerError returns true when this delete dashboard default response has a 5xx status code

func (*DeleteDashboardDefault) IsSuccess

func (o *DeleteDashboardDefault) IsSuccess() bool

IsSuccess returns true when this delete dashboard default response has a 2xx status code

func (*DeleteDashboardDefault) String

func (o *DeleteDashboardDefault) String() string

type DeleteDashboardInternalServerError

type DeleteDashboardInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewDeleteDashboardInternalServerError

func NewDeleteDashboardInternalServerError() *DeleteDashboardInternalServerError

NewDeleteDashboardInternalServerError creates a DeleteDashboardInternalServerError with default headers values

func (*DeleteDashboardInternalServerError) Code

Code gets the status code for the delete dashboard internal server error response

func (*DeleteDashboardInternalServerError) Error

func (*DeleteDashboardInternalServerError) GetPayload

func (*DeleteDashboardInternalServerError) IsClientError

func (o *DeleteDashboardInternalServerError) IsClientError() bool

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

func (*DeleteDashboardInternalServerError) IsCode

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

func (*DeleteDashboardInternalServerError) IsRedirect

func (o *DeleteDashboardInternalServerError) IsRedirect() bool

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

func (*DeleteDashboardInternalServerError) IsServerError

func (o *DeleteDashboardInternalServerError) IsServerError() bool

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

func (*DeleteDashboardInternalServerError) IsSuccess

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

func (*DeleteDashboardInternalServerError) String

type DeleteDashboardNotFound

type DeleteDashboardNotFound struct {
	Payload *models.APIError
}

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

Cannot delete the Dashboard because the slug does not exist.

func NewDeleteDashboardNotFound

func NewDeleteDashboardNotFound() *DeleteDashboardNotFound

NewDeleteDashboardNotFound creates a DeleteDashboardNotFound with default headers values

func (*DeleteDashboardNotFound) Code

func (o *DeleteDashboardNotFound) Code() int

Code gets the status code for the delete dashboard not found response

func (*DeleteDashboardNotFound) Error

func (o *DeleteDashboardNotFound) Error() string

func (*DeleteDashboardNotFound) GetPayload

func (o *DeleteDashboardNotFound) GetPayload() *models.APIError

func (*DeleteDashboardNotFound) IsClientError

func (o *DeleteDashboardNotFound) IsClientError() bool

IsClientError returns true when this delete dashboard not found response has a 4xx status code

func (*DeleteDashboardNotFound) IsCode

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

IsCode returns true when this delete dashboard not found response a status code equal to that given

func (*DeleteDashboardNotFound) IsRedirect

func (o *DeleteDashboardNotFound) IsRedirect() bool

IsRedirect returns true when this delete dashboard not found response has a 3xx status code

func (*DeleteDashboardNotFound) IsServerError

func (o *DeleteDashboardNotFound) IsServerError() bool

IsServerError returns true when this delete dashboard not found response has a 5xx status code

func (*DeleteDashboardNotFound) IsSuccess

func (o *DeleteDashboardNotFound) IsSuccess() bool

IsSuccess returns true when this delete dashboard not found response has a 2xx status code

func (*DeleteDashboardNotFound) String

func (o *DeleteDashboardNotFound) String() string

type DeleteDashboardOK

type DeleteDashboardOK struct {
	Payload models.Configv1DeleteDashboardResponse
}

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

A successful response.

func NewDeleteDashboardOK

func NewDeleteDashboardOK() *DeleteDashboardOK

NewDeleteDashboardOK creates a DeleteDashboardOK with default headers values

func (*DeleteDashboardOK) Code

func (o *DeleteDashboardOK) Code() int

Code gets the status code for the delete dashboard o k response

func (*DeleteDashboardOK) Error

func (o *DeleteDashboardOK) Error() string

func (*DeleteDashboardOK) GetPayload

func (*DeleteDashboardOK) IsClientError

func (o *DeleteDashboardOK) IsClientError() bool

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

func (*DeleteDashboardOK) IsCode

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

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

func (*DeleteDashboardOK) IsRedirect

func (o *DeleteDashboardOK) IsRedirect() bool

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

func (*DeleteDashboardOK) IsServerError

func (o *DeleteDashboardOK) IsServerError() bool

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

func (*DeleteDashboardOK) IsSuccess

func (o *DeleteDashboardOK) IsSuccess() bool

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

func (*DeleteDashboardOK) String

func (o *DeleteDashboardOK) String() string

type DeleteDashboardParams

type DeleteDashboardParams struct {

	// Slug.
	Slug string

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

DeleteDashboardParams contains all the parameters to send to the API endpoint

for the delete dashboard operation.

Typically these are written to a http.Request.

func NewDeleteDashboardParams

func NewDeleteDashboardParams() *DeleteDashboardParams

NewDeleteDashboardParams creates a new DeleteDashboardParams 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 NewDeleteDashboardParamsWithContext

func NewDeleteDashboardParamsWithContext(ctx context.Context) *DeleteDashboardParams

NewDeleteDashboardParamsWithContext creates a new DeleteDashboardParams object with the ability to set a context for a request.

func NewDeleteDashboardParamsWithHTTPClient

func NewDeleteDashboardParamsWithHTTPClient(client *http.Client) *DeleteDashboardParams

NewDeleteDashboardParamsWithHTTPClient creates a new DeleteDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDashboardParamsWithTimeout

func NewDeleteDashboardParamsWithTimeout(timeout time.Duration) *DeleteDashboardParams

NewDeleteDashboardParamsWithTimeout creates a new DeleteDashboardParams object with the ability to set a timeout on a request.

func (*DeleteDashboardParams) SetContext

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

SetContext adds the context to the delete dashboard params

func (*DeleteDashboardParams) SetDefaults

func (o *DeleteDashboardParams) SetDefaults()

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

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

func (*DeleteDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete dashboard params

func (*DeleteDashboardParams) SetSlug

func (o *DeleteDashboardParams) SetSlug(slug string)

SetSlug adds the slug to the delete dashboard params

func (*DeleteDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the delete dashboard params

func (*DeleteDashboardParams) WithContext

WithContext adds the context to the delete dashboard params

func (*DeleteDashboardParams) WithDefaults

func (o *DeleteDashboardParams) WithDefaults() *DeleteDashboardParams

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

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

func (*DeleteDashboardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete dashboard params

func (*DeleteDashboardParams) WithSlug

WithSlug adds the slug to the delete dashboard params

func (*DeleteDashboardParams) WithTimeout

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

WithTimeout adds the timeout to the delete dashboard params

func (*DeleteDashboardParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteDashboardReader

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

DeleteDashboardReader is a Reader for the DeleteDashboard structure.

func (*DeleteDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDerivedLabelDefault

type DeleteDerivedLabelDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteDerivedLabelDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteDerivedLabelDefault

func NewDeleteDerivedLabelDefault(code int) *DeleteDerivedLabelDefault

NewDeleteDerivedLabelDefault creates a DeleteDerivedLabelDefault with default headers values

func (*DeleteDerivedLabelDefault) Code

func (o *DeleteDerivedLabelDefault) Code() int

Code gets the status code for the delete derived label default response

func (*DeleteDerivedLabelDefault) Error

func (o *DeleteDerivedLabelDefault) Error() string

func (*DeleteDerivedLabelDefault) GetPayload

func (*DeleteDerivedLabelDefault) IsClientError

func (o *DeleteDerivedLabelDefault) IsClientError() bool

IsClientError returns true when this delete derived label default response has a 4xx status code

func (*DeleteDerivedLabelDefault) IsCode

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

IsCode returns true when this delete derived label default response a status code equal to that given

func (*DeleteDerivedLabelDefault) IsRedirect

func (o *DeleteDerivedLabelDefault) IsRedirect() bool

IsRedirect returns true when this delete derived label default response has a 3xx status code

func (*DeleteDerivedLabelDefault) IsServerError

func (o *DeleteDerivedLabelDefault) IsServerError() bool

IsServerError returns true when this delete derived label default response has a 5xx status code

func (*DeleteDerivedLabelDefault) IsSuccess

func (o *DeleteDerivedLabelDefault) IsSuccess() bool

IsSuccess returns true when this delete derived label default response has a 2xx status code

func (*DeleteDerivedLabelDefault) String

func (o *DeleteDerivedLabelDefault) String() string

type DeleteDerivedLabelInternalServerError

type DeleteDerivedLabelInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewDeleteDerivedLabelInternalServerError

func NewDeleteDerivedLabelInternalServerError() *DeleteDerivedLabelInternalServerError

NewDeleteDerivedLabelInternalServerError creates a DeleteDerivedLabelInternalServerError with default headers values

func (*DeleteDerivedLabelInternalServerError) Code

Code gets the status code for the delete derived label internal server error response

func (*DeleteDerivedLabelInternalServerError) Error

func (*DeleteDerivedLabelInternalServerError) GetPayload

func (*DeleteDerivedLabelInternalServerError) IsClientError

func (o *DeleteDerivedLabelInternalServerError) IsClientError() bool

IsClientError returns true when this delete derived label internal server error response has a 4xx status code

func (*DeleteDerivedLabelInternalServerError) IsCode

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

func (*DeleteDerivedLabelInternalServerError) IsRedirect

IsRedirect returns true when this delete derived label internal server error response has a 3xx status code

func (*DeleteDerivedLabelInternalServerError) IsServerError

func (o *DeleteDerivedLabelInternalServerError) IsServerError() bool

IsServerError returns true when this delete derived label internal server error response has a 5xx status code

func (*DeleteDerivedLabelInternalServerError) IsSuccess

IsSuccess returns true when this delete derived label internal server error response has a 2xx status code

func (*DeleteDerivedLabelInternalServerError) String

type DeleteDerivedLabelNotFound

type DeleteDerivedLabelNotFound struct {
	Payload *models.APIError
}

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

Cannot delete the DerivedLabel because the slug does not exist.

func NewDeleteDerivedLabelNotFound

func NewDeleteDerivedLabelNotFound() *DeleteDerivedLabelNotFound

NewDeleteDerivedLabelNotFound creates a DeleteDerivedLabelNotFound with default headers values

func (*DeleteDerivedLabelNotFound) Code

func (o *DeleteDerivedLabelNotFound) Code() int

Code gets the status code for the delete derived label not found response

func (*DeleteDerivedLabelNotFound) Error

func (*DeleteDerivedLabelNotFound) GetPayload

func (o *DeleteDerivedLabelNotFound) GetPayload() *models.APIError

func (*DeleteDerivedLabelNotFound) IsClientError

func (o *DeleteDerivedLabelNotFound) IsClientError() bool

IsClientError returns true when this delete derived label not found response has a 4xx status code

func (*DeleteDerivedLabelNotFound) IsCode

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

IsCode returns true when this delete derived label not found response a status code equal to that given

func (*DeleteDerivedLabelNotFound) IsRedirect

func (o *DeleteDerivedLabelNotFound) IsRedirect() bool

IsRedirect returns true when this delete derived label not found response has a 3xx status code

func (*DeleteDerivedLabelNotFound) IsServerError

func (o *DeleteDerivedLabelNotFound) IsServerError() bool

IsServerError returns true when this delete derived label not found response has a 5xx status code

func (*DeleteDerivedLabelNotFound) IsSuccess

func (o *DeleteDerivedLabelNotFound) IsSuccess() bool

IsSuccess returns true when this delete derived label not found response has a 2xx status code

func (*DeleteDerivedLabelNotFound) String

func (o *DeleteDerivedLabelNotFound) String() string

type DeleteDerivedLabelOK

type DeleteDerivedLabelOK struct {
	Payload models.Configv1DeleteDerivedLabelResponse
}

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

A successful response.

func NewDeleteDerivedLabelOK

func NewDeleteDerivedLabelOK() *DeleteDerivedLabelOK

NewDeleteDerivedLabelOK creates a DeleteDerivedLabelOK with default headers values

func (*DeleteDerivedLabelOK) Code

func (o *DeleteDerivedLabelOK) Code() int

Code gets the status code for the delete derived label o k response

func (*DeleteDerivedLabelOK) Error

func (o *DeleteDerivedLabelOK) Error() string

func (*DeleteDerivedLabelOK) GetPayload

func (*DeleteDerivedLabelOK) IsClientError

func (o *DeleteDerivedLabelOK) IsClientError() bool

IsClientError returns true when this delete derived label o k response has a 4xx status code

func (*DeleteDerivedLabelOK) IsCode

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

IsCode returns true when this delete derived label o k response a status code equal to that given

func (*DeleteDerivedLabelOK) IsRedirect

func (o *DeleteDerivedLabelOK) IsRedirect() bool

IsRedirect returns true when this delete derived label o k response has a 3xx status code

func (*DeleteDerivedLabelOK) IsServerError

func (o *DeleteDerivedLabelOK) IsServerError() bool

IsServerError returns true when this delete derived label o k response has a 5xx status code

func (*DeleteDerivedLabelOK) IsSuccess

func (o *DeleteDerivedLabelOK) IsSuccess() bool

IsSuccess returns true when this delete derived label o k response has a 2xx status code

func (*DeleteDerivedLabelOK) String

func (o *DeleteDerivedLabelOK) String() string

type DeleteDerivedLabelParams

type DeleteDerivedLabelParams struct {

	// Slug.
	Slug string

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

DeleteDerivedLabelParams contains all the parameters to send to the API endpoint

for the delete derived label operation.

Typically these are written to a http.Request.

func NewDeleteDerivedLabelParams

func NewDeleteDerivedLabelParams() *DeleteDerivedLabelParams

NewDeleteDerivedLabelParams creates a new DeleteDerivedLabelParams 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 NewDeleteDerivedLabelParamsWithContext

func NewDeleteDerivedLabelParamsWithContext(ctx context.Context) *DeleteDerivedLabelParams

NewDeleteDerivedLabelParamsWithContext creates a new DeleteDerivedLabelParams object with the ability to set a context for a request.

func NewDeleteDerivedLabelParamsWithHTTPClient

func NewDeleteDerivedLabelParamsWithHTTPClient(client *http.Client) *DeleteDerivedLabelParams

NewDeleteDerivedLabelParamsWithHTTPClient creates a new DeleteDerivedLabelParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDerivedLabelParamsWithTimeout

func NewDeleteDerivedLabelParamsWithTimeout(timeout time.Duration) *DeleteDerivedLabelParams

NewDeleteDerivedLabelParamsWithTimeout creates a new DeleteDerivedLabelParams object with the ability to set a timeout on a request.

func (*DeleteDerivedLabelParams) SetContext

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

SetContext adds the context to the delete derived label params

func (*DeleteDerivedLabelParams) SetDefaults

func (o *DeleteDerivedLabelParams) SetDefaults()

SetDefaults hydrates default values in the delete derived label params (not the query body).

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

func (*DeleteDerivedLabelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete derived label params

func (*DeleteDerivedLabelParams) SetSlug

func (o *DeleteDerivedLabelParams) SetSlug(slug string)

SetSlug adds the slug to the delete derived label params

func (*DeleteDerivedLabelParams) SetTimeout

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

SetTimeout adds the timeout to the delete derived label params

func (*DeleteDerivedLabelParams) WithContext

WithContext adds the context to the delete derived label params

func (*DeleteDerivedLabelParams) WithDefaults

WithDefaults hydrates default values in the delete derived label params (not the query body).

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

func (*DeleteDerivedLabelParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete derived label params

func (*DeleteDerivedLabelParams) WithSlug

WithSlug adds the slug to the delete derived label params

func (*DeleteDerivedLabelParams) WithTimeout

WithTimeout adds the timeout to the delete derived label params

func (*DeleteDerivedLabelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDerivedLabelReader

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

DeleteDerivedLabelReader is a Reader for the DeleteDerivedLabel structure.

func (*DeleteDerivedLabelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDerivedMetricDefault

type DeleteDerivedMetricDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteDerivedMetricDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteDerivedMetricDefault

func NewDeleteDerivedMetricDefault(code int) *DeleteDerivedMetricDefault

NewDeleteDerivedMetricDefault creates a DeleteDerivedMetricDefault with default headers values

func (*DeleteDerivedMetricDefault) Code

func (o *DeleteDerivedMetricDefault) Code() int

Code gets the status code for the delete derived metric default response

func (*DeleteDerivedMetricDefault) Error

func (*DeleteDerivedMetricDefault) GetPayload

func (*DeleteDerivedMetricDefault) IsClientError

func (o *DeleteDerivedMetricDefault) IsClientError() bool

IsClientError returns true when this delete derived metric default response has a 4xx status code

func (*DeleteDerivedMetricDefault) IsCode

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

IsCode returns true when this delete derived metric default response a status code equal to that given

func (*DeleteDerivedMetricDefault) IsRedirect

func (o *DeleteDerivedMetricDefault) IsRedirect() bool

IsRedirect returns true when this delete derived metric default response has a 3xx status code

func (*DeleteDerivedMetricDefault) IsServerError

func (o *DeleteDerivedMetricDefault) IsServerError() bool

IsServerError returns true when this delete derived metric default response has a 5xx status code

func (*DeleteDerivedMetricDefault) IsSuccess

func (o *DeleteDerivedMetricDefault) IsSuccess() bool

IsSuccess returns true when this delete derived metric default response has a 2xx status code

func (*DeleteDerivedMetricDefault) String

func (o *DeleteDerivedMetricDefault) String() string

type DeleteDerivedMetricInternalServerError

type DeleteDerivedMetricInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewDeleteDerivedMetricInternalServerError

func NewDeleteDerivedMetricInternalServerError() *DeleteDerivedMetricInternalServerError

NewDeleteDerivedMetricInternalServerError creates a DeleteDerivedMetricInternalServerError with default headers values

func (*DeleteDerivedMetricInternalServerError) Code

Code gets the status code for the delete derived metric internal server error response

func (*DeleteDerivedMetricInternalServerError) Error

func (*DeleteDerivedMetricInternalServerError) GetPayload

func (*DeleteDerivedMetricInternalServerError) IsClientError

func (o *DeleteDerivedMetricInternalServerError) IsClientError() bool

IsClientError returns true when this delete derived metric internal server error response has a 4xx status code

func (*DeleteDerivedMetricInternalServerError) IsCode

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

func (*DeleteDerivedMetricInternalServerError) IsRedirect

IsRedirect returns true when this delete derived metric internal server error response has a 3xx status code

func (*DeleteDerivedMetricInternalServerError) IsServerError

func (o *DeleteDerivedMetricInternalServerError) IsServerError() bool

IsServerError returns true when this delete derived metric internal server error response has a 5xx status code

func (*DeleteDerivedMetricInternalServerError) IsSuccess

IsSuccess returns true when this delete derived metric internal server error response has a 2xx status code

func (*DeleteDerivedMetricInternalServerError) String

type DeleteDerivedMetricNotFound

type DeleteDerivedMetricNotFound struct {
	Payload *models.APIError
}

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

Cannot delete the DerivedMetric because the slug does not exist.

func NewDeleteDerivedMetricNotFound

func NewDeleteDerivedMetricNotFound() *DeleteDerivedMetricNotFound

NewDeleteDerivedMetricNotFound creates a DeleteDerivedMetricNotFound with default headers values

func (*DeleteDerivedMetricNotFound) Code

func (o *DeleteDerivedMetricNotFound) Code() int

Code gets the status code for the delete derived metric not found response

func (*DeleteDerivedMetricNotFound) Error

func (*DeleteDerivedMetricNotFound) GetPayload

func (o *DeleteDerivedMetricNotFound) GetPayload() *models.APIError

func (*DeleteDerivedMetricNotFound) IsClientError

func (o *DeleteDerivedMetricNotFound) IsClientError() bool

IsClientError returns true when this delete derived metric not found response has a 4xx status code

func (*DeleteDerivedMetricNotFound) IsCode

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

IsCode returns true when this delete derived metric not found response a status code equal to that given

func (*DeleteDerivedMetricNotFound) IsRedirect

func (o *DeleteDerivedMetricNotFound) IsRedirect() bool

IsRedirect returns true when this delete derived metric not found response has a 3xx status code

func (*DeleteDerivedMetricNotFound) IsServerError

func (o *DeleteDerivedMetricNotFound) IsServerError() bool

IsServerError returns true when this delete derived metric not found response has a 5xx status code

func (*DeleteDerivedMetricNotFound) IsSuccess

func (o *DeleteDerivedMetricNotFound) IsSuccess() bool

IsSuccess returns true when this delete derived metric not found response has a 2xx status code

func (*DeleteDerivedMetricNotFound) String

func (o *DeleteDerivedMetricNotFound) String() string

type DeleteDerivedMetricOK

type DeleteDerivedMetricOK struct {
	Payload models.Configv1DeleteDerivedMetricResponse
}

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

A successful response.

func NewDeleteDerivedMetricOK

func NewDeleteDerivedMetricOK() *DeleteDerivedMetricOK

NewDeleteDerivedMetricOK creates a DeleteDerivedMetricOK with default headers values

func (*DeleteDerivedMetricOK) Code

func (o *DeleteDerivedMetricOK) Code() int

Code gets the status code for the delete derived metric o k response

func (*DeleteDerivedMetricOK) Error

func (o *DeleteDerivedMetricOK) Error() string

func (*DeleteDerivedMetricOK) GetPayload

func (*DeleteDerivedMetricOK) IsClientError

func (o *DeleteDerivedMetricOK) IsClientError() bool

IsClientError returns true when this delete derived metric o k response has a 4xx status code

func (*DeleteDerivedMetricOK) IsCode

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

IsCode returns true when this delete derived metric o k response a status code equal to that given

func (*DeleteDerivedMetricOK) IsRedirect

func (o *DeleteDerivedMetricOK) IsRedirect() bool

IsRedirect returns true when this delete derived metric o k response has a 3xx status code

func (*DeleteDerivedMetricOK) IsServerError

func (o *DeleteDerivedMetricOK) IsServerError() bool

IsServerError returns true when this delete derived metric o k response has a 5xx status code

func (*DeleteDerivedMetricOK) IsSuccess

func (o *DeleteDerivedMetricOK) IsSuccess() bool

IsSuccess returns true when this delete derived metric o k response has a 2xx status code

func (*DeleteDerivedMetricOK) String

func (o *DeleteDerivedMetricOK) String() string

type DeleteDerivedMetricParams

type DeleteDerivedMetricParams struct {

	// Slug.
	Slug string

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

DeleteDerivedMetricParams contains all the parameters to send to the API endpoint

for the delete derived metric operation.

Typically these are written to a http.Request.

func NewDeleteDerivedMetricParams

func NewDeleteDerivedMetricParams() *DeleteDerivedMetricParams

NewDeleteDerivedMetricParams creates a new DeleteDerivedMetricParams 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 NewDeleteDerivedMetricParamsWithContext

func NewDeleteDerivedMetricParamsWithContext(ctx context.Context) *DeleteDerivedMetricParams

NewDeleteDerivedMetricParamsWithContext creates a new DeleteDerivedMetricParams object with the ability to set a context for a request.

func NewDeleteDerivedMetricParamsWithHTTPClient

func NewDeleteDerivedMetricParamsWithHTTPClient(client *http.Client) *DeleteDerivedMetricParams

NewDeleteDerivedMetricParamsWithHTTPClient creates a new DeleteDerivedMetricParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDerivedMetricParamsWithTimeout

func NewDeleteDerivedMetricParamsWithTimeout(timeout time.Duration) *DeleteDerivedMetricParams

NewDeleteDerivedMetricParamsWithTimeout creates a new DeleteDerivedMetricParams object with the ability to set a timeout on a request.

func (*DeleteDerivedMetricParams) SetContext

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

SetContext adds the context to the delete derived metric params

func (*DeleteDerivedMetricParams) SetDefaults

func (o *DeleteDerivedMetricParams) SetDefaults()

SetDefaults hydrates default values in the delete derived metric params (not the query body).

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

func (*DeleteDerivedMetricParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete derived metric params

func (*DeleteDerivedMetricParams) SetSlug

func (o *DeleteDerivedMetricParams) SetSlug(slug string)

SetSlug adds the slug to the delete derived metric params

func (*DeleteDerivedMetricParams) SetTimeout

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

SetTimeout adds the timeout to the delete derived metric params

func (*DeleteDerivedMetricParams) WithContext

WithContext adds the context to the delete derived metric params

func (*DeleteDerivedMetricParams) WithDefaults

WithDefaults hydrates default values in the delete derived metric params (not the query body).

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

func (*DeleteDerivedMetricParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete derived metric params

func (*DeleteDerivedMetricParams) WithSlug

WithSlug adds the slug to the delete derived metric params

func (*DeleteDerivedMetricParams) WithTimeout

WithTimeout adds the timeout to the delete derived metric params

func (*DeleteDerivedMetricParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDerivedMetricReader

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

DeleteDerivedMetricReader is a Reader for the DeleteDerivedMetric structure.

func (*DeleteDerivedMetricReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDropRuleDefault

type DeleteDropRuleDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteDropRuleDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteDropRuleDefault

func NewDeleteDropRuleDefault(code int) *DeleteDropRuleDefault

NewDeleteDropRuleDefault creates a DeleteDropRuleDefault with default headers values

func (*DeleteDropRuleDefault) Code

func (o *DeleteDropRuleDefault) Code() int

Code gets the status code for the delete drop rule default response

func (*DeleteDropRuleDefault) Error

func (o *DeleteDropRuleDefault) Error() string

func (*DeleteDropRuleDefault) GetPayload

func (o *DeleteDropRuleDefault) GetPayload() models.GenericError

func (*DeleteDropRuleDefault) IsClientError

func (o *DeleteDropRuleDefault) IsClientError() bool

IsClientError returns true when this delete drop rule default response has a 4xx status code

func (*DeleteDropRuleDefault) IsCode

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

IsCode returns true when this delete drop rule default response a status code equal to that given

func (*DeleteDropRuleDefault) IsRedirect

func (o *DeleteDropRuleDefault) IsRedirect() bool

IsRedirect returns true when this delete drop rule default response has a 3xx status code

func (*DeleteDropRuleDefault) IsServerError

func (o *DeleteDropRuleDefault) IsServerError() bool

IsServerError returns true when this delete drop rule default response has a 5xx status code

func (*DeleteDropRuleDefault) IsSuccess

func (o *DeleteDropRuleDefault) IsSuccess() bool

IsSuccess returns true when this delete drop rule default response has a 2xx status code

func (*DeleteDropRuleDefault) String

func (o *DeleteDropRuleDefault) String() string

type DeleteDropRuleInternalServerError

type DeleteDropRuleInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewDeleteDropRuleInternalServerError

func NewDeleteDropRuleInternalServerError() *DeleteDropRuleInternalServerError

NewDeleteDropRuleInternalServerError creates a DeleteDropRuleInternalServerError with default headers values

func (*DeleteDropRuleInternalServerError) Code

Code gets the status code for the delete drop rule internal server error response

func (*DeleteDropRuleInternalServerError) Error

func (*DeleteDropRuleInternalServerError) GetPayload

func (*DeleteDropRuleInternalServerError) IsClientError

func (o *DeleteDropRuleInternalServerError) IsClientError() bool

IsClientError returns true when this delete drop rule internal server error response has a 4xx status code

func (*DeleteDropRuleInternalServerError) IsCode

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

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

func (*DeleteDropRuleInternalServerError) IsRedirect

func (o *DeleteDropRuleInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete drop rule internal server error response has a 3xx status code

func (*DeleteDropRuleInternalServerError) IsServerError

func (o *DeleteDropRuleInternalServerError) IsServerError() bool

IsServerError returns true when this delete drop rule internal server error response has a 5xx status code

func (*DeleteDropRuleInternalServerError) IsSuccess

func (o *DeleteDropRuleInternalServerError) IsSuccess() bool

IsSuccess returns true when this delete drop rule internal server error response has a 2xx status code

func (*DeleteDropRuleInternalServerError) String

type DeleteDropRuleNotFound

type DeleteDropRuleNotFound struct {
	Payload *models.APIError
}

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

Cannot delete the DropRule because the slug does not exist.

func NewDeleteDropRuleNotFound

func NewDeleteDropRuleNotFound() *DeleteDropRuleNotFound

NewDeleteDropRuleNotFound creates a DeleteDropRuleNotFound with default headers values

func (*DeleteDropRuleNotFound) Code

func (o *DeleteDropRuleNotFound) Code() int

Code gets the status code for the delete drop rule not found response

func (*DeleteDropRuleNotFound) Error

func (o *DeleteDropRuleNotFound) Error() string

func (*DeleteDropRuleNotFound) GetPayload

func (o *DeleteDropRuleNotFound) GetPayload() *models.APIError

func (*DeleteDropRuleNotFound) IsClientError

func (o *DeleteDropRuleNotFound) IsClientError() bool

IsClientError returns true when this delete drop rule not found response has a 4xx status code

func (*DeleteDropRuleNotFound) IsCode

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

IsCode returns true when this delete drop rule not found response a status code equal to that given

func (*DeleteDropRuleNotFound) IsRedirect

func (o *DeleteDropRuleNotFound) IsRedirect() bool

IsRedirect returns true when this delete drop rule not found response has a 3xx status code

func (*DeleteDropRuleNotFound) IsServerError

func (o *DeleteDropRuleNotFound) IsServerError() bool

IsServerError returns true when this delete drop rule not found response has a 5xx status code

func (*DeleteDropRuleNotFound) IsSuccess

func (o *DeleteDropRuleNotFound) IsSuccess() bool

IsSuccess returns true when this delete drop rule not found response has a 2xx status code

func (*DeleteDropRuleNotFound) String

func (o *DeleteDropRuleNotFound) String() string

type DeleteDropRuleOK

type DeleteDropRuleOK struct {
	Payload models.Configv1DeleteDropRuleResponse
}

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

A successful response.

func NewDeleteDropRuleOK

func NewDeleteDropRuleOK() *DeleteDropRuleOK

NewDeleteDropRuleOK creates a DeleteDropRuleOK with default headers values

func (*DeleteDropRuleOK) Code

func (o *DeleteDropRuleOK) Code() int

Code gets the status code for the delete drop rule o k response

func (*DeleteDropRuleOK) Error

func (o *DeleteDropRuleOK) Error() string

func (*DeleteDropRuleOK) GetPayload

func (*DeleteDropRuleOK) IsClientError

func (o *DeleteDropRuleOK) IsClientError() bool

IsClientError returns true when this delete drop rule o k response has a 4xx status code

func (*DeleteDropRuleOK) IsCode

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

IsCode returns true when this delete drop rule o k response a status code equal to that given

func (*DeleteDropRuleOK) IsRedirect

func (o *DeleteDropRuleOK) IsRedirect() bool

IsRedirect returns true when this delete drop rule o k response has a 3xx status code

func (*DeleteDropRuleOK) IsServerError

func (o *DeleteDropRuleOK) IsServerError() bool

IsServerError returns true when this delete drop rule o k response has a 5xx status code

func (*DeleteDropRuleOK) IsSuccess

func (o *DeleteDropRuleOK) IsSuccess() bool

IsSuccess returns true when this delete drop rule o k response has a 2xx status code

func (*DeleteDropRuleOK) String

func (o *DeleteDropRuleOK) String() string

type DeleteDropRuleParams

type DeleteDropRuleParams struct {

	// Slug.
	Slug string

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

DeleteDropRuleParams contains all the parameters to send to the API endpoint

for the delete drop rule operation.

Typically these are written to a http.Request.

func NewDeleteDropRuleParams

func NewDeleteDropRuleParams() *DeleteDropRuleParams

NewDeleteDropRuleParams creates a new DeleteDropRuleParams 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 NewDeleteDropRuleParamsWithContext

func NewDeleteDropRuleParamsWithContext(ctx context.Context) *DeleteDropRuleParams

NewDeleteDropRuleParamsWithContext creates a new DeleteDropRuleParams object with the ability to set a context for a request.

func NewDeleteDropRuleParamsWithHTTPClient

func NewDeleteDropRuleParamsWithHTTPClient(client *http.Client) *DeleteDropRuleParams

NewDeleteDropRuleParamsWithHTTPClient creates a new DeleteDropRuleParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDropRuleParamsWithTimeout

func NewDeleteDropRuleParamsWithTimeout(timeout time.Duration) *DeleteDropRuleParams

NewDeleteDropRuleParamsWithTimeout creates a new DeleteDropRuleParams object with the ability to set a timeout on a request.

func (*DeleteDropRuleParams) SetContext

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

SetContext adds the context to the delete drop rule params

func (*DeleteDropRuleParams) SetDefaults

func (o *DeleteDropRuleParams) SetDefaults()

SetDefaults hydrates default values in the delete drop rule params (not the query body).

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

func (*DeleteDropRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete drop rule params

func (*DeleteDropRuleParams) SetSlug

func (o *DeleteDropRuleParams) SetSlug(slug string)

SetSlug adds the slug to the delete drop rule params

func (*DeleteDropRuleParams) SetTimeout

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

SetTimeout adds the timeout to the delete drop rule params

func (*DeleteDropRuleParams) WithContext

WithContext adds the context to the delete drop rule params

func (*DeleteDropRuleParams) WithDefaults

func (o *DeleteDropRuleParams) WithDefaults() *DeleteDropRuleParams

WithDefaults hydrates default values in the delete drop rule params (not the query body).

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

func (*DeleteDropRuleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete drop rule params

func (*DeleteDropRuleParams) WithSlug

WithSlug adds the slug to the delete drop rule params

func (*DeleteDropRuleParams) WithTimeout

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

WithTimeout adds the timeout to the delete drop rule params

func (*DeleteDropRuleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteDropRuleReader

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

DeleteDropRuleReader is a Reader for the DeleteDropRule structure.

func (*DeleteDropRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteGrafanaDashboardDefault

type DeleteGrafanaDashboardDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteGrafanaDashboardDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteGrafanaDashboardDefault

func NewDeleteGrafanaDashboardDefault(code int) *DeleteGrafanaDashboardDefault

NewDeleteGrafanaDashboardDefault creates a DeleteGrafanaDashboardDefault with default headers values

func (*DeleteGrafanaDashboardDefault) Code

Code gets the status code for the delete grafana dashboard default response

func (*DeleteGrafanaDashboardDefault) Error

func (*DeleteGrafanaDashboardDefault) GetPayload

func (*DeleteGrafanaDashboardDefault) IsClientError

func (o *DeleteGrafanaDashboardDefault) IsClientError() bool

IsClientError returns true when this delete grafana dashboard default response has a 4xx status code

func (*DeleteGrafanaDashboardDefault) IsCode

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

IsCode returns true when this delete grafana dashboard default response a status code equal to that given

func (*DeleteGrafanaDashboardDefault) IsRedirect

func (o *DeleteGrafanaDashboardDefault) IsRedirect() bool

IsRedirect returns true when this delete grafana dashboard default response has a 3xx status code

func (*DeleteGrafanaDashboardDefault) IsServerError

func (o *DeleteGrafanaDashboardDefault) IsServerError() bool

IsServerError returns true when this delete grafana dashboard default response has a 5xx status code

func (*DeleteGrafanaDashboardDefault) IsSuccess

func (o *DeleteGrafanaDashboardDefault) IsSuccess() bool

IsSuccess returns true when this delete grafana dashboard default response has a 2xx status code

func (*DeleteGrafanaDashboardDefault) String

type DeleteGrafanaDashboardInternalServerError

type DeleteGrafanaDashboardInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewDeleteGrafanaDashboardInternalServerError

func NewDeleteGrafanaDashboardInternalServerError() *DeleteGrafanaDashboardInternalServerError

NewDeleteGrafanaDashboardInternalServerError creates a DeleteGrafanaDashboardInternalServerError with default headers values

func (*DeleteGrafanaDashboardInternalServerError) Code

Code gets the status code for the delete grafana dashboard internal server error response

func (*DeleteGrafanaDashboardInternalServerError) Error

func (*DeleteGrafanaDashboardInternalServerError) GetPayload

func (*DeleteGrafanaDashboardInternalServerError) IsClientError

IsClientError returns true when this delete grafana dashboard internal server error response has a 4xx status code

func (*DeleteGrafanaDashboardInternalServerError) IsCode

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

func (*DeleteGrafanaDashboardInternalServerError) IsRedirect

IsRedirect returns true when this delete grafana dashboard internal server error response has a 3xx status code

func (*DeleteGrafanaDashboardInternalServerError) IsServerError

IsServerError returns true when this delete grafana dashboard internal server error response has a 5xx status code

func (*DeleteGrafanaDashboardInternalServerError) IsSuccess

IsSuccess returns true when this delete grafana dashboard internal server error response has a 2xx status code

func (*DeleteGrafanaDashboardInternalServerError) String

type DeleteGrafanaDashboardNotFound

type DeleteGrafanaDashboardNotFound struct {
	Payload *models.APIError
}

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

Cannot delete the GrafanaDashboard because the slug does not exist.

func NewDeleteGrafanaDashboardNotFound

func NewDeleteGrafanaDashboardNotFound() *DeleteGrafanaDashboardNotFound

NewDeleteGrafanaDashboardNotFound creates a DeleteGrafanaDashboardNotFound with default headers values

func (*DeleteGrafanaDashboardNotFound) Code

Code gets the status code for the delete grafana dashboard not found response

func (*DeleteGrafanaDashboardNotFound) Error

func (*DeleteGrafanaDashboardNotFound) GetPayload

func (*DeleteGrafanaDashboardNotFound) IsClientError

func (o *DeleteGrafanaDashboardNotFound) IsClientError() bool

IsClientError returns true when this delete grafana dashboard not found response has a 4xx status code

func (*DeleteGrafanaDashboardNotFound) IsCode

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

IsCode returns true when this delete grafana dashboard not found response a status code equal to that given

func (*DeleteGrafanaDashboardNotFound) IsRedirect

func (o *DeleteGrafanaDashboardNotFound) IsRedirect() bool

IsRedirect returns true when this delete grafana dashboard not found response has a 3xx status code

func (*DeleteGrafanaDashboardNotFound) IsServerError

func (o *DeleteGrafanaDashboardNotFound) IsServerError() bool

IsServerError returns true when this delete grafana dashboard not found response has a 5xx status code

func (*DeleteGrafanaDashboardNotFound) IsSuccess

func (o *DeleteGrafanaDashboardNotFound) IsSuccess() bool

IsSuccess returns true when this delete grafana dashboard not found response has a 2xx status code

func (*DeleteGrafanaDashboardNotFound) String

type DeleteGrafanaDashboardOK

type DeleteGrafanaDashboardOK struct {
	Payload models.Configv1DeleteGrafanaDashboardResponse
}

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

A successful response.

func NewDeleteGrafanaDashboardOK

func NewDeleteGrafanaDashboardOK() *DeleteGrafanaDashboardOK

NewDeleteGrafanaDashboardOK creates a DeleteGrafanaDashboardOK with default headers values

func (*DeleteGrafanaDashboardOK) Code

func (o *DeleteGrafanaDashboardOK) Code() int

Code gets the status code for the delete grafana dashboard o k response

func (*DeleteGrafanaDashboardOK) Error

func (o *DeleteGrafanaDashboardOK) Error() string

func (*DeleteGrafanaDashboardOK) GetPayload

func (*DeleteGrafanaDashboardOK) IsClientError

func (o *DeleteGrafanaDashboardOK) IsClientError() bool

IsClientError returns true when this delete grafana dashboard o k response has a 4xx status code

func (*DeleteGrafanaDashboardOK) IsCode

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

IsCode returns true when this delete grafana dashboard o k response a status code equal to that given

func (*DeleteGrafanaDashboardOK) IsRedirect

func (o *DeleteGrafanaDashboardOK) IsRedirect() bool

IsRedirect returns true when this delete grafana dashboard o k response has a 3xx status code

func (*DeleteGrafanaDashboardOK) IsServerError

func (o *DeleteGrafanaDashboardOK) IsServerError() bool

IsServerError returns true when this delete grafana dashboard o k response has a 5xx status code

func (*DeleteGrafanaDashboardOK) IsSuccess

func (o *DeleteGrafanaDashboardOK) IsSuccess() bool

IsSuccess returns true when this delete grafana dashboard o k response has a 2xx status code

func (*DeleteGrafanaDashboardOK) String

func (o *DeleteGrafanaDashboardOK) String() string

type DeleteGrafanaDashboardParams

type DeleteGrafanaDashboardParams struct {

	// Slug.
	Slug string

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

DeleteGrafanaDashboardParams contains all the parameters to send to the API endpoint

for the delete grafana dashboard operation.

Typically these are written to a http.Request.

func NewDeleteGrafanaDashboardParams

func NewDeleteGrafanaDashboardParams() *DeleteGrafanaDashboardParams

NewDeleteGrafanaDashboardParams creates a new DeleteGrafanaDashboardParams 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 NewDeleteGrafanaDashboardParamsWithContext

func NewDeleteGrafanaDashboardParamsWithContext(ctx context.Context) *DeleteGrafanaDashboardParams

NewDeleteGrafanaDashboardParamsWithContext creates a new DeleteGrafanaDashboardParams object with the ability to set a context for a request.

func NewDeleteGrafanaDashboardParamsWithHTTPClient

func NewDeleteGrafanaDashboardParamsWithHTTPClient(client *http.Client) *DeleteGrafanaDashboardParams

NewDeleteGrafanaDashboardParamsWithHTTPClient creates a new DeleteGrafanaDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteGrafanaDashboardParamsWithTimeout

func NewDeleteGrafanaDashboardParamsWithTimeout(timeout time.Duration) *DeleteGrafanaDashboardParams

NewDeleteGrafanaDashboardParamsWithTimeout creates a new DeleteGrafanaDashboardParams object with the ability to set a timeout on a request.

func (*DeleteGrafanaDashboardParams) SetContext

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

SetContext adds the context to the delete grafana dashboard params

func (*DeleteGrafanaDashboardParams) SetDefaults

func (o *DeleteGrafanaDashboardParams) SetDefaults()

SetDefaults hydrates default values in the delete grafana dashboard params (not the query body).

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

func (*DeleteGrafanaDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete grafana dashboard params

func (*DeleteGrafanaDashboardParams) SetSlug

func (o *DeleteGrafanaDashboardParams) SetSlug(slug string)

SetSlug adds the slug to the delete grafana dashboard params

func (*DeleteGrafanaDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the delete grafana dashboard params

func (*DeleteGrafanaDashboardParams) WithContext

WithContext adds the context to the delete grafana dashboard params

func (*DeleteGrafanaDashboardParams) WithDefaults

WithDefaults hydrates default values in the delete grafana dashboard params (not the query body).

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

func (*DeleteGrafanaDashboardParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete grafana dashboard params

func (*DeleteGrafanaDashboardParams) WithSlug

WithSlug adds the slug to the delete grafana dashboard params

func (*DeleteGrafanaDashboardParams) WithTimeout

WithTimeout adds the timeout to the delete grafana dashboard params

func (*DeleteGrafanaDashboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteGrafanaDashboardReader

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

DeleteGrafanaDashboardReader is a Reader for the DeleteGrafanaDashboard structure.

func (*DeleteGrafanaDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteMappingRuleDefault

type DeleteMappingRuleDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteMappingRuleDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteMappingRuleDefault

func NewDeleteMappingRuleDefault(code int) *DeleteMappingRuleDefault

NewDeleteMappingRuleDefault creates a DeleteMappingRuleDefault with default headers values

func (*DeleteMappingRuleDefault) Code

func (o *DeleteMappingRuleDefault) Code() int

Code gets the status code for the delete mapping rule default response

func (*DeleteMappingRuleDefault) Error

func (o *DeleteMappingRuleDefault) Error() string

func (*DeleteMappingRuleDefault) GetPayload

func (*DeleteMappingRuleDefault) IsClientError

func (o *DeleteMappingRuleDefault) IsClientError() bool

IsClientError returns true when this delete mapping rule default response has a 4xx status code

func (*DeleteMappingRuleDefault) IsCode

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

IsCode returns true when this delete mapping rule default response a status code equal to that given

func (*DeleteMappingRuleDefault) IsRedirect

func (o *DeleteMappingRuleDefault) IsRedirect() bool

IsRedirect returns true when this delete mapping rule default response has a 3xx status code

func (*DeleteMappingRuleDefault) IsServerError

func (o *DeleteMappingRuleDefault) IsServerError() bool

IsServerError returns true when this delete mapping rule default response has a 5xx status code

func (*DeleteMappingRuleDefault) IsSuccess

func (o *DeleteMappingRuleDefault) IsSuccess() bool

IsSuccess returns true when this delete mapping rule default response has a 2xx status code

func (*DeleteMappingRuleDefault) String

func (o *DeleteMappingRuleDefault) String() string

type DeleteMappingRuleInternalServerError

type DeleteMappingRuleInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewDeleteMappingRuleInternalServerError

func NewDeleteMappingRuleInternalServerError() *DeleteMappingRuleInternalServerError

NewDeleteMappingRuleInternalServerError creates a DeleteMappingRuleInternalServerError with default headers values

func (*DeleteMappingRuleInternalServerError) Code

Code gets the status code for the delete mapping rule internal server error response

func (*DeleteMappingRuleInternalServerError) Error

func (*DeleteMappingRuleInternalServerError) GetPayload

func (*DeleteMappingRuleInternalServerError) IsClientError

func (o *DeleteMappingRuleInternalServerError) IsClientError() bool

IsClientError returns true when this delete mapping rule internal server error response has a 4xx status code

func (*DeleteMappingRuleInternalServerError) IsCode

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

func (*DeleteMappingRuleInternalServerError) IsRedirect

IsRedirect returns true when this delete mapping rule internal server error response has a 3xx status code

func (*DeleteMappingRuleInternalServerError) IsServerError

func (o *DeleteMappingRuleInternalServerError) IsServerError() bool

IsServerError returns true when this delete mapping rule internal server error response has a 5xx status code

func (*DeleteMappingRuleInternalServerError) IsSuccess

IsSuccess returns true when this delete mapping rule internal server error response has a 2xx status code

func (*DeleteMappingRuleInternalServerError) String

type DeleteMappingRuleNotFound

type DeleteMappingRuleNotFound struct {
	Payload *models.APIError
}

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

Cannot delete the MappingRule because the slug does not exist.

func NewDeleteMappingRuleNotFound

func NewDeleteMappingRuleNotFound() *DeleteMappingRuleNotFound

NewDeleteMappingRuleNotFound creates a DeleteMappingRuleNotFound with default headers values

func (*DeleteMappingRuleNotFound) Code

func (o *DeleteMappingRuleNotFound) Code() int

Code gets the status code for the delete mapping rule not found response

func (*DeleteMappingRuleNotFound) Error

func (o *DeleteMappingRuleNotFound) Error() string

func (*DeleteMappingRuleNotFound) GetPayload

func (o *DeleteMappingRuleNotFound) GetPayload() *models.APIError

func (*DeleteMappingRuleNotFound) IsClientError

func (o *DeleteMappingRuleNotFound) IsClientError() bool

IsClientError returns true when this delete mapping rule not found response has a 4xx status code

func (*DeleteMappingRuleNotFound) IsCode

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

IsCode returns true when this delete mapping rule not found response a status code equal to that given

func (*DeleteMappingRuleNotFound) IsRedirect

func (o *DeleteMappingRuleNotFound) IsRedirect() bool

IsRedirect returns true when this delete mapping rule not found response has a 3xx status code

func (*DeleteMappingRuleNotFound) IsServerError

func (o *DeleteMappingRuleNotFound) IsServerError() bool

IsServerError returns true when this delete mapping rule not found response has a 5xx status code

func (*DeleteMappingRuleNotFound) IsSuccess

func (o *DeleteMappingRuleNotFound) IsSuccess() bool

IsSuccess returns true when this delete mapping rule not found response has a 2xx status code

func (*DeleteMappingRuleNotFound) String

func (o *DeleteMappingRuleNotFound) String() string

type DeleteMappingRuleOK

type DeleteMappingRuleOK struct {
	Payload models.Configv1DeleteMappingRuleResponse
}

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

A successful response.

func NewDeleteMappingRuleOK

func NewDeleteMappingRuleOK() *DeleteMappingRuleOK

NewDeleteMappingRuleOK creates a DeleteMappingRuleOK with default headers values

func (*DeleteMappingRuleOK) Code

func (o *DeleteMappingRuleOK) Code() int

Code gets the status code for the delete mapping rule o k response

func (*DeleteMappingRuleOK) Error

func (o *DeleteMappingRuleOK) Error() string

func (*DeleteMappingRuleOK) GetPayload

func (*DeleteMappingRuleOK) IsClientError

func (o *DeleteMappingRuleOK) IsClientError() bool

IsClientError returns true when this delete mapping rule o k response has a 4xx status code

func (*DeleteMappingRuleOK) IsCode

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

IsCode returns true when this delete mapping rule o k response a status code equal to that given

func (*DeleteMappingRuleOK) IsRedirect

func (o *DeleteMappingRuleOK) IsRedirect() bool

IsRedirect returns true when this delete mapping rule o k response has a 3xx status code

func (*DeleteMappingRuleOK) IsServerError

func (o *DeleteMappingRuleOK) IsServerError() bool

IsServerError returns true when this delete mapping rule o k response has a 5xx status code

func (*DeleteMappingRuleOK) IsSuccess

func (o *DeleteMappingRuleOK) IsSuccess() bool

IsSuccess returns true when this delete mapping rule o k response has a 2xx status code

func (*DeleteMappingRuleOK) String

func (o *DeleteMappingRuleOK) String() string

type DeleteMappingRuleParams

type DeleteMappingRuleParams struct {

	// Slug.
	Slug string

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

DeleteMappingRuleParams contains all the parameters to send to the API endpoint

for the delete mapping rule operation.

Typically these are written to a http.Request.

func NewDeleteMappingRuleParams

func NewDeleteMappingRuleParams() *DeleteMappingRuleParams

NewDeleteMappingRuleParams creates a new DeleteMappingRuleParams 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 NewDeleteMappingRuleParamsWithContext

func NewDeleteMappingRuleParamsWithContext(ctx context.Context) *DeleteMappingRuleParams

NewDeleteMappingRuleParamsWithContext creates a new DeleteMappingRuleParams object with the ability to set a context for a request.

func NewDeleteMappingRuleParamsWithHTTPClient

func NewDeleteMappingRuleParamsWithHTTPClient(client *http.Client) *DeleteMappingRuleParams

NewDeleteMappingRuleParamsWithHTTPClient creates a new DeleteMappingRuleParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteMappingRuleParamsWithTimeout

func NewDeleteMappingRuleParamsWithTimeout(timeout time.Duration) *DeleteMappingRuleParams

NewDeleteMappingRuleParamsWithTimeout creates a new DeleteMappingRuleParams object with the ability to set a timeout on a request.

func (*DeleteMappingRuleParams) SetContext

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

SetContext adds the context to the delete mapping rule params

func (*DeleteMappingRuleParams) SetDefaults

func (o *DeleteMappingRuleParams) SetDefaults()

SetDefaults hydrates default values in the delete mapping rule params (not the query body).

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

func (*DeleteMappingRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete mapping rule params

func (*DeleteMappingRuleParams) SetSlug

func (o *DeleteMappingRuleParams) SetSlug(slug string)

SetSlug adds the slug to the delete mapping rule params

func (*DeleteMappingRuleParams) SetTimeout

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

SetTimeout adds the timeout to the delete mapping rule params

func (*DeleteMappingRuleParams) WithContext

WithContext adds the context to the delete mapping rule params

func (*DeleteMappingRuleParams) WithDefaults

WithDefaults hydrates default values in the delete mapping rule params (not the query body).

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

func (*DeleteMappingRuleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete mapping rule params

func (*DeleteMappingRuleParams) WithSlug

WithSlug adds the slug to the delete mapping rule params

func (*DeleteMappingRuleParams) WithTimeout

WithTimeout adds the timeout to the delete mapping rule params

func (*DeleteMappingRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteMappingRuleReader

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

DeleteMappingRuleReader is a Reader for the DeleteMappingRule structure.

func (*DeleteMappingRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteMonitorDefault

type DeleteMonitorDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteMonitorDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteMonitorDefault

func NewDeleteMonitorDefault(code int) *DeleteMonitorDefault

NewDeleteMonitorDefault creates a DeleteMonitorDefault with default headers values

func (*DeleteMonitorDefault) Code

func (o *DeleteMonitorDefault) Code() int

Code gets the status code for the delete monitor default response

func (*DeleteMonitorDefault) Error

func (o *DeleteMonitorDefault) Error() string

func (*DeleteMonitorDefault) GetPayload

func (o *DeleteMonitorDefault) GetPayload() models.GenericError

func (*DeleteMonitorDefault) IsClientError

func (o *DeleteMonitorDefault) IsClientError() bool

IsClientError returns true when this delete monitor default response has a 4xx status code

func (*DeleteMonitorDefault) IsCode

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

IsCode returns true when this delete monitor default response a status code equal to that given

func (*DeleteMonitorDefault) IsRedirect

func (o *DeleteMonitorDefault) IsRedirect() bool

IsRedirect returns true when this delete monitor default response has a 3xx status code

func (*DeleteMonitorDefault) IsServerError

func (o *DeleteMonitorDefault) IsServerError() bool

IsServerError returns true when this delete monitor default response has a 5xx status code

func (*DeleteMonitorDefault) IsSuccess

func (o *DeleteMonitorDefault) IsSuccess() bool

IsSuccess returns true when this delete monitor default response has a 2xx status code

func (*DeleteMonitorDefault) String

func (o *DeleteMonitorDefault) String() string

type DeleteMonitorInternalServerError

type DeleteMonitorInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewDeleteMonitorInternalServerError

func NewDeleteMonitorInternalServerError() *DeleteMonitorInternalServerError

NewDeleteMonitorInternalServerError creates a DeleteMonitorInternalServerError with default headers values

func (*DeleteMonitorInternalServerError) Code

Code gets the status code for the delete monitor internal server error response

func (*DeleteMonitorInternalServerError) Error

func (*DeleteMonitorInternalServerError) GetPayload

func (*DeleteMonitorInternalServerError) IsClientError

func (o *DeleteMonitorInternalServerError) IsClientError() bool

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

func (*DeleteMonitorInternalServerError) IsCode

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

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

func (*DeleteMonitorInternalServerError) IsRedirect

func (o *DeleteMonitorInternalServerError) IsRedirect() bool

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

func (*DeleteMonitorInternalServerError) IsServerError

func (o *DeleteMonitorInternalServerError) IsServerError() bool

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

func (*DeleteMonitorInternalServerError) IsSuccess

func (o *DeleteMonitorInternalServerError) IsSuccess() bool

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

func (*DeleteMonitorInternalServerError) String

type DeleteMonitorNotFound

type DeleteMonitorNotFound struct {
	Payload *models.APIError
}

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

Cannot delete the Monitor because the slug does not exist.

func NewDeleteMonitorNotFound

func NewDeleteMonitorNotFound() *DeleteMonitorNotFound

NewDeleteMonitorNotFound creates a DeleteMonitorNotFound with default headers values

func (*DeleteMonitorNotFound) Code

func (o *DeleteMonitorNotFound) Code() int

Code gets the status code for the delete monitor not found response

func (*DeleteMonitorNotFound) Error

func (o *DeleteMonitorNotFound) Error() string

func (*DeleteMonitorNotFound) GetPayload

func (o *DeleteMonitorNotFound) GetPayload() *models.APIError

func (*DeleteMonitorNotFound) IsClientError

func (o *DeleteMonitorNotFound) IsClientError() bool

IsClientError returns true when this delete monitor not found response has a 4xx status code

func (*DeleteMonitorNotFound) IsCode

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

IsCode returns true when this delete monitor not found response a status code equal to that given

func (*DeleteMonitorNotFound) IsRedirect

func (o *DeleteMonitorNotFound) IsRedirect() bool

IsRedirect returns true when this delete monitor not found response has a 3xx status code

func (*DeleteMonitorNotFound) IsServerError

func (o *DeleteMonitorNotFound) IsServerError() bool

IsServerError returns true when this delete monitor not found response has a 5xx status code

func (*DeleteMonitorNotFound) IsSuccess

func (o *DeleteMonitorNotFound) IsSuccess() bool

IsSuccess returns true when this delete monitor not found response has a 2xx status code

func (*DeleteMonitorNotFound) String

func (o *DeleteMonitorNotFound) String() string

type DeleteMonitorOK

type DeleteMonitorOK struct {
	Payload models.Configv1DeleteMonitorResponse
}

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

A successful response.

func NewDeleteMonitorOK

func NewDeleteMonitorOK() *DeleteMonitorOK

NewDeleteMonitorOK creates a DeleteMonitorOK with default headers values

func (*DeleteMonitorOK) Code

func (o *DeleteMonitorOK) Code() int

Code gets the status code for the delete monitor o k response

func (*DeleteMonitorOK) Error

func (o *DeleteMonitorOK) Error() string

func (*DeleteMonitorOK) GetPayload

func (*DeleteMonitorOK) IsClientError

func (o *DeleteMonitorOK) IsClientError() bool

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

func (*DeleteMonitorOK) IsCode

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

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

func (*DeleteMonitorOK) IsRedirect

func (o *DeleteMonitorOK) IsRedirect() bool

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

func (*DeleteMonitorOK) IsServerError

func (o *DeleteMonitorOK) IsServerError() bool

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

func (*DeleteMonitorOK) IsSuccess

func (o *DeleteMonitorOK) IsSuccess() bool

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

func (*DeleteMonitorOK) String

func (o *DeleteMonitorOK) String() string

type DeleteMonitorParams

type DeleteMonitorParams struct {

	// Slug.
	Slug string

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

DeleteMonitorParams contains all the parameters to send to the API endpoint

for the delete monitor operation.

Typically these are written to a http.Request.

func NewDeleteMonitorParams

func NewDeleteMonitorParams() *DeleteMonitorParams

NewDeleteMonitorParams creates a new DeleteMonitorParams 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 NewDeleteMonitorParamsWithContext

func NewDeleteMonitorParamsWithContext(ctx context.Context) *DeleteMonitorParams

NewDeleteMonitorParamsWithContext creates a new DeleteMonitorParams object with the ability to set a context for a request.

func NewDeleteMonitorParamsWithHTTPClient

func NewDeleteMonitorParamsWithHTTPClient(client *http.Client) *DeleteMonitorParams

NewDeleteMonitorParamsWithHTTPClient creates a new DeleteMonitorParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteMonitorParamsWithTimeout

func NewDeleteMonitorParamsWithTimeout(timeout time.Duration) *DeleteMonitorParams

NewDeleteMonitorParamsWithTimeout creates a new DeleteMonitorParams object with the ability to set a timeout on a request.

func (*DeleteMonitorParams) SetContext

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

SetContext adds the context to the delete monitor params

func (*DeleteMonitorParams) SetDefaults

func (o *DeleteMonitorParams) SetDefaults()

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

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

func (*DeleteMonitorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete monitor params

func (*DeleteMonitorParams) SetSlug

func (o *DeleteMonitorParams) SetSlug(slug string)

SetSlug adds the slug to the delete monitor params

func (*DeleteMonitorParams) SetTimeout

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

SetTimeout adds the timeout to the delete monitor params

func (*DeleteMonitorParams) WithContext

WithContext adds the context to the delete monitor params

func (*DeleteMonitorParams) WithDefaults

func (o *DeleteMonitorParams) WithDefaults() *DeleteMonitorParams

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

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

func (*DeleteMonitorParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete monitor params

func (*DeleteMonitorParams) WithSlug

func (o *DeleteMonitorParams) WithSlug(slug string) *DeleteMonitorParams

WithSlug adds the slug to the delete monitor params

func (*DeleteMonitorParams) WithTimeout

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

WithTimeout adds the timeout to the delete monitor params

func (*DeleteMonitorParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteMonitorReader

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

DeleteMonitorReader is a Reader for the DeleteMonitor structure.

func (*DeleteMonitorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteMutingRuleDefault

type DeleteMutingRuleDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteMutingRuleDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteMutingRuleDefault

func NewDeleteMutingRuleDefault(code int) *DeleteMutingRuleDefault

NewDeleteMutingRuleDefault creates a DeleteMutingRuleDefault with default headers values

func (*DeleteMutingRuleDefault) Code

func (o *DeleteMutingRuleDefault) Code() int

Code gets the status code for the delete muting rule default response

func (*DeleteMutingRuleDefault) Error

func (o *DeleteMutingRuleDefault) Error() string

func (*DeleteMutingRuleDefault) GetPayload

func (*DeleteMutingRuleDefault) IsClientError

func (o *DeleteMutingRuleDefault) IsClientError() bool

IsClientError returns true when this delete muting rule default response has a 4xx status code

func (*DeleteMutingRuleDefault) IsCode

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

IsCode returns true when this delete muting rule default response a status code equal to that given

func (*DeleteMutingRuleDefault) IsRedirect

func (o *DeleteMutingRuleDefault) IsRedirect() bool

IsRedirect returns true when this delete muting rule default response has a 3xx status code

func (*DeleteMutingRuleDefault) IsServerError

func (o *DeleteMutingRuleDefault) IsServerError() bool

IsServerError returns true when this delete muting rule default response has a 5xx status code

func (*DeleteMutingRuleDefault) IsSuccess

func (o *DeleteMutingRuleDefault) IsSuccess() bool

IsSuccess returns true when this delete muting rule default response has a 2xx status code

func (*DeleteMutingRuleDefault) String

func (o *DeleteMutingRuleDefault) String() string

type DeleteMutingRuleInternalServerError

type DeleteMutingRuleInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewDeleteMutingRuleInternalServerError

func NewDeleteMutingRuleInternalServerError() *DeleteMutingRuleInternalServerError

NewDeleteMutingRuleInternalServerError creates a DeleteMutingRuleInternalServerError with default headers values

func (*DeleteMutingRuleInternalServerError) Code

Code gets the status code for the delete muting rule internal server error response

func (*DeleteMutingRuleInternalServerError) Error

func (*DeleteMutingRuleInternalServerError) GetPayload

func (*DeleteMutingRuleInternalServerError) IsClientError

func (o *DeleteMutingRuleInternalServerError) IsClientError() bool

IsClientError returns true when this delete muting rule internal server error response has a 4xx status code

func (*DeleteMutingRuleInternalServerError) IsCode

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

func (*DeleteMutingRuleInternalServerError) IsRedirect

func (o *DeleteMutingRuleInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete muting rule internal server error response has a 3xx status code

func (*DeleteMutingRuleInternalServerError) IsServerError

func (o *DeleteMutingRuleInternalServerError) IsServerError() bool

IsServerError returns true when this delete muting rule internal server error response has a 5xx status code

func (*DeleteMutingRuleInternalServerError) IsSuccess

IsSuccess returns true when this delete muting rule internal server error response has a 2xx status code

func (*DeleteMutingRuleInternalServerError) String

type DeleteMutingRuleNotFound

type DeleteMutingRuleNotFound struct {
	Payload *models.APIError
}

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

Cannot delete the MutingRule because the slug does not exist.

func NewDeleteMutingRuleNotFound

func NewDeleteMutingRuleNotFound() *DeleteMutingRuleNotFound

NewDeleteMutingRuleNotFound creates a DeleteMutingRuleNotFound with default headers values

func (*DeleteMutingRuleNotFound) Code

func (o *DeleteMutingRuleNotFound) Code() int

Code gets the status code for the delete muting rule not found response

func (*DeleteMutingRuleNotFound) Error

func (o *DeleteMutingRuleNotFound) Error() string

func (*DeleteMutingRuleNotFound) GetPayload

func (o *DeleteMutingRuleNotFound) GetPayload() *models.APIError

func (*DeleteMutingRuleNotFound) IsClientError

func (o *DeleteMutingRuleNotFound) IsClientError() bool

IsClientError returns true when this delete muting rule not found response has a 4xx status code

func (*DeleteMutingRuleNotFound) IsCode

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

IsCode returns true when this delete muting rule not found response a status code equal to that given

func (*DeleteMutingRuleNotFound) IsRedirect

func (o *DeleteMutingRuleNotFound) IsRedirect() bool

IsRedirect returns true when this delete muting rule not found response has a 3xx status code

func (*DeleteMutingRuleNotFound) IsServerError

func (o *DeleteMutingRuleNotFound) IsServerError() bool

IsServerError returns true when this delete muting rule not found response has a 5xx status code

func (*DeleteMutingRuleNotFound) IsSuccess

func (o *DeleteMutingRuleNotFound) IsSuccess() bool

IsSuccess returns true when this delete muting rule not found response has a 2xx status code

func (*DeleteMutingRuleNotFound) String

func (o *DeleteMutingRuleNotFound) String() string

type DeleteMutingRuleOK

type DeleteMutingRuleOK struct {
	Payload models.Configv1DeleteMutingRuleResponse
}

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

A successful response.

func NewDeleteMutingRuleOK

func NewDeleteMutingRuleOK() *DeleteMutingRuleOK

NewDeleteMutingRuleOK creates a DeleteMutingRuleOK with default headers values

func (*DeleteMutingRuleOK) Code

func (o *DeleteMutingRuleOK) Code() int

Code gets the status code for the delete muting rule o k response

func (*DeleteMutingRuleOK) Error

func (o *DeleteMutingRuleOK) Error() string

func (*DeleteMutingRuleOK) GetPayload

func (*DeleteMutingRuleOK) IsClientError

func (o *DeleteMutingRuleOK) IsClientError() bool

IsClientError returns true when this delete muting rule o k response has a 4xx status code

func (*DeleteMutingRuleOK) IsCode

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

IsCode returns true when this delete muting rule o k response a status code equal to that given

func (*DeleteMutingRuleOK) IsRedirect

func (o *DeleteMutingRuleOK) IsRedirect() bool

IsRedirect returns true when this delete muting rule o k response has a 3xx status code

func (*DeleteMutingRuleOK) IsServerError

func (o *DeleteMutingRuleOK) IsServerError() bool

IsServerError returns true when this delete muting rule o k response has a 5xx status code

func (*DeleteMutingRuleOK) IsSuccess

func (o *DeleteMutingRuleOK) IsSuccess() bool

IsSuccess returns true when this delete muting rule o k response has a 2xx status code

func (*DeleteMutingRuleOK) String

func (o *DeleteMutingRuleOK) String() string

type DeleteMutingRuleParams

type DeleteMutingRuleParams struct {

	// Slug.
	Slug string

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

DeleteMutingRuleParams contains all the parameters to send to the API endpoint

for the delete muting rule operation.

Typically these are written to a http.Request.

func NewDeleteMutingRuleParams

func NewDeleteMutingRuleParams() *DeleteMutingRuleParams

NewDeleteMutingRuleParams creates a new DeleteMutingRuleParams 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 NewDeleteMutingRuleParamsWithContext

func NewDeleteMutingRuleParamsWithContext(ctx context.Context) *DeleteMutingRuleParams

NewDeleteMutingRuleParamsWithContext creates a new DeleteMutingRuleParams object with the ability to set a context for a request.

func NewDeleteMutingRuleParamsWithHTTPClient

func NewDeleteMutingRuleParamsWithHTTPClient(client *http.Client) *DeleteMutingRuleParams

NewDeleteMutingRuleParamsWithHTTPClient creates a new DeleteMutingRuleParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteMutingRuleParamsWithTimeout

func NewDeleteMutingRuleParamsWithTimeout(timeout time.Duration) *DeleteMutingRuleParams

NewDeleteMutingRuleParamsWithTimeout creates a new DeleteMutingRuleParams object with the ability to set a timeout on a request.

func (*DeleteMutingRuleParams) SetContext

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

SetContext adds the context to the delete muting rule params

func (*DeleteMutingRuleParams) SetDefaults

func (o *DeleteMutingRuleParams) SetDefaults()

SetDefaults hydrates default values in the delete muting rule params (not the query body).

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

func (*DeleteMutingRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete muting rule params

func (*DeleteMutingRuleParams) SetSlug

func (o *DeleteMutingRuleParams) SetSlug(slug string)

SetSlug adds the slug to the delete muting rule params

func (*DeleteMutingRuleParams) SetTimeout

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

SetTimeout adds the timeout to the delete muting rule params

func (*DeleteMutingRuleParams) WithContext

WithContext adds the context to the delete muting rule params

func (*DeleteMutingRuleParams) WithDefaults

WithDefaults hydrates default values in the delete muting rule params (not the query body).

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

func (*DeleteMutingRuleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete muting rule params

func (*DeleteMutingRuleParams) WithSlug

WithSlug adds the slug to the delete muting rule params

func (*DeleteMutingRuleParams) WithTimeout

WithTimeout adds the timeout to the delete muting rule params

func (*DeleteMutingRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteMutingRuleReader

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

DeleteMutingRuleReader is a Reader for the DeleteMutingRule structure.

func (*DeleteMutingRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNotificationPolicyDefault

type DeleteNotificationPolicyDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteNotificationPolicyDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteNotificationPolicyDefault

func NewDeleteNotificationPolicyDefault(code int) *DeleteNotificationPolicyDefault

NewDeleteNotificationPolicyDefault creates a DeleteNotificationPolicyDefault with default headers values

func (*DeleteNotificationPolicyDefault) Code

Code gets the status code for the delete notification policy default response

func (*DeleteNotificationPolicyDefault) Error

func (*DeleteNotificationPolicyDefault) GetPayload

func (*DeleteNotificationPolicyDefault) IsClientError

func (o *DeleteNotificationPolicyDefault) IsClientError() bool

IsClientError returns true when this delete notification policy default response has a 4xx status code

func (*DeleteNotificationPolicyDefault) IsCode

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

IsCode returns true when this delete notification policy default response a status code equal to that given

func (*DeleteNotificationPolicyDefault) IsRedirect

func (o *DeleteNotificationPolicyDefault) IsRedirect() bool

IsRedirect returns true when this delete notification policy default response has a 3xx status code

func (*DeleteNotificationPolicyDefault) IsServerError

func (o *DeleteNotificationPolicyDefault) IsServerError() bool

IsServerError returns true when this delete notification policy default response has a 5xx status code

func (*DeleteNotificationPolicyDefault) IsSuccess

func (o *DeleteNotificationPolicyDefault) IsSuccess() bool

IsSuccess returns true when this delete notification policy default response has a 2xx status code

func (*DeleteNotificationPolicyDefault) String

type DeleteNotificationPolicyInternalServerError

type DeleteNotificationPolicyInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewDeleteNotificationPolicyInternalServerError

func NewDeleteNotificationPolicyInternalServerError() *DeleteNotificationPolicyInternalServerError

NewDeleteNotificationPolicyInternalServerError creates a DeleteNotificationPolicyInternalServerError with default headers values

func (*DeleteNotificationPolicyInternalServerError) Code

Code gets the status code for the delete notification policy internal server error response

func (*DeleteNotificationPolicyInternalServerError) Error

func (*DeleteNotificationPolicyInternalServerError) GetPayload

func (*DeleteNotificationPolicyInternalServerError) IsClientError

IsClientError returns true when this delete notification policy internal server error response has a 4xx status code

func (*DeleteNotificationPolicyInternalServerError) IsCode

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

func (*DeleteNotificationPolicyInternalServerError) IsRedirect

IsRedirect returns true when this delete notification policy internal server error response has a 3xx status code

func (*DeleteNotificationPolicyInternalServerError) IsServerError

IsServerError returns true when this delete notification policy internal server error response has a 5xx status code

func (*DeleteNotificationPolicyInternalServerError) IsSuccess

IsSuccess returns true when this delete notification policy internal server error response has a 2xx status code

func (*DeleteNotificationPolicyInternalServerError) String

type DeleteNotificationPolicyNotFound

type DeleteNotificationPolicyNotFound struct {
	Payload *models.APIError
}

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

Cannot delete the NotificationPolicy because the slug does not exist.

func NewDeleteNotificationPolicyNotFound

func NewDeleteNotificationPolicyNotFound() *DeleteNotificationPolicyNotFound

NewDeleteNotificationPolicyNotFound creates a DeleteNotificationPolicyNotFound with default headers values

func (*DeleteNotificationPolicyNotFound) Code

Code gets the status code for the delete notification policy not found response

func (*DeleteNotificationPolicyNotFound) Error

func (*DeleteNotificationPolicyNotFound) GetPayload

func (*DeleteNotificationPolicyNotFound) IsClientError

func (o *DeleteNotificationPolicyNotFound) IsClientError() bool

IsClientError returns true when this delete notification policy not found response has a 4xx status code

func (*DeleteNotificationPolicyNotFound) IsCode

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

IsCode returns true when this delete notification policy not found response a status code equal to that given

func (*DeleteNotificationPolicyNotFound) IsRedirect

func (o *DeleteNotificationPolicyNotFound) IsRedirect() bool

IsRedirect returns true when this delete notification policy not found response has a 3xx status code

func (*DeleteNotificationPolicyNotFound) IsServerError

func (o *DeleteNotificationPolicyNotFound) IsServerError() bool

IsServerError returns true when this delete notification policy not found response has a 5xx status code

func (*DeleteNotificationPolicyNotFound) IsSuccess

func (o *DeleteNotificationPolicyNotFound) IsSuccess() bool

IsSuccess returns true when this delete notification policy not found response has a 2xx status code

func (*DeleteNotificationPolicyNotFound) String

type DeleteNotificationPolicyOK

type DeleteNotificationPolicyOK struct {
	Payload models.Configv1DeleteNotificationPolicyResponse
}

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

A successful response.

func NewDeleteNotificationPolicyOK

func NewDeleteNotificationPolicyOK() *DeleteNotificationPolicyOK

NewDeleteNotificationPolicyOK creates a DeleteNotificationPolicyOK with default headers values

func (*DeleteNotificationPolicyOK) Code

func (o *DeleteNotificationPolicyOK) Code() int

Code gets the status code for the delete notification policy o k response

func (*DeleteNotificationPolicyOK) Error

func (*DeleteNotificationPolicyOK) GetPayload

func (*DeleteNotificationPolicyOK) IsClientError

func (o *DeleteNotificationPolicyOK) IsClientError() bool

IsClientError returns true when this delete notification policy o k response has a 4xx status code

func (*DeleteNotificationPolicyOK) IsCode

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

IsCode returns true when this delete notification policy o k response a status code equal to that given

func (*DeleteNotificationPolicyOK) IsRedirect

func (o *DeleteNotificationPolicyOK) IsRedirect() bool

IsRedirect returns true when this delete notification policy o k response has a 3xx status code

func (*DeleteNotificationPolicyOK) IsServerError

func (o *DeleteNotificationPolicyOK) IsServerError() bool

IsServerError returns true when this delete notification policy o k response has a 5xx status code

func (*DeleteNotificationPolicyOK) IsSuccess

func (o *DeleteNotificationPolicyOK) IsSuccess() bool

IsSuccess returns true when this delete notification policy o k response has a 2xx status code

func (*DeleteNotificationPolicyOK) String

func (o *DeleteNotificationPolicyOK) String() string

type DeleteNotificationPolicyParams

type DeleteNotificationPolicyParams struct {

	// Slug.
	Slug string

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

DeleteNotificationPolicyParams contains all the parameters to send to the API endpoint

for the delete notification policy operation.

Typically these are written to a http.Request.

func NewDeleteNotificationPolicyParams

func NewDeleteNotificationPolicyParams() *DeleteNotificationPolicyParams

NewDeleteNotificationPolicyParams creates a new DeleteNotificationPolicyParams 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 NewDeleteNotificationPolicyParamsWithContext

func NewDeleteNotificationPolicyParamsWithContext(ctx context.Context) *DeleteNotificationPolicyParams

NewDeleteNotificationPolicyParamsWithContext creates a new DeleteNotificationPolicyParams object with the ability to set a context for a request.

func NewDeleteNotificationPolicyParamsWithHTTPClient

func NewDeleteNotificationPolicyParamsWithHTTPClient(client *http.Client) *DeleteNotificationPolicyParams

NewDeleteNotificationPolicyParamsWithHTTPClient creates a new DeleteNotificationPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNotificationPolicyParamsWithTimeout

func NewDeleteNotificationPolicyParamsWithTimeout(timeout time.Duration) *DeleteNotificationPolicyParams

NewDeleteNotificationPolicyParamsWithTimeout creates a new DeleteNotificationPolicyParams object with the ability to set a timeout on a request.

func (*DeleteNotificationPolicyParams) SetContext

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

SetContext adds the context to the delete notification policy params

func (*DeleteNotificationPolicyParams) SetDefaults

func (o *DeleteNotificationPolicyParams) SetDefaults()

SetDefaults hydrates default values in the delete notification policy params (not the query body).

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

func (*DeleteNotificationPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete notification policy params

func (*DeleteNotificationPolicyParams) SetSlug

func (o *DeleteNotificationPolicyParams) SetSlug(slug string)

SetSlug adds the slug to the delete notification policy params

func (*DeleteNotificationPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the delete notification policy params

func (*DeleteNotificationPolicyParams) WithContext

WithContext adds the context to the delete notification policy params

func (*DeleteNotificationPolicyParams) WithDefaults

WithDefaults hydrates default values in the delete notification policy params (not the query body).

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

func (*DeleteNotificationPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete notification policy params

func (*DeleteNotificationPolicyParams) WithSlug

WithSlug adds the slug to the delete notification policy params

func (*DeleteNotificationPolicyParams) WithTimeout

WithTimeout adds the timeout to the delete notification policy params

func (*DeleteNotificationPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNotificationPolicyReader

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

DeleteNotificationPolicyReader is a Reader for the DeleteNotificationPolicy structure.

func (*DeleteNotificationPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNotifierDefault

type DeleteNotifierDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteNotifierDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteNotifierDefault

func NewDeleteNotifierDefault(code int) *DeleteNotifierDefault

NewDeleteNotifierDefault creates a DeleteNotifierDefault with default headers values

func (*DeleteNotifierDefault) Code

func (o *DeleteNotifierDefault) Code() int

Code gets the status code for the delete notifier default response

func (*DeleteNotifierDefault) Error

func (o *DeleteNotifierDefault) Error() string

func (*DeleteNotifierDefault) GetPayload

func (o *DeleteNotifierDefault) GetPayload() models.GenericError

func (*DeleteNotifierDefault) IsClientError

func (o *DeleteNotifierDefault) IsClientError() bool

IsClientError returns true when this delete notifier default response has a 4xx status code

func (*DeleteNotifierDefault) IsCode

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

IsCode returns true when this delete notifier default response a status code equal to that given

func (*DeleteNotifierDefault) IsRedirect

func (o *DeleteNotifierDefault) IsRedirect() bool

IsRedirect returns true when this delete notifier default response has a 3xx status code

func (*DeleteNotifierDefault) IsServerError

func (o *DeleteNotifierDefault) IsServerError() bool

IsServerError returns true when this delete notifier default response has a 5xx status code

func (*DeleteNotifierDefault) IsSuccess

func (o *DeleteNotifierDefault) IsSuccess() bool

IsSuccess returns true when this delete notifier default response has a 2xx status code

func (*DeleteNotifierDefault) String

func (o *DeleteNotifierDefault) String() string

type DeleteNotifierInternalServerError

type DeleteNotifierInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewDeleteNotifierInternalServerError

func NewDeleteNotifierInternalServerError() *DeleteNotifierInternalServerError

NewDeleteNotifierInternalServerError creates a DeleteNotifierInternalServerError with default headers values

func (*DeleteNotifierInternalServerError) Code

Code gets the status code for the delete notifier internal server error response

func (*DeleteNotifierInternalServerError) Error

func (*DeleteNotifierInternalServerError) GetPayload

func (*DeleteNotifierInternalServerError) IsClientError

func (o *DeleteNotifierInternalServerError) IsClientError() bool

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

func (*DeleteNotifierInternalServerError) IsCode

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

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

func (*DeleteNotifierInternalServerError) IsRedirect

func (o *DeleteNotifierInternalServerError) IsRedirect() bool

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

func (*DeleteNotifierInternalServerError) IsServerError

func (o *DeleteNotifierInternalServerError) IsServerError() bool

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

func (*DeleteNotifierInternalServerError) IsSuccess

func (o *DeleteNotifierInternalServerError) IsSuccess() bool

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

func (*DeleteNotifierInternalServerError) String

type DeleteNotifierNotFound

type DeleteNotifierNotFound struct {
	Payload *models.APIError
}

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

Cannot delete the Notifier because the slug does not exist.

func NewDeleteNotifierNotFound

func NewDeleteNotifierNotFound() *DeleteNotifierNotFound

NewDeleteNotifierNotFound creates a DeleteNotifierNotFound with default headers values

func (*DeleteNotifierNotFound) Code

func (o *DeleteNotifierNotFound) Code() int

Code gets the status code for the delete notifier not found response

func (*DeleteNotifierNotFound) Error

func (o *DeleteNotifierNotFound) Error() string

func (*DeleteNotifierNotFound) GetPayload

func (o *DeleteNotifierNotFound) GetPayload() *models.APIError

func (*DeleteNotifierNotFound) IsClientError

func (o *DeleteNotifierNotFound) IsClientError() bool

IsClientError returns true when this delete notifier not found response has a 4xx status code

func (*DeleteNotifierNotFound) IsCode

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

IsCode returns true when this delete notifier not found response a status code equal to that given

func (*DeleteNotifierNotFound) IsRedirect

func (o *DeleteNotifierNotFound) IsRedirect() bool

IsRedirect returns true when this delete notifier not found response has a 3xx status code

func (*DeleteNotifierNotFound) IsServerError

func (o *DeleteNotifierNotFound) IsServerError() bool

IsServerError returns true when this delete notifier not found response has a 5xx status code

func (*DeleteNotifierNotFound) IsSuccess

func (o *DeleteNotifierNotFound) IsSuccess() bool

IsSuccess returns true when this delete notifier not found response has a 2xx status code

func (*DeleteNotifierNotFound) String

func (o *DeleteNotifierNotFound) String() string

type DeleteNotifierOK

type DeleteNotifierOK struct {
	Payload models.Configv1DeleteNotifierResponse
}

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

A successful response.

func NewDeleteNotifierOK

func NewDeleteNotifierOK() *DeleteNotifierOK

NewDeleteNotifierOK creates a DeleteNotifierOK with default headers values

func (*DeleteNotifierOK) Code

func (o *DeleteNotifierOK) Code() int

Code gets the status code for the delete notifier o k response

func (*DeleteNotifierOK) Error

func (o *DeleteNotifierOK) Error() string

func (*DeleteNotifierOK) GetPayload

func (*DeleteNotifierOK) IsClientError

func (o *DeleteNotifierOK) IsClientError() bool

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

func (*DeleteNotifierOK) IsCode

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

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

func (*DeleteNotifierOK) IsRedirect

func (o *DeleteNotifierOK) IsRedirect() bool

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

func (*DeleteNotifierOK) IsServerError

func (o *DeleteNotifierOK) IsServerError() bool

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

func (*DeleteNotifierOK) IsSuccess

func (o *DeleteNotifierOK) IsSuccess() bool

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

func (*DeleteNotifierOK) String

func (o *DeleteNotifierOK) String() string

type DeleteNotifierParams

type DeleteNotifierParams struct {

	// Slug.
	Slug string

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

DeleteNotifierParams contains all the parameters to send to the API endpoint

for the delete notifier operation.

Typically these are written to a http.Request.

func NewDeleteNotifierParams

func NewDeleteNotifierParams() *DeleteNotifierParams

NewDeleteNotifierParams creates a new DeleteNotifierParams 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 NewDeleteNotifierParamsWithContext

func NewDeleteNotifierParamsWithContext(ctx context.Context) *DeleteNotifierParams

NewDeleteNotifierParamsWithContext creates a new DeleteNotifierParams object with the ability to set a context for a request.

func NewDeleteNotifierParamsWithHTTPClient

func NewDeleteNotifierParamsWithHTTPClient(client *http.Client) *DeleteNotifierParams

NewDeleteNotifierParamsWithHTTPClient creates a new DeleteNotifierParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNotifierParamsWithTimeout

func NewDeleteNotifierParamsWithTimeout(timeout time.Duration) *DeleteNotifierParams

NewDeleteNotifierParamsWithTimeout creates a new DeleteNotifierParams object with the ability to set a timeout on a request.

func (*DeleteNotifierParams) SetContext

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

SetContext adds the context to the delete notifier params

func (*DeleteNotifierParams) SetDefaults

func (o *DeleteNotifierParams) SetDefaults()

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

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

func (*DeleteNotifierParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete notifier params

func (*DeleteNotifierParams) SetSlug

func (o *DeleteNotifierParams) SetSlug(slug string)

SetSlug adds the slug to the delete notifier params

func (*DeleteNotifierParams) SetTimeout

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

SetTimeout adds the timeout to the delete notifier params

func (*DeleteNotifierParams) WithContext

WithContext adds the context to the delete notifier params

func (*DeleteNotifierParams) WithDefaults

func (o *DeleteNotifierParams) WithDefaults() *DeleteNotifierParams

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

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

func (*DeleteNotifierParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete notifier params

func (*DeleteNotifierParams) WithSlug

WithSlug adds the slug to the delete notifier params

func (*DeleteNotifierParams) WithTimeout

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

WithTimeout adds the timeout to the delete notifier params

func (*DeleteNotifierParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteNotifierReader

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

DeleteNotifierReader is a Reader for the DeleteNotifier structure.

func (*DeleteNotifierReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRecordingRuleDefault

type DeleteRecordingRuleDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteRecordingRuleDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteRecordingRuleDefault

func NewDeleteRecordingRuleDefault(code int) *DeleteRecordingRuleDefault

NewDeleteRecordingRuleDefault creates a DeleteRecordingRuleDefault with default headers values

func (*DeleteRecordingRuleDefault) Code

func (o *DeleteRecordingRuleDefault) Code() int

Code gets the status code for the delete recording rule default response

func (*DeleteRecordingRuleDefault) Error

func (*DeleteRecordingRuleDefault) GetPayload

func (*DeleteRecordingRuleDefault) IsClientError

func (o *DeleteRecordingRuleDefault) IsClientError() bool

IsClientError returns true when this delete recording rule default response has a 4xx status code

func (*DeleteRecordingRuleDefault) IsCode

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

IsCode returns true when this delete recording rule default response a status code equal to that given

func (*DeleteRecordingRuleDefault) IsRedirect

func (o *DeleteRecordingRuleDefault) IsRedirect() bool

IsRedirect returns true when this delete recording rule default response has a 3xx status code

func (*DeleteRecordingRuleDefault) IsServerError

func (o *DeleteRecordingRuleDefault) IsServerError() bool

IsServerError returns true when this delete recording rule default response has a 5xx status code

func (*DeleteRecordingRuleDefault) IsSuccess

func (o *DeleteRecordingRuleDefault) IsSuccess() bool

IsSuccess returns true when this delete recording rule default response has a 2xx status code

func (*DeleteRecordingRuleDefault) String

func (o *DeleteRecordingRuleDefault) String() string

type DeleteRecordingRuleInternalServerError

type DeleteRecordingRuleInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewDeleteRecordingRuleInternalServerError

func NewDeleteRecordingRuleInternalServerError() *DeleteRecordingRuleInternalServerError

NewDeleteRecordingRuleInternalServerError creates a DeleteRecordingRuleInternalServerError with default headers values

func (*DeleteRecordingRuleInternalServerError) Code

Code gets the status code for the delete recording rule internal server error response

func (*DeleteRecordingRuleInternalServerError) Error

func (*DeleteRecordingRuleInternalServerError) GetPayload

func (*DeleteRecordingRuleInternalServerError) IsClientError

func (o *DeleteRecordingRuleInternalServerError) IsClientError() bool

IsClientError returns true when this delete recording rule internal server error response has a 4xx status code

func (*DeleteRecordingRuleInternalServerError) IsCode

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

func (*DeleteRecordingRuleInternalServerError) IsRedirect

IsRedirect returns true when this delete recording rule internal server error response has a 3xx status code

func (*DeleteRecordingRuleInternalServerError) IsServerError

func (o *DeleteRecordingRuleInternalServerError) IsServerError() bool

IsServerError returns true when this delete recording rule internal server error response has a 5xx status code

func (*DeleteRecordingRuleInternalServerError) IsSuccess

IsSuccess returns true when this delete recording rule internal server error response has a 2xx status code

func (*DeleteRecordingRuleInternalServerError) String

type DeleteRecordingRuleNotFound

type DeleteRecordingRuleNotFound struct {
	Payload *models.APIError
}

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

Cannot delete the RecordingRule because the slug does not exist.

func NewDeleteRecordingRuleNotFound

func NewDeleteRecordingRuleNotFound() *DeleteRecordingRuleNotFound

NewDeleteRecordingRuleNotFound creates a DeleteRecordingRuleNotFound with default headers values

func (*DeleteRecordingRuleNotFound) Code

func (o *DeleteRecordingRuleNotFound) Code() int

Code gets the status code for the delete recording rule not found response

func (*DeleteRecordingRuleNotFound) Error

func (*DeleteRecordingRuleNotFound) GetPayload

func (o *DeleteRecordingRuleNotFound) GetPayload() *models.APIError

func (*DeleteRecordingRuleNotFound) IsClientError

func (o *DeleteRecordingRuleNotFound) IsClientError() bool

IsClientError returns true when this delete recording rule not found response has a 4xx status code

func (*DeleteRecordingRuleNotFound) IsCode

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

IsCode returns true when this delete recording rule not found response a status code equal to that given

func (*DeleteRecordingRuleNotFound) IsRedirect

func (o *DeleteRecordingRuleNotFound) IsRedirect() bool

IsRedirect returns true when this delete recording rule not found response has a 3xx status code

func (*DeleteRecordingRuleNotFound) IsServerError

func (o *DeleteRecordingRuleNotFound) IsServerError() bool

IsServerError returns true when this delete recording rule not found response has a 5xx status code

func (*DeleteRecordingRuleNotFound) IsSuccess

func (o *DeleteRecordingRuleNotFound) IsSuccess() bool

IsSuccess returns true when this delete recording rule not found response has a 2xx status code

func (*DeleteRecordingRuleNotFound) String

func (o *DeleteRecordingRuleNotFound) String() string

type DeleteRecordingRuleOK

type DeleteRecordingRuleOK struct {
	Payload models.Configv1DeleteRecordingRuleResponse
}

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

A successful response.

func NewDeleteRecordingRuleOK

func NewDeleteRecordingRuleOK() *DeleteRecordingRuleOK

NewDeleteRecordingRuleOK creates a DeleteRecordingRuleOK with default headers values

func (*DeleteRecordingRuleOK) Code

func (o *DeleteRecordingRuleOK) Code() int

Code gets the status code for the delete recording rule o k response

func (*DeleteRecordingRuleOK) Error

func (o *DeleteRecordingRuleOK) Error() string

func (*DeleteRecordingRuleOK) GetPayload

func (*DeleteRecordingRuleOK) IsClientError

func (o *DeleteRecordingRuleOK) IsClientError() bool

IsClientError returns true when this delete recording rule o k response has a 4xx status code

func (*DeleteRecordingRuleOK) IsCode

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

IsCode returns true when this delete recording rule o k response a status code equal to that given

func (*DeleteRecordingRuleOK) IsRedirect

func (o *DeleteRecordingRuleOK) IsRedirect() bool

IsRedirect returns true when this delete recording rule o k response has a 3xx status code

func (*DeleteRecordingRuleOK) IsServerError

func (o *DeleteRecordingRuleOK) IsServerError() bool

IsServerError returns true when this delete recording rule o k response has a 5xx status code

func (*DeleteRecordingRuleOK) IsSuccess

func (o *DeleteRecordingRuleOK) IsSuccess() bool

IsSuccess returns true when this delete recording rule o k response has a 2xx status code

func (*DeleteRecordingRuleOK) String

func (o *DeleteRecordingRuleOK) String() string

type DeleteRecordingRuleParams

type DeleteRecordingRuleParams struct {

	// Slug.
	Slug string

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

DeleteRecordingRuleParams contains all the parameters to send to the API endpoint

for the delete recording rule operation.

Typically these are written to a http.Request.

func NewDeleteRecordingRuleParams

func NewDeleteRecordingRuleParams() *DeleteRecordingRuleParams

NewDeleteRecordingRuleParams creates a new DeleteRecordingRuleParams 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 NewDeleteRecordingRuleParamsWithContext

func NewDeleteRecordingRuleParamsWithContext(ctx context.Context) *DeleteRecordingRuleParams

NewDeleteRecordingRuleParamsWithContext creates a new DeleteRecordingRuleParams object with the ability to set a context for a request.

func NewDeleteRecordingRuleParamsWithHTTPClient

func NewDeleteRecordingRuleParamsWithHTTPClient(client *http.Client) *DeleteRecordingRuleParams

NewDeleteRecordingRuleParamsWithHTTPClient creates a new DeleteRecordingRuleParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteRecordingRuleParamsWithTimeout

func NewDeleteRecordingRuleParamsWithTimeout(timeout time.Duration) *DeleteRecordingRuleParams

NewDeleteRecordingRuleParamsWithTimeout creates a new DeleteRecordingRuleParams object with the ability to set a timeout on a request.

func (*DeleteRecordingRuleParams) SetContext

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

SetContext adds the context to the delete recording rule params

func (*DeleteRecordingRuleParams) SetDefaults

func (o *DeleteRecordingRuleParams) SetDefaults()

SetDefaults hydrates default values in the delete recording rule params (not the query body).

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

func (*DeleteRecordingRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete recording rule params

func (*DeleteRecordingRuleParams) SetSlug

func (o *DeleteRecordingRuleParams) SetSlug(slug string)

SetSlug adds the slug to the delete recording rule params

func (*DeleteRecordingRuleParams) SetTimeout

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

SetTimeout adds the timeout to the delete recording rule params

func (*DeleteRecordingRuleParams) WithContext

WithContext adds the context to the delete recording rule params

func (*DeleteRecordingRuleParams) WithDefaults

WithDefaults hydrates default values in the delete recording rule params (not the query body).

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

func (*DeleteRecordingRuleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete recording rule params

func (*DeleteRecordingRuleParams) WithSlug

WithSlug adds the slug to the delete recording rule params

func (*DeleteRecordingRuleParams) WithTimeout

WithTimeout adds the timeout to the delete recording rule params

func (*DeleteRecordingRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRecordingRuleReader

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

DeleteRecordingRuleReader is a Reader for the DeleteRecordingRule structure.

func (*DeleteRecordingRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteResourcePoolsDefault

type DeleteResourcePoolsDefault struct {
	Payload *models.APIError
	// contains filtered or unexported fields
}

DeleteResourcePoolsDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewDeleteResourcePoolsDefault

func NewDeleteResourcePoolsDefault(code int) *DeleteResourcePoolsDefault

NewDeleteResourcePoolsDefault creates a DeleteResourcePoolsDefault with default headers values

func (*DeleteResourcePoolsDefault) Code

func (o *DeleteResourcePoolsDefault) Code() int

Code gets the status code for the delete resource pools default response

func (*DeleteResourcePoolsDefault) Error

func (*DeleteResourcePoolsDefault) GetPayload

func (o *DeleteResourcePoolsDefault) GetPayload() *models.APIError

func (*DeleteResourcePoolsDefault) IsClientError

func (o *DeleteResourcePoolsDefault) IsClientError() bool

IsClientError returns true when this delete resource pools default response has a 4xx status code

func (*DeleteResourcePoolsDefault) IsCode

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

IsCode returns true when this delete resource pools default response a status code equal to that given

func (*DeleteResourcePoolsDefault) IsRedirect

func (o *DeleteResourcePoolsDefault) IsRedirect() bool

IsRedirect returns true when this delete resource pools default response has a 3xx status code

func (*DeleteResourcePoolsDefault) IsServerError

func (o *DeleteResourcePoolsDefault) IsServerError() bool

IsServerError returns true when this delete resource pools default response has a 5xx status code

func (*DeleteResourcePoolsDefault) IsSuccess

func (o *DeleteResourcePoolsDefault) IsSuccess() bool

IsSuccess returns true when this delete resource pools default response has a 2xx status code

func (*DeleteResourcePoolsDefault) String

func (o *DeleteResourcePoolsDefault) String() string

type DeleteResourcePoolsOK

type DeleteResourcePoolsOK struct {
	Payload models.Configv1DeleteResourcePoolsResponse
}

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

A successful response.

func NewDeleteResourcePoolsOK

func NewDeleteResourcePoolsOK() *DeleteResourcePoolsOK

NewDeleteResourcePoolsOK creates a DeleteResourcePoolsOK with default headers values

func (*DeleteResourcePoolsOK) Code

func (o *DeleteResourcePoolsOK) Code() int

Code gets the status code for the delete resource pools o k response

func (*DeleteResourcePoolsOK) Error

func (o *DeleteResourcePoolsOK) Error() string

func (*DeleteResourcePoolsOK) GetPayload

func (*DeleteResourcePoolsOK) IsClientError

func (o *DeleteResourcePoolsOK) IsClientError() bool

IsClientError returns true when this delete resource pools o k response has a 4xx status code

func (*DeleteResourcePoolsOK) IsCode

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

IsCode returns true when this delete resource pools o k response a status code equal to that given

func (*DeleteResourcePoolsOK) IsRedirect

func (o *DeleteResourcePoolsOK) IsRedirect() bool

IsRedirect returns true when this delete resource pools o k response has a 3xx status code

func (*DeleteResourcePoolsOK) IsServerError

func (o *DeleteResourcePoolsOK) IsServerError() bool

IsServerError returns true when this delete resource pools o k response has a 5xx status code

func (*DeleteResourcePoolsOK) IsSuccess

func (o *DeleteResourcePoolsOK) IsSuccess() bool

IsSuccess returns true when this delete resource pools o k response has a 2xx status code

func (*DeleteResourcePoolsOK) String

func (o *DeleteResourcePoolsOK) String() string

type DeleteResourcePoolsParams

type DeleteResourcePoolsParams struct {

	// DryRun.
	DryRun *bool

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

DeleteResourcePoolsParams contains all the parameters to send to the API endpoint

for the delete resource pools operation.

Typically these are written to a http.Request.

func NewDeleteResourcePoolsParams

func NewDeleteResourcePoolsParams() *DeleteResourcePoolsParams

NewDeleteResourcePoolsParams creates a new DeleteResourcePoolsParams 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 NewDeleteResourcePoolsParamsWithContext

func NewDeleteResourcePoolsParamsWithContext(ctx context.Context) *DeleteResourcePoolsParams

NewDeleteResourcePoolsParamsWithContext creates a new DeleteResourcePoolsParams object with the ability to set a context for a request.

func NewDeleteResourcePoolsParamsWithHTTPClient

func NewDeleteResourcePoolsParamsWithHTTPClient(client *http.Client) *DeleteResourcePoolsParams

NewDeleteResourcePoolsParamsWithHTTPClient creates a new DeleteResourcePoolsParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteResourcePoolsParamsWithTimeout

func NewDeleteResourcePoolsParamsWithTimeout(timeout time.Duration) *DeleteResourcePoolsParams

NewDeleteResourcePoolsParamsWithTimeout creates a new DeleteResourcePoolsParams object with the ability to set a timeout on a request.

func (*DeleteResourcePoolsParams) SetContext

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

SetContext adds the context to the delete resource pools params

func (*DeleteResourcePoolsParams) SetDefaults

func (o *DeleteResourcePoolsParams) SetDefaults()

SetDefaults hydrates default values in the delete resource pools params (not the query body).

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

func (*DeleteResourcePoolsParams) SetDryRun

func (o *DeleteResourcePoolsParams) SetDryRun(dryRun *bool)

SetDryRun adds the dryRun to the delete resource pools params

func (*DeleteResourcePoolsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete resource pools params

func (*DeleteResourcePoolsParams) SetTimeout

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

SetTimeout adds the timeout to the delete resource pools params

func (*DeleteResourcePoolsParams) WithContext

WithContext adds the context to the delete resource pools params

func (*DeleteResourcePoolsParams) WithDefaults

WithDefaults hydrates default values in the delete resource pools params (not the query body).

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

func (*DeleteResourcePoolsParams) WithDryRun

WithDryRun adds the dryRun to the delete resource pools params

func (*DeleteResourcePoolsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete resource pools params

func (*DeleteResourcePoolsParams) WithTimeout

WithTimeout adds the timeout to the delete resource pools params

func (*DeleteResourcePoolsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteResourcePoolsReader

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

DeleteResourcePoolsReader is a Reader for the DeleteResourcePools structure.

func (*DeleteResourcePoolsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRollupRuleDefault

type DeleteRollupRuleDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteRollupRuleDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteRollupRuleDefault

func NewDeleteRollupRuleDefault(code int) *DeleteRollupRuleDefault

NewDeleteRollupRuleDefault creates a DeleteRollupRuleDefault with default headers values

func (*DeleteRollupRuleDefault) Code

func (o *DeleteRollupRuleDefault) Code() int

Code gets the status code for the delete rollup rule default response

func (*DeleteRollupRuleDefault) Error

func (o *DeleteRollupRuleDefault) Error() string

func (*DeleteRollupRuleDefault) GetPayload

func (*DeleteRollupRuleDefault) IsClientError

func (o *DeleteRollupRuleDefault) IsClientError() bool

IsClientError returns true when this delete rollup rule default response has a 4xx status code

func (*DeleteRollupRuleDefault) IsCode

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

IsCode returns true when this delete rollup rule default response a status code equal to that given

func (*DeleteRollupRuleDefault) IsRedirect

func (o *DeleteRollupRuleDefault) IsRedirect() bool

IsRedirect returns true when this delete rollup rule default response has a 3xx status code

func (*DeleteRollupRuleDefault) IsServerError

func (o *DeleteRollupRuleDefault) IsServerError() bool

IsServerError returns true when this delete rollup rule default response has a 5xx status code

func (*DeleteRollupRuleDefault) IsSuccess

func (o *DeleteRollupRuleDefault) IsSuccess() bool

IsSuccess returns true when this delete rollup rule default response has a 2xx status code

func (*DeleteRollupRuleDefault) String

func (o *DeleteRollupRuleDefault) String() string

type DeleteRollupRuleInternalServerError

type DeleteRollupRuleInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewDeleteRollupRuleInternalServerError

func NewDeleteRollupRuleInternalServerError() *DeleteRollupRuleInternalServerError

NewDeleteRollupRuleInternalServerError creates a DeleteRollupRuleInternalServerError with default headers values

func (*DeleteRollupRuleInternalServerError) Code

Code gets the status code for the delete rollup rule internal server error response

func (*DeleteRollupRuleInternalServerError) Error

func (*DeleteRollupRuleInternalServerError) GetPayload

func (*DeleteRollupRuleInternalServerError) IsClientError

func (o *DeleteRollupRuleInternalServerError) IsClientError() bool

IsClientError returns true when this delete rollup rule internal server error response has a 4xx status code

func (*DeleteRollupRuleInternalServerError) IsCode

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

func (*DeleteRollupRuleInternalServerError) IsRedirect

func (o *DeleteRollupRuleInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete rollup rule internal server error response has a 3xx status code

func (*DeleteRollupRuleInternalServerError) IsServerError

func (o *DeleteRollupRuleInternalServerError) IsServerError() bool

IsServerError returns true when this delete rollup rule internal server error response has a 5xx status code

func (*DeleteRollupRuleInternalServerError) IsSuccess

IsSuccess returns true when this delete rollup rule internal server error response has a 2xx status code

func (*DeleteRollupRuleInternalServerError) String

type DeleteRollupRuleNotFound

type DeleteRollupRuleNotFound struct {
	Payload *models.APIError
}

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

Cannot delete the RollupRule because the slug does not exist.

func NewDeleteRollupRuleNotFound

func NewDeleteRollupRuleNotFound() *DeleteRollupRuleNotFound

NewDeleteRollupRuleNotFound creates a DeleteRollupRuleNotFound with default headers values

func (*DeleteRollupRuleNotFound) Code

func (o *DeleteRollupRuleNotFound) Code() int

Code gets the status code for the delete rollup rule not found response

func (*DeleteRollupRuleNotFound) Error

func (o *DeleteRollupRuleNotFound) Error() string

func (*DeleteRollupRuleNotFound) GetPayload

func (o *DeleteRollupRuleNotFound) GetPayload() *models.APIError

func (*DeleteRollupRuleNotFound) IsClientError

func (o *DeleteRollupRuleNotFound) IsClientError() bool

IsClientError returns true when this delete rollup rule not found response has a 4xx status code

func (*DeleteRollupRuleNotFound) IsCode

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

IsCode returns true when this delete rollup rule not found response a status code equal to that given

func (*DeleteRollupRuleNotFound) IsRedirect

func (o *DeleteRollupRuleNotFound) IsRedirect() bool

IsRedirect returns true when this delete rollup rule not found response has a 3xx status code

func (*DeleteRollupRuleNotFound) IsServerError

func (o *DeleteRollupRuleNotFound) IsServerError() bool

IsServerError returns true when this delete rollup rule not found response has a 5xx status code

func (*DeleteRollupRuleNotFound) IsSuccess

func (o *DeleteRollupRuleNotFound) IsSuccess() bool

IsSuccess returns true when this delete rollup rule not found response has a 2xx status code

func (*DeleteRollupRuleNotFound) String

func (o *DeleteRollupRuleNotFound) String() string

type DeleteRollupRuleOK

type DeleteRollupRuleOK struct {
	Payload models.Configv1DeleteRollupRuleResponse
}

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

A successful response.

func NewDeleteRollupRuleOK

func NewDeleteRollupRuleOK() *DeleteRollupRuleOK

NewDeleteRollupRuleOK creates a DeleteRollupRuleOK with default headers values

func (*DeleteRollupRuleOK) Code

func (o *DeleteRollupRuleOK) Code() int

Code gets the status code for the delete rollup rule o k response

func (*DeleteRollupRuleOK) Error

func (o *DeleteRollupRuleOK) Error() string

func (*DeleteRollupRuleOK) GetPayload

func (*DeleteRollupRuleOK) IsClientError

func (o *DeleteRollupRuleOK) IsClientError() bool

IsClientError returns true when this delete rollup rule o k response has a 4xx status code

func (*DeleteRollupRuleOK) IsCode

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

IsCode returns true when this delete rollup rule o k response a status code equal to that given

func (*DeleteRollupRuleOK) IsRedirect

func (o *DeleteRollupRuleOK) IsRedirect() bool

IsRedirect returns true when this delete rollup rule o k response has a 3xx status code

func (*DeleteRollupRuleOK) IsServerError

func (o *DeleteRollupRuleOK) IsServerError() bool

IsServerError returns true when this delete rollup rule o k response has a 5xx status code

func (*DeleteRollupRuleOK) IsSuccess

func (o *DeleteRollupRuleOK) IsSuccess() bool

IsSuccess returns true when this delete rollup rule o k response has a 2xx status code

func (*DeleteRollupRuleOK) String

func (o *DeleteRollupRuleOK) String() string

type DeleteRollupRuleParams

type DeleteRollupRuleParams struct {

	// Slug.
	Slug string

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

DeleteRollupRuleParams contains all the parameters to send to the API endpoint

for the delete rollup rule operation.

Typically these are written to a http.Request.

func NewDeleteRollupRuleParams

func NewDeleteRollupRuleParams() *DeleteRollupRuleParams

NewDeleteRollupRuleParams creates a new DeleteRollupRuleParams 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 NewDeleteRollupRuleParamsWithContext

func NewDeleteRollupRuleParamsWithContext(ctx context.Context) *DeleteRollupRuleParams

NewDeleteRollupRuleParamsWithContext creates a new DeleteRollupRuleParams object with the ability to set a context for a request.

func NewDeleteRollupRuleParamsWithHTTPClient

func NewDeleteRollupRuleParamsWithHTTPClient(client *http.Client) *DeleteRollupRuleParams

NewDeleteRollupRuleParamsWithHTTPClient creates a new DeleteRollupRuleParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteRollupRuleParamsWithTimeout

func NewDeleteRollupRuleParamsWithTimeout(timeout time.Duration) *DeleteRollupRuleParams

NewDeleteRollupRuleParamsWithTimeout creates a new DeleteRollupRuleParams object with the ability to set a timeout on a request.

func (*DeleteRollupRuleParams) SetContext

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

SetContext adds the context to the delete rollup rule params

func (*DeleteRollupRuleParams) SetDefaults

func (o *DeleteRollupRuleParams) SetDefaults()

SetDefaults hydrates default values in the delete rollup rule params (not the query body).

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

func (*DeleteRollupRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete rollup rule params

func (*DeleteRollupRuleParams) SetSlug

func (o *DeleteRollupRuleParams) SetSlug(slug string)

SetSlug adds the slug to the delete rollup rule params

func (*DeleteRollupRuleParams) SetTimeout

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

SetTimeout adds the timeout to the delete rollup rule params

func (*DeleteRollupRuleParams) WithContext

WithContext adds the context to the delete rollup rule params

func (*DeleteRollupRuleParams) WithDefaults

WithDefaults hydrates default values in the delete rollup rule params (not the query body).

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

func (*DeleteRollupRuleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete rollup rule params

func (*DeleteRollupRuleParams) WithSlug

WithSlug adds the slug to the delete rollup rule params

func (*DeleteRollupRuleParams) WithTimeout

WithTimeout adds the timeout to the delete rollup rule params

func (*DeleteRollupRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRollupRuleReader

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

DeleteRollupRuleReader is a Reader for the DeleteRollupRule structure.

func (*DeleteRollupRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteServiceAccountDefault

type DeleteServiceAccountDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteServiceAccountDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteServiceAccountDefault

func NewDeleteServiceAccountDefault(code int) *DeleteServiceAccountDefault

NewDeleteServiceAccountDefault creates a DeleteServiceAccountDefault with default headers values

func (*DeleteServiceAccountDefault) Code

func (o *DeleteServiceAccountDefault) Code() int

Code gets the status code for the delete service account default response

func (*DeleteServiceAccountDefault) Error

func (*DeleteServiceAccountDefault) GetPayload

func (*DeleteServiceAccountDefault) IsClientError

func (o *DeleteServiceAccountDefault) IsClientError() bool

IsClientError returns true when this delete service account default response has a 4xx status code

func (*DeleteServiceAccountDefault) IsCode

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

IsCode returns true when this delete service account default response a status code equal to that given

func (*DeleteServiceAccountDefault) IsRedirect

func (o *DeleteServiceAccountDefault) IsRedirect() bool

IsRedirect returns true when this delete service account default response has a 3xx status code

func (*DeleteServiceAccountDefault) IsServerError

func (o *DeleteServiceAccountDefault) IsServerError() bool

IsServerError returns true when this delete service account default response has a 5xx status code

func (*DeleteServiceAccountDefault) IsSuccess

func (o *DeleteServiceAccountDefault) IsSuccess() bool

IsSuccess returns true when this delete service account default response has a 2xx status code

func (*DeleteServiceAccountDefault) String

func (o *DeleteServiceAccountDefault) String() string

type DeleteServiceAccountInternalServerError

type DeleteServiceAccountInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewDeleteServiceAccountInternalServerError

func NewDeleteServiceAccountInternalServerError() *DeleteServiceAccountInternalServerError

NewDeleteServiceAccountInternalServerError creates a DeleteServiceAccountInternalServerError with default headers values

func (*DeleteServiceAccountInternalServerError) Code

Code gets the status code for the delete service account internal server error response

func (*DeleteServiceAccountInternalServerError) Error

func (*DeleteServiceAccountInternalServerError) GetPayload

func (*DeleteServiceAccountInternalServerError) IsClientError

func (o *DeleteServiceAccountInternalServerError) IsClientError() bool

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

func (*DeleteServiceAccountInternalServerError) IsCode

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

func (*DeleteServiceAccountInternalServerError) IsRedirect

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

func (*DeleteServiceAccountInternalServerError) IsServerError

func (o *DeleteServiceAccountInternalServerError) IsServerError() bool

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

func (*DeleteServiceAccountInternalServerError) IsSuccess

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

func (*DeleteServiceAccountInternalServerError) String

type DeleteServiceAccountNotFound

type DeleteServiceAccountNotFound struct {
	Payload *models.APIError
}

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

Cannot delete the ServiceAccount because the slug does not exist.

func NewDeleteServiceAccountNotFound

func NewDeleteServiceAccountNotFound() *DeleteServiceAccountNotFound

NewDeleteServiceAccountNotFound creates a DeleteServiceAccountNotFound with default headers values

func (*DeleteServiceAccountNotFound) Code

Code gets the status code for the delete service account not found response

func (*DeleteServiceAccountNotFound) Error

func (*DeleteServiceAccountNotFound) GetPayload

func (o *DeleteServiceAccountNotFound) GetPayload() *models.APIError

func (*DeleteServiceAccountNotFound) IsClientError

func (o *DeleteServiceAccountNotFound) IsClientError() bool

IsClientError returns true when this delete service account not found response has a 4xx status code

func (*DeleteServiceAccountNotFound) IsCode

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

IsCode returns true when this delete service account not found response a status code equal to that given

func (*DeleteServiceAccountNotFound) IsRedirect

func (o *DeleteServiceAccountNotFound) IsRedirect() bool

IsRedirect returns true when this delete service account not found response has a 3xx status code

func (*DeleteServiceAccountNotFound) IsServerError

func (o *DeleteServiceAccountNotFound) IsServerError() bool

IsServerError returns true when this delete service account not found response has a 5xx status code

func (*DeleteServiceAccountNotFound) IsSuccess

func (o *DeleteServiceAccountNotFound) IsSuccess() bool

IsSuccess returns true when this delete service account not found response has a 2xx status code

func (*DeleteServiceAccountNotFound) String

type DeleteServiceAccountOK

type DeleteServiceAccountOK struct {
	Payload models.Configv1DeleteServiceAccountResponse
}

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

A successful response.

func NewDeleteServiceAccountOK

func NewDeleteServiceAccountOK() *DeleteServiceAccountOK

NewDeleteServiceAccountOK creates a DeleteServiceAccountOK with default headers values

func (*DeleteServiceAccountOK) Code

func (o *DeleteServiceAccountOK) Code() int

Code gets the status code for the delete service account o k response

func (*DeleteServiceAccountOK) Error

func (o *DeleteServiceAccountOK) Error() string

func (*DeleteServiceAccountOK) GetPayload

func (*DeleteServiceAccountOK) IsClientError

func (o *DeleteServiceAccountOK) IsClientError() bool

IsClientError returns true when this delete service account o k response has a 4xx status code

func (*DeleteServiceAccountOK) IsCode

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

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

func (*DeleteServiceAccountOK) IsRedirect

func (o *DeleteServiceAccountOK) IsRedirect() bool

IsRedirect returns true when this delete service account o k response has a 3xx status code

func (*DeleteServiceAccountOK) IsServerError

func (o *DeleteServiceAccountOK) IsServerError() bool

IsServerError returns true when this delete service account o k response has a 5xx status code

func (*DeleteServiceAccountOK) IsSuccess

func (o *DeleteServiceAccountOK) IsSuccess() bool

IsSuccess returns true when this delete service account o k response has a 2xx status code

func (*DeleteServiceAccountOK) String

func (o *DeleteServiceAccountOK) String() string

type DeleteServiceAccountParams

type DeleteServiceAccountParams struct {

	// Slug.
	Slug string

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

DeleteServiceAccountParams contains all the parameters to send to the API endpoint

for the delete service account operation.

Typically these are written to a http.Request.

func NewDeleteServiceAccountParams

func NewDeleteServiceAccountParams() *DeleteServiceAccountParams

NewDeleteServiceAccountParams creates a new DeleteServiceAccountParams 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 NewDeleteServiceAccountParamsWithContext

func NewDeleteServiceAccountParamsWithContext(ctx context.Context) *DeleteServiceAccountParams

NewDeleteServiceAccountParamsWithContext creates a new DeleteServiceAccountParams object with the ability to set a context for a request.

func NewDeleteServiceAccountParamsWithHTTPClient

func NewDeleteServiceAccountParamsWithHTTPClient(client *http.Client) *DeleteServiceAccountParams

NewDeleteServiceAccountParamsWithHTTPClient creates a new DeleteServiceAccountParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteServiceAccountParamsWithTimeout

func NewDeleteServiceAccountParamsWithTimeout(timeout time.Duration) *DeleteServiceAccountParams

NewDeleteServiceAccountParamsWithTimeout creates a new DeleteServiceAccountParams object with the ability to set a timeout on a request.

func (*DeleteServiceAccountParams) SetContext

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

SetContext adds the context to the delete service account params

func (*DeleteServiceAccountParams) SetDefaults

func (o *DeleteServiceAccountParams) SetDefaults()

SetDefaults hydrates default values in the delete service account params (not the query body).

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

func (*DeleteServiceAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete service account params

func (*DeleteServiceAccountParams) SetSlug

func (o *DeleteServiceAccountParams) SetSlug(slug string)

SetSlug adds the slug to the delete service account params

func (*DeleteServiceAccountParams) SetTimeout

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

SetTimeout adds the timeout to the delete service account params

func (*DeleteServiceAccountParams) WithContext

WithContext adds the context to the delete service account params

func (*DeleteServiceAccountParams) WithDefaults

WithDefaults hydrates default values in the delete service account params (not the query body).

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

func (*DeleteServiceAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete service account params

func (*DeleteServiceAccountParams) WithSlug

WithSlug adds the slug to the delete service account params

func (*DeleteServiceAccountParams) WithTimeout

WithTimeout adds the timeout to the delete service account params

func (*DeleteServiceAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteServiceAccountReader

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

DeleteServiceAccountReader is a Reader for the DeleteServiceAccount structure.

func (*DeleteServiceAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteTeamDefault

type DeleteTeamDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteTeamDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteTeamDefault

func NewDeleteTeamDefault(code int) *DeleteTeamDefault

NewDeleteTeamDefault creates a DeleteTeamDefault with default headers values

func (*DeleteTeamDefault) Code

func (o *DeleteTeamDefault) Code() int

Code gets the status code for the delete team default response

func (*DeleteTeamDefault) Error

func (o *DeleteTeamDefault) Error() string

func (*DeleteTeamDefault) GetPayload

func (o *DeleteTeamDefault) GetPayload() models.GenericError

func (*DeleteTeamDefault) IsClientError

func (o *DeleteTeamDefault) IsClientError() bool

IsClientError returns true when this delete team default response has a 4xx status code

func (*DeleteTeamDefault) IsCode

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

IsCode returns true when this delete team default response a status code equal to that given

func (*DeleteTeamDefault) IsRedirect

func (o *DeleteTeamDefault) IsRedirect() bool

IsRedirect returns true when this delete team default response has a 3xx status code

func (*DeleteTeamDefault) IsServerError

func (o *DeleteTeamDefault) IsServerError() bool

IsServerError returns true when this delete team default response has a 5xx status code

func (*DeleteTeamDefault) IsSuccess

func (o *DeleteTeamDefault) IsSuccess() bool

IsSuccess returns true when this delete team default response has a 2xx status code

func (*DeleteTeamDefault) String

func (o *DeleteTeamDefault) String() string

type DeleteTeamInternalServerError

type DeleteTeamInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewDeleteTeamInternalServerError

func NewDeleteTeamInternalServerError() *DeleteTeamInternalServerError

NewDeleteTeamInternalServerError creates a DeleteTeamInternalServerError with default headers values

func (*DeleteTeamInternalServerError) Code

Code gets the status code for the delete team internal server error response

func (*DeleteTeamInternalServerError) Error

func (*DeleteTeamInternalServerError) GetPayload

func (*DeleteTeamInternalServerError) IsClientError

func (o *DeleteTeamInternalServerError) IsClientError() bool

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

func (*DeleteTeamInternalServerError) IsCode

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

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

func (*DeleteTeamInternalServerError) IsRedirect

func (o *DeleteTeamInternalServerError) IsRedirect() bool

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

func (*DeleteTeamInternalServerError) IsServerError

func (o *DeleteTeamInternalServerError) IsServerError() bool

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

func (*DeleteTeamInternalServerError) IsSuccess

func (o *DeleteTeamInternalServerError) IsSuccess() bool

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

func (*DeleteTeamInternalServerError) String

type DeleteTeamNotFound

type DeleteTeamNotFound struct {
	Payload *models.APIError
}

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

Cannot delete the Team because the slug does not exist.

func NewDeleteTeamNotFound

func NewDeleteTeamNotFound() *DeleteTeamNotFound

NewDeleteTeamNotFound creates a DeleteTeamNotFound with default headers values

func (*DeleteTeamNotFound) Code

func (o *DeleteTeamNotFound) Code() int

Code gets the status code for the delete team not found response

func (*DeleteTeamNotFound) Error

func (o *DeleteTeamNotFound) Error() string

func (*DeleteTeamNotFound) GetPayload

func (o *DeleteTeamNotFound) GetPayload() *models.APIError

func (*DeleteTeamNotFound) IsClientError

func (o *DeleteTeamNotFound) IsClientError() bool

IsClientError returns true when this delete team not found response has a 4xx status code

func (*DeleteTeamNotFound) IsCode

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

IsCode returns true when this delete team not found response a status code equal to that given

func (*DeleteTeamNotFound) IsRedirect

func (o *DeleteTeamNotFound) IsRedirect() bool

IsRedirect returns true when this delete team not found response has a 3xx status code

func (*DeleteTeamNotFound) IsServerError

func (o *DeleteTeamNotFound) IsServerError() bool

IsServerError returns true when this delete team not found response has a 5xx status code

func (*DeleteTeamNotFound) IsSuccess

func (o *DeleteTeamNotFound) IsSuccess() bool

IsSuccess returns true when this delete team not found response has a 2xx status code

func (*DeleteTeamNotFound) String

func (o *DeleteTeamNotFound) String() string

type DeleteTeamOK

type DeleteTeamOK struct {
	Payload models.Configv1DeleteTeamResponse
}

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

A successful response.

func NewDeleteTeamOK

func NewDeleteTeamOK() *DeleteTeamOK

NewDeleteTeamOK creates a DeleteTeamOK with default headers values

func (*DeleteTeamOK) Code

func (o *DeleteTeamOK) Code() int

Code gets the status code for the delete team o k response

func (*DeleteTeamOK) Error

func (o *DeleteTeamOK) Error() string

func (*DeleteTeamOK) GetPayload

func (*DeleteTeamOK) IsClientError

func (o *DeleteTeamOK) IsClientError() bool

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

func (*DeleteTeamOK) IsCode

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

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

func (*DeleteTeamOK) IsRedirect

func (o *DeleteTeamOK) IsRedirect() bool

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

func (*DeleteTeamOK) IsServerError

func (o *DeleteTeamOK) IsServerError() bool

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

func (*DeleteTeamOK) IsSuccess

func (o *DeleteTeamOK) IsSuccess() bool

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

func (*DeleteTeamOK) String

func (o *DeleteTeamOK) String() string

type DeleteTeamParams

type DeleteTeamParams struct {

	// Slug.
	Slug string

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

DeleteTeamParams contains all the parameters to send to the API endpoint

for the delete team operation.

Typically these are written to a http.Request.

func NewDeleteTeamParams

func NewDeleteTeamParams() *DeleteTeamParams

NewDeleteTeamParams creates a new DeleteTeamParams 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 NewDeleteTeamParamsWithContext

func NewDeleteTeamParamsWithContext(ctx context.Context) *DeleteTeamParams

NewDeleteTeamParamsWithContext creates a new DeleteTeamParams object with the ability to set a context for a request.

func NewDeleteTeamParamsWithHTTPClient

func NewDeleteTeamParamsWithHTTPClient(client *http.Client) *DeleteTeamParams

NewDeleteTeamParamsWithHTTPClient creates a new DeleteTeamParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteTeamParamsWithTimeout

func NewDeleteTeamParamsWithTimeout(timeout time.Duration) *DeleteTeamParams

NewDeleteTeamParamsWithTimeout creates a new DeleteTeamParams object with the ability to set a timeout on a request.

func (*DeleteTeamParams) SetContext

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

SetContext adds the context to the delete team params

func (*DeleteTeamParams) SetDefaults

func (o *DeleteTeamParams) SetDefaults()

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

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

func (*DeleteTeamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete team params

func (*DeleteTeamParams) SetSlug

func (o *DeleteTeamParams) SetSlug(slug string)

SetSlug adds the slug to the delete team params

func (*DeleteTeamParams) SetTimeout

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

SetTimeout adds the timeout to the delete team params

func (*DeleteTeamParams) WithContext

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

WithContext adds the context to the delete team params

func (*DeleteTeamParams) WithDefaults

func (o *DeleteTeamParams) WithDefaults() *DeleteTeamParams

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

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

func (*DeleteTeamParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete team params

func (*DeleteTeamParams) WithSlug

func (o *DeleteTeamParams) WithSlug(slug string) *DeleteTeamParams

WithSlug adds the slug to the delete team params

func (*DeleteTeamParams) WithTimeout

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

WithTimeout adds the timeout to the delete team params

func (*DeleteTeamParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteTeamReader

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

DeleteTeamReader is a Reader for the DeleteTeam structure.

func (*DeleteTeamReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListBucketsDefault

type ListBucketsDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ListBucketsDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewListBucketsDefault

func NewListBucketsDefault(code int) *ListBucketsDefault

NewListBucketsDefault creates a ListBucketsDefault with default headers values

func (*ListBucketsDefault) Code

func (o *ListBucketsDefault) Code() int

Code gets the status code for the list buckets default response

func (*ListBucketsDefault) Error

func (o *ListBucketsDefault) Error() string

func (*ListBucketsDefault) GetPayload

func (o *ListBucketsDefault) GetPayload() models.GenericError

func (*ListBucketsDefault) IsClientError

func (o *ListBucketsDefault) IsClientError() bool

IsClientError returns true when this list buckets default response has a 4xx status code

func (*ListBucketsDefault) IsCode

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

IsCode returns true when this list buckets default response a status code equal to that given

func (*ListBucketsDefault) IsRedirect

func (o *ListBucketsDefault) IsRedirect() bool

IsRedirect returns true when this list buckets default response has a 3xx status code

func (*ListBucketsDefault) IsServerError

func (o *ListBucketsDefault) IsServerError() bool

IsServerError returns true when this list buckets default response has a 5xx status code

func (*ListBucketsDefault) IsSuccess

func (o *ListBucketsDefault) IsSuccess() bool

IsSuccess returns true when this list buckets default response has a 2xx status code

func (*ListBucketsDefault) String

func (o *ListBucketsDefault) String() string

type ListBucketsInternalServerError

type ListBucketsInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewListBucketsInternalServerError

func NewListBucketsInternalServerError() *ListBucketsInternalServerError

NewListBucketsInternalServerError creates a ListBucketsInternalServerError with default headers values

func (*ListBucketsInternalServerError) Code

Code gets the status code for the list buckets internal server error response

func (*ListBucketsInternalServerError) Error

func (*ListBucketsInternalServerError) GetPayload

func (*ListBucketsInternalServerError) IsClientError

func (o *ListBucketsInternalServerError) IsClientError() bool

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

func (*ListBucketsInternalServerError) IsCode

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

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

func (*ListBucketsInternalServerError) IsRedirect

func (o *ListBucketsInternalServerError) IsRedirect() bool

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

func (*ListBucketsInternalServerError) IsServerError

func (o *ListBucketsInternalServerError) IsServerError() bool

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

func (*ListBucketsInternalServerError) IsSuccess

func (o *ListBucketsInternalServerError) IsSuccess() bool

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

func (*ListBucketsInternalServerError) String

type ListBucketsOK

type ListBucketsOK struct {
	Payload *models.Configv1ListBucketsResponse
}

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

A successful response.

func NewListBucketsOK

func NewListBucketsOK() *ListBucketsOK

NewListBucketsOK creates a ListBucketsOK with default headers values

func (*ListBucketsOK) Code

func (o *ListBucketsOK) Code() int

Code gets the status code for the list buckets o k response

func (*ListBucketsOK) Error

func (o *ListBucketsOK) Error() string

func (*ListBucketsOK) GetPayload

func (*ListBucketsOK) IsClientError

func (o *ListBucketsOK) IsClientError() bool

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

func (*ListBucketsOK) IsCode

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

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

func (*ListBucketsOK) IsRedirect

func (o *ListBucketsOK) IsRedirect() bool

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

func (*ListBucketsOK) IsServerError

func (o *ListBucketsOK) IsServerError() bool

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

func (*ListBucketsOK) IsSuccess

func (o *ListBucketsOK) IsSuccess() bool

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

func (*ListBucketsOK) String

func (o *ListBucketsOK) String() string

type ListBucketsParams

type ListBucketsParams struct {

	/* Names.

	   Filters results by name, where any Bucket with a matching name in the given list (and matches all other filters) is returned.
	*/
	Names []string

	/* PageMaxSize.

	     Page size preference (i.e. how many items are returned in the next
	page). If zero, the server will use a default. Regardless of what size
	is given, clients must never assume how many items will be returned.

	     Format: int64
	*/
	PageMaxSize *int64

	/* PageToken.

	     Opaque page token identifying which page to request. An empty token
	identifies the first page.
	*/
	PageToken *string

	/* Slugs.

	   Filters results by slug, where any Bucket with a matching slug in the given list (and matches all other filters) is returned.
	*/
	Slugs []string

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

ListBucketsParams contains all the parameters to send to the API endpoint

for the list buckets operation.

Typically these are written to a http.Request.

func NewListBucketsParams

func NewListBucketsParams() *ListBucketsParams

NewListBucketsParams creates a new ListBucketsParams 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 NewListBucketsParamsWithContext

func NewListBucketsParamsWithContext(ctx context.Context) *ListBucketsParams

NewListBucketsParamsWithContext creates a new ListBucketsParams object with the ability to set a context for a request.

func NewListBucketsParamsWithHTTPClient

func NewListBucketsParamsWithHTTPClient(client *http.Client) *ListBucketsParams

NewListBucketsParamsWithHTTPClient creates a new ListBucketsParams object with the ability to set a custom HTTPClient for a request.

func NewListBucketsParamsWithTimeout

func NewListBucketsParamsWithTimeout(timeout time.Duration) *ListBucketsParams

NewListBucketsParamsWithTimeout creates a new ListBucketsParams object with the ability to set a timeout on a request.

func (*ListBucketsParams) SetContext

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

SetContext adds the context to the list buckets params

func (*ListBucketsParams) SetDefaults

func (o *ListBucketsParams) SetDefaults()

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

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

func (*ListBucketsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list buckets params

func (*ListBucketsParams) SetNames

func (o *ListBucketsParams) SetNames(names []string)

SetNames adds the names to the list buckets params

func (*ListBucketsParams) SetPageMaxSize

func (o *ListBucketsParams) SetPageMaxSize(pageMaxSize *int64)

SetPageMaxSize adds the pageMaxSize to the list buckets params

func (*ListBucketsParams) SetPageToken

func (o *ListBucketsParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list buckets params

func (*ListBucketsParams) SetSlugs

func (o *ListBucketsParams) SetSlugs(slugs []string)

SetSlugs adds the slugs to the list buckets params

func (*ListBucketsParams) SetTimeout

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

SetTimeout adds the timeout to the list buckets params

func (*ListBucketsParams) WithContext

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

WithContext adds the context to the list buckets params

func (*ListBucketsParams) WithDefaults

func (o *ListBucketsParams) WithDefaults() *ListBucketsParams

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

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

func (*ListBucketsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list buckets params

func (*ListBucketsParams) WithNames

func (o *ListBucketsParams) WithNames(names []string) *ListBucketsParams

WithNames adds the names to the list buckets params

func (*ListBucketsParams) WithPageMaxSize

func (o *ListBucketsParams) WithPageMaxSize(pageMaxSize *int64) *ListBucketsParams

WithPageMaxSize adds the pageMaxSize to the list buckets params

func (*ListBucketsParams) WithPageToken

func (o *ListBucketsParams) WithPageToken(pageToken *string) *ListBucketsParams

WithPageToken adds the pageToken to the list buckets params

func (*ListBucketsParams) WithSlugs

func (o *ListBucketsParams) WithSlugs(slugs []string) *ListBucketsParams

WithSlugs adds the slugs to the list buckets params

func (*ListBucketsParams) WithTimeout

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

WithTimeout adds the timeout to the list buckets params

func (*ListBucketsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListBucketsReader

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

ListBucketsReader is a Reader for the ListBuckets structure.

func (*ListBucketsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListClassicDashboardsDefault

type ListClassicDashboardsDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ListClassicDashboardsDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewListClassicDashboardsDefault

func NewListClassicDashboardsDefault(code int) *ListClassicDashboardsDefault

NewListClassicDashboardsDefault creates a ListClassicDashboardsDefault with default headers values

func (*ListClassicDashboardsDefault) Code

Code gets the status code for the list classic dashboards default response

func (*ListClassicDashboardsDefault) Error

func (*ListClassicDashboardsDefault) GetPayload

func (*ListClassicDashboardsDefault) IsClientError

func (o *ListClassicDashboardsDefault) IsClientError() bool

IsClientError returns true when this list classic dashboards default response has a 4xx status code

func (*ListClassicDashboardsDefault) IsCode

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

IsCode returns true when this list classic dashboards default response a status code equal to that given

func (*ListClassicDashboardsDefault) IsRedirect

func (o *ListClassicDashboardsDefault) IsRedirect() bool

IsRedirect returns true when this list classic dashboards default response has a 3xx status code

func (*ListClassicDashboardsDefault) IsServerError

func (o *ListClassicDashboardsDefault) IsServerError() bool

IsServerError returns true when this list classic dashboards default response has a 5xx status code

func (*ListClassicDashboardsDefault) IsSuccess

func (o *ListClassicDashboardsDefault) IsSuccess() bool

IsSuccess returns true when this list classic dashboards default response has a 2xx status code

func (*ListClassicDashboardsDefault) String

type ListClassicDashboardsInternalServerError

type ListClassicDashboardsInternalServerError struct {
	Payload *models.APIError
}

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

An unexpected error response.

func NewListClassicDashboardsInternalServerError

func NewListClassicDashboardsInternalServerError() *ListClassicDashboardsInternalServerError

NewListClassicDashboardsInternalServerError creates a ListClassicDashboardsInternalServerError with default headers values

func (*ListClassicDashboardsInternalServerError) Code

Code gets the status code for the list classic dashboards internal server error response

func (*ListClassicDashboardsInternalServerError) Error

func (*ListClassicDashboardsInternalServerError) GetPayload

func (*ListClassicDashboardsInternalServerError) IsClientError

IsClientError returns true when this list classic dashboards internal server error response has a 4xx status code

func (*ListClassicDashboardsInternalServerError) IsCode

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

func (*ListClassicDashboardsInternalServerError) IsRedirect

IsRedirect returns true when this list classic dashboards internal server error response has a 3xx status code

func (*ListClassicDashboardsInternalServerError) IsServerError

IsServerError returns true when this list classic dashboards internal server error response has a 5xx status code

func (*ListClassicDashboardsInternalServerError) IsSuccess

IsSuccess returns true when this list classic dashboards internal server error response has a 2xx status code

func (*ListClassicDashboardsInternalServerError) String

type ListClassicDashboardsOK

type ListClassicDashboardsOK struct {
	Payload *models.Configv1ListClassicDashboardsResponse
}

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

A successful response.

func NewListClassicDashboardsOK

func NewListClassicDashboardsOK() *ListClassicDashboardsOK

NewListClassicDashboardsOK creates a ListClassicDashboardsOK with default headers values

func (*ListClassicDashboardsOK) Code

func (o *ListClassicDashboardsOK) Code() int

Code gets the status code for the list classic dashboards o k response

func (*ListClassicDashboardsOK) Error

func (o *ListClassicDashboardsOK) Error() string

func (*ListClassicDashboardsOK) GetPayload

func (*ListClassicDashboardsOK) IsClientError

func (o *ListClassicDashboardsOK) IsClientError() bool

IsClientError returns true when this list classic dashboards o k response has a 4xx status code

func (*ListClassicDashboardsOK) IsCode

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

IsCode returns true when this list classic dashboards o k response a status code equal to that given

func (*ListClassicDashboardsOK) IsRedirect

func (o *ListClassicDashboardsOK) IsRedirect() bool

IsRedirect returns true when this list classic dashboards o k response has a 3xx status code

func (*ListClassicDashboardsOK) IsServerError

func (o *ListClassicDashboardsOK) IsServerError() bool

IsServerError returns true when this list classic dashboards o k response has a 5xx status code

func (*ListClassicDashboardsOK) IsSuccess

func (o *ListClassicDashboardsOK) IsSuccess() bool

IsSuccess returns true when this list classic dashboards o k response has a 2xx status code

func (*ListClassicDashboardsOK) String

func (o *ListClassicDashboardsOK) String() string

type ListClassicDashboardsParams

type ListClassicDashboardsParams struct {

	/* BucketSlugs.

	   Filters results by bucket_slug, where any ClassicDashboard with a matching bucket_slug in the given list (and matches all other filters) is returned.
	*/
	BucketSlugs []string

	/* CollectionSlugs.

	   Filters results by collection_slug, where any ClassicDashboard with a matching collection_slug in the given list (and matches all other filters) is returned.
	*/
	CollectionSlugs []string

	/* IncludeDashboardJSON.

	     Optional flag to populate the dashboard_json of the returned dashboards.
	By default, dashboard_json will be left empty.
	*/
	IncludeDashboardJSON *bool

	/* Names.

	   Filters results by name, where any ClassicDashboard with a matching name in the given list (and matches all other filters) is returned.
	*/
	Names []string

	/* PageMaxSize.

	     Page size preference (i.e. how many items are returned in the next
	page). If zero, the server will use a default. Regardless of what size
	is given, clients must never assume how many items will be returned.

	     Format: int64
	*/
	PageMaxSize *int64

	/* PageToken.

	     Opaque page token identifying which page to request. An empty token
	identifies the first page.
	*/
	PageToken *string

	/* Slugs.

	   Filters results by slug, where any ClassicDashboard with a matching slug in the given list (and matches all other filters) is returned.
	*/
	Slugs []string

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

ListClassicDashboardsParams contains all the parameters to send to the API endpoint

for the list classic dashboards operation.

Typically these are written to a http.Request.

func NewListClassicDashboardsParams

func NewListClassicDashboardsParams() *ListClassicDashboardsParams

NewListClassicDashboardsParams creates a new ListClassicDashboardsParams 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 NewListClassicDashboardsParamsWithContext

func NewListClassicDashboardsParamsWithContext(ctx context.Context) *ListClassicDashboardsParams

NewListClassicDashboardsParamsWithContext creates a new ListClassicDashboardsParams object with the ability to set a context for a request.

func NewListClassicDashboardsParamsWithHTTPClient

func NewListClassicDashboardsParamsWithHTTPClient(client *http.Client) *ListClassicDashboardsParams

NewListClassicDashboardsParamsWithHTTPClient creates a new ListClassicDashboardsParams object with the ability to set a custom HTTPClient for a request.

func NewListClassicDashboardsParamsWithTimeout

func NewListClassicDashboardsParamsWithTimeout(timeout time.Duration) *ListClassicDashboardsParams

NewListClassicDashboardsParamsWithTimeout creates a new ListClassicDashboardsParams object with the ability to set a timeout on a request.

func (*ListClassicDashboardsParams) SetBucketSlugs

func (o *ListClassicDashboardsParams) SetBucketSlugs(bucketSlugs []string)

SetBucketSlugs adds the bucketSlugs to the list classic dashboards params

func (*ListClassicDashboardsParams) SetCollectionSlugs

func (o *ListClassicDashboardsParams) SetCollectionSlugs(collectionSlugs []string)

SetCollectionSlugs adds the collectionSlugs to the list classic dashboards params

func (*ListClassicDashboardsParams) SetContext

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

SetContext adds the context to the list classic dashboards params

func (*ListClassicDashboardsParams) SetDefaults

func (o *ListClassicDashboardsParams) SetDefaults()

SetDefaults hydrates default values in the list classic dashboards params (not the query body).

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

func (*ListClassicDashboardsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list classic dashboards params

func (*ListClassicDashboardsParams) SetIncludeDashboardJSON

func (o *ListClassicDashboardsParams) SetIncludeDashboardJSON(includeDashboardJSON *bool)

SetIncludeDashboardJSON adds the includeDashboardJson to the list classic dashboards params

func (*ListClassicDashboardsParams) SetNames

func (o *ListClassicDashboardsParams) SetNames(names []string)

SetNames adds the names to the list classic dashboards params

func (*ListClassicDashboardsParams) SetPageMaxSize

func (o *ListClassicDashboardsParams) SetPageMaxSize(pageMaxSize *int64)

SetPageMaxSize adds the pageMaxSize to the list classic dashboards params

func (*ListClassicDashboardsParams) SetPageToken

func (o *ListClassicDashboardsParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list classic dashboards params

func (*ListClassicDashboardsParams) SetSlugs

func (o *ListClassicDashboardsParams) SetSlugs(slugs []string)

SetSlugs adds the slugs to the list classic dashboards params

func (*ListClassicDashboardsParams) SetTimeout

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

SetTimeout adds the timeout to the list classic dashboards params

func (*ListClassicDashboardsParams) WithBucketSlugs

func (o *ListClassicDashboardsParams) WithBucketSlugs(bucketSlugs []string) *ListClassicDashboardsParams

WithBucketSlugs adds the bucketSlugs to the list classic dashboards params

func (*ListClassicDashboardsParams) WithCollectionSlugs

func (o *ListClassicDashboardsParams) WithCollectionSlugs(collectionSlugs []string) *ListClassicDashboardsParams

WithCollectionSlugs adds the collectionSlugs to the list classic dashboards params

func (*ListClassicDashboardsParams) WithContext

WithContext adds the context to the list classic dashboards params

func (*ListClassicDashboardsParams) WithDefaults

WithDefaults hydrates default values in the list classic dashboards params (not the query body).

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

func (*ListClassicDashboardsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list classic dashboards params

func (*ListClassicDashboardsParams) WithIncludeDashboardJSON

func (o *ListClassicDashboardsParams) WithIncludeDashboardJSON(includeDashboardJSON *bool) *ListClassicDashboardsParams

WithIncludeDashboardJSON adds the includeDashboardJSON to the list classic dashboards params

func (*ListClassicDashboardsParams) WithNames

WithNames adds the names to the list classic dashboards params

func (*ListClassicDashboardsParams) WithPageMaxSize

func (o *ListClassicDashboardsParams) WithPageMaxSize(pageMaxSize *int64) *ListClassicDashboardsParams

WithPageMaxSize adds the pageMaxSize to the list classic dashboards params

func (*ListClassicDashboardsParams) WithPageToken

func (o *ListClassicDashboardsParams) WithPageToken(pageToken *string) *ListClassicDashboardsParams

WithPageToken adds the pageToken to the list classic dashboards params

func (*ListClassicDashboardsParams) WithSlugs

WithSlugs adds the slugs to the list classic dashboards params

func (*ListClassicDashboardsParams) WithTimeout

WithTimeout adds the timeout to the list classic dashboards params

func (*ListClassicDashboardsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListClassicDashboardsReader

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

ListClassicDashboardsReader is a Reader for the ListClassicDashboards structure.

func (*ListClassicDashboardsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListCollectionsDefault

type ListCollectionsDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ListCollectionsDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewListCollectionsDefault

func NewListCollectionsDefault(code int) *ListCollectionsDefault

NewListCollectionsDefault creates a ListCollectionsDefault with default headers values

func (*ListCollectionsDefault) Code

func (o *ListCollectionsDefault) Code() int

Code gets the status code for the list collections default response

func (*ListCollectionsDefault) Error

func (o *ListCollectionsDefault) Error() string

func (*ListCollectionsDefault) GetPayload

func (o *ListCollectionsDefault) GetPayload() models.GenericError

func (*ListCollectionsDefault) IsClientError

func (o *ListCollectionsDefault) IsClientError() bool

IsClientError returns true when this list collections default response has a 4xx status code

func (*ListCollectionsDefault) IsCode

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

IsCode returns true when this list collections default response a status code equal to that given

func (*ListCollectionsDefault) IsRedirect

func (o *ListCollectionsDefault) IsRedirect() bool

IsRedirect returns true when this list collections default response has a 3xx status code

func (*ListCollectionsDefault) IsServerError

func (o *ListCollectionsDefault) IsServerError() bool

IsServerError returns true when this list collections default response has a 5xx status code

func (*ListCollectionsDefault) IsSuccess

func (o *ListCollectionsDefault) IsSuccess() bool

IsSuccess returns true when this list collections default response has a 2xx status code

func (*ListCollectionsDefault) String

func (o *ListCollectionsDefault) String() string

type ListCollectionsInternalServerError

type ListCollectionsInternalServerError struct {
	Payload *models.APIError
}

ListCollectionsInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewListCollectionsInternalServerError

func NewListCollectionsInternalServerError() *ListCollectionsInternalServerError

NewListCollectionsInternalServerError creates a ListCollectionsInternalServerError with default headers values

func (*ListCollectionsInternalServerError) Code

Code gets the status code for the list collections internal server error response

func (*ListCollectionsInternalServerError) Error

func (*ListCollectionsInternalServerError) GetPayload

func (*ListCollectionsInternalServerError) IsClientError

func (o *ListCollectionsInternalServerError) IsClientError() bool

IsClientError returns true when this list collections internal server error response has a 4xx status code

func (*ListCollectionsInternalServerError) IsCode

IsCode returns true when this list collections internal server error response a status code equal to that given

func (*ListCollectionsInternalServerError) IsRedirect

func (o *ListCollectionsInternalServerError) IsRedirect() bool

IsRedirect returns true when this list collections internal server error response has a 3xx status code

func (*ListCollectionsInternalServerError) IsServerError

func (o *ListCollectionsInternalServerError) IsServerError() bool

IsServerError returns true when this list collections internal server error response has a 5xx status code

func (*ListCollectionsInternalServerError) IsSuccess

IsSuccess returns true when this list collections internal server error response has a 2xx status code

func (*ListCollectionsInternalServerError) String

type ListCollectionsOK

type ListCollectionsOK struct {
	Payload *models.Configv1ListCollectionsResponse
}

ListCollectionsOK describes a response with status code 200, with default header values.

A successful response.

func NewListCollectionsOK

func NewListCollectionsOK() *ListCollectionsOK

NewListCollectionsOK creates a ListCollectionsOK with default headers values

func (*ListCollectionsOK) Code

func (o *ListCollectionsOK) Code() int

Code gets the status code for the list collections o k response

func (*ListCollectionsOK) Error

func (o *ListCollectionsOK) Error() string

func (*ListCollectionsOK) GetPayload

func (*ListCollectionsOK) IsClientError

func (o *ListCollectionsOK) IsClientError() bool

IsClientError returns true when this list collections o k response has a 4xx status code

func (*ListCollectionsOK) IsCode

func (o *ListCollectionsOK) IsCode(code int) bool

IsCode returns true when this list collections o k response a status code equal to that given

func (*ListCollectionsOK) IsRedirect

func (o *ListCollectionsOK) IsRedirect() bool

IsRedirect returns true when this list collections o k response has a 3xx status code

func (*ListCollectionsOK) IsServerError

func (o *ListCollectionsOK) IsServerError() bool

IsServerError returns true when this list collections o k response has a 5xx status code

func (*ListCollectionsOK) IsSuccess

func (o *ListCollectionsOK) IsSuccess() bool

IsSuccess returns true when this list collections o k response has a 2xx status code

func (*ListCollectionsOK) String

func (o *ListCollectionsOK) String() string

type ListCollectionsParams

type ListCollectionsParams struct {

	/* Names.

	   Filters results by name, where any Collection with a matching name in the given list (and matches all other filters) is returned.
	*/
	Names []string

	/* NotificationPolicySlugs.

	   Get collections that directly reference notifications policies by the referenced policy slugs.
	*/
	NotificationPolicySlugs []string

	/* PageMaxSize.

	     Page size preference (i.e. how many items are returned in the next
	page). If zero, the server will use a default. Regardless of what size
	is given, clients must never assume how many items will be returned.

	     Format: int64
	*/
	PageMaxSize *int64

	/* PageToken.

	     Opaque page token identifying which page to request. An empty token
	identifies the first page.
	*/
	PageToken *string

	/* Slugs.

	   Filters results by slug, where any Collection with a matching slug in the given list (and matches all other filters) is returned.
	*/
	Slugs []string

	/* TeamSlugs.

	   Filters results by team_slug, where any Collection with a matching team_slug in the given list (and matches all other filters) is returned.
	*/
	TeamSlugs []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListCollectionsParams contains all the parameters to send to the API endpoint

for the list collections operation.

Typically these are written to a http.Request.

func NewListCollectionsParams

func NewListCollectionsParams() *ListCollectionsParams

NewListCollectionsParams creates a new ListCollectionsParams 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 NewListCollectionsParamsWithContext

func NewListCollectionsParamsWithContext(ctx context.Context) *ListCollectionsParams

NewListCollectionsParamsWithContext creates a new ListCollectionsParams object with the ability to set a context for a request.

func NewListCollectionsParamsWithHTTPClient

func NewListCollectionsParamsWithHTTPClient(client *http.Client) *ListCollectionsParams

NewListCollectionsParamsWithHTTPClient creates a new ListCollectionsParams object with the ability to set a custom HTTPClient for a request.

func NewListCollectionsParamsWithTimeout

func NewListCollectionsParamsWithTimeout(timeout time.Duration) *ListCollectionsParams

NewListCollectionsParamsWithTimeout creates a new ListCollectionsParams object with the ability to set a timeout on a request.

func (*ListCollectionsParams) SetContext

func (o *ListCollectionsParams) SetContext(ctx context.Context)

SetContext adds the context to the list collections params

func (*ListCollectionsParams) SetDefaults

func (o *ListCollectionsParams) SetDefaults()

SetDefaults hydrates default values in the list collections params (not the query body).

All values with no default are reset to their zero value.

func (*ListCollectionsParams) SetHTTPClient

func (o *ListCollectionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list collections params

func (*ListCollectionsParams) SetNames

func (o *ListCollectionsParams) SetNames(names []string)

SetNames adds the names to the list collections params

func (*ListCollectionsParams) SetNotificationPolicySlugs

func (o *ListCollectionsParams) SetNotificationPolicySlugs(notificationPolicySlugs []string)

SetNotificationPolicySlugs adds the notificationPolicySlugs to the list collections params

func (*ListCollectionsParams) SetPageMaxSize

func (o *ListCollectionsParams) SetPageMaxSize(pageMaxSize *int64)

SetPageMaxSize adds the pageMaxSize to the list collections params

func (*ListCollectionsParams) SetPageToken

func (o *ListCollectionsParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list collections params

func (*ListCollectionsParams) SetSlugs

func (o *ListCollectionsParams) SetSlugs(slugs []string)

SetSlugs adds the slugs to the list collections params

func (*ListCollectionsParams) SetTeamSlugs

func (o *ListCollectionsParams) SetTeamSlugs(teamSlugs []string)

SetTeamSlugs adds the teamSlugs to the list collections params

func (*ListCollectionsParams) SetTimeout

func (o *ListCollectionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list collections params

func (*ListCollectionsParams) WithContext

WithContext adds the context to the list collections params

func (*ListCollectionsParams) WithDefaults

func (o *ListCollectionsParams) WithDefaults() *ListCollectionsParams

WithDefaults hydrates default values in the list collections params (not the query body).

All values with no default are reset to their zero value.

func (*ListCollectionsParams) WithHTTPClient

func (o *ListCollectionsParams) WithHTTPClient(client *http.Client) *ListCollectionsParams

WithHTTPClient adds the HTTPClient to the list collections params

func (*ListCollectionsParams) WithNames

func (o *ListCollectionsParams) WithNames(names []string) *ListCollectionsParams

WithNames adds the names to the list collections params

func (*ListCollectionsParams) WithNotificationPolicySlugs

func (o *ListCollectionsParams) WithNotificationPolicySlugs(notificationPolicySlugs []string) *ListCollectionsParams

WithNotificationPolicySlugs adds the notificationPolicySlugs to the list collections params

func (*ListCollectionsParams) WithPageMaxSize

func (o *ListCollectionsParams) WithPageMaxSize(pageMaxSize *int64) *ListCollectionsParams

WithPageMaxSize adds the pageMaxSize to the list collections params

func (*ListCollectionsParams) WithPageToken

func (o *ListCollectionsParams) WithPageToken(pageToken *string) *ListCollectionsParams

WithPageToken adds the pageToken to the list collections params

func (*ListCollectionsParams) WithSlugs

func (o *ListCollectionsParams) WithSlugs(slugs []string) *ListCollectionsParams

WithSlugs adds the slugs to the list collections params

func (*ListCollectionsParams) WithTeamSlugs

func (o *ListCollectionsParams) WithTeamSlugs(teamSlugs []string) *ListCollectionsParams

WithTeamSlugs adds the teamSlugs to the list collections params

func (*ListCollectionsParams) WithTimeout

func (o *ListCollectionsParams) WithTimeout(timeout time.Duration) *ListCollectionsParams

WithTimeout adds the timeout to the list collections params

func (*ListCollectionsParams) WriteToRequest

func (o *ListCollectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListCollectionsReader

type ListCollectionsReader struct {
	// contains filtered or unexported fields
}

ListCollectionsReader is a Reader for the ListCollections structure.

func (*ListCollectionsReader) ReadResponse

func (o *ListCollectionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListDashboardsDefault

type ListDashboardsDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ListDashboardsDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewListDashboardsDefault

func NewListDashboardsDefault(code int) *ListDashboardsDefault

NewListDashboardsDefault creates a ListDashboardsDefault with default headers values

func (*ListDashboardsDefault) Code

func (o *ListDashboardsDefault) Code() int

Code gets the status code for the list dashboards default response

func (*ListDashboardsDefault) Error

func (o *ListDashboardsDefault) Error() string

func (*ListDashboardsDefault) GetPayload

func (o *ListDashboardsDefault) GetPayload() models.GenericError

func (*ListDashboardsDefault) IsClientError

func (o *ListDashboardsDefault) IsClientError() bool

IsClientError returns true when this list dashboards default response has a 4xx status code

func (*ListDashboardsDefault) IsCode

func (o *ListDashboardsDefault) IsCode(code int) bool

IsCode returns true when this list dashboards default response a status code equal to that given

func (*ListDashboardsDefault) IsRedirect

func (o *ListDashboardsDefault) IsRedirect() bool

IsRedirect returns true when this list dashboards default response has a 3xx status code

func (*ListDashboardsDefault) IsServerError

func (o *ListDashboardsDefault) IsServerError() bool

IsServerError returns true when this list dashboards default response has a 5xx status code

func (*ListDashboardsDefault) IsSuccess

func (o *ListDashboardsDefault) IsSuccess() bool

IsSuccess returns true when this list dashboards default response has a 2xx status code

func (*ListDashboardsDefault) String

func (o *ListDashboardsDefault) String() string

type ListDashboardsInternalServerError

type ListDashboardsInternalServerError struct {
	Payload *models.APIError
}

ListDashboardsInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewListDashboardsInternalServerError

func NewListDashboardsInternalServerError() *ListDashboardsInternalServerError

NewListDashboardsInternalServerError creates a ListDashboardsInternalServerError with default headers values

func (*ListDashboardsInternalServerError) Code

Code gets the status code for the list dashboards internal server error response

func (*ListDashboardsInternalServerError) Error

func (*ListDashboardsInternalServerError) GetPayload

func (*ListDashboardsInternalServerError) IsClientError

func (o *ListDashboardsInternalServerError) IsClientError() bool

IsClientError returns true when this list dashboards internal server error response has a 4xx status code

func (*ListDashboardsInternalServerError) IsCode

func (o *ListDashboardsInternalServerError) IsCode(code int) bool

IsCode returns true when this list dashboards internal server error response a status code equal to that given

func (*ListDashboardsInternalServerError) IsRedirect

func (o *ListDashboardsInternalServerError) IsRedirect() bool

IsRedirect returns true when this list dashboards internal server error response has a 3xx status code

func (*ListDashboardsInternalServerError) IsServerError

func (o *ListDashboardsInternalServerError) IsServerError() bool

IsServerError returns true when this list dashboards internal server error response has a 5xx status code

func (*ListDashboardsInternalServerError) IsSuccess

func (o *ListDashboardsInternalServerError) IsSuccess() bool

IsSuccess returns true when this list dashboards internal server error response has a 2xx status code

func (*ListDashboardsInternalServerError) String

type ListDashboardsOK

type ListDashboardsOK struct {
	Payload *models.Configv1ListDashboardsResponse
}

ListDashboardsOK describes a response with status code 200, with default header values.

A successful response.

func NewListDashboardsOK

func NewListDashboardsOK() *ListDashboardsOK

NewListDashboardsOK creates a ListDashboardsOK with default headers values

func (*ListDashboardsOK) Code

func (o *ListDashboardsOK) Code() int

Code gets the status code for the list dashboards o k response

func (*ListDashboardsOK) Error

func (o *ListDashboardsOK) Error() string

func (*ListDashboardsOK) GetPayload

func (*ListDashboardsOK) IsClientError

func (o *ListDashboardsOK) IsClientError() bool

IsClientError returns true when this list dashboards o k response has a 4xx status code

func (*ListDashboardsOK) IsCode

func (o *ListDashboardsOK) IsCode(code int) bool

IsCode returns true when this list dashboards o k response a status code equal to that given

func (*ListDashboardsOK) IsRedirect

func (o *ListDashboardsOK) IsRedirect() bool

IsRedirect returns true when this list dashboards o k response has a 3xx status code

func (*ListDashboardsOK) IsServerError

func (o *ListDashboardsOK) IsServerError() bool

IsServerError returns true when this list dashboards o k response has a 5xx status code

func (*ListDashboardsOK) IsSuccess

func (o *ListDashboardsOK) IsSuccess() bool

IsSuccess returns true when this list dashboards o k response has a 2xx status code

func (*ListDashboardsOK) String

func (o *ListDashboardsOK) String() string

type ListDashboardsParams

type ListDashboardsParams struct {

	/* CollectionSlugs.

	   Filters results by collection_slug, where any Dashboard with a matching collection_slug in the given list (and matches all other filters) is returned.
	*/
	CollectionSlugs []string

	/* IncludeDashboardJSON.

	     Optional flag to populate the dashboard_json of the returned dashboards.
	By default, dashboard_json will be left empty.
	*/
	IncludeDashboardJSON *bool

	/* Names.

	   Filters results by name, where any Dashboard with a matching name in the given list (and matches all other filters) is returned.
	*/
	Names []string

	/* PageMaxSize.

	     Page size preference (i.e. how many items are returned in the next
	page). If zero, the server will use a default. Regardless of what size
	is given, clients must never assume how many items will be returned.

	     Format: int64
	*/
	PageMaxSize *int64

	/* PageToken.

	     Opaque page token identifying which page to request. An empty token
	identifies the first page.
	*/
	PageToken *string

	/* Slugs.

	   Filters results by slug, where any Dashboard with a matching slug in the given list (and matches all other filters) is returned.
	*/
	Slugs []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListDashboardsParams contains all the parameters to send to the API endpoint

for the list dashboards operation.

Typically these are written to a http.Request.

func NewListDashboardsParams

func NewListDashboardsParams() *ListDashboardsParams

NewListDashboardsParams creates a new ListDashboardsParams 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 NewListDashboardsParamsWithContext

func NewListDashboardsParamsWithContext(ctx context.Context) *ListDashboardsParams

NewListDashboardsParamsWithContext creates a new ListDashboardsParams object with the ability to set a context for a request.

func NewListDashboardsParamsWithHTTPClient

func NewListDashboardsParamsWithHTTPClient(client *http.Client) *ListDashboardsParams

NewListDashboardsParamsWithHTTPClient creates a new ListDashboardsParams object with the ability to set a custom HTTPClient for a request.

func NewListDashboardsParamsWithTimeout

func NewListDashboardsParamsWithTimeout(timeout time.Duration) *ListDashboardsParams

NewListDashboardsParamsWithTimeout creates a new ListDashboardsParams object with the ability to set a timeout on a request.

func (*ListDashboardsParams) SetCollectionSlugs

func (o *ListDashboardsParams) SetCollectionSlugs(collectionSlugs []string)

SetCollectionSlugs adds the collectionSlugs to the list dashboards params

func (*ListDashboardsParams) SetContext

func (o *ListDashboardsParams) SetContext(ctx context.Context)

SetContext adds the context to the list dashboards params

func (*ListDashboardsParams) SetDefaults

func (o *ListDashboardsParams) SetDefaults()

SetDefaults hydrates default values in the list dashboards params (not the query body).

All values with no default are reset to their zero value.

func (*ListDashboardsParams) SetHTTPClient

func (o *ListDashboardsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list dashboards params

func (*ListDashboardsParams) SetIncludeDashboardJSON

func (o *ListDashboardsParams) SetIncludeDashboardJSON(includeDashboardJSON *bool)

SetIncludeDashboardJSON adds the includeDashboardJson to the list dashboards params

func (*ListDashboardsParams) SetNames

func (o *ListDashboardsParams) SetNames(names []string)

SetNames adds the names to the list dashboards params

func (*ListDashboardsParams) SetPageMaxSize

func (o *ListDashboardsParams) SetPageMaxSize(pageMaxSize *int64)

SetPageMaxSize adds the pageMaxSize to the list dashboards params

func (*ListDashboardsParams) SetPageToken

func (o *ListDashboardsParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list dashboards params

func (*ListDashboardsParams) SetSlugs

func (o *ListDashboardsParams) SetSlugs(slugs []string)

SetSlugs adds the slugs to the list dashboards params

func (*ListDashboardsParams) SetTimeout

func (o *ListDashboardsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list dashboards params

func (*ListDashboardsParams) WithCollectionSlugs

func (o *ListDashboardsParams) WithCollectionSlugs(collectionSlugs []string) *ListDashboardsParams

WithCollectionSlugs adds the collectionSlugs to the list dashboards params

func (*ListDashboardsParams) WithContext

WithContext adds the context to the list dashboards params

func (*ListDashboardsParams) WithDefaults

func (o *ListDashboardsParams) WithDefaults() *ListDashboardsParams

WithDefaults hydrates default values in the list dashboards params (not the query body).

All values with no default are reset to their zero value.

func (*ListDashboardsParams) WithHTTPClient

func (o *ListDashboardsParams) WithHTTPClient(client *http.Client) *ListDashboardsParams

WithHTTPClient adds the HTTPClient to the list dashboards params

func (*ListDashboardsParams) WithIncludeDashboardJSON

func (o *ListDashboardsParams) WithIncludeDashboardJSON(includeDashboardJSON *bool) *ListDashboardsParams

WithIncludeDashboardJSON adds the includeDashboardJSON to the list dashboards params

func (*ListDashboardsParams) WithNames

func (o *ListDashboardsParams) WithNames(names []string) *ListDashboardsParams

WithNames adds the names to the list dashboards params

func (*ListDashboardsParams) WithPageMaxSize

func (o *ListDashboardsParams) WithPageMaxSize(pageMaxSize *int64) *ListDashboardsParams

WithPageMaxSize adds the pageMaxSize to the list dashboards params

func (*ListDashboardsParams) WithPageToken

func (o *ListDashboardsParams) WithPageToken(pageToken *string) *ListDashboardsParams

WithPageToken adds the pageToken to the list dashboards params

func (*ListDashboardsParams) WithSlugs

func (o *ListDashboardsParams) WithSlugs(slugs []string) *ListDashboardsParams

WithSlugs adds the slugs to the list dashboards params

func (*ListDashboardsParams) WithTimeout

func (o *ListDashboardsParams) WithTimeout(timeout time.Duration) *ListDashboardsParams

WithTimeout adds the timeout to the list dashboards params

func (*ListDashboardsParams) WriteToRequest

func (o *ListDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListDashboardsReader

type ListDashboardsReader struct {
	// contains filtered or unexported fields
}

ListDashboardsReader is a Reader for the ListDashboards structure.

func (*ListDashboardsReader) ReadResponse

func (o *ListDashboardsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListDerivedLabelsDefault

type ListDerivedLabelsDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ListDerivedLabelsDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewListDerivedLabelsDefault

func NewListDerivedLabelsDefault(code int) *ListDerivedLabelsDefault

NewListDerivedLabelsDefault creates a ListDerivedLabelsDefault with default headers values

func (*ListDerivedLabelsDefault) Code

func (o *ListDerivedLabelsDefault) Code() int

Code gets the status code for the list derived labels default response

func (*ListDerivedLabelsDefault) Error

func (o *ListDerivedLabelsDefault) Error() string

func (*ListDerivedLabelsDefault) GetPayload

func (*ListDerivedLabelsDefault) IsClientError

func (o *ListDerivedLabelsDefault) IsClientError() bool

IsClientError returns true when this list derived labels default response has a 4xx status code

func (*ListDerivedLabelsDefault) IsCode

func (o *ListDerivedLabelsDefault) IsCode(code int) bool

IsCode returns true when this list derived labels default response a status code equal to that given

func (*ListDerivedLabelsDefault) IsRedirect

func (o *ListDerivedLabelsDefault) IsRedirect() bool

IsRedirect returns true when this list derived labels default response has a 3xx status code

func (*ListDerivedLabelsDefault) IsServerError

func (o *ListDerivedLabelsDefault) IsServerError() bool

IsServerError returns true when this list derived labels default response has a 5xx status code

func (*ListDerivedLabelsDefault) IsSuccess

func (o *ListDerivedLabelsDefault) IsSuccess() bool

IsSuccess returns true when this list derived labels default response has a 2xx status code

func (*ListDerivedLabelsDefault) String

func (o *ListDerivedLabelsDefault) String() string

type ListDerivedLabelsInternalServerError

type ListDerivedLabelsInternalServerError struct {
	Payload *models.APIError
}

ListDerivedLabelsInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewListDerivedLabelsInternalServerError

func NewListDerivedLabelsInternalServerError() *ListDerivedLabelsInternalServerError

NewListDerivedLabelsInternalServerError creates a ListDerivedLabelsInternalServerError with default headers values

func (*ListDerivedLabelsInternalServerError) Code

Code gets the status code for the list derived labels internal server error response

func (*ListDerivedLabelsInternalServerError) Error

func (*ListDerivedLabelsInternalServerError) GetPayload

func (*ListDerivedLabelsInternalServerError) IsClientError

func (o *ListDerivedLabelsInternalServerError) IsClientError() bool

IsClientError returns true when this list derived labels internal server error response has a 4xx status code

func (*ListDerivedLabelsInternalServerError) IsCode

IsCode returns true when this list derived labels internal server error response a status code equal to that given

func (*ListDerivedLabelsInternalServerError) IsRedirect

IsRedirect returns true when this list derived labels internal server error response has a 3xx status code

func (*ListDerivedLabelsInternalServerError) IsServerError

func (o *ListDerivedLabelsInternalServerError) IsServerError() bool

IsServerError returns true when this list derived labels internal server error response has a 5xx status code

func (*ListDerivedLabelsInternalServerError) IsSuccess

IsSuccess returns true when this list derived labels internal server error response has a 2xx status code

func (*ListDerivedLabelsInternalServerError) String

type ListDerivedLabelsOK

type ListDerivedLabelsOK struct {
	Payload *models.Configv1ListDerivedLabelsResponse
}

ListDerivedLabelsOK describes a response with status code 200, with default header values.

A successful response.

func NewListDerivedLabelsOK

func NewListDerivedLabelsOK() *ListDerivedLabelsOK

NewListDerivedLabelsOK creates a ListDerivedLabelsOK with default headers values

func (*ListDerivedLabelsOK) Code

func (o *ListDerivedLabelsOK) Code() int

Code gets the status code for the list derived labels o k response

func (*ListDerivedLabelsOK) Error

func (o *ListDerivedLabelsOK) Error() string

func (*ListDerivedLabelsOK) GetPayload

func (*ListDerivedLabelsOK) IsClientError

func (o *ListDerivedLabelsOK) IsClientError() bool

IsClientError returns true when this list derived labels o k response has a 4xx status code

func (*ListDerivedLabelsOK) IsCode

func (o *ListDerivedLabelsOK) IsCode(code int) bool

IsCode returns true when this list derived labels o k response a status code equal to that given

func (*ListDerivedLabelsOK) IsRedirect

func (o *ListDerivedLabelsOK) IsRedirect() bool

IsRedirect returns true when this list derived labels o k response has a 3xx status code

func (*ListDerivedLabelsOK) IsServerError

func (o *ListDerivedLabelsOK) IsServerError() bool

IsServerError returns true when this list derived labels o k response has a 5xx status code

func (*ListDerivedLabelsOK) IsSuccess

func (o *ListDerivedLabelsOK) IsSuccess() bool

IsSuccess returns true when this list derived labels o k response has a 2xx status code

func (*ListDerivedLabelsOK) String

func (o *ListDerivedLabelsOK) String() string

type ListDerivedLabelsParams

type ListDerivedLabelsParams struct {

	/* Names.

	   Filters results by name, where any DerivedLabel with a matching name in the given list (and matches all other filters) is returned.
	*/
	Names []string

	/* PageMaxSize.

	     Page size preference (i.e. how many items are returned in the next
	page). If zero, the server will use a default. Regardless of what size
	is given, clients must never assume how many items will be returned.

	     Format: int64
	*/
	PageMaxSize *int64

	/* PageToken.

	     Opaque page token identifying which page to request. An empty token
	identifies the first page.
	*/
	PageToken *string

	/* Slugs.

	   Filters results by slug, where any DerivedLabel with a matching slug in the given list (and matches all other filters) is returned.
	*/
	Slugs []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListDerivedLabelsParams contains all the parameters to send to the API endpoint

for the list derived labels operation.

Typically these are written to a http.Request.

func NewListDerivedLabelsParams

func NewListDerivedLabelsParams() *ListDerivedLabelsParams

NewListDerivedLabelsParams creates a new ListDerivedLabelsParams 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 NewListDerivedLabelsParamsWithContext

func NewListDerivedLabelsParamsWithContext(ctx context.Context) *ListDerivedLabelsParams

NewListDerivedLabelsParamsWithContext creates a new ListDerivedLabelsParams object with the ability to set a context for a request.

func NewListDerivedLabelsParamsWithHTTPClient

func NewListDerivedLabelsParamsWithHTTPClient(client *http.Client) *ListDerivedLabelsParams

NewListDerivedLabelsParamsWithHTTPClient creates a new ListDerivedLabelsParams object with the ability to set a custom HTTPClient for a request.

func NewListDerivedLabelsParamsWithTimeout

func NewListDerivedLabelsParamsWithTimeout(timeout time.Duration) *ListDerivedLabelsParams

NewListDerivedLabelsParamsWithTimeout creates a new ListDerivedLabelsParams object with the ability to set a timeout on a request.

func (*ListDerivedLabelsParams) SetContext

func (o *ListDerivedLabelsParams) SetContext(ctx context.Context)

SetContext adds the context to the list derived labels params

func (*ListDerivedLabelsParams) SetDefaults

func (o *ListDerivedLabelsParams) SetDefaults()

SetDefaults hydrates default values in the list derived labels params (not the query body).

All values with no default are reset to their zero value.

func (*ListDerivedLabelsParams) SetHTTPClient

func (o *ListDerivedLabelsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list derived labels params

func (*ListDerivedLabelsParams) SetNames

func (o *ListDerivedLabelsParams) SetNames(names []string)

SetNames adds the names to the list derived labels params

func (*ListDerivedLabelsParams) SetPageMaxSize

func (o *ListDerivedLabelsParams) SetPageMaxSize(pageMaxSize *int64)

SetPageMaxSize adds the pageMaxSize to the list derived labels params

func (*ListDerivedLabelsParams) SetPageToken

func (o *ListDerivedLabelsParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list derived labels params

func (*ListDerivedLabelsParams) SetSlugs

func (o *ListDerivedLabelsParams) SetSlugs(slugs []string)

SetSlugs adds the slugs to the list derived labels params

func (*ListDerivedLabelsParams) SetTimeout

func (o *ListDerivedLabelsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list derived labels params

func (*ListDerivedLabelsParams) WithContext

WithContext adds the context to the list derived labels params

func (*ListDerivedLabelsParams) WithDefaults

WithDefaults hydrates default values in the list derived labels params (not the query body).

All values with no default are reset to their zero value.

func (*ListDerivedLabelsParams) WithHTTPClient

func (o *ListDerivedLabelsParams) WithHTTPClient(client *http.Client) *ListDerivedLabelsParams

WithHTTPClient adds the HTTPClient to the list derived labels params

func (*ListDerivedLabelsParams) WithNames

WithNames adds the names to the list derived labels params

func (*ListDerivedLabelsParams) WithPageMaxSize

func (o *ListDerivedLabelsParams) WithPageMaxSize(pageMaxSize *int64) *ListDerivedLabelsParams

WithPageMaxSize adds the pageMaxSize to the list derived labels params

func (*ListDerivedLabelsParams) WithPageToken

func (o *ListDerivedLabelsParams) WithPageToken(pageToken *string) *ListDerivedLabelsParams

WithPageToken adds the pageToken to the list derived labels params

func (*ListDerivedLabelsParams) WithSlugs

WithSlugs adds the slugs to the list derived labels params

func (*ListDerivedLabelsParams) WithTimeout

WithTimeout adds the timeout to the list derived labels params

func (*ListDerivedLabelsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListDerivedLabelsReader

type ListDerivedLabelsReader struct {
	// contains filtered or unexported fields
}

ListDerivedLabelsReader is a Reader for the ListDerivedLabels structure.

func (*ListDerivedLabelsReader) ReadResponse

func (o *ListDerivedLabelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListDerivedMetricsDefault

type ListDerivedMetricsDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ListDerivedMetricsDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewListDerivedMetricsDefault

func NewListDerivedMetricsDefault(code int) *ListDerivedMetricsDefault

NewListDerivedMetricsDefault creates a ListDerivedMetricsDefault with default headers values

func (*ListDerivedMetricsDefault) Code

func (o *ListDerivedMetricsDefault) Code() int

Code gets the status code for the list derived metrics default response

func (*ListDerivedMetricsDefault) Error

func (o *ListDerivedMetricsDefault) Error() string

func (*ListDerivedMetricsDefault) GetPayload

func (*ListDerivedMetricsDefault) IsClientError

func (o *ListDerivedMetricsDefault) IsClientError() bool

IsClientError returns true when this list derived metrics default response has a 4xx status code

func (*ListDerivedMetricsDefault) IsCode

func (o *ListDerivedMetricsDefault) IsCode(code int) bool

IsCode returns true when this list derived metrics default response a status code equal to that given

func (*ListDerivedMetricsDefault) IsRedirect

func (o *ListDerivedMetricsDefault) IsRedirect() bool

IsRedirect returns true when this list derived metrics default response has a 3xx status code

func (*ListDerivedMetricsDefault) IsServerError

func (o *ListDerivedMetricsDefault) IsServerError() bool

IsServerError returns true when this list derived metrics default response has a 5xx status code

func (*ListDerivedMetricsDefault) IsSuccess

func (o *ListDerivedMetricsDefault) IsSuccess() bool

IsSuccess returns true when this list derived metrics default response has a 2xx status code

func (*ListDerivedMetricsDefault) String

func (o *ListDerivedMetricsDefault) String() string

type ListDerivedMetricsInternalServerError

type ListDerivedMetricsInternalServerError struct {
	Payload *models.APIError
}

ListDerivedMetricsInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewListDerivedMetricsInternalServerError

func NewListDerivedMetricsInternalServerError() *ListDerivedMetricsInternalServerError

NewListDerivedMetricsInternalServerError creates a ListDerivedMetricsInternalServerError with default headers values

func (*ListDerivedMetricsInternalServerError) Code

Code gets the status code for the list derived metrics internal server error response

func (*ListDerivedMetricsInternalServerError) Error

func (*ListDerivedMetricsInternalServerError) GetPayload

func (*ListDerivedMetricsInternalServerError) IsClientError

func (o *ListDerivedMetricsInternalServerError) IsClientError() bool

IsClientError returns true when this list derived metrics internal server error response has a 4xx status code

func (*ListDerivedMetricsInternalServerError) IsCode

IsCode returns true when this list derived metrics internal server error response a status code equal to that given

func (*ListDerivedMetricsInternalServerError) IsRedirect

IsRedirect returns true when this list derived metrics internal server error response has a 3xx status code

func (*ListDerivedMetricsInternalServerError) IsServerError

func (o *ListDerivedMetricsInternalServerError) IsServerError() bool

IsServerError returns true when this list derived metrics internal server error response has a 5xx status code

func (*ListDerivedMetricsInternalServerError) IsSuccess

IsSuccess returns true when this list derived metrics internal server error response has a 2xx status code

func (*ListDerivedMetricsInternalServerError) String

type ListDerivedMetricsOK

type ListDerivedMetricsOK struct {
	Payload *models.Configv1ListDerivedMetricsResponse
}

ListDerivedMetricsOK describes a response with status code 200, with default header values.

A successful response.

func NewListDerivedMetricsOK

func NewListDerivedMetricsOK() *ListDerivedMetricsOK

NewListDerivedMetricsOK creates a ListDerivedMetricsOK with default headers values

func (*ListDerivedMetricsOK) Code

func (o *ListDerivedMetricsOK) Code() int

Code gets the status code for the list derived metrics o k response

func (*ListDerivedMetricsOK) Error

func (o *ListDerivedMetricsOK) Error() string

func (*ListDerivedMetricsOK) GetPayload

func (*ListDerivedMetricsOK) IsClientError

func (o *ListDerivedMetricsOK) IsClientError() bool

IsClientError returns true when this list derived metrics o k response has a 4xx status code

func (*ListDerivedMetricsOK) IsCode

func (o *ListDerivedMetricsOK) IsCode(code int) bool

IsCode returns true when this list derived metrics o k response a status code equal to that given

func (*ListDerivedMetricsOK) IsRedirect

func (o *ListDerivedMetricsOK) IsRedirect() bool

IsRedirect returns true when this list derived metrics o k response has a 3xx status code

func (*ListDerivedMetricsOK) IsServerError

func (o *ListDerivedMetricsOK) IsServerError() bool

IsServerError returns true when this list derived metrics o k response has a 5xx status code

func (*ListDerivedMetricsOK) IsSuccess

func (o *ListDerivedMetricsOK) IsSuccess() bool

IsSuccess returns true when this list derived metrics o k response has a 2xx status code

func (*ListDerivedMetricsOK) String

func (o *ListDerivedMetricsOK) String() string

type ListDerivedMetricsParams

type ListDerivedMetricsParams struct {

	/* Names.

	   Filters results by name, where any DerivedMetric with a matching name in the given list (and matches all other filters) is returned.
	*/
	Names []string

	/* PageMaxSize.

	     Page size preference (i.e. how many items are returned in the next
	page). If zero, the server will use a default. Regardless of what size
	is given, clients must never assume how many items will be returned.

	     Format: int64
	*/
	PageMaxSize *int64

	/* PageToken.

	     Opaque page token identifying which page to request. An empty token
	identifies the first page.
	*/
	PageToken *string

	/* Slugs.

	   Filters results by slug, where any DerivedMetric with a matching slug in the given list (and matches all other filters) is returned.
	*/
	Slugs []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListDerivedMetricsParams contains all the parameters to send to the API endpoint

for the list derived metrics operation.

Typically these are written to a http.Request.

func NewListDerivedMetricsParams

func NewListDerivedMetricsParams() *ListDerivedMetricsParams

NewListDerivedMetricsParams creates a new ListDerivedMetricsParams 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 NewListDerivedMetricsParamsWithContext

func NewListDerivedMetricsParamsWithContext(ctx context.Context) *ListDerivedMetricsParams

NewListDerivedMetricsParamsWithContext creates a new ListDerivedMetricsParams object with the ability to set a context for a request.

func NewListDerivedMetricsParamsWithHTTPClient

func NewListDerivedMetricsParamsWithHTTPClient(client *http.Client) *ListDerivedMetricsParams

NewListDerivedMetricsParamsWithHTTPClient creates a new ListDerivedMetricsParams object with the ability to set a custom HTTPClient for a request.

func NewListDerivedMetricsParamsWithTimeout

func NewListDerivedMetricsParamsWithTimeout(timeout time.Duration) *ListDerivedMetricsParams

NewListDerivedMetricsParamsWithTimeout creates a new ListDerivedMetricsParams object with the ability to set a timeout on a request.

func (*ListDerivedMetricsParams) SetContext

func (o *ListDerivedMetricsParams) SetContext(ctx context.Context)

SetContext adds the context to the list derived metrics params

func (*ListDerivedMetricsParams) SetDefaults

func (o *ListDerivedMetricsParams) SetDefaults()

SetDefaults hydrates default values in the list derived metrics params (not the query body).

All values with no default are reset to their zero value.

func (*ListDerivedMetricsParams) SetHTTPClient

func (o *ListDerivedMetricsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list derived metrics params

func (*ListDerivedMetricsParams) SetNames

func (o *ListDerivedMetricsParams) SetNames(names []string)

SetNames adds the names to the list derived metrics params

func (*ListDerivedMetricsParams) SetPageMaxSize

func (o *ListDerivedMetricsParams) SetPageMaxSize(pageMaxSize *int64)

SetPageMaxSize adds the pageMaxSize to the list derived metrics params

func (*ListDerivedMetricsParams) SetPageToken

func (o *ListDerivedMetricsParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list derived metrics params

func (*ListDerivedMetricsParams) SetSlugs

func (o *ListDerivedMetricsParams) SetSlugs(slugs []string)

SetSlugs adds the slugs to the list derived metrics params

func (*ListDerivedMetricsParams) SetTimeout

func (o *ListDerivedMetricsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list derived metrics params

func (*ListDerivedMetricsParams) WithContext

WithContext adds the context to the list derived metrics params

func (*ListDerivedMetricsParams) WithDefaults

WithDefaults hydrates default values in the list derived metrics params (not the query body).

All values with no default are reset to their zero value.

func (*ListDerivedMetricsParams) WithHTTPClient

func (o *ListDerivedMetricsParams) WithHTTPClient(client *http.Client) *ListDerivedMetricsParams

WithHTTPClient adds the HTTPClient to the list derived metrics params

func (*ListDerivedMetricsParams) WithNames

WithNames adds the names to the list derived metrics params

func (*ListDerivedMetricsParams) WithPageMaxSize

func (o *ListDerivedMetricsParams) WithPageMaxSize(pageMaxSize *int64) *ListDerivedMetricsParams

WithPageMaxSize adds the pageMaxSize to the list derived metrics params

func (*ListDerivedMetricsParams) WithPageToken

func (o *ListDerivedMetricsParams) WithPageToken(pageToken *string) *ListDerivedMetricsParams

WithPageToken adds the pageToken to the list derived metrics params

func (*ListDerivedMetricsParams) WithSlugs

WithSlugs adds the slugs to the list derived metrics params

func (*ListDerivedMetricsParams) WithTimeout

WithTimeout adds the timeout to the list derived metrics params

func (*ListDerivedMetricsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListDerivedMetricsReader

type ListDerivedMetricsReader struct {
	// contains filtered or unexported fields
}

ListDerivedMetricsReader is a Reader for the ListDerivedMetrics structure.

func (*ListDerivedMetricsReader) ReadResponse

func (o *ListDerivedMetricsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListDropRulesDefault

type ListDropRulesDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ListDropRulesDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewListDropRulesDefault

func NewListDropRulesDefault(code int) *ListDropRulesDefault

NewListDropRulesDefault creates a ListDropRulesDefault with default headers values

func (*ListDropRulesDefault) Code

func (o *ListDropRulesDefault) Code() int

Code gets the status code for the list drop rules default response

func (*ListDropRulesDefault) Error

func (o *ListDropRulesDefault) Error() string

func (*ListDropRulesDefault) GetPayload

func (o *ListDropRulesDefault) GetPayload() models.GenericError

func (*ListDropRulesDefault) IsClientError

func (o *ListDropRulesDefault) IsClientError() bool

IsClientError returns true when this list drop rules default response has a 4xx status code

func (*ListDropRulesDefault) IsCode

func (o *ListDropRulesDefault) IsCode(code int) bool

IsCode returns true when this list drop rules default response a status code equal to that given

func (*ListDropRulesDefault) IsRedirect

func (o *ListDropRulesDefault) IsRedirect() bool

IsRedirect returns true when this list drop rules default response has a 3xx status code

func (*ListDropRulesDefault) IsServerError

func (o *ListDropRulesDefault) IsServerError() bool

IsServerError returns true when this list drop rules default response has a 5xx status code

func (*ListDropRulesDefault) IsSuccess

func (o *ListDropRulesDefault) IsSuccess() bool

IsSuccess returns true when this list drop rules default response has a 2xx status code

func (*ListDropRulesDefault) String

func (o *ListDropRulesDefault) String() string

type ListDropRulesInternalServerError

type ListDropRulesInternalServerError struct {
	Payload *models.APIError
}

ListDropRulesInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewListDropRulesInternalServerError

func NewListDropRulesInternalServerError() *ListDropRulesInternalServerError

NewListDropRulesInternalServerError creates a ListDropRulesInternalServerError with default headers values

func (*ListDropRulesInternalServerError) Code

Code gets the status code for the list drop rules internal server error response

func (*ListDropRulesInternalServerError) Error

func (*ListDropRulesInternalServerError) GetPayload

func (*ListDropRulesInternalServerError) IsClientError

func (o *ListDropRulesInternalServerError) IsClientError() bool

IsClientError returns true when this list drop rules internal server error response has a 4xx status code

func (*ListDropRulesInternalServerError) IsCode

func (o *ListDropRulesInternalServerError) IsCode(code int) bool

IsCode returns true when this list drop rules internal server error response a status code equal to that given

func (*ListDropRulesInternalServerError) IsRedirect

func (o *ListDropRulesInternalServerError) IsRedirect() bool

IsRedirect returns true when this list drop rules internal server error response has a 3xx status code

func (*ListDropRulesInternalServerError) IsServerError

func (o *ListDropRulesInternalServerError) IsServerError() bool

IsServerError returns true when this list drop rules internal server error response has a 5xx status code

func (*ListDropRulesInternalServerError) IsSuccess

func (o *ListDropRulesInternalServerError) IsSuccess() bool

IsSuccess returns true when this list drop rules internal server error response has a 2xx status code

func (*ListDropRulesInternalServerError) String

type ListDropRulesOK

type ListDropRulesOK struct {
	Payload *models.Configv1ListDropRulesResponse
}

ListDropRulesOK describes a response with status code 200, with default header values.

A successful response.

func NewListDropRulesOK

func NewListDropRulesOK() *ListDropRulesOK

NewListDropRulesOK creates a ListDropRulesOK with default headers values

func (*ListDropRulesOK) Code

func (o *ListDropRulesOK) Code() int

Code gets the status code for the list drop rules o k response

func (*ListDropRulesOK) Error

func (o *ListDropRulesOK) Error() string

func (*ListDropRulesOK) GetPayload

func (*ListDropRulesOK) IsClientError

func (o *ListDropRulesOK) IsClientError() bool

IsClientError returns true when this list drop rules o k response has a 4xx status code

func (*ListDropRulesOK) IsCode

func (o *ListDropRulesOK) IsCode(code int) bool

IsCode returns true when this list drop rules o k response a status code equal to that given

func (*ListDropRulesOK) IsRedirect

func (o *ListDropRulesOK) IsRedirect() bool

IsRedirect returns true when this list drop rules o k response has a 3xx status code

func (*ListDropRulesOK) IsServerError

func (o *ListDropRulesOK) IsServerError() bool

IsServerError returns true when this list drop rules o k response has a 5xx status code

func (*ListDropRulesOK) IsSuccess

func (o *ListDropRulesOK) IsSuccess() bool

IsSuccess returns true when this list drop rules o k response has a 2xx status code

func (*ListDropRulesOK) String

func (o *ListDropRulesOK) String() string

type ListDropRulesParams

type ListDropRulesParams struct {

	/* Names.

	   Filters results by name, where any DropRule with a matching name in the given list (and matches all other filters) is returned.
	*/
	Names []string

	/* PageMaxSize.

	     Page size preference (i.e. how many items are returned in the next
	page). If zero, the server will use a default. Regardless of what size
	is given, clients must never assume how many items will be returned.

	     Format: int64
	*/
	PageMaxSize *int64

	/* PageToken.

	     Opaque page token identifying which page to request. An empty token
	identifies the first page.
	*/
	PageToken *string

	/* Slugs.

	   Filters results by slug, where any DropRule with a matching slug in the given list (and matches all other filters) is returned.
	*/
	Slugs []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListDropRulesParams contains all the parameters to send to the API endpoint

for the list drop rules operation.

Typically these are written to a http.Request.

func NewListDropRulesParams

func NewListDropRulesParams() *ListDropRulesParams

NewListDropRulesParams creates a new ListDropRulesParams 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 NewListDropRulesParamsWithContext

func NewListDropRulesParamsWithContext(ctx context.Context) *ListDropRulesParams

NewListDropRulesParamsWithContext creates a new ListDropRulesParams object with the ability to set a context for a request.

func NewListDropRulesParamsWithHTTPClient

func NewListDropRulesParamsWithHTTPClient(client *http.Client) *ListDropRulesParams

NewListDropRulesParamsWithHTTPClient creates a new ListDropRulesParams object with the ability to set a custom HTTPClient for a request.

func NewListDropRulesParamsWithTimeout

func NewListDropRulesParamsWithTimeout(timeout time.Duration) *ListDropRulesParams

NewListDropRulesParamsWithTimeout creates a new ListDropRulesParams object with the ability to set a timeout on a request.

func (*ListDropRulesParams) SetContext

func (o *ListDropRulesParams) SetContext(ctx context.Context)

SetContext adds the context to the list drop rules params

func (*ListDropRulesParams) SetDefaults

func (o *ListDropRulesParams) SetDefaults()

SetDefaults hydrates default values in the list drop rules params (not the query body).

All values with no default are reset to their zero value.

func (*ListDropRulesParams) SetHTTPClient

func (o *ListDropRulesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list drop rules params

func (*ListDropRulesParams) SetNames

func (o *ListDropRulesParams) SetNames(names []string)

SetNames adds the names to the list drop rules params

func (*ListDropRulesParams) SetPageMaxSize

func (o *ListDropRulesParams) SetPageMaxSize(pageMaxSize *int64)

SetPageMaxSize adds the pageMaxSize to the list drop rules params

func (*ListDropRulesParams) SetPageToken

func (o *ListDropRulesParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list drop rules params

func (*ListDropRulesParams) SetSlugs

func (o *ListDropRulesParams) SetSlugs(slugs []string)

SetSlugs adds the slugs to the list drop rules params

func (*ListDropRulesParams) SetTimeout

func (o *ListDropRulesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list drop rules params

func (*ListDropRulesParams) WithContext

WithContext adds the context to the list drop rules params

func (*ListDropRulesParams) WithDefaults

func (o *ListDropRulesParams) WithDefaults() *ListDropRulesParams

WithDefaults hydrates default values in the list drop rules params (not the query body).

All values with no default are reset to their zero value.

func (*ListDropRulesParams) WithHTTPClient

func (o *ListDropRulesParams) WithHTTPClient(client *http.Client) *ListDropRulesParams

WithHTTPClient adds the HTTPClient to the list drop rules params

func (*ListDropRulesParams) WithNames

func (o *ListDropRulesParams) WithNames(names []string) *ListDropRulesParams

WithNames adds the names to the list drop rules params

func (*ListDropRulesParams) WithPageMaxSize

func (o *ListDropRulesParams) WithPageMaxSize(pageMaxSize *int64) *ListDropRulesParams

WithPageMaxSize adds the pageMaxSize to the list drop rules params

func (*ListDropRulesParams) WithPageToken

func (o *ListDropRulesParams) WithPageToken(pageToken *string) *ListDropRulesParams

WithPageToken adds the pageToken to the list drop rules params

func (*ListDropRulesParams) WithSlugs

func (o *ListDropRulesParams) WithSlugs(slugs []string) *ListDropRulesParams

WithSlugs adds the slugs to the list drop rules params

func (*ListDropRulesParams) WithTimeout

func (o *ListDropRulesParams) WithTimeout(timeout time.Duration) *ListDropRulesParams

WithTimeout adds the timeout to the list drop rules params

func (*ListDropRulesParams) WriteToRequest

func (o *ListDropRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListDropRulesReader

type ListDropRulesReader struct {
	// contains filtered or unexported fields
}

ListDropRulesReader is a Reader for the ListDropRules structure.

func (*ListDropRulesReader) ReadResponse

func (o *ListDropRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListGrafanaDashboardsDefault

type ListGrafanaDashboardsDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ListGrafanaDashboardsDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewListGrafanaDashboardsDefault

func NewListGrafanaDashboardsDefault(code int) *ListGrafanaDashboardsDefault

NewListGrafanaDashboardsDefault creates a ListGrafanaDashboardsDefault with default headers values

func (*ListGrafanaDashboardsDefault) Code

Code gets the status code for the list grafana dashboards default response

func (*ListGrafanaDashboardsDefault) Error

func (*ListGrafanaDashboardsDefault) GetPayload

func (*ListGrafanaDashboardsDefault) IsClientError

func (o *ListGrafanaDashboardsDefault) IsClientError() bool

IsClientError returns true when this list grafana dashboards default response has a 4xx status code

func (*ListGrafanaDashboardsDefault) IsCode

func (o *ListGrafanaDashboardsDefault) IsCode(code int) bool

IsCode returns true when this list grafana dashboards default response a status code equal to that given

func (*ListGrafanaDashboardsDefault) IsRedirect

func (o *ListGrafanaDashboardsDefault) IsRedirect() bool

IsRedirect returns true when this list grafana dashboards default response has a 3xx status code

func (*ListGrafanaDashboardsDefault) IsServerError

func (o *ListGrafanaDashboardsDefault) IsServerError() bool

IsServerError returns true when this list grafana dashboards default response has a 5xx status code

func (*ListGrafanaDashboardsDefault) IsSuccess

func (o *ListGrafanaDashboardsDefault) IsSuccess() bool

IsSuccess returns true when this list grafana dashboards default response has a 2xx status code

func (*ListGrafanaDashboardsDefault) String

type ListGrafanaDashboardsInternalServerError

type ListGrafanaDashboardsInternalServerError struct {
	Payload *models.APIError
}

ListGrafanaDashboardsInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewListGrafanaDashboardsInternalServerError

func NewListGrafanaDashboardsInternalServerError() *ListGrafanaDashboardsInternalServerError

NewListGrafanaDashboardsInternalServerError creates a ListGrafanaDashboardsInternalServerError with default headers values

func (*ListGrafanaDashboardsInternalServerError) Code

Code gets the status code for the list grafana dashboards internal server error response

func (*ListGrafanaDashboardsInternalServerError) Error

func (*ListGrafanaDashboardsInternalServerError) GetPayload

func (*ListGrafanaDashboardsInternalServerError) IsClientError

IsClientError returns true when this list grafana dashboards internal server error response has a 4xx status code

func (*ListGrafanaDashboardsInternalServerError) IsCode

IsCode returns true when this list grafana dashboards internal server error response a status code equal to that given

func (*ListGrafanaDashboardsInternalServerError) IsRedirect

IsRedirect returns true when this list grafana dashboards internal server error response has a 3xx status code

func (*ListGrafanaDashboardsInternalServerError) IsServerError

IsServerError returns true when this list grafana dashboards internal server error response has a 5xx status code

func (*ListGrafanaDashboardsInternalServerError) IsSuccess

IsSuccess returns true when this list grafana dashboards internal server error response has a 2xx status code

func (*ListGrafanaDashboardsInternalServerError) String

type ListGrafanaDashboardsOK

type ListGrafanaDashboardsOK struct {
	Payload *models.Configv1ListGrafanaDashboardsResponse
}

ListGrafanaDashboardsOK describes a response with status code 200, with default header values.

A successful response.

func NewListGrafanaDashboardsOK

func NewListGrafanaDashboardsOK() *ListGrafanaDashboardsOK

NewListGrafanaDashboardsOK creates a ListGrafanaDashboardsOK with default headers values

func (*ListGrafanaDashboardsOK) Code

func (o *ListGrafanaDashboardsOK) Code() int

Code gets the status code for the list grafana dashboards o k response

func (*ListGrafanaDashboardsOK) Error

func (o *ListGrafanaDashboardsOK) Error() string

func (*ListGrafanaDashboardsOK) GetPayload

func (*ListGrafanaDashboardsOK) IsClientError

func (o *ListGrafanaDashboardsOK) IsClientError() bool

IsClientError returns true when this list grafana dashboards o k response has a 4xx status code

func (*ListGrafanaDashboardsOK) IsCode

func (o *ListGrafanaDashboardsOK) IsCode(code int) bool

IsCode returns true when this list grafana dashboards o k response a status code equal to that given

func (*ListGrafanaDashboardsOK) IsRedirect

func (o *ListGrafanaDashboardsOK) IsRedirect() bool

IsRedirect returns true when this list grafana dashboards o k response has a 3xx status code

func (*ListGrafanaDashboardsOK) IsServerError

func (o *ListGrafanaDashboardsOK) IsServerError() bool

IsServerError returns true when this list grafana dashboards o k response has a 5xx status code

func (*ListGrafanaDashboardsOK) IsSuccess

func (o *ListGrafanaDashboardsOK) IsSuccess() bool

IsSuccess returns true when this list grafana dashboards o k response has a 2xx status code

func (*ListGrafanaDashboardsOK) String

func (o *ListGrafanaDashboardsOK) String() string

type ListGrafanaDashboardsParams

type ListGrafanaDashboardsParams struct {

	/* BucketSlugs.

	   Filters results by bucket_slug, where any GrafanaDashboard with a matching bucket_slug in the given list (and matches all other filters) is returned.
	*/
	BucketSlugs []string

	/* CollectionSlugs.

	   Filters results by collection_slug, where any GrafanaDashboard with a matching collection_slug in the given list (and matches all other filters) is returned.
	*/
	CollectionSlugs []string

	/* IncludeDashboardJSON.

	     Optional flag to populate the dashboard_json of the returned dashboards.
	By default, dashboard_json will be left empty.
	*/
	IncludeDashboardJSON *bool

	/* Names.

	   Filters results by name, where any GrafanaDashboard with a matching name in the given list (and matches all other filters) is returned.
	*/
	Names []string

	/* PageMaxSize.

	     Page size preference (i.e. how many items are returned in the next
	page). If zero, the server will use a default. Regardless of what size
	is given, clients must never assume how many items will be returned.

	     Format: int64
	*/
	PageMaxSize *int64

	/* PageToken.

	     Opaque page token identifying which page to request. An empty token
	identifies the first page.
	*/
	PageToken *string

	/* Slugs.

	   Filters results by slug, where any GrafanaDashboard with a matching slug in the given list (and matches all other filters) is returned.
	*/
	Slugs []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListGrafanaDashboardsParams contains all the parameters to send to the API endpoint

for the list grafana dashboards operation.

Typically these are written to a http.Request.

func NewListGrafanaDashboardsParams

func NewListGrafanaDashboardsParams() *ListGrafanaDashboardsParams

NewListGrafanaDashboardsParams creates a new ListGrafanaDashboardsParams 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 NewListGrafanaDashboardsParamsWithContext

func NewListGrafanaDashboardsParamsWithContext(ctx context.Context) *ListGrafanaDashboardsParams

NewListGrafanaDashboardsParamsWithContext creates a new ListGrafanaDashboardsParams object with the ability to set a context for a request.

func NewListGrafanaDashboardsParamsWithHTTPClient

func NewListGrafanaDashboardsParamsWithHTTPClient(client *http.Client) *ListGrafanaDashboardsParams

NewListGrafanaDashboardsParamsWithHTTPClient creates a new ListGrafanaDashboardsParams object with the ability to set a custom HTTPClient for a request.

func NewListGrafanaDashboardsParamsWithTimeout

func NewListGrafanaDashboardsParamsWithTimeout(timeout time.Duration) *ListGrafanaDashboardsParams

NewListGrafanaDashboardsParamsWithTimeout creates a new ListGrafanaDashboardsParams object with the ability to set a timeout on a request.

func (*ListGrafanaDashboardsParams) SetBucketSlugs

func (o *ListGrafanaDashboardsParams) SetBucketSlugs(bucketSlugs []string)

SetBucketSlugs adds the bucketSlugs to the list grafana dashboards params

func (*ListGrafanaDashboardsParams) SetCollectionSlugs

func (o *ListGrafanaDashboardsParams) SetCollectionSlugs(collectionSlugs []string)

SetCollectionSlugs adds the collectionSlugs to the list grafana dashboards params

func (*ListGrafanaDashboardsParams) SetContext

func (o *ListGrafanaDashboardsParams) SetContext(ctx context.Context)

SetContext adds the context to the list grafana dashboards params

func (*ListGrafanaDashboardsParams) SetDefaults

func (o *ListGrafanaDashboardsParams) SetDefaults()

SetDefaults hydrates default values in the list grafana dashboards params (not the query body).

All values with no default are reset to their zero value.

func (*ListGrafanaDashboardsParams) SetHTTPClient

func (o *ListGrafanaDashboardsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list grafana dashboards params

func (*ListGrafanaDashboardsParams) SetIncludeDashboardJSON

func (o *ListGrafanaDashboardsParams) SetIncludeDashboardJSON(includeDashboardJSON *bool)

SetIncludeDashboardJSON adds the includeDashboardJson to the list grafana dashboards params

func (*ListGrafanaDashboardsParams) SetNames

func (o *ListGrafanaDashboardsParams) SetNames(names []string)

SetNames adds the names to the list grafana dashboards params

func (*ListGrafanaDashboardsParams) SetPageMaxSize

func (o *ListGrafanaDashboardsParams) SetPageMaxSize(pageMaxSize *int64)

SetPageMaxSize adds the pageMaxSize to the list grafana dashboards params

func (*ListGrafanaDashboardsParams) SetPageToken

func (o *ListGrafanaDashboardsParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list grafana dashboards params

func (*ListGrafanaDashboardsParams) SetSlugs

func (o *ListGrafanaDashboardsParams) SetSlugs(slugs []string)

SetSlugs adds the slugs to the list grafana dashboards params

func (*ListGrafanaDashboardsParams) SetTimeout

func (o *ListGrafanaDashboardsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list grafana dashboards params

func (*ListGrafanaDashboardsParams) WithBucketSlugs

func (o *ListGrafanaDashboardsParams) WithBucketSlugs(bucketSlugs []string) *ListGrafanaDashboardsParams

WithBucketSlugs adds the bucketSlugs to the list grafana dashboards params

func (*ListGrafanaDashboardsParams) WithCollectionSlugs

func (o *ListGrafanaDashboardsParams) WithCollectionSlugs(collectionSlugs []string) *ListGrafanaDashboardsParams

WithCollectionSlugs adds the collectionSlugs to the list grafana dashboards params

func (*ListGrafanaDashboardsParams) WithContext

WithContext adds the context to the list grafana dashboards params

func (*ListGrafanaDashboardsParams) WithDefaults

WithDefaults hydrates default values in the list grafana dashboards params (not the query body).

All values with no default are reset to their zero value.

func (*ListGrafanaDashboardsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list grafana dashboards params

func (*ListGrafanaDashboardsParams) WithIncludeDashboardJSON

func (o *ListGrafanaDashboardsParams) WithIncludeDashboardJSON(includeDashboardJSON *bool) *ListGrafanaDashboardsParams

WithIncludeDashboardJSON adds the includeDashboardJSON to the list grafana dashboards params

func (*ListGrafanaDashboardsParams) WithNames

WithNames adds the names to the list grafana dashboards params

func (*ListGrafanaDashboardsParams) WithPageMaxSize

func (o *ListGrafanaDashboardsParams) WithPageMaxSize(pageMaxSize *int64) *ListGrafanaDashboardsParams

WithPageMaxSize adds the pageMaxSize to the list grafana dashboards params

func (*ListGrafanaDashboardsParams) WithPageToken

func (o *ListGrafanaDashboardsParams) WithPageToken(pageToken *string) *ListGrafanaDashboardsParams

WithPageToken adds the pageToken to the list grafana dashboards params

func (*ListGrafanaDashboardsParams) WithSlugs

WithSlugs adds the slugs to the list grafana dashboards params

func (*ListGrafanaDashboardsParams) WithTimeout

WithTimeout adds the timeout to the list grafana dashboards params

func (*ListGrafanaDashboardsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListGrafanaDashboardsReader

type ListGrafanaDashboardsReader struct {
	// contains filtered or unexported fields
}

ListGrafanaDashboardsReader is a Reader for the ListGrafanaDashboards structure.

func (*ListGrafanaDashboardsReader) ReadResponse

func (o *ListGrafanaDashboardsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListMappingRulesDefault

type ListMappingRulesDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ListMappingRulesDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewListMappingRulesDefault

func NewListMappingRulesDefault(code int) *ListMappingRulesDefault

NewListMappingRulesDefault creates a ListMappingRulesDefault with default headers values

func (*ListMappingRulesDefault) Code

func (o *ListMappingRulesDefault) Code() int

Code gets the status code for the list mapping rules default response

func (*ListMappingRulesDefault) Error

func (o *ListMappingRulesDefault) Error() string

func (*ListMappingRulesDefault) GetPayload

func (*ListMappingRulesDefault) IsClientError

func (o *ListMappingRulesDefault) IsClientError() bool

IsClientError returns true when this list mapping rules default response has a 4xx status code

func (*ListMappingRulesDefault) IsCode

func (o *ListMappingRulesDefault) IsCode(code int) bool

IsCode returns true when this list mapping rules default response a status code equal to that given

func (*ListMappingRulesDefault) IsRedirect

func (o *ListMappingRulesDefault) IsRedirect() bool

IsRedirect returns true when this list mapping rules default response has a 3xx status code

func (*ListMappingRulesDefault) IsServerError

func (o *ListMappingRulesDefault) IsServerError() bool

IsServerError returns true when this list mapping rules default response has a 5xx status code

func (*ListMappingRulesDefault) IsSuccess

func (o *ListMappingRulesDefault) IsSuccess() bool

IsSuccess returns true when this list mapping rules default response has a 2xx status code

func (*ListMappingRulesDefault) String

func (o *ListMappingRulesDefault) String() string

type ListMappingRulesInternalServerError

type ListMappingRulesInternalServerError struct {
	Payload *models.APIError
}

ListMappingRulesInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewListMappingRulesInternalServerError

func NewListMappingRulesInternalServerError() *ListMappingRulesInternalServerError

NewListMappingRulesInternalServerError creates a ListMappingRulesInternalServerError with default headers values

func (*ListMappingRulesInternalServerError) Code

Code gets the status code for the list mapping rules internal server error response

func (*ListMappingRulesInternalServerError) Error

func (*ListMappingRulesInternalServerError) GetPayload

func (*ListMappingRulesInternalServerError) IsClientError

func (o *ListMappingRulesInternalServerError) IsClientError() bool

IsClientError returns true when this list mapping rules internal server error response has a 4xx status code

func (*ListMappingRulesInternalServerError) IsCode

IsCode returns true when this list mapping rules internal server error response a status code equal to that given

func (*ListMappingRulesInternalServerError) IsRedirect

func (o *ListMappingRulesInternalServerError) IsRedirect() bool

IsRedirect returns true when this list mapping rules internal server error response has a 3xx status code

func (*ListMappingRulesInternalServerError) IsServerError

func (o *ListMappingRulesInternalServerError) IsServerError() bool

IsServerError returns true when this list mapping rules internal server error response has a 5xx status code

func (*ListMappingRulesInternalServerError) IsSuccess

IsSuccess returns true when this list mapping rules internal server error response has a 2xx status code

func (*ListMappingRulesInternalServerError) String

type ListMappingRulesOK

type ListMappingRulesOK struct {
	Payload *models.Configv1ListMappingRulesResponse
}

ListMappingRulesOK describes a response with status code 200, with default header values.

A successful response.

func NewListMappingRulesOK

func NewListMappingRulesOK() *ListMappingRulesOK

NewListMappingRulesOK creates a ListMappingRulesOK with default headers values

func (*ListMappingRulesOK) Code

func (o *ListMappingRulesOK) Code() int

Code gets the status code for the list mapping rules o k response

func (*ListMappingRulesOK) Error

func (o *ListMappingRulesOK) Error() string

func (*ListMappingRulesOK) GetPayload

func (*ListMappingRulesOK) IsClientError

func (o *ListMappingRulesOK) IsClientError() bool

IsClientError returns true when this list mapping rules o k response has a 4xx status code

func (*ListMappingRulesOK) IsCode

func (o *ListMappingRulesOK) IsCode(code int) bool

IsCode returns true when this list mapping rules o k response a status code equal to that given

func (*ListMappingRulesOK) IsRedirect

func (o *ListMappingRulesOK) IsRedirect() bool

IsRedirect returns true when this list mapping rules o k response has a 3xx status code

func (*ListMappingRulesOK) IsServerError

func (o *ListMappingRulesOK) IsServerError() bool

IsServerError returns true when this list mapping rules o k response has a 5xx status code

func (*ListMappingRulesOK) IsSuccess

func (o *ListMappingRulesOK) IsSuccess() bool

IsSuccess returns true when this list mapping rules o k response has a 2xx status code

func (*ListMappingRulesOK) String

func (o *ListMappingRulesOK) String() string

type ListMappingRulesParams

type ListMappingRulesParams struct {

	/* BucketSlugs.

	   Filters results by bucket_slug, where any MappingRule with a matching bucket_slug in the given list (and matches all other filters) is returned.
	*/
	BucketSlugs []string

	/* Names.

	   Filters results by name, where any MappingRule with a matching name in the given list (and matches all other filters) is returned.
	*/
	Names []string

	/* PageMaxSize.

	     Page size preference (i.e. how many items are returned in the next
	page). If zero, the server will use a default. Regardless of what size
	is given, clients must never assume how many items will be returned.

	     Format: int64
	*/
	PageMaxSize *int64

	/* PageToken.

	     Opaque page token identifying which page to request. An empty token
	identifies the first page.
	*/
	PageToken *string

	/* Slugs.

	   Filters results by slug, where any MappingRule with a matching slug in the given list (and matches all other filters) is returned.
	*/
	Slugs []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListMappingRulesParams contains all the parameters to send to the API endpoint

for the list mapping rules operation.

Typically these are written to a http.Request.

func NewListMappingRulesParams

func NewListMappingRulesParams() *ListMappingRulesParams

NewListMappingRulesParams creates a new ListMappingRulesParams 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 NewListMappingRulesParamsWithContext

func NewListMappingRulesParamsWithContext(ctx context.Context) *ListMappingRulesParams

NewListMappingRulesParamsWithContext creates a new ListMappingRulesParams object with the ability to set a context for a request.

func NewListMappingRulesParamsWithHTTPClient

func NewListMappingRulesParamsWithHTTPClient(client *http.Client) *ListMappingRulesParams

NewListMappingRulesParamsWithHTTPClient creates a new ListMappingRulesParams object with the ability to set a custom HTTPClient for a request.

func NewListMappingRulesParamsWithTimeout

func NewListMappingRulesParamsWithTimeout(timeout time.Duration) *ListMappingRulesParams

NewListMappingRulesParamsWithTimeout creates a new ListMappingRulesParams object with the ability to set a timeout on a request.

func (*ListMappingRulesParams) SetBucketSlugs

func (o *ListMappingRulesParams) SetBucketSlugs(bucketSlugs []string)

SetBucketSlugs adds the bucketSlugs to the list mapping rules params

func (*ListMappingRulesParams) SetContext

func (o *ListMappingRulesParams) SetContext(ctx context.Context)

SetContext adds the context to the list mapping rules params

func (*ListMappingRulesParams) SetDefaults

func (o *ListMappingRulesParams) SetDefaults()

SetDefaults hydrates default values in the list mapping rules params (not the query body).

All values with no default are reset to their zero value.

func (*ListMappingRulesParams) SetHTTPClient

func (o *ListMappingRulesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list mapping rules params

func (*ListMappingRulesParams) SetNames

func (o *ListMappingRulesParams) SetNames(names []string)

SetNames adds the names to the list mapping rules params

func (*ListMappingRulesParams) SetPageMaxSize

func (o *ListMappingRulesParams) SetPageMaxSize(pageMaxSize *int64)

SetPageMaxSize adds the pageMaxSize to the list mapping rules params

func (*ListMappingRulesParams) SetPageToken

func (o *ListMappingRulesParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list mapping rules params

func (*ListMappingRulesParams) SetSlugs

func (o *ListMappingRulesParams) SetSlugs(slugs []string)

SetSlugs adds the slugs to the list mapping rules params

func (*ListMappingRulesParams) SetTimeout

func (o *ListMappingRulesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list mapping rules params

func (*ListMappingRulesParams) WithBucketSlugs

func (o *ListMappingRulesParams) WithBucketSlugs(bucketSlugs []string) *ListMappingRulesParams

WithBucketSlugs adds the bucketSlugs to the list mapping rules params

func (*ListMappingRulesParams) WithContext

WithContext adds the context to the list mapping rules params

func (*ListMappingRulesParams) WithDefaults

WithDefaults hydrates default values in the list mapping rules params (not the query body).

All values with no default are reset to their zero value.

func (*ListMappingRulesParams) WithHTTPClient

func (o *ListMappingRulesParams) WithHTTPClient(client *http.Client) *ListMappingRulesParams

WithHTTPClient adds the HTTPClient to the list mapping rules params

func (*ListMappingRulesParams) WithNames

func (o *ListMappingRulesParams) WithNames(names []string) *ListMappingRulesParams

WithNames adds the names to the list mapping rules params

func (*ListMappingRulesParams) WithPageMaxSize

func (o *ListMappingRulesParams) WithPageMaxSize(pageMaxSize *int64) *ListMappingRulesParams

WithPageMaxSize adds the pageMaxSize to the list mapping rules params

func (*ListMappingRulesParams) WithPageToken

func (o *ListMappingRulesParams) WithPageToken(pageToken *string) *ListMappingRulesParams

WithPageToken adds the pageToken to the list mapping rules params

func (*ListMappingRulesParams) WithSlugs

func (o *ListMappingRulesParams) WithSlugs(slugs []string) *ListMappingRulesParams

WithSlugs adds the slugs to the list mapping rules params

func (*ListMappingRulesParams) WithTimeout

WithTimeout adds the timeout to the list mapping rules params

func (*ListMappingRulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListMappingRulesReader

type ListMappingRulesReader struct {
	// contains filtered or unexported fields
}

ListMappingRulesReader is a Reader for the ListMappingRules structure.

func (*ListMappingRulesReader) ReadResponse

func (o *ListMappingRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListMonitorsDefault

type ListMonitorsDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ListMonitorsDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewListMonitorsDefault

func NewListMonitorsDefault(code int) *ListMonitorsDefault

NewListMonitorsDefault creates a ListMonitorsDefault with default headers values

func (*ListMonitorsDefault) Code

func (o *ListMonitorsDefault) Code() int

Code gets the status code for the list monitors default response

func (*ListMonitorsDefault) Error

func (o *ListMonitorsDefault) Error() string

func (*ListMonitorsDefault) GetPayload

func (o *ListMonitorsDefault) GetPayload() models.GenericError

func (*ListMonitorsDefault) IsClientError

func (o *ListMonitorsDefault) IsClientError() bool

IsClientError returns true when this list monitors default response has a 4xx status code

func (*ListMonitorsDefault) IsCode

func (o *ListMonitorsDefault) IsCode(code int) bool

IsCode returns true when this list monitors default response a status code equal to that given

func (*ListMonitorsDefault) IsRedirect

func (o *ListMonitorsDefault) IsRedirect() bool

IsRedirect returns true when this list monitors default response has a 3xx status code

func (*ListMonitorsDefault) IsServerError

func (o *ListMonitorsDefault) IsServerError() bool

IsServerError returns true when this list monitors default response has a 5xx status code

func (*ListMonitorsDefault) IsSuccess

func (o *ListMonitorsDefault) IsSuccess() bool

IsSuccess returns true when this list monitors default response has a 2xx status code

func (*ListMonitorsDefault) String

func (o *ListMonitorsDefault) String() string

type ListMonitorsInternalServerError

type ListMonitorsInternalServerError struct {
	Payload *models.APIError
}

ListMonitorsInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewListMonitorsInternalServerError

func NewListMonitorsInternalServerError() *ListMonitorsInternalServerError

NewListMonitorsInternalServerError creates a ListMonitorsInternalServerError with default headers values

func (*ListMonitorsInternalServerError) Code

Code gets the status code for the list monitors internal server error response

func (*ListMonitorsInternalServerError) Error

func (*ListMonitorsInternalServerError) GetPayload

func (*ListMonitorsInternalServerError) IsClientError

func (o *ListMonitorsInternalServerError) IsClientError() bool

IsClientError returns true when this list monitors internal server error response has a 4xx status code

func (*ListMonitorsInternalServerError) IsCode

func (o *ListMonitorsInternalServerError) IsCode(code int) bool

IsCode returns true when this list monitors internal server error response a status code equal to that given

func (*ListMonitorsInternalServerError) IsRedirect

func (o *ListMonitorsInternalServerError) IsRedirect() bool

IsRedirect returns true when this list monitors internal server error response has a 3xx status code

func (*ListMonitorsInternalServerError) IsServerError

func (o *ListMonitorsInternalServerError) IsServerError() bool

IsServerError returns true when this list monitors internal server error response has a 5xx status code

func (*ListMonitorsInternalServerError) IsSuccess

func (o *ListMonitorsInternalServerError) IsSuccess() bool

IsSuccess returns true when this list monitors internal server error response has a 2xx status code

func (*ListMonitorsInternalServerError) String

type ListMonitorsOK

type ListMonitorsOK struct {
	Payload *models.Configv1ListMonitorsResponse
}

ListMonitorsOK describes a response with status code 200, with default header values.

A successful response.

func NewListMonitorsOK

func NewListMonitorsOK() *ListMonitorsOK

NewListMonitorsOK creates a ListMonitorsOK with default headers values

func (*ListMonitorsOK) Code

func (o *ListMonitorsOK) Code() int

Code gets the status code for the list monitors o k response

func (*ListMonitorsOK) Error

func (o *ListMonitorsOK) Error() string

func (*ListMonitorsOK) GetPayload

func (*ListMonitorsOK) IsClientError

func (o *ListMonitorsOK) IsClientError() bool

IsClientError returns true when this list monitors o k response has a 4xx status code

func (*ListMonitorsOK) IsCode

func (o *ListMonitorsOK) IsCode(code int) bool

IsCode returns true when this list monitors o k response a status code equal to that given

func (*ListMonitorsOK) IsRedirect

func (o *ListMonitorsOK) IsRedirect() bool

IsRedirect returns true when this list monitors o k response has a 3xx status code

func (*ListMonitorsOK) IsServerError

func (o *ListMonitorsOK) IsServerError() bool

IsServerError returns true when this list monitors o k response has a 5xx status code

func (*ListMonitorsOK) IsSuccess

func (o *ListMonitorsOK) IsSuccess() bool

IsSuccess returns true when this list monitors o k response has a 2xx status code

func (*ListMonitorsOK) String

func (o *ListMonitorsOK) String() string

type ListMonitorsParams

type ListMonitorsParams struct {

	/* BucketSlugs.

	   Filters results by bucket_slug, where any Monitor with a matching bucket_slug in the given list (and matches all other filters) is returned.
	*/
	BucketSlugs []string

	/* CollectionSlugs.

	   Filters results by collection_slug, where any Monitor with a matching collection_slug in the given list (and matches all other filters) is returned.
	*/
	CollectionSlugs []string

	/* Names.

	   Filters results by name, where any Monitor with a matching name in the given list (and matches all other filters) is returned.
	*/
	Names []string

	/* PageMaxSize.

	     Page size preference (i.e. how many items are returned in the next
	page). If zero, the server will use a default. Regardless of what size
	is given, clients must never assume how many items will be returned.

	     Format: int64
	*/
	PageMaxSize *int64

	/* PageToken.

	     Opaque page token identifying which page to request. An empty token
	identifies the first page.
	*/
	PageToken *string

	/* Slugs.

	   Filters results by slug, where any Monitor with a matching slug in the given list (and matches all other filters) is returned.
	*/
	Slugs []string

	/* TeamSlugs.

	   Filter returned monitors by the teams that own the collections that they belong to.
	*/
	TeamSlugs []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListMonitorsParams contains all the parameters to send to the API endpoint

for the list monitors operation.

Typically these are written to a http.Request.

func NewListMonitorsParams

func NewListMonitorsParams() *ListMonitorsParams

NewListMonitorsParams creates a new ListMonitorsParams 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 NewListMonitorsParamsWithContext

func NewListMonitorsParamsWithContext(ctx context.Context) *ListMonitorsParams

NewListMonitorsParamsWithContext creates a new ListMonitorsParams object with the ability to set a context for a request.

func NewListMonitorsParamsWithHTTPClient

func NewListMonitorsParamsWithHTTPClient(client *http.Client) *ListMonitorsParams

NewListMonitorsParamsWithHTTPClient creates a new ListMonitorsParams object with the ability to set a custom HTTPClient for a request.

func NewListMonitorsParamsWithTimeout

func NewListMonitorsParamsWithTimeout(timeout time.Duration) *ListMonitorsParams

NewListMonitorsParamsWithTimeout creates a new ListMonitorsParams object with the ability to set a timeout on a request.

func (*ListMonitorsParams) SetBucketSlugs

func (o *ListMonitorsParams) SetBucketSlugs(bucketSlugs []string)

SetBucketSlugs adds the bucketSlugs to the list monitors params

func (*ListMonitorsParams) SetCollectionSlugs

func (o *ListMonitorsParams) SetCollectionSlugs(collectionSlugs []string)

SetCollectionSlugs adds the collectionSlugs to the list monitors params

func (*ListMonitorsParams) SetContext

func (o *ListMonitorsParams) SetContext(ctx context.Context)

SetContext adds the context to the list monitors params

func (*ListMonitorsParams) SetDefaults

func (o *ListMonitorsParams) SetDefaults()

SetDefaults hydrates default values in the list monitors params (not the query body).

All values with no default are reset to their zero value.

func (*ListMonitorsParams) SetHTTPClient

func (o *ListMonitorsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list monitors params

func (*ListMonitorsParams) SetNames

func (o *ListMonitorsParams) SetNames(names []string)

SetNames adds the names to the list monitors params

func (*ListMonitorsParams) SetPageMaxSize

func (o *ListMonitorsParams) SetPageMaxSize(pageMaxSize *int64)

SetPageMaxSize adds the pageMaxSize to the list monitors params

func (*ListMonitorsParams) SetPageToken

func (o *ListMonitorsParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list monitors params

func (*ListMonitorsParams) SetSlugs

func (o *ListMonitorsParams) SetSlugs(slugs []string)

SetSlugs adds the slugs to the list monitors params

func (*ListMonitorsParams) SetTeamSlugs

func (o *ListMonitorsParams) SetTeamSlugs(teamSlugs []string)

SetTeamSlugs adds the teamSlugs to the list monitors params

func (*ListMonitorsParams) SetTimeout

func (o *ListMonitorsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list monitors params

func (*ListMonitorsParams) WithBucketSlugs

func (o *ListMonitorsParams) WithBucketSlugs(bucketSlugs []string) *ListMonitorsParams

WithBucketSlugs adds the bucketSlugs to the list monitors params

func (*ListMonitorsParams) WithCollectionSlugs

func (o *ListMonitorsParams) WithCollectionSlugs(collectionSlugs []string) *ListMonitorsParams

WithCollectionSlugs adds the collectionSlugs to the list monitors params

func (*ListMonitorsParams) WithContext

WithContext adds the context to the list monitors params

func (*ListMonitorsParams) WithDefaults

func (o *ListMonitorsParams) WithDefaults() *ListMonitorsParams

WithDefaults hydrates default values in the list monitors params (not the query body).

All values with no default are reset to their zero value.

func (*ListMonitorsParams) WithHTTPClient

func (o *ListMonitorsParams) WithHTTPClient(client *http.Client) *ListMonitorsParams

WithHTTPClient adds the HTTPClient to the list monitors params

func (*ListMonitorsParams) WithNames

func (o *ListMonitorsParams) WithNames(names []string) *ListMonitorsParams

WithNames adds the names to the list monitors params

func (*ListMonitorsParams) WithPageMaxSize

func (o *ListMonitorsParams) WithPageMaxSize(pageMaxSize *int64) *ListMonitorsParams

WithPageMaxSize adds the pageMaxSize to the list monitors params

func (*ListMonitorsParams) WithPageToken

func (o *ListMonitorsParams) WithPageToken(pageToken *string) *ListMonitorsParams

WithPageToken adds the pageToken to the list monitors params

func (*ListMonitorsParams) WithSlugs

func (o *ListMonitorsParams) WithSlugs(slugs []string) *ListMonitorsParams

WithSlugs adds the slugs to the list monitors params

func (*ListMonitorsParams) WithTeamSlugs

func (o *ListMonitorsParams) WithTeamSlugs(teamSlugs []string) *ListMonitorsParams

WithTeamSlugs adds the teamSlugs to the list monitors params

func (*ListMonitorsParams) WithTimeout

func (o *ListMonitorsParams) WithTimeout(timeout time.Duration) *ListMonitorsParams

WithTimeout adds the timeout to the list monitors params

func (*ListMonitorsParams) WriteToRequest

func (o *ListMonitorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListMonitorsReader

type ListMonitorsReader struct {
	// contains filtered or unexported fields
}

ListMonitorsReader is a Reader for the ListMonitors structure.

func (*ListMonitorsReader) ReadResponse

func (o *ListMonitorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListMutingRulesDefault

type ListMutingRulesDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ListMutingRulesDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewListMutingRulesDefault

func NewListMutingRulesDefault(code int) *ListMutingRulesDefault

NewListMutingRulesDefault creates a ListMutingRulesDefault with default headers values

func (*ListMutingRulesDefault) Code

func (o *ListMutingRulesDefault) Code() int

Code gets the status code for the list muting rules default response

func (*ListMutingRulesDefault) Error

func (o *ListMutingRulesDefault) Error() string

func (*ListMutingRulesDefault) GetPayload

func (o *ListMutingRulesDefault) GetPayload() models.GenericError

func (*ListMutingRulesDefault) IsClientError

func (o *ListMutingRulesDefault) IsClientError() bool

IsClientError returns true when this list muting rules default response has a 4xx status code

func (*ListMutingRulesDefault) IsCode

func (o *ListMutingRulesDefault) IsCode(code int) bool

IsCode returns true when this list muting rules default response a status code equal to that given

func (*ListMutingRulesDefault) IsRedirect

func (o *ListMutingRulesDefault) IsRedirect() bool

IsRedirect returns true when this list muting rules default response has a 3xx status code

func (*ListMutingRulesDefault) IsServerError

func (o *ListMutingRulesDefault) IsServerError() bool

IsServerError returns true when this list muting rules default response has a 5xx status code

func (*ListMutingRulesDefault) IsSuccess

func (o *ListMutingRulesDefault) IsSuccess() bool

IsSuccess returns true when this list muting rules default response has a 2xx status code

func (*ListMutingRulesDefault) String

func (o *ListMutingRulesDefault) String() string

type ListMutingRulesInternalServerError

type ListMutingRulesInternalServerError struct {
	Payload *models.APIError
}

ListMutingRulesInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewListMutingRulesInternalServerError

func NewListMutingRulesInternalServerError() *ListMutingRulesInternalServerError

NewListMutingRulesInternalServerError creates a ListMutingRulesInternalServerError with default headers values

func (*ListMutingRulesInternalServerError) Code

Code gets the status code for the list muting rules internal server error response

func (*ListMutingRulesInternalServerError) Error

func (*ListMutingRulesInternalServerError) GetPayload

func (*ListMutingRulesInternalServerError) IsClientError

func (o *ListMutingRulesInternalServerError) IsClientError() bool

IsClientError returns true when this list muting rules internal server error response has a 4xx status code

func (*ListMutingRulesInternalServerError) IsCode

IsCode returns true when this list muting rules internal server error response a status code equal to that given

func (*ListMutingRulesInternalServerError) IsRedirect

func (o *ListMutingRulesInternalServerError) IsRedirect() bool

IsRedirect returns true when this list muting rules internal server error response has a 3xx status code

func (*ListMutingRulesInternalServerError) IsServerError

func (o *ListMutingRulesInternalServerError) IsServerError() bool

IsServerError returns true when this list muting rules internal server error response has a 5xx status code

func (*ListMutingRulesInternalServerError) IsSuccess

IsSuccess returns true when this list muting rules internal server error response has a 2xx status code

func (*ListMutingRulesInternalServerError) String

type ListMutingRulesOK

type ListMutingRulesOK struct {
	Payload *models.Configv1ListMutingRulesResponse
}

ListMutingRulesOK describes a response with status code 200, with default header values.

A successful response.

func NewListMutingRulesOK

func NewListMutingRulesOK() *ListMutingRulesOK

NewListMutingRulesOK creates a ListMutingRulesOK with default headers values

func (*ListMutingRulesOK) Code

func (o *ListMutingRulesOK) Code() int

Code gets the status code for the list muting rules o k response

func (*ListMutingRulesOK) Error

func (o *ListMutingRulesOK) Error() string

func (*ListMutingRulesOK) GetPayload

func (*ListMutingRulesOK) IsClientError

func (o *ListMutingRulesOK) IsClientError() bool

IsClientError returns true when this list muting rules o k response has a 4xx status code

func (*ListMutingRulesOK) IsCode

func (o *ListMutingRulesOK) IsCode(code int) bool

IsCode returns true when this list muting rules o k response a status code equal to that given

func (*ListMutingRulesOK) IsRedirect

func (o *ListMutingRulesOK) IsRedirect() bool

IsRedirect returns true when this list muting rules o k response has a 3xx status code

func (*ListMutingRulesOK) IsServerError

func (o *ListMutingRulesOK) IsServerError() bool

IsServerError returns true when this list muting rules o k response has a 5xx status code

func (*ListMutingRulesOK) IsSuccess

func (o *ListMutingRulesOK) IsSuccess() bool

IsSuccess returns true when this list muting rules o k response has a 2xx status code

func (*ListMutingRulesOK) String

func (o *ListMutingRulesOK) String() string

type ListMutingRulesParams

type ListMutingRulesParams struct {

	/* Names.

	   Filters results by name, where any MutingRule with a matching name in the given list (and matches all other filters) is returned.
	*/
	Names []string

	/* PageMaxSize.

	     Page size preference (i.e. how many items are returned in the next
	page). If zero, the server will use a default. Regardless of what size
	is given, clients must never assume how many items will be returned.

	     Format: int64
	*/
	PageMaxSize *int64

	/* PageToken.

	     Opaque page token identifying which page to request. An empty token
	identifies the first page.
	*/
	PageToken *string

	/* Slugs.

	   Filters results by slug, where any MutingRule with a matching slug in the given list (and matches all other filters) is returned.
	*/
	Slugs []string

	/* States.

	     Lists muting rules filtered by the states.
	If empty, all muting rules are included.
	*/
	States []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListMutingRulesParams contains all the parameters to send to the API endpoint

for the list muting rules operation.

Typically these are written to a http.Request.

func NewListMutingRulesParams

func NewListMutingRulesParams() *ListMutingRulesParams

NewListMutingRulesParams creates a new ListMutingRulesParams 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 NewListMutingRulesParamsWithContext

func NewListMutingRulesParamsWithContext(ctx context.Context) *ListMutingRulesParams

NewListMutingRulesParamsWithContext creates a new ListMutingRulesParams object with the ability to set a context for a request.

func NewListMutingRulesParamsWithHTTPClient

func NewListMutingRulesParamsWithHTTPClient(client *http.Client) *ListMutingRulesParams

NewListMutingRulesParamsWithHTTPClient creates a new ListMutingRulesParams object with the ability to set a custom HTTPClient for a request.

func NewListMutingRulesParamsWithTimeout

func NewListMutingRulesParamsWithTimeout(timeout time.Duration) *ListMutingRulesParams

NewListMutingRulesParamsWithTimeout creates a new ListMutingRulesParams object with the ability to set a timeout on a request.

func (*ListMutingRulesParams) SetContext

func (o *ListMutingRulesParams) SetContext(ctx context.Context)

SetContext adds the context to the list muting rules params

func (*ListMutingRulesParams) SetDefaults

func (o *ListMutingRulesParams) SetDefaults()

SetDefaults hydrates default values in the list muting rules params (not the query body).

All values with no default are reset to their zero value.

func (*ListMutingRulesParams) SetHTTPClient

func (o *ListMutingRulesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list muting rules params

func (*ListMutingRulesParams) SetNames

func (o *ListMutingRulesParams) SetNames(names []string)

SetNames adds the names to the list muting rules params

func (*ListMutingRulesParams) SetPageMaxSize

func (o *ListMutingRulesParams) SetPageMaxSize(pageMaxSize *int64)

SetPageMaxSize adds the pageMaxSize to the list muting rules params

func (*ListMutingRulesParams) SetPageToken

func (o *ListMutingRulesParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list muting rules params

func (*ListMutingRulesParams) SetSlugs

func (o *ListMutingRulesParams) SetSlugs(slugs []string)

SetSlugs adds the slugs to the list muting rules params

func (*ListMutingRulesParams) SetStates

func (o *ListMutingRulesParams) SetStates(states []string)

SetStates adds the states to the list muting rules params

func (*ListMutingRulesParams) SetTimeout

func (o *ListMutingRulesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list muting rules params

func (*ListMutingRulesParams) WithContext

WithContext adds the context to the list muting rules params

func (*ListMutingRulesParams) WithDefaults

func (o *ListMutingRulesParams) WithDefaults() *ListMutingRulesParams

WithDefaults hydrates default values in the list muting rules params (not the query body).

All values with no default are reset to their zero value.

func (*ListMutingRulesParams) WithHTTPClient

func (o *ListMutingRulesParams) WithHTTPClient(client *http.Client) *ListMutingRulesParams

WithHTTPClient adds the HTTPClient to the list muting rules params

func (*ListMutingRulesParams) WithNames

func (o *ListMutingRulesParams) WithNames(names []string) *ListMutingRulesParams

WithNames adds the names to the list muting rules params

func (*ListMutingRulesParams) WithPageMaxSize

func (o *ListMutingRulesParams) WithPageMaxSize(pageMaxSize *int64) *ListMutingRulesParams

WithPageMaxSize adds the pageMaxSize to the list muting rules params

func (*ListMutingRulesParams) WithPageToken

func (o *ListMutingRulesParams) WithPageToken(pageToken *string) *ListMutingRulesParams

WithPageToken adds the pageToken to the list muting rules params

func (*ListMutingRulesParams) WithSlugs

func (o *ListMutingRulesParams) WithSlugs(slugs []string) *ListMutingRulesParams

WithSlugs adds the slugs to the list muting rules params

func (*ListMutingRulesParams) WithStates

func (o *ListMutingRulesParams) WithStates(states []string) *ListMutingRulesParams

WithStates adds the states to the list muting rules params

func (*ListMutingRulesParams) WithTimeout

func (o *ListMutingRulesParams) WithTimeout(timeout time.Duration) *ListMutingRulesParams

WithTimeout adds the timeout to the list muting rules params

func (*ListMutingRulesParams) WriteToRequest

func (o *ListMutingRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListMutingRulesReader

type ListMutingRulesReader struct {
	// contains filtered or unexported fields
}

ListMutingRulesReader is a Reader for the ListMutingRules structure.

func (*ListMutingRulesReader) ReadResponse

func (o *ListMutingRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListNotificationPoliciesDefault

type ListNotificationPoliciesDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ListNotificationPoliciesDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewListNotificationPoliciesDefault

func NewListNotificationPoliciesDefault(code int) *ListNotificationPoliciesDefault

NewListNotificationPoliciesDefault creates a ListNotificationPoliciesDefault with default headers values

func (*ListNotificationPoliciesDefault) Code

Code gets the status code for the list notification policies default response

func (*ListNotificationPoliciesDefault) Error

func (*ListNotificationPoliciesDefault) GetPayload

func (*ListNotificationPoliciesDefault) IsClientError

func (o *ListNotificationPoliciesDefault) IsClientError() bool

IsClientError returns true when this list notification policies default response has a 4xx status code

func (*ListNotificationPoliciesDefault) IsCode

func (o *ListNotificationPoliciesDefault) IsCode(code int) bool

IsCode returns true when this list notification policies default response a status code equal to that given

func (*ListNotificationPoliciesDefault) IsRedirect

func (o *ListNotificationPoliciesDefault) IsRedirect() bool

IsRedirect returns true when this list notification policies default response has a 3xx status code

func (*ListNotificationPoliciesDefault) IsServerError

func (o *ListNotificationPoliciesDefault) IsServerError() bool

IsServerError returns true when this list notification policies default response has a 5xx status code

func (*ListNotificationPoliciesDefault) IsSuccess

func (o *ListNotificationPoliciesDefault) IsSuccess() bool

IsSuccess returns true when this list notification policies default response has a 2xx status code

func (*ListNotificationPoliciesDefault) String

type ListNotificationPoliciesInternalServerError

type ListNotificationPoliciesInternalServerError struct {
	Payload *models.APIError
}

ListNotificationPoliciesInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewListNotificationPoliciesInternalServerError

func NewListNotificationPoliciesInternalServerError() *ListNotificationPoliciesInternalServerError

NewListNotificationPoliciesInternalServerError creates a ListNotificationPoliciesInternalServerError with default headers values

func (*ListNotificationPoliciesInternalServerError) Code

Code gets the status code for the list notification policies internal server error response

func (*ListNotificationPoliciesInternalServerError) Error

func (*ListNotificationPoliciesInternalServerError) GetPayload

func (*ListNotificationPoliciesInternalServerError) IsClientError

IsClientError returns true when this list notification policies internal server error response has a 4xx status code

func (*ListNotificationPoliciesInternalServerError) IsCode

IsCode returns true when this list notification policies internal server error response a status code equal to that given

func (*ListNotificationPoliciesInternalServerError) IsRedirect

IsRedirect returns true when this list notification policies internal server error response has a 3xx status code

func (*ListNotificationPoliciesInternalServerError) IsServerError

IsServerError returns true when this list notification policies internal server error response has a 5xx status code

func (*ListNotificationPoliciesInternalServerError) IsSuccess

IsSuccess returns true when this list notification policies internal server error response has a 2xx status code

func (*ListNotificationPoliciesInternalServerError) String

type ListNotificationPoliciesOK

type ListNotificationPoliciesOK struct {
	Payload *models.Configv1ListNotificationPoliciesResponse
}

ListNotificationPoliciesOK describes a response with status code 200, with default header values.

A successful response.

func NewListNotificationPoliciesOK

func NewListNotificationPoliciesOK() *ListNotificationPoliciesOK

NewListNotificationPoliciesOK creates a ListNotificationPoliciesOK with default headers values

func (*ListNotificationPoliciesOK) Code

func (o *ListNotificationPoliciesOK) Code() int

Code gets the status code for the list notification policies o k response

func (*ListNotificationPoliciesOK) Error

func (*ListNotificationPoliciesOK) GetPayload

func (*ListNotificationPoliciesOK) IsClientError

func (o *ListNotificationPoliciesOK) IsClientError() bool

IsClientError returns true when this list notification policies o k response has a 4xx status code

func (*ListNotificationPoliciesOK) IsCode

func (o *ListNotificationPoliciesOK) IsCode(code int) bool

IsCode returns true when this list notification policies o k response a status code equal to that given

func (*ListNotificationPoliciesOK) IsRedirect

func (o *ListNotificationPoliciesOK) IsRedirect() bool

IsRedirect returns true when this list notification policies o k response has a 3xx status code

func (*ListNotificationPoliciesOK) IsServerError

func (o *ListNotificationPoliciesOK) IsServerError() bool

IsServerError returns true when this list notification policies o k response has a 5xx status code

func (*ListNotificationPoliciesOK) IsSuccess

func (o *ListNotificationPoliciesOK) IsSuccess() bool

IsSuccess returns true when this list notification policies o k response has a 2xx status code

func (*ListNotificationPoliciesOK) String

func (o *ListNotificationPoliciesOK) String() string

type ListNotificationPoliciesParams

type ListNotificationPoliciesParams struct {

	/* BucketSlugs.

	   Filters results by bucket_slug, where any NotificationPolicy with a matching bucket_slug in the given list (and matches all other filters) is returned.
	*/
	BucketSlugs []string

	/* Names.

	   Filters results by name, where any NotificationPolicy with a matching name in the given list (and matches all other filters) is returned.
	*/
	Names []string

	/* PageMaxSize.

	     Page size preference (i.e. how many items are returned in the next
	page). If zero, the server will use a default. Regardless of what size
	is given, clients must never assume how many items will be returned.

	     Format: int64
	*/
	PageMaxSize *int64

	/* PageToken.

	     Opaque page token identifying which page to request. An empty token
	identifies the first page.
	*/
	PageToken *string

	/* Slugs.

	   Filters results by slug, where any NotificationPolicy with a matching slug in the given list (and matches all other filters) is returned.
	*/
	Slugs []string

	/* TeamSlugs.

	   Filters results by team_slug, where any NotificationPolicy with a matching team_slug in the given list (and matches all other filters) is returned.
	*/
	TeamSlugs []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListNotificationPoliciesParams contains all the parameters to send to the API endpoint

for the list notification policies operation.

Typically these are written to a http.Request.

func NewListNotificationPoliciesParams

func NewListNotificationPoliciesParams() *ListNotificationPoliciesParams

NewListNotificationPoliciesParams creates a new ListNotificationPoliciesParams 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 NewListNotificationPoliciesParamsWithContext

func NewListNotificationPoliciesParamsWithContext(ctx context.Context) *ListNotificationPoliciesParams

NewListNotificationPoliciesParamsWithContext creates a new ListNotificationPoliciesParams object with the ability to set a context for a request.

func NewListNotificationPoliciesParamsWithHTTPClient

func NewListNotificationPoliciesParamsWithHTTPClient(client *http.Client) *ListNotificationPoliciesParams

NewListNotificationPoliciesParamsWithHTTPClient creates a new ListNotificationPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewListNotificationPoliciesParamsWithTimeout

func NewListNotificationPoliciesParamsWithTimeout(timeout time.Duration) *ListNotificationPoliciesParams

NewListNotificationPoliciesParamsWithTimeout creates a new ListNotificationPoliciesParams object with the ability to set a timeout on a request.

func (*ListNotificationPoliciesParams) SetBucketSlugs

func (o *ListNotificationPoliciesParams) SetBucketSlugs(bucketSlugs []string)

SetBucketSlugs adds the bucketSlugs to the list notification policies params

func (*ListNotificationPoliciesParams) SetContext

func (o *ListNotificationPoliciesParams) SetContext(ctx context.Context)

SetContext adds the context to the list notification policies params

func (*ListNotificationPoliciesParams) SetDefaults

func (o *ListNotificationPoliciesParams) SetDefaults()

SetDefaults hydrates default values in the list notification policies params (not the query body).

All values with no default are reset to their zero value.

func (*ListNotificationPoliciesParams) SetHTTPClient

func (o *ListNotificationPoliciesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list notification policies params

func (*ListNotificationPoliciesParams) SetNames

func (o *ListNotificationPoliciesParams) SetNames(names []string)

SetNames adds the names to the list notification policies params

func (*ListNotificationPoliciesParams) SetPageMaxSize

func (o *ListNotificationPoliciesParams) SetPageMaxSize(pageMaxSize *int64)

SetPageMaxSize adds the pageMaxSize to the list notification policies params

func (*ListNotificationPoliciesParams) SetPageToken

func (o *ListNotificationPoliciesParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list notification policies params

func (*ListNotificationPoliciesParams) SetSlugs

func (o *ListNotificationPoliciesParams) SetSlugs(slugs []string)

SetSlugs adds the slugs to the list notification policies params

func (*ListNotificationPoliciesParams) SetTeamSlugs

func (o *ListNotificationPoliciesParams) SetTeamSlugs(teamSlugs []string)

SetTeamSlugs adds the teamSlugs to the list notification policies params

func (*ListNotificationPoliciesParams) SetTimeout

func (o *ListNotificationPoliciesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list notification policies params

func (*ListNotificationPoliciesParams) WithBucketSlugs

func (o *ListNotificationPoliciesParams) WithBucketSlugs(bucketSlugs []string) *ListNotificationPoliciesParams

WithBucketSlugs adds the bucketSlugs to the list notification policies params

func (*ListNotificationPoliciesParams) WithContext

WithContext adds the context to the list notification policies params

func (*ListNotificationPoliciesParams) WithDefaults

WithDefaults hydrates default values in the list notification policies params (not the query body).

All values with no default are reset to their zero value.

func (*ListNotificationPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list notification policies params

func (*ListNotificationPoliciesParams) WithNames

WithNames adds the names to the list notification policies params

func (*ListNotificationPoliciesParams) WithPageMaxSize

func (o *ListNotificationPoliciesParams) WithPageMaxSize(pageMaxSize *int64) *ListNotificationPoliciesParams

WithPageMaxSize adds the pageMaxSize to the list notification policies params

func (*ListNotificationPoliciesParams) WithPageToken

WithPageToken adds the pageToken to the list notification policies params

func (*ListNotificationPoliciesParams) WithSlugs

WithSlugs adds the slugs to the list notification policies params

func (*ListNotificationPoliciesParams) WithTeamSlugs

WithTeamSlugs adds the teamSlugs to the list notification policies params

func (*ListNotificationPoliciesParams) WithTimeout

WithTimeout adds the timeout to the list notification policies params

func (*ListNotificationPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListNotificationPoliciesReader

type ListNotificationPoliciesReader struct {
	// contains filtered or unexported fields
}

ListNotificationPoliciesReader is a Reader for the ListNotificationPolicies structure.

func (*ListNotificationPoliciesReader) ReadResponse

func (o *ListNotificationPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListNotifiersDefault

type ListNotifiersDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ListNotifiersDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewListNotifiersDefault

func NewListNotifiersDefault(code int) *ListNotifiersDefault

NewListNotifiersDefault creates a ListNotifiersDefault with default headers values

func (*ListNotifiersDefault) Code

func (o *ListNotifiersDefault) Code() int

Code gets the status code for the list notifiers default response

func (*ListNotifiersDefault) Error

func (o *ListNotifiersDefault) Error() string

func (*ListNotifiersDefault) GetPayload

func (o *ListNotifiersDefault) GetPayload() models.GenericError

func (*ListNotifiersDefault) IsClientError

func (o *ListNotifiersDefault) IsClientError() bool

IsClientError returns true when this list notifiers default response has a 4xx status code

func (*ListNotifiersDefault) IsCode

func (o *ListNotifiersDefault) IsCode(code int) bool

IsCode returns true when this list notifiers default response a status code equal to that given

func (*ListNotifiersDefault) IsRedirect

func (o *ListNotifiersDefault) IsRedirect() bool

IsRedirect returns true when this list notifiers default response has a 3xx status code

func (*ListNotifiersDefault) IsServerError

func (o *ListNotifiersDefault) IsServerError() bool

IsServerError returns true when this list notifiers default response has a 5xx status code

func (*ListNotifiersDefault) IsSuccess

func (o *ListNotifiersDefault) IsSuccess() bool

IsSuccess returns true when this list notifiers default response has a 2xx status code

func (*ListNotifiersDefault) String

func (o *ListNotifiersDefault) String() string

type ListNotifiersInternalServerError

type ListNotifiersInternalServerError struct {
	Payload *models.APIError
}

ListNotifiersInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewListNotifiersInternalServerError

func NewListNotifiersInternalServerError() *ListNotifiersInternalServerError

NewListNotifiersInternalServerError creates a ListNotifiersInternalServerError with default headers values

func (*ListNotifiersInternalServerError) Code

Code gets the status code for the list notifiers internal server error response

func (*ListNotifiersInternalServerError) Error

func (*ListNotifiersInternalServerError) GetPayload

func (*ListNotifiersInternalServerError) IsClientError

func (o *ListNotifiersInternalServerError) IsClientError() bool

IsClientError returns true when this list notifiers internal server error response has a 4xx status code

func (*ListNotifiersInternalServerError) IsCode

func (o *ListNotifiersInternalServerError) IsCode(code int) bool

IsCode returns true when this list notifiers internal server error response a status code equal to that given

func (*ListNotifiersInternalServerError) IsRedirect

func (o *ListNotifiersInternalServerError) IsRedirect() bool

IsRedirect returns true when this list notifiers internal server error response has a 3xx status code

func (*ListNotifiersInternalServerError) IsServerError

func (o *ListNotifiersInternalServerError) IsServerError() bool

IsServerError returns true when this list notifiers internal server error response has a 5xx status code

func (*ListNotifiersInternalServerError) IsSuccess

func (o *ListNotifiersInternalServerError) IsSuccess() bool

IsSuccess returns true when this list notifiers internal server error response has a 2xx status code

func (*ListNotifiersInternalServerError) String

type ListNotifiersOK

type ListNotifiersOK struct {
	Payload *models.Configv1ListNotifiersResponse
}

ListNotifiersOK describes a response with status code 200, with default header values.

A successful response.

func NewListNotifiersOK

func NewListNotifiersOK() *ListNotifiersOK

NewListNotifiersOK creates a ListNotifiersOK with default headers values

func (*ListNotifiersOK) Code

func (o *ListNotifiersOK) Code() int

Code gets the status code for the list notifiers o k response

func (*ListNotifiersOK) Error

func (o *ListNotifiersOK) Error() string

func (*ListNotifiersOK) GetPayload

func (*ListNotifiersOK) IsClientError

func (o *ListNotifiersOK) IsClientError() bool

IsClientError returns true when this list notifiers o k response has a 4xx status code

func (*ListNotifiersOK) IsCode

func (o *ListNotifiersOK) IsCode(code int) bool

IsCode returns true when this list notifiers o k response a status code equal to that given

func (*ListNotifiersOK) IsRedirect

func (o *ListNotifiersOK) IsRedirect() bool

IsRedirect returns true when this list notifiers o k response has a 3xx status code

func (*ListNotifiersOK) IsServerError

func (o *ListNotifiersOK) IsServerError() bool

IsServerError returns true when this list notifiers o k response has a 5xx status code

func (*ListNotifiersOK) IsSuccess

func (o *ListNotifiersOK) IsSuccess() bool

IsSuccess returns true when this list notifiers o k response has a 2xx status code

func (*ListNotifiersOK) String

func (o *ListNotifiersOK) String() string

type ListNotifiersParams

type ListNotifiersParams struct {

	/* Names.

	   Filters results by name, where any Notifier with a matching name in the given list (and matches all other filters) is returned.
	*/
	Names []string

	/* PageMaxSize.

	     Page size preference (i.e. how many items are returned in the next
	page). If zero, the server will use a default. Regardless of what size
	is given, clients must never assume how many items will be returned.

	     Format: int64
	*/
	PageMaxSize *int64

	/* PageToken.

	     Opaque page token identifying which page to request. An empty token
	identifies the first page.
	*/
	PageToken *string

	/* Slugs.

	   Filters results by slug, where any Notifier with a matching slug in the given list (and matches all other filters) is returned.
	*/
	Slugs []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListNotifiersParams contains all the parameters to send to the API endpoint

for the list notifiers operation.

Typically these are written to a http.Request.

func NewListNotifiersParams

func NewListNotifiersParams() *ListNotifiersParams

NewListNotifiersParams creates a new ListNotifiersParams 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 NewListNotifiersParamsWithContext

func NewListNotifiersParamsWithContext(ctx context.Context) *ListNotifiersParams

NewListNotifiersParamsWithContext creates a new ListNotifiersParams object with the ability to set a context for a request.

func NewListNotifiersParamsWithHTTPClient

func NewListNotifiersParamsWithHTTPClient(client *http.Client) *ListNotifiersParams

NewListNotifiersParamsWithHTTPClient creates a new ListNotifiersParams object with the ability to set a custom HTTPClient for a request.

func NewListNotifiersParamsWithTimeout

func NewListNotifiersParamsWithTimeout(timeout time.Duration) *ListNotifiersParams

NewListNotifiersParamsWithTimeout creates a new ListNotifiersParams object with the ability to set a timeout on a request.

func (*ListNotifiersParams) SetContext

func (o *ListNotifiersParams) SetContext(ctx context.Context)

SetContext adds the context to the list notifiers params

func (*ListNotifiersParams) SetDefaults

func (o *ListNotifiersParams) SetDefaults()

SetDefaults hydrates default values in the list notifiers params (not the query body).

All values with no default are reset to their zero value.

func (*ListNotifiersParams) SetHTTPClient

func (o *ListNotifiersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list notifiers params

func (*ListNotifiersParams) SetNames

func (o *ListNotifiersParams) SetNames(names []string)

SetNames adds the names to the list notifiers params

func (*ListNotifiersParams) SetPageMaxSize

func (o *ListNotifiersParams) SetPageMaxSize(pageMaxSize *int64)

SetPageMaxSize adds the pageMaxSize to the list notifiers params

func (*ListNotifiersParams) SetPageToken

func (o *ListNotifiersParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list notifiers params

func (*ListNotifiersParams) SetSlugs

func (o *ListNotifiersParams) SetSlugs(slugs []string)

SetSlugs adds the slugs to the list notifiers params

func (*ListNotifiersParams) SetTimeout

func (o *ListNotifiersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list notifiers params

func (*ListNotifiersParams) WithContext

WithContext adds the context to the list notifiers params

func (*ListNotifiersParams) WithDefaults

func (o *ListNotifiersParams) WithDefaults() *ListNotifiersParams

WithDefaults hydrates default values in the list notifiers params (not the query body).

All values with no default are reset to their zero value.

func (*ListNotifiersParams) WithHTTPClient

func (o *ListNotifiersParams) WithHTTPClient(client *http.Client) *ListNotifiersParams

WithHTTPClient adds the HTTPClient to the list notifiers params

func (*ListNotifiersParams) WithNames

func (o *ListNotifiersParams) WithNames(names []string) *ListNotifiersParams

WithNames adds the names to the list notifiers params

func (*ListNotifiersParams) WithPageMaxSize

func (o *ListNotifiersParams) WithPageMaxSize(pageMaxSize *int64) *ListNotifiersParams

WithPageMaxSize adds the pageMaxSize to the list notifiers params

func (*ListNotifiersParams) WithPageToken

func (o *ListNotifiersParams) WithPageToken(pageToken *string) *ListNotifiersParams

WithPageToken adds the pageToken to the list notifiers params

func (*ListNotifiersParams) WithSlugs

func (o *ListNotifiersParams) WithSlugs(slugs []string) *ListNotifiersParams

WithSlugs adds the slugs to the list notifiers params

func (*ListNotifiersParams) WithTimeout

func (o *ListNotifiersParams) WithTimeout(timeout time.Duration) *ListNotifiersParams

WithTimeout adds the timeout to the list notifiers params

func (*ListNotifiersParams) WriteToRequest

func (o *ListNotifiersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListNotifiersReader

type ListNotifiersReader struct {
	// contains filtered or unexported fields
}

ListNotifiersReader is a Reader for the ListNotifiers structure.

func (*ListNotifiersReader) ReadResponse

func (o *ListNotifiersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListRecordingRulesDefault

type ListRecordingRulesDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ListRecordingRulesDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewListRecordingRulesDefault

func NewListRecordingRulesDefault(code int) *ListRecordingRulesDefault

NewListRecordingRulesDefault creates a ListRecordingRulesDefault with default headers values

func (*ListRecordingRulesDefault) Code

func (o *ListRecordingRulesDefault) Code() int

Code gets the status code for the list recording rules default response

func (*ListRecordingRulesDefault) Error

func (o *ListRecordingRulesDefault) Error() string

func (*ListRecordingRulesDefault) GetPayload

func (*ListRecordingRulesDefault) IsClientError

func (o *ListRecordingRulesDefault) IsClientError() bool

IsClientError returns true when this list recording rules default response has a 4xx status code

func (*ListRecordingRulesDefault) IsCode

func (o *ListRecordingRulesDefault) IsCode(code int) bool

IsCode returns true when this list recording rules default response a status code equal to that given

func (*ListRecordingRulesDefault) IsRedirect

func (o *ListRecordingRulesDefault) IsRedirect() bool

IsRedirect returns true when this list recording rules default response has a 3xx status code

func (*ListRecordingRulesDefault) IsServerError

func (o *ListRecordingRulesDefault) IsServerError() bool

IsServerError returns true when this list recording rules default response has a 5xx status code

func (*ListRecordingRulesDefault) IsSuccess

func (o *ListRecordingRulesDefault) IsSuccess() bool

IsSuccess returns true when this list recording rules default response has a 2xx status code

func (*ListRecordingRulesDefault) String

func (o *ListRecordingRulesDefault) String() string

type ListRecordingRulesInternalServerError

type ListRecordingRulesInternalServerError struct {
	Payload *models.APIError
}

ListRecordingRulesInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewListRecordingRulesInternalServerError

func NewListRecordingRulesInternalServerError() *ListRecordingRulesInternalServerError

NewListRecordingRulesInternalServerError creates a ListRecordingRulesInternalServerError with default headers values

func (*ListRecordingRulesInternalServerError) Code

Code gets the status code for the list recording rules internal server error response

func (*ListRecordingRulesInternalServerError) Error

func (*ListRecordingRulesInternalServerError) GetPayload

func (*ListRecordingRulesInternalServerError) IsClientError

func (o *ListRecordingRulesInternalServerError) IsClientError() bool

IsClientError returns true when this list recording rules internal server error response has a 4xx status code

func (*ListRecordingRulesInternalServerError) IsCode

IsCode returns true when this list recording rules internal server error response a status code equal to that given

func (*ListRecordingRulesInternalServerError) IsRedirect

IsRedirect returns true when this list recording rules internal server error response has a 3xx status code

func (*ListRecordingRulesInternalServerError) IsServerError

func (o *ListRecordingRulesInternalServerError) IsServerError() bool

IsServerError returns true when this list recording rules internal server error response has a 5xx status code

func (*ListRecordingRulesInternalServerError) IsSuccess

IsSuccess returns true when this list recording rules internal server error response has a 2xx status code

func (*ListRecordingRulesInternalServerError) String

type ListRecordingRulesOK

type ListRecordingRulesOK struct {
	Payload *models.Configv1ListRecordingRulesResponse
}

ListRecordingRulesOK describes a response with status code 200, with default header values.

A successful response.

func NewListRecordingRulesOK

func NewListRecordingRulesOK() *ListRecordingRulesOK

NewListRecordingRulesOK creates a ListRecordingRulesOK with default headers values

func (*ListRecordingRulesOK) Code

func (o *ListRecordingRulesOK) Code() int

Code gets the status code for the list recording rules o k response

func (*ListRecordingRulesOK) Error

func (o *ListRecordingRulesOK) Error() string

func (*ListRecordingRulesOK) GetPayload

func (*ListRecordingRulesOK) IsClientError

func (o *ListRecordingRulesOK) IsClientError() bool

IsClientError returns true when this list recording rules o k response has a 4xx status code

func (*ListRecordingRulesOK) IsCode

func (o *ListRecordingRulesOK) IsCode(code int) bool

IsCode returns true when this list recording rules o k response a status code equal to that given

func (*ListRecordingRulesOK) IsRedirect

func (o *ListRecordingRulesOK) IsRedirect() bool

IsRedirect returns true when this list recording rules o k response has a 3xx status code

func (*ListRecordingRulesOK) IsServerError

func (o *ListRecordingRulesOK) IsServerError() bool

IsServerError returns true when this list recording rules o k response has a 5xx status code

func (*ListRecordingRulesOK) IsSuccess

func (o *ListRecordingRulesOK) IsSuccess() bool

IsSuccess returns true when this list recording rules o k response has a 2xx status code

func (*ListRecordingRulesOK) String

func (o *ListRecordingRulesOK) String() string

type ListRecordingRulesParams

type ListRecordingRulesParams struct {

	/* BucketSlugs.

	   The execution_groups filter cannot be used when a bucket_slug filter is provided.
	*/
	BucketSlugs []string

	/* ExecutionGroups.

	   The bucket_slugs filter cannot be used when an execution_group filter is provided.
	*/
	ExecutionGroups []string

	/* Names.

	   Filters results by name, where any RecordingRule with a matching name in the given list (and matches all other filters) is returned.
	*/
	Names []string

	/* PageMaxSize.

	     Page size preference (i.e. how many items are returned in the next
	page). If zero, the server will use a default. Regardless of what size
	is given, clients must never assume how many items will be returned.

	     Format: int64
	*/
	PageMaxSize *int64

	/* PageToken.

	     Opaque page token identifying which page to request. An empty token
	identifies the first page.
	*/
	PageToken *string

	/* Slugs.

	   Filters results by slug, where any RecordingRule with a matching slug in the given list (and matches all other filters) is returned.
	*/
	Slugs []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListRecordingRulesParams contains all the parameters to send to the API endpoint

for the list recording rules operation.

Typically these are written to a http.Request.

func NewListRecordingRulesParams

func NewListRecordingRulesParams() *ListRecordingRulesParams

NewListRecordingRulesParams creates a new ListRecordingRulesParams 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 NewListRecordingRulesParamsWithContext

func NewListRecordingRulesParamsWithContext(ctx context.Context) *ListRecordingRulesParams

NewListRecordingRulesParamsWithContext creates a new ListRecordingRulesParams object with the ability to set a context for a request.

func NewListRecordingRulesParamsWithHTTPClient

func NewListRecordingRulesParamsWithHTTPClient(client *http.Client) *ListRecordingRulesParams

NewListRecordingRulesParamsWithHTTPClient creates a new ListRecordingRulesParams object with the ability to set a custom HTTPClient for a request.

func NewListRecordingRulesParamsWithTimeout

func NewListRecordingRulesParamsWithTimeout(timeout time.Duration) *ListRecordingRulesParams

NewListRecordingRulesParamsWithTimeout creates a new ListRecordingRulesParams object with the ability to set a timeout on a request.

func (*ListRecordingRulesParams) SetBucketSlugs

func (o *ListRecordingRulesParams) SetBucketSlugs(bucketSlugs []string)

SetBucketSlugs adds the bucketSlugs to the list recording rules params

func (*ListRecordingRulesParams) SetContext

func (o *ListRecordingRulesParams) SetContext(ctx context.Context)

SetContext adds the context to the list recording rules params

func (*ListRecordingRulesParams) SetDefaults

func (o *ListRecordingRulesParams) SetDefaults()

SetDefaults hydrates default values in the list recording rules params (not the query body).

All values with no default are reset to their zero value.

func (*ListRecordingRulesParams) SetExecutionGroups

func (o *ListRecordingRulesParams) SetExecutionGroups(executionGroups []string)

SetExecutionGroups adds the executionGroups to the list recording rules params

func (*ListRecordingRulesParams) SetHTTPClient

func (o *ListRecordingRulesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list recording rules params

func (*ListRecordingRulesParams) SetNames

func (o *ListRecordingRulesParams) SetNames(names []string)

SetNames adds the names to the list recording rules params

func (*ListRecordingRulesParams) SetPageMaxSize

func (o *ListRecordingRulesParams) SetPageMaxSize(pageMaxSize *int64)

SetPageMaxSize adds the pageMaxSize to the list recording rules params

func (*ListRecordingRulesParams) SetPageToken

func (o *ListRecordingRulesParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list recording rules params

func (*ListRecordingRulesParams) SetSlugs

func (o *ListRecordingRulesParams) SetSlugs(slugs []string)

SetSlugs adds the slugs to the list recording rules params

func (*ListRecordingRulesParams) SetTimeout

func (o *ListRecordingRulesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list recording rules params

func (*ListRecordingRulesParams) WithBucketSlugs

func (o *ListRecordingRulesParams) WithBucketSlugs(bucketSlugs []string) *ListRecordingRulesParams

WithBucketSlugs adds the bucketSlugs to the list recording rules params

func (*ListRecordingRulesParams) WithContext

WithContext adds the context to the list recording rules params

func (*ListRecordingRulesParams) WithDefaults

WithDefaults hydrates default values in the list recording rules params (not the query body).

All values with no default are reset to their zero value.

func (*ListRecordingRulesParams) WithExecutionGroups

func (o *ListRecordingRulesParams) WithExecutionGroups(executionGroups []string) *ListRecordingRulesParams

WithExecutionGroups adds the executionGroups to the list recording rules params

func (*ListRecordingRulesParams) WithHTTPClient

func (o *ListRecordingRulesParams) WithHTTPClient(client *http.Client) *ListRecordingRulesParams

WithHTTPClient adds the HTTPClient to the list recording rules params

func (*ListRecordingRulesParams) WithNames

WithNames adds the names to the list recording rules params

func (*ListRecordingRulesParams) WithPageMaxSize

func (o *ListRecordingRulesParams) WithPageMaxSize(pageMaxSize *int64) *ListRecordingRulesParams

WithPageMaxSize adds the pageMaxSize to the list recording rules params

func (*ListRecordingRulesParams) WithPageToken

func (o *ListRecordingRulesParams) WithPageToken(pageToken *string) *ListRecordingRulesParams

WithPageToken adds the pageToken to the list recording rules params

func (*ListRecordingRulesParams) WithSlugs

WithSlugs adds the slugs to the list recording rules params

func (*ListRecordingRulesParams) WithTimeout

WithTimeout adds the timeout to the list recording rules params

func (*ListRecordingRulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListRecordingRulesReader

type ListRecordingRulesReader struct {
	// contains filtered or unexported fields
}

ListRecordingRulesReader is a Reader for the ListRecordingRules structure.

func (*ListRecordingRulesReader) ReadResponse

func (o *ListRecordingRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListRollupRulesDefault

type ListRollupRulesDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ListRollupRulesDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewListRollupRulesDefault

func NewListRollupRulesDefault(code int) *ListRollupRulesDefault

NewListRollupRulesDefault creates a ListRollupRulesDefault with default headers values

func (*ListRollupRulesDefault) Code

func (o *ListRollupRulesDefault) Code() int

Code gets the status code for the list rollup rules default response

func (*ListRollupRulesDefault) Error

func (o *ListRollupRulesDefault) Error() string

func (*ListRollupRulesDefault) GetPayload

func (o *ListRollupRulesDefault) GetPayload() models.GenericError

func (*ListRollupRulesDefault) IsClientError

func (o *ListRollupRulesDefault) IsClientError() bool

IsClientError returns true when this list rollup rules default response has a 4xx status code

func (*ListRollupRulesDefault) IsCode

func (o *ListRollupRulesDefault) IsCode(code int) bool

IsCode returns true when this list rollup rules default response a status code equal to that given

func (*ListRollupRulesDefault) IsRedirect

func (o *ListRollupRulesDefault) IsRedirect() bool

IsRedirect returns true when this list rollup rules default response has a 3xx status code

func (*ListRollupRulesDefault) IsServerError

func (o *ListRollupRulesDefault) IsServerError() bool

IsServerError returns true when this list rollup rules default response has a 5xx status code

func (*ListRollupRulesDefault) IsSuccess

func (o *ListRollupRulesDefault) IsSuccess() bool

IsSuccess returns true when this list rollup rules default response has a 2xx status code

func (*ListRollupRulesDefault) String

func (o *ListRollupRulesDefault) String() string

type ListRollupRulesInternalServerError

type ListRollupRulesInternalServerError struct {
	Payload *models.APIError
}

ListRollupRulesInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewListRollupRulesInternalServerError

func NewListRollupRulesInternalServerError() *ListRollupRulesInternalServerError

NewListRollupRulesInternalServerError creates a ListRollupRulesInternalServerError with default headers values

func (*ListRollupRulesInternalServerError) Code

Code gets the status code for the list rollup rules internal server error response

func (*ListRollupRulesInternalServerError) Error

func (*ListRollupRulesInternalServerError) GetPayload

func (*ListRollupRulesInternalServerError) IsClientError

func (o *ListRollupRulesInternalServerError) IsClientError() bool

IsClientError returns true when this list rollup rules internal server error response has a 4xx status code

func (*ListRollupRulesInternalServerError) IsCode

IsCode returns true when this list rollup rules internal server error response a status code equal to that given

func (*ListRollupRulesInternalServerError) IsRedirect

func (o *ListRollupRulesInternalServerError) IsRedirect() bool

IsRedirect returns true when this list rollup rules internal server error response has a 3xx status code

func (*ListRollupRulesInternalServerError) IsServerError

func (o *ListRollupRulesInternalServerError) IsServerError() bool

IsServerError returns true when this list rollup rules internal server error response has a 5xx status code

func (*ListRollupRulesInternalServerError) IsSuccess

IsSuccess returns true when this list rollup rules internal server error response has a 2xx status code

func (*ListRollupRulesInternalServerError) String

type ListRollupRulesOK

type ListRollupRulesOK struct {
	Payload *models.Configv1ListRollupRulesResponse
}

ListRollupRulesOK describes a response with status code 200, with default header values.

A successful response.

func NewListRollupRulesOK

func NewListRollupRulesOK() *ListRollupRulesOK

NewListRollupRulesOK creates a ListRollupRulesOK with default headers values

func (*ListRollupRulesOK) Code

func (o *ListRollupRulesOK) Code() int

Code gets the status code for the list rollup rules o k response

func (*ListRollupRulesOK) Error

func (o *ListRollupRulesOK) Error() string

func (*ListRollupRulesOK) GetPayload

func (*ListRollupRulesOK) IsClientError

func (o *ListRollupRulesOK) IsClientError() bool

IsClientError returns true when this list rollup rules o k response has a 4xx status code

func (*ListRollupRulesOK) IsCode

func (o *ListRollupRulesOK) IsCode(code int) bool

IsCode returns true when this list rollup rules o k response a status code equal to that given

func (*ListRollupRulesOK) IsRedirect

func (o *ListRollupRulesOK) IsRedirect() bool

IsRedirect returns true when this list rollup rules o k response has a 3xx status code

func (*ListRollupRulesOK) IsServerError

func (o *ListRollupRulesOK) IsServerError() bool

IsServerError returns true when this list rollup rules o k response has a 5xx status code

func (*ListRollupRulesOK) IsSuccess

func (o *ListRollupRulesOK) IsSuccess() bool

IsSuccess returns true when this list rollup rules o k response has a 2xx status code

func (*ListRollupRulesOK) String

func (o *ListRollupRulesOK) String() string

type ListRollupRulesParams

type ListRollupRulesParams struct {

	/* BucketSlugs.

	   Filters results by bucket_slug, where any RollupRule with a matching bucket_slug in the given list (and matches all other filters) is returned.
	*/
	BucketSlugs []string

	/* Names.

	   Filters results by name, where any RollupRule with a matching name in the given list (and matches all other filters) is returned.
	*/
	Names []string

	/* PageMaxSize.

	     Page size preference (i.e. how many items are returned in the next
	page). If zero, the server will use a default. Regardless of what size
	is given, clients must never assume how many items will be returned.

	     Format: int64
	*/
	PageMaxSize *int64

	/* PageToken.

	     Opaque page token identifying which page to request. An empty token
	identifies the first page.
	*/
	PageToken *string

	/* Slugs.

	   Filters results by slug, where any RollupRule with a matching slug in the given list (and matches all other filters) is returned.
	*/
	Slugs []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListRollupRulesParams contains all the parameters to send to the API endpoint

for the list rollup rules operation.

Typically these are written to a http.Request.

func NewListRollupRulesParams

func NewListRollupRulesParams() *ListRollupRulesParams

NewListRollupRulesParams creates a new ListRollupRulesParams 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 NewListRollupRulesParamsWithContext

func NewListRollupRulesParamsWithContext(ctx context.Context) *ListRollupRulesParams

NewListRollupRulesParamsWithContext creates a new ListRollupRulesParams object with the ability to set a context for a request.

func NewListRollupRulesParamsWithHTTPClient

func NewListRollupRulesParamsWithHTTPClient(client *http.Client) *ListRollupRulesParams

NewListRollupRulesParamsWithHTTPClient creates a new ListRollupRulesParams object with the ability to set a custom HTTPClient for a request.

func NewListRollupRulesParamsWithTimeout

func NewListRollupRulesParamsWithTimeout(timeout time.Duration) *ListRollupRulesParams

NewListRollupRulesParamsWithTimeout creates a new ListRollupRulesParams object with the ability to set a timeout on a request.

func (*ListRollupRulesParams) SetBucketSlugs

func (o *ListRollupRulesParams) SetBucketSlugs(bucketSlugs []string)

SetBucketSlugs adds the bucketSlugs to the list rollup rules params

func (*ListRollupRulesParams) SetContext

func (o *ListRollupRulesParams) SetContext(ctx context.Context)

SetContext adds the context to the list rollup rules params

func (*ListRollupRulesParams) SetDefaults

func (o *ListRollupRulesParams) SetDefaults()

SetDefaults hydrates default values in the list rollup rules params (not the query body).

All values with no default are reset to their zero value.

func (*ListRollupRulesParams) SetHTTPClient

func (o *ListRollupRulesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list rollup rules params

func (*ListRollupRulesParams) SetNames

func (o *ListRollupRulesParams) SetNames(names []string)

SetNames adds the names to the list rollup rules params

func (*ListRollupRulesParams) SetPageMaxSize

func (o *ListRollupRulesParams) SetPageMaxSize(pageMaxSize *int64)

SetPageMaxSize adds the pageMaxSize to the list rollup rules params

func (*ListRollupRulesParams) SetPageToken

func (o *ListRollupRulesParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list rollup rules params

func (*ListRollupRulesParams) SetSlugs

func (o *ListRollupRulesParams) SetSlugs(slugs []string)

SetSlugs adds the slugs to the list rollup rules params

func (*ListRollupRulesParams) SetTimeout

func (o *ListRollupRulesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list rollup rules params

func (*ListRollupRulesParams) WithBucketSlugs

func (o *ListRollupRulesParams) WithBucketSlugs(bucketSlugs []string) *ListRollupRulesParams

WithBucketSlugs adds the bucketSlugs to the list rollup rules params

func (*ListRollupRulesParams) WithContext

WithContext adds the context to the list rollup rules params

func (*ListRollupRulesParams) WithDefaults

func (o *ListRollupRulesParams) WithDefaults() *ListRollupRulesParams

WithDefaults hydrates default values in the list rollup rules params (not the query body).

All values with no default are reset to their zero value.

func (*ListRollupRulesParams) WithHTTPClient

func (o *ListRollupRulesParams) WithHTTPClient(client *http.Client) *ListRollupRulesParams

WithHTTPClient adds the HTTPClient to the list rollup rules params

func (*ListRollupRulesParams) WithNames

func (o *ListRollupRulesParams) WithNames(names []string) *ListRollupRulesParams

WithNames adds the names to the list rollup rules params

func (*ListRollupRulesParams) WithPageMaxSize

func (o *ListRollupRulesParams) WithPageMaxSize(pageMaxSize *int64) *ListRollupRulesParams

WithPageMaxSize adds the pageMaxSize to the list rollup rules params

func (*ListRollupRulesParams) WithPageToken

func (o *ListRollupRulesParams) WithPageToken(pageToken *string) *ListRollupRulesParams

WithPageToken adds the pageToken to the list rollup rules params

func (*ListRollupRulesParams) WithSlugs

func (o *ListRollupRulesParams) WithSlugs(slugs []string) *ListRollupRulesParams

WithSlugs adds the slugs to the list rollup rules params

func (*ListRollupRulesParams) WithTimeout

func (o *ListRollupRulesParams) WithTimeout(timeout time.Duration) *ListRollupRulesParams

WithTimeout adds the timeout to the list rollup rules params

func (*ListRollupRulesParams) WriteToRequest

func (o *ListRollupRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListRollupRulesReader

type ListRollupRulesReader struct {
	// contains filtered or unexported fields
}

ListRollupRulesReader is a Reader for the ListRollupRules structure.

func (*ListRollupRulesReader) ReadResponse

func (o *ListRollupRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListServiceAccountsDefault

type ListServiceAccountsDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ListServiceAccountsDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewListServiceAccountsDefault

func NewListServiceAccountsDefault(code int) *ListServiceAccountsDefault

NewListServiceAccountsDefault creates a ListServiceAccountsDefault with default headers values

func (*ListServiceAccountsDefault) Code

func (o *ListServiceAccountsDefault) Code() int

Code gets the status code for the list service accounts default response

func (*ListServiceAccountsDefault) Error

func (*ListServiceAccountsDefault) GetPayload

func (*ListServiceAccountsDefault) IsClientError

func (o *ListServiceAccountsDefault) IsClientError() bool

IsClientError returns true when this list service accounts default response has a 4xx status code

func (*ListServiceAccountsDefault) IsCode

func (o *ListServiceAccountsDefault) IsCode(code int) bool

IsCode returns true when this list service accounts default response a status code equal to that given

func (*ListServiceAccountsDefault) IsRedirect

func (o *ListServiceAccountsDefault) IsRedirect() bool

IsRedirect returns true when this list service accounts default response has a 3xx status code

func (*ListServiceAccountsDefault) IsServerError

func (o *ListServiceAccountsDefault) IsServerError() bool

IsServerError returns true when this list service accounts default response has a 5xx status code

func (*ListServiceAccountsDefault) IsSuccess

func (o *ListServiceAccountsDefault) IsSuccess() bool

IsSuccess returns true when this list service accounts default response has a 2xx status code

func (*ListServiceAccountsDefault) String

func (o *ListServiceAccountsDefault) String() string

type ListServiceAccountsInternalServerError

type ListServiceAccountsInternalServerError struct {
	Payload *models.APIError
}

ListServiceAccountsInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewListServiceAccountsInternalServerError

func NewListServiceAccountsInternalServerError() *ListServiceAccountsInternalServerError

NewListServiceAccountsInternalServerError creates a ListServiceAccountsInternalServerError with default headers values

func (*ListServiceAccountsInternalServerError) Code

Code gets the status code for the list service accounts internal server error response

func (*ListServiceAccountsInternalServerError) Error

func (*ListServiceAccountsInternalServerError) GetPayload

func (*ListServiceAccountsInternalServerError) IsClientError

func (o *ListServiceAccountsInternalServerError) IsClientError() bool

IsClientError returns true when this list service accounts internal server error response has a 4xx status code

func (*ListServiceAccountsInternalServerError) IsCode

IsCode returns true when this list service accounts internal server error response a status code equal to that given

func (*ListServiceAccountsInternalServerError) IsRedirect

IsRedirect returns true when this list service accounts internal server error response has a 3xx status code

func (*ListServiceAccountsInternalServerError) IsServerError

func (o *ListServiceAccountsInternalServerError) IsServerError() bool

IsServerError returns true when this list service accounts internal server error response has a 5xx status code

func (*ListServiceAccountsInternalServerError) IsSuccess

IsSuccess returns true when this list service accounts internal server error response has a 2xx status code

func (*ListServiceAccountsInternalServerError) String

type ListServiceAccountsOK

type ListServiceAccountsOK struct {
	Payload *models.Configv1ListServiceAccountsResponse
}

ListServiceAccountsOK describes a response with status code 200, with default header values.

A successful response.

func NewListServiceAccountsOK

func NewListServiceAccountsOK() *ListServiceAccountsOK

NewListServiceAccountsOK creates a ListServiceAccountsOK with default headers values

func (*ListServiceAccountsOK) Code

func (o *ListServiceAccountsOK) Code() int

Code gets the status code for the list service accounts o k response

func (*ListServiceAccountsOK) Error

func (o *ListServiceAccountsOK) Error() string

func (*ListServiceAccountsOK) GetPayload

func (*ListServiceAccountsOK) IsClientError

func (o *ListServiceAccountsOK) IsClientError() bool

IsClientError returns true when this list service accounts o k response has a 4xx status code

func (*ListServiceAccountsOK) IsCode

func (o *ListServiceAccountsOK) IsCode(code int) bool

IsCode returns true when this list service accounts o k response a status code equal to that given

func (*ListServiceAccountsOK) IsRedirect

func (o *ListServiceAccountsOK) IsRedirect() bool

IsRedirect returns true when this list service accounts o k response has a 3xx status code

func (*ListServiceAccountsOK) IsServerError

func (o *ListServiceAccountsOK) IsServerError() bool

IsServerError returns true when this list service accounts o k response has a 5xx status code

func (*ListServiceAccountsOK) IsSuccess

func (o *ListServiceAccountsOK) IsSuccess() bool

IsSuccess returns true when this list service accounts o k response has a 2xx status code

func (*ListServiceAccountsOK) String

func (o *ListServiceAccountsOK) String() string

type ListServiceAccountsParams

type ListServiceAccountsParams struct {

	/* Names.

	   Filters results by name, where any ServiceAccount with a matching name in the given list (and matches all other filters) is returned.
	*/
	Names []string

	/* PageMaxSize.

	     Page size preference (i.e. how many items are returned in the next
	page). If zero, the server will use a default. Regardless of what size
	is given, clients must never assume how many items will be returned.

	     Format: int64
	*/
	PageMaxSize *int64

	/* PageToken.

	     Opaque page token identifying which page to request. An empty token
	identifies the first page.
	*/
	PageToken *string

	/* Slugs.

	   Filters results by slug, where any ServiceAccount with a matching slug in the given list (and matches all other filters) is returned.
	*/
	Slugs []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListServiceAccountsParams contains all the parameters to send to the API endpoint

for the list service accounts operation.

Typically these are written to a http.Request.

func NewListServiceAccountsParams

func NewListServiceAccountsParams() *ListServiceAccountsParams

NewListServiceAccountsParams creates a new ListServiceAccountsParams 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 NewListServiceAccountsParamsWithContext

func NewListServiceAccountsParamsWithContext(ctx context.Context) *ListServiceAccountsParams

NewListServiceAccountsParamsWithContext creates a new ListServiceAccountsParams object with the ability to set a context for a request.

func NewListServiceAccountsParamsWithHTTPClient

func NewListServiceAccountsParamsWithHTTPClient(client *http.Client) *ListServiceAccountsParams

NewListServiceAccountsParamsWithHTTPClient creates a new ListServiceAccountsParams object with the ability to set a custom HTTPClient for a request.

func NewListServiceAccountsParamsWithTimeout

func NewListServiceAccountsParamsWithTimeout(timeout time.Duration) *ListServiceAccountsParams

NewListServiceAccountsParamsWithTimeout creates a new ListServiceAccountsParams object with the ability to set a timeout on a request.

func (*ListServiceAccountsParams) SetContext

func (o *ListServiceAccountsParams) SetContext(ctx context.Context)

SetContext adds the context to the list service accounts params

func (*ListServiceAccountsParams) SetDefaults

func (o *ListServiceAccountsParams) SetDefaults()

SetDefaults hydrates default values in the list service accounts params (not the query body).

All values with no default are reset to their zero value.

func (*ListServiceAccountsParams) SetHTTPClient

func (o *ListServiceAccountsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list service accounts params

func (*ListServiceAccountsParams) SetNames

func (o *ListServiceAccountsParams) SetNames(names []string)

SetNames adds the names to the list service accounts params

func (*ListServiceAccountsParams) SetPageMaxSize

func (o *ListServiceAccountsParams) SetPageMaxSize(pageMaxSize *int64)

SetPageMaxSize adds the pageMaxSize to the list service accounts params

func (*ListServiceAccountsParams) SetPageToken

func (o *ListServiceAccountsParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list service accounts params

func (*ListServiceAccountsParams) SetSlugs

func (o *ListServiceAccountsParams) SetSlugs(slugs []string)

SetSlugs adds the slugs to the list service accounts params

func (*ListServiceAccountsParams) SetTimeout

func (o *ListServiceAccountsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list service accounts params

func (*ListServiceAccountsParams) WithContext

WithContext adds the context to the list service accounts params

func (*ListServiceAccountsParams) WithDefaults

WithDefaults hydrates default values in the list service accounts params (not the query body).

All values with no default are reset to their zero value.

func (*ListServiceAccountsParams) WithHTTPClient

func (o *ListServiceAccountsParams) WithHTTPClient(client *http.Client) *ListServiceAccountsParams

WithHTTPClient adds the HTTPClient to the list service accounts params

func (*ListServiceAccountsParams) WithNames

WithNames adds the names to the list service accounts params

func (*ListServiceAccountsParams) WithPageMaxSize

func (o *ListServiceAccountsParams) WithPageMaxSize(pageMaxSize *int64) *ListServiceAccountsParams

WithPageMaxSize adds the pageMaxSize to the list service accounts params

func (*ListServiceAccountsParams) WithPageToken

func (o *ListServiceAccountsParams) WithPageToken(pageToken *string) *ListServiceAccountsParams

WithPageToken adds the pageToken to the list service accounts params

func (*ListServiceAccountsParams) WithSlugs

WithSlugs adds the slugs to the list service accounts params

func (*ListServiceAccountsParams) WithTimeout

WithTimeout adds the timeout to the list service accounts params

func (*ListServiceAccountsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListServiceAccountsReader

type ListServiceAccountsReader struct {
	// contains filtered or unexported fields
}

ListServiceAccountsReader is a Reader for the ListServiceAccounts structure.

func (*ListServiceAccountsReader) ReadResponse

func (o *ListServiceAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListTeamsDefault

type ListTeamsDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ListTeamsDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewListTeamsDefault

func NewListTeamsDefault(code int) *ListTeamsDefault

NewListTeamsDefault creates a ListTeamsDefault with default headers values

func (*ListTeamsDefault) Code

func (o *ListTeamsDefault) Code() int

Code gets the status code for the list teams default response

func (*ListTeamsDefault) Error

func (o *ListTeamsDefault) Error() string

func (*ListTeamsDefault) GetPayload

func (o *ListTeamsDefault) GetPayload() models.GenericError

func (*ListTeamsDefault) IsClientError

func (o *ListTeamsDefault) IsClientError() bool

IsClientError returns true when this list teams default response has a 4xx status code

func (*ListTeamsDefault) IsCode

func (o *ListTeamsDefault) IsCode(code int) bool

IsCode returns true when this list teams default response a status code equal to that given

func (*ListTeamsDefault) IsRedirect

func (o *ListTeamsDefault) IsRedirect() bool

IsRedirect returns true when this list teams default response has a 3xx status code

func (*ListTeamsDefault) IsServerError

func (o *ListTeamsDefault) IsServerError() bool

IsServerError returns true when this list teams default response has a 5xx status code

func (*ListTeamsDefault) IsSuccess

func (o *ListTeamsDefault) IsSuccess() bool

IsSuccess returns true when this list teams default response has a 2xx status code

func (*ListTeamsDefault) String

func (o *ListTeamsDefault) String() string

type ListTeamsInternalServerError

type ListTeamsInternalServerError struct {
	Payload *models.APIError
}

ListTeamsInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewListTeamsInternalServerError

func NewListTeamsInternalServerError() *ListTeamsInternalServerError

NewListTeamsInternalServerError creates a ListTeamsInternalServerError with default headers values

func (*ListTeamsInternalServerError) Code

Code gets the status code for the list teams internal server error response

func (*ListTeamsInternalServerError) Error

func (*ListTeamsInternalServerError) GetPayload

func (o *ListTeamsInternalServerError) GetPayload() *models.APIError

func (*ListTeamsInternalServerError) IsClientError

func (o *ListTeamsInternalServerError) IsClientError() bool

IsClientError returns true when this list teams internal server error response has a 4xx status code

func (*ListTeamsInternalServerError) IsCode

func (o *ListTeamsInternalServerError) IsCode(code int) bool

IsCode returns true when this list teams internal server error response a status code equal to that given

func (*ListTeamsInternalServerError) IsRedirect

func (o *ListTeamsInternalServerError) IsRedirect() bool

IsRedirect returns true when this list teams internal server error response has a 3xx status code

func (*ListTeamsInternalServerError) IsServerError

func (o *ListTeamsInternalServerError) IsServerError() bool

IsServerError returns true when this list teams internal server error response has a 5xx status code

func (*ListTeamsInternalServerError) IsSuccess

func (o *ListTeamsInternalServerError) IsSuccess() bool

IsSuccess returns true when this list teams internal server error response has a 2xx status code

func (*ListTeamsInternalServerError) String

type ListTeamsOK

type ListTeamsOK struct {
	Payload *models.Configv1ListTeamsResponse
}

ListTeamsOK describes a response with status code 200, with default header values.

A successful response.

func NewListTeamsOK

func NewListTeamsOK() *ListTeamsOK

NewListTeamsOK creates a ListTeamsOK with default headers values

func (*ListTeamsOK) Code

func (o *ListTeamsOK) Code() int

Code gets the status code for the list teams o k response

func (*ListTeamsOK) Error

func (o *ListTeamsOK) Error() string

func (*ListTeamsOK) GetPayload

func (o *ListTeamsOK) GetPayload() *models.Configv1ListTeamsResponse

func (*ListTeamsOK) IsClientError

func (o *ListTeamsOK) IsClientError() bool

IsClientError returns true when this list teams o k response has a 4xx status code

func (*ListTeamsOK) IsCode

func (o *ListTeamsOK) IsCode(code int) bool

IsCode returns true when this list teams o k response a status code equal to that given

func (*ListTeamsOK) IsRedirect

func (o *ListTeamsOK) IsRedirect() bool

IsRedirect returns true when this list teams o k response has a 3xx status code

func (*ListTeamsOK) IsServerError

func (o *ListTeamsOK) IsServerError() bool

IsServerError returns true when this list teams o k response has a 5xx status code

func (*ListTeamsOK) IsSuccess

func (o *ListTeamsOK) IsSuccess() bool

IsSuccess returns true when this list teams o k response has a 2xx status code

func (*ListTeamsOK) String

func (o *ListTeamsOK) String() string

type ListTeamsParams

type ListTeamsParams struct {

	/* Names.

	   Filters results by name, where any Team with a matching name in the given list (and matches all other filters) is returned.
	*/
	Names []string

	/* PageMaxSize.

	     Page size preference (i.e. how many items are returned in the next
	page). If zero, the server will use a default. Regardless of what size
	is given, clients must never assume how many items will be returned.

	     Format: int64
	*/
	PageMaxSize *int64

	/* PageToken.

	     Opaque page token identifying which page to request. An empty token
	identifies the first page.
	*/
	PageToken *string

	/* Slugs.

	   Filters results by slug, where any Team with a matching slug in the given list (and matches all other filters) is returned.
	*/
	Slugs []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListTeamsParams contains all the parameters to send to the API endpoint

for the list teams operation.

Typically these are written to a http.Request.

func NewListTeamsParams

func NewListTeamsParams() *ListTeamsParams

NewListTeamsParams creates a new ListTeamsParams 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 NewListTeamsParamsWithContext

func NewListTeamsParamsWithContext(ctx context.Context) *ListTeamsParams

NewListTeamsParamsWithContext creates a new ListTeamsParams object with the ability to set a context for a request.

func NewListTeamsParamsWithHTTPClient

func NewListTeamsParamsWithHTTPClient(client *http.Client) *ListTeamsParams

NewListTeamsParamsWithHTTPClient creates a new ListTeamsParams object with the ability to set a custom HTTPClient for a request.

func NewListTeamsParamsWithTimeout

func NewListTeamsParamsWithTimeout(timeout time.Duration) *ListTeamsParams

NewListTeamsParamsWithTimeout creates a new ListTeamsParams object with the ability to set a timeout on a request.

func (*ListTeamsParams) SetContext

func (o *ListTeamsParams) SetContext(ctx context.Context)

SetContext adds the context to the list teams params

func (*ListTeamsParams) SetDefaults

func (o *ListTeamsParams) SetDefaults()

SetDefaults hydrates default values in the list teams params (not the query body).

All values with no default are reset to their zero value.

func (*ListTeamsParams) SetHTTPClient

func (o *ListTeamsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list teams params

func (*ListTeamsParams) SetNames

func (o *ListTeamsParams) SetNames(names []string)

SetNames adds the names to the list teams params

func (*ListTeamsParams) SetPageMaxSize

func (o *ListTeamsParams) SetPageMaxSize(pageMaxSize *int64)

SetPageMaxSize adds the pageMaxSize to the list teams params

func (*ListTeamsParams) SetPageToken

func (o *ListTeamsParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list teams params

func (*ListTeamsParams) SetSlugs

func (o *ListTeamsParams) SetSlugs(slugs []string)

SetSlugs adds the slugs to the list teams params

func (*ListTeamsParams) SetTimeout

func (o *ListTeamsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list teams params

func (*ListTeamsParams) WithContext

func (o *ListTeamsParams) WithContext(ctx context.Context) *ListTeamsParams

WithContext adds the context to the list teams params

func (*ListTeamsParams) WithDefaults

func (o *ListTeamsParams) WithDefaults() *ListTeamsParams

WithDefaults hydrates default values in the list teams params (not the query body).

All values with no default are reset to their zero value.

func (*ListTeamsParams) WithHTTPClient

func (o *ListTeamsParams) WithHTTPClient(client *http.Client) *ListTeamsParams

WithHTTPClient adds the HTTPClient to the list teams params

func (*ListTeamsParams) WithNames

func (o *ListTeamsParams) WithNames(names []string) *ListTeamsParams

WithNames adds the names to the list teams params

func (*ListTeamsParams) WithPageMaxSize

func (o *ListTeamsParams) WithPageMaxSize(pageMaxSize *int64) *ListTeamsParams

WithPageMaxSize adds the pageMaxSize to the list teams params

func (*ListTeamsParams) WithPageToken

func (o *ListTeamsParams) WithPageToken(pageToken *string) *ListTeamsParams

WithPageToken adds the pageToken to the list teams params

func (*ListTeamsParams) WithSlugs

func (o *ListTeamsParams) WithSlugs(slugs []string) *ListTeamsParams

WithSlugs adds the slugs to the list teams params

func (*ListTeamsParams) WithTimeout

func (o *ListTeamsParams) WithTimeout(timeout time.Duration) *ListTeamsParams

WithTimeout adds the timeout to the list teams params

func (*ListTeamsParams) WriteToRequest

func (o *ListTeamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListTeamsReader

type ListTeamsReader struct {
	// contains filtered or unexported fields
}

ListTeamsReader is a Reader for the ListTeams structure.

func (*ListTeamsReader) ReadResponse

func (o *ListTeamsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReadBucketDefault

type ReadBucketDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadBucketDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadBucketDefault

func NewReadBucketDefault(code int) *ReadBucketDefault

NewReadBucketDefault creates a ReadBucketDefault with default headers values

func (*ReadBucketDefault) Code

func (o *ReadBucketDefault) Code() int

Code gets the status code for the read bucket default response

func (*ReadBucketDefault) Error

func (o *ReadBucketDefault) Error() string

func (*ReadBucketDefault) GetPayload

func (o *ReadBucketDefault) GetPayload() models.GenericError

func (*ReadBucketDefault) IsClientError

func (o *ReadBucketDefault) IsClientError() bool

IsClientError returns true when this read bucket default response has a 4xx status code

func (*ReadBucketDefault) IsCode

func (o *ReadBucketDefault) IsCode(code int) bool

IsCode returns true when this read bucket default response a status code equal to that given

func (*ReadBucketDefault) IsRedirect

func (o *ReadBucketDefault) IsRedirect() bool

IsRedirect returns true when this read bucket default response has a 3xx status code

func (*ReadBucketDefault) IsServerError

func (o *ReadBucketDefault) IsServerError() bool

IsServerError returns true when this read bucket default response has a 5xx status code

func (*ReadBucketDefault) IsSuccess

func (o *ReadBucketDefault) IsSuccess() bool

IsSuccess returns true when this read bucket default response has a 2xx status code

func (*ReadBucketDefault) String

func (o *ReadBucketDefault) String() string

type ReadBucketInternalServerError

type ReadBucketInternalServerError struct {
	Payload *models.APIError
}

ReadBucketInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadBucketInternalServerError

func NewReadBucketInternalServerError() *ReadBucketInternalServerError

NewReadBucketInternalServerError creates a ReadBucketInternalServerError with default headers values

func (*ReadBucketInternalServerError) Code

Code gets the status code for the read bucket internal server error response

func (*ReadBucketInternalServerError) Error

func (*ReadBucketInternalServerError) GetPayload

func (*ReadBucketInternalServerError) IsClientError

func (o *ReadBucketInternalServerError) IsClientError() bool

IsClientError returns true when this read bucket internal server error response has a 4xx status code

func (*ReadBucketInternalServerError) IsCode

func (o *ReadBucketInternalServerError) IsCode(code int) bool

IsCode returns true when this read bucket internal server error response a status code equal to that given

func (*ReadBucketInternalServerError) IsRedirect

func (o *ReadBucketInternalServerError) IsRedirect() bool

IsRedirect returns true when this read bucket internal server error response has a 3xx status code

func (*ReadBucketInternalServerError) IsServerError

func (o *ReadBucketInternalServerError) IsServerError() bool

IsServerError returns true when this read bucket internal server error response has a 5xx status code

func (*ReadBucketInternalServerError) IsSuccess

func (o *ReadBucketInternalServerError) IsSuccess() bool

IsSuccess returns true when this read bucket internal server error response has a 2xx status code

func (*ReadBucketInternalServerError) String

type ReadBucketNotFound

type ReadBucketNotFound struct {
	Payload *models.APIError
}

ReadBucketNotFound describes a response with status code 404, with default header values.

Cannot read the Bucket because the slug does not exist.

func NewReadBucketNotFound

func NewReadBucketNotFound() *ReadBucketNotFound

NewReadBucketNotFound creates a ReadBucketNotFound with default headers values

func (*ReadBucketNotFound) Code

func (o *ReadBucketNotFound) Code() int

Code gets the status code for the read bucket not found response

func (*ReadBucketNotFound) Error

func (o *ReadBucketNotFound) Error() string

func (*ReadBucketNotFound) GetPayload

func (o *ReadBucketNotFound) GetPayload() *models.APIError

func (*ReadBucketNotFound) IsClientError

func (o *ReadBucketNotFound) IsClientError() bool

IsClientError returns true when this read bucket not found response has a 4xx status code

func (*ReadBucketNotFound) IsCode

func (o *ReadBucketNotFound) IsCode(code int) bool

IsCode returns true when this read bucket not found response a status code equal to that given

func (*ReadBucketNotFound) IsRedirect

func (o *ReadBucketNotFound) IsRedirect() bool

IsRedirect returns true when this read bucket not found response has a 3xx status code

func (*ReadBucketNotFound) IsServerError

func (o *ReadBucketNotFound) IsServerError() bool

IsServerError returns true when this read bucket not found response has a 5xx status code

func (*ReadBucketNotFound) IsSuccess

func (o *ReadBucketNotFound) IsSuccess() bool

IsSuccess returns true when this read bucket not found response has a 2xx status code

func (*ReadBucketNotFound) String

func (o *ReadBucketNotFound) String() string

type ReadBucketOK

type ReadBucketOK struct {
	Payload *models.Configv1ReadBucketResponse
}

ReadBucketOK describes a response with status code 200, with default header values.

A successful response.

func NewReadBucketOK

func NewReadBucketOK() *ReadBucketOK

NewReadBucketOK creates a ReadBucketOK with default headers values

func (*ReadBucketOK) Code

func (o *ReadBucketOK) Code() int

Code gets the status code for the read bucket o k response

func (*ReadBucketOK) Error

func (o *ReadBucketOK) Error() string

func (*ReadBucketOK) GetPayload

func (*ReadBucketOK) IsClientError

func (o *ReadBucketOK) IsClientError() bool

IsClientError returns true when this read bucket o k response has a 4xx status code

func (*ReadBucketOK) IsCode

func (o *ReadBucketOK) IsCode(code int) bool

IsCode returns true when this read bucket o k response a status code equal to that given

func (*ReadBucketOK) IsRedirect

func (o *ReadBucketOK) IsRedirect() bool

IsRedirect returns true when this read bucket o k response has a 3xx status code

func (*ReadBucketOK) IsServerError

func (o *ReadBucketOK) IsServerError() bool

IsServerError returns true when this read bucket o k response has a 5xx status code

func (*ReadBucketOK) IsSuccess

func (o *ReadBucketOK) IsSuccess() bool

IsSuccess returns true when this read bucket o k response has a 2xx status code

func (*ReadBucketOK) String

func (o *ReadBucketOK) String() string

type ReadBucketParams

type ReadBucketParams struct {

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadBucketParams contains all the parameters to send to the API endpoint

for the read bucket operation.

Typically these are written to a http.Request.

func NewReadBucketParams

func NewReadBucketParams() *ReadBucketParams

NewReadBucketParams creates a new ReadBucketParams 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 NewReadBucketParamsWithContext

func NewReadBucketParamsWithContext(ctx context.Context) *ReadBucketParams

NewReadBucketParamsWithContext creates a new ReadBucketParams object with the ability to set a context for a request.

func NewReadBucketParamsWithHTTPClient

func NewReadBucketParamsWithHTTPClient(client *http.Client) *ReadBucketParams

NewReadBucketParamsWithHTTPClient creates a new ReadBucketParams object with the ability to set a custom HTTPClient for a request.

func NewReadBucketParamsWithTimeout

func NewReadBucketParamsWithTimeout(timeout time.Duration) *ReadBucketParams

NewReadBucketParamsWithTimeout creates a new ReadBucketParams object with the ability to set a timeout on a request.

func (*ReadBucketParams) SetContext

func (o *ReadBucketParams) SetContext(ctx context.Context)

SetContext adds the context to the read bucket params

func (*ReadBucketParams) SetDefaults

func (o *ReadBucketParams) SetDefaults()

SetDefaults hydrates default values in the read bucket params (not the query body).

All values with no default are reset to their zero value.

func (*ReadBucketParams) SetHTTPClient

func (o *ReadBucketParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the read bucket params

func (*ReadBucketParams) SetSlug

func (o *ReadBucketParams) SetSlug(slug string)

SetSlug adds the slug to the read bucket params

func (*ReadBucketParams) SetTimeout

func (o *ReadBucketParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the read bucket params

func (*ReadBucketParams) WithContext

func (o *ReadBucketParams) WithContext(ctx context.Context) *ReadBucketParams

WithContext adds the context to the read bucket params

func (*ReadBucketParams) WithDefaults

func (o *ReadBucketParams) WithDefaults() *ReadBucketParams

WithDefaults hydrates default values in the read bucket params (not the query body).

All values with no default are reset to their zero value.

func (*ReadBucketParams) WithHTTPClient

func (o *ReadBucketParams) WithHTTPClient(client *http.Client) *ReadBucketParams

WithHTTPClient adds the HTTPClient to the read bucket params

func (*ReadBucketParams) WithSlug

func (o *ReadBucketParams) WithSlug(slug string) *ReadBucketParams

WithSlug adds the slug to the read bucket params

func (*ReadBucketParams) WithTimeout

func (o *ReadBucketParams) WithTimeout(timeout time.Duration) *ReadBucketParams

WithTimeout adds the timeout to the read bucket params

func (*ReadBucketParams) WriteToRequest

func (o *ReadBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReadBucketReader

type ReadBucketReader struct {
	// contains filtered or unexported fields
}

ReadBucketReader is a Reader for the ReadBucket structure.

func (*ReadBucketReader) ReadResponse

func (o *ReadBucketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReadClassicDashboardDefault

type ReadClassicDashboardDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadClassicDashboardDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadClassicDashboardDefault

func NewReadClassicDashboardDefault(code int) *ReadClassicDashboardDefault

NewReadClassicDashboardDefault creates a ReadClassicDashboardDefault with default headers values

func (*ReadClassicDashboardDefault) Code

func (o *ReadClassicDashboardDefault) Code() int

Code gets the status code for the read classic dashboard default response

func (*ReadClassicDashboardDefault) Error

func (*ReadClassicDashboardDefault) GetPayload

func (*ReadClassicDashboardDefault) IsClientError

func (o *ReadClassicDashboardDefault) IsClientError() bool

IsClientError returns true when this read classic dashboard default response has a 4xx status code

func (*ReadClassicDashboardDefault) IsCode

func (o *ReadClassicDashboardDefault) IsCode(code int) bool

IsCode returns true when this read classic dashboard default response a status code equal to that given

func (*ReadClassicDashboardDefault) IsRedirect

func (o *ReadClassicDashboardDefault) IsRedirect() bool

IsRedirect returns true when this read classic dashboard default response has a 3xx status code

func (*ReadClassicDashboardDefault) IsServerError

func (o *ReadClassicDashboardDefault) IsServerError() bool

IsServerError returns true when this read classic dashboard default response has a 5xx status code

func (*ReadClassicDashboardDefault) IsSuccess

func (o *ReadClassicDashboardDefault) IsSuccess() bool

IsSuccess returns true when this read classic dashboard default response has a 2xx status code

func (*ReadClassicDashboardDefault) String

func (o *ReadClassicDashboardDefault) String() string

type ReadClassicDashboardInternalServerError

type ReadClassicDashboardInternalServerError struct {
	Payload *models.APIError
}

ReadClassicDashboardInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadClassicDashboardInternalServerError

func NewReadClassicDashboardInternalServerError() *ReadClassicDashboardInternalServerError

NewReadClassicDashboardInternalServerError creates a ReadClassicDashboardInternalServerError with default headers values

func (*ReadClassicDashboardInternalServerError) Code

Code gets the status code for the read classic dashboard internal server error response

func (*ReadClassicDashboardInternalServerError) Error

func (*ReadClassicDashboardInternalServerError) GetPayload

func (*ReadClassicDashboardInternalServerError) IsClientError

func (o *ReadClassicDashboardInternalServerError) IsClientError() bool

IsClientError returns true when this read classic dashboard internal server error response has a 4xx status code

func (*ReadClassicDashboardInternalServerError) IsCode

IsCode returns true when this read classic dashboard internal server error response a status code equal to that given

func (*ReadClassicDashboardInternalServerError) IsRedirect

IsRedirect returns true when this read classic dashboard internal server error response has a 3xx status code

func (*ReadClassicDashboardInternalServerError) IsServerError

func (o *ReadClassicDashboardInternalServerError) IsServerError() bool

IsServerError returns true when this read classic dashboard internal server error response has a 5xx status code

func (*ReadClassicDashboardInternalServerError) IsSuccess

IsSuccess returns true when this read classic dashboard internal server error response has a 2xx status code

func (*ReadClassicDashboardInternalServerError) String

type ReadClassicDashboardNotFound

type ReadClassicDashboardNotFound struct {
	Payload *models.APIError
}

ReadClassicDashboardNotFound describes a response with status code 404, with default header values.

Cannot read the GrafanaDashboard because the slug does not exist.

func NewReadClassicDashboardNotFound

func NewReadClassicDashboardNotFound() *ReadClassicDashboardNotFound

NewReadClassicDashboardNotFound creates a ReadClassicDashboardNotFound with default headers values

func (*ReadClassicDashboardNotFound) Code

Code gets the status code for the read classic dashboard not found response

func (*ReadClassicDashboardNotFound) Error

func (*ReadClassicDashboardNotFound) GetPayload

func (o *ReadClassicDashboardNotFound) GetPayload() *models.APIError

func (*ReadClassicDashboardNotFound) IsClientError

func (o *ReadClassicDashboardNotFound) IsClientError() bool

IsClientError returns true when this read classic dashboard not found response has a 4xx status code

func (*ReadClassicDashboardNotFound) IsCode

func (o *ReadClassicDashboardNotFound) IsCode(code int) bool

IsCode returns true when this read classic dashboard not found response a status code equal to that given

func (*ReadClassicDashboardNotFound) IsRedirect

func (o *ReadClassicDashboardNotFound) IsRedirect() bool

IsRedirect returns true when this read classic dashboard not found response has a 3xx status code

func (*ReadClassicDashboardNotFound) IsServerError

func (o *ReadClassicDashboardNotFound) IsServerError() bool

IsServerError returns true when this read classic dashboard not found response has a 5xx status code

func (*ReadClassicDashboardNotFound) IsSuccess

func (o *ReadClassicDashboardNotFound) IsSuccess() bool

IsSuccess returns true when this read classic dashboard not found response has a 2xx status code

func (*ReadClassicDashboardNotFound) String

type ReadClassicDashboardOK

type ReadClassicDashboardOK struct {
	Payload *models.Configv1ReadClassicDashboardResponse
}

ReadClassicDashboardOK describes a response with status code 200, with default header values.

A successful response.

func NewReadClassicDashboardOK

func NewReadClassicDashboardOK() *ReadClassicDashboardOK

NewReadClassicDashboardOK creates a ReadClassicDashboardOK with default headers values

func (*ReadClassicDashboardOK) Code

func (o *ReadClassicDashboardOK) Code() int

Code gets the status code for the read classic dashboard o k response

func (*ReadClassicDashboardOK) Error

func (o *ReadClassicDashboardOK) Error() string

func (*ReadClassicDashboardOK) GetPayload

func (*ReadClassicDashboardOK) IsClientError

func (o *ReadClassicDashboardOK) IsClientError() bool

IsClientError returns true when this read classic dashboard o k response has a 4xx status code

func (*ReadClassicDashboardOK) IsCode

func (o *ReadClassicDashboardOK) IsCode(code int) bool

IsCode returns true when this read classic dashboard o k response a status code equal to that given

func (*ReadClassicDashboardOK) IsRedirect

func (o *ReadClassicDashboardOK) IsRedirect() bool

IsRedirect returns true when this read classic dashboard o k response has a 3xx status code

func (*ReadClassicDashboardOK) IsServerError

func (o *ReadClassicDashboardOK) IsServerError() bool

IsServerError returns true when this read classic dashboard o k response has a 5xx status code

func (*ReadClassicDashboardOK) IsSuccess

func (o *ReadClassicDashboardOK) IsSuccess() bool

IsSuccess returns true when this read classic dashboard o k response has a 2xx status code

func (*ReadClassicDashboardOK) String

func (o *ReadClassicDashboardOK) String() string

type ReadClassicDashboardParams

type ReadClassicDashboardParams struct {

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadClassicDashboardParams contains all the parameters to send to the API endpoint

for the read classic dashboard operation.

Typically these are written to a http.Request.

func NewReadClassicDashboardParams

func NewReadClassicDashboardParams() *ReadClassicDashboardParams

NewReadClassicDashboardParams creates a new ReadClassicDashboardParams 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 NewReadClassicDashboardParamsWithContext

func NewReadClassicDashboardParamsWithContext(ctx context.Context) *ReadClassicDashboardParams

NewReadClassicDashboardParamsWithContext creates a new ReadClassicDashboardParams object with the ability to set a context for a request.

func NewReadClassicDashboardParamsWithHTTPClient

func NewReadClassicDashboardParamsWithHTTPClient(client *http.Client) *ReadClassicDashboardParams

NewReadClassicDashboardParamsWithHTTPClient creates a new ReadClassicDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewReadClassicDashboardParamsWithTimeout

func NewReadClassicDashboardParamsWithTimeout(timeout time.Duration) *ReadClassicDashboardParams

NewReadClassicDashboardParamsWithTimeout creates a new ReadClassicDashboardParams object with the ability to set a timeout on a request.

func (*ReadClassicDashboardParams) SetContext

func (o *ReadClassicDashboardParams) SetContext(ctx context.Context)

SetContext adds the context to the read classic dashboard params

func (*ReadClassicDashboardParams) SetDefaults

func (o *ReadClassicDashboardParams) SetDefaults()

SetDefaults hydrates default values in the read classic dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*ReadClassicDashboardParams) SetHTTPClient

func (o *ReadClassicDashboardParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the read classic dashboard params

func (*ReadClassicDashboardParams) SetSlug

func (o *ReadClassicDashboardParams) SetSlug(slug string)

SetSlug adds the slug to the read classic dashboard params

func (*ReadClassicDashboardParams) SetTimeout

func (o *ReadClassicDashboardParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the read classic dashboard params

func (*ReadClassicDashboardParams) WithContext

WithContext adds the context to the read classic dashboard params

func (*ReadClassicDashboardParams) WithDefaults

WithDefaults hydrates default values in the read classic dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*ReadClassicDashboardParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the read classic dashboard params

func (*ReadClassicDashboardParams) WithSlug

WithSlug adds the slug to the read classic dashboard params

func (*ReadClassicDashboardParams) WithTimeout

WithTimeout adds the timeout to the read classic dashboard params

func (*ReadClassicDashboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadClassicDashboardReader

type ReadClassicDashboardReader struct {
	// contains filtered or unexported fields
}

ReadClassicDashboardReader is a Reader for the ReadClassicDashboard structure.

func (*ReadClassicDashboardReader) ReadResponse

func (o *ReadClassicDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReadCollectionDefault

type ReadCollectionDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadCollectionDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadCollectionDefault

func NewReadCollectionDefault(code int) *ReadCollectionDefault

NewReadCollectionDefault creates a ReadCollectionDefault with default headers values

func (*ReadCollectionDefault) Code

func (o *ReadCollectionDefault) Code() int

Code gets the status code for the read collection default response

func (*ReadCollectionDefault) Error

func (o *ReadCollectionDefault) Error() string

func (*ReadCollectionDefault) GetPayload

func (o *ReadCollectionDefault) GetPayload() models.GenericError

func (*ReadCollectionDefault) IsClientError

func (o *ReadCollectionDefault) IsClientError() bool

IsClientError returns true when this read collection default response has a 4xx status code

func (*ReadCollectionDefault) IsCode

func (o *ReadCollectionDefault) IsCode(code int) bool

IsCode returns true when this read collection default response a status code equal to that given

func (*ReadCollectionDefault) IsRedirect

func (o *ReadCollectionDefault) IsRedirect() bool

IsRedirect returns true when this read collection default response has a 3xx status code

func (*ReadCollectionDefault) IsServerError

func (o *ReadCollectionDefault) IsServerError() bool

IsServerError returns true when this read collection default response has a 5xx status code

func (*ReadCollectionDefault) IsSuccess

func (o *ReadCollectionDefault) IsSuccess() bool

IsSuccess returns true when this read collection default response has a 2xx status code

func (*ReadCollectionDefault) String

func (o *ReadCollectionDefault) String() string

type ReadCollectionInternalServerError

type ReadCollectionInternalServerError struct {
	Payload *models.APIError
}

ReadCollectionInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadCollectionInternalServerError

func NewReadCollectionInternalServerError() *ReadCollectionInternalServerError

NewReadCollectionInternalServerError creates a ReadCollectionInternalServerError with default headers values

func (*ReadCollectionInternalServerError) Code

Code gets the status code for the read collection internal server error response

func (*ReadCollectionInternalServerError) Error

func (*ReadCollectionInternalServerError) GetPayload

func (*ReadCollectionInternalServerError) IsClientError

func (o *ReadCollectionInternalServerError) IsClientError() bool

IsClientError returns true when this read collection internal server error response has a 4xx status code

func (*ReadCollectionInternalServerError) IsCode

func (o *ReadCollectionInternalServerError) IsCode(code int) bool

IsCode returns true when this read collection internal server error response a status code equal to that given

func (*ReadCollectionInternalServerError) IsRedirect

func (o *ReadCollectionInternalServerError) IsRedirect() bool

IsRedirect returns true when this read collection internal server error response has a 3xx status code

func (*ReadCollectionInternalServerError) IsServerError

func (o *ReadCollectionInternalServerError) IsServerError() bool

IsServerError returns true when this read collection internal server error response has a 5xx status code

func (*ReadCollectionInternalServerError) IsSuccess

func (o *ReadCollectionInternalServerError) IsSuccess() bool

IsSuccess returns true when this read collection internal server error response has a 2xx status code

func (*ReadCollectionInternalServerError) String

type ReadCollectionNotFound

type ReadCollectionNotFound struct {
	Payload *models.APIError
}

ReadCollectionNotFound describes a response with status code 404, with default header values.

Cannot read the Collection because the slug does not exist.

func NewReadCollectionNotFound

func NewReadCollectionNotFound() *ReadCollectionNotFound

NewReadCollectionNotFound creates a ReadCollectionNotFound with default headers values

func (*ReadCollectionNotFound) Code

func (o *ReadCollectionNotFound) Code() int

Code gets the status code for the read collection not found response

func (*ReadCollectionNotFound) Error

func (o *ReadCollectionNotFound) Error() string

func (*ReadCollectionNotFound) GetPayload

func (o *ReadCollectionNotFound) GetPayload() *models.APIError

func (*ReadCollectionNotFound) IsClientError

func (o *ReadCollectionNotFound) IsClientError() bool

IsClientError returns true when this read collection not found response has a 4xx status code

func (*ReadCollectionNotFound) IsCode

func (o *ReadCollectionNotFound) IsCode(code int) bool

IsCode returns true when this read collection not found response a status code equal to that given

func (*ReadCollectionNotFound) IsRedirect

func (o *ReadCollectionNotFound) IsRedirect() bool

IsRedirect returns true when this read collection not found response has a 3xx status code

func (*ReadCollectionNotFound) IsServerError

func (o *ReadCollectionNotFound) IsServerError() bool

IsServerError returns true when this read collection not found response has a 5xx status code

func (*ReadCollectionNotFound) IsSuccess

func (o *ReadCollectionNotFound) IsSuccess() bool

IsSuccess returns true when this read collection not found response has a 2xx status code

func (*ReadCollectionNotFound) String

func (o *ReadCollectionNotFound) String() string

type ReadCollectionOK

type ReadCollectionOK struct {
	Payload *models.Configv1ReadCollectionResponse
}

ReadCollectionOK describes a response with status code 200, with default header values.

A successful response.

func NewReadCollectionOK

func NewReadCollectionOK() *ReadCollectionOK

NewReadCollectionOK creates a ReadCollectionOK with default headers values

func (*ReadCollectionOK) Code

func (o *ReadCollectionOK) Code() int

Code gets the status code for the read collection o k response

func (*ReadCollectionOK) Error

func (o *ReadCollectionOK) Error() string

func (*ReadCollectionOK) GetPayload

func (*ReadCollectionOK) IsClientError

func (o *ReadCollectionOK) IsClientError() bool

IsClientError returns true when this read collection o k response has a 4xx status code

func (*ReadCollectionOK) IsCode

func (o *ReadCollectionOK) IsCode(code int) bool

IsCode returns true when this read collection o k response a status code equal to that given

func (*ReadCollectionOK) IsRedirect

func (o *ReadCollectionOK) IsRedirect() bool

IsRedirect returns true when this read collection o k response has a 3xx status code

func (*ReadCollectionOK) IsServerError

func (o *ReadCollectionOK) IsServerError() bool

IsServerError returns true when this read collection o k response has a 5xx status code

func (*ReadCollectionOK) IsSuccess

func (o *ReadCollectionOK) IsSuccess() bool

IsSuccess returns true when this read collection o k response has a 2xx status code

func (*ReadCollectionOK) String

func (o *ReadCollectionOK) String() string

type ReadCollectionParams

type ReadCollectionParams struct {

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadCollectionParams contains all the parameters to send to the API endpoint

for the read collection operation.

Typically these are written to a http.Request.

func NewReadCollectionParams

func NewReadCollectionParams() *ReadCollectionParams

NewReadCollectionParams creates a new ReadCollectionParams 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 NewReadCollectionParamsWithContext

func NewReadCollectionParamsWithContext(ctx context.Context) *ReadCollectionParams

NewReadCollectionParamsWithContext creates a new ReadCollectionParams object with the ability to set a context for a request.

func NewReadCollectionParamsWithHTTPClient

func NewReadCollectionParamsWithHTTPClient(client *http.Client) *ReadCollectionParams

NewReadCollectionParamsWithHTTPClient creates a new ReadCollectionParams object with the ability to set a custom HTTPClient for a request.

func NewReadCollectionParamsWithTimeout

func NewReadCollectionParamsWithTimeout(timeout time.Duration) *ReadCollectionParams

NewReadCollectionParamsWithTimeout creates a new ReadCollectionParams object with the ability to set a timeout on a request.

func (*ReadCollectionParams) SetContext

func (o *ReadCollectionParams) SetContext(ctx context.Context)

SetContext adds the context to the read collection params

func (*ReadCollectionParams) SetDefaults

func (o *ReadCollectionParams) SetDefaults()

SetDefaults hydrates default values in the read collection params (not the query body).

All values with no default are reset to their zero value.

func (*ReadCollectionParams) SetHTTPClient

func (o *ReadCollectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the read collection params

func (*ReadCollectionParams) SetSlug

func (o *ReadCollectionParams) SetSlug(slug string)

SetSlug adds the slug to the read collection params

func (*ReadCollectionParams) SetTimeout

func (o *ReadCollectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the read collection params

func (*ReadCollectionParams) WithContext

WithContext adds the context to the read collection params

func (*ReadCollectionParams) WithDefaults

func (o *ReadCollectionParams) WithDefaults() *ReadCollectionParams

WithDefaults hydrates default values in the read collection params (not the query body).

All values with no default are reset to their zero value.

func (*ReadCollectionParams) WithHTTPClient

func (o *ReadCollectionParams) WithHTTPClient(client *http.Client) *ReadCollectionParams

WithHTTPClient adds the HTTPClient to the read collection params

func (*ReadCollectionParams) WithSlug

WithSlug adds the slug to the read collection params

func (*ReadCollectionParams) WithTimeout

func (o *ReadCollectionParams) WithTimeout(timeout time.Duration) *ReadCollectionParams

WithTimeout adds the timeout to the read collection params

func (*ReadCollectionParams) WriteToRequest

func (o *ReadCollectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReadCollectionReader

type ReadCollectionReader struct {
	// contains filtered or unexported fields
}

ReadCollectionReader is a Reader for the ReadCollection structure.

func (*ReadCollectionReader) ReadResponse

func (o *ReadCollectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReadDashboardDefault

type ReadDashboardDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadDashboardDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadDashboardDefault

func NewReadDashboardDefault(code int) *ReadDashboardDefault

NewReadDashboardDefault creates a ReadDashboardDefault with default headers values

func (*ReadDashboardDefault) Code

func (o *ReadDashboardDefault) Code() int

Code gets the status code for the read dashboard default response

func (*ReadDashboardDefault) Error

func (o *ReadDashboardDefault) Error() string

func (*ReadDashboardDefault) GetPayload

func (o *ReadDashboardDefault) GetPayload() models.GenericError

func (*ReadDashboardDefault) IsClientError

func (o *ReadDashboardDefault) IsClientError() bool

IsClientError returns true when this read dashboard default response has a 4xx status code

func (*ReadDashboardDefault) IsCode

func (o *ReadDashboardDefault) IsCode(code int) bool

IsCode returns true when this read dashboard default response a status code equal to that given

func (*ReadDashboardDefault) IsRedirect

func (o *ReadDashboardDefault) IsRedirect() bool

IsRedirect returns true when this read dashboard default response has a 3xx status code

func (*ReadDashboardDefault) IsServerError

func (o *ReadDashboardDefault) IsServerError() bool

IsServerError returns true when this read dashboard default response has a 5xx status code

func (*ReadDashboardDefault) IsSuccess

func (o *ReadDashboardDefault) IsSuccess() bool

IsSuccess returns true when this read dashboard default response has a 2xx status code

func (*ReadDashboardDefault) String

func (o *ReadDashboardDefault) String() string

type ReadDashboardInternalServerError

type ReadDashboardInternalServerError struct {
	Payload *models.APIError
}

ReadDashboardInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadDashboardInternalServerError

func NewReadDashboardInternalServerError() *ReadDashboardInternalServerError

NewReadDashboardInternalServerError creates a ReadDashboardInternalServerError with default headers values

func (*ReadDashboardInternalServerError) Code

Code gets the status code for the read dashboard internal server error response

func (*ReadDashboardInternalServerError) Error

func (*ReadDashboardInternalServerError) GetPayload

func (*ReadDashboardInternalServerError) IsClientError

func (o *ReadDashboardInternalServerError) IsClientError() bool

IsClientError returns true when this read dashboard internal server error response has a 4xx status code

func (*ReadDashboardInternalServerError) IsCode

func (o *ReadDashboardInternalServerError) IsCode(code int) bool

IsCode returns true when this read dashboard internal server error response a status code equal to that given

func (*ReadDashboardInternalServerError) IsRedirect

func (o *ReadDashboardInternalServerError) IsRedirect() bool

IsRedirect returns true when this read dashboard internal server error response has a 3xx status code

func (*ReadDashboardInternalServerError) IsServerError

func (o *ReadDashboardInternalServerError) IsServerError() bool

IsServerError returns true when this read dashboard internal server error response has a 5xx status code

func (*ReadDashboardInternalServerError) IsSuccess

func (o *ReadDashboardInternalServerError) IsSuccess() bool

IsSuccess returns true when this read dashboard internal server error response has a 2xx status code

func (*ReadDashboardInternalServerError) String

type ReadDashboardNotFound

type ReadDashboardNotFound struct {
	Payload *models.APIError
}

ReadDashboardNotFound describes a response with status code 404, with default header values.

Cannot read the Dashboard because the slug does not exist.

func NewReadDashboardNotFound

func NewReadDashboardNotFound() *ReadDashboardNotFound

NewReadDashboardNotFound creates a ReadDashboardNotFound with default headers values

func (*ReadDashboardNotFound) Code

func (o *ReadDashboardNotFound) Code() int

Code gets the status code for the read dashboard not found response

func (*ReadDashboardNotFound) Error

func (o *ReadDashboardNotFound) Error() string

func (*ReadDashboardNotFound) GetPayload

func (o *ReadDashboardNotFound) GetPayload() *models.APIError

func (*ReadDashboardNotFound) IsClientError

func (o *ReadDashboardNotFound) IsClientError() bool

IsClientError returns true when this read dashboard not found response has a 4xx status code

func (*ReadDashboardNotFound) IsCode

func (o *ReadDashboardNotFound) IsCode(code int) bool

IsCode returns true when this read dashboard not found response a status code equal to that given

func (*ReadDashboardNotFound) IsRedirect

func (o *ReadDashboardNotFound) IsRedirect() bool

IsRedirect returns true when this read dashboard not found response has a 3xx status code

func (*ReadDashboardNotFound) IsServerError

func (o *ReadDashboardNotFound) IsServerError() bool

IsServerError returns true when this read dashboard not found response has a 5xx status code

func (*ReadDashboardNotFound) IsSuccess

func (o *ReadDashboardNotFound) IsSuccess() bool

IsSuccess returns true when this read dashboard not found response has a 2xx status code

func (*ReadDashboardNotFound) String

func (o *ReadDashboardNotFound) String() string

type ReadDashboardOK

type ReadDashboardOK struct {
	Payload *models.Configv1ReadDashboardResponse
}

ReadDashboardOK describes a response with status code 200, with default header values.

A successful response.

func NewReadDashboardOK

func NewReadDashboardOK() *ReadDashboardOK

NewReadDashboardOK creates a ReadDashboardOK with default headers values

func (*ReadDashboardOK) Code

func (o *ReadDashboardOK) Code() int

Code gets the status code for the read dashboard o k response

func (*ReadDashboardOK) Error

func (o *ReadDashboardOK) Error() string

func (*ReadDashboardOK) GetPayload

func (*ReadDashboardOK) IsClientError

func (o *ReadDashboardOK) IsClientError() bool

IsClientError returns true when this read dashboard o k response has a 4xx status code

func (*ReadDashboardOK) IsCode

func (o *ReadDashboardOK) IsCode(code int) bool

IsCode returns true when this read dashboard o k response a status code equal to that given

func (*ReadDashboardOK) IsRedirect

func (o *ReadDashboardOK) IsRedirect() bool

IsRedirect returns true when this read dashboard o k response has a 3xx status code

func (*ReadDashboardOK) IsServerError

func (o *ReadDashboardOK) IsServerError() bool

IsServerError returns true when this read dashboard o k response has a 5xx status code

func (*ReadDashboardOK) IsSuccess

func (o *ReadDashboardOK) IsSuccess() bool

IsSuccess returns true when this read dashboard o k response has a 2xx status code

func (*ReadDashboardOK) String

func (o *ReadDashboardOK) String() string

type ReadDashboardParams

type ReadDashboardParams struct {

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadDashboardParams contains all the parameters to send to the API endpoint

for the read dashboard operation.

Typically these are written to a http.Request.

func NewReadDashboardParams

func NewReadDashboardParams() *ReadDashboardParams

NewReadDashboardParams creates a new ReadDashboardParams 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 NewReadDashboardParamsWithContext

func NewReadDashboardParamsWithContext(ctx context.Context) *ReadDashboardParams

NewReadDashboardParamsWithContext creates a new ReadDashboardParams object with the ability to set a context for a request.

func NewReadDashboardParamsWithHTTPClient

func NewReadDashboardParamsWithHTTPClient(client *http.Client) *ReadDashboardParams

NewReadDashboardParamsWithHTTPClient creates a new ReadDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewReadDashboardParamsWithTimeout

func NewReadDashboardParamsWithTimeout(timeout time.Duration) *ReadDashboardParams

NewReadDashboardParamsWithTimeout creates a new ReadDashboardParams object with the ability to set a timeout on a request.

func (*ReadDashboardParams) SetContext

func (o *ReadDashboardParams) SetContext(ctx context.Context)

SetContext adds the context to the read dashboard params

func (*ReadDashboardParams) SetDefaults

func (o *ReadDashboardParams) SetDefaults()

SetDefaults hydrates default values in the read dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*ReadDashboardParams) SetHTTPClient

func (o *ReadDashboardParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the read dashboard params

func (*ReadDashboardParams) SetSlug

func (o *ReadDashboardParams) SetSlug(slug string)

SetSlug adds the slug to the read dashboard params

func (*ReadDashboardParams) SetTimeout

func (o *ReadDashboardParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the read dashboard params

func (*ReadDashboardParams) WithContext

WithContext adds the context to the read dashboard params

func (*ReadDashboardParams) WithDefaults

func (o *ReadDashboardParams) WithDefaults() *ReadDashboardParams

WithDefaults hydrates default values in the read dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*ReadDashboardParams) WithHTTPClient

func (o *ReadDashboardParams) WithHTTPClient(client *http.Client) *ReadDashboardParams

WithHTTPClient adds the HTTPClient to the read dashboard params

func (*ReadDashboardParams) WithSlug

func (o *ReadDashboardParams) WithSlug(slug string) *ReadDashboardParams

WithSlug adds the slug to the read dashboard params

func (*ReadDashboardParams) WithTimeout

func (o *ReadDashboardParams) WithTimeout(timeout time.Duration) *ReadDashboardParams

WithTimeout adds the timeout to the read dashboard params

func (*ReadDashboardParams) WriteToRequest

func (o *ReadDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReadDashboardReader

type ReadDashboardReader struct {
	// contains filtered or unexported fields
}

ReadDashboardReader is a Reader for the ReadDashboard structure.

func (*ReadDashboardReader) ReadResponse

func (o *ReadDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReadDerivedLabelDefault

type ReadDerivedLabelDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadDerivedLabelDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadDerivedLabelDefault

func NewReadDerivedLabelDefault(code int) *ReadDerivedLabelDefault

NewReadDerivedLabelDefault creates a ReadDerivedLabelDefault with default headers values

func (*ReadDerivedLabelDefault) Code

func (o *ReadDerivedLabelDefault) Code() int

Code gets the status code for the read derived label default response

func (*ReadDerivedLabelDefault) Error

func (o *ReadDerivedLabelDefault) Error() string

func (*ReadDerivedLabelDefault) GetPayload

func (*ReadDerivedLabelDefault) IsClientError

func (o *ReadDerivedLabelDefault) IsClientError() bool

IsClientError returns true when this read derived label default response has a 4xx status code

func (*ReadDerivedLabelDefault) IsCode

func (o *ReadDerivedLabelDefault) IsCode(code int) bool

IsCode returns true when this read derived label default response a status code equal to that given

func (*ReadDerivedLabelDefault) IsRedirect

func (o *ReadDerivedLabelDefault) IsRedirect() bool

IsRedirect returns true when this read derived label default response has a 3xx status code

func (*ReadDerivedLabelDefault) IsServerError

func (o *ReadDerivedLabelDefault) IsServerError() bool

IsServerError returns true when this read derived label default response has a 5xx status code

func (*ReadDerivedLabelDefault) IsSuccess

func (o *ReadDerivedLabelDefault) IsSuccess() bool

IsSuccess returns true when this read derived label default response has a 2xx status code

func (*ReadDerivedLabelDefault) String

func (o *ReadDerivedLabelDefault) String() string

type ReadDerivedLabelInternalServerError

type ReadDerivedLabelInternalServerError struct {
	Payload *models.APIError
}

ReadDerivedLabelInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadDerivedLabelInternalServerError

func NewReadDerivedLabelInternalServerError() *ReadDerivedLabelInternalServerError

NewReadDerivedLabelInternalServerError creates a ReadDerivedLabelInternalServerError with default headers values

func (*ReadDerivedLabelInternalServerError) Code

Code gets the status code for the read derived label internal server error response

func (*ReadDerivedLabelInternalServerError) Error

func (*ReadDerivedLabelInternalServerError) GetPayload

func (*ReadDerivedLabelInternalServerError) IsClientError

func (o *ReadDerivedLabelInternalServerError) IsClientError() bool

IsClientError returns true when this read derived label internal server error response has a 4xx status code

func (*ReadDerivedLabelInternalServerError) IsCode

IsCode returns true when this read derived label internal server error response a status code equal to that given

func (*ReadDerivedLabelInternalServerError) IsRedirect

func (o *ReadDerivedLabelInternalServerError) IsRedirect() bool

IsRedirect returns true when this read derived label internal server error response has a 3xx status code

func (*ReadDerivedLabelInternalServerError) IsServerError

func (o *ReadDerivedLabelInternalServerError) IsServerError() bool

IsServerError returns true when this read derived label internal server error response has a 5xx status code

func (*ReadDerivedLabelInternalServerError) IsSuccess

IsSuccess returns true when this read derived label internal server error response has a 2xx status code

func (*ReadDerivedLabelInternalServerError) String

type ReadDerivedLabelNotFound

type ReadDerivedLabelNotFound struct {
	Payload *models.APIError
}

ReadDerivedLabelNotFound describes a response with status code 404, with default header values.

Cannot read the DerivedLabel because the slug does not exist.

func NewReadDerivedLabelNotFound

func NewReadDerivedLabelNotFound() *ReadDerivedLabelNotFound

NewReadDerivedLabelNotFound creates a ReadDerivedLabelNotFound with default headers values

func (*ReadDerivedLabelNotFound) Code

func (o *ReadDerivedLabelNotFound) Code() int

Code gets the status code for the read derived label not found response

func (*ReadDerivedLabelNotFound) Error

func (o *ReadDerivedLabelNotFound) Error() string

func (*ReadDerivedLabelNotFound) GetPayload

func (o *ReadDerivedLabelNotFound) GetPayload() *models.APIError

func (*ReadDerivedLabelNotFound) IsClientError

func (o *ReadDerivedLabelNotFound) IsClientError() bool

IsClientError returns true when this read derived label not found response has a 4xx status code

func (*ReadDerivedLabelNotFound) IsCode

func (o *ReadDerivedLabelNotFound) IsCode(code int) bool

IsCode returns true when this read derived label not found response a status code equal to that given

func (*ReadDerivedLabelNotFound) IsRedirect

func (o *ReadDerivedLabelNotFound) IsRedirect() bool

IsRedirect returns true when this read derived label not found response has a 3xx status code

func (*ReadDerivedLabelNotFound) IsServerError

func (o *ReadDerivedLabelNotFound) IsServerError() bool

IsServerError returns true when this read derived label not found response has a 5xx status code

func (*ReadDerivedLabelNotFound) IsSuccess

func (o *ReadDerivedLabelNotFound) IsSuccess() bool

IsSuccess returns true when this read derived label not found response has a 2xx status code

func (*ReadDerivedLabelNotFound) String

func (o *ReadDerivedLabelNotFound) String() string

type ReadDerivedLabelOK

type ReadDerivedLabelOK struct {
	Payload *models.Configv1ReadDerivedLabelResponse
}

ReadDerivedLabelOK describes a response with status code 200, with default header values.

A successful response.

func NewReadDerivedLabelOK

func NewReadDerivedLabelOK() *ReadDerivedLabelOK

NewReadDerivedLabelOK creates a ReadDerivedLabelOK with default headers values

func (*ReadDerivedLabelOK) Code

func (o *ReadDerivedLabelOK) Code() int

Code gets the status code for the read derived label o k response

func (*ReadDerivedLabelOK) Error

func (o *ReadDerivedLabelOK) Error() string

func (*ReadDerivedLabelOK) GetPayload

func (*ReadDerivedLabelOK) IsClientError

func (o *ReadDerivedLabelOK) IsClientError() bool

IsClientError returns true when this read derived label o k response has a 4xx status code

func (*ReadDerivedLabelOK) IsCode

func (o *ReadDerivedLabelOK) IsCode(code int) bool

IsCode returns true when this read derived label o k response a status code equal to that given

func (*ReadDerivedLabelOK) IsRedirect

func (o *ReadDerivedLabelOK) IsRedirect() bool

IsRedirect returns true when this read derived label o k response has a 3xx status code

func (*ReadDerivedLabelOK) IsServerError

func (o *ReadDerivedLabelOK) IsServerError() bool

IsServerError returns true when this read derived label o k response has a 5xx status code

func (*ReadDerivedLabelOK) IsSuccess

func (o *ReadDerivedLabelOK) IsSuccess() bool

IsSuccess returns true when this read derived label o k response has a 2xx status code

func (*ReadDerivedLabelOK) String

func (o *ReadDerivedLabelOK) String() string

type ReadDerivedLabelParams

type ReadDerivedLabelParams struct {

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadDerivedLabelParams contains all the parameters to send to the API endpoint

for the read derived label operation.

Typically these are written to a http.Request.

func NewReadDerivedLabelParams

func NewReadDerivedLabelParams() *ReadDerivedLabelParams

NewReadDerivedLabelParams creates a new ReadDerivedLabelParams 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 NewReadDerivedLabelParamsWithContext

func NewReadDerivedLabelParamsWithContext(ctx context.Context) *ReadDerivedLabelParams

NewReadDerivedLabelParamsWithContext creates a new ReadDerivedLabelParams object with the ability to set a context for a request.

func NewReadDerivedLabelParamsWithHTTPClient

func NewReadDerivedLabelParamsWithHTTPClient(client *http.Client) *ReadDerivedLabelParams

NewReadDerivedLabelParamsWithHTTPClient creates a new ReadDerivedLabelParams object with the ability to set a custom HTTPClient for a request.

func NewReadDerivedLabelParamsWithTimeout

func NewReadDerivedLabelParamsWithTimeout(timeout time.Duration) *ReadDerivedLabelParams

NewReadDerivedLabelParamsWithTimeout creates a new ReadDerivedLabelParams object with the ability to set a timeout on a request.

func (*ReadDerivedLabelParams) SetContext

func (o *ReadDerivedLabelParams) SetContext(ctx context.Context)

SetContext adds the context to the read derived label params

func (*ReadDerivedLabelParams) SetDefaults

func (o *ReadDerivedLabelParams) SetDefaults()

SetDefaults hydrates default values in the read derived label params (not the query body).

All values with no default are reset to their zero value.

func (*ReadDerivedLabelParams) SetHTTPClient

func (o *ReadDerivedLabelParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the read derived label params

func (*ReadDerivedLabelParams) SetSlug

func (o *ReadDerivedLabelParams) SetSlug(slug string)

SetSlug adds the slug to the read derived label params

func (*ReadDerivedLabelParams) SetTimeout

func (o *ReadDerivedLabelParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the read derived label params

func (*ReadDerivedLabelParams) WithContext

WithContext adds the context to the read derived label params

func (*ReadDerivedLabelParams) WithDefaults

WithDefaults hydrates default values in the read derived label params (not the query body).

All values with no default are reset to their zero value.

func (*ReadDerivedLabelParams) WithHTTPClient

func (o *ReadDerivedLabelParams) WithHTTPClient(client *http.Client) *ReadDerivedLabelParams

WithHTTPClient adds the HTTPClient to the read derived label params

func (*ReadDerivedLabelParams) WithSlug

WithSlug adds the slug to the read derived label params

func (*ReadDerivedLabelParams) WithTimeout

WithTimeout adds the timeout to the read derived label params

func (*ReadDerivedLabelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadDerivedLabelReader

type ReadDerivedLabelReader struct {
	// contains filtered or unexported fields
}

ReadDerivedLabelReader is a Reader for the ReadDerivedLabel structure.

func (*ReadDerivedLabelReader) ReadResponse

func (o *ReadDerivedLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReadDerivedMetricDefault

type ReadDerivedMetricDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadDerivedMetricDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadDerivedMetricDefault

func NewReadDerivedMetricDefault(code int) *ReadDerivedMetricDefault

NewReadDerivedMetricDefault creates a ReadDerivedMetricDefault with default headers values

func (*ReadDerivedMetricDefault) Code

func (o *ReadDerivedMetricDefault) Code() int

Code gets the status code for the read derived metric default response

func (*ReadDerivedMetricDefault) Error

func (o *ReadDerivedMetricDefault) Error() string

func (*ReadDerivedMetricDefault) GetPayload

func (*ReadDerivedMetricDefault) IsClientError

func (o *ReadDerivedMetricDefault) IsClientError() bool

IsClientError returns true when this read derived metric default response has a 4xx status code

func (*ReadDerivedMetricDefault) IsCode

func (o *ReadDerivedMetricDefault) IsCode(code int) bool

IsCode returns true when this read derived metric default response a status code equal to that given

func (*ReadDerivedMetricDefault) IsRedirect

func (o *ReadDerivedMetricDefault) IsRedirect() bool

IsRedirect returns true when this read derived metric default response has a 3xx status code

func (*ReadDerivedMetricDefault) IsServerError

func (o *ReadDerivedMetricDefault) IsServerError() bool

IsServerError returns true when this read derived metric default response has a 5xx status code

func (*ReadDerivedMetricDefault) IsSuccess

func (o *ReadDerivedMetricDefault) IsSuccess() bool

IsSuccess returns true when this read derived metric default response has a 2xx status code

func (*ReadDerivedMetricDefault) String

func (o *ReadDerivedMetricDefault) String() string

type ReadDerivedMetricInternalServerError

type ReadDerivedMetricInternalServerError struct {
	Payload *models.APIError
}

ReadDerivedMetricInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadDerivedMetricInternalServerError

func NewReadDerivedMetricInternalServerError() *ReadDerivedMetricInternalServerError

NewReadDerivedMetricInternalServerError creates a ReadDerivedMetricInternalServerError with default headers values

func (*ReadDerivedMetricInternalServerError) Code

Code gets the status code for the read derived metric internal server error response

func (*ReadDerivedMetricInternalServerError) Error

func (*ReadDerivedMetricInternalServerError) GetPayload

func (*ReadDerivedMetricInternalServerError) IsClientError

func (o *ReadDerivedMetricInternalServerError) IsClientError() bool

IsClientError returns true when this read derived metric internal server error response has a 4xx status code

func (*ReadDerivedMetricInternalServerError) IsCode

IsCode returns true when this read derived metric internal server error response a status code equal to that given

func (*ReadDerivedMetricInternalServerError) IsRedirect

IsRedirect returns true when this read derived metric internal server error response has a 3xx status code

func (*ReadDerivedMetricInternalServerError) IsServerError

func (o *ReadDerivedMetricInternalServerError) IsServerError() bool

IsServerError returns true when this read derived metric internal server error response has a 5xx status code

func (*ReadDerivedMetricInternalServerError) IsSuccess

IsSuccess returns true when this read derived metric internal server error response has a 2xx status code

func (*ReadDerivedMetricInternalServerError) String

type ReadDerivedMetricNotFound

type ReadDerivedMetricNotFound struct {
	Payload *models.APIError
}

ReadDerivedMetricNotFound describes a response with status code 404, with default header values.

Cannot read the DerivedMetric because the slug does not exist.

func NewReadDerivedMetricNotFound

func NewReadDerivedMetricNotFound() *ReadDerivedMetricNotFound

NewReadDerivedMetricNotFound creates a ReadDerivedMetricNotFound with default headers values

func (*ReadDerivedMetricNotFound) Code

func (o *ReadDerivedMetricNotFound) Code() int

Code gets the status code for the read derived metric not found response

func (*ReadDerivedMetricNotFound) Error

func (o *ReadDerivedMetricNotFound) Error() string

func (*ReadDerivedMetricNotFound) GetPayload

func (o *ReadDerivedMetricNotFound) GetPayload() *models.APIError

func (*ReadDerivedMetricNotFound) IsClientError

func (o *ReadDerivedMetricNotFound) IsClientError() bool

IsClientError returns true when this read derived metric not found response has a 4xx status code

func (*ReadDerivedMetricNotFound) IsCode

func (o *ReadDerivedMetricNotFound) IsCode(code int) bool

IsCode returns true when this read derived metric not found response a status code equal to that given

func (*ReadDerivedMetricNotFound) IsRedirect

func (o *ReadDerivedMetricNotFound) IsRedirect() bool

IsRedirect returns true when this read derived metric not found response has a 3xx status code

func (*ReadDerivedMetricNotFound) IsServerError

func (o *ReadDerivedMetricNotFound) IsServerError() bool

IsServerError returns true when this read derived metric not found response has a 5xx status code

func (*ReadDerivedMetricNotFound) IsSuccess

func (o *ReadDerivedMetricNotFound) IsSuccess() bool

IsSuccess returns true when this read derived metric not found response has a 2xx status code

func (*ReadDerivedMetricNotFound) String

func (o *ReadDerivedMetricNotFound) String() string

type ReadDerivedMetricOK

type ReadDerivedMetricOK struct {
	Payload *models.Configv1ReadDerivedMetricResponse
}

ReadDerivedMetricOK describes a response with status code 200, with default header values.

A successful response.

func NewReadDerivedMetricOK

func NewReadDerivedMetricOK() *ReadDerivedMetricOK

NewReadDerivedMetricOK creates a ReadDerivedMetricOK with default headers values

func (*ReadDerivedMetricOK) Code

func (o *ReadDerivedMetricOK) Code() int

Code gets the status code for the read derived metric o k response

func (*ReadDerivedMetricOK) Error

func (o *ReadDerivedMetricOK) Error() string

func (*ReadDerivedMetricOK) GetPayload

func (*ReadDerivedMetricOK) IsClientError

func (o *ReadDerivedMetricOK) IsClientError() bool

IsClientError returns true when this read derived metric o k response has a 4xx status code

func (*ReadDerivedMetricOK) IsCode

func (o *ReadDerivedMetricOK) IsCode(code int) bool

IsCode returns true when this read derived metric o k response a status code equal to that given

func (*ReadDerivedMetricOK) IsRedirect

func (o *ReadDerivedMetricOK) IsRedirect() bool

IsRedirect returns true when this read derived metric o k response has a 3xx status code

func (*ReadDerivedMetricOK) IsServerError

func (o *ReadDerivedMetricOK) IsServerError() bool

IsServerError returns true when this read derived metric o k response has a 5xx status code

func (*ReadDerivedMetricOK) IsSuccess

func (o *ReadDerivedMetricOK) IsSuccess() bool

IsSuccess returns true when this read derived metric o k response has a 2xx status code

func (*ReadDerivedMetricOK) String

func (o *ReadDerivedMetricOK) String() string

type ReadDerivedMetricParams

type ReadDerivedMetricParams struct {

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadDerivedMetricParams contains all the parameters to send to the API endpoint

for the read derived metric operation.

Typically these are written to a http.Request.

func NewReadDerivedMetricParams

func NewReadDerivedMetricParams() *ReadDerivedMetricParams

NewReadDerivedMetricParams creates a new ReadDerivedMetricParams 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 NewReadDerivedMetricParamsWithContext

func NewReadDerivedMetricParamsWithContext(ctx context.Context) *ReadDerivedMetricParams

NewReadDerivedMetricParamsWithContext creates a new ReadDerivedMetricParams object with the ability to set a context for a request.

func NewReadDerivedMetricParamsWithHTTPClient

func NewReadDerivedMetricParamsWithHTTPClient(client *http.Client) *ReadDerivedMetricParams

NewReadDerivedMetricParamsWithHTTPClient creates a new ReadDerivedMetricParams object with the ability to set a custom HTTPClient for a request.

func NewReadDerivedMetricParamsWithTimeout

func NewReadDerivedMetricParamsWithTimeout(timeout time.Duration) *ReadDerivedMetricParams

NewReadDerivedMetricParamsWithTimeout creates a new ReadDerivedMetricParams object with the ability to set a timeout on a request.

func (*ReadDerivedMetricParams) SetContext

func (o *ReadDerivedMetricParams) SetContext(ctx context.Context)

SetContext adds the context to the read derived metric params

func (*ReadDerivedMetricParams) SetDefaults

func (o *ReadDerivedMetricParams) SetDefaults()

SetDefaults hydrates default values in the read derived metric params (not the query body).

All values with no default are reset to their zero value.

func (*ReadDerivedMetricParams) SetHTTPClient

func (o *ReadDerivedMetricParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the read derived metric params

func (*ReadDerivedMetricParams) SetSlug

func (o *ReadDerivedMetricParams) SetSlug(slug string)

SetSlug adds the slug to the read derived metric params

func (*ReadDerivedMetricParams) SetTimeout

func (o *ReadDerivedMetricParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the read derived metric params

func (*ReadDerivedMetricParams) WithContext

WithContext adds the context to the read derived metric params

func (*ReadDerivedMetricParams) WithDefaults

WithDefaults hydrates default values in the read derived metric params (not the query body).

All values with no default are reset to their zero value.

func (*ReadDerivedMetricParams) WithHTTPClient

func (o *ReadDerivedMetricParams) WithHTTPClient(client *http.Client) *ReadDerivedMetricParams

WithHTTPClient adds the HTTPClient to the read derived metric params

func (*ReadDerivedMetricParams) WithSlug

WithSlug adds the slug to the read derived metric params

func (*ReadDerivedMetricParams) WithTimeout

WithTimeout adds the timeout to the read derived metric params

func (*ReadDerivedMetricParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadDerivedMetricReader

type ReadDerivedMetricReader struct {
	// contains filtered or unexported fields
}

ReadDerivedMetricReader is a Reader for the ReadDerivedMetric structure.

func (*ReadDerivedMetricReader) ReadResponse

func (o *ReadDerivedMetricReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReadDropRuleDefault

type ReadDropRuleDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadDropRuleDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadDropRuleDefault

func NewReadDropRuleDefault(code int) *ReadDropRuleDefault

NewReadDropRuleDefault creates a ReadDropRuleDefault with default headers values

func (*ReadDropRuleDefault) Code

func (o *ReadDropRuleDefault) Code() int

Code gets the status code for the read drop rule default response

func (*ReadDropRuleDefault) Error

func (o *ReadDropRuleDefault) Error() string

func (*ReadDropRuleDefault) GetPayload

func (o *ReadDropRuleDefault) GetPayload() models.GenericError

func (*ReadDropRuleDefault) IsClientError

func (o *ReadDropRuleDefault) IsClientError() bool

IsClientError returns true when this read drop rule default response has a 4xx status code

func (*ReadDropRuleDefault) IsCode

func (o *ReadDropRuleDefault) IsCode(code int) bool

IsCode returns true when this read drop rule default response a status code equal to that given

func (*ReadDropRuleDefault) IsRedirect

func (o *ReadDropRuleDefault) IsRedirect() bool

IsRedirect returns true when this read drop rule default response has a 3xx status code

func (*ReadDropRuleDefault) IsServerError

func (o *ReadDropRuleDefault) IsServerError() bool

IsServerError returns true when this read drop rule default response has a 5xx status code

func (*ReadDropRuleDefault) IsSuccess

func (o *ReadDropRuleDefault) IsSuccess() bool

IsSuccess returns true when this read drop rule default response has a 2xx status code

func (*ReadDropRuleDefault) String

func (o *ReadDropRuleDefault) String() string

type ReadDropRuleInternalServerError

type ReadDropRuleInternalServerError struct {
	Payload *models.APIError
}

ReadDropRuleInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadDropRuleInternalServerError

func NewReadDropRuleInternalServerError() *ReadDropRuleInternalServerError

NewReadDropRuleInternalServerError creates a ReadDropRuleInternalServerError with default headers values

func (*ReadDropRuleInternalServerError) Code

Code gets the status code for the read drop rule internal server error response

func (*ReadDropRuleInternalServerError) Error

func (*ReadDropRuleInternalServerError) GetPayload

func (*ReadDropRuleInternalServerError) IsClientError

func (o *ReadDropRuleInternalServerError) IsClientError() bool

IsClientError returns true when this read drop rule internal server error response has a 4xx status code

func (*ReadDropRuleInternalServerError) IsCode

func (o *ReadDropRuleInternalServerError) IsCode(code int) bool

IsCode returns true when this read drop rule internal server error response a status code equal to that given

func (*ReadDropRuleInternalServerError) IsRedirect

func (o *ReadDropRuleInternalServerError) IsRedirect() bool

IsRedirect returns true when this read drop rule internal server error response has a 3xx status code

func (*ReadDropRuleInternalServerError) IsServerError

func (o *ReadDropRuleInternalServerError) IsServerError() bool

IsServerError returns true when this read drop rule internal server error response has a 5xx status code

func (*ReadDropRuleInternalServerError) IsSuccess

func (o *ReadDropRuleInternalServerError) IsSuccess() bool

IsSuccess returns true when this read drop rule internal server error response has a 2xx status code

func (*ReadDropRuleInternalServerError) String

type ReadDropRuleNotFound

type ReadDropRuleNotFound struct {
	Payload *models.APIError
}

ReadDropRuleNotFound describes a response with status code 404, with default header values.

Cannot read the DropRule because the slug does not exist.

func NewReadDropRuleNotFound

func NewReadDropRuleNotFound() *ReadDropRuleNotFound

NewReadDropRuleNotFound creates a ReadDropRuleNotFound with default headers values

func (*ReadDropRuleNotFound) Code

func (o *ReadDropRuleNotFound) Code() int

Code gets the status code for the read drop rule not found response

func (*ReadDropRuleNotFound) Error

func (o *ReadDropRuleNotFound) Error() string

func (*ReadDropRuleNotFound) GetPayload

func (o *ReadDropRuleNotFound) GetPayload() *models.APIError

func (*ReadDropRuleNotFound) IsClientError

func (o *ReadDropRuleNotFound) IsClientError() bool

IsClientError returns true when this read drop rule not found response has a 4xx status code

func (*ReadDropRuleNotFound) IsCode

func (o *ReadDropRuleNotFound) IsCode(code int) bool

IsCode returns true when this read drop rule not found response a status code equal to that given

func (*ReadDropRuleNotFound) IsRedirect

func (o *ReadDropRuleNotFound) IsRedirect() bool

IsRedirect returns true when this read drop rule not found response has a 3xx status code

func (*ReadDropRuleNotFound) IsServerError

func (o *ReadDropRuleNotFound) IsServerError() bool

IsServerError returns true when this read drop rule not found response has a 5xx status code

func (*ReadDropRuleNotFound) IsSuccess

func (o *ReadDropRuleNotFound) IsSuccess() bool

IsSuccess returns true when this read drop rule not found response has a 2xx status code

func (*ReadDropRuleNotFound) String

func (o *ReadDropRuleNotFound) String() string

type ReadDropRuleOK

type ReadDropRuleOK struct {
	Payload *models.Configv1ReadDropRuleResponse
}

ReadDropRuleOK describes a response with status code 200, with default header values.

A successful response.

func NewReadDropRuleOK

func NewReadDropRuleOK() *ReadDropRuleOK

NewReadDropRuleOK creates a ReadDropRuleOK with default headers values

func (*ReadDropRuleOK) Code

func (o *ReadDropRuleOK) Code() int

Code gets the status code for the read drop rule o k response

func (*ReadDropRuleOK) Error

func (o *ReadDropRuleOK) Error() string

func (*ReadDropRuleOK) GetPayload

func (*ReadDropRuleOK) IsClientError

func (o *ReadDropRuleOK) IsClientError() bool

IsClientError returns true when this read drop rule o k response has a 4xx status code

func (*ReadDropRuleOK) IsCode

func (o *ReadDropRuleOK) IsCode(code int) bool

IsCode returns true when this read drop rule o k response a status code equal to that given

func (*ReadDropRuleOK) IsRedirect

func (o *ReadDropRuleOK) IsRedirect() bool

IsRedirect returns true when this read drop rule o k response has a 3xx status code

func (*ReadDropRuleOK) IsServerError

func (o *ReadDropRuleOK) IsServerError() bool

IsServerError returns true when this read drop rule o k response has a 5xx status code

func (*ReadDropRuleOK) IsSuccess

func (o *ReadDropRuleOK) IsSuccess() bool

IsSuccess returns true when this read drop rule o k response has a 2xx status code

func (*ReadDropRuleOK) String

func (o *ReadDropRuleOK) String() string

type ReadDropRuleParams

type ReadDropRuleParams struct {

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadDropRuleParams contains all the parameters to send to the API endpoint

for the read drop rule operation.

Typically these are written to a http.Request.

func NewReadDropRuleParams

func NewReadDropRuleParams() *ReadDropRuleParams

NewReadDropRuleParams creates a new ReadDropRuleParams 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 NewReadDropRuleParamsWithContext

func NewReadDropRuleParamsWithContext(ctx context.Context) *ReadDropRuleParams

NewReadDropRuleParamsWithContext creates a new ReadDropRuleParams object with the ability to set a context for a request.

func NewReadDropRuleParamsWithHTTPClient

func NewReadDropRuleParamsWithHTTPClient(client *http.Client) *ReadDropRuleParams

NewReadDropRuleParamsWithHTTPClient creates a new ReadDropRuleParams object with the ability to set a custom HTTPClient for a request.

func NewReadDropRuleParamsWithTimeout

func NewReadDropRuleParamsWithTimeout(timeout time.Duration) *ReadDropRuleParams

NewReadDropRuleParamsWithTimeout creates a new ReadDropRuleParams object with the ability to set a timeout on a request.

func (*ReadDropRuleParams) SetContext

func (o *ReadDropRuleParams) SetContext(ctx context.Context)

SetContext adds the context to the read drop rule params

func (*ReadDropRuleParams) SetDefaults

func (o *ReadDropRuleParams) SetDefaults()

SetDefaults hydrates default values in the read drop rule params (not the query body).

All values with no default are reset to their zero value.

func (*ReadDropRuleParams) SetHTTPClient

func (o *ReadDropRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the read drop rule params

func (*ReadDropRuleParams) SetSlug

func (o *ReadDropRuleParams) SetSlug(slug string)

SetSlug adds the slug to the read drop rule params

func (*ReadDropRuleParams) SetTimeout

func (o *ReadDropRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the read drop rule params

func (*ReadDropRuleParams) WithContext

WithContext adds the context to the read drop rule params

func (*ReadDropRuleParams) WithDefaults

func (o *ReadDropRuleParams) WithDefaults() *ReadDropRuleParams

WithDefaults hydrates default values in the read drop rule params (not the query body).

All values with no default are reset to their zero value.

func (*ReadDropRuleParams) WithHTTPClient

func (o *ReadDropRuleParams) WithHTTPClient(client *http.Client) *ReadDropRuleParams

WithHTTPClient adds the HTTPClient to the read drop rule params

func (*ReadDropRuleParams) WithSlug

func (o *ReadDropRuleParams) WithSlug(slug string) *ReadDropRuleParams

WithSlug adds the slug to the read drop rule params

func (*ReadDropRuleParams) WithTimeout

func (o *ReadDropRuleParams) WithTimeout(timeout time.Duration) *ReadDropRuleParams

WithTimeout adds the timeout to the read drop rule params

func (*ReadDropRuleParams) WriteToRequest

func (o *ReadDropRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReadDropRuleReader

type ReadDropRuleReader struct {
	// contains filtered or unexported fields
}

ReadDropRuleReader is a Reader for the ReadDropRule structure.

func (*ReadDropRuleReader) ReadResponse

func (o *ReadDropRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReadGrafanaDashboardDefault

type ReadGrafanaDashboardDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadGrafanaDashboardDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadGrafanaDashboardDefault

func NewReadGrafanaDashboardDefault(code int) *ReadGrafanaDashboardDefault

NewReadGrafanaDashboardDefault creates a ReadGrafanaDashboardDefault with default headers values

func (*ReadGrafanaDashboardDefault) Code

func (o *ReadGrafanaDashboardDefault) Code() int

Code gets the status code for the read grafana dashboard default response

func (*ReadGrafanaDashboardDefault) Error

func (*ReadGrafanaDashboardDefault) GetPayload

func (*ReadGrafanaDashboardDefault) IsClientError

func (o *ReadGrafanaDashboardDefault) IsClientError() bool

IsClientError returns true when this read grafana dashboard default response has a 4xx status code

func (*ReadGrafanaDashboardDefault) IsCode

func (o *ReadGrafanaDashboardDefault) IsCode(code int) bool

IsCode returns true when this read grafana dashboard default response a status code equal to that given

func (*ReadGrafanaDashboardDefault) IsRedirect

func (o *ReadGrafanaDashboardDefault) IsRedirect() bool

IsRedirect returns true when this read grafana dashboard default response has a 3xx status code

func (*ReadGrafanaDashboardDefault) IsServerError

func (o *ReadGrafanaDashboardDefault) IsServerError() bool

IsServerError returns true when this read grafana dashboard default response has a 5xx status code

func (*ReadGrafanaDashboardDefault) IsSuccess

func (o *ReadGrafanaDashboardDefault) IsSuccess() bool

IsSuccess returns true when this read grafana dashboard default response has a 2xx status code

func (*ReadGrafanaDashboardDefault) String

func (o *ReadGrafanaDashboardDefault) String() string

type ReadGrafanaDashboardInternalServerError

type ReadGrafanaDashboardInternalServerError struct {
	Payload *models.APIError
}

ReadGrafanaDashboardInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadGrafanaDashboardInternalServerError

func NewReadGrafanaDashboardInternalServerError() *ReadGrafanaDashboardInternalServerError

NewReadGrafanaDashboardInternalServerError creates a ReadGrafanaDashboardInternalServerError with default headers values

func (*ReadGrafanaDashboardInternalServerError) Code

Code gets the status code for the read grafana dashboard internal server error response

func (*ReadGrafanaDashboardInternalServerError) Error

func (*ReadGrafanaDashboardInternalServerError) GetPayload

func (*ReadGrafanaDashboardInternalServerError) IsClientError

func (o *ReadGrafanaDashboardInternalServerError) IsClientError() bool

IsClientError returns true when this read grafana dashboard internal server error response has a 4xx status code

func (*ReadGrafanaDashboardInternalServerError) IsCode

IsCode returns true when this read grafana dashboard internal server error response a status code equal to that given

func (*ReadGrafanaDashboardInternalServerError) IsRedirect

IsRedirect returns true when this read grafana dashboard internal server error response has a 3xx status code

func (*ReadGrafanaDashboardInternalServerError) IsServerError

func (o *ReadGrafanaDashboardInternalServerError) IsServerError() bool

IsServerError returns true when this read grafana dashboard internal server error response has a 5xx status code

func (*ReadGrafanaDashboardInternalServerError) IsSuccess

IsSuccess returns true when this read grafana dashboard internal server error response has a 2xx status code

func (*ReadGrafanaDashboardInternalServerError) String

type ReadGrafanaDashboardNotFound

type ReadGrafanaDashboardNotFound struct {
	Payload *models.APIError
}

ReadGrafanaDashboardNotFound describes a response with status code 404, with default header values.

Cannot read the GrafanaDashboard because the slug does not exist.

func NewReadGrafanaDashboardNotFound

func NewReadGrafanaDashboardNotFound() *ReadGrafanaDashboardNotFound

NewReadGrafanaDashboardNotFound creates a ReadGrafanaDashboardNotFound with default headers values

func (*ReadGrafanaDashboardNotFound) Code

Code gets the status code for the read grafana dashboard not found response

func (*ReadGrafanaDashboardNotFound) Error

func (*ReadGrafanaDashboardNotFound) GetPayload

func (o *ReadGrafanaDashboardNotFound) GetPayload() *models.APIError

func (*ReadGrafanaDashboardNotFound) IsClientError

func (o *ReadGrafanaDashboardNotFound) IsClientError() bool

IsClientError returns true when this read grafana dashboard not found response has a 4xx status code

func (*ReadGrafanaDashboardNotFound) IsCode

func (o *ReadGrafanaDashboardNotFound) IsCode(code int) bool

IsCode returns true when this read grafana dashboard not found response a status code equal to that given

func (*ReadGrafanaDashboardNotFound) IsRedirect

func (o *ReadGrafanaDashboardNotFound) IsRedirect() bool

IsRedirect returns true when this read grafana dashboard not found response has a 3xx status code

func (*ReadGrafanaDashboardNotFound) IsServerError

func (o *ReadGrafanaDashboardNotFound) IsServerError() bool

IsServerError returns true when this read grafana dashboard not found response has a 5xx status code

func (*ReadGrafanaDashboardNotFound) IsSuccess

func (o *ReadGrafanaDashboardNotFound) IsSuccess() bool

IsSuccess returns true when this read grafana dashboard not found response has a 2xx status code

func (*ReadGrafanaDashboardNotFound) String

type ReadGrafanaDashboardOK

type ReadGrafanaDashboardOK struct {
	Payload *models.Configv1ReadGrafanaDashboardResponse
}

ReadGrafanaDashboardOK describes a response with status code 200, with default header values.

A successful response.

func NewReadGrafanaDashboardOK

func NewReadGrafanaDashboardOK() *ReadGrafanaDashboardOK

NewReadGrafanaDashboardOK creates a ReadGrafanaDashboardOK with default headers values

func (*ReadGrafanaDashboardOK) Code

func (o *ReadGrafanaDashboardOK) Code() int

Code gets the status code for the read grafana dashboard o k response

func (*ReadGrafanaDashboardOK) Error

func (o *ReadGrafanaDashboardOK) Error() string

func (*ReadGrafanaDashboardOK) GetPayload

func (*ReadGrafanaDashboardOK) IsClientError

func (o *ReadGrafanaDashboardOK) IsClientError() bool

IsClientError returns true when this read grafana dashboard o k response has a 4xx status code

func (*ReadGrafanaDashboardOK) IsCode

func (o *ReadGrafanaDashboardOK) IsCode(code int) bool

IsCode returns true when this read grafana dashboard o k response a status code equal to that given

func (*ReadGrafanaDashboardOK) IsRedirect

func (o *ReadGrafanaDashboardOK) IsRedirect() bool

IsRedirect returns true when this read grafana dashboard o k response has a 3xx status code

func (*ReadGrafanaDashboardOK) IsServerError

func (o *ReadGrafanaDashboardOK) IsServerError() bool

IsServerError returns true when this read grafana dashboard o k response has a 5xx status code

func (*ReadGrafanaDashboardOK) IsSuccess

func (o *ReadGrafanaDashboardOK) IsSuccess() bool

IsSuccess returns true when this read grafana dashboard o k response has a 2xx status code

func (*ReadGrafanaDashboardOK) String

func (o *ReadGrafanaDashboardOK) String() string

type ReadGrafanaDashboardParams

type ReadGrafanaDashboardParams struct {

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadGrafanaDashboardParams contains all the parameters to send to the API endpoint

for the read grafana dashboard operation.

Typically these are written to a http.Request.

func NewReadGrafanaDashboardParams

func NewReadGrafanaDashboardParams() *ReadGrafanaDashboardParams

NewReadGrafanaDashboardParams creates a new ReadGrafanaDashboardParams 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 NewReadGrafanaDashboardParamsWithContext

func NewReadGrafanaDashboardParamsWithContext(ctx context.Context) *ReadGrafanaDashboardParams

NewReadGrafanaDashboardParamsWithContext creates a new ReadGrafanaDashboardParams object with the ability to set a context for a request.

func NewReadGrafanaDashboardParamsWithHTTPClient

func NewReadGrafanaDashboardParamsWithHTTPClient(client *http.Client) *ReadGrafanaDashboardParams

NewReadGrafanaDashboardParamsWithHTTPClient creates a new ReadGrafanaDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewReadGrafanaDashboardParamsWithTimeout

func NewReadGrafanaDashboardParamsWithTimeout(timeout time.Duration) *ReadGrafanaDashboardParams

NewReadGrafanaDashboardParamsWithTimeout creates a new ReadGrafanaDashboardParams object with the ability to set a timeout on a request.

func (*ReadGrafanaDashboardParams) SetContext

func (o *ReadGrafanaDashboardParams) SetContext(ctx context.Context)

SetContext adds the context to the read grafana dashboard params

func (*ReadGrafanaDashboardParams) SetDefaults

func (o *ReadGrafanaDashboardParams) SetDefaults()

SetDefaults hydrates default values in the read grafana dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*ReadGrafanaDashboardParams) SetHTTPClient

func (o *ReadGrafanaDashboardParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the read grafana dashboard params

func (*ReadGrafanaDashboardParams) SetSlug

func (o *ReadGrafanaDashboardParams) SetSlug(slug string)

SetSlug adds the slug to the read grafana dashboard params

func (*ReadGrafanaDashboardParams) SetTimeout

func (o *ReadGrafanaDashboardParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the read grafana dashboard params

func (*ReadGrafanaDashboardParams) WithContext

WithContext adds the context to the read grafana dashboard params

func (*ReadGrafanaDashboardParams) WithDefaults

WithDefaults hydrates default values in the read grafana dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*ReadGrafanaDashboardParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the read grafana dashboard params

func (*ReadGrafanaDashboardParams) WithSlug

WithSlug adds the slug to the read grafana dashboard params

func (*ReadGrafanaDashboardParams) WithTimeout

WithTimeout adds the timeout to the read grafana dashboard params

func (*ReadGrafanaDashboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadGrafanaDashboardReader

type ReadGrafanaDashboardReader struct {
	// contains filtered or unexported fields
}

ReadGrafanaDashboardReader is a Reader for the ReadGrafanaDashboard structure.

func (*ReadGrafanaDashboardReader) ReadResponse

func (o *ReadGrafanaDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReadMappingRuleDefault

type ReadMappingRuleDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadMappingRuleDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadMappingRuleDefault

func NewReadMappingRuleDefault(code int) *ReadMappingRuleDefault

NewReadMappingRuleDefault creates a ReadMappingRuleDefault with default headers values

func (*ReadMappingRuleDefault) Code

func (o *ReadMappingRuleDefault) Code() int

Code gets the status code for the read mapping rule default response

func (*ReadMappingRuleDefault) Error

func (o *ReadMappingRuleDefault) Error() string

func (*ReadMappingRuleDefault) GetPayload

func (o *ReadMappingRuleDefault) GetPayload() models.GenericError

func (*ReadMappingRuleDefault) IsClientError

func (o *ReadMappingRuleDefault) IsClientError() bool

IsClientError returns true when this read mapping rule default response has a 4xx status code

func (*ReadMappingRuleDefault) IsCode

func (o *ReadMappingRuleDefault) IsCode(code int) bool

IsCode returns true when this read mapping rule default response a status code equal to that given

func (*ReadMappingRuleDefault) IsRedirect

func (o *ReadMappingRuleDefault) IsRedirect() bool

IsRedirect returns true when this read mapping rule default response has a 3xx status code

func (*ReadMappingRuleDefault) IsServerError

func (o *ReadMappingRuleDefault) IsServerError() bool

IsServerError returns true when this read mapping rule default response has a 5xx status code

func (*ReadMappingRuleDefault) IsSuccess

func (o *ReadMappingRuleDefault) IsSuccess() bool

IsSuccess returns true when this read mapping rule default response has a 2xx status code

func (*ReadMappingRuleDefault) String

func (o *ReadMappingRuleDefault) String() string

type ReadMappingRuleInternalServerError

type ReadMappingRuleInternalServerError struct {
	Payload *models.APIError
}

ReadMappingRuleInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadMappingRuleInternalServerError

func NewReadMappingRuleInternalServerError() *ReadMappingRuleInternalServerError

NewReadMappingRuleInternalServerError creates a ReadMappingRuleInternalServerError with default headers values

func (*ReadMappingRuleInternalServerError) Code

Code gets the status code for the read mapping rule internal server error response

func (*ReadMappingRuleInternalServerError) Error

func (*ReadMappingRuleInternalServerError) GetPayload

func (*ReadMappingRuleInternalServerError) IsClientError

func (o *ReadMappingRuleInternalServerError) IsClientError() bool

IsClientError returns true when this read mapping rule internal server error response has a 4xx status code

func (*ReadMappingRuleInternalServerError) IsCode

IsCode returns true when this read mapping rule internal server error response a status code equal to that given

func (*ReadMappingRuleInternalServerError) IsRedirect

func (o *ReadMappingRuleInternalServerError) IsRedirect() bool

IsRedirect returns true when this read mapping rule internal server error response has a 3xx status code

func (*ReadMappingRuleInternalServerError) IsServerError

func (o *ReadMappingRuleInternalServerError) IsServerError() bool

IsServerError returns true when this read mapping rule internal server error response has a 5xx status code

func (*ReadMappingRuleInternalServerError) IsSuccess

IsSuccess returns true when this read mapping rule internal server error response has a 2xx status code

func (*ReadMappingRuleInternalServerError) String

type ReadMappingRuleNotFound

type ReadMappingRuleNotFound struct {
	Payload *models.APIError
}

ReadMappingRuleNotFound describes a response with status code 404, with default header values.

Cannot read the MappingRule because the slug does not exist.

func NewReadMappingRuleNotFound

func NewReadMappingRuleNotFound() *ReadMappingRuleNotFound

NewReadMappingRuleNotFound creates a ReadMappingRuleNotFound with default headers values

func (*ReadMappingRuleNotFound) Code

func (o *ReadMappingRuleNotFound) Code() int

Code gets the status code for the read mapping rule not found response

func (*ReadMappingRuleNotFound) Error

func (o *ReadMappingRuleNotFound) Error() string

func (*ReadMappingRuleNotFound) GetPayload

func (o *ReadMappingRuleNotFound) GetPayload() *models.APIError

func (*ReadMappingRuleNotFound) IsClientError

func (o *ReadMappingRuleNotFound) IsClientError() bool

IsClientError returns true when this read mapping rule not found response has a 4xx status code

func (*ReadMappingRuleNotFound) IsCode

func (o *ReadMappingRuleNotFound) IsCode(code int) bool

IsCode returns true when this read mapping rule not found response a status code equal to that given

func (*ReadMappingRuleNotFound) IsRedirect

func (o *ReadMappingRuleNotFound) IsRedirect() bool

IsRedirect returns true when this read mapping rule not found response has a 3xx status code

func (*ReadMappingRuleNotFound) IsServerError

func (o *ReadMappingRuleNotFound) IsServerError() bool

IsServerError returns true when this read mapping rule not found response has a 5xx status code

func (*ReadMappingRuleNotFound) IsSuccess

func (o *ReadMappingRuleNotFound) IsSuccess() bool

IsSuccess returns true when this read mapping rule not found response has a 2xx status code

func (*ReadMappingRuleNotFound) String

func (o *ReadMappingRuleNotFound) String() string

type ReadMappingRuleOK

type ReadMappingRuleOK struct {
	Payload *models.Configv1ReadMappingRuleResponse
}

ReadMappingRuleOK describes a response with status code 200, with default header values.

A successful response.

func NewReadMappingRuleOK

func NewReadMappingRuleOK() *ReadMappingRuleOK

NewReadMappingRuleOK creates a ReadMappingRuleOK with default headers values

func (*ReadMappingRuleOK) Code

func (o *ReadMappingRuleOK) Code() int

Code gets the status code for the read mapping rule o k response

func (*ReadMappingRuleOK) Error

func (o *ReadMappingRuleOK) Error() string

func (*ReadMappingRuleOK) GetPayload

func (*ReadMappingRuleOK) IsClientError

func (o *ReadMappingRuleOK) IsClientError() bool

IsClientError returns true when this read mapping rule o k response has a 4xx status code

func (*ReadMappingRuleOK) IsCode

func (o *ReadMappingRuleOK) IsCode(code int) bool

IsCode returns true when this read mapping rule o k response a status code equal to that given

func (*ReadMappingRuleOK) IsRedirect

func (o *ReadMappingRuleOK) IsRedirect() bool

IsRedirect returns true when this read mapping rule o k response has a 3xx status code

func (*ReadMappingRuleOK) IsServerError

func (o *ReadMappingRuleOK) IsServerError() bool

IsServerError returns true when this read mapping rule o k response has a 5xx status code

func (*ReadMappingRuleOK) IsSuccess

func (o *ReadMappingRuleOK) IsSuccess() bool

IsSuccess returns true when this read mapping rule o k response has a 2xx status code

func (*ReadMappingRuleOK) String

func (o *ReadMappingRuleOK) String() string

type ReadMappingRuleParams

type ReadMappingRuleParams struct {

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadMappingRuleParams contains all the parameters to send to the API endpoint

for the read mapping rule operation.

Typically these are written to a http.Request.

func NewReadMappingRuleParams

func NewReadMappingRuleParams() *ReadMappingRuleParams

NewReadMappingRuleParams creates a new ReadMappingRuleParams 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 NewReadMappingRuleParamsWithContext

func NewReadMappingRuleParamsWithContext(ctx context.Context) *ReadMappingRuleParams

NewReadMappingRuleParamsWithContext creates a new ReadMappingRuleParams object with the ability to set a context for a request.

func NewReadMappingRuleParamsWithHTTPClient

func NewReadMappingRuleParamsWithHTTPClient(client *http.Client) *ReadMappingRuleParams

NewReadMappingRuleParamsWithHTTPClient creates a new ReadMappingRuleParams object with the ability to set a custom HTTPClient for a request.

func NewReadMappingRuleParamsWithTimeout

func NewReadMappingRuleParamsWithTimeout(timeout time.Duration) *ReadMappingRuleParams

NewReadMappingRuleParamsWithTimeout creates a new ReadMappingRuleParams object with the ability to set a timeout on a request.

func (*ReadMappingRuleParams) SetContext

func (o *ReadMappingRuleParams) SetContext(ctx context.Context)

SetContext adds the context to the read mapping rule params

func (*ReadMappingRuleParams) SetDefaults

func (o *ReadMappingRuleParams) SetDefaults()

SetDefaults hydrates default values in the read mapping rule params (not the query body).

All values with no default are reset to their zero value.

func (*ReadMappingRuleParams) SetHTTPClient

func (o *ReadMappingRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the read mapping rule params

func (*ReadMappingRuleParams) SetSlug

func (o *ReadMappingRuleParams) SetSlug(slug string)

SetSlug adds the slug to the read mapping rule params

func (*ReadMappingRuleParams) SetTimeout

func (o *ReadMappingRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the read mapping rule params

func (*ReadMappingRuleParams) WithContext

WithContext adds the context to the read mapping rule params

func (*ReadMappingRuleParams) WithDefaults

func (o *ReadMappingRuleParams) WithDefaults() *ReadMappingRuleParams

WithDefaults hydrates default values in the read mapping rule params (not the query body).

All values with no default are reset to their zero value.

func (*ReadMappingRuleParams) WithHTTPClient

func (o *ReadMappingRuleParams) WithHTTPClient(client *http.Client) *ReadMappingRuleParams

WithHTTPClient adds the HTTPClient to the read mapping rule params

func (*ReadMappingRuleParams) WithSlug

WithSlug adds the slug to the read mapping rule params

func (*ReadMappingRuleParams) WithTimeout

func (o *ReadMappingRuleParams) WithTimeout(timeout time.Duration) *ReadMappingRuleParams

WithTimeout adds the timeout to the read mapping rule params

func (*ReadMappingRuleParams) WriteToRequest

func (o *ReadMappingRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReadMappingRuleReader

type ReadMappingRuleReader struct {
	// contains filtered or unexported fields
}

ReadMappingRuleReader is a Reader for the ReadMappingRule structure.

func (*ReadMappingRuleReader) ReadResponse

func (o *ReadMappingRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReadMonitorDefault

type ReadMonitorDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadMonitorDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadMonitorDefault

func NewReadMonitorDefault(code int) *ReadMonitorDefault

NewReadMonitorDefault creates a ReadMonitorDefault with default headers values

func (*ReadMonitorDefault) Code

func (o *ReadMonitorDefault) Code() int

Code gets the status code for the read monitor default response

func (*ReadMonitorDefault) Error

func (o *ReadMonitorDefault) Error() string

func (*ReadMonitorDefault) GetPayload

func (o *ReadMonitorDefault) GetPayload() models.GenericError

func (*ReadMonitorDefault) IsClientError

func (o *ReadMonitorDefault) IsClientError() bool

IsClientError returns true when this read monitor default response has a 4xx status code

func (*ReadMonitorDefault) IsCode

func (o *ReadMonitorDefault) IsCode(code int) bool

IsCode returns true when this read monitor default response a status code equal to that given

func (*ReadMonitorDefault) IsRedirect

func (o *ReadMonitorDefault) IsRedirect() bool

IsRedirect returns true when this read monitor default response has a 3xx status code

func (*ReadMonitorDefault) IsServerError

func (o *ReadMonitorDefault) IsServerError() bool

IsServerError returns true when this read monitor default response has a 5xx status code

func (*ReadMonitorDefault) IsSuccess

func (o *ReadMonitorDefault) IsSuccess() bool

IsSuccess returns true when this read monitor default response has a 2xx status code

func (*ReadMonitorDefault) String

func (o *ReadMonitorDefault) String() string

type ReadMonitorInternalServerError

type ReadMonitorInternalServerError struct {
	Payload *models.APIError
}

ReadMonitorInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadMonitorInternalServerError

func NewReadMonitorInternalServerError() *ReadMonitorInternalServerError

NewReadMonitorInternalServerError creates a ReadMonitorInternalServerError with default headers values

func (*ReadMonitorInternalServerError) Code

Code gets the status code for the read monitor internal server error response

func (*ReadMonitorInternalServerError) Error

func (*ReadMonitorInternalServerError) GetPayload

func (*ReadMonitorInternalServerError) IsClientError

func (o *ReadMonitorInternalServerError) IsClientError() bool

IsClientError returns true when this read monitor internal server error response has a 4xx status code

func (*ReadMonitorInternalServerError) IsCode

func (o *ReadMonitorInternalServerError) IsCode(code int) bool

IsCode returns true when this read monitor internal server error response a status code equal to that given

func (*ReadMonitorInternalServerError) IsRedirect

func (o *ReadMonitorInternalServerError) IsRedirect() bool

IsRedirect returns true when this read monitor internal server error response has a 3xx status code

func (*ReadMonitorInternalServerError) IsServerError

func (o *ReadMonitorInternalServerError) IsServerError() bool

IsServerError returns true when this read monitor internal server error response has a 5xx status code

func (*ReadMonitorInternalServerError) IsSuccess

func (o *ReadMonitorInternalServerError) IsSuccess() bool

IsSuccess returns true when this read monitor internal server error response has a 2xx status code

func (*ReadMonitorInternalServerError) String

type ReadMonitorNotFound

type ReadMonitorNotFound struct {
	Payload *models.APIError
}

ReadMonitorNotFound describes a response with status code 404, with default header values.

Cannot read the Monitor because the slug does not exist.

func NewReadMonitorNotFound

func NewReadMonitorNotFound() *ReadMonitorNotFound

NewReadMonitorNotFound creates a ReadMonitorNotFound with default headers values

func (*ReadMonitorNotFound) Code

func (o *ReadMonitorNotFound) Code() int

Code gets the status code for the read monitor not found response

func (*ReadMonitorNotFound) Error

func (o *ReadMonitorNotFound) Error() string

func (*ReadMonitorNotFound) GetPayload

func (o *ReadMonitorNotFound) GetPayload() *models.APIError

func (*ReadMonitorNotFound) IsClientError

func (o *ReadMonitorNotFound) IsClientError() bool

IsClientError returns true when this read monitor not found response has a 4xx status code

func (*ReadMonitorNotFound) IsCode

func (o *ReadMonitorNotFound) IsCode(code int) bool

IsCode returns true when this read monitor not found response a status code equal to that given

func (*ReadMonitorNotFound) IsRedirect

func (o *ReadMonitorNotFound) IsRedirect() bool

IsRedirect returns true when this read monitor not found response has a 3xx status code

func (*ReadMonitorNotFound) IsServerError

func (o *ReadMonitorNotFound) IsServerError() bool

IsServerError returns true when this read monitor not found response has a 5xx status code

func (*ReadMonitorNotFound) IsSuccess

func (o *ReadMonitorNotFound) IsSuccess() bool

IsSuccess returns true when this read monitor not found response has a 2xx status code

func (*ReadMonitorNotFound) String

func (o *ReadMonitorNotFound) String() string

type ReadMonitorOK

type ReadMonitorOK struct {
	Payload *models.Configv1ReadMonitorResponse
}

ReadMonitorOK describes a response with status code 200, with default header values.

A successful response.

func NewReadMonitorOK

func NewReadMonitorOK() *ReadMonitorOK

NewReadMonitorOK creates a ReadMonitorOK with default headers values

func (*ReadMonitorOK) Code

func (o *ReadMonitorOK) Code() int

Code gets the status code for the read monitor o k response

func (*ReadMonitorOK) Error

func (o *ReadMonitorOK) Error() string

func (*ReadMonitorOK) GetPayload

func (*ReadMonitorOK) IsClientError

func (o *ReadMonitorOK) IsClientError() bool

IsClientError returns true when this read monitor o k response has a 4xx status code

func (*ReadMonitorOK) IsCode

func (o *ReadMonitorOK) IsCode(code int) bool

IsCode returns true when this read monitor o k response a status code equal to that given

func (*ReadMonitorOK) IsRedirect

func (o *ReadMonitorOK) IsRedirect() bool

IsRedirect returns true when this read monitor o k response has a 3xx status code

func (*ReadMonitorOK) IsServerError

func (o *ReadMonitorOK) IsServerError() bool

IsServerError returns true when this read monitor o k response has a 5xx status code

func (*ReadMonitorOK) IsSuccess

func (o *ReadMonitorOK) IsSuccess() bool

IsSuccess returns true when this read monitor o k response has a 2xx status code

func (*ReadMonitorOK) String

func (o *ReadMonitorOK) String() string

type ReadMonitorParams

type ReadMonitorParams struct {

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadMonitorParams contains all the parameters to send to the API endpoint

for the read monitor operation.

Typically these are written to a http.Request.

func NewReadMonitorParams

func NewReadMonitorParams() *ReadMonitorParams

NewReadMonitorParams creates a new ReadMonitorParams 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 NewReadMonitorParamsWithContext

func NewReadMonitorParamsWithContext(ctx context.Context) *ReadMonitorParams

NewReadMonitorParamsWithContext creates a new ReadMonitorParams object with the ability to set a context for a request.

func NewReadMonitorParamsWithHTTPClient

func NewReadMonitorParamsWithHTTPClient(client *http.Client) *ReadMonitorParams

NewReadMonitorParamsWithHTTPClient creates a new ReadMonitorParams object with the ability to set a custom HTTPClient for a request.

func NewReadMonitorParamsWithTimeout

func NewReadMonitorParamsWithTimeout(timeout time.Duration) *ReadMonitorParams

NewReadMonitorParamsWithTimeout creates a new ReadMonitorParams object with the ability to set a timeout on a request.

func (*ReadMonitorParams) SetContext

func (o *ReadMonitorParams) SetContext(ctx context.Context)

SetContext adds the context to the read monitor params

func (*ReadMonitorParams) SetDefaults

func (o *ReadMonitorParams) SetDefaults()

SetDefaults hydrates default values in the read monitor params (not the query body).

All values with no default are reset to their zero value.

func (*ReadMonitorParams) SetHTTPClient

func (o *ReadMonitorParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the read monitor params

func (*ReadMonitorParams) SetSlug

func (o *ReadMonitorParams) SetSlug(slug string)

SetSlug adds the slug to the read monitor params

func (*ReadMonitorParams) SetTimeout

func (o *ReadMonitorParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the read monitor params

func (*ReadMonitorParams) WithContext

func (o *ReadMonitorParams) WithContext(ctx context.Context) *ReadMonitorParams

WithContext adds the context to the read monitor params

func (*ReadMonitorParams) WithDefaults

func (o *ReadMonitorParams) WithDefaults() *ReadMonitorParams

WithDefaults hydrates default values in the read monitor params (not the query body).

All values with no default are reset to their zero value.

func (*ReadMonitorParams) WithHTTPClient

func (o *ReadMonitorParams) WithHTTPClient(client *http.Client) *ReadMonitorParams

WithHTTPClient adds the HTTPClient to the read monitor params

func (*ReadMonitorParams) WithSlug

func (o *ReadMonitorParams) WithSlug(slug string) *ReadMonitorParams

WithSlug adds the slug to the read monitor params

func (*ReadMonitorParams) WithTimeout

func (o *ReadMonitorParams) WithTimeout(timeout time.Duration) *ReadMonitorParams

WithTimeout adds the timeout to the read monitor params

func (*ReadMonitorParams) WriteToRequest

func (o *ReadMonitorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReadMonitorReader

type ReadMonitorReader struct {
	// contains filtered or unexported fields
}

ReadMonitorReader is a Reader for the ReadMonitor structure.

func (*ReadMonitorReader) ReadResponse

func (o *ReadMonitorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReadMutingRuleDefault

type ReadMutingRuleDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadMutingRuleDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadMutingRuleDefault

func NewReadMutingRuleDefault(code int) *ReadMutingRuleDefault

NewReadMutingRuleDefault creates a ReadMutingRuleDefault with default headers values

func (*ReadMutingRuleDefault) Code

func (o *ReadMutingRuleDefault) Code() int

Code gets the status code for the read muting rule default response

func (*ReadMutingRuleDefault) Error

func (o *ReadMutingRuleDefault) Error() string

func (*ReadMutingRuleDefault) GetPayload

func (o *ReadMutingRuleDefault) GetPayload() models.GenericError

func (*ReadMutingRuleDefault) IsClientError

func (o *ReadMutingRuleDefault) IsClientError() bool

IsClientError returns true when this read muting rule default response has a 4xx status code

func (*ReadMutingRuleDefault) IsCode

func (o *ReadMutingRuleDefault) IsCode(code int) bool

IsCode returns true when this read muting rule default response a status code equal to that given

func (*ReadMutingRuleDefault) IsRedirect

func (o *ReadMutingRuleDefault) IsRedirect() bool

IsRedirect returns true when this read muting rule default response has a 3xx status code

func (*ReadMutingRuleDefault) IsServerError

func (o *ReadMutingRuleDefault) IsServerError() bool

IsServerError returns true when this read muting rule default response has a 5xx status code

func (*ReadMutingRuleDefault) IsSuccess

func (o *ReadMutingRuleDefault) IsSuccess() bool

IsSuccess returns true when this read muting rule default response has a 2xx status code

func (*ReadMutingRuleDefault) String

func (o *ReadMutingRuleDefault) String() string

type ReadMutingRuleInternalServerError

type ReadMutingRuleInternalServerError struct {
	Payload *models.APIError
}

ReadMutingRuleInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadMutingRuleInternalServerError

func NewReadMutingRuleInternalServerError() *ReadMutingRuleInternalServerError

NewReadMutingRuleInternalServerError creates a ReadMutingRuleInternalServerError with default headers values

func (*ReadMutingRuleInternalServerError) Code

Code gets the status code for the read muting rule internal server error response

func (*ReadMutingRuleInternalServerError) Error

func (*ReadMutingRuleInternalServerError) GetPayload

func (*ReadMutingRuleInternalServerError) IsClientError

func (o *ReadMutingRuleInternalServerError) IsClientError() bool

IsClientError returns true when this read muting rule internal server error response has a 4xx status code

func (*ReadMutingRuleInternalServerError) IsCode

func (o *ReadMutingRuleInternalServerError) IsCode(code int) bool

IsCode returns true when this read muting rule internal server error response a status code equal to that given

func (*ReadMutingRuleInternalServerError) IsRedirect

func (o *ReadMutingRuleInternalServerError) IsRedirect() bool

IsRedirect returns true when this read muting rule internal server error response has a 3xx status code

func (*ReadMutingRuleInternalServerError) IsServerError

func (o *ReadMutingRuleInternalServerError) IsServerError() bool

IsServerError returns true when this read muting rule internal server error response has a 5xx status code

func (*ReadMutingRuleInternalServerError) IsSuccess

func (o *ReadMutingRuleInternalServerError) IsSuccess() bool

IsSuccess returns true when this read muting rule internal server error response has a 2xx status code

func (*ReadMutingRuleInternalServerError) String

type ReadMutingRuleNotFound

type ReadMutingRuleNotFound struct {
	Payload *models.APIError
}

ReadMutingRuleNotFound describes a response with status code 404, with default header values.

Cannot read the MutingRule because the slug does not exist.

func NewReadMutingRuleNotFound

func NewReadMutingRuleNotFound() *ReadMutingRuleNotFound

NewReadMutingRuleNotFound creates a ReadMutingRuleNotFound with default headers values

func (*ReadMutingRuleNotFound) Code

func (o *ReadMutingRuleNotFound) Code() int

Code gets the status code for the read muting rule not found response

func (*ReadMutingRuleNotFound) Error

func (o *ReadMutingRuleNotFound) Error() string

func (*ReadMutingRuleNotFound) GetPayload

func (o *ReadMutingRuleNotFound) GetPayload() *models.APIError

func (*ReadMutingRuleNotFound) IsClientError

func (o *ReadMutingRuleNotFound) IsClientError() bool

IsClientError returns true when this read muting rule not found response has a 4xx status code

func (*ReadMutingRuleNotFound) IsCode

func (o *ReadMutingRuleNotFound) IsCode(code int) bool

IsCode returns true when this read muting rule not found response a status code equal to that given

func (*ReadMutingRuleNotFound) IsRedirect

func (o *ReadMutingRuleNotFound) IsRedirect() bool

IsRedirect returns true when this read muting rule not found response has a 3xx status code

func (*ReadMutingRuleNotFound) IsServerError

func (o *ReadMutingRuleNotFound) IsServerError() bool

IsServerError returns true when this read muting rule not found response has a 5xx status code

func (*ReadMutingRuleNotFound) IsSuccess

func (o *ReadMutingRuleNotFound) IsSuccess() bool

IsSuccess returns true when this read muting rule not found response has a 2xx status code

func (*ReadMutingRuleNotFound) String

func (o *ReadMutingRuleNotFound) String() string

type ReadMutingRuleOK

type ReadMutingRuleOK struct {
	Payload *models.Configv1ReadMutingRuleResponse
}

ReadMutingRuleOK describes a response with status code 200, with default header values.

A successful response.

func NewReadMutingRuleOK

func NewReadMutingRuleOK() *ReadMutingRuleOK

NewReadMutingRuleOK creates a ReadMutingRuleOK with default headers values

func (*ReadMutingRuleOK) Code

func (o *ReadMutingRuleOK) Code() int

Code gets the status code for the read muting rule o k response

func (*ReadMutingRuleOK) Error

func (o *ReadMutingRuleOK) Error() string

func (*ReadMutingRuleOK) GetPayload

func (*ReadMutingRuleOK) IsClientError

func (o *ReadMutingRuleOK) IsClientError() bool

IsClientError returns true when this read muting rule o k response has a 4xx status code

func (*ReadMutingRuleOK) IsCode

func (o *ReadMutingRuleOK) IsCode(code int) bool

IsCode returns true when this read muting rule o k response a status code equal to that given

func (*ReadMutingRuleOK) IsRedirect

func (o *ReadMutingRuleOK) IsRedirect() bool

IsRedirect returns true when this read muting rule o k response has a 3xx status code

func (*ReadMutingRuleOK) IsServerError

func (o *ReadMutingRuleOK) IsServerError() bool

IsServerError returns true when this read muting rule o k response has a 5xx status code

func (*ReadMutingRuleOK) IsSuccess

func (o *ReadMutingRuleOK) IsSuccess() bool

IsSuccess returns true when this read muting rule o k response has a 2xx status code

func (*ReadMutingRuleOK) String

func (o *ReadMutingRuleOK) String() string

type ReadMutingRuleParams

type ReadMutingRuleParams struct {

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadMutingRuleParams contains all the parameters to send to the API endpoint

for the read muting rule operation.

Typically these are written to a http.Request.

func NewReadMutingRuleParams

func NewReadMutingRuleParams() *ReadMutingRuleParams

NewReadMutingRuleParams creates a new ReadMutingRuleParams 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 NewReadMutingRuleParamsWithContext

func NewReadMutingRuleParamsWithContext(ctx context.Context) *ReadMutingRuleParams

NewReadMutingRuleParamsWithContext creates a new ReadMutingRuleParams object with the ability to set a context for a request.

func NewReadMutingRuleParamsWithHTTPClient

func NewReadMutingRuleParamsWithHTTPClient(client *http.Client) *ReadMutingRuleParams

NewReadMutingRuleParamsWithHTTPClient creates a new ReadMutingRuleParams object with the ability to set a custom HTTPClient for a request.

func NewReadMutingRuleParamsWithTimeout

func NewReadMutingRuleParamsWithTimeout(timeout time.Duration) *ReadMutingRuleParams

NewReadMutingRuleParamsWithTimeout creates a new ReadMutingRuleParams object with the ability to set a timeout on a request.

func (*ReadMutingRuleParams) SetContext

func (o *ReadMutingRuleParams) SetContext(ctx context.Context)

SetContext adds the context to the read muting rule params

func (*ReadMutingRuleParams) SetDefaults

func (o *ReadMutingRuleParams) SetDefaults()

SetDefaults hydrates default values in the read muting rule params (not the query body).

All values with no default are reset to their zero value.

func (*ReadMutingRuleParams) SetHTTPClient

func (o *ReadMutingRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the read muting rule params

func (*ReadMutingRuleParams) SetSlug

func (o *ReadMutingRuleParams) SetSlug(slug string)

SetSlug adds the slug to the read muting rule params

func (*ReadMutingRuleParams) SetTimeout

func (o *ReadMutingRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the read muting rule params

func (*ReadMutingRuleParams) WithContext

WithContext adds the context to the read muting rule params

func (*ReadMutingRuleParams) WithDefaults

func (o *ReadMutingRuleParams) WithDefaults() *ReadMutingRuleParams

WithDefaults hydrates default values in the read muting rule params (not the query body).

All values with no default are reset to their zero value.

func (*ReadMutingRuleParams) WithHTTPClient

func (o *ReadMutingRuleParams) WithHTTPClient(client *http.Client) *ReadMutingRuleParams

WithHTTPClient adds the HTTPClient to the read muting rule params

func (*ReadMutingRuleParams) WithSlug

WithSlug adds the slug to the read muting rule params

func (*ReadMutingRuleParams) WithTimeout

func (o *ReadMutingRuleParams) WithTimeout(timeout time.Duration) *ReadMutingRuleParams

WithTimeout adds the timeout to the read muting rule params

func (*ReadMutingRuleParams) WriteToRequest

func (o *ReadMutingRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReadMutingRuleReader

type ReadMutingRuleReader struct {
	// contains filtered or unexported fields
}

ReadMutingRuleReader is a Reader for the ReadMutingRule structure.

func (*ReadMutingRuleReader) ReadResponse

func (o *ReadMutingRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReadNotificationPolicyDefault

type ReadNotificationPolicyDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadNotificationPolicyDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadNotificationPolicyDefault

func NewReadNotificationPolicyDefault(code int) *ReadNotificationPolicyDefault

NewReadNotificationPolicyDefault creates a ReadNotificationPolicyDefault with default headers values

func (*ReadNotificationPolicyDefault) Code

Code gets the status code for the read notification policy default response

func (*ReadNotificationPolicyDefault) Error

func (*ReadNotificationPolicyDefault) GetPayload

func (*ReadNotificationPolicyDefault) IsClientError

func (o *ReadNotificationPolicyDefault) IsClientError() bool

IsClientError returns true when this read notification policy default response has a 4xx status code

func (*ReadNotificationPolicyDefault) IsCode

func (o *ReadNotificationPolicyDefault) IsCode(code int) bool

IsCode returns true when this read notification policy default response a status code equal to that given

func (*ReadNotificationPolicyDefault) IsRedirect

func (o *ReadNotificationPolicyDefault) IsRedirect() bool

IsRedirect returns true when this read notification policy default response has a 3xx status code

func (*ReadNotificationPolicyDefault) IsServerError

func (o *ReadNotificationPolicyDefault) IsServerError() bool

IsServerError returns true when this read notification policy default response has a 5xx status code

func (*ReadNotificationPolicyDefault) IsSuccess

func (o *ReadNotificationPolicyDefault) IsSuccess() bool

IsSuccess returns true when this read notification policy default response has a 2xx status code

func (*ReadNotificationPolicyDefault) String

type ReadNotificationPolicyInternalServerError

type ReadNotificationPolicyInternalServerError struct {
	Payload *models.APIError
}

ReadNotificationPolicyInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadNotificationPolicyInternalServerError

func NewReadNotificationPolicyInternalServerError() *ReadNotificationPolicyInternalServerError

NewReadNotificationPolicyInternalServerError creates a ReadNotificationPolicyInternalServerError with default headers values

func (*ReadNotificationPolicyInternalServerError) Code

Code gets the status code for the read notification policy internal server error response

func (*ReadNotificationPolicyInternalServerError) Error

func (*ReadNotificationPolicyInternalServerError) GetPayload

func (*ReadNotificationPolicyInternalServerError) IsClientError

IsClientError returns true when this read notification policy internal server error response has a 4xx status code

func (*ReadNotificationPolicyInternalServerError) IsCode

IsCode returns true when this read notification policy internal server error response a status code equal to that given

func (*ReadNotificationPolicyInternalServerError) IsRedirect

IsRedirect returns true when this read notification policy internal server error response has a 3xx status code

func (*ReadNotificationPolicyInternalServerError) IsServerError

IsServerError returns true when this read notification policy internal server error response has a 5xx status code

func (*ReadNotificationPolicyInternalServerError) IsSuccess

IsSuccess returns true when this read notification policy internal server error response has a 2xx status code

func (*ReadNotificationPolicyInternalServerError) String

type ReadNotificationPolicyNotFound

type ReadNotificationPolicyNotFound struct {
	Payload *models.APIError
}

ReadNotificationPolicyNotFound describes a response with status code 404, with default header values.

Cannot read the NotificationPolicy because the slug does not exist.

func NewReadNotificationPolicyNotFound

func NewReadNotificationPolicyNotFound() *ReadNotificationPolicyNotFound

NewReadNotificationPolicyNotFound creates a ReadNotificationPolicyNotFound with default headers values

func (*ReadNotificationPolicyNotFound) Code

Code gets the status code for the read notification policy not found response

func (*ReadNotificationPolicyNotFound) Error

func (*ReadNotificationPolicyNotFound) GetPayload

func (*ReadNotificationPolicyNotFound) IsClientError

func (o *ReadNotificationPolicyNotFound) IsClientError() bool

IsClientError returns true when this read notification policy not found response has a 4xx status code

func (*ReadNotificationPolicyNotFound) IsCode

func (o *ReadNotificationPolicyNotFound) IsCode(code int) bool

IsCode returns true when this read notification policy not found response a status code equal to that given

func (*ReadNotificationPolicyNotFound) IsRedirect

func (o *ReadNotificationPolicyNotFound) IsRedirect() bool

IsRedirect returns true when this read notification policy not found response has a 3xx status code

func (*ReadNotificationPolicyNotFound) IsServerError

func (o *ReadNotificationPolicyNotFound) IsServerError() bool

IsServerError returns true when this read notification policy not found response has a 5xx status code

func (*ReadNotificationPolicyNotFound) IsSuccess

func (o *ReadNotificationPolicyNotFound) IsSuccess() bool

IsSuccess returns true when this read notification policy not found response has a 2xx status code

func (*ReadNotificationPolicyNotFound) String

type ReadNotificationPolicyOK

type ReadNotificationPolicyOK struct {
	Payload *models.Configv1ReadNotificationPolicyResponse
}

ReadNotificationPolicyOK describes a response with status code 200, with default header values.

A successful response.

func NewReadNotificationPolicyOK

func NewReadNotificationPolicyOK() *ReadNotificationPolicyOK

NewReadNotificationPolicyOK creates a ReadNotificationPolicyOK with default headers values

func (*ReadNotificationPolicyOK) Code

func (o *ReadNotificationPolicyOK) Code() int

Code gets the status code for the read notification policy o k response

func (*ReadNotificationPolicyOK) Error

func (o *ReadNotificationPolicyOK) Error() string

func (*ReadNotificationPolicyOK) GetPayload

func (*ReadNotificationPolicyOK) IsClientError

func (o *ReadNotificationPolicyOK) IsClientError() bool

IsClientError returns true when this read notification policy o k response has a 4xx status code

func (*ReadNotificationPolicyOK) IsCode

func (o *ReadNotificationPolicyOK) IsCode(code int) bool

IsCode returns true when this read notification policy o k response a status code equal to that given

func (*ReadNotificationPolicyOK) IsRedirect

func (o *ReadNotificationPolicyOK) IsRedirect() bool

IsRedirect returns true when this read notification policy o k response has a 3xx status code

func (*ReadNotificationPolicyOK) IsServerError

func (o *ReadNotificationPolicyOK) IsServerError() bool

IsServerError returns true when this read notification policy o k response has a 5xx status code

func (*ReadNotificationPolicyOK) IsSuccess

func (o *ReadNotificationPolicyOK) IsSuccess() bool

IsSuccess returns true when this read notification policy o k response has a 2xx status code

func (*ReadNotificationPolicyOK) String

func (o *ReadNotificationPolicyOK) String() string

type ReadNotificationPolicyParams

type ReadNotificationPolicyParams struct {

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadNotificationPolicyParams contains all the parameters to send to the API endpoint

for the read notification policy operation.

Typically these are written to a http.Request.

func NewReadNotificationPolicyParams

func NewReadNotificationPolicyParams() *ReadNotificationPolicyParams

NewReadNotificationPolicyParams creates a new ReadNotificationPolicyParams 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 NewReadNotificationPolicyParamsWithContext

func NewReadNotificationPolicyParamsWithContext(ctx context.Context) *ReadNotificationPolicyParams

NewReadNotificationPolicyParamsWithContext creates a new ReadNotificationPolicyParams object with the ability to set a context for a request.

func NewReadNotificationPolicyParamsWithHTTPClient

func NewReadNotificationPolicyParamsWithHTTPClient(client *http.Client) *ReadNotificationPolicyParams

NewReadNotificationPolicyParamsWithHTTPClient creates a new ReadNotificationPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewReadNotificationPolicyParamsWithTimeout

func NewReadNotificationPolicyParamsWithTimeout(timeout time.Duration) *ReadNotificationPolicyParams

NewReadNotificationPolicyParamsWithTimeout creates a new ReadNotificationPolicyParams object with the ability to set a timeout on a request.

func (*ReadNotificationPolicyParams) SetContext

func (o *ReadNotificationPolicyParams) SetContext(ctx context.Context)

SetContext adds the context to the read notification policy params

func (*ReadNotificationPolicyParams) SetDefaults

func (o *ReadNotificationPolicyParams) SetDefaults()

SetDefaults hydrates default values in the read notification policy params (not the query body).

All values with no default are reset to their zero value.

func (*ReadNotificationPolicyParams) SetHTTPClient

func (o *ReadNotificationPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the read notification policy params

func (*ReadNotificationPolicyParams) SetSlug

func (o *ReadNotificationPolicyParams) SetSlug(slug string)

SetSlug adds the slug to the read notification policy params

func (*ReadNotificationPolicyParams) SetTimeout

func (o *ReadNotificationPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the read notification policy params

func (*ReadNotificationPolicyParams) WithContext

WithContext adds the context to the read notification policy params

func (*ReadNotificationPolicyParams) WithDefaults

WithDefaults hydrates default values in the read notification policy params (not the query body).

All values with no default are reset to their zero value.

func (*ReadNotificationPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the read notification policy params

func (*ReadNotificationPolicyParams) WithSlug

WithSlug adds the slug to the read notification policy params

func (*ReadNotificationPolicyParams) WithTimeout

WithTimeout adds the timeout to the read notification policy params

func (*ReadNotificationPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadNotificationPolicyReader

type ReadNotificationPolicyReader struct {
	// contains filtered or unexported fields
}

ReadNotificationPolicyReader is a Reader for the ReadNotificationPolicy structure.

func (*ReadNotificationPolicyReader) ReadResponse

func (o *ReadNotificationPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReadNotifierDefault

type ReadNotifierDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadNotifierDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadNotifierDefault

func NewReadNotifierDefault(code int) *ReadNotifierDefault

NewReadNotifierDefault creates a ReadNotifierDefault with default headers values

func (*ReadNotifierDefault) Code

func (o *ReadNotifierDefault) Code() int

Code gets the status code for the read notifier default response

func (*ReadNotifierDefault) Error

func (o *ReadNotifierDefault) Error() string

func (*ReadNotifierDefault) GetPayload

func (o *ReadNotifierDefault) GetPayload() models.GenericError

func (*ReadNotifierDefault) IsClientError

func (o *ReadNotifierDefault) IsClientError() bool

IsClientError returns true when this read notifier default response has a 4xx status code

func (*ReadNotifierDefault) IsCode

func (o *ReadNotifierDefault) IsCode(code int) bool

IsCode returns true when this read notifier default response a status code equal to that given

func (*ReadNotifierDefault) IsRedirect

func (o *ReadNotifierDefault) IsRedirect() bool

IsRedirect returns true when this read notifier default response has a 3xx status code

func (*ReadNotifierDefault) IsServerError

func (o *ReadNotifierDefault) IsServerError() bool

IsServerError returns true when this read notifier default response has a 5xx status code

func (*ReadNotifierDefault) IsSuccess

func (o *ReadNotifierDefault) IsSuccess() bool

IsSuccess returns true when this read notifier default response has a 2xx status code

func (*ReadNotifierDefault) String

func (o *ReadNotifierDefault) String() string

type ReadNotifierInternalServerError

type ReadNotifierInternalServerError struct {
	Payload *models.APIError
}

ReadNotifierInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadNotifierInternalServerError

func NewReadNotifierInternalServerError() *ReadNotifierInternalServerError

NewReadNotifierInternalServerError creates a ReadNotifierInternalServerError with default headers values

func (*ReadNotifierInternalServerError) Code

Code gets the status code for the read notifier internal server error response

func (*ReadNotifierInternalServerError) Error

func (*ReadNotifierInternalServerError) GetPayload

func (*ReadNotifierInternalServerError) IsClientError

func (o *ReadNotifierInternalServerError) IsClientError() bool

IsClientError returns true when this read notifier internal server error response has a 4xx status code

func (*ReadNotifierInternalServerError) IsCode

func (o *ReadNotifierInternalServerError) IsCode(code int) bool

IsCode returns true when this read notifier internal server error response a status code equal to that given

func (*ReadNotifierInternalServerError) IsRedirect

func (o *ReadNotifierInternalServerError) IsRedirect() bool

IsRedirect returns true when this read notifier internal server error response has a 3xx status code

func (*ReadNotifierInternalServerError) IsServerError

func (o *ReadNotifierInternalServerError) IsServerError() bool

IsServerError returns true when this read notifier internal server error response has a 5xx status code

func (*ReadNotifierInternalServerError) IsSuccess

func (o *ReadNotifierInternalServerError) IsSuccess() bool

IsSuccess returns true when this read notifier internal server error response has a 2xx status code

func (*ReadNotifierInternalServerError) String

type ReadNotifierNotFound

type ReadNotifierNotFound struct {
	Payload *models.APIError
}

ReadNotifierNotFound describes a response with status code 404, with default header values.

Cannot read the Notifier because the slug does not exist.

func NewReadNotifierNotFound

func NewReadNotifierNotFound() *ReadNotifierNotFound

NewReadNotifierNotFound creates a ReadNotifierNotFound with default headers values

func (*ReadNotifierNotFound) Code

func (o *ReadNotifierNotFound) Code() int

Code gets the status code for the read notifier not found response

func (*ReadNotifierNotFound) Error

func (o *ReadNotifierNotFound) Error() string

func (*ReadNotifierNotFound) GetPayload

func (o *ReadNotifierNotFound) GetPayload() *models.APIError

func (*ReadNotifierNotFound) IsClientError

func (o *ReadNotifierNotFound) IsClientError() bool

IsClientError returns true when this read notifier not found response has a 4xx status code

func (*ReadNotifierNotFound) IsCode

func (o *ReadNotifierNotFound) IsCode(code int) bool

IsCode returns true when this read notifier not found response a status code equal to that given

func (*ReadNotifierNotFound) IsRedirect

func (o *ReadNotifierNotFound) IsRedirect() bool

IsRedirect returns true when this read notifier not found response has a 3xx status code

func (*ReadNotifierNotFound) IsServerError

func (o *ReadNotifierNotFound) IsServerError() bool

IsServerError returns true when this read notifier not found response has a 5xx status code

func (*ReadNotifierNotFound) IsSuccess

func (o *ReadNotifierNotFound) IsSuccess() bool

IsSuccess returns true when this read notifier not found response has a 2xx status code

func (*ReadNotifierNotFound) String

func (o *ReadNotifierNotFound) String() string

type ReadNotifierOK

type ReadNotifierOK struct {
	Payload *models.Configv1ReadNotifierResponse
}

ReadNotifierOK describes a response with status code 200, with default header values.

A successful response.

func NewReadNotifierOK

func NewReadNotifierOK() *ReadNotifierOK

NewReadNotifierOK creates a ReadNotifierOK with default headers values

func (*ReadNotifierOK) Code

func (o *ReadNotifierOK) Code() int

Code gets the status code for the read notifier o k response

func (*ReadNotifierOK) Error

func (o *ReadNotifierOK) Error() string

func (*ReadNotifierOK) GetPayload

func (*ReadNotifierOK) IsClientError

func (o *ReadNotifierOK) IsClientError() bool

IsClientError returns true when this read notifier o k response has a 4xx status code

func (*ReadNotifierOK) IsCode

func (o *ReadNotifierOK) IsCode(code int) bool

IsCode returns true when this read notifier o k response a status code equal to that given

func (*ReadNotifierOK) IsRedirect

func (o *ReadNotifierOK) IsRedirect() bool

IsRedirect returns true when this read notifier o k response has a 3xx status code

func (*ReadNotifierOK) IsServerError

func (o *ReadNotifierOK) IsServerError() bool

IsServerError returns true when this read notifier o k response has a 5xx status code

func (*ReadNotifierOK) IsSuccess

func (o *ReadNotifierOK) IsSuccess() bool

IsSuccess returns true when this read notifier o k response has a 2xx status code

func (*ReadNotifierOK) String

func (o *ReadNotifierOK) String() string

type ReadNotifierParams

type ReadNotifierParams struct {

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadNotifierParams contains all the parameters to send to the API endpoint

for the read notifier operation.

Typically these are written to a http.Request.

func NewReadNotifierParams

func NewReadNotifierParams() *ReadNotifierParams

NewReadNotifierParams creates a new ReadNotifierParams 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 NewReadNotifierParamsWithContext

func NewReadNotifierParamsWithContext(ctx context.Context) *ReadNotifierParams

NewReadNotifierParamsWithContext creates a new ReadNotifierParams object with the ability to set a context for a request.

func NewReadNotifierParamsWithHTTPClient

func NewReadNotifierParamsWithHTTPClient(client *http.Client) *ReadNotifierParams

NewReadNotifierParamsWithHTTPClient creates a new ReadNotifierParams object with the ability to set a custom HTTPClient for a request.

func NewReadNotifierParamsWithTimeout

func NewReadNotifierParamsWithTimeout(timeout time.Duration) *ReadNotifierParams

NewReadNotifierParamsWithTimeout creates a new ReadNotifierParams object with the ability to set a timeout on a request.

func (*ReadNotifierParams) SetContext

func (o *ReadNotifierParams) SetContext(ctx context.Context)

SetContext adds the context to the read notifier params

func (*ReadNotifierParams) SetDefaults

func (o *ReadNotifierParams) SetDefaults()

SetDefaults hydrates default values in the read notifier params (not the query body).

All values with no default are reset to their zero value.

func (*ReadNotifierParams) SetHTTPClient

func (o *ReadNotifierParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the read notifier params

func (*ReadNotifierParams) SetSlug

func (o *ReadNotifierParams) SetSlug(slug string)

SetSlug adds the slug to the read notifier params

func (*ReadNotifierParams) SetTimeout

func (o *ReadNotifierParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the read notifier params

func (*ReadNotifierParams) WithContext

WithContext adds the context to the read notifier params

func (*ReadNotifierParams) WithDefaults

func (o *ReadNotifierParams) WithDefaults() *ReadNotifierParams

WithDefaults hydrates default values in the read notifier params (not the query body).

All values with no default are reset to their zero value.

func (*ReadNotifierParams) WithHTTPClient

func (o *ReadNotifierParams) WithHTTPClient(client *http.Client) *ReadNotifierParams

WithHTTPClient adds the HTTPClient to the read notifier params

func (*ReadNotifierParams) WithSlug

func (o *ReadNotifierParams) WithSlug(slug string) *ReadNotifierParams

WithSlug adds the slug to the read notifier params

func (*ReadNotifierParams) WithTimeout

func (o *ReadNotifierParams) WithTimeout(timeout time.Duration) *ReadNotifierParams

WithTimeout adds the timeout to the read notifier params

func (*ReadNotifierParams) WriteToRequest

func (o *ReadNotifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReadNotifierReader

type ReadNotifierReader struct {
	// contains filtered or unexported fields
}

ReadNotifierReader is a Reader for the ReadNotifier structure.

func (*ReadNotifierReader) ReadResponse

func (o *ReadNotifierReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReadRecordingRuleDefault

type ReadRecordingRuleDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadRecordingRuleDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadRecordingRuleDefault

func NewReadRecordingRuleDefault(code int) *ReadRecordingRuleDefault

NewReadRecordingRuleDefault creates a ReadRecordingRuleDefault with default headers values

func (*ReadRecordingRuleDefault) Code

func (o *ReadRecordingRuleDefault) Code() int

Code gets the status code for the read recording rule default response

func (*ReadRecordingRuleDefault) Error

func (o *ReadRecordingRuleDefault) Error() string

func (*ReadRecordingRuleDefault) GetPayload

func (*ReadRecordingRuleDefault) IsClientError

func (o *ReadRecordingRuleDefault) IsClientError() bool

IsClientError returns true when this read recording rule default response has a 4xx status code

func (*ReadRecordingRuleDefault) IsCode

func (o *ReadRecordingRuleDefault) IsCode(code int) bool

IsCode returns true when this read recording rule default response a status code equal to that given

func (*ReadRecordingRuleDefault) IsRedirect

func (o *ReadRecordingRuleDefault) IsRedirect() bool

IsRedirect returns true when this read recording rule default response has a 3xx status code

func (*ReadRecordingRuleDefault) IsServerError

func (o *ReadRecordingRuleDefault) IsServerError() bool

IsServerError returns true when this read recording rule default response has a 5xx status code

func (*ReadRecordingRuleDefault) IsSuccess

func (o *ReadRecordingRuleDefault) IsSuccess() bool

IsSuccess returns true when this read recording rule default response has a 2xx status code

func (*ReadRecordingRuleDefault) String

func (o *ReadRecordingRuleDefault) String() string

type ReadRecordingRuleInternalServerError

type ReadRecordingRuleInternalServerError struct {
	Payload *models.APIError
}

ReadRecordingRuleInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadRecordingRuleInternalServerError

func NewReadRecordingRuleInternalServerError() *ReadRecordingRuleInternalServerError

NewReadRecordingRuleInternalServerError creates a ReadRecordingRuleInternalServerError with default headers values

func (*ReadRecordingRuleInternalServerError) Code

Code gets the status code for the read recording rule internal server error response

func (*ReadRecordingRuleInternalServerError) Error

func (*ReadRecordingRuleInternalServerError) GetPayload

func (*ReadRecordingRuleInternalServerError) IsClientError

func (o *ReadRecordingRuleInternalServerError) IsClientError() bool

IsClientError returns true when this read recording rule internal server error response has a 4xx status code

func (*ReadRecordingRuleInternalServerError) IsCode

IsCode returns true when this read recording rule internal server error response a status code equal to that given

func (*ReadRecordingRuleInternalServerError) IsRedirect

IsRedirect returns true when this read recording rule internal server error response has a 3xx status code

func (*ReadRecordingRuleInternalServerError) IsServerError

func (o *ReadRecordingRuleInternalServerError) IsServerError() bool

IsServerError returns true when this read recording rule internal server error response has a 5xx status code

func (*ReadRecordingRuleInternalServerError) IsSuccess

IsSuccess returns true when this read recording rule internal server error response has a 2xx status code

func (*ReadRecordingRuleInternalServerError) String

type ReadRecordingRuleNotFound

type ReadRecordingRuleNotFound struct {
	Payload *models.APIError
}

ReadRecordingRuleNotFound describes a response with status code 404, with default header values.

Cannot read the RecordingRule because the slug does not exist.

func NewReadRecordingRuleNotFound

func NewReadRecordingRuleNotFound() *ReadRecordingRuleNotFound

NewReadRecordingRuleNotFound creates a ReadRecordingRuleNotFound with default headers values

func (*ReadRecordingRuleNotFound) Code

func (o *ReadRecordingRuleNotFound) Code() int

Code gets the status code for the read recording rule not found response

func (*ReadRecordingRuleNotFound) Error

func (o *ReadRecordingRuleNotFound) Error() string

func (*ReadRecordingRuleNotFound) GetPayload

func (o *ReadRecordingRuleNotFound) GetPayload() *models.APIError

func (*ReadRecordingRuleNotFound) IsClientError

func (o *ReadRecordingRuleNotFound) IsClientError() bool

IsClientError returns true when this read recording rule not found response has a 4xx status code

func (*ReadRecordingRuleNotFound) IsCode

func (o *ReadRecordingRuleNotFound) IsCode(code int) bool

IsCode returns true when this read recording rule not found response a status code equal to that given

func (*ReadRecordingRuleNotFound) IsRedirect

func (o *ReadRecordingRuleNotFound) IsRedirect() bool

IsRedirect returns true when this read recording rule not found response has a 3xx status code

func (*ReadRecordingRuleNotFound) IsServerError

func (o *ReadRecordingRuleNotFound) IsServerError() bool

IsServerError returns true when this read recording rule not found response has a 5xx status code

func (*ReadRecordingRuleNotFound) IsSuccess

func (o *ReadRecordingRuleNotFound) IsSuccess() bool

IsSuccess returns true when this read recording rule not found response has a 2xx status code

func (*ReadRecordingRuleNotFound) String

func (o *ReadRecordingRuleNotFound) String() string

type ReadRecordingRuleOK

type ReadRecordingRuleOK struct {
	Payload *models.Configv1ReadRecordingRuleResponse
}

ReadRecordingRuleOK describes a response with status code 200, with default header values.

A successful response.

func NewReadRecordingRuleOK

func NewReadRecordingRuleOK() *ReadRecordingRuleOK

NewReadRecordingRuleOK creates a ReadRecordingRuleOK with default headers values

func (*ReadRecordingRuleOK) Code

func (o *ReadRecordingRuleOK) Code() int

Code gets the status code for the read recording rule o k response

func (*ReadRecordingRuleOK) Error

func (o *ReadRecordingRuleOK) Error() string

func (*ReadRecordingRuleOK) GetPayload

func (*ReadRecordingRuleOK) IsClientError

func (o *ReadRecordingRuleOK) IsClientError() bool

IsClientError returns true when this read recording rule o k response has a 4xx status code

func (*ReadRecordingRuleOK) IsCode

func (o *ReadRecordingRuleOK) IsCode(code int) bool

IsCode returns true when this read recording rule o k response a status code equal to that given

func (*ReadRecordingRuleOK) IsRedirect

func (o *ReadRecordingRuleOK) IsRedirect() bool

IsRedirect returns true when this read recording rule o k response has a 3xx status code

func (*ReadRecordingRuleOK) IsServerError

func (o *ReadRecordingRuleOK) IsServerError() bool

IsServerError returns true when this read recording rule o k response has a 5xx status code

func (*ReadRecordingRuleOK) IsSuccess

func (o *ReadRecordingRuleOK) IsSuccess() bool

IsSuccess returns true when this read recording rule o k response has a 2xx status code

func (*ReadRecordingRuleOK) String

func (o *ReadRecordingRuleOK) String() string

type ReadRecordingRuleParams

type ReadRecordingRuleParams struct {

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadRecordingRuleParams contains all the parameters to send to the API endpoint

for the read recording rule operation.

Typically these are written to a http.Request.

func NewReadRecordingRuleParams

func NewReadRecordingRuleParams() *ReadRecordingRuleParams

NewReadRecordingRuleParams creates a new ReadRecordingRuleParams 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 NewReadRecordingRuleParamsWithContext

func NewReadRecordingRuleParamsWithContext(ctx context.Context) *ReadRecordingRuleParams

NewReadRecordingRuleParamsWithContext creates a new ReadRecordingRuleParams object with the ability to set a context for a request.

func NewReadRecordingRuleParamsWithHTTPClient

func NewReadRecordingRuleParamsWithHTTPClient(client *http.Client) *ReadRecordingRuleParams

NewReadRecordingRuleParamsWithHTTPClient creates a new ReadRecordingRuleParams object with the ability to set a custom HTTPClient for a request.

func NewReadRecordingRuleParamsWithTimeout

func NewReadRecordingRuleParamsWithTimeout(timeout time.Duration) *ReadRecordingRuleParams

NewReadRecordingRuleParamsWithTimeout creates a new ReadRecordingRuleParams object with the ability to set a timeout on a request.

func (*ReadRecordingRuleParams) SetContext

func (o *ReadRecordingRuleParams) SetContext(ctx context.Context)

SetContext adds the context to the read recording rule params

func (*ReadRecordingRuleParams) SetDefaults

func (o *ReadRecordingRuleParams) SetDefaults()

SetDefaults hydrates default values in the read recording rule params (not the query body).

All values with no default are reset to their zero value.

func (*ReadRecordingRuleParams) SetHTTPClient

func (o *ReadRecordingRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the read recording rule params

func (*ReadRecordingRuleParams) SetSlug

func (o *ReadRecordingRuleParams) SetSlug(slug string)

SetSlug adds the slug to the read recording rule params

func (*ReadRecordingRuleParams) SetTimeout

func (o *ReadRecordingRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the read recording rule params

func (*ReadRecordingRuleParams) WithContext

WithContext adds the context to the read recording rule params

func (*ReadRecordingRuleParams) WithDefaults

WithDefaults hydrates default values in the read recording rule params (not the query body).

All values with no default are reset to their zero value.

func (*ReadRecordingRuleParams) WithHTTPClient

func (o *ReadRecordingRuleParams) WithHTTPClient(client *http.Client) *ReadRecordingRuleParams

WithHTTPClient adds the HTTPClient to the read recording rule params

func (*ReadRecordingRuleParams) WithSlug

WithSlug adds the slug to the read recording rule params

func (*ReadRecordingRuleParams) WithTimeout

WithTimeout adds the timeout to the read recording rule params

func (*ReadRecordingRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadRecordingRuleReader

type ReadRecordingRuleReader struct {
	// contains filtered or unexported fields
}

ReadRecordingRuleReader is a Reader for the ReadRecordingRule structure.

func (*ReadRecordingRuleReader) ReadResponse

func (o *ReadRecordingRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReadResourcePoolsDefault

type ReadResourcePoolsDefault struct {
	Payload *models.APIError
	// contains filtered or unexported fields
}

ReadResourcePoolsDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewReadResourcePoolsDefault

func NewReadResourcePoolsDefault(code int) *ReadResourcePoolsDefault

NewReadResourcePoolsDefault creates a ReadResourcePoolsDefault with default headers values

func (*ReadResourcePoolsDefault) Code

func (o *ReadResourcePoolsDefault) Code() int

Code gets the status code for the read resource pools default response

func (*ReadResourcePoolsDefault) Error

func (o *ReadResourcePoolsDefault) Error() string

func (*ReadResourcePoolsDefault) GetPayload

func (o *ReadResourcePoolsDefault) GetPayload() *models.APIError

func (*ReadResourcePoolsDefault) IsClientError

func (o *ReadResourcePoolsDefault) IsClientError() bool

IsClientError returns true when this read resource pools default response has a 4xx status code

func (*ReadResourcePoolsDefault) IsCode

func (o *ReadResourcePoolsDefault) IsCode(code int) bool

IsCode returns true when this read resource pools default response a status code equal to that given

func (*ReadResourcePoolsDefault) IsRedirect

func (o *ReadResourcePoolsDefault) IsRedirect() bool

IsRedirect returns true when this read resource pools default response has a 3xx status code

func (*ReadResourcePoolsDefault) IsServerError

func (o *ReadResourcePoolsDefault) IsServerError() bool

IsServerError returns true when this read resource pools default response has a 5xx status code

func (*ReadResourcePoolsDefault) IsSuccess

func (o *ReadResourcePoolsDefault) IsSuccess() bool

IsSuccess returns true when this read resource pools default response has a 2xx status code

func (*ReadResourcePoolsDefault) String

func (o *ReadResourcePoolsDefault) String() string

type ReadResourcePoolsOK

type ReadResourcePoolsOK struct {
	Payload *models.Configv1ReadResourcePoolsResponse
}

ReadResourcePoolsOK describes a response with status code 200, with default header values.

A successful response.

func NewReadResourcePoolsOK

func NewReadResourcePoolsOK() *ReadResourcePoolsOK

NewReadResourcePoolsOK creates a ReadResourcePoolsOK with default headers values

func (*ReadResourcePoolsOK) Code

func (o *ReadResourcePoolsOK) Code() int

Code gets the status code for the read resource pools o k response

func (*ReadResourcePoolsOK) Error

func (o *ReadResourcePoolsOK) Error() string

func (*ReadResourcePoolsOK) GetPayload

func (*ReadResourcePoolsOK) IsClientError

func (o *ReadResourcePoolsOK) IsClientError() bool

IsClientError returns true when this read resource pools o k response has a 4xx status code

func (*ReadResourcePoolsOK) IsCode

func (o *ReadResourcePoolsOK) IsCode(code int) bool

IsCode returns true when this read resource pools o k response a status code equal to that given

func (*ReadResourcePoolsOK) IsRedirect

func (o *ReadResourcePoolsOK) IsRedirect() bool

IsRedirect returns true when this read resource pools o k response has a 3xx status code

func (*ReadResourcePoolsOK) IsServerError

func (o *ReadResourcePoolsOK) IsServerError() bool

IsServerError returns true when this read resource pools o k response has a 5xx status code

func (*ReadResourcePoolsOK) IsSuccess

func (o *ReadResourcePoolsOK) IsSuccess() bool

IsSuccess returns true when this read resource pools o k response has a 2xx status code

func (*ReadResourcePoolsOK) String

func (o *ReadResourcePoolsOK) String() string

type ReadResourcePoolsParams

type ReadResourcePoolsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadResourcePoolsParams contains all the parameters to send to the API endpoint

for the read resource pools operation.

Typically these are written to a http.Request.

func NewReadResourcePoolsParams

func NewReadResourcePoolsParams() *ReadResourcePoolsParams

NewReadResourcePoolsParams creates a new ReadResourcePoolsParams 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 NewReadResourcePoolsParamsWithContext

func NewReadResourcePoolsParamsWithContext(ctx context.Context) *ReadResourcePoolsParams

NewReadResourcePoolsParamsWithContext creates a new ReadResourcePoolsParams object with the ability to set a context for a request.

func NewReadResourcePoolsParamsWithHTTPClient

func NewReadResourcePoolsParamsWithHTTPClient(client *http.Client) *ReadResourcePoolsParams

NewReadResourcePoolsParamsWithHTTPClient creates a new ReadResourcePoolsParams object with the ability to set a custom HTTPClient for a request.

func NewReadResourcePoolsParamsWithTimeout

func NewReadResourcePoolsParamsWithTimeout(timeout time.Duration) *ReadResourcePoolsParams

NewReadResourcePoolsParamsWithTimeout creates a new ReadResourcePoolsParams object with the ability to set a timeout on a request.

func (*ReadResourcePoolsParams) SetContext

func (o *ReadResourcePoolsParams) SetContext(ctx context.Context)

SetContext adds the context to the read resource pools params

func (*ReadResourcePoolsParams) SetDefaults

func (o *ReadResourcePoolsParams) SetDefaults()

SetDefaults hydrates default values in the read resource pools params (not the query body).

All values with no default are reset to their zero value.

func (*ReadResourcePoolsParams) SetHTTPClient

func (o *ReadResourcePoolsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the read resource pools params

func (*ReadResourcePoolsParams) SetTimeout

func (o *ReadResourcePoolsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the read resource pools params

func (*ReadResourcePoolsParams) WithContext

WithContext adds the context to the read resource pools params

func (*ReadResourcePoolsParams) WithDefaults

WithDefaults hydrates default values in the read resource pools params (not the query body).

All values with no default are reset to their zero value.

func (*ReadResourcePoolsParams) WithHTTPClient

func (o *ReadResourcePoolsParams) WithHTTPClient(client *http.Client) *ReadResourcePoolsParams

WithHTTPClient adds the HTTPClient to the read resource pools params

func (*ReadResourcePoolsParams) WithTimeout

WithTimeout adds the timeout to the read resource pools params

func (*ReadResourcePoolsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadResourcePoolsReader

type ReadResourcePoolsReader struct {
	// contains filtered or unexported fields
}

ReadResourcePoolsReader is a Reader for the ReadResourcePools structure.

func (*ReadResourcePoolsReader) ReadResponse

func (o *ReadResourcePoolsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReadRollupRuleDefault

type ReadRollupRuleDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadRollupRuleDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadRollupRuleDefault

func NewReadRollupRuleDefault(code int) *ReadRollupRuleDefault

NewReadRollupRuleDefault creates a ReadRollupRuleDefault with default headers values

func (*ReadRollupRuleDefault) Code

func (o *ReadRollupRuleDefault) Code() int

Code gets the status code for the read rollup rule default response

func (*ReadRollupRuleDefault) Error

func (o *ReadRollupRuleDefault) Error() string

func (*ReadRollupRuleDefault) GetPayload

func (o *ReadRollupRuleDefault) GetPayload() models.GenericError

func (*ReadRollupRuleDefault) IsClientError

func (o *ReadRollupRuleDefault) IsClientError() bool

IsClientError returns true when this read rollup rule default response has a 4xx status code

func (*ReadRollupRuleDefault) IsCode

func (o *ReadRollupRuleDefault) IsCode(code int) bool

IsCode returns true when this read rollup rule default response a status code equal to that given

func (*ReadRollupRuleDefault) IsRedirect

func (o *ReadRollupRuleDefault) IsRedirect() bool

IsRedirect returns true when this read rollup rule default response has a 3xx status code

func (*ReadRollupRuleDefault) IsServerError

func (o *ReadRollupRuleDefault) IsServerError() bool

IsServerError returns true when this read rollup rule default response has a 5xx status code

func (*ReadRollupRuleDefault) IsSuccess

func (o *ReadRollupRuleDefault) IsSuccess() bool

IsSuccess returns true when this read rollup rule default response has a 2xx status code

func (*ReadRollupRuleDefault) String

func (o *ReadRollupRuleDefault) String() string

type ReadRollupRuleInternalServerError

type ReadRollupRuleInternalServerError struct {
	Payload *models.APIError
}

ReadRollupRuleInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadRollupRuleInternalServerError

func NewReadRollupRuleInternalServerError() *ReadRollupRuleInternalServerError

NewReadRollupRuleInternalServerError creates a ReadRollupRuleInternalServerError with default headers values

func (*ReadRollupRuleInternalServerError) Code

Code gets the status code for the read rollup rule internal server error response

func (*ReadRollupRuleInternalServerError) Error

func (*ReadRollupRuleInternalServerError) GetPayload

func (*ReadRollupRuleInternalServerError) IsClientError

func (o *ReadRollupRuleInternalServerError) IsClientError() bool

IsClientError returns true when this read rollup rule internal server error response has a 4xx status code

func (*ReadRollupRuleInternalServerError) IsCode

func (o *ReadRollupRuleInternalServerError) IsCode(code int) bool

IsCode returns true when this read rollup rule internal server error response a status code equal to that given

func (*ReadRollupRuleInternalServerError) IsRedirect

func (o *ReadRollupRuleInternalServerError) IsRedirect() bool

IsRedirect returns true when this read rollup rule internal server error response has a 3xx status code

func (*ReadRollupRuleInternalServerError) IsServerError

func (o *ReadRollupRuleInternalServerError) IsServerError() bool

IsServerError returns true when this read rollup rule internal server error response has a 5xx status code

func (*ReadRollupRuleInternalServerError) IsSuccess

func (o *ReadRollupRuleInternalServerError) IsSuccess() bool

IsSuccess returns true when this read rollup rule internal server error response has a 2xx status code

func (*ReadRollupRuleInternalServerError) String

type ReadRollupRuleNotFound

type ReadRollupRuleNotFound struct {
	Payload *models.APIError
}

ReadRollupRuleNotFound describes a response with status code 404, with default header values.

Cannot read the RollupRule because the slug does not exist.

func NewReadRollupRuleNotFound

func NewReadRollupRuleNotFound() *ReadRollupRuleNotFound

NewReadRollupRuleNotFound creates a ReadRollupRuleNotFound with default headers values

func (*ReadRollupRuleNotFound) Code

func (o *ReadRollupRuleNotFound) Code() int

Code gets the status code for the read rollup rule not found response

func (*ReadRollupRuleNotFound) Error

func (o *ReadRollupRuleNotFound) Error() string

func (*ReadRollupRuleNotFound) GetPayload

func (o *ReadRollupRuleNotFound) GetPayload() *models.APIError

func (*ReadRollupRuleNotFound) IsClientError

func (o *ReadRollupRuleNotFound) IsClientError() bool

IsClientError returns true when this read rollup rule not found response has a 4xx status code

func (*ReadRollupRuleNotFound) IsCode

func (o *ReadRollupRuleNotFound) IsCode(code int) bool

IsCode returns true when this read rollup rule not found response a status code equal to that given

func (*ReadRollupRuleNotFound) IsRedirect

func (o *ReadRollupRuleNotFound) IsRedirect() bool

IsRedirect returns true when this read rollup rule not found response has a 3xx status code

func (*ReadRollupRuleNotFound) IsServerError

func (o *ReadRollupRuleNotFound) IsServerError() bool

IsServerError returns true when this read rollup rule not found response has a 5xx status code

func (*ReadRollupRuleNotFound) IsSuccess

func (o *ReadRollupRuleNotFound) IsSuccess() bool

IsSuccess returns true when this read rollup rule not found response has a 2xx status code

func (*ReadRollupRuleNotFound) String

func (o *ReadRollupRuleNotFound) String() string

type ReadRollupRuleOK

type ReadRollupRuleOK struct {
	Payload *models.Configv1ReadRollupRuleResponse
}

ReadRollupRuleOK describes a response with status code 200, with default header values.

A successful response.

func NewReadRollupRuleOK

func NewReadRollupRuleOK() *ReadRollupRuleOK

NewReadRollupRuleOK creates a ReadRollupRuleOK with default headers values

func (*ReadRollupRuleOK) Code

func (o *ReadRollupRuleOK) Code() int

Code gets the status code for the read rollup rule o k response

func (*ReadRollupRuleOK) Error

func (o *ReadRollupRuleOK) Error() string

func (*ReadRollupRuleOK) GetPayload

func (*ReadRollupRuleOK) IsClientError

func (o *ReadRollupRuleOK) IsClientError() bool

IsClientError returns true when this read rollup rule o k response has a 4xx status code

func (*ReadRollupRuleOK) IsCode

func (o *ReadRollupRuleOK) IsCode(code int) bool

IsCode returns true when this read rollup rule o k response a status code equal to that given

func (*ReadRollupRuleOK) IsRedirect

func (o *ReadRollupRuleOK) IsRedirect() bool

IsRedirect returns true when this read rollup rule o k response has a 3xx status code

func (*ReadRollupRuleOK) IsServerError

func (o *ReadRollupRuleOK) IsServerError() bool

IsServerError returns true when this read rollup rule o k response has a 5xx status code

func (*ReadRollupRuleOK) IsSuccess

func (o *ReadRollupRuleOK) IsSuccess() bool

IsSuccess returns true when this read rollup rule o k response has a 2xx status code

func (*ReadRollupRuleOK) String

func (o *ReadRollupRuleOK) String() string

type ReadRollupRuleParams

type ReadRollupRuleParams struct {

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadRollupRuleParams contains all the parameters to send to the API endpoint

for the read rollup rule operation.

Typically these are written to a http.Request.

func NewReadRollupRuleParams

func NewReadRollupRuleParams() *ReadRollupRuleParams

NewReadRollupRuleParams creates a new ReadRollupRuleParams 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 NewReadRollupRuleParamsWithContext

func NewReadRollupRuleParamsWithContext(ctx context.Context) *ReadRollupRuleParams

NewReadRollupRuleParamsWithContext creates a new ReadRollupRuleParams object with the ability to set a context for a request.

func NewReadRollupRuleParamsWithHTTPClient

func NewReadRollupRuleParamsWithHTTPClient(client *http.Client) *ReadRollupRuleParams

NewReadRollupRuleParamsWithHTTPClient creates a new ReadRollupRuleParams object with the ability to set a custom HTTPClient for a request.

func NewReadRollupRuleParamsWithTimeout

func NewReadRollupRuleParamsWithTimeout(timeout time.Duration) *ReadRollupRuleParams

NewReadRollupRuleParamsWithTimeout creates a new ReadRollupRuleParams object with the ability to set a timeout on a request.

func (*ReadRollupRuleParams) SetContext

func (o *ReadRollupRuleParams) SetContext(ctx context.Context)

SetContext adds the context to the read rollup rule params

func (*ReadRollupRuleParams) SetDefaults

func (o *ReadRollupRuleParams) SetDefaults()

SetDefaults hydrates default values in the read rollup rule params (not the query body).

All values with no default are reset to their zero value.

func (*ReadRollupRuleParams) SetHTTPClient

func (o *ReadRollupRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the read rollup rule params

func (*ReadRollupRuleParams) SetSlug

func (o *ReadRollupRuleParams) SetSlug(slug string)

SetSlug adds the slug to the read rollup rule params

func (*ReadRollupRuleParams) SetTimeout

func (o *ReadRollupRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the read rollup rule params

func (*ReadRollupRuleParams) WithContext

WithContext adds the context to the read rollup rule params

func (*ReadRollupRuleParams) WithDefaults

func (o *ReadRollupRuleParams) WithDefaults() *ReadRollupRuleParams

WithDefaults hydrates default values in the read rollup rule params (not the query body).

All values with no default are reset to their zero value.

func (*ReadRollupRuleParams) WithHTTPClient

func (o *ReadRollupRuleParams) WithHTTPClient(client *http.Client) *ReadRollupRuleParams

WithHTTPClient adds the HTTPClient to the read rollup rule params

func (*ReadRollupRuleParams) WithSlug

WithSlug adds the slug to the read rollup rule params

func (*ReadRollupRuleParams) WithTimeout

func (o *ReadRollupRuleParams) WithTimeout(timeout time.Duration) *ReadRollupRuleParams

WithTimeout adds the timeout to the read rollup rule params

func (*ReadRollupRuleParams) WriteToRequest

func (o *ReadRollupRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReadRollupRuleReader

type ReadRollupRuleReader struct {
	// contains filtered or unexported fields
}

ReadRollupRuleReader is a Reader for the ReadRollupRule structure.

func (*ReadRollupRuleReader) ReadResponse

func (o *ReadRollupRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReadServiceAccountDefault

type ReadServiceAccountDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadServiceAccountDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadServiceAccountDefault

func NewReadServiceAccountDefault(code int) *ReadServiceAccountDefault

NewReadServiceAccountDefault creates a ReadServiceAccountDefault with default headers values

func (*ReadServiceAccountDefault) Code

func (o *ReadServiceAccountDefault) Code() int

Code gets the status code for the read service account default response

func (*ReadServiceAccountDefault) Error

func (o *ReadServiceAccountDefault) Error() string

func (*ReadServiceAccountDefault) GetPayload

func (*ReadServiceAccountDefault) IsClientError

func (o *ReadServiceAccountDefault) IsClientError() bool

IsClientError returns true when this read service account default response has a 4xx status code

func (*ReadServiceAccountDefault) IsCode

func (o *ReadServiceAccountDefault) IsCode(code int) bool

IsCode returns true when this read service account default response a status code equal to that given

func (*ReadServiceAccountDefault) IsRedirect

func (o *ReadServiceAccountDefault) IsRedirect() bool

IsRedirect returns true when this read service account default response has a 3xx status code

func (*ReadServiceAccountDefault) IsServerError

func (o *ReadServiceAccountDefault) IsServerError() bool

IsServerError returns true when this read service account default response has a 5xx status code

func (*ReadServiceAccountDefault) IsSuccess

func (o *ReadServiceAccountDefault) IsSuccess() bool

IsSuccess returns true when this read service account default response has a 2xx status code

func (*ReadServiceAccountDefault) String

func (o *ReadServiceAccountDefault) String() string

type ReadServiceAccountInternalServerError

type ReadServiceAccountInternalServerError struct {
	Payload *models.APIError
}

ReadServiceAccountInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadServiceAccountInternalServerError

func NewReadServiceAccountInternalServerError() *ReadServiceAccountInternalServerError

NewReadServiceAccountInternalServerError creates a ReadServiceAccountInternalServerError with default headers values

func (*ReadServiceAccountInternalServerError) Code

Code gets the status code for the read service account internal server error response

func (*ReadServiceAccountInternalServerError) Error

func (*ReadServiceAccountInternalServerError) GetPayload

func (*ReadServiceAccountInternalServerError) IsClientError

func (o *ReadServiceAccountInternalServerError) IsClientError() bool

IsClientError returns true when this read service account internal server error response has a 4xx status code

func (*ReadServiceAccountInternalServerError) IsCode

IsCode returns true when this read service account internal server error response a status code equal to that given

func (*ReadServiceAccountInternalServerError) IsRedirect

IsRedirect returns true when this read service account internal server error response has a 3xx status code

func (*ReadServiceAccountInternalServerError) IsServerError

func (o *ReadServiceAccountInternalServerError) IsServerError() bool

IsServerError returns true when this read service account internal server error response has a 5xx status code

func (*ReadServiceAccountInternalServerError) IsSuccess

IsSuccess returns true when this read service account internal server error response has a 2xx status code

func (*ReadServiceAccountInternalServerError) String

type ReadServiceAccountNotFound

type ReadServiceAccountNotFound struct {
	Payload *models.APIError
}

ReadServiceAccountNotFound describes a response with status code 404, with default header values.

Cannot read the ServiceAccount because the slug does not exist.

func NewReadServiceAccountNotFound

func NewReadServiceAccountNotFound() *ReadServiceAccountNotFound

NewReadServiceAccountNotFound creates a ReadServiceAccountNotFound with default headers values

func (*ReadServiceAccountNotFound) Code

func (o *ReadServiceAccountNotFound) Code() int

Code gets the status code for the read service account not found response

func (*ReadServiceAccountNotFound) Error

func (*ReadServiceAccountNotFound) GetPayload

func (o *ReadServiceAccountNotFound) GetPayload() *models.APIError

func (*ReadServiceAccountNotFound) IsClientError

func (o *ReadServiceAccountNotFound) IsClientError() bool

IsClientError returns true when this read service account not found response has a 4xx status code

func (*ReadServiceAccountNotFound) IsCode

func (o *ReadServiceAccountNotFound) IsCode(code int) bool

IsCode returns true when this read service account not found response a status code equal to that given

func (*ReadServiceAccountNotFound) IsRedirect

func (o *ReadServiceAccountNotFound) IsRedirect() bool

IsRedirect returns true when this read service account not found response has a 3xx status code

func (*ReadServiceAccountNotFound) IsServerError

func (o *ReadServiceAccountNotFound) IsServerError() bool

IsServerError returns true when this read service account not found response has a 5xx status code

func (*ReadServiceAccountNotFound) IsSuccess

func (o *ReadServiceAccountNotFound) IsSuccess() bool

IsSuccess returns true when this read service account not found response has a 2xx status code

func (*ReadServiceAccountNotFound) String

func (o *ReadServiceAccountNotFound) String() string

type ReadServiceAccountOK

type ReadServiceAccountOK struct {
	Payload *models.Configv1ReadServiceAccountResponse
}

ReadServiceAccountOK describes a response with status code 200, with default header values.

A successful response.

func NewReadServiceAccountOK

func NewReadServiceAccountOK() *ReadServiceAccountOK

NewReadServiceAccountOK creates a ReadServiceAccountOK with default headers values

func (*ReadServiceAccountOK) Code

func (o *ReadServiceAccountOK) Code() int

Code gets the status code for the read service account o k response

func (*ReadServiceAccountOK) Error

func (o *ReadServiceAccountOK) Error() string

func (*ReadServiceAccountOK) GetPayload

func (*ReadServiceAccountOK) IsClientError

func (o *ReadServiceAccountOK) IsClientError() bool

IsClientError returns true when this read service account o k response has a 4xx status code

func (*ReadServiceAccountOK) IsCode

func (o *ReadServiceAccountOK) IsCode(code int) bool

IsCode returns true when this read service account o k response a status code equal to that given

func (*ReadServiceAccountOK) IsRedirect

func (o *ReadServiceAccountOK) IsRedirect() bool

IsRedirect returns true when this read service account o k response has a 3xx status code

func (*ReadServiceAccountOK) IsServerError

func (o *ReadServiceAccountOK) IsServerError() bool

IsServerError returns true when this read service account o k response has a 5xx status code

func (*ReadServiceAccountOK) IsSuccess

func (o *ReadServiceAccountOK) IsSuccess() bool

IsSuccess returns true when this read service account o k response has a 2xx status code

func (*ReadServiceAccountOK) String

func (o *ReadServiceAccountOK) String() string

type ReadServiceAccountParams

type ReadServiceAccountParams struct {

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadServiceAccountParams contains all the parameters to send to the API endpoint

for the read service account operation.

Typically these are written to a http.Request.

func NewReadServiceAccountParams

func NewReadServiceAccountParams() *ReadServiceAccountParams

NewReadServiceAccountParams creates a new ReadServiceAccountParams 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 NewReadServiceAccountParamsWithContext

func NewReadServiceAccountParamsWithContext(ctx context.Context) *ReadServiceAccountParams

NewReadServiceAccountParamsWithContext creates a new ReadServiceAccountParams object with the ability to set a context for a request.

func NewReadServiceAccountParamsWithHTTPClient

func NewReadServiceAccountParamsWithHTTPClient(client *http.Client) *ReadServiceAccountParams

NewReadServiceAccountParamsWithHTTPClient creates a new ReadServiceAccountParams object with the ability to set a custom HTTPClient for a request.

func NewReadServiceAccountParamsWithTimeout

func NewReadServiceAccountParamsWithTimeout(timeout time.Duration) *ReadServiceAccountParams

NewReadServiceAccountParamsWithTimeout creates a new ReadServiceAccountParams object with the ability to set a timeout on a request.

func (*ReadServiceAccountParams) SetContext

func (o *ReadServiceAccountParams) SetContext(ctx context.Context)

SetContext adds the context to the read service account params

func (*ReadServiceAccountParams) SetDefaults

func (o *ReadServiceAccountParams) SetDefaults()

SetDefaults hydrates default values in the read service account params (not the query body).

All values with no default are reset to their zero value.

func (*ReadServiceAccountParams) SetHTTPClient

func (o *ReadServiceAccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the read service account params

func (*ReadServiceAccountParams) SetSlug

func (o *ReadServiceAccountParams) SetSlug(slug string)

SetSlug adds the slug to the read service account params

func (*ReadServiceAccountParams) SetTimeout

func (o *ReadServiceAccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the read service account params

func (*ReadServiceAccountParams) WithContext

WithContext adds the context to the read service account params

func (*ReadServiceAccountParams) WithDefaults

WithDefaults hydrates default values in the read service account params (not the query body).

All values with no default are reset to their zero value.

func (*ReadServiceAccountParams) WithHTTPClient

func (o *ReadServiceAccountParams) WithHTTPClient(client *http.Client) *ReadServiceAccountParams

WithHTTPClient adds the HTTPClient to the read service account params

func (*ReadServiceAccountParams) WithSlug

WithSlug adds the slug to the read service account params

func (*ReadServiceAccountParams) WithTimeout

WithTimeout adds the timeout to the read service account params

func (*ReadServiceAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadServiceAccountReader

type ReadServiceAccountReader struct {
	// contains filtered or unexported fields
}

ReadServiceAccountReader is a Reader for the ReadServiceAccount structure.

func (*ReadServiceAccountReader) ReadResponse

func (o *ReadServiceAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReadTeamDefault

type ReadTeamDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadTeamDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadTeamDefault

func NewReadTeamDefault(code int) *ReadTeamDefault

NewReadTeamDefault creates a ReadTeamDefault with default headers values

func (*ReadTeamDefault) Code

func (o *ReadTeamDefault) Code() int

Code gets the status code for the read team default response

func (*ReadTeamDefault) Error

func (o *ReadTeamDefault) Error() string

func (*ReadTeamDefault) GetPayload

func (o *ReadTeamDefault) GetPayload() models.GenericError

func (*ReadTeamDefault) IsClientError

func (o *ReadTeamDefault) IsClientError() bool

IsClientError returns true when this read team default response has a 4xx status code

func (*ReadTeamDefault) IsCode

func (o *ReadTeamDefault) IsCode(code int) bool

IsCode returns true when this read team default response a status code equal to that given

func (*ReadTeamDefault) IsRedirect

func (o *ReadTeamDefault) IsRedirect() bool

IsRedirect returns true when this read team default response has a 3xx status code

func (*ReadTeamDefault) IsServerError

func (o *ReadTeamDefault) IsServerError() bool

IsServerError returns true when this read team default response has a 5xx status code

func (*ReadTeamDefault) IsSuccess

func (o *ReadTeamDefault) IsSuccess() bool

IsSuccess returns true when this read team default response has a 2xx status code

func (*ReadTeamDefault) String

func (o *ReadTeamDefault) String() string

type ReadTeamInternalServerError

type ReadTeamInternalServerError struct {
	Payload *models.APIError
}

ReadTeamInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadTeamInternalServerError

func NewReadTeamInternalServerError() *ReadTeamInternalServerError

NewReadTeamInternalServerError creates a ReadTeamInternalServerError with default headers values

func (*ReadTeamInternalServerError) Code

func (o *ReadTeamInternalServerError) Code() int

Code gets the status code for the read team internal server error response

func (*ReadTeamInternalServerError) Error

func (*ReadTeamInternalServerError) GetPayload

func (o *ReadTeamInternalServerError) GetPayload() *models.APIError

func (*ReadTeamInternalServerError) IsClientError

func (o *ReadTeamInternalServerError) IsClientError() bool

IsClientError returns true when this read team internal server error response has a 4xx status code

func (*ReadTeamInternalServerError) IsCode

func (o *ReadTeamInternalServerError) IsCode(code int) bool

IsCode returns true when this read team internal server error response a status code equal to that given

func (*ReadTeamInternalServerError) IsRedirect

func (o *ReadTeamInternalServerError) IsRedirect() bool

IsRedirect returns true when this read team internal server error response has a 3xx status code

func (*ReadTeamInternalServerError) IsServerError

func (o *ReadTeamInternalServerError) IsServerError() bool

IsServerError returns true when this read team internal server error response has a 5xx status code

func (*ReadTeamInternalServerError) IsSuccess

func (o *ReadTeamInternalServerError) IsSuccess() bool

IsSuccess returns true when this read team internal server error response has a 2xx status code

func (*ReadTeamInternalServerError) String

func (o *ReadTeamInternalServerError) String() string

type ReadTeamNotFound

type ReadTeamNotFound struct {
	Payload *models.APIError
}

ReadTeamNotFound describes a response with status code 404, with default header values.

Cannot read the Team because the slug does not exist.

func NewReadTeamNotFound

func NewReadTeamNotFound() *ReadTeamNotFound

NewReadTeamNotFound creates a ReadTeamNotFound with default headers values

func (*ReadTeamNotFound) Code

func (o *ReadTeamNotFound) Code() int

Code gets the status code for the read team not found response

func (*ReadTeamNotFound) Error

func (o *ReadTeamNotFound) Error() string

func (*ReadTeamNotFound) GetPayload

func (o *ReadTeamNotFound) GetPayload() *models.APIError

func (*ReadTeamNotFound) IsClientError

func (o *ReadTeamNotFound) IsClientError() bool

IsClientError returns true when this read team not found response has a 4xx status code

func (*ReadTeamNotFound) IsCode

func (o *ReadTeamNotFound) IsCode(code int) bool

IsCode returns true when this read team not found response a status code equal to that given

func (*ReadTeamNotFound) IsRedirect

func (o *ReadTeamNotFound) IsRedirect() bool

IsRedirect returns true when this read team not found response has a 3xx status code

func (*ReadTeamNotFound) IsServerError

func (o *ReadTeamNotFound) IsServerError() bool

IsServerError returns true when this read team not found response has a 5xx status code

func (*ReadTeamNotFound) IsSuccess

func (o *ReadTeamNotFound) IsSuccess() bool

IsSuccess returns true when this read team not found response has a 2xx status code

func (*ReadTeamNotFound) String

func (o *ReadTeamNotFound) String() string

type ReadTeamOK

type ReadTeamOK struct {
	Payload *models.Configv1ReadTeamResponse
}

ReadTeamOK describes a response with status code 200, with default header values.

A successful response.

func NewReadTeamOK

func NewReadTeamOK() *ReadTeamOK

NewReadTeamOK creates a ReadTeamOK with default headers values

func (*ReadTeamOK) Code

func (o *ReadTeamOK) Code() int

Code gets the status code for the read team o k response

func (*ReadTeamOK) Error

func (o *ReadTeamOK) Error() string

func (*ReadTeamOK) GetPayload

func (o *ReadTeamOK) GetPayload() *models.Configv1ReadTeamResponse

func (*ReadTeamOK) IsClientError

func (o *ReadTeamOK) IsClientError() bool

IsClientError returns true when this read team o k response has a 4xx status code

func (*ReadTeamOK) IsCode

func (o *ReadTeamOK) IsCode(code int) bool

IsCode returns true when this read team o k response a status code equal to that given

func (*ReadTeamOK) IsRedirect

func (o *ReadTeamOK) IsRedirect() bool

IsRedirect returns true when this read team o k response has a 3xx status code

func (*ReadTeamOK) IsServerError

func (o *ReadTeamOK) IsServerError() bool

IsServerError returns true when this read team o k response has a 5xx status code

func (*ReadTeamOK) IsSuccess

func (o *ReadTeamOK) IsSuccess() bool

IsSuccess returns true when this read team o k response has a 2xx status code

func (*ReadTeamOK) String

func (o *ReadTeamOK) String() string

type ReadTeamParams

type ReadTeamParams struct {

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadTeamParams contains all the parameters to send to the API endpoint

for the read team operation.

Typically these are written to a http.Request.

func NewReadTeamParams

func NewReadTeamParams() *ReadTeamParams

NewReadTeamParams creates a new ReadTeamParams 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 NewReadTeamParamsWithContext

func NewReadTeamParamsWithContext(ctx context.Context) *ReadTeamParams

NewReadTeamParamsWithContext creates a new ReadTeamParams object with the ability to set a context for a request.

func NewReadTeamParamsWithHTTPClient

func NewReadTeamParamsWithHTTPClient(client *http.Client) *ReadTeamParams

NewReadTeamParamsWithHTTPClient creates a new ReadTeamParams object with the ability to set a custom HTTPClient for a request.

func NewReadTeamParamsWithTimeout

func NewReadTeamParamsWithTimeout(timeout time.Duration) *ReadTeamParams

NewReadTeamParamsWithTimeout creates a new ReadTeamParams object with the ability to set a timeout on a request.

func (*ReadTeamParams) SetContext

func (o *ReadTeamParams) SetContext(ctx context.Context)

SetContext adds the context to the read team params

func (*ReadTeamParams) SetDefaults

func (o *ReadTeamParams) SetDefaults()

SetDefaults hydrates default values in the read team params (not the query body).

All values with no default are reset to their zero value.

func (*ReadTeamParams) SetHTTPClient

func (o *ReadTeamParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the read team params

func (*ReadTeamParams) SetSlug

func (o *ReadTeamParams) SetSlug(slug string)

SetSlug adds the slug to the read team params

func (*ReadTeamParams) SetTimeout

func (o *ReadTeamParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the read team params

func (*ReadTeamParams) WithContext

func (o *ReadTeamParams) WithContext(ctx context.Context) *ReadTeamParams

WithContext adds the context to the read team params

func (*ReadTeamParams) WithDefaults

func (o *ReadTeamParams) WithDefaults() *ReadTeamParams

WithDefaults hydrates default values in the read team params (not the query body).

All values with no default are reset to their zero value.

func (*ReadTeamParams) WithHTTPClient

func (o *ReadTeamParams) WithHTTPClient(client *http.Client) *ReadTeamParams

WithHTTPClient adds the HTTPClient to the read team params

func (*ReadTeamParams) WithSlug

func (o *ReadTeamParams) WithSlug(slug string) *ReadTeamParams

WithSlug adds the slug to the read team params

func (*ReadTeamParams) WithTimeout

func (o *ReadTeamParams) WithTimeout(timeout time.Duration) *ReadTeamParams

WithTimeout adds the timeout to the read team params

func (*ReadTeamParams) WriteToRequest

func (o *ReadTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReadTeamReader

type ReadTeamReader struct {
	// contains filtered or unexported fields
}

ReadTeamReader is a Reader for the ReadTeam structure.

func (*ReadTeamReader) ReadResponse

func (o *ReadTeamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateBucketBadRequest

type UpdateBucketBadRequest struct {
	Payload *models.APIError
}

UpdateBucketBadRequest describes a response with status code 400, with default header values.

Cannot update the Bucket because the request is invalid.

func NewUpdateBucketBadRequest

func NewUpdateBucketBadRequest() *UpdateBucketBadRequest

NewUpdateBucketBadRequest creates a UpdateBucketBadRequest with default headers values

func (*UpdateBucketBadRequest) Code

func (o *UpdateBucketBadRequest) Code() int

Code gets the status code for the update bucket bad request response

func (*UpdateBucketBadRequest) Error

func (o *UpdateBucketBadRequest) Error() string

func (*UpdateBucketBadRequest) GetPayload

func (o *UpdateBucketBadRequest) GetPayload() *models.APIError

func (*UpdateBucketBadRequest) IsClientError

func (o *UpdateBucketBadRequest) IsClientError() bool

IsClientError returns true when this update bucket bad request response has a 4xx status code

func (*UpdateBucketBadRequest) IsCode

func (o *UpdateBucketBadRequest) IsCode(code int) bool

IsCode returns true when this update bucket bad request response a status code equal to that given

func (*UpdateBucketBadRequest) IsRedirect

func (o *UpdateBucketBadRequest) IsRedirect() bool

IsRedirect returns true when this update bucket bad request response has a 3xx status code

func (*UpdateBucketBadRequest) IsServerError

func (o *UpdateBucketBadRequest) IsServerError() bool

IsServerError returns true when this update bucket bad request response has a 5xx status code

func (*UpdateBucketBadRequest) IsSuccess

func (o *UpdateBucketBadRequest) IsSuccess() bool

IsSuccess returns true when this update bucket bad request response has a 2xx status code

func (*UpdateBucketBadRequest) String

func (o *UpdateBucketBadRequest) String() string

type UpdateBucketBody

type UpdateBucketBody struct {

	// bucket
	Bucket *models.Configv1Bucket `json:"bucket,omitempty"`

	// If true, the Bucket will be created if it does not already exist, identified by slug. If false, an error will be returned if the Bucket does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the Bucket will not be created nor updated, and no response Bucket will be returned. The response will return an error if the given Bucket is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

UpdateBucketBody update bucket body swagger:model UpdateBucketBody

func (*UpdateBucketBody) ContextValidate

func (o *UpdateBucketBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update bucket body based on the context it is used

func (*UpdateBucketBody) MarshalBinary

func (o *UpdateBucketBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateBucketBody) UnmarshalBinary

func (o *UpdateBucketBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateBucketBody) Validate

func (o *UpdateBucketBody) Validate(formats strfmt.Registry) error

Validate validates this update bucket body

type UpdateBucketConflict

type UpdateBucketConflict struct {
	Payload *models.APIError
}

UpdateBucketConflict describes a response with status code 409, with default header values.

Cannot update the Bucket because there is a conflict with an existing Bucket.

func NewUpdateBucketConflict

func NewUpdateBucketConflict() *UpdateBucketConflict

NewUpdateBucketConflict creates a UpdateBucketConflict with default headers values

func (*UpdateBucketConflict) Code

func (o *UpdateBucketConflict) Code() int

Code gets the status code for the update bucket conflict response

func (*UpdateBucketConflict) Error

func (o *UpdateBucketConflict) Error() string

func (*UpdateBucketConflict) GetPayload

func (o *UpdateBucketConflict) GetPayload() *models.APIError

func (*UpdateBucketConflict) IsClientError

func (o *UpdateBucketConflict) IsClientError() bool

IsClientError returns true when this update bucket conflict response has a 4xx status code

func (*UpdateBucketConflict) IsCode

func (o *UpdateBucketConflict) IsCode(code int) bool

IsCode returns true when this update bucket conflict response a status code equal to that given

func (*UpdateBucketConflict) IsRedirect

func (o *UpdateBucketConflict) IsRedirect() bool

IsRedirect returns true when this update bucket conflict response has a 3xx status code

func (*UpdateBucketConflict) IsServerError

func (o *UpdateBucketConflict) IsServerError() bool

IsServerError returns true when this update bucket conflict response has a 5xx status code

func (*UpdateBucketConflict) IsSuccess

func (o *UpdateBucketConflict) IsSuccess() bool

IsSuccess returns true when this update bucket conflict response has a 2xx status code

func (*UpdateBucketConflict) String

func (o *UpdateBucketConflict) String() string

type UpdateBucketDefault

type UpdateBucketDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateBucketDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateBucketDefault

func NewUpdateBucketDefault(code int) *UpdateBucketDefault

NewUpdateBucketDefault creates a UpdateBucketDefault with default headers values

func (*UpdateBucketDefault) Code

func (o *UpdateBucketDefault) Code() int

Code gets the status code for the update bucket default response

func (*UpdateBucketDefault) Error

func (o *UpdateBucketDefault) Error() string

func (*UpdateBucketDefault) GetPayload

func (o *UpdateBucketDefault) GetPayload() models.GenericError

func (*UpdateBucketDefault) IsClientError

func (o *UpdateBucketDefault) IsClientError() bool

IsClientError returns true when this update bucket default response has a 4xx status code

func (*UpdateBucketDefault) IsCode

func (o *UpdateBucketDefault) IsCode(code int) bool

IsCode returns true when this update bucket default response a status code equal to that given

func (*UpdateBucketDefault) IsRedirect

func (o *UpdateBucketDefault) IsRedirect() bool

IsRedirect returns true when this update bucket default response has a 3xx status code

func (*UpdateBucketDefault) IsServerError

func (o *UpdateBucketDefault) IsServerError() bool

IsServerError returns true when this update bucket default response has a 5xx status code

func (*UpdateBucketDefault) IsSuccess

func (o *UpdateBucketDefault) IsSuccess() bool

IsSuccess returns true when this update bucket default response has a 2xx status code

func (*UpdateBucketDefault) String

func (o *UpdateBucketDefault) String() string

type UpdateBucketInternalServerError

type UpdateBucketInternalServerError struct {
	Payload *models.APIError
}

UpdateBucketInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateBucketInternalServerError

func NewUpdateBucketInternalServerError() *UpdateBucketInternalServerError

NewUpdateBucketInternalServerError creates a UpdateBucketInternalServerError with default headers values

func (*UpdateBucketInternalServerError) Code

Code gets the status code for the update bucket internal server error response

func (*UpdateBucketInternalServerError) Error

func (*UpdateBucketInternalServerError) GetPayload

func (*UpdateBucketInternalServerError) IsClientError

func (o *UpdateBucketInternalServerError) IsClientError() bool

IsClientError returns true when this update bucket internal server error response has a 4xx status code

func (*UpdateBucketInternalServerError) IsCode

func (o *UpdateBucketInternalServerError) IsCode(code int) bool

IsCode returns true when this update bucket internal server error response a status code equal to that given

func (*UpdateBucketInternalServerError) IsRedirect

func (o *UpdateBucketInternalServerError) IsRedirect() bool

IsRedirect returns true when this update bucket internal server error response has a 3xx status code

func (*UpdateBucketInternalServerError) IsServerError

func (o *UpdateBucketInternalServerError) IsServerError() bool

IsServerError returns true when this update bucket internal server error response has a 5xx status code

func (*UpdateBucketInternalServerError) IsSuccess

func (o *UpdateBucketInternalServerError) IsSuccess() bool

IsSuccess returns true when this update bucket internal server error response has a 2xx status code

func (*UpdateBucketInternalServerError) String

type UpdateBucketNotFound

type UpdateBucketNotFound struct {
	Payload *models.APIError
}

UpdateBucketNotFound describes a response with status code 404, with default header values.

Cannot update the Bucket because the slug does not exist.

func NewUpdateBucketNotFound

func NewUpdateBucketNotFound() *UpdateBucketNotFound

NewUpdateBucketNotFound creates a UpdateBucketNotFound with default headers values

func (*UpdateBucketNotFound) Code

func (o *UpdateBucketNotFound) Code() int

Code gets the status code for the update bucket not found response

func (*UpdateBucketNotFound) Error

func (o *UpdateBucketNotFound) Error() string

func (*UpdateBucketNotFound) GetPayload

func (o *UpdateBucketNotFound) GetPayload() *models.APIError

func (*UpdateBucketNotFound) IsClientError

func (o *UpdateBucketNotFound) IsClientError() bool

IsClientError returns true when this update bucket not found response has a 4xx status code

func (*UpdateBucketNotFound) IsCode

func (o *UpdateBucketNotFound) IsCode(code int) bool

IsCode returns true when this update bucket not found response a status code equal to that given

func (*UpdateBucketNotFound) IsRedirect

func (o *UpdateBucketNotFound) IsRedirect() bool

IsRedirect returns true when this update bucket not found response has a 3xx status code

func (*UpdateBucketNotFound) IsServerError

func (o *UpdateBucketNotFound) IsServerError() bool

IsServerError returns true when this update bucket not found response has a 5xx status code

func (*UpdateBucketNotFound) IsSuccess

func (o *UpdateBucketNotFound) IsSuccess() bool

IsSuccess returns true when this update bucket not found response has a 2xx status code

func (*UpdateBucketNotFound) String

func (o *UpdateBucketNotFound) String() string

type UpdateBucketOK

type UpdateBucketOK struct {
	Payload *models.Configv1UpdateBucketResponse
}

UpdateBucketOK describes a response with status code 200, with default header values.

A successful response containing the updated Bucket.

func NewUpdateBucketOK

func NewUpdateBucketOK() *UpdateBucketOK

NewUpdateBucketOK creates a UpdateBucketOK with default headers values

func (*UpdateBucketOK) Code

func (o *UpdateBucketOK) Code() int

Code gets the status code for the update bucket o k response

func (*UpdateBucketOK) Error

func (o *UpdateBucketOK) Error() string

func (*UpdateBucketOK) GetPayload

func (*UpdateBucketOK) IsClientError

func (o *UpdateBucketOK) IsClientError() bool

IsClientError returns true when this update bucket o k response has a 4xx status code

func (*UpdateBucketOK) IsCode

func (o *UpdateBucketOK) IsCode(code int) bool

IsCode returns true when this update bucket o k response a status code equal to that given

func (*UpdateBucketOK) IsRedirect

func (o *UpdateBucketOK) IsRedirect() bool

IsRedirect returns true when this update bucket o k response has a 3xx status code

func (*UpdateBucketOK) IsServerError

func (o *UpdateBucketOK) IsServerError() bool

IsServerError returns true when this update bucket o k response has a 5xx status code

func (*UpdateBucketOK) IsSuccess

func (o *UpdateBucketOK) IsSuccess() bool

IsSuccess returns true when this update bucket o k response has a 2xx status code

func (*UpdateBucketOK) String

func (o *UpdateBucketOK) String() string

type UpdateBucketParams

type UpdateBucketParams struct {

	// Body.
	Body UpdateBucketBody

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateBucketParams contains all the parameters to send to the API endpoint

for the update bucket operation.

Typically these are written to a http.Request.

func NewUpdateBucketParams

func NewUpdateBucketParams() *UpdateBucketParams

NewUpdateBucketParams creates a new UpdateBucketParams 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 NewUpdateBucketParamsWithContext

func NewUpdateBucketParamsWithContext(ctx context.Context) *UpdateBucketParams

NewUpdateBucketParamsWithContext creates a new UpdateBucketParams object with the ability to set a context for a request.

func NewUpdateBucketParamsWithHTTPClient

func NewUpdateBucketParamsWithHTTPClient(client *http.Client) *UpdateBucketParams

NewUpdateBucketParamsWithHTTPClient creates a new UpdateBucketParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateBucketParamsWithTimeout

func NewUpdateBucketParamsWithTimeout(timeout time.Duration) *UpdateBucketParams

NewUpdateBucketParamsWithTimeout creates a new UpdateBucketParams object with the ability to set a timeout on a request.

func (*UpdateBucketParams) SetBody

func (o *UpdateBucketParams) SetBody(body UpdateBucketBody)

SetBody adds the body to the update bucket params

func (*UpdateBucketParams) SetContext

func (o *UpdateBucketParams) SetContext(ctx context.Context)

SetContext adds the context to the update bucket params

func (*UpdateBucketParams) SetDefaults

func (o *UpdateBucketParams) SetDefaults()

SetDefaults hydrates default values in the update bucket params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateBucketParams) SetHTTPClient

func (o *UpdateBucketParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update bucket params

func (*UpdateBucketParams) SetSlug

func (o *UpdateBucketParams) SetSlug(slug string)

SetSlug adds the slug to the update bucket params

func (*UpdateBucketParams) SetTimeout

func (o *UpdateBucketParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update bucket params

func (*UpdateBucketParams) WithBody

WithBody adds the body to the update bucket params

func (*UpdateBucketParams) WithContext

WithContext adds the context to the update bucket params

func (*UpdateBucketParams) WithDefaults

func (o *UpdateBucketParams) WithDefaults() *UpdateBucketParams

WithDefaults hydrates default values in the update bucket params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateBucketParams) WithHTTPClient

func (o *UpdateBucketParams) WithHTTPClient(client *http.Client) *UpdateBucketParams

WithHTTPClient adds the HTTPClient to the update bucket params

func (*UpdateBucketParams) WithSlug

func (o *UpdateBucketParams) WithSlug(slug string) *UpdateBucketParams

WithSlug adds the slug to the update bucket params

func (*UpdateBucketParams) WithTimeout

func (o *UpdateBucketParams) WithTimeout(timeout time.Duration) *UpdateBucketParams

WithTimeout adds the timeout to the update bucket params

func (*UpdateBucketParams) WriteToRequest

func (o *UpdateBucketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateBucketReader

type UpdateBucketReader struct {
	// contains filtered or unexported fields
}

UpdateBucketReader is a Reader for the UpdateBucket structure.

func (*UpdateBucketReader) ReadResponse

func (o *UpdateBucketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateClassicDashboardBadRequest

type UpdateClassicDashboardBadRequest struct {
	Payload *models.APIError
}

UpdateClassicDashboardBadRequest describes a response with status code 400, with default header values.

Cannot update the GrafanaDashboard because the request is invalid.

func NewUpdateClassicDashboardBadRequest

func NewUpdateClassicDashboardBadRequest() *UpdateClassicDashboardBadRequest

NewUpdateClassicDashboardBadRequest creates a UpdateClassicDashboardBadRequest with default headers values

func (*UpdateClassicDashboardBadRequest) Code

Code gets the status code for the update classic dashboard bad request response

func (*UpdateClassicDashboardBadRequest) Error

func (*UpdateClassicDashboardBadRequest) GetPayload

func (*UpdateClassicDashboardBadRequest) IsClientError

func (o *UpdateClassicDashboardBadRequest) IsClientError() bool

IsClientError returns true when this update classic dashboard bad request response has a 4xx status code

func (*UpdateClassicDashboardBadRequest) IsCode

func (o *UpdateClassicDashboardBadRequest) IsCode(code int) bool

IsCode returns true when this update classic dashboard bad request response a status code equal to that given

func (*UpdateClassicDashboardBadRequest) IsRedirect

func (o *UpdateClassicDashboardBadRequest) IsRedirect() bool

IsRedirect returns true when this update classic dashboard bad request response has a 3xx status code

func (*UpdateClassicDashboardBadRequest) IsServerError

func (o *UpdateClassicDashboardBadRequest) IsServerError() bool

IsServerError returns true when this update classic dashboard bad request response has a 5xx status code

func (*UpdateClassicDashboardBadRequest) IsSuccess

func (o *UpdateClassicDashboardBadRequest) IsSuccess() bool

IsSuccess returns true when this update classic dashboard bad request response has a 2xx status code

func (*UpdateClassicDashboardBadRequest) String

type UpdateClassicDashboardBody

type UpdateClassicDashboardBody struct {

	// classic dashboard
	ClassicDashboard *models.Configv1GrafanaDashboard `json:"classic_dashboard,omitempty"`

	// If true, the GrafanaDashboard will be created if it does not already exist, identified by slug. If false, an error will be returned if the GrafanaDashboard does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the GrafanaDashboard will not be created nor updated, and no response GrafanaDashboard will be returned. The response will return an error if the given GrafanaDashboard is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

UpdateClassicDashboardBody update classic dashboard body swagger:model UpdateClassicDashboardBody

func (*UpdateClassicDashboardBody) ContextValidate

func (o *UpdateClassicDashboardBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update classic dashboard body based on the context it is used

func (*UpdateClassicDashboardBody) MarshalBinary

func (o *UpdateClassicDashboardBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateClassicDashboardBody) UnmarshalBinary

func (o *UpdateClassicDashboardBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateClassicDashboardBody) Validate

func (o *UpdateClassicDashboardBody) Validate(formats strfmt.Registry) error

Validate validates this update classic dashboard body

type UpdateClassicDashboardConflict

type UpdateClassicDashboardConflict struct {
	Payload *models.APIError
}

UpdateClassicDashboardConflict describes a response with status code 409, with default header values.

Cannot update the GrafanaDashboard because there is a conflict with an existing GrafanaDashboard.

func NewUpdateClassicDashboardConflict

func NewUpdateClassicDashboardConflict() *UpdateClassicDashboardConflict

NewUpdateClassicDashboardConflict creates a UpdateClassicDashboardConflict with default headers values

func (*UpdateClassicDashboardConflict) Code

Code gets the status code for the update classic dashboard conflict response

func (*UpdateClassicDashboardConflict) Error

func (*UpdateClassicDashboardConflict) GetPayload

func (*UpdateClassicDashboardConflict) IsClientError

func (o *UpdateClassicDashboardConflict) IsClientError() bool

IsClientError returns true when this update classic dashboard conflict response has a 4xx status code

func (*UpdateClassicDashboardConflict) IsCode

func (o *UpdateClassicDashboardConflict) IsCode(code int) bool

IsCode returns true when this update classic dashboard conflict response a status code equal to that given

func (*UpdateClassicDashboardConflict) IsRedirect

func (o *UpdateClassicDashboardConflict) IsRedirect() bool

IsRedirect returns true when this update classic dashboard conflict response has a 3xx status code

func (*UpdateClassicDashboardConflict) IsServerError

func (o *UpdateClassicDashboardConflict) IsServerError() bool

IsServerError returns true when this update classic dashboard conflict response has a 5xx status code

func (*UpdateClassicDashboardConflict) IsSuccess

func (o *UpdateClassicDashboardConflict) IsSuccess() bool

IsSuccess returns true when this update classic dashboard conflict response has a 2xx status code

func (*UpdateClassicDashboardConflict) String

type UpdateClassicDashboardDefault

type UpdateClassicDashboardDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateClassicDashboardDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateClassicDashboardDefault

func NewUpdateClassicDashboardDefault(code int) *UpdateClassicDashboardDefault

NewUpdateClassicDashboardDefault creates a UpdateClassicDashboardDefault with default headers values

func (*UpdateClassicDashboardDefault) Code

Code gets the status code for the update classic dashboard default response

func (*UpdateClassicDashboardDefault) Error

func (*UpdateClassicDashboardDefault) GetPayload

func (*UpdateClassicDashboardDefault) IsClientError

func (o *UpdateClassicDashboardDefault) IsClientError() bool

IsClientError returns true when this update classic dashboard default response has a 4xx status code

func (*UpdateClassicDashboardDefault) IsCode

func (o *UpdateClassicDashboardDefault) IsCode(code int) bool

IsCode returns true when this update classic dashboard default response a status code equal to that given

func (*UpdateClassicDashboardDefault) IsRedirect

func (o *UpdateClassicDashboardDefault) IsRedirect() bool

IsRedirect returns true when this update classic dashboard default response has a 3xx status code

func (*UpdateClassicDashboardDefault) IsServerError

func (o *UpdateClassicDashboardDefault) IsServerError() bool

IsServerError returns true when this update classic dashboard default response has a 5xx status code

func (*UpdateClassicDashboardDefault) IsSuccess

func (o *UpdateClassicDashboardDefault) IsSuccess() bool

IsSuccess returns true when this update classic dashboard default response has a 2xx status code

func (*UpdateClassicDashboardDefault) String

type UpdateClassicDashboardInternalServerError

type UpdateClassicDashboardInternalServerError struct {
	Payload *models.APIError
}

UpdateClassicDashboardInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateClassicDashboardInternalServerError

func NewUpdateClassicDashboardInternalServerError() *UpdateClassicDashboardInternalServerError

NewUpdateClassicDashboardInternalServerError creates a UpdateClassicDashboardInternalServerError with default headers values

func (*UpdateClassicDashboardInternalServerError) Code

Code gets the status code for the update classic dashboard internal server error response

func (*UpdateClassicDashboardInternalServerError) Error

func (*UpdateClassicDashboardInternalServerError) GetPayload

func (*UpdateClassicDashboardInternalServerError) IsClientError

IsClientError returns true when this update classic dashboard internal server error response has a 4xx status code

func (*UpdateClassicDashboardInternalServerError) IsCode

IsCode returns true when this update classic dashboard internal server error response a status code equal to that given

func (*UpdateClassicDashboardInternalServerError) IsRedirect

IsRedirect returns true when this update classic dashboard internal server error response has a 3xx status code

func (*UpdateClassicDashboardInternalServerError) IsServerError

IsServerError returns true when this update classic dashboard internal server error response has a 5xx status code

func (*UpdateClassicDashboardInternalServerError) IsSuccess

IsSuccess returns true when this update classic dashboard internal server error response has a 2xx status code

func (*UpdateClassicDashboardInternalServerError) String

type UpdateClassicDashboardNotFound

type UpdateClassicDashboardNotFound struct {
	Payload *models.APIError
}

UpdateClassicDashboardNotFound describes a response with status code 404, with default header values.

Cannot update the GrafanaDashboard because the slug does not exist.

func NewUpdateClassicDashboardNotFound

func NewUpdateClassicDashboardNotFound() *UpdateClassicDashboardNotFound

NewUpdateClassicDashboardNotFound creates a UpdateClassicDashboardNotFound with default headers values

func (*UpdateClassicDashboardNotFound) Code

Code gets the status code for the update classic dashboard not found response

func (*UpdateClassicDashboardNotFound) Error

func (*UpdateClassicDashboardNotFound) GetPayload

func (*UpdateClassicDashboardNotFound) IsClientError

func (o *UpdateClassicDashboardNotFound) IsClientError() bool

IsClientError returns true when this update classic dashboard not found response has a 4xx status code

func (*UpdateClassicDashboardNotFound) IsCode

func (o *UpdateClassicDashboardNotFound) IsCode(code int) bool

IsCode returns true when this update classic dashboard not found response a status code equal to that given

func (*UpdateClassicDashboardNotFound) IsRedirect

func (o *UpdateClassicDashboardNotFound) IsRedirect() bool

IsRedirect returns true when this update classic dashboard not found response has a 3xx status code

func (*UpdateClassicDashboardNotFound) IsServerError

func (o *UpdateClassicDashboardNotFound) IsServerError() bool

IsServerError returns true when this update classic dashboard not found response has a 5xx status code

func (*UpdateClassicDashboardNotFound) IsSuccess

func (o *UpdateClassicDashboardNotFound) IsSuccess() bool

IsSuccess returns true when this update classic dashboard not found response has a 2xx status code

func (*UpdateClassicDashboardNotFound) String

type UpdateClassicDashboardOK

type UpdateClassicDashboardOK struct {
	Payload *models.Configv1UpdateClassicDashboardResponse
}

UpdateClassicDashboardOK describes a response with status code 200, with default header values.

A successful response containing the updated GrafanaDashboard.

func NewUpdateClassicDashboardOK

func NewUpdateClassicDashboardOK() *UpdateClassicDashboardOK

NewUpdateClassicDashboardOK creates a UpdateClassicDashboardOK with default headers values

func (*UpdateClassicDashboardOK) Code

func (o *UpdateClassicDashboardOK) Code() int

Code gets the status code for the update classic dashboard o k response

func (*UpdateClassicDashboardOK) Error

func (o *UpdateClassicDashboardOK) Error() string

func (*UpdateClassicDashboardOK) GetPayload

func (*UpdateClassicDashboardOK) IsClientError

func (o *UpdateClassicDashboardOK) IsClientError() bool

IsClientError returns true when this update classic dashboard o k response has a 4xx status code

func (*UpdateClassicDashboardOK) IsCode

func (o *UpdateClassicDashboardOK) IsCode(code int) bool

IsCode returns true when this update classic dashboard o k response a status code equal to that given

func (*UpdateClassicDashboardOK) IsRedirect

func (o *UpdateClassicDashboardOK) IsRedirect() bool

IsRedirect returns true when this update classic dashboard o k response has a 3xx status code

func (*UpdateClassicDashboardOK) IsServerError

func (o *UpdateClassicDashboardOK) IsServerError() bool

IsServerError returns true when this update classic dashboard o k response has a 5xx status code

func (*UpdateClassicDashboardOK) IsSuccess

func (o *UpdateClassicDashboardOK) IsSuccess() bool

IsSuccess returns true when this update classic dashboard o k response has a 2xx status code

func (*UpdateClassicDashboardOK) String

func (o *UpdateClassicDashboardOK) String() string

type UpdateClassicDashboardParams

type UpdateClassicDashboardParams struct {

	// Body.
	Body UpdateClassicDashboardBody

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateClassicDashboardParams contains all the parameters to send to the API endpoint

for the update classic dashboard operation.

Typically these are written to a http.Request.

func NewUpdateClassicDashboardParams

func NewUpdateClassicDashboardParams() *UpdateClassicDashboardParams

NewUpdateClassicDashboardParams creates a new UpdateClassicDashboardParams 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 NewUpdateClassicDashboardParamsWithContext

func NewUpdateClassicDashboardParamsWithContext(ctx context.Context) *UpdateClassicDashboardParams

NewUpdateClassicDashboardParamsWithContext creates a new UpdateClassicDashboardParams object with the ability to set a context for a request.

func NewUpdateClassicDashboardParamsWithHTTPClient

func NewUpdateClassicDashboardParamsWithHTTPClient(client *http.Client) *UpdateClassicDashboardParams

NewUpdateClassicDashboardParamsWithHTTPClient creates a new UpdateClassicDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateClassicDashboardParamsWithTimeout

func NewUpdateClassicDashboardParamsWithTimeout(timeout time.Duration) *UpdateClassicDashboardParams

NewUpdateClassicDashboardParamsWithTimeout creates a new UpdateClassicDashboardParams object with the ability to set a timeout on a request.

func (*UpdateClassicDashboardParams) SetBody

SetBody adds the body to the update classic dashboard params

func (*UpdateClassicDashboardParams) SetContext

func (o *UpdateClassicDashboardParams) SetContext(ctx context.Context)

SetContext adds the context to the update classic dashboard params

func (*UpdateClassicDashboardParams) SetDefaults

func (o *UpdateClassicDashboardParams) SetDefaults()

SetDefaults hydrates default values in the update classic dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateClassicDashboardParams) SetHTTPClient

func (o *UpdateClassicDashboardParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update classic dashboard params

func (*UpdateClassicDashboardParams) SetSlug

func (o *UpdateClassicDashboardParams) SetSlug(slug string)

SetSlug adds the slug to the update classic dashboard params

func (*UpdateClassicDashboardParams) SetTimeout

func (o *UpdateClassicDashboardParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update classic dashboard params

func (*UpdateClassicDashboardParams) WithBody

WithBody adds the body to the update classic dashboard params

func (*UpdateClassicDashboardParams) WithContext

WithContext adds the context to the update classic dashboard params

func (*UpdateClassicDashboardParams) WithDefaults

WithDefaults hydrates default values in the update classic dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateClassicDashboardParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update classic dashboard params

func (*UpdateClassicDashboardParams) WithSlug

WithSlug adds the slug to the update classic dashboard params

func (*UpdateClassicDashboardParams) WithTimeout

WithTimeout adds the timeout to the update classic dashboard params

func (*UpdateClassicDashboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateClassicDashboardReader

type UpdateClassicDashboardReader struct {
	// contains filtered or unexported fields
}

UpdateClassicDashboardReader is a Reader for the UpdateClassicDashboard structure.

func (*UpdateClassicDashboardReader) ReadResponse

func (o *UpdateClassicDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateCollectionBadRequest

type UpdateCollectionBadRequest struct {
	Payload *models.APIError
}

UpdateCollectionBadRequest describes a response with status code 400, with default header values.

Cannot update the Collection because the request is invalid.

func NewUpdateCollectionBadRequest

func NewUpdateCollectionBadRequest() *UpdateCollectionBadRequest

NewUpdateCollectionBadRequest creates a UpdateCollectionBadRequest with default headers values

func (*UpdateCollectionBadRequest) Code

func (o *UpdateCollectionBadRequest) Code() int

Code gets the status code for the update collection bad request response

func (*UpdateCollectionBadRequest) Error

func (*UpdateCollectionBadRequest) GetPayload

func (o *UpdateCollectionBadRequest) GetPayload() *models.APIError

func (*UpdateCollectionBadRequest) IsClientError

func (o *UpdateCollectionBadRequest) IsClientError() bool

IsClientError returns true when this update collection bad request response has a 4xx status code

func (*UpdateCollectionBadRequest) IsCode

func (o *UpdateCollectionBadRequest) IsCode(code int) bool

IsCode returns true when this update collection bad request response a status code equal to that given

func (*UpdateCollectionBadRequest) IsRedirect

func (o *UpdateCollectionBadRequest) IsRedirect() bool

IsRedirect returns true when this update collection bad request response has a 3xx status code

func (*UpdateCollectionBadRequest) IsServerError

func (o *UpdateCollectionBadRequest) IsServerError() bool

IsServerError returns true when this update collection bad request response has a 5xx status code

func (*UpdateCollectionBadRequest) IsSuccess

func (o *UpdateCollectionBadRequest) IsSuccess() bool

IsSuccess returns true when this update collection bad request response has a 2xx status code

func (*UpdateCollectionBadRequest) String

func (o *UpdateCollectionBadRequest) String() string

type UpdateCollectionBody

type UpdateCollectionBody struct {

	// collection
	Collection *models.Configv1Collection `json:"collection,omitempty"`

	// If true, the Collection will be created if it does not already exist, identified by slug. If false, an error will be returned if the Collection does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the Collection will not be created nor updated, and no response Collection will be returned. The response will return an error if the given Collection is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

UpdateCollectionBody update collection body swagger:model UpdateCollectionBody

func (*UpdateCollectionBody) ContextValidate

func (o *UpdateCollectionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update collection body based on the context it is used

func (*UpdateCollectionBody) MarshalBinary

func (o *UpdateCollectionBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateCollectionBody) UnmarshalBinary

func (o *UpdateCollectionBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateCollectionBody) Validate

func (o *UpdateCollectionBody) Validate(formats strfmt.Registry) error

Validate validates this update collection body

type UpdateCollectionConflict

type UpdateCollectionConflict struct {
	Payload *models.APIError
}

UpdateCollectionConflict describes a response with status code 409, with default header values.

Cannot update the Collection because there is a conflict with an existing Collection.

func NewUpdateCollectionConflict

func NewUpdateCollectionConflict() *UpdateCollectionConflict

NewUpdateCollectionConflict creates a UpdateCollectionConflict with default headers values

func (*UpdateCollectionConflict) Code

func (o *UpdateCollectionConflict) Code() int

Code gets the status code for the update collection conflict response

func (*UpdateCollectionConflict) Error

func (o *UpdateCollectionConflict) Error() string

func (*UpdateCollectionConflict) GetPayload

func (o *UpdateCollectionConflict) GetPayload() *models.APIError

func (*UpdateCollectionConflict) IsClientError

func (o *UpdateCollectionConflict) IsClientError() bool

IsClientError returns true when this update collection conflict response has a 4xx status code

func (*UpdateCollectionConflict) IsCode

func (o *UpdateCollectionConflict) IsCode(code int) bool

IsCode returns true when this update collection conflict response a status code equal to that given

func (*UpdateCollectionConflict) IsRedirect

func (o *UpdateCollectionConflict) IsRedirect() bool

IsRedirect returns true when this update collection conflict response has a 3xx status code

func (*UpdateCollectionConflict) IsServerError

func (o *UpdateCollectionConflict) IsServerError() bool

IsServerError returns true when this update collection conflict response has a 5xx status code

func (*UpdateCollectionConflict) IsSuccess

func (o *UpdateCollectionConflict) IsSuccess() bool

IsSuccess returns true when this update collection conflict response has a 2xx status code

func (*UpdateCollectionConflict) String

func (o *UpdateCollectionConflict) String() string

type UpdateCollectionDefault

type UpdateCollectionDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateCollectionDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateCollectionDefault

func NewUpdateCollectionDefault(code int) *UpdateCollectionDefault

NewUpdateCollectionDefault creates a UpdateCollectionDefault with default headers values

func (*UpdateCollectionDefault) Code

func (o *UpdateCollectionDefault) Code() int

Code gets the status code for the update collection default response

func (*UpdateCollectionDefault) Error

func (o *UpdateCollectionDefault) Error() string

func (*UpdateCollectionDefault) GetPayload

func (*UpdateCollectionDefault) IsClientError

func (o *UpdateCollectionDefault) IsClientError() bool

IsClientError returns true when this update collection default response has a 4xx status code

func (*UpdateCollectionDefault) IsCode

func (o *UpdateCollectionDefault) IsCode(code int) bool

IsCode returns true when this update collection default response a status code equal to that given

func (*UpdateCollectionDefault) IsRedirect

func (o *UpdateCollectionDefault) IsRedirect() bool

IsRedirect returns true when this update collection default response has a 3xx status code

func (*UpdateCollectionDefault) IsServerError

func (o *UpdateCollectionDefault) IsServerError() bool

IsServerError returns true when this update collection default response has a 5xx status code

func (*UpdateCollectionDefault) IsSuccess

func (o *UpdateCollectionDefault) IsSuccess() bool

IsSuccess returns true when this update collection default response has a 2xx status code

func (*UpdateCollectionDefault) String

func (o *UpdateCollectionDefault) String() string

type UpdateCollectionInternalServerError

type UpdateCollectionInternalServerError struct {
	Payload *models.APIError
}

UpdateCollectionInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateCollectionInternalServerError

func NewUpdateCollectionInternalServerError() *UpdateCollectionInternalServerError

NewUpdateCollectionInternalServerError creates a UpdateCollectionInternalServerError with default headers values

func (*UpdateCollectionInternalServerError) Code

Code gets the status code for the update collection internal server error response

func (*UpdateCollectionInternalServerError) Error

func (*UpdateCollectionInternalServerError) GetPayload

func (*UpdateCollectionInternalServerError) IsClientError

func (o *UpdateCollectionInternalServerError) IsClientError() bool

IsClientError returns true when this update collection internal server error response has a 4xx status code

func (*UpdateCollectionInternalServerError) IsCode

IsCode returns true when this update collection internal server error response a status code equal to that given

func (*UpdateCollectionInternalServerError) IsRedirect

func (o *UpdateCollectionInternalServerError) IsRedirect() bool

IsRedirect returns true when this update collection internal server error response has a 3xx status code

func (*UpdateCollectionInternalServerError) IsServerError

func (o *UpdateCollectionInternalServerError) IsServerError() bool

IsServerError returns true when this update collection internal server error response has a 5xx status code

func (*UpdateCollectionInternalServerError) IsSuccess

IsSuccess returns true when this update collection internal server error response has a 2xx status code

func (*UpdateCollectionInternalServerError) String

type UpdateCollectionNotFound

type UpdateCollectionNotFound struct {
	Payload *models.APIError
}

UpdateCollectionNotFound describes a response with status code 404, with default header values.

Cannot update the Collection because the slug does not exist.

func NewUpdateCollectionNotFound

func NewUpdateCollectionNotFound() *UpdateCollectionNotFound

NewUpdateCollectionNotFound creates a UpdateCollectionNotFound with default headers values

func (*UpdateCollectionNotFound) Code

func (o *UpdateCollectionNotFound) Code() int

Code gets the status code for the update collection not found response

func (*UpdateCollectionNotFound) Error

func (o *UpdateCollectionNotFound) Error() string

func (*UpdateCollectionNotFound) GetPayload

func (o *UpdateCollectionNotFound) GetPayload() *models.APIError

func (*UpdateCollectionNotFound) IsClientError

func (o *UpdateCollectionNotFound) IsClientError() bool

IsClientError returns true when this update collection not found response has a 4xx status code

func (*UpdateCollectionNotFound) IsCode

func (o *UpdateCollectionNotFound) IsCode(code int) bool

IsCode returns true when this update collection not found response a status code equal to that given

func (*UpdateCollectionNotFound) IsRedirect

func (o *UpdateCollectionNotFound) IsRedirect() bool

IsRedirect returns true when this update collection not found response has a 3xx status code

func (*UpdateCollectionNotFound) IsServerError

func (o *UpdateCollectionNotFound) IsServerError() bool

IsServerError returns true when this update collection not found response has a 5xx status code

func (*UpdateCollectionNotFound) IsSuccess

func (o *UpdateCollectionNotFound) IsSuccess() bool

IsSuccess returns true when this update collection not found response has a 2xx status code

func (*UpdateCollectionNotFound) String

func (o *UpdateCollectionNotFound) String() string

type UpdateCollectionOK

type UpdateCollectionOK struct {
	Payload *models.Configv1UpdateCollectionResponse
}

UpdateCollectionOK describes a response with status code 200, with default header values.

A successful response containing the updated Collection.

func NewUpdateCollectionOK

func NewUpdateCollectionOK() *UpdateCollectionOK

NewUpdateCollectionOK creates a UpdateCollectionOK with default headers values

func (*UpdateCollectionOK) Code

func (o *UpdateCollectionOK) Code() int

Code gets the status code for the update collection o k response

func (*UpdateCollectionOK) Error

func (o *UpdateCollectionOK) Error() string

func (*UpdateCollectionOK) GetPayload

func (*UpdateCollectionOK) IsClientError

func (o *UpdateCollectionOK) IsClientError() bool

IsClientError returns true when this update collection o k response has a 4xx status code

func (*UpdateCollectionOK) IsCode

func (o *UpdateCollectionOK) IsCode(code int) bool

IsCode returns true when this update collection o k response a status code equal to that given

func (*UpdateCollectionOK) IsRedirect

func (o *UpdateCollectionOK) IsRedirect() bool

IsRedirect returns true when this update collection o k response has a 3xx status code

func (*UpdateCollectionOK) IsServerError

func (o *UpdateCollectionOK) IsServerError() bool

IsServerError returns true when this update collection o k response has a 5xx status code

func (*UpdateCollectionOK) IsSuccess

func (o *UpdateCollectionOK) IsSuccess() bool

IsSuccess returns true when this update collection o k response has a 2xx status code

func (*UpdateCollectionOK) String

func (o *UpdateCollectionOK) String() string

type UpdateCollectionParams

type UpdateCollectionParams struct {

	// Body.
	Body UpdateCollectionBody

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateCollectionParams contains all the parameters to send to the API endpoint

for the update collection operation.

Typically these are written to a http.Request.

func NewUpdateCollectionParams

func NewUpdateCollectionParams() *UpdateCollectionParams

NewUpdateCollectionParams creates a new UpdateCollectionParams 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 NewUpdateCollectionParamsWithContext

func NewUpdateCollectionParamsWithContext(ctx context.Context) *UpdateCollectionParams

NewUpdateCollectionParamsWithContext creates a new UpdateCollectionParams object with the ability to set a context for a request.

func NewUpdateCollectionParamsWithHTTPClient

func NewUpdateCollectionParamsWithHTTPClient(client *http.Client) *UpdateCollectionParams

NewUpdateCollectionParamsWithHTTPClient creates a new UpdateCollectionParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateCollectionParamsWithTimeout

func NewUpdateCollectionParamsWithTimeout(timeout time.Duration) *UpdateCollectionParams

NewUpdateCollectionParamsWithTimeout creates a new UpdateCollectionParams object with the ability to set a timeout on a request.

func (*UpdateCollectionParams) SetBody

SetBody adds the body to the update collection params

func (*UpdateCollectionParams) SetContext

func (o *UpdateCollectionParams) SetContext(ctx context.Context)

SetContext adds the context to the update collection params

func (*UpdateCollectionParams) SetDefaults

func (o *UpdateCollectionParams) SetDefaults()

SetDefaults hydrates default values in the update collection params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateCollectionParams) SetHTTPClient

func (o *UpdateCollectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update collection params

func (*UpdateCollectionParams) SetSlug

func (o *UpdateCollectionParams) SetSlug(slug string)

SetSlug adds the slug to the update collection params

func (*UpdateCollectionParams) SetTimeout

func (o *UpdateCollectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update collection params

func (*UpdateCollectionParams) WithBody

WithBody adds the body to the update collection params

func (*UpdateCollectionParams) WithContext

WithContext adds the context to the update collection params

func (*UpdateCollectionParams) WithDefaults

WithDefaults hydrates default values in the update collection params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateCollectionParams) WithHTTPClient

func (o *UpdateCollectionParams) WithHTTPClient(client *http.Client) *UpdateCollectionParams

WithHTTPClient adds the HTTPClient to the update collection params

func (*UpdateCollectionParams) WithSlug

WithSlug adds the slug to the update collection params

func (*UpdateCollectionParams) WithTimeout

WithTimeout adds the timeout to the update collection params

func (*UpdateCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateCollectionReader

type UpdateCollectionReader struct {
	// contains filtered or unexported fields
}

UpdateCollectionReader is a Reader for the UpdateCollection structure.

func (*UpdateCollectionReader) ReadResponse

func (o *UpdateCollectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateDashboardBadRequest

type UpdateDashboardBadRequest struct {
	Payload *models.APIError
}

UpdateDashboardBadRequest describes a response with status code 400, with default header values.

Cannot update the Dashboard because the request is invalid.

func NewUpdateDashboardBadRequest

func NewUpdateDashboardBadRequest() *UpdateDashboardBadRequest

NewUpdateDashboardBadRequest creates a UpdateDashboardBadRequest with default headers values

func (*UpdateDashboardBadRequest) Code

func (o *UpdateDashboardBadRequest) Code() int

Code gets the status code for the update dashboard bad request response

func (*UpdateDashboardBadRequest) Error

func (o *UpdateDashboardBadRequest) Error() string

func (*UpdateDashboardBadRequest) GetPayload

func (o *UpdateDashboardBadRequest) GetPayload() *models.APIError

func (*UpdateDashboardBadRequest) IsClientError

func (o *UpdateDashboardBadRequest) IsClientError() bool

IsClientError returns true when this update dashboard bad request response has a 4xx status code

func (*UpdateDashboardBadRequest) IsCode

func (o *UpdateDashboardBadRequest) IsCode(code int) bool

IsCode returns true when this update dashboard bad request response a status code equal to that given

func (*UpdateDashboardBadRequest) IsRedirect

func (o *UpdateDashboardBadRequest) IsRedirect() bool

IsRedirect returns true when this update dashboard bad request response has a 3xx status code

func (*UpdateDashboardBadRequest) IsServerError

func (o *UpdateDashboardBadRequest) IsServerError() bool

IsServerError returns true when this update dashboard bad request response has a 5xx status code

func (*UpdateDashboardBadRequest) IsSuccess

func (o *UpdateDashboardBadRequest) IsSuccess() bool

IsSuccess returns true when this update dashboard bad request response has a 2xx status code

func (*UpdateDashboardBadRequest) String

func (o *UpdateDashboardBadRequest) String() string

type UpdateDashboardBody

type UpdateDashboardBody struct {

	// If true, the Dashboard will be created if it does not already exist, identified by slug. If false, an error will be returned if the Dashboard does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// dashboard
	Dashboard *models.Configv1Dashboard `json:"dashboard,omitempty"`

	// If true, the Dashboard will not be created nor updated, and no response Dashboard will be returned. The response will return an error if the given Dashboard is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

UpdateDashboardBody update dashboard body swagger:model UpdateDashboardBody

func (*UpdateDashboardBody) ContextValidate

func (o *UpdateDashboardBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update dashboard body based on the context it is used

func (*UpdateDashboardBody) MarshalBinary

func (o *UpdateDashboardBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateDashboardBody) UnmarshalBinary

func (o *UpdateDashboardBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateDashboardBody) Validate

func (o *UpdateDashboardBody) Validate(formats strfmt.Registry) error

Validate validates this update dashboard body

type UpdateDashboardConflict

type UpdateDashboardConflict struct {
	Payload *models.APIError
}

UpdateDashboardConflict describes a response with status code 409, with default header values.

Cannot update the Dashboard because there is a conflict with an existing Dashboard.

func NewUpdateDashboardConflict

func NewUpdateDashboardConflict() *UpdateDashboardConflict

NewUpdateDashboardConflict creates a UpdateDashboardConflict with default headers values

func (*UpdateDashboardConflict) Code

func (o *UpdateDashboardConflict) Code() int

Code gets the status code for the update dashboard conflict response

func (*UpdateDashboardConflict) Error

func (o *UpdateDashboardConflict) Error() string

func (*UpdateDashboardConflict) GetPayload

func (o *UpdateDashboardConflict) GetPayload() *models.APIError

func (*UpdateDashboardConflict) IsClientError

func (o *UpdateDashboardConflict) IsClientError() bool

IsClientError returns true when this update dashboard conflict response has a 4xx status code

func (*UpdateDashboardConflict) IsCode

func (o *UpdateDashboardConflict) IsCode(code int) bool

IsCode returns true when this update dashboard conflict response a status code equal to that given

func (*UpdateDashboardConflict) IsRedirect

func (o *UpdateDashboardConflict) IsRedirect() bool

IsRedirect returns true when this update dashboard conflict response has a 3xx status code

func (*UpdateDashboardConflict) IsServerError

func (o *UpdateDashboardConflict) IsServerError() bool

IsServerError returns true when this update dashboard conflict response has a 5xx status code

func (*UpdateDashboardConflict) IsSuccess

func (o *UpdateDashboardConflict) IsSuccess() bool

IsSuccess returns true when this update dashboard conflict response has a 2xx status code

func (*UpdateDashboardConflict) String

func (o *UpdateDashboardConflict) String() string

type UpdateDashboardDefault

type UpdateDashboardDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateDashboardDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateDashboardDefault

func NewUpdateDashboardDefault(code int) *UpdateDashboardDefault

NewUpdateDashboardDefault creates a UpdateDashboardDefault with default headers values

func (*UpdateDashboardDefault) Code

func (o *UpdateDashboardDefault) Code() int

Code gets the status code for the update dashboard default response

func (*UpdateDashboardDefault) Error

func (o *UpdateDashboardDefault) Error() string

func (*UpdateDashboardDefault) GetPayload

func (o *UpdateDashboardDefault) GetPayload() models.GenericError

func (*UpdateDashboardDefault) IsClientError

func (o *UpdateDashboardDefault) IsClientError() bool

IsClientError returns true when this update dashboard default response has a 4xx status code

func (*UpdateDashboardDefault) IsCode

func (o *UpdateDashboardDefault) IsCode(code int) bool

IsCode returns true when this update dashboard default response a status code equal to that given

func (*UpdateDashboardDefault) IsRedirect

func (o *UpdateDashboardDefault) IsRedirect() bool

IsRedirect returns true when this update dashboard default response has a 3xx status code

func (*UpdateDashboardDefault) IsServerError

func (o *UpdateDashboardDefault) IsServerError() bool

IsServerError returns true when this update dashboard default response has a 5xx status code

func (*UpdateDashboardDefault) IsSuccess

func (o *UpdateDashboardDefault) IsSuccess() bool

IsSuccess returns true when this update dashboard default response has a 2xx status code

func (*UpdateDashboardDefault) String

func (o *UpdateDashboardDefault) String() string

type UpdateDashboardInternalServerError

type UpdateDashboardInternalServerError struct {
	Payload *models.APIError
}

UpdateDashboardInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateDashboardInternalServerError

func NewUpdateDashboardInternalServerError() *UpdateDashboardInternalServerError

NewUpdateDashboardInternalServerError creates a UpdateDashboardInternalServerError with default headers values

func (*UpdateDashboardInternalServerError) Code

Code gets the status code for the update dashboard internal server error response

func (*UpdateDashboardInternalServerError) Error

func (*UpdateDashboardInternalServerError) GetPayload

func (*UpdateDashboardInternalServerError) IsClientError

func (o *UpdateDashboardInternalServerError) IsClientError() bool

IsClientError returns true when this update dashboard internal server error response has a 4xx status code

func (*UpdateDashboardInternalServerError) IsCode

IsCode returns true when this update dashboard internal server error response a status code equal to that given

func (*UpdateDashboardInternalServerError) IsRedirect

func (o *UpdateDashboardInternalServerError) IsRedirect() bool

IsRedirect returns true when this update dashboard internal server error response has a 3xx status code

func (*UpdateDashboardInternalServerError) IsServerError

func (o *UpdateDashboardInternalServerError) IsServerError() bool

IsServerError returns true when this update dashboard internal server error response has a 5xx status code

func (*UpdateDashboardInternalServerError) IsSuccess

IsSuccess returns true when this update dashboard internal server error response has a 2xx status code

func (*UpdateDashboardInternalServerError) String

type UpdateDashboardNotFound

type UpdateDashboardNotFound struct {
	Payload *models.APIError
}

UpdateDashboardNotFound describes a response with status code 404, with default header values.

Cannot update the Dashboard because the slug does not exist.

func NewUpdateDashboardNotFound

func NewUpdateDashboardNotFound() *UpdateDashboardNotFound

NewUpdateDashboardNotFound creates a UpdateDashboardNotFound with default headers values

func (*UpdateDashboardNotFound) Code

func (o *UpdateDashboardNotFound) Code() int

Code gets the status code for the update dashboard not found response

func (*UpdateDashboardNotFound) Error

func (o *UpdateDashboardNotFound) Error() string

func (*UpdateDashboardNotFound) GetPayload

func (o *UpdateDashboardNotFound) GetPayload() *models.APIError

func (*UpdateDashboardNotFound) IsClientError

func (o *UpdateDashboardNotFound) IsClientError() bool

IsClientError returns true when this update dashboard not found response has a 4xx status code

func (*UpdateDashboardNotFound) IsCode

func (o *UpdateDashboardNotFound) IsCode(code int) bool

IsCode returns true when this update dashboard not found response a status code equal to that given

func (*UpdateDashboardNotFound) IsRedirect

func (o *UpdateDashboardNotFound) IsRedirect() bool

IsRedirect returns true when this update dashboard not found response has a 3xx status code

func (*UpdateDashboardNotFound) IsServerError

func (o *UpdateDashboardNotFound) IsServerError() bool

IsServerError returns true when this update dashboard not found response has a 5xx status code

func (*UpdateDashboardNotFound) IsSuccess

func (o *UpdateDashboardNotFound) IsSuccess() bool

IsSuccess returns true when this update dashboard not found response has a 2xx status code

func (*UpdateDashboardNotFound) String

func (o *UpdateDashboardNotFound) String() string

type UpdateDashboardOK

type UpdateDashboardOK struct {
	Payload *models.Configv1UpdateDashboardResponse
}

UpdateDashboardOK describes a response with status code 200, with default header values.

A successful response containing the updated Dashboard.

func NewUpdateDashboardOK

func NewUpdateDashboardOK() *UpdateDashboardOK

NewUpdateDashboardOK creates a UpdateDashboardOK with default headers values

func (*UpdateDashboardOK) Code

func (o *UpdateDashboardOK) Code() int

Code gets the status code for the update dashboard o k response

func (*UpdateDashboardOK) Error

func (o *UpdateDashboardOK) Error() string

func (*UpdateDashboardOK) GetPayload

func (*UpdateDashboardOK) IsClientError

func (o *UpdateDashboardOK) IsClientError() bool

IsClientError returns true when this update dashboard o k response has a 4xx status code

func (*UpdateDashboardOK) IsCode

func (o *UpdateDashboardOK) IsCode(code int) bool

IsCode returns true when this update dashboard o k response a status code equal to that given

func (*UpdateDashboardOK) IsRedirect

func (o *UpdateDashboardOK) IsRedirect() bool

IsRedirect returns true when this update dashboard o k response has a 3xx status code

func (*UpdateDashboardOK) IsServerError

func (o *UpdateDashboardOK) IsServerError() bool

IsServerError returns true when this update dashboard o k response has a 5xx status code

func (*UpdateDashboardOK) IsSuccess

func (o *UpdateDashboardOK) IsSuccess() bool

IsSuccess returns true when this update dashboard o k response has a 2xx status code

func (*UpdateDashboardOK) String

func (o *UpdateDashboardOK) String() string

type UpdateDashboardParams

type UpdateDashboardParams struct {

	// Body.
	Body UpdateDashboardBody

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateDashboardParams contains all the parameters to send to the API endpoint

for the update dashboard operation.

Typically these are written to a http.Request.

func NewUpdateDashboardParams

func NewUpdateDashboardParams() *UpdateDashboardParams

NewUpdateDashboardParams creates a new UpdateDashboardParams 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 NewUpdateDashboardParamsWithContext

func NewUpdateDashboardParamsWithContext(ctx context.Context) *UpdateDashboardParams

NewUpdateDashboardParamsWithContext creates a new UpdateDashboardParams object with the ability to set a context for a request.

func NewUpdateDashboardParamsWithHTTPClient

func NewUpdateDashboardParamsWithHTTPClient(client *http.Client) *UpdateDashboardParams

NewUpdateDashboardParamsWithHTTPClient creates a new UpdateDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDashboardParamsWithTimeout

func NewUpdateDashboardParamsWithTimeout(timeout time.Duration) *UpdateDashboardParams

NewUpdateDashboardParamsWithTimeout creates a new UpdateDashboardParams object with the ability to set a timeout on a request.

func (*UpdateDashboardParams) SetBody

func (o *UpdateDashboardParams) SetBody(body UpdateDashboardBody)

SetBody adds the body to the update dashboard params

func (*UpdateDashboardParams) SetContext

func (o *UpdateDashboardParams) SetContext(ctx context.Context)

SetContext adds the context to the update dashboard params

func (*UpdateDashboardParams) SetDefaults

func (o *UpdateDashboardParams) SetDefaults()

SetDefaults hydrates default values in the update dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDashboardParams) SetHTTPClient

func (o *UpdateDashboardParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update dashboard params

func (*UpdateDashboardParams) SetSlug

func (o *UpdateDashboardParams) SetSlug(slug string)

SetSlug adds the slug to the update dashboard params

func (*UpdateDashboardParams) SetTimeout

func (o *UpdateDashboardParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update dashboard params

func (*UpdateDashboardParams) WithBody

WithBody adds the body to the update dashboard params

func (*UpdateDashboardParams) WithContext

WithContext adds the context to the update dashboard params

func (*UpdateDashboardParams) WithDefaults

func (o *UpdateDashboardParams) WithDefaults() *UpdateDashboardParams

WithDefaults hydrates default values in the update dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDashboardParams) WithHTTPClient

func (o *UpdateDashboardParams) WithHTTPClient(client *http.Client) *UpdateDashboardParams

WithHTTPClient adds the HTTPClient to the update dashboard params

func (*UpdateDashboardParams) WithSlug

WithSlug adds the slug to the update dashboard params

func (*UpdateDashboardParams) WithTimeout

func (o *UpdateDashboardParams) WithTimeout(timeout time.Duration) *UpdateDashboardParams

WithTimeout adds the timeout to the update dashboard params

func (*UpdateDashboardParams) WriteToRequest

func (o *UpdateDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateDashboardReader

type UpdateDashboardReader struct {
	// contains filtered or unexported fields
}

UpdateDashboardReader is a Reader for the UpdateDashboard structure.

func (*UpdateDashboardReader) ReadResponse

func (o *UpdateDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateDerivedLabelBadRequest

type UpdateDerivedLabelBadRequest struct {
	Payload *models.APIError
}

UpdateDerivedLabelBadRequest describes a response with status code 400, with default header values.

Cannot update the DerivedLabel because the request is invalid.

func NewUpdateDerivedLabelBadRequest

func NewUpdateDerivedLabelBadRequest() *UpdateDerivedLabelBadRequest

NewUpdateDerivedLabelBadRequest creates a UpdateDerivedLabelBadRequest with default headers values

func (*UpdateDerivedLabelBadRequest) Code

Code gets the status code for the update derived label bad request response

func (*UpdateDerivedLabelBadRequest) Error

func (*UpdateDerivedLabelBadRequest) GetPayload

func (o *UpdateDerivedLabelBadRequest) GetPayload() *models.APIError

func (*UpdateDerivedLabelBadRequest) IsClientError

func (o *UpdateDerivedLabelBadRequest) IsClientError() bool

IsClientError returns true when this update derived label bad request response has a 4xx status code

func (*UpdateDerivedLabelBadRequest) IsCode

func (o *UpdateDerivedLabelBadRequest) IsCode(code int) bool

IsCode returns true when this update derived label bad request response a status code equal to that given

func (*UpdateDerivedLabelBadRequest) IsRedirect

func (o *UpdateDerivedLabelBadRequest) IsRedirect() bool

IsRedirect returns true when this update derived label bad request response has a 3xx status code

func (*UpdateDerivedLabelBadRequest) IsServerError

func (o *UpdateDerivedLabelBadRequest) IsServerError() bool

IsServerError returns true when this update derived label bad request response has a 5xx status code

func (*UpdateDerivedLabelBadRequest) IsSuccess

func (o *UpdateDerivedLabelBadRequest) IsSuccess() bool

IsSuccess returns true when this update derived label bad request response has a 2xx status code

func (*UpdateDerivedLabelBadRequest) String

type UpdateDerivedLabelBody

type UpdateDerivedLabelBody struct {

	// If true, the DerivedLabel will be created if it does not already exist, identified by slug. If false, an error will be returned if the DerivedLabel does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// derived label
	DerivedLabel *models.Configv1DerivedLabel `json:"derived_label,omitempty"`

	// If true, the DerivedLabel will not be created nor updated, and no response DerivedLabel will be returned. The response will return an error if the given DerivedLabel is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

UpdateDerivedLabelBody update derived label body swagger:model UpdateDerivedLabelBody

func (*UpdateDerivedLabelBody) ContextValidate

func (o *UpdateDerivedLabelBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update derived label body based on the context it is used

func (*UpdateDerivedLabelBody) MarshalBinary

func (o *UpdateDerivedLabelBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateDerivedLabelBody) UnmarshalBinary

func (o *UpdateDerivedLabelBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateDerivedLabelBody) Validate

func (o *UpdateDerivedLabelBody) Validate(formats strfmt.Registry) error

Validate validates this update derived label body

type UpdateDerivedLabelConflict

type UpdateDerivedLabelConflict struct {
	Payload *models.APIError
}

UpdateDerivedLabelConflict describes a response with status code 409, with default header values.

Cannot update the DerivedLabel because there is a conflict with an existing DerivedLabel.

func NewUpdateDerivedLabelConflict

func NewUpdateDerivedLabelConflict() *UpdateDerivedLabelConflict

NewUpdateDerivedLabelConflict creates a UpdateDerivedLabelConflict with default headers values

func (*UpdateDerivedLabelConflict) Code

func (o *UpdateDerivedLabelConflict) Code() int

Code gets the status code for the update derived label conflict response

func (*UpdateDerivedLabelConflict) Error

func (*UpdateDerivedLabelConflict) GetPayload

func (o *UpdateDerivedLabelConflict) GetPayload() *models.APIError

func (*UpdateDerivedLabelConflict) IsClientError

func (o *UpdateDerivedLabelConflict) IsClientError() bool

IsClientError returns true when this update derived label conflict response has a 4xx status code

func (*UpdateDerivedLabelConflict) IsCode

func (o *UpdateDerivedLabelConflict) IsCode(code int) bool

IsCode returns true when this update derived label conflict response a status code equal to that given

func (*UpdateDerivedLabelConflict) IsRedirect

func (o *UpdateDerivedLabelConflict) IsRedirect() bool

IsRedirect returns true when this update derived label conflict response has a 3xx status code

func (*UpdateDerivedLabelConflict) IsServerError

func (o *UpdateDerivedLabelConflict) IsServerError() bool

IsServerError returns true when this update derived label conflict response has a 5xx status code

func (*UpdateDerivedLabelConflict) IsSuccess

func (o *UpdateDerivedLabelConflict) IsSuccess() bool

IsSuccess returns true when this update derived label conflict response has a 2xx status code

func (*UpdateDerivedLabelConflict) String

func (o *UpdateDerivedLabelConflict) String() string

type UpdateDerivedLabelDefault

type UpdateDerivedLabelDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateDerivedLabelDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateDerivedLabelDefault

func NewUpdateDerivedLabelDefault(code int) *UpdateDerivedLabelDefault

NewUpdateDerivedLabelDefault creates a UpdateDerivedLabelDefault with default headers values

func (*UpdateDerivedLabelDefault) Code

func (o *UpdateDerivedLabelDefault) Code() int

Code gets the status code for the update derived label default response

func (*UpdateDerivedLabelDefault) Error

func (o *UpdateDerivedLabelDefault) Error() string

func (*UpdateDerivedLabelDefault) GetPayload

func (*UpdateDerivedLabelDefault) IsClientError

func (o *UpdateDerivedLabelDefault) IsClientError() bool

IsClientError returns true when this update derived label default response has a 4xx status code

func (*UpdateDerivedLabelDefault) IsCode

func (o *UpdateDerivedLabelDefault) IsCode(code int) bool

IsCode returns true when this update derived label default response a status code equal to that given

func (*UpdateDerivedLabelDefault) IsRedirect

func (o *UpdateDerivedLabelDefault) IsRedirect() bool

IsRedirect returns true when this update derived label default response has a 3xx status code

func (*UpdateDerivedLabelDefault) IsServerError

func (o *UpdateDerivedLabelDefault) IsServerError() bool

IsServerError returns true when this update derived label default response has a 5xx status code

func (*UpdateDerivedLabelDefault) IsSuccess

func (o *UpdateDerivedLabelDefault) IsSuccess() bool

IsSuccess returns true when this update derived label default response has a 2xx status code

func (*UpdateDerivedLabelDefault) String

func (o *UpdateDerivedLabelDefault) String() string

type UpdateDerivedLabelInternalServerError

type UpdateDerivedLabelInternalServerError struct {
	Payload *models.APIError
}

UpdateDerivedLabelInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateDerivedLabelInternalServerError

func NewUpdateDerivedLabelInternalServerError() *UpdateDerivedLabelInternalServerError

NewUpdateDerivedLabelInternalServerError creates a UpdateDerivedLabelInternalServerError with default headers values

func (*UpdateDerivedLabelInternalServerError) Code

Code gets the status code for the update derived label internal server error response

func (*UpdateDerivedLabelInternalServerError) Error

func (*UpdateDerivedLabelInternalServerError) GetPayload

func (*UpdateDerivedLabelInternalServerError) IsClientError

func (o *UpdateDerivedLabelInternalServerError) IsClientError() bool

IsClientError returns true when this update derived label internal server error response has a 4xx status code

func (*UpdateDerivedLabelInternalServerError) IsCode

IsCode returns true when this update derived label internal server error response a status code equal to that given

func (*UpdateDerivedLabelInternalServerError) IsRedirect

IsRedirect returns true when this update derived label internal server error response has a 3xx status code

func (*UpdateDerivedLabelInternalServerError) IsServerError

func (o *UpdateDerivedLabelInternalServerError) IsServerError() bool

IsServerError returns true when this update derived label internal server error response has a 5xx status code

func (*UpdateDerivedLabelInternalServerError) IsSuccess

IsSuccess returns true when this update derived label internal server error response has a 2xx status code

func (*UpdateDerivedLabelInternalServerError) String

type UpdateDerivedLabelNotFound

type UpdateDerivedLabelNotFound struct {
	Payload *models.APIError
}

UpdateDerivedLabelNotFound describes a response with status code 404, with default header values.

Cannot update the DerivedLabel because the slug does not exist.

func NewUpdateDerivedLabelNotFound

func NewUpdateDerivedLabelNotFound() *UpdateDerivedLabelNotFound

NewUpdateDerivedLabelNotFound creates a UpdateDerivedLabelNotFound with default headers values

func (*UpdateDerivedLabelNotFound) Code

func (o *UpdateDerivedLabelNotFound) Code() int

Code gets the status code for the update derived label not found response

func (*UpdateDerivedLabelNotFound) Error

func (*UpdateDerivedLabelNotFound) GetPayload

func (o *UpdateDerivedLabelNotFound) GetPayload() *models.APIError

func (*UpdateDerivedLabelNotFound) IsClientError

func (o *UpdateDerivedLabelNotFound) IsClientError() bool

IsClientError returns true when this update derived label not found response has a 4xx status code

func (*UpdateDerivedLabelNotFound) IsCode

func (o *UpdateDerivedLabelNotFound) IsCode(code int) bool

IsCode returns true when this update derived label not found response a status code equal to that given

func (*UpdateDerivedLabelNotFound) IsRedirect

func (o *UpdateDerivedLabelNotFound) IsRedirect() bool

IsRedirect returns true when this update derived label not found response has a 3xx status code

func (*UpdateDerivedLabelNotFound) IsServerError

func (o *UpdateDerivedLabelNotFound) IsServerError() bool

IsServerError returns true when this update derived label not found response has a 5xx status code

func (*UpdateDerivedLabelNotFound) IsSuccess

func (o *UpdateDerivedLabelNotFound) IsSuccess() bool

IsSuccess returns true when this update derived label not found response has a 2xx status code

func (*UpdateDerivedLabelNotFound) String

func (o *UpdateDerivedLabelNotFound) String() string

type UpdateDerivedLabelOK

type UpdateDerivedLabelOK struct {
	Payload *models.Configv1UpdateDerivedLabelResponse
}

UpdateDerivedLabelOK describes a response with status code 200, with default header values.

A successful response containing the updated DerivedLabel.

func NewUpdateDerivedLabelOK

func NewUpdateDerivedLabelOK() *UpdateDerivedLabelOK

NewUpdateDerivedLabelOK creates a UpdateDerivedLabelOK with default headers values

func (*UpdateDerivedLabelOK) Code

func (o *UpdateDerivedLabelOK) Code() int

Code gets the status code for the update derived label o k response

func (*UpdateDerivedLabelOK) Error

func (o *UpdateDerivedLabelOK) Error() string

func (*UpdateDerivedLabelOK) GetPayload

func (*UpdateDerivedLabelOK) IsClientError

func (o *UpdateDerivedLabelOK) IsClientError() bool

IsClientError returns true when this update derived label o k response has a 4xx status code

func (*UpdateDerivedLabelOK) IsCode

func (o *UpdateDerivedLabelOK) IsCode(code int) bool

IsCode returns true when this update derived label o k response a status code equal to that given

func (*UpdateDerivedLabelOK) IsRedirect

func (o *UpdateDerivedLabelOK) IsRedirect() bool

IsRedirect returns true when this update derived label o k response has a 3xx status code

func (*UpdateDerivedLabelOK) IsServerError

func (o *UpdateDerivedLabelOK) IsServerError() bool

IsServerError returns true when this update derived label o k response has a 5xx status code

func (*UpdateDerivedLabelOK) IsSuccess

func (o *UpdateDerivedLabelOK) IsSuccess() bool

IsSuccess returns true when this update derived label o k response has a 2xx status code

func (*UpdateDerivedLabelOK) String

func (o *UpdateDerivedLabelOK) String() string

type UpdateDerivedLabelParams

type UpdateDerivedLabelParams struct {

	// Body.
	Body UpdateDerivedLabelBody

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateDerivedLabelParams contains all the parameters to send to the API endpoint

for the update derived label operation.

Typically these are written to a http.Request.

func NewUpdateDerivedLabelParams

func NewUpdateDerivedLabelParams() *UpdateDerivedLabelParams

NewUpdateDerivedLabelParams creates a new UpdateDerivedLabelParams 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 NewUpdateDerivedLabelParamsWithContext

func NewUpdateDerivedLabelParamsWithContext(ctx context.Context) *UpdateDerivedLabelParams

NewUpdateDerivedLabelParamsWithContext creates a new UpdateDerivedLabelParams object with the ability to set a context for a request.

func NewUpdateDerivedLabelParamsWithHTTPClient

func NewUpdateDerivedLabelParamsWithHTTPClient(client *http.Client) *UpdateDerivedLabelParams

NewUpdateDerivedLabelParamsWithHTTPClient creates a new UpdateDerivedLabelParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDerivedLabelParamsWithTimeout

func NewUpdateDerivedLabelParamsWithTimeout(timeout time.Duration) *UpdateDerivedLabelParams

NewUpdateDerivedLabelParamsWithTimeout creates a new UpdateDerivedLabelParams object with the ability to set a timeout on a request.

func (*UpdateDerivedLabelParams) SetBody

SetBody adds the body to the update derived label params

func (*UpdateDerivedLabelParams) SetContext

func (o *UpdateDerivedLabelParams) SetContext(ctx context.Context)

SetContext adds the context to the update derived label params

func (*UpdateDerivedLabelParams) SetDefaults

func (o *UpdateDerivedLabelParams) SetDefaults()

SetDefaults hydrates default values in the update derived label params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDerivedLabelParams) SetHTTPClient

func (o *UpdateDerivedLabelParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update derived label params

func (*UpdateDerivedLabelParams) SetSlug

func (o *UpdateDerivedLabelParams) SetSlug(slug string)

SetSlug adds the slug to the update derived label params

func (*UpdateDerivedLabelParams) SetTimeout

func (o *UpdateDerivedLabelParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update derived label params

func (*UpdateDerivedLabelParams) WithBody

WithBody adds the body to the update derived label params

func (*UpdateDerivedLabelParams) WithContext

WithContext adds the context to the update derived label params

func (*UpdateDerivedLabelParams) WithDefaults

WithDefaults hydrates default values in the update derived label params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDerivedLabelParams) WithHTTPClient

func (o *UpdateDerivedLabelParams) WithHTTPClient(client *http.Client) *UpdateDerivedLabelParams

WithHTTPClient adds the HTTPClient to the update derived label params

func (*UpdateDerivedLabelParams) WithSlug

WithSlug adds the slug to the update derived label params

func (*UpdateDerivedLabelParams) WithTimeout

WithTimeout adds the timeout to the update derived label params

func (*UpdateDerivedLabelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDerivedLabelReader

type UpdateDerivedLabelReader struct {
	// contains filtered or unexported fields
}

UpdateDerivedLabelReader is a Reader for the UpdateDerivedLabel structure.

func (*UpdateDerivedLabelReader) ReadResponse

func (o *UpdateDerivedLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateDerivedMetricBadRequest

type UpdateDerivedMetricBadRequest struct {
	Payload *models.APIError
}

UpdateDerivedMetricBadRequest describes a response with status code 400, with default header values.

Cannot update the DerivedMetric because the request is invalid.

func NewUpdateDerivedMetricBadRequest

func NewUpdateDerivedMetricBadRequest() *UpdateDerivedMetricBadRequest

NewUpdateDerivedMetricBadRequest creates a UpdateDerivedMetricBadRequest with default headers values

func (*UpdateDerivedMetricBadRequest) Code

Code gets the status code for the update derived metric bad request response

func (*UpdateDerivedMetricBadRequest) Error

func (*UpdateDerivedMetricBadRequest) GetPayload

func (*UpdateDerivedMetricBadRequest) IsClientError

func (o *UpdateDerivedMetricBadRequest) IsClientError() bool

IsClientError returns true when this update derived metric bad request response has a 4xx status code

func (*UpdateDerivedMetricBadRequest) IsCode

func (o *UpdateDerivedMetricBadRequest) IsCode(code int) bool

IsCode returns true when this update derived metric bad request response a status code equal to that given

func (*UpdateDerivedMetricBadRequest) IsRedirect

func (o *UpdateDerivedMetricBadRequest) IsRedirect() bool

IsRedirect returns true when this update derived metric bad request response has a 3xx status code

func (*UpdateDerivedMetricBadRequest) IsServerError

func (o *UpdateDerivedMetricBadRequest) IsServerError() bool

IsServerError returns true when this update derived metric bad request response has a 5xx status code

func (*UpdateDerivedMetricBadRequest) IsSuccess

func (o *UpdateDerivedMetricBadRequest) IsSuccess() bool

IsSuccess returns true when this update derived metric bad request response has a 2xx status code

func (*UpdateDerivedMetricBadRequest) String

type UpdateDerivedMetricBody

type UpdateDerivedMetricBody struct {

	// If true, the DerivedMetric will be created if it does not already exist, identified by slug. If false, an error will be returned if the DerivedMetric does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// derived metric
	DerivedMetric *models.Configv1DerivedMetric `json:"derived_metric,omitempty"`

	// If true, the DerivedMetric will not be created nor updated, and no response DerivedMetric will be returned. The response will return an error if the given DerivedMetric is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

UpdateDerivedMetricBody update derived metric body swagger:model UpdateDerivedMetricBody

func (*UpdateDerivedMetricBody) ContextValidate

func (o *UpdateDerivedMetricBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update derived metric body based on the context it is used

func (*UpdateDerivedMetricBody) MarshalBinary

func (o *UpdateDerivedMetricBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateDerivedMetricBody) UnmarshalBinary

func (o *UpdateDerivedMetricBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateDerivedMetricBody) Validate

func (o *UpdateDerivedMetricBody) Validate(formats strfmt.Registry) error

Validate validates this update derived metric body

type UpdateDerivedMetricConflict

type UpdateDerivedMetricConflict struct {
	Payload *models.APIError
}

UpdateDerivedMetricConflict describes a response with status code 409, with default header values.

Cannot update the DerivedMetric because there is a conflict with an existing DerivedMetric.

func NewUpdateDerivedMetricConflict

func NewUpdateDerivedMetricConflict() *UpdateDerivedMetricConflict

NewUpdateDerivedMetricConflict creates a UpdateDerivedMetricConflict with default headers values

func (*UpdateDerivedMetricConflict) Code

func (o *UpdateDerivedMetricConflict) Code() int

Code gets the status code for the update derived metric conflict response

func (*UpdateDerivedMetricConflict) Error

func (*UpdateDerivedMetricConflict) GetPayload

func (o *UpdateDerivedMetricConflict) GetPayload() *models.APIError

func (*UpdateDerivedMetricConflict) IsClientError

func (o *UpdateDerivedMetricConflict) IsClientError() bool

IsClientError returns true when this update derived metric conflict response has a 4xx status code

func (*UpdateDerivedMetricConflict) IsCode

func (o *UpdateDerivedMetricConflict) IsCode(code int) bool

IsCode returns true when this update derived metric conflict response a status code equal to that given

func (*UpdateDerivedMetricConflict) IsRedirect

func (o *UpdateDerivedMetricConflict) IsRedirect() bool

IsRedirect returns true when this update derived metric conflict response has a 3xx status code

func (*UpdateDerivedMetricConflict) IsServerError

func (o *UpdateDerivedMetricConflict) IsServerError() bool

IsServerError returns true when this update derived metric conflict response has a 5xx status code

func (*UpdateDerivedMetricConflict) IsSuccess

func (o *UpdateDerivedMetricConflict) IsSuccess() bool

IsSuccess returns true when this update derived metric conflict response has a 2xx status code

func (*UpdateDerivedMetricConflict) String

func (o *UpdateDerivedMetricConflict) String() string

type UpdateDerivedMetricDefault

type UpdateDerivedMetricDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateDerivedMetricDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateDerivedMetricDefault

func NewUpdateDerivedMetricDefault(code int) *UpdateDerivedMetricDefault

NewUpdateDerivedMetricDefault creates a UpdateDerivedMetricDefault with default headers values

func (*UpdateDerivedMetricDefault) Code

func (o *UpdateDerivedMetricDefault) Code() int

Code gets the status code for the update derived metric default response

func (*UpdateDerivedMetricDefault) Error

func (*UpdateDerivedMetricDefault) GetPayload

func (*UpdateDerivedMetricDefault) IsClientError

func (o *UpdateDerivedMetricDefault) IsClientError() bool

IsClientError returns true when this update derived metric default response has a 4xx status code

func (*UpdateDerivedMetricDefault) IsCode

func (o *UpdateDerivedMetricDefault) IsCode(code int) bool

IsCode returns true when this update derived metric default response a status code equal to that given

func (*UpdateDerivedMetricDefault) IsRedirect

func (o *UpdateDerivedMetricDefault) IsRedirect() bool

IsRedirect returns true when this update derived metric default response has a 3xx status code

func (*UpdateDerivedMetricDefault) IsServerError

func (o *UpdateDerivedMetricDefault) IsServerError() bool

IsServerError returns true when this update derived metric default response has a 5xx status code

func (*UpdateDerivedMetricDefault) IsSuccess

func (o *UpdateDerivedMetricDefault) IsSuccess() bool

IsSuccess returns true when this update derived metric default response has a 2xx status code

func (*UpdateDerivedMetricDefault) String

func (o *UpdateDerivedMetricDefault) String() string

type UpdateDerivedMetricInternalServerError

type UpdateDerivedMetricInternalServerError struct {
	Payload *models.APIError
}

UpdateDerivedMetricInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateDerivedMetricInternalServerError

func NewUpdateDerivedMetricInternalServerError() *UpdateDerivedMetricInternalServerError

NewUpdateDerivedMetricInternalServerError creates a UpdateDerivedMetricInternalServerError with default headers values

func (*UpdateDerivedMetricInternalServerError) Code

Code gets the status code for the update derived metric internal server error response

func (*UpdateDerivedMetricInternalServerError) Error

func (*UpdateDerivedMetricInternalServerError) GetPayload

func (*UpdateDerivedMetricInternalServerError) IsClientError

func (o *UpdateDerivedMetricInternalServerError) IsClientError() bool

IsClientError returns true when this update derived metric internal server error response has a 4xx status code

func (*UpdateDerivedMetricInternalServerError) IsCode

IsCode returns true when this update derived metric internal server error response a status code equal to that given

func (*UpdateDerivedMetricInternalServerError) IsRedirect

IsRedirect returns true when this update derived metric internal server error response has a 3xx status code

func (*UpdateDerivedMetricInternalServerError) IsServerError

func (o *UpdateDerivedMetricInternalServerError) IsServerError() bool

IsServerError returns true when this update derived metric internal server error response has a 5xx status code

func (*UpdateDerivedMetricInternalServerError) IsSuccess

IsSuccess returns true when this update derived metric internal server error response has a 2xx status code

func (*UpdateDerivedMetricInternalServerError) String

type UpdateDerivedMetricNotFound

type UpdateDerivedMetricNotFound struct {
	Payload *models.APIError
}

UpdateDerivedMetricNotFound describes a response with status code 404, with default header values.

Cannot update the DerivedMetric because the slug does not exist.

func NewUpdateDerivedMetricNotFound

func NewUpdateDerivedMetricNotFound() *UpdateDerivedMetricNotFound

NewUpdateDerivedMetricNotFound creates a UpdateDerivedMetricNotFound with default headers values

func (*UpdateDerivedMetricNotFound) Code

func (o *UpdateDerivedMetricNotFound) Code() int

Code gets the status code for the update derived metric not found response

func (*UpdateDerivedMetricNotFound) Error

func (*UpdateDerivedMetricNotFound) GetPayload

func (o *UpdateDerivedMetricNotFound) GetPayload() *models.APIError

func (*UpdateDerivedMetricNotFound) IsClientError

func (o *UpdateDerivedMetricNotFound) IsClientError() bool

IsClientError returns true when this update derived metric not found response has a 4xx status code

func (*UpdateDerivedMetricNotFound) IsCode

func (o *UpdateDerivedMetricNotFound) IsCode(code int) bool

IsCode returns true when this update derived metric not found response a status code equal to that given

func (*UpdateDerivedMetricNotFound) IsRedirect

func (o *UpdateDerivedMetricNotFound) IsRedirect() bool

IsRedirect returns true when this update derived metric not found response has a 3xx status code

func (*UpdateDerivedMetricNotFound) IsServerError

func (o *UpdateDerivedMetricNotFound) IsServerError() bool

IsServerError returns true when this update derived metric not found response has a 5xx status code

func (*UpdateDerivedMetricNotFound) IsSuccess

func (o *UpdateDerivedMetricNotFound) IsSuccess() bool

IsSuccess returns true when this update derived metric not found response has a 2xx status code

func (*UpdateDerivedMetricNotFound) String

func (o *UpdateDerivedMetricNotFound) String() string

type UpdateDerivedMetricOK

type UpdateDerivedMetricOK struct {
	Payload *models.Configv1UpdateDerivedMetricResponse
}

UpdateDerivedMetricOK describes a response with status code 200, with default header values.

A successful response containing the updated DerivedMetric.

func NewUpdateDerivedMetricOK

func NewUpdateDerivedMetricOK() *UpdateDerivedMetricOK

NewUpdateDerivedMetricOK creates a UpdateDerivedMetricOK with default headers values

func (*UpdateDerivedMetricOK) Code

func (o *UpdateDerivedMetricOK) Code() int

Code gets the status code for the update derived metric o k response

func (*UpdateDerivedMetricOK) Error

func (o *UpdateDerivedMetricOK) Error() string

func (*UpdateDerivedMetricOK) GetPayload

func (*UpdateDerivedMetricOK) IsClientError

func (o *UpdateDerivedMetricOK) IsClientError() bool

IsClientError returns true when this update derived metric o k response has a 4xx status code

func (*UpdateDerivedMetricOK) IsCode

func (o *UpdateDerivedMetricOK) IsCode(code int) bool

IsCode returns true when this update derived metric o k response a status code equal to that given

func (*UpdateDerivedMetricOK) IsRedirect

func (o *UpdateDerivedMetricOK) IsRedirect() bool

IsRedirect returns true when this update derived metric o k response has a 3xx status code

func (*UpdateDerivedMetricOK) IsServerError

func (o *UpdateDerivedMetricOK) IsServerError() bool

IsServerError returns true when this update derived metric o k response has a 5xx status code

func (*UpdateDerivedMetricOK) IsSuccess

func (o *UpdateDerivedMetricOK) IsSuccess() bool

IsSuccess returns true when this update derived metric o k response has a 2xx status code

func (*UpdateDerivedMetricOK) String

func (o *UpdateDerivedMetricOK) String() string

type UpdateDerivedMetricParams

type UpdateDerivedMetricParams struct {

	// Body.
	Body UpdateDerivedMetricBody

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateDerivedMetricParams contains all the parameters to send to the API endpoint

for the update derived metric operation.

Typically these are written to a http.Request.

func NewUpdateDerivedMetricParams

func NewUpdateDerivedMetricParams() *UpdateDerivedMetricParams

NewUpdateDerivedMetricParams creates a new UpdateDerivedMetricParams 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 NewUpdateDerivedMetricParamsWithContext

func NewUpdateDerivedMetricParamsWithContext(ctx context.Context) *UpdateDerivedMetricParams

NewUpdateDerivedMetricParamsWithContext creates a new UpdateDerivedMetricParams object with the ability to set a context for a request.

func NewUpdateDerivedMetricParamsWithHTTPClient

func NewUpdateDerivedMetricParamsWithHTTPClient(client *http.Client) *UpdateDerivedMetricParams

NewUpdateDerivedMetricParamsWithHTTPClient creates a new UpdateDerivedMetricParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDerivedMetricParamsWithTimeout

func NewUpdateDerivedMetricParamsWithTimeout(timeout time.Duration) *UpdateDerivedMetricParams

NewUpdateDerivedMetricParamsWithTimeout creates a new UpdateDerivedMetricParams object with the ability to set a timeout on a request.

func (*UpdateDerivedMetricParams) SetBody

SetBody adds the body to the update derived metric params

func (*UpdateDerivedMetricParams) SetContext

func (o *UpdateDerivedMetricParams) SetContext(ctx context.Context)

SetContext adds the context to the update derived metric params

func (*UpdateDerivedMetricParams) SetDefaults

func (o *UpdateDerivedMetricParams) SetDefaults()

SetDefaults hydrates default values in the update derived metric params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDerivedMetricParams) SetHTTPClient

func (o *UpdateDerivedMetricParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update derived metric params

func (*UpdateDerivedMetricParams) SetSlug

func (o *UpdateDerivedMetricParams) SetSlug(slug string)

SetSlug adds the slug to the update derived metric params

func (*UpdateDerivedMetricParams) SetTimeout

func (o *UpdateDerivedMetricParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update derived metric params

func (*UpdateDerivedMetricParams) WithBody

WithBody adds the body to the update derived metric params

func (*UpdateDerivedMetricParams) WithContext

WithContext adds the context to the update derived metric params

func (*UpdateDerivedMetricParams) WithDefaults

WithDefaults hydrates default values in the update derived metric params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDerivedMetricParams) WithHTTPClient

func (o *UpdateDerivedMetricParams) WithHTTPClient(client *http.Client) *UpdateDerivedMetricParams

WithHTTPClient adds the HTTPClient to the update derived metric params

func (*UpdateDerivedMetricParams) WithSlug

WithSlug adds the slug to the update derived metric params

func (*UpdateDerivedMetricParams) WithTimeout

WithTimeout adds the timeout to the update derived metric params

func (*UpdateDerivedMetricParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDerivedMetricReader

type UpdateDerivedMetricReader struct {
	// contains filtered or unexported fields
}

UpdateDerivedMetricReader is a Reader for the UpdateDerivedMetric structure.

func (*UpdateDerivedMetricReader) ReadResponse

func (o *UpdateDerivedMetricReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateDropRuleBadRequest

type UpdateDropRuleBadRequest struct {
	Payload *models.APIError
}

UpdateDropRuleBadRequest describes a response with status code 400, with default header values.

Cannot update the DropRule because the request is invalid.

func NewUpdateDropRuleBadRequest

func NewUpdateDropRuleBadRequest() *UpdateDropRuleBadRequest

NewUpdateDropRuleBadRequest creates a UpdateDropRuleBadRequest with default headers values

func (*UpdateDropRuleBadRequest) Code

func (o *UpdateDropRuleBadRequest) Code() int

Code gets the status code for the update drop rule bad request response

func (*UpdateDropRuleBadRequest) Error

func (o *UpdateDropRuleBadRequest) Error() string

func (*UpdateDropRuleBadRequest) GetPayload

func (o *UpdateDropRuleBadRequest) GetPayload() *models.APIError

func (*UpdateDropRuleBadRequest) IsClientError

func (o *UpdateDropRuleBadRequest) IsClientError() bool

IsClientError returns true when this update drop rule bad request response has a 4xx status code

func (*UpdateDropRuleBadRequest) IsCode

func (o *UpdateDropRuleBadRequest) IsCode(code int) bool

IsCode returns true when this update drop rule bad request response a status code equal to that given

func (*UpdateDropRuleBadRequest) IsRedirect

func (o *UpdateDropRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this update drop rule bad request response has a 3xx status code

func (*UpdateDropRuleBadRequest) IsServerError

func (o *UpdateDropRuleBadRequest) IsServerError() bool

IsServerError returns true when this update drop rule bad request response has a 5xx status code

func (*UpdateDropRuleBadRequest) IsSuccess

func (o *UpdateDropRuleBadRequest) IsSuccess() bool

IsSuccess returns true when this update drop rule bad request response has a 2xx status code

func (*UpdateDropRuleBadRequest) String

func (o *UpdateDropRuleBadRequest) String() string

type UpdateDropRuleBody

type UpdateDropRuleBody struct {

	// If true, the DropRule will be created if it does not already exist, identified by slug. If false, an error will be returned if the DropRule does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// drop rule
	DropRule *models.Configv1DropRule `json:"drop_rule,omitempty"`

	// If true, the DropRule will not be created nor updated, and no response DropRule will be returned. The response will return an error if the given DropRule is invalid.
	DryRun bool `json:"dry_run,omitempty"`
}

UpdateDropRuleBody update drop rule body swagger:model UpdateDropRuleBody

func (*UpdateDropRuleBody) ContextValidate

func (o *UpdateDropRuleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update drop rule body based on the context it is used

func (*UpdateDropRuleBody) MarshalBinary

func (o *UpdateDropRuleBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateDropRuleBody) UnmarshalBinary

func (o *UpdateDropRuleBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateDropRuleBody) Validate

func (o *UpdateDropRuleBody) Validate(formats strfmt.Registry) error

Validate validates this update drop rule body

type UpdateDropRuleConflict

type UpdateDropRuleConflict struct {
	Payload *models.APIError
}

UpdateDropRuleConflict describes a response with status code 409, with default header values.

Cannot update the DropRule because there is a conflict with an existing DropRule.

func NewUpdateDropRuleConflict

func NewUpdateDropRuleConflict() *UpdateDropRuleConflict

NewUpdateDropRuleConflict creates a UpdateDropRuleConflict with default headers values

func (*UpdateDropRuleConflict) Code

func (o *UpdateDropRuleConflict) Code() int

Code gets the status code for the update drop rule conflict response

func (*UpdateDropRuleConflict) Error

func (o *UpdateDropRuleConflict) Error() string

func (*UpdateDropRuleConflict) GetPayload

func (o *UpdateDropRuleConflict) GetPayload() *models.APIError

func (*UpdateDropRuleConflict) IsClientError

func (o *UpdateDropRuleConflict) IsClientError() bool

IsClientError returns true when this update drop rule conflict response has a 4xx status code

func (*UpdateDropRuleConflict) IsCode

func (o *UpdateDropRuleConflict) IsCode(code int) bool

IsCode returns true when this update drop rule conflict response a status code equal to that given

func (*UpdateDropRuleConflict) IsRedirect

func (o *UpdateDropRuleConflict) IsRedirect() bool

IsRedirect returns true when this update drop rule conflict response has a 3xx status code

func (*UpdateDropRuleConflict) IsServerError

func (o *UpdateDropRuleConflict) IsServerError() bool

IsServerError returns true when this update drop rule conflict response has a 5xx status code

func (*UpdateDropRuleConflict) IsSuccess

func (o *UpdateDropRuleConflict) IsSuccess() bool

IsSuccess returns true when this update drop rule conflict response has a 2xx status code

func (*UpdateDropRuleConflict) String

func (o *UpdateDropRuleConflict) String() string

type UpdateDropRuleDefault

type UpdateDropRuleDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateDropRuleDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateDropRuleDefault

func NewUpdateDropRuleDefault(code int) *UpdateDropRuleDefault

NewUpdateDropRuleDefault creates a UpdateDropRuleDefault with default headers values

func (*UpdateDropRuleDefault) Code

func (o *UpdateDropRuleDefault) Code() int

Code gets the status code for the update drop rule default response

func (*UpdateDropRuleDefault) Error

func (o *UpdateDropRuleDefault) Error() string

func (*UpdateDropRuleDefault) GetPayload

func (o *UpdateDropRuleDefault) GetPayload() models.GenericError

func (*UpdateDropRuleDefault) IsClientError

func (o *UpdateDropRuleDefault) IsClientError() bool

IsClientError returns true when this update drop rule default response has a 4xx status code

func (*UpdateDropRuleDefault) IsCode

func (o *UpdateDropRuleDefault) IsCode(code int) bool

IsCode returns true when this update drop rule default response a status code equal to that given

func (*UpdateDropRuleDefault) IsRedirect

func (o *UpdateDropRuleDefault) IsRedirect() bool

IsRedirect returns true when this update drop rule default response has a 3xx status code

func (*UpdateDropRuleDefault) IsServerError

func (o *UpdateDropRuleDefault) IsServerError() bool

IsServerError returns true when this update drop rule default response has a 5xx status code

func (*UpdateDropRuleDefault) IsSuccess

func (o *UpdateDropRuleDefault) IsSuccess() bool

IsSuccess returns true when this update drop rule default response has a 2xx status code

func (*UpdateDropRuleDefault) String

func (o *UpdateDropRuleDefault) String() string

type UpdateDropRuleInternalServerError

type UpdateDropRuleInternalServerError struct {
	Payload *models.APIError
}

UpdateDropRuleInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateDropRuleInternalServerError

func NewUpdateDropRuleInternalServerError() *UpdateDropRuleInternalServerError

NewUpdateDropRuleInternalServerError creates a UpdateDropRuleInternalServerError with default headers values

func (*UpdateDropRuleInternalServerError) Code

Code gets the status code for the update drop rule internal server error response

func (*UpdateDropRuleInternalServerError) Error

func (*UpdateDropRuleInternalServerError) GetPayload

func (*UpdateDropRuleInternalServerError) IsClientError

func (o *UpdateDropRuleInternalServerError) IsClientError() bool

IsClientError returns true when this update drop rule internal server error response has a 4xx status code

func (*UpdateDropRuleInternalServerError) IsCode

func (o *UpdateDropRuleInternalServerError) IsCode(code int) bool

IsCode returns true when this update drop rule internal server error response a status code equal to that given

func (*UpdateDropRuleInternalServerError) IsRedirect

func (o *UpdateDropRuleInternalServerError) IsRedirect() bool

IsRedirect returns true when this update drop rule internal server error response has a 3xx status code

func (*UpdateDropRuleInternalServerError) IsServerError

func (o *UpdateDropRuleInternalServerError) IsServerError() bool

IsServerError returns true when this update drop rule internal server error response has a 5xx status code

func (*UpdateDropRuleInternalServerError) IsSuccess

func (o *UpdateDropRuleInternalServerError) IsSuccess() bool

IsSuccess returns true when this update drop rule internal server error response has a 2xx status code

func (*UpdateDropRuleInternalServerError) String

type UpdateDropRuleNotFound

type UpdateDropRuleNotFound struct {
	Payload *models.APIError
}

UpdateDropRuleNotFound describes a response with status code 404, with default header values.

Cannot update the DropRule because the slug does not exist.

func NewUpdateDropRuleNotFound

func NewUpdateDropRuleNotFound() *UpdateDropRuleNotFound

NewUpdateDropRuleNotFound creates a UpdateDropRuleNotFound with default headers values

func (*UpdateDropRuleNotFound) Code

func (o *UpdateDropRuleNotFound) Code() int

Code gets the status code for the update drop rule not found response

func (*UpdateDropRuleNotFound) Error

func (o *UpdateDropRuleNotFound) Error() string

func (*UpdateDropRuleNotFound) GetPayload

func (o *UpdateDropRuleNotFound) GetPayload() *models.APIError

func (*UpdateDropRuleNotFound) IsClientError

func (o *UpdateDropRuleNotFound) IsClientError() bool

IsClientError returns true when this update drop rule not found response has a 4xx status code

func (*UpdateDropRuleNotFound) IsCode

func (o *UpdateDropRuleNotFound) IsCode(code int) bool

IsCode returns true when this update drop rule not found response a status code equal to that given

func (*UpdateDropRuleNotFound) IsRedirect

func (o *UpdateDropRuleNotFound) IsRedirect() bool

IsRedirect returns true when this update drop rule not found response has a 3xx status code

func (*UpdateDropRuleNotFound) IsServerError

func (o *UpdateDropRuleNotFound) IsServerError() bool

IsServerError returns true when this update drop rule not found response has a 5xx status code

func (*UpdateDropRuleNotFound) IsSuccess

func (o *UpdateDropRuleNotFound) IsSuccess() bool

IsSuccess returns true when this update drop rule not found response has a 2xx status code

func (*UpdateDropRuleNotFound) String

func (o *UpdateDropRuleNotFound) String() string

type UpdateDropRuleOK

type UpdateDropRuleOK struct {
	Payload *models.Configv1UpdateDropRuleResponse
}

UpdateDropRuleOK describes a response with status code 200, with default header values.

A successful response containing the updated DropRule.

func NewUpdateDropRuleOK

func NewUpdateDropRuleOK() *UpdateDropRuleOK

NewUpdateDropRuleOK creates a UpdateDropRuleOK with default headers values

func (*UpdateDropRuleOK) Code

func (o *UpdateDropRuleOK) Code() int

Code gets the status code for the update drop rule o k response

func (*UpdateDropRuleOK) Error

func (o *UpdateDropRuleOK) Error() string

func (*UpdateDropRuleOK) GetPayload

func (*UpdateDropRuleOK) IsClientError

func (o *UpdateDropRuleOK) IsClientError() bool

IsClientError returns true when this update drop rule o k response has a 4xx status code

func (*UpdateDropRuleOK) IsCode

func (o *UpdateDropRuleOK) IsCode(code int) bool

IsCode returns true when this update drop rule o k response a status code equal to that given

func (*UpdateDropRuleOK) IsRedirect

func (o *UpdateDropRuleOK) IsRedirect() bool

IsRedirect returns true when this update drop rule o k response has a 3xx status code

func (*UpdateDropRuleOK) IsServerError

func (o *UpdateDropRuleOK) IsServerError() bool

IsServerError returns true when this update drop rule o k response has a 5xx status code

func (*UpdateDropRuleOK) IsSuccess

func (o *UpdateDropRuleOK) IsSuccess() bool

IsSuccess returns true when this update drop rule o k response has a 2xx status code

func (*UpdateDropRuleOK) String

func (o *UpdateDropRuleOK) String() string

type UpdateDropRuleParams

type UpdateDropRuleParams struct {

	// Body.
	Body UpdateDropRuleBody

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateDropRuleParams contains all the parameters to send to the API endpoint

for the update drop rule operation.

Typically these are written to a http.Request.

func NewUpdateDropRuleParams

func NewUpdateDropRuleParams() *UpdateDropRuleParams

NewUpdateDropRuleParams creates a new UpdateDropRuleParams 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 NewUpdateDropRuleParamsWithContext

func NewUpdateDropRuleParamsWithContext(ctx context.Context) *UpdateDropRuleParams

NewUpdateDropRuleParamsWithContext creates a new UpdateDropRuleParams object with the ability to set a context for a request.

func NewUpdateDropRuleParamsWithHTTPClient

func NewUpdateDropRuleParamsWithHTTPClient(client *http.Client) *UpdateDropRuleParams

NewUpdateDropRuleParamsWithHTTPClient creates a new UpdateDropRuleParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDropRuleParamsWithTimeout

func NewUpdateDropRuleParamsWithTimeout(timeout time.Duration) *UpdateDropRuleParams

NewUpdateDropRuleParamsWithTimeout creates a new UpdateDropRuleParams object with the ability to set a timeout on a request.

func (*UpdateDropRuleParams) SetBody

func (o *UpdateDropRuleParams) SetBody(body UpdateDropRuleBody)

SetBody adds the body to the update drop rule params

func (*UpdateDropRuleParams) SetContext

func (o *UpdateDropRuleParams) SetContext(ctx context.Context)

SetContext adds the context to the update drop rule params

func (*UpdateDropRuleParams) SetDefaults

func (o *UpdateDropRuleParams) SetDefaults()

SetDefaults hydrates default values in the update drop rule params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDropRuleParams) SetHTTPClient

func (o *UpdateDropRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update drop rule params

func (*UpdateDropRuleParams) SetSlug

func (o *UpdateDropRuleParams) SetSlug(slug string)

SetSlug adds the slug to the update drop rule params

func (*UpdateDropRuleParams) SetTimeout

func (o *UpdateDropRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update drop rule params

func (*UpdateDropRuleParams) WithBody

WithBody adds the body to the update drop rule params

func (*UpdateDropRuleParams) WithContext

WithContext adds the context to the update drop rule params

func (*UpdateDropRuleParams) WithDefaults

func (o *UpdateDropRuleParams) WithDefaults() *UpdateDropRuleParams

WithDefaults hydrates default values in the update drop rule params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDropRuleParams) WithHTTPClient

func (o *UpdateDropRuleParams) WithHTTPClient(client *http.Client) *UpdateDropRuleParams

WithHTTPClient adds the HTTPClient to the update drop rule params

func (*UpdateDropRuleParams) WithSlug

WithSlug adds the slug to the update drop rule params

func (*UpdateDropRuleParams) WithTimeout

func (o *UpdateDropRuleParams) WithTimeout(timeout time.Duration) *UpdateDropRuleParams

WithTimeout adds the timeout to the update drop rule params

func (*UpdateDropRuleParams) WriteToRequest

func (o *UpdateDropRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateDropRuleReader

type UpdateDropRuleReader struct {
	// contains filtered or unexported fields
}

UpdateDropRuleReader is a Reader for the UpdateDropRule structure.

func (*UpdateDropRuleReader) ReadResponse

func (o *UpdateDropRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateGrafanaDashboardBadRequest

type UpdateGrafanaDashboardBadRequest struct {
	Payload *models.APIError
}

UpdateGrafanaDashboardBadRequest describes a response with status code 400, with default header values.

Cannot update the GrafanaDashboard because the request is invalid.

func NewUpdateGrafanaDashboardBadRequest

func NewUpdateGrafanaDashboardBadRequest() *UpdateGrafanaDashboardBadRequest

NewUpdateGrafanaDashboardBadRequest creates a UpdateGrafanaDashboardBadRequest with default headers values

func (*UpdateGrafanaDashboardBadRequest) Code

Code gets the status code for the update grafana dashboard bad request response

func (*UpdateGrafanaDashboardBadRequest) Error

func (*UpdateGrafanaDashboardBadRequest) GetPayload

func (*UpdateGrafanaDashboardBadRequest) IsClientError

func (o *UpdateGrafanaDashboardBadRequest) IsClientError() bool

IsClientError returns true when this update grafana dashboard bad request response has a 4xx status code

func (*UpdateGrafanaDashboardBadRequest) IsCode

func (o *UpdateGrafanaDashboardBadRequest) IsCode(code int) bool

IsCode returns true when this update grafana dashboard bad request response a status code equal to that given

func (*UpdateGrafanaDashboardBadRequest) IsRedirect

func (o *UpdateGrafanaDashboardBadRequest) IsRedirect() bool

IsRedirect returns true when this update grafana dashboard bad request response has a 3xx status code

func (*UpdateGrafanaDashboardBadRequest) IsServerError

func (o *UpdateGrafanaDashboardBadRequest) IsServerError() bool

IsServerError returns true when this update grafana dashboard bad request response has a 5xx status code

func (*UpdateGrafanaDashboardBadRequest) IsSuccess

func (o *UpdateGrafanaDashboardBadRequest) IsSuccess() bool

IsSuccess returns true when this update grafana dashboard bad request response has a 2xx status code

func (*UpdateGrafanaDashboardBadRequest) String

type UpdateGrafanaDashboardBody

type UpdateGrafanaDashboardBody struct {

	// If true, the GrafanaDashboard will be created if it does not already exist, identified by slug. If false, an error will be returned if the GrafanaDashboard does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the GrafanaDashboard will not be created nor updated, and no response GrafanaDashboard will be returned. The response will return an error if the given GrafanaDashboard is invalid.
	DryRun bool `json:"dry_run,omitempty"`

	// grafana dashboard
	GrafanaDashboard *models.Configv1GrafanaDashboard `json:"grafana_dashboard,omitempty"`
}

UpdateGrafanaDashboardBody update grafana dashboard body swagger:model UpdateGrafanaDashboardBody

func (*UpdateGrafanaDashboardBody) ContextValidate

func (o *UpdateGrafanaDashboardBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update grafana dashboard body based on the context it is used

func (*UpdateGrafanaDashboardBody) MarshalBinary

func (o *UpdateGrafanaDashboardBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateGrafanaDashboardBody) UnmarshalBinary

func (o *UpdateGrafanaDashboardBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateGrafanaDashboardBody) Validate

func (o *UpdateGrafanaDashboardBody) Validate(formats strfmt.Registry) error

Validate validates this update grafana dashboard body

type UpdateGrafanaDashboardConflict

type UpdateGrafanaDashboardConflict struct {
	Payload *models.APIError
}

UpdateGrafanaDashboardConflict describes a response with status code 409, with default header values.

Cannot update the GrafanaDashboard because there is a conflict with an existing GrafanaDashboard.

func NewUpdateGrafanaDashboardConflict

func NewUpdateGrafanaDashboardConflict() *UpdateGrafanaDashboardConflict

NewUpdateGrafanaDashboardConflict creates a UpdateGrafanaDashboardConflict with default headers values

func (*UpdateGrafanaDashboardConflict) Code

Code gets the status code for the update grafana dashboard conflict response

func (*UpdateGrafanaDashboardConflict) Error

func (*UpdateGrafanaDashboardConflict) GetPayload

func (*UpdateGrafanaDashboardConflict) IsClientError

func (o *UpdateGrafanaDashboardConflict) IsClientError() bool

IsClientError returns true when this update grafana dashboard conflict response has a 4xx status code

func (*UpdateGrafanaDashboardConflict) IsCode

func (o *UpdateGrafanaDashboardConflict) IsCode(code int) bool

IsCode returns true when this update grafana dashboard conflict response a status code equal to that given

func (*UpdateGrafanaDashboardConflict) IsRedirect

func (o *UpdateGrafanaDashboardConflict) IsRedirect() bool

IsRedirect returns true when this update grafana dashboard conflict response has a 3xx status code

func (*UpdateGrafanaDashboardConflict) IsServerError

func (o *UpdateGrafanaDashboardConflict) IsServerError() bool

IsServerError returns true when this update grafana dashboard conflict response has a 5xx status code

func (*UpdateGrafanaDashboardConflict) IsSuccess

func (o *UpdateGrafanaDashboardConflict) IsSuccess() bool

IsSuccess returns true when this update grafana dashboard conflict response has a 2xx status code

func (*UpdateGrafanaDashboardConflict) String

type UpdateGrafanaDashboardDefault

type UpdateGrafanaDashboardDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateGrafanaDashboardDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateGrafanaDashboardDefault

func NewUpdateGrafanaDashboardDefault(code int) *UpdateGrafanaDashboardDefault

NewUpdateGrafanaDashboardDefault creates a UpdateGrafanaDashboardDefault with default headers values

func (*UpdateGrafanaDashboardDefault) Code

Code gets the status code for the update grafana dashboard default response

func (*UpdateGrafanaDashboardDefault) Error

func (*UpdateGrafanaDashboardDefault) GetPayload

func (*UpdateGrafanaDashboardDefault) IsClientError

func (o *UpdateGrafanaDashboardDefault) IsClientError() bool

IsClientError returns true when this update grafana dashboard default response has a 4xx status code

func (*UpdateGrafanaDashboardDefault) IsCode

func (o *UpdateGrafanaDashboardDefault) IsCode(code int) bool

IsCode returns true when this update grafana dashboard default response a status code equal to that given

func (*UpdateGrafanaDashboardDefault) IsRedirect

func (o *UpdateGrafanaDashboardDefault) IsRedirect() bool

IsRedirect returns true when this update grafana dashboard default response has a 3xx status code

func (*UpdateGrafanaDashboardDefault) IsServerError

func (o *UpdateGrafanaDashboardDefault) IsServerError() bool

IsServerError returns true when this update grafana dashboard default response has a 5xx status code

func (*UpdateGrafanaDashboardDefault) IsSuccess

func (o *UpdateGrafanaDashboardDefault) IsSuccess() bool

IsSuccess returns true when this update grafana dashboard default response has a 2xx status code

func (*UpdateGrafanaDashboardDefault) String

type UpdateGrafanaDashboardInternalServerError

type UpdateGrafanaDashboardInternalServerError struct {
	Payload *models.APIError
}

UpdateGrafanaDashboardInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateGrafanaDashboardInternalServerError

func NewUpdateGrafanaDashboardInternalServerError() *UpdateGrafanaDashboardInternalServerError

NewUpdateGrafanaDashboardInternalServerError creates a UpdateGrafanaDashboardInternalServerError with default headers values

func (*UpdateGrafanaDashboardInternalServerError) Code

Code gets the status code for the update grafana dashboard internal server error response

func (*UpdateGrafanaDashboardInternalServerError) Error

func (*UpdateGrafanaDashboardInternalServerError) GetPayload

func (*UpdateGrafanaDashboardInternalServerError) IsClientError

IsClientError returns true when this update grafana dashboard internal server error response has a 4xx status code

func (*UpdateGrafanaDashboardInternalServerError) IsCode

IsCode returns true when this update grafana dashboard internal server error response a status code equal to that given

func (*UpdateGrafanaDashboardInternalServerError) IsRedirect

IsRedirect returns true when this update grafana dashboard internal server error response has a 3xx status code

func (*UpdateGrafanaDashboardInternalServerError) IsServerError

IsServerError returns true when this update grafana dashboard internal server error response has a 5xx status code

func (*UpdateGrafanaDashboardInternalServerError) IsSuccess

IsSuccess returns true when this update grafana dashboard internal server error response has a 2xx status code

func (*UpdateGrafanaDashboardInternalServerError) String

type UpdateGrafanaDashboardNotFound

type UpdateGrafanaDashboardNotFound struct {
	Payload *models.APIError
}

UpdateGrafanaDashboardNotFound describes a response with status code 404, with default header values.

Cannot update the GrafanaDashboard because the slug does not exist.

func NewUpdateGrafanaDashboardNotFound

func NewUpdateGrafanaDashboardNotFound() *UpdateGrafanaDashboardNotFound

NewUpdateGrafanaDashboardNotFound creates a UpdateGrafanaDashboardNotFound with default headers values

func (*UpdateGrafanaDashboardNotFound) Code

Code gets the status code for the update grafana dashboard not found response

func (*UpdateGrafanaDashboardNotFound) Error

func (*UpdateGrafanaDashboardNotFound) GetPayload

func (*UpdateGrafanaDashboardNotFound) IsClientError

func (o *UpdateGrafanaDashboardNotFound) IsClientError() bool

IsClientError returns true when this update grafana dashboard not found response has a 4xx status code

func (*UpdateGrafanaDashboardNotFound) IsCode

func (o *UpdateGrafanaDashboardNotFound) IsCode(code int) bool

IsCode returns true when this update grafana dashboard not found response a status code equal to that given

func (*UpdateGrafanaDashboardNotFound) IsRedirect

func (o *UpdateGrafanaDashboardNotFound) IsRedirect() bool

IsRedirect returns true when this update grafana dashboard not found response has a 3xx status code

func (*UpdateGrafanaDashboardNotFound) IsServerError

func (o *UpdateGrafanaDashboardNotFound) IsServerError() bool

IsServerError returns true when this update grafana dashboard not found response has a 5xx status code

func (*UpdateGrafanaDashboardNotFound) IsSuccess

func (o *UpdateGrafanaDashboardNotFound) IsSuccess() bool

IsSuccess returns true when this update grafana dashboard not found response has a 2xx status code

func (*UpdateGrafanaDashboardNotFound) String

type UpdateGrafanaDashboardOK

type UpdateGrafanaDashboardOK struct {
	Payload *models.Configv1UpdateGrafanaDashboardResponse
}

UpdateGrafanaDashboardOK describes a response with status code 200, with default header values.

A successful response containing the updated GrafanaDashboard.

func NewUpdateGrafanaDashboardOK

func NewUpdateGrafanaDashboardOK() *UpdateGrafanaDashboardOK

NewUpdateGrafanaDashboardOK creates a UpdateGrafanaDashboardOK with default headers values

func (*UpdateGrafanaDashboardOK) Code

func (o *UpdateGrafanaDashboardOK) Code() int

Code gets the status code for the update grafana dashboard o k response

func (*UpdateGrafanaDashboardOK) Error

func (o *UpdateGrafanaDashboardOK) Error() string

func (*UpdateGrafanaDashboardOK) GetPayload

func (*UpdateGrafanaDashboardOK) IsClientError

func (o *UpdateGrafanaDashboardOK) IsClientError() bool

IsClientError returns true when this update grafana dashboard o k response has a 4xx status code

func (*UpdateGrafanaDashboardOK) IsCode

func (o *UpdateGrafanaDashboardOK) IsCode(code int) bool

IsCode returns true when this update grafana dashboard o k response a status code equal to that given

func (*UpdateGrafanaDashboardOK) IsRedirect

func (o *UpdateGrafanaDashboardOK) IsRedirect() bool

IsRedirect returns true when this update grafana dashboard o k response has a 3xx status code

func (*UpdateGrafanaDashboardOK) IsServerError

func (o *UpdateGrafanaDashboardOK) IsServerError() bool

IsServerError returns true when this update grafana dashboard o k response has a 5xx status code

func (*UpdateGrafanaDashboardOK) IsSuccess

func (o *UpdateGrafanaDashboardOK) IsSuccess() bool

IsSuccess returns true when this update grafana dashboard o k response has a 2xx status code

func (*UpdateGrafanaDashboardOK) String

func (o *UpdateGrafanaDashboardOK) String() string

type UpdateGrafanaDashboardParams

type UpdateGrafanaDashboardParams struct {

	// Body.
	Body UpdateGrafanaDashboardBody

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateGrafanaDashboardParams contains all the parameters to send to the API endpoint

for the update grafana dashboard operation.

Typically these are written to a http.Request.

func NewUpdateGrafanaDashboardParams

func NewUpdateGrafanaDashboardParams() *UpdateGrafanaDashboardParams

NewUpdateGrafanaDashboardParams creates a new UpdateGrafanaDashboardParams 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 NewUpdateGrafanaDashboardParamsWithContext

func NewUpdateGrafanaDashboardParamsWithContext(ctx context.Context) *UpdateGrafanaDashboardParams

NewUpdateGrafanaDashboardParamsWithContext creates a new UpdateGrafanaDashboardParams object with the ability to set a context for a request.

func NewUpdateGrafanaDashboardParamsWithHTTPClient

func NewUpdateGrafanaDashboardParamsWithHTTPClient(client *http.Client) *UpdateGrafanaDashboardParams

NewUpdateGrafanaDashboardParamsWithHTTPClient creates a new UpdateGrafanaDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateGrafanaDashboardParamsWithTimeout

func NewUpdateGrafanaDashboardParamsWithTimeout(timeout time.Duration) *UpdateGrafanaDashboardParams

NewUpdateGrafanaDashboardParamsWithTimeout creates a new UpdateGrafanaDashboardParams object with the ability to set a timeout on a request.

func (*UpdateGrafanaDashboardParams) SetBody

SetBody adds the body to the update grafana dashboard params

func (*UpdateGrafanaDashboardParams) SetContext

func (o *UpdateGrafanaDashboardParams) SetContext(ctx context.Context)

SetContext adds the context to the update grafana dashboard params

func (*UpdateGrafanaDashboardParams) SetDefaults

func (o *UpdateGrafanaDashboardParams) SetDefaults()

SetDefaults hydrates default values in the update grafana dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateGrafanaDashboardParams) SetHTTPClient

func (o *UpdateGrafanaDashboardParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update grafana dashboard params

func (*UpdateGrafanaDashboardParams) SetSlug

func (o *UpdateGrafanaDashboardParams) SetSlug(slug string)

SetSlug adds the slug to the update grafana dashboard params

func (*UpdateGrafanaDashboardParams) SetTimeout

func (o *UpdateGrafanaDashboardParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update grafana dashboard params

func (*UpdateGrafanaDashboardParams) WithBody

WithBody adds the body to the update grafana dashboard params

func (*UpdateGrafanaDashboardParams) WithContext

WithContext adds the context to the update grafana dashboard params

func (*UpdateGrafanaDashboardParams) WithDefaults

WithDefaults hydrates default values in the update grafana dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateGrafanaDashboardParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update grafana dashboard params

func (*UpdateGrafanaDashboardParams) WithSlug

WithSlug adds the slug to the update grafana dashboard params

func (*UpdateGrafanaDashboardParams) WithTimeout

WithTimeout adds the timeout to the update grafana dashboard params

func (*UpdateGrafanaDashboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateGrafanaDashboardReader

type UpdateGrafanaDashboardReader struct {
	// contains filtered or unexported fields
}

UpdateGrafanaDashboardReader is a Reader for the UpdateGrafanaDashboard structure.

func (*UpdateGrafanaDashboardReader) ReadResponse

func (o *UpdateGrafanaDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateMappingRuleBadRequest

type UpdateMappingRuleBadRequest struct {
	Payload *models.APIError
}

UpdateMappingRuleBadRequest describes a response with status code 400, with default header values.

Cannot update the MappingRule because the request is invalid.

func NewUpdateMappingRuleBadRequest

func NewUpdateMappingRuleBadRequest() *UpdateMappingRuleBadRequest

NewUpdateMappingRuleBadRequest creates a UpdateMappingRuleBadRequest with default headers values

func (*UpdateMappingRuleBadRequest) Code

func (o *UpdateMappingRuleBadRequest) Code() int

Code gets the status code for the update mapping rule bad request response

func (*UpdateMappingRuleBadRequest) Error

func (*UpdateMappingRuleBadRequest) GetPayload

func (o *UpdateMappingRuleBadRequest) GetPayload() *models.APIError

func (*UpdateMappingRuleBadRequest) IsClientError

func (o *UpdateMappingRuleBadRequest) IsClientError() bool

IsClientError returns true when this update mapping rule bad request response has a 4xx status code

func (*UpdateMappingRuleBadRequest) IsCode

func (o *UpdateMappingRuleBadRequest) IsCode(code int) bool

IsCode returns true when this update mapping rule bad request response a status code equal to that given

func (*UpdateMappingRuleBadRequest) IsRedirect

func (o *UpdateMappingRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this update mapping rule bad request response has a 3xx status code

func (*UpdateMappingRuleBadRequest) IsServerError

func (o *UpdateMappingRuleBadRequest) IsServerError() bool

IsServerError returns true when this update mapping rule bad request response has a 5xx status code

func (*UpdateMappingRuleBadRequest) IsSuccess

func (o *UpdateMappingRuleBadRequest) IsSuccess() bool

IsSuccess returns true when this update mapping rule bad request response has a 2xx status code

func (*UpdateMappingRuleBadRequest) String

func (o *UpdateMappingRuleBadRequest) String() string

type UpdateMappingRuleBody

type UpdateMappingRuleBody struct {

	// If true, the MappingRule will be created if it does not already exist, identified by slug. If false, an error will be returned if the MappingRule does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the MappingRule will not be created nor updated, and no response MappingRule will be returned. The response will return an error if the given MappingRule is invalid.
	DryRun bool `json:"dry_run,omitempty"`

	// mapping rule
	MappingRule *models.Configv1MappingRule `json:"mapping_rule,omitempty"`
}

UpdateMappingRuleBody update mapping rule body swagger:model UpdateMappingRuleBody

func (*UpdateMappingRuleBody) ContextValidate

func (o *UpdateMappingRuleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update mapping rule body based on the context it is used

func (*UpdateMappingRuleBody) MarshalBinary

func (o *UpdateMappingRuleBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateMappingRuleBody) UnmarshalBinary

func (o *UpdateMappingRuleBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateMappingRuleBody) Validate

func (o *UpdateMappingRuleBody) Validate(formats strfmt.Registry) error

Validate validates this update mapping rule body

type UpdateMappingRuleConflict

type UpdateMappingRuleConflict struct {
	Payload *models.APIError
}

UpdateMappingRuleConflict describes a response with status code 409, with default header values.

Cannot update the MappingRule because there is a conflict with an existing MappingRule.

func NewUpdateMappingRuleConflict

func NewUpdateMappingRuleConflict() *UpdateMappingRuleConflict

NewUpdateMappingRuleConflict creates a UpdateMappingRuleConflict with default headers values

func (*UpdateMappingRuleConflict) Code

func (o *UpdateMappingRuleConflict) Code() int

Code gets the status code for the update mapping rule conflict response

func (*UpdateMappingRuleConflict) Error

func (o *UpdateMappingRuleConflict) Error() string

func (*UpdateMappingRuleConflict) GetPayload

func (o *UpdateMappingRuleConflict) GetPayload() *models.APIError

func (*UpdateMappingRuleConflict) IsClientError

func (o *UpdateMappingRuleConflict) IsClientError() bool

IsClientError returns true when this update mapping rule conflict response has a 4xx status code

func (*UpdateMappingRuleConflict) IsCode

func (o *UpdateMappingRuleConflict) IsCode(code int) bool

IsCode returns true when this update mapping rule conflict response a status code equal to that given

func (*UpdateMappingRuleConflict) IsRedirect

func (o *UpdateMappingRuleConflict) IsRedirect() bool

IsRedirect returns true when this update mapping rule conflict response has a 3xx status code

func (*UpdateMappingRuleConflict) IsServerError

func (o *UpdateMappingRuleConflict) IsServerError() bool

IsServerError returns true when this update mapping rule conflict response has a 5xx status code

func (*UpdateMappingRuleConflict) IsSuccess

func (o *UpdateMappingRuleConflict) IsSuccess() bool

IsSuccess returns true when this update mapping rule conflict response has a 2xx status code

func (*UpdateMappingRuleConflict) String

func (o *UpdateMappingRuleConflict) String() string

type UpdateMappingRuleDefault

type UpdateMappingRuleDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateMappingRuleDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateMappingRuleDefault

func NewUpdateMappingRuleDefault(code int) *UpdateMappingRuleDefault

NewUpdateMappingRuleDefault creates a UpdateMappingRuleDefault with default headers values

func (*UpdateMappingRuleDefault) Code

func (o *UpdateMappingRuleDefault) Code() int

Code gets the status code for the update mapping rule default response

func (*UpdateMappingRuleDefault) Error

func (o *UpdateMappingRuleDefault) Error() string

func (*UpdateMappingRuleDefault) GetPayload

func (*UpdateMappingRuleDefault) IsClientError

func (o *UpdateMappingRuleDefault) IsClientError() bool

IsClientError returns true when this update mapping rule default response has a 4xx status code

func (*UpdateMappingRuleDefault) IsCode

func (o *UpdateMappingRuleDefault) IsCode(code int) bool

IsCode returns true when this update mapping rule default response a status code equal to that given

func (*UpdateMappingRuleDefault) IsRedirect

func (o *UpdateMappingRuleDefault) IsRedirect() bool

IsRedirect returns true when this update mapping rule default response has a 3xx status code

func (*UpdateMappingRuleDefault) IsServerError

func (o *UpdateMappingRuleDefault) IsServerError() bool

IsServerError returns true when this update mapping rule default response has a 5xx status code

func (*UpdateMappingRuleDefault) IsSuccess

func (o *UpdateMappingRuleDefault) IsSuccess() bool

IsSuccess returns true when this update mapping rule default response has a 2xx status code

func (*UpdateMappingRuleDefault) String

func (o *UpdateMappingRuleDefault) String() string

type UpdateMappingRuleInternalServerError

type UpdateMappingRuleInternalServerError struct {
	Payload *models.APIError
}

UpdateMappingRuleInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateMappingRuleInternalServerError

func NewUpdateMappingRuleInternalServerError() *UpdateMappingRuleInternalServerError

NewUpdateMappingRuleInternalServerError creates a UpdateMappingRuleInternalServerError with default headers values

func (*UpdateMappingRuleInternalServerError) Code

Code gets the status code for the update mapping rule internal server error response

func (*UpdateMappingRuleInternalServerError) Error

func (*UpdateMappingRuleInternalServerError) GetPayload

func (*UpdateMappingRuleInternalServerError) IsClientError

func (o *UpdateMappingRuleInternalServerError) IsClientError() bool

IsClientError returns true when this update mapping rule internal server error response has a 4xx status code

func (*UpdateMappingRuleInternalServerError) IsCode

IsCode returns true when this update mapping rule internal server error response a status code equal to that given

func (*UpdateMappingRuleInternalServerError) IsRedirect

IsRedirect returns true when this update mapping rule internal server error response has a 3xx status code

func (*UpdateMappingRuleInternalServerError) IsServerError

func (o *UpdateMappingRuleInternalServerError) IsServerError() bool

IsServerError returns true when this update mapping rule internal server error response has a 5xx status code

func (*UpdateMappingRuleInternalServerError) IsSuccess

IsSuccess returns true when this update mapping rule internal server error response has a 2xx status code

func (*UpdateMappingRuleInternalServerError) String

type UpdateMappingRuleNotFound

type UpdateMappingRuleNotFound struct {
	Payload *models.APIError
}

UpdateMappingRuleNotFound describes a response with status code 404, with default header values.

Cannot update the MappingRule because the slug does not exist.

func NewUpdateMappingRuleNotFound

func NewUpdateMappingRuleNotFound() *UpdateMappingRuleNotFound

NewUpdateMappingRuleNotFound creates a UpdateMappingRuleNotFound with default headers values

func (*UpdateMappingRuleNotFound) Code

func (o *UpdateMappingRuleNotFound) Code() int

Code gets the status code for the update mapping rule not found response

func (*UpdateMappingRuleNotFound) Error

func (o *UpdateMappingRuleNotFound) Error() string

func (*UpdateMappingRuleNotFound) GetPayload

func (o *UpdateMappingRuleNotFound) GetPayload() *models.APIError

func (*UpdateMappingRuleNotFound) IsClientError

func (o *UpdateMappingRuleNotFound) IsClientError() bool

IsClientError returns true when this update mapping rule not found response has a 4xx status code

func (*UpdateMappingRuleNotFound) IsCode

func (o *UpdateMappingRuleNotFound) IsCode(code int) bool

IsCode returns true when this update mapping rule not found response a status code equal to that given

func (*UpdateMappingRuleNotFound) IsRedirect

func (o *UpdateMappingRuleNotFound) IsRedirect() bool

IsRedirect returns true when this update mapping rule not found response has a 3xx status code

func (*UpdateMappingRuleNotFound) IsServerError

func (o *UpdateMappingRuleNotFound) IsServerError() bool

IsServerError returns true when this update mapping rule not found response has a 5xx status code

func (*UpdateMappingRuleNotFound) IsSuccess

func (o *UpdateMappingRuleNotFound) IsSuccess() bool

IsSuccess returns true when this update mapping rule not found response has a 2xx status code

func (*UpdateMappingRuleNotFound) String

func (o *UpdateMappingRuleNotFound) String() string

type UpdateMappingRuleOK

type UpdateMappingRuleOK struct {
	Payload *models.Configv1UpdateMappingRuleResponse
}

UpdateMappingRuleOK describes a response with status code 200, with default header values.

A successful response containing the updated MappingRule.

func NewUpdateMappingRuleOK

func NewUpdateMappingRuleOK() *UpdateMappingRuleOK

NewUpdateMappingRuleOK creates a UpdateMappingRuleOK with default headers values

func (*UpdateMappingRuleOK) Code

func (o *UpdateMappingRuleOK) Code() int

Code gets the status code for the update mapping rule o k response

func (*UpdateMappingRuleOK) Error

func (o *UpdateMappingRuleOK) Error() string

func (*UpdateMappingRuleOK) GetPayload

func (*UpdateMappingRuleOK) IsClientError

func (o *UpdateMappingRuleOK) IsClientError() bool

IsClientError returns true when this update mapping rule o k response has a 4xx status code

func (*UpdateMappingRuleOK) IsCode

func (o *UpdateMappingRuleOK) IsCode(code int) bool

IsCode returns true when this update mapping rule o k response a status code equal to that given

func (*UpdateMappingRuleOK) IsRedirect

func (o *UpdateMappingRuleOK) IsRedirect() bool

IsRedirect returns true when this update mapping rule o k response has a 3xx status code

func (*UpdateMappingRuleOK) IsServerError

func (o *UpdateMappingRuleOK) IsServerError() bool

IsServerError returns true when this update mapping rule o k response has a 5xx status code

func (*UpdateMappingRuleOK) IsSuccess

func (o *UpdateMappingRuleOK) IsSuccess() bool

IsSuccess returns true when this update mapping rule o k response has a 2xx status code

func (*UpdateMappingRuleOK) String

func (o *UpdateMappingRuleOK) String() string

type UpdateMappingRuleParams

type UpdateMappingRuleParams struct {

	// Body.
	Body UpdateMappingRuleBody

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateMappingRuleParams contains all the parameters to send to the API endpoint

for the update mapping rule operation.

Typically these are written to a http.Request.

func NewUpdateMappingRuleParams

func NewUpdateMappingRuleParams() *UpdateMappingRuleParams

NewUpdateMappingRuleParams creates a new UpdateMappingRuleParams 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 NewUpdateMappingRuleParamsWithContext

func NewUpdateMappingRuleParamsWithContext(ctx context.Context) *UpdateMappingRuleParams

NewUpdateMappingRuleParamsWithContext creates a new UpdateMappingRuleParams object with the ability to set a context for a request.

func NewUpdateMappingRuleParamsWithHTTPClient

func NewUpdateMappingRuleParamsWithHTTPClient(client *http.Client) *UpdateMappingRuleParams

NewUpdateMappingRuleParamsWithHTTPClient creates a new UpdateMappingRuleParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateMappingRuleParamsWithTimeout

func NewUpdateMappingRuleParamsWithTimeout(timeout time.Duration) *UpdateMappingRuleParams

NewUpdateMappingRuleParamsWithTimeout creates a new UpdateMappingRuleParams object with the ability to set a timeout on a request.

func (*UpdateMappingRuleParams) SetBody

SetBody adds the body to the update mapping rule params

func (*UpdateMappingRuleParams) SetContext

func (o *UpdateMappingRuleParams) SetContext(ctx context.Context)

SetContext adds the context to the update mapping rule params

func (*UpdateMappingRuleParams) SetDefaults

func (o *UpdateMappingRuleParams) SetDefaults()

SetDefaults hydrates default values in the update mapping rule params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateMappingRuleParams) SetHTTPClient

func (o *UpdateMappingRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update mapping rule params

func (*UpdateMappingRuleParams) SetSlug

func (o *UpdateMappingRuleParams) SetSlug(slug string)

SetSlug adds the slug to the update mapping rule params

func (*UpdateMappingRuleParams) SetTimeout

func (o *UpdateMappingRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update mapping rule params

func (*UpdateMappingRuleParams) WithBody

WithBody adds the body to the update mapping rule params

func (*UpdateMappingRuleParams) WithContext

WithContext adds the context to the update mapping rule params

func (*UpdateMappingRuleParams) WithDefaults

WithDefaults hydrates default values in the update mapping rule params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateMappingRuleParams) WithHTTPClient

func (o *UpdateMappingRuleParams) WithHTTPClient(client *http.Client) *UpdateMappingRuleParams

WithHTTPClient adds the HTTPClient to the update mapping rule params

func (*UpdateMappingRuleParams) WithSlug

WithSlug adds the slug to the update mapping rule params

func (*UpdateMappingRuleParams) WithTimeout

WithTimeout adds the timeout to the update mapping rule params

func (*UpdateMappingRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateMappingRuleReader

type UpdateMappingRuleReader struct {
	// contains filtered or unexported fields
}

UpdateMappingRuleReader is a Reader for the UpdateMappingRule structure.

func (*UpdateMappingRuleReader) ReadResponse

func (o *UpdateMappingRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateMonitorBadRequest

type UpdateMonitorBadRequest struct {
	Payload *models.APIError
}

UpdateMonitorBadRequest describes a response with status code 400, with default header values.

Cannot update the Monitor because the request is invalid.

func NewUpdateMonitorBadRequest

func NewUpdateMonitorBadRequest() *UpdateMonitorBadRequest

NewUpdateMonitorBadRequest creates a UpdateMonitorBadRequest with default headers values

func (*UpdateMonitorBadRequest) Code

func (o *UpdateMonitorBadRequest) Code() int

Code gets the status code for the update monitor bad request response

func (*UpdateMonitorBadRequest) Error

func (o *UpdateMonitorBadRequest) Error() string

func (*UpdateMonitorBadRequest) GetPayload

func (o *UpdateMonitorBadRequest) GetPayload() *models.APIError

func (*UpdateMonitorBadRequest) IsClientError

func (o *UpdateMonitorBadRequest) IsClientError() bool

IsClientError returns true when this update monitor bad request response has a 4xx status code

func (*UpdateMonitorBadRequest) IsCode

func (o *UpdateMonitorBadRequest) IsCode(code int) bool

IsCode returns true when this update monitor bad request response a status code equal to that given

func (*UpdateMonitorBadRequest) IsRedirect

func (o *UpdateMonitorBadRequest) IsRedirect() bool

IsRedirect returns true when this update monitor bad request response has a 3xx status code

func (*UpdateMonitorBadRequest) IsServerError

func (o *UpdateMonitorBadRequest) IsServerError() bool

IsServerError returns true when this update monitor bad request response has a 5xx status code

func (*UpdateMonitorBadRequest) IsSuccess

func (o *UpdateMonitorBadRequest) IsSuccess() bool

IsSuccess returns true when this update monitor bad request response has a 2xx status code

func (*UpdateMonitorBadRequest) String

func (o *UpdateMonitorBadRequest) String() string

type UpdateMonitorBody

type UpdateMonitorBody struct {

	// If true, the Monitor will be created if it does not already exist, identified by slug. If false, an error will be returned if the Monitor does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the Monitor will not be created nor updated, and no response Monitor will be returned. The response will return an error if the given Monitor is invalid.
	DryRun bool `json:"dry_run,omitempty"`

	// monitor
	Monitor *models.Configv1Monitor `json:"monitor,omitempty"`
}

UpdateMonitorBody update monitor body swagger:model UpdateMonitorBody

func (*UpdateMonitorBody) ContextValidate

func (o *UpdateMonitorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update monitor body based on the context it is used

func (*UpdateMonitorBody) MarshalBinary

func (o *UpdateMonitorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateMonitorBody) UnmarshalBinary

func (o *UpdateMonitorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateMonitorBody) Validate

func (o *UpdateMonitorBody) Validate(formats strfmt.Registry) error

Validate validates this update monitor body

type UpdateMonitorConflict

type UpdateMonitorConflict struct {
	Payload *models.APIError
}

UpdateMonitorConflict describes a response with status code 409, with default header values.

Cannot update the Monitor because there is a conflict with an existing Monitor.

func NewUpdateMonitorConflict

func NewUpdateMonitorConflict() *UpdateMonitorConflict

NewUpdateMonitorConflict creates a UpdateMonitorConflict with default headers values

func (*UpdateMonitorConflict) Code

func (o *UpdateMonitorConflict) Code() int

Code gets the status code for the update monitor conflict response

func (*UpdateMonitorConflict) Error

func (o *UpdateMonitorConflict) Error() string

func (*UpdateMonitorConflict) GetPayload

func (o *UpdateMonitorConflict) GetPayload() *models.APIError

func (*UpdateMonitorConflict) IsClientError

func (o *UpdateMonitorConflict) IsClientError() bool

IsClientError returns true when this update monitor conflict response has a 4xx status code

func (*UpdateMonitorConflict) IsCode

func (o *UpdateMonitorConflict) IsCode(code int) bool

IsCode returns true when this update monitor conflict response a status code equal to that given

func (*UpdateMonitorConflict) IsRedirect

func (o *UpdateMonitorConflict) IsRedirect() bool

IsRedirect returns true when this update monitor conflict response has a 3xx status code

func (*UpdateMonitorConflict) IsServerError

func (o *UpdateMonitorConflict) IsServerError() bool

IsServerError returns true when this update monitor conflict response has a 5xx status code

func (*UpdateMonitorConflict) IsSuccess

func (o *UpdateMonitorConflict) IsSuccess() bool

IsSuccess returns true when this update monitor conflict response has a 2xx status code

func (*UpdateMonitorConflict) String

func (o *UpdateMonitorConflict) String() string

type UpdateMonitorDefault

type UpdateMonitorDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateMonitorDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateMonitorDefault

func NewUpdateMonitorDefault(code int) *UpdateMonitorDefault

NewUpdateMonitorDefault creates a UpdateMonitorDefault with default headers values

func (*UpdateMonitorDefault) Code

func (o *UpdateMonitorDefault) Code() int

Code gets the status code for the update monitor default response

func (*UpdateMonitorDefault) Error

func (o *UpdateMonitorDefault) Error() string

func (*UpdateMonitorDefault) GetPayload

func (o *UpdateMonitorDefault) GetPayload() models.GenericError

func (*UpdateMonitorDefault) IsClientError

func (o *UpdateMonitorDefault) IsClientError() bool

IsClientError returns true when this update monitor default response has a 4xx status code

func (*UpdateMonitorDefault) IsCode

func (o *UpdateMonitorDefault) IsCode(code int) bool

IsCode returns true when this update monitor default response a status code equal to that given

func (*UpdateMonitorDefault) IsRedirect

func (o *UpdateMonitorDefault) IsRedirect() bool

IsRedirect returns true when this update monitor default response has a 3xx status code

func (*UpdateMonitorDefault) IsServerError

func (o *UpdateMonitorDefault) IsServerError() bool

IsServerError returns true when this update monitor default response has a 5xx status code

func (*UpdateMonitorDefault) IsSuccess

func (o *UpdateMonitorDefault) IsSuccess() bool

IsSuccess returns true when this update monitor default response has a 2xx status code

func (*UpdateMonitorDefault) String

func (o *UpdateMonitorDefault) String() string

type UpdateMonitorInternalServerError

type UpdateMonitorInternalServerError struct {
	Payload *models.APIError
}

UpdateMonitorInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateMonitorInternalServerError

func NewUpdateMonitorInternalServerError() *UpdateMonitorInternalServerError

NewUpdateMonitorInternalServerError creates a UpdateMonitorInternalServerError with default headers values

func (*UpdateMonitorInternalServerError) Code

Code gets the status code for the update monitor internal server error response

func (*UpdateMonitorInternalServerError) Error

func (*UpdateMonitorInternalServerError) GetPayload

func (*UpdateMonitorInternalServerError) IsClientError

func (o *UpdateMonitorInternalServerError) IsClientError() bool

IsClientError returns true when this update monitor internal server error response has a 4xx status code

func (*UpdateMonitorInternalServerError) IsCode

func (o *UpdateMonitorInternalServerError) IsCode(code int) bool

IsCode returns true when this update monitor internal server error response a status code equal to that given

func (*UpdateMonitorInternalServerError) IsRedirect

func (o *UpdateMonitorInternalServerError) IsRedirect() bool

IsRedirect returns true when this update monitor internal server error response has a 3xx status code

func (*UpdateMonitorInternalServerError) IsServerError

func (o *UpdateMonitorInternalServerError) IsServerError() bool

IsServerError returns true when this update monitor internal server error response has a 5xx status code

func (*UpdateMonitorInternalServerError) IsSuccess

func (o *UpdateMonitorInternalServerError) IsSuccess() bool

IsSuccess returns true when this update monitor internal server error response has a 2xx status code

func (*UpdateMonitorInternalServerError) String

type UpdateMonitorNotFound

type UpdateMonitorNotFound struct {
	Payload *models.APIError
}

UpdateMonitorNotFound describes a response with status code 404, with default header values.

Cannot update the Monitor because the slug does not exist.

func NewUpdateMonitorNotFound

func NewUpdateMonitorNotFound() *UpdateMonitorNotFound

NewUpdateMonitorNotFound creates a UpdateMonitorNotFound with default headers values

func (*UpdateMonitorNotFound) Code

func (o *UpdateMonitorNotFound) Code() int

Code gets the status code for the update monitor not found response

func (*UpdateMonitorNotFound) Error

func (o *UpdateMonitorNotFound) Error() string

func (*UpdateMonitorNotFound) GetPayload

func (o *UpdateMonitorNotFound) GetPayload() *models.APIError

func (*UpdateMonitorNotFound) IsClientError

func (o *UpdateMonitorNotFound) IsClientError() bool

IsClientError returns true when this update monitor not found response has a 4xx status code

func (*UpdateMonitorNotFound) IsCode

func (o *UpdateMonitorNotFound) IsCode(code int) bool

IsCode returns true when this update monitor not found response a status code equal to that given

func (*UpdateMonitorNotFound) IsRedirect

func (o *UpdateMonitorNotFound) IsRedirect() bool

IsRedirect returns true when this update monitor not found response has a 3xx status code

func (*UpdateMonitorNotFound) IsServerError

func (o *UpdateMonitorNotFound) IsServerError() bool

IsServerError returns true when this update monitor not found response has a 5xx status code

func (*UpdateMonitorNotFound) IsSuccess

func (o *UpdateMonitorNotFound) IsSuccess() bool

IsSuccess returns true when this update monitor not found response has a 2xx status code

func (*UpdateMonitorNotFound) String

func (o *UpdateMonitorNotFound) String() string

type UpdateMonitorOK

type UpdateMonitorOK struct {
	Payload *models.Configv1UpdateMonitorResponse
}

UpdateMonitorOK describes a response with status code 200, with default header values.

A successful response containing the updated Monitor.

func NewUpdateMonitorOK

func NewUpdateMonitorOK() *UpdateMonitorOK

NewUpdateMonitorOK creates a UpdateMonitorOK with default headers values

func (*UpdateMonitorOK) Code

func (o *UpdateMonitorOK) Code() int

Code gets the status code for the update monitor o k response

func (*UpdateMonitorOK) Error

func (o *UpdateMonitorOK) Error() string

func (*UpdateMonitorOK) GetPayload

func (*UpdateMonitorOK) IsClientError

func (o *UpdateMonitorOK) IsClientError() bool

IsClientError returns true when this update monitor o k response has a 4xx status code

func (*UpdateMonitorOK) IsCode

func (o *UpdateMonitorOK) IsCode(code int) bool

IsCode returns true when this update monitor o k response a status code equal to that given

func (*UpdateMonitorOK) IsRedirect

func (o *UpdateMonitorOK) IsRedirect() bool

IsRedirect returns true when this update monitor o k response has a 3xx status code

func (*UpdateMonitorOK) IsServerError

func (o *UpdateMonitorOK) IsServerError() bool

IsServerError returns true when this update monitor o k response has a 5xx status code

func (*UpdateMonitorOK) IsSuccess

func (o *UpdateMonitorOK) IsSuccess() bool

IsSuccess returns true when this update monitor o k response has a 2xx status code

func (*UpdateMonitorOK) String

func (o *UpdateMonitorOK) String() string

type UpdateMonitorParams

type UpdateMonitorParams struct {

	// Body.
	Body UpdateMonitorBody

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateMonitorParams contains all the parameters to send to the API endpoint

for the update monitor operation.

Typically these are written to a http.Request.

func NewUpdateMonitorParams

func NewUpdateMonitorParams() *UpdateMonitorParams

NewUpdateMonitorParams creates a new UpdateMonitorParams 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 NewUpdateMonitorParamsWithContext

func NewUpdateMonitorParamsWithContext(ctx context.Context) *UpdateMonitorParams

NewUpdateMonitorParamsWithContext creates a new UpdateMonitorParams object with the ability to set a context for a request.

func NewUpdateMonitorParamsWithHTTPClient

func NewUpdateMonitorParamsWithHTTPClient(client *http.Client) *UpdateMonitorParams

NewUpdateMonitorParamsWithHTTPClient creates a new UpdateMonitorParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateMonitorParamsWithTimeout

func NewUpdateMonitorParamsWithTimeout(timeout time.Duration) *UpdateMonitorParams

NewUpdateMonitorParamsWithTimeout creates a new UpdateMonitorParams object with the ability to set a timeout on a request.

func (*UpdateMonitorParams) SetBody

func (o *UpdateMonitorParams) SetBody(body UpdateMonitorBody)

SetBody adds the body to the update monitor params

func (*UpdateMonitorParams) SetContext

func (o *UpdateMonitorParams) SetContext(ctx context.Context)

SetContext adds the context to the update monitor params

func (*UpdateMonitorParams) SetDefaults

func (o *UpdateMonitorParams) SetDefaults()

SetDefaults hydrates default values in the update monitor params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateMonitorParams) SetHTTPClient

func (o *UpdateMonitorParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update monitor params

func (*UpdateMonitorParams) SetSlug

func (o *UpdateMonitorParams) SetSlug(slug string)

SetSlug adds the slug to the update monitor params

func (*UpdateMonitorParams) SetTimeout

func (o *UpdateMonitorParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update monitor params

func (*UpdateMonitorParams) WithBody

WithBody adds the body to the update monitor params

func (*UpdateMonitorParams) WithContext

WithContext adds the context to the update monitor params

func (*UpdateMonitorParams) WithDefaults

func (o *UpdateMonitorParams) WithDefaults() *UpdateMonitorParams

WithDefaults hydrates default values in the update monitor params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateMonitorParams) WithHTTPClient

func (o *UpdateMonitorParams) WithHTTPClient(client *http.Client) *UpdateMonitorParams

WithHTTPClient adds the HTTPClient to the update monitor params

func (*UpdateMonitorParams) WithSlug

func (o *UpdateMonitorParams) WithSlug(slug string) *UpdateMonitorParams

WithSlug adds the slug to the update monitor params

func (*UpdateMonitorParams) WithTimeout

func (o *UpdateMonitorParams) WithTimeout(timeout time.Duration) *UpdateMonitorParams

WithTimeout adds the timeout to the update monitor params

func (*UpdateMonitorParams) WriteToRequest

func (o *UpdateMonitorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateMonitorReader

type UpdateMonitorReader struct {
	// contains filtered or unexported fields
}

UpdateMonitorReader is a Reader for the UpdateMonitor structure.

func (*UpdateMonitorReader) ReadResponse

func (o *UpdateMonitorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateMutingRuleBadRequest

type UpdateMutingRuleBadRequest struct {
	Payload *models.APIError
}

UpdateMutingRuleBadRequest describes a response with status code 400, with default header values.

Cannot update the MutingRule because the request is invalid.

func NewUpdateMutingRuleBadRequest

func NewUpdateMutingRuleBadRequest() *UpdateMutingRuleBadRequest

NewUpdateMutingRuleBadRequest creates a UpdateMutingRuleBadRequest with default headers values

func (*UpdateMutingRuleBadRequest) Code

func (o *UpdateMutingRuleBadRequest) Code() int

Code gets the status code for the update muting rule bad request response

func (*UpdateMutingRuleBadRequest) Error

func (*UpdateMutingRuleBadRequest) GetPayload

func (o *UpdateMutingRuleBadRequest) GetPayload() *models.APIError

func (*UpdateMutingRuleBadRequest) IsClientError

func (o *UpdateMutingRuleBadRequest) IsClientError() bool

IsClientError returns true when this update muting rule bad request response has a 4xx status code

func (*UpdateMutingRuleBadRequest) IsCode

func (o *UpdateMutingRuleBadRequest) IsCode(code int) bool

IsCode returns true when this update muting rule bad request response a status code equal to that given

func (*UpdateMutingRuleBadRequest) IsRedirect

func (o *UpdateMutingRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this update muting rule bad request response has a 3xx status code

func (*UpdateMutingRuleBadRequest) IsServerError

func (o *UpdateMutingRuleBadRequest) IsServerError() bool

IsServerError returns true when this update muting rule bad request response has a 5xx status code

func (*UpdateMutingRuleBadRequest) IsSuccess

func (o *UpdateMutingRuleBadRequest) IsSuccess() bool

IsSuccess returns true when this update muting rule bad request response has a 2xx status code

func (*UpdateMutingRuleBadRequest) String

func (o *UpdateMutingRuleBadRequest) String() string

type UpdateMutingRuleBody

type UpdateMutingRuleBody struct {

	// If true, the MutingRule will be created if it does not already exist, identified by slug. If false, an error will be returned if the MutingRule does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the MutingRule will not be created nor updated, and no response MutingRule will be returned. The response will return an error if the given MutingRule is invalid.
	DryRun bool `json:"dry_run,omitempty"`

	// muting rule
	MutingRule *models.Configv1MutingRule `json:"muting_rule,omitempty"`
}

UpdateMutingRuleBody update muting rule body swagger:model UpdateMutingRuleBody

func (*UpdateMutingRuleBody) ContextValidate

func (o *UpdateMutingRuleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update muting rule body based on the context it is used

func (*UpdateMutingRuleBody) MarshalBinary

func (o *UpdateMutingRuleBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateMutingRuleBody) UnmarshalBinary

func (o *UpdateMutingRuleBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateMutingRuleBody) Validate

func (o *UpdateMutingRuleBody) Validate(formats strfmt.Registry) error

Validate validates this update muting rule body

type UpdateMutingRuleConflict

type UpdateMutingRuleConflict struct {
	Payload *models.APIError
}

UpdateMutingRuleConflict describes a response with status code 409, with default header values.

Cannot update the MutingRule because there is a conflict with an existing MutingRule.

func NewUpdateMutingRuleConflict

func NewUpdateMutingRuleConflict() *UpdateMutingRuleConflict

NewUpdateMutingRuleConflict creates a UpdateMutingRuleConflict with default headers values

func (*UpdateMutingRuleConflict) Code

func (o *UpdateMutingRuleConflict) Code() int

Code gets the status code for the update muting rule conflict response

func (*UpdateMutingRuleConflict) Error

func (o *UpdateMutingRuleConflict) Error() string

func (*UpdateMutingRuleConflict) GetPayload

func (o *UpdateMutingRuleConflict) GetPayload() *models.APIError

func (*UpdateMutingRuleConflict) IsClientError

func (o *UpdateMutingRuleConflict) IsClientError() bool

IsClientError returns true when this update muting rule conflict response has a 4xx status code

func (*UpdateMutingRuleConflict) IsCode

func (o *UpdateMutingRuleConflict) IsCode(code int) bool

IsCode returns true when this update muting rule conflict response a status code equal to that given

func (*UpdateMutingRuleConflict) IsRedirect

func (o *UpdateMutingRuleConflict) IsRedirect() bool

IsRedirect returns true when this update muting rule conflict response has a 3xx status code

func (*UpdateMutingRuleConflict) IsServerError

func (o *UpdateMutingRuleConflict) IsServerError() bool

IsServerError returns true when this update muting rule conflict response has a 5xx status code

func (*UpdateMutingRuleConflict) IsSuccess

func (o *UpdateMutingRuleConflict) IsSuccess() bool

IsSuccess returns true when this update muting rule conflict response has a 2xx status code

func (*UpdateMutingRuleConflict) String

func (o *UpdateMutingRuleConflict) String() string

type UpdateMutingRuleDefault

type UpdateMutingRuleDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateMutingRuleDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateMutingRuleDefault

func NewUpdateMutingRuleDefault(code int) *UpdateMutingRuleDefault

NewUpdateMutingRuleDefault creates a UpdateMutingRuleDefault with default headers values

func (*UpdateMutingRuleDefault) Code

func (o *UpdateMutingRuleDefault) Code() int

Code gets the status code for the update muting rule default response

func (*UpdateMutingRuleDefault) Error

func (o *UpdateMutingRuleDefault) Error() string

func (*UpdateMutingRuleDefault) GetPayload

func (*UpdateMutingRuleDefault) IsClientError

func (o *UpdateMutingRuleDefault) IsClientError() bool

IsClientError returns true when this update muting rule default response has a 4xx status code

func (*UpdateMutingRuleDefault) IsCode

func (o *UpdateMutingRuleDefault) IsCode(code int) bool

IsCode returns true when this update muting rule default response a status code equal to that given

func (*UpdateMutingRuleDefault) IsRedirect

func (o *UpdateMutingRuleDefault) IsRedirect() bool

IsRedirect returns true when this update muting rule default response has a 3xx status code

func (*UpdateMutingRuleDefault) IsServerError

func (o *UpdateMutingRuleDefault) IsServerError() bool

IsServerError returns true when this update muting rule default response has a 5xx status code

func (*UpdateMutingRuleDefault) IsSuccess

func (o *UpdateMutingRuleDefault) IsSuccess() bool

IsSuccess returns true when this update muting rule default response has a 2xx status code

func (*UpdateMutingRuleDefault) String

func (o *UpdateMutingRuleDefault) String() string

type UpdateMutingRuleInternalServerError

type UpdateMutingRuleInternalServerError struct {
	Payload *models.APIError
}

UpdateMutingRuleInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateMutingRuleInternalServerError

func NewUpdateMutingRuleInternalServerError() *UpdateMutingRuleInternalServerError

NewUpdateMutingRuleInternalServerError creates a UpdateMutingRuleInternalServerError with default headers values

func (*UpdateMutingRuleInternalServerError) Code

Code gets the status code for the update muting rule internal server error response

func (*UpdateMutingRuleInternalServerError) Error

func (*UpdateMutingRuleInternalServerError) GetPayload

func (*UpdateMutingRuleInternalServerError) IsClientError

func (o *UpdateMutingRuleInternalServerError) IsClientError() bool

IsClientError returns true when this update muting rule internal server error response has a 4xx status code

func (*UpdateMutingRuleInternalServerError) IsCode

IsCode returns true when this update muting rule internal server error response a status code equal to that given

func (*UpdateMutingRuleInternalServerError) IsRedirect

func (o *UpdateMutingRuleInternalServerError) IsRedirect() bool

IsRedirect returns true when this update muting rule internal server error response has a 3xx status code

func (*UpdateMutingRuleInternalServerError) IsServerError

func (o *UpdateMutingRuleInternalServerError) IsServerError() bool

IsServerError returns true when this update muting rule internal server error response has a 5xx status code

func (*UpdateMutingRuleInternalServerError) IsSuccess

IsSuccess returns true when this update muting rule internal server error response has a 2xx status code

func (*UpdateMutingRuleInternalServerError) String

type UpdateMutingRuleNotFound

type UpdateMutingRuleNotFound struct {
	Payload *models.APIError
}

UpdateMutingRuleNotFound describes a response with status code 404, with default header values.

Cannot update the MutingRule because the slug does not exist.

func NewUpdateMutingRuleNotFound

func NewUpdateMutingRuleNotFound() *UpdateMutingRuleNotFound

NewUpdateMutingRuleNotFound creates a UpdateMutingRuleNotFound with default headers values

func (*UpdateMutingRuleNotFound) Code

func (o *UpdateMutingRuleNotFound) Code() int

Code gets the status code for the update muting rule not found response

func (*UpdateMutingRuleNotFound) Error

func (o *UpdateMutingRuleNotFound) Error() string

func (*UpdateMutingRuleNotFound) GetPayload

func (o *UpdateMutingRuleNotFound) GetPayload() *models.APIError

func (*UpdateMutingRuleNotFound) IsClientError

func (o *UpdateMutingRuleNotFound) IsClientError() bool

IsClientError returns true when this update muting rule not found response has a 4xx status code

func (*UpdateMutingRuleNotFound) IsCode

func (o *UpdateMutingRuleNotFound) IsCode(code int) bool

IsCode returns true when this update muting rule not found response a status code equal to that given

func (*UpdateMutingRuleNotFound) IsRedirect

func (o *UpdateMutingRuleNotFound) IsRedirect() bool

IsRedirect returns true when this update muting rule not found response has a 3xx status code

func (*UpdateMutingRuleNotFound) IsServerError

func (o *UpdateMutingRuleNotFound) IsServerError() bool

IsServerError returns true when this update muting rule not found response has a 5xx status code

func (*UpdateMutingRuleNotFound) IsSuccess

func (o *UpdateMutingRuleNotFound) IsSuccess() bool

IsSuccess returns true when this update muting rule not found response has a 2xx status code

func (*UpdateMutingRuleNotFound) String

func (o *UpdateMutingRuleNotFound) String() string

type UpdateMutingRuleOK

type UpdateMutingRuleOK struct {
	Payload *models.Configv1UpdateMutingRuleResponse
}

UpdateMutingRuleOK describes a response with status code 200, with default header values.

A successful response containing the updated MutingRule.

func NewUpdateMutingRuleOK

func NewUpdateMutingRuleOK() *UpdateMutingRuleOK

NewUpdateMutingRuleOK creates a UpdateMutingRuleOK with default headers values

func (*UpdateMutingRuleOK) Code

func (o *UpdateMutingRuleOK) Code() int

Code gets the status code for the update muting rule o k response

func (*UpdateMutingRuleOK) Error

func (o *UpdateMutingRuleOK) Error() string

func (*UpdateMutingRuleOK) GetPayload

func (*UpdateMutingRuleOK) IsClientError

func (o *UpdateMutingRuleOK) IsClientError() bool

IsClientError returns true when this update muting rule o k response has a 4xx status code

func (*UpdateMutingRuleOK) IsCode

func (o *UpdateMutingRuleOK) IsCode(code int) bool

IsCode returns true when this update muting rule o k response a status code equal to that given

func (*UpdateMutingRuleOK) IsRedirect

func (o *UpdateMutingRuleOK) IsRedirect() bool

IsRedirect returns true when this update muting rule o k response has a 3xx status code

func (*UpdateMutingRuleOK) IsServerError

func (o *UpdateMutingRuleOK) IsServerError() bool

IsServerError returns true when this update muting rule o k response has a 5xx status code

func (*UpdateMutingRuleOK) IsSuccess

func (o *UpdateMutingRuleOK) IsSuccess() bool

IsSuccess returns true when this update muting rule o k response has a 2xx status code

func (*UpdateMutingRuleOK) String

func (o *UpdateMutingRuleOK) String() string

type UpdateMutingRuleParams

type UpdateMutingRuleParams struct {

	// Body.
	Body UpdateMutingRuleBody

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateMutingRuleParams contains all the parameters to send to the API endpoint

for the update muting rule operation.

Typically these are written to a http.Request.

func NewUpdateMutingRuleParams

func NewUpdateMutingRuleParams() *UpdateMutingRuleParams

NewUpdateMutingRuleParams creates a new UpdateMutingRuleParams 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 NewUpdateMutingRuleParamsWithContext

func NewUpdateMutingRuleParamsWithContext(ctx context.Context) *UpdateMutingRuleParams

NewUpdateMutingRuleParamsWithContext creates a new UpdateMutingRuleParams object with the ability to set a context for a request.

func NewUpdateMutingRuleParamsWithHTTPClient

func NewUpdateMutingRuleParamsWithHTTPClient(client *http.Client) *UpdateMutingRuleParams

NewUpdateMutingRuleParamsWithHTTPClient creates a new UpdateMutingRuleParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateMutingRuleParamsWithTimeout

func NewUpdateMutingRuleParamsWithTimeout(timeout time.Duration) *UpdateMutingRuleParams

NewUpdateMutingRuleParamsWithTimeout creates a new UpdateMutingRuleParams object with the ability to set a timeout on a request.

func (*UpdateMutingRuleParams) SetBody

SetBody adds the body to the update muting rule params

func (*UpdateMutingRuleParams) SetContext

func (o *UpdateMutingRuleParams) SetContext(ctx context.Context)

SetContext adds the context to the update muting rule params

func (*UpdateMutingRuleParams) SetDefaults

func (o *UpdateMutingRuleParams) SetDefaults()

SetDefaults hydrates default values in the update muting rule params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateMutingRuleParams) SetHTTPClient

func (o *UpdateMutingRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update muting rule params

func (*UpdateMutingRuleParams) SetSlug

func (o *UpdateMutingRuleParams) SetSlug(slug string)

SetSlug adds the slug to the update muting rule params

func (*UpdateMutingRuleParams) SetTimeout

func (o *UpdateMutingRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update muting rule params

func (*UpdateMutingRuleParams) WithBody

WithBody adds the body to the update muting rule params

func (*UpdateMutingRuleParams) WithContext

WithContext adds the context to the update muting rule params

func (*UpdateMutingRuleParams) WithDefaults

WithDefaults hydrates default values in the update muting rule params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateMutingRuleParams) WithHTTPClient

func (o *UpdateMutingRuleParams) WithHTTPClient(client *http.Client) *UpdateMutingRuleParams

WithHTTPClient adds the HTTPClient to the update muting rule params

func (*UpdateMutingRuleParams) WithSlug

WithSlug adds the slug to the update muting rule params

func (*UpdateMutingRuleParams) WithTimeout

WithTimeout adds the timeout to the update muting rule params

func (*UpdateMutingRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateMutingRuleReader

type UpdateMutingRuleReader struct {
	// contains filtered or unexported fields
}

UpdateMutingRuleReader is a Reader for the UpdateMutingRule structure.

func (*UpdateMutingRuleReader) ReadResponse

func (o *UpdateMutingRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNotificationPolicyBadRequest

type UpdateNotificationPolicyBadRequest struct {
	Payload *models.APIError
}

UpdateNotificationPolicyBadRequest describes a response with status code 400, with default header values.

Cannot update the NotificationPolicy because the request is invalid.

func NewUpdateNotificationPolicyBadRequest

func NewUpdateNotificationPolicyBadRequest() *UpdateNotificationPolicyBadRequest

NewUpdateNotificationPolicyBadRequest creates a UpdateNotificationPolicyBadRequest with default headers values

func (*UpdateNotificationPolicyBadRequest) Code

Code gets the status code for the update notification policy bad request response

func (*UpdateNotificationPolicyBadRequest) Error

func (*UpdateNotificationPolicyBadRequest) GetPayload

func (*UpdateNotificationPolicyBadRequest) IsClientError

func (o *UpdateNotificationPolicyBadRequest) IsClientError() bool

IsClientError returns true when this update notification policy bad request response has a 4xx status code

func (*UpdateNotificationPolicyBadRequest) IsCode

IsCode returns true when this update notification policy bad request response a status code equal to that given

func (*UpdateNotificationPolicyBadRequest) IsRedirect

func (o *UpdateNotificationPolicyBadRequest) IsRedirect() bool

IsRedirect returns true when this update notification policy bad request response has a 3xx status code

func (*UpdateNotificationPolicyBadRequest) IsServerError

func (o *UpdateNotificationPolicyBadRequest) IsServerError() bool

IsServerError returns true when this update notification policy bad request response has a 5xx status code

func (*UpdateNotificationPolicyBadRequest) IsSuccess

IsSuccess returns true when this update notification policy bad request response has a 2xx status code

func (*UpdateNotificationPolicyBadRequest) String

type UpdateNotificationPolicyBody

type UpdateNotificationPolicyBody struct {

	// If true, the NotificationPolicy will be created if it does not already exist, identified by slug. If false, an error will be returned if the NotificationPolicy does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the NotificationPolicy will not be created nor updated, and no response NotificationPolicy will be returned. The response will return an error if the given NotificationPolicy is invalid.
	DryRun bool `json:"dry_run,omitempty"`

	// notification policy
	NotificationPolicy *models.Configv1NotificationPolicy `json:"notification_policy,omitempty"`
}

UpdateNotificationPolicyBody update notification policy body swagger:model UpdateNotificationPolicyBody

func (*UpdateNotificationPolicyBody) ContextValidate

func (o *UpdateNotificationPolicyBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update notification policy body based on the context it is used

func (*UpdateNotificationPolicyBody) MarshalBinary

func (o *UpdateNotificationPolicyBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNotificationPolicyBody) UnmarshalBinary

func (o *UpdateNotificationPolicyBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNotificationPolicyBody) Validate

func (o *UpdateNotificationPolicyBody) Validate(formats strfmt.Registry) error

Validate validates this update notification policy body

type UpdateNotificationPolicyConflict

type UpdateNotificationPolicyConflict struct {
	Payload *models.APIError
}

UpdateNotificationPolicyConflict describes a response with status code 409, with default header values.

Cannot update the NotificationPolicy because there is a conflict with an existing NotificationPolicy.

func NewUpdateNotificationPolicyConflict

func NewUpdateNotificationPolicyConflict() *UpdateNotificationPolicyConflict

NewUpdateNotificationPolicyConflict creates a UpdateNotificationPolicyConflict with default headers values

func (*UpdateNotificationPolicyConflict) Code

Code gets the status code for the update notification policy conflict response

func (*UpdateNotificationPolicyConflict) Error

func (*UpdateNotificationPolicyConflict) GetPayload

func (*UpdateNotificationPolicyConflict) IsClientError

func (o *UpdateNotificationPolicyConflict) IsClientError() bool

IsClientError returns true when this update notification policy conflict response has a 4xx status code

func (*UpdateNotificationPolicyConflict) IsCode

func (o *UpdateNotificationPolicyConflict) IsCode(code int) bool

IsCode returns true when this update notification policy conflict response a status code equal to that given

func (*UpdateNotificationPolicyConflict) IsRedirect

func (o *UpdateNotificationPolicyConflict) IsRedirect() bool

IsRedirect returns true when this update notification policy conflict response has a 3xx status code

func (*UpdateNotificationPolicyConflict) IsServerError

func (o *UpdateNotificationPolicyConflict) IsServerError() bool

IsServerError returns true when this update notification policy conflict response has a 5xx status code

func (*UpdateNotificationPolicyConflict) IsSuccess

func (o *UpdateNotificationPolicyConflict) IsSuccess() bool

IsSuccess returns true when this update notification policy conflict response has a 2xx status code

func (*UpdateNotificationPolicyConflict) String

type UpdateNotificationPolicyDefault

type UpdateNotificationPolicyDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateNotificationPolicyDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateNotificationPolicyDefault

func NewUpdateNotificationPolicyDefault(code int) *UpdateNotificationPolicyDefault

NewUpdateNotificationPolicyDefault creates a UpdateNotificationPolicyDefault with default headers values

func (*UpdateNotificationPolicyDefault) Code

Code gets the status code for the update notification policy default response

func (*UpdateNotificationPolicyDefault) Error

func (*UpdateNotificationPolicyDefault) GetPayload

func (*UpdateNotificationPolicyDefault) IsClientError

func (o *UpdateNotificationPolicyDefault) IsClientError() bool

IsClientError returns true when this update notification policy default response has a 4xx status code

func (*UpdateNotificationPolicyDefault) IsCode

func (o *UpdateNotificationPolicyDefault) IsCode(code int) bool

IsCode returns true when this update notification policy default response a status code equal to that given

func (*UpdateNotificationPolicyDefault) IsRedirect

func (o *UpdateNotificationPolicyDefault) IsRedirect() bool

IsRedirect returns true when this update notification policy default response has a 3xx status code

func (*UpdateNotificationPolicyDefault) IsServerError

func (o *UpdateNotificationPolicyDefault) IsServerError() bool

IsServerError returns true when this update notification policy default response has a 5xx status code

func (*UpdateNotificationPolicyDefault) IsSuccess

func (o *UpdateNotificationPolicyDefault) IsSuccess() bool

IsSuccess returns true when this update notification policy default response has a 2xx status code

func (*UpdateNotificationPolicyDefault) String

type UpdateNotificationPolicyInternalServerError

type UpdateNotificationPolicyInternalServerError struct {
	Payload *models.APIError
}

UpdateNotificationPolicyInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateNotificationPolicyInternalServerError

func NewUpdateNotificationPolicyInternalServerError() *UpdateNotificationPolicyInternalServerError

NewUpdateNotificationPolicyInternalServerError creates a UpdateNotificationPolicyInternalServerError with default headers values

func (*UpdateNotificationPolicyInternalServerError) Code

Code gets the status code for the update notification policy internal server error response

func (*UpdateNotificationPolicyInternalServerError) Error

func (*UpdateNotificationPolicyInternalServerError) GetPayload

func (*UpdateNotificationPolicyInternalServerError) IsClientError

IsClientError returns true when this update notification policy internal server error response has a 4xx status code

func (*UpdateNotificationPolicyInternalServerError) IsCode

IsCode returns true when this update notification policy internal server error response a status code equal to that given

func (*UpdateNotificationPolicyInternalServerError) IsRedirect

IsRedirect returns true when this update notification policy internal server error response has a 3xx status code

func (*UpdateNotificationPolicyInternalServerError) IsServerError

IsServerError returns true when this update notification policy internal server error response has a 5xx status code

func (*UpdateNotificationPolicyInternalServerError) IsSuccess

IsSuccess returns true when this update notification policy internal server error response has a 2xx status code

func (*UpdateNotificationPolicyInternalServerError) String

type UpdateNotificationPolicyNotFound

type UpdateNotificationPolicyNotFound struct {
	Payload *models.APIError
}

UpdateNotificationPolicyNotFound describes a response with status code 404, with default header values.

Cannot update the NotificationPolicy because the slug does not exist.

func NewUpdateNotificationPolicyNotFound

func NewUpdateNotificationPolicyNotFound() *UpdateNotificationPolicyNotFound

NewUpdateNotificationPolicyNotFound creates a UpdateNotificationPolicyNotFound with default headers values

func (*UpdateNotificationPolicyNotFound) Code

Code gets the status code for the update notification policy not found response

func (*UpdateNotificationPolicyNotFound) Error

func (*UpdateNotificationPolicyNotFound) GetPayload

func (*UpdateNotificationPolicyNotFound) IsClientError

func (o *UpdateNotificationPolicyNotFound) IsClientError() bool

IsClientError returns true when this update notification policy not found response has a 4xx status code

func (*UpdateNotificationPolicyNotFound) IsCode

func (o *UpdateNotificationPolicyNotFound) IsCode(code int) bool

IsCode returns true when this update notification policy not found response a status code equal to that given

func (*UpdateNotificationPolicyNotFound) IsRedirect

func (o *UpdateNotificationPolicyNotFound) IsRedirect() bool

IsRedirect returns true when this update notification policy not found response has a 3xx status code

func (*UpdateNotificationPolicyNotFound) IsServerError

func (o *UpdateNotificationPolicyNotFound) IsServerError() bool

IsServerError returns true when this update notification policy not found response has a 5xx status code

func (*UpdateNotificationPolicyNotFound) IsSuccess

func (o *UpdateNotificationPolicyNotFound) IsSuccess() bool

IsSuccess returns true when this update notification policy not found response has a 2xx status code

func (*UpdateNotificationPolicyNotFound) String

type UpdateNotificationPolicyOK

type UpdateNotificationPolicyOK struct {
	Payload *models.Configv1UpdateNotificationPolicyResponse
}

UpdateNotificationPolicyOK describes a response with status code 200, with default header values.

A successful response containing the updated NotificationPolicy.

func NewUpdateNotificationPolicyOK

func NewUpdateNotificationPolicyOK() *UpdateNotificationPolicyOK

NewUpdateNotificationPolicyOK creates a UpdateNotificationPolicyOK with default headers values

func (*UpdateNotificationPolicyOK) Code

func (o *UpdateNotificationPolicyOK) Code() int

Code gets the status code for the update notification policy o k response

func (*UpdateNotificationPolicyOK) Error

func (*UpdateNotificationPolicyOK) GetPayload

func (*UpdateNotificationPolicyOK) IsClientError

func (o *UpdateNotificationPolicyOK) IsClientError() bool

IsClientError returns true when this update notification policy o k response has a 4xx status code

func (*UpdateNotificationPolicyOK) IsCode

func (o *UpdateNotificationPolicyOK) IsCode(code int) bool

IsCode returns true when this update notification policy o k response a status code equal to that given

func (*UpdateNotificationPolicyOK) IsRedirect

func (o *UpdateNotificationPolicyOK) IsRedirect() bool

IsRedirect returns true when this update notification policy o k response has a 3xx status code

func (*UpdateNotificationPolicyOK) IsServerError

func (o *UpdateNotificationPolicyOK) IsServerError() bool

IsServerError returns true when this update notification policy o k response has a 5xx status code

func (*UpdateNotificationPolicyOK) IsSuccess

func (o *UpdateNotificationPolicyOK) IsSuccess() bool

IsSuccess returns true when this update notification policy o k response has a 2xx status code

func (*UpdateNotificationPolicyOK) String

func (o *UpdateNotificationPolicyOK) String() string

type UpdateNotificationPolicyParams

type UpdateNotificationPolicyParams struct {

	// Body.
	Body UpdateNotificationPolicyBody

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNotificationPolicyParams contains all the parameters to send to the API endpoint

for the update notification policy operation.

Typically these are written to a http.Request.

func NewUpdateNotificationPolicyParams

func NewUpdateNotificationPolicyParams() *UpdateNotificationPolicyParams

NewUpdateNotificationPolicyParams creates a new UpdateNotificationPolicyParams 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 NewUpdateNotificationPolicyParamsWithContext

func NewUpdateNotificationPolicyParamsWithContext(ctx context.Context) *UpdateNotificationPolicyParams

NewUpdateNotificationPolicyParamsWithContext creates a new UpdateNotificationPolicyParams object with the ability to set a context for a request.

func NewUpdateNotificationPolicyParamsWithHTTPClient

func NewUpdateNotificationPolicyParamsWithHTTPClient(client *http.Client) *UpdateNotificationPolicyParams

NewUpdateNotificationPolicyParamsWithHTTPClient creates a new UpdateNotificationPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNotificationPolicyParamsWithTimeout

func NewUpdateNotificationPolicyParamsWithTimeout(timeout time.Duration) *UpdateNotificationPolicyParams

NewUpdateNotificationPolicyParamsWithTimeout creates a new UpdateNotificationPolicyParams object with the ability to set a timeout on a request.

func (*UpdateNotificationPolicyParams) SetBody

SetBody adds the body to the update notification policy params

func (*UpdateNotificationPolicyParams) SetContext

func (o *UpdateNotificationPolicyParams) SetContext(ctx context.Context)

SetContext adds the context to the update notification policy params

func (*UpdateNotificationPolicyParams) SetDefaults

func (o *UpdateNotificationPolicyParams) SetDefaults()

SetDefaults hydrates default values in the update notification policy params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNotificationPolicyParams) SetHTTPClient

func (o *UpdateNotificationPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update notification policy params

func (*UpdateNotificationPolicyParams) SetSlug

func (o *UpdateNotificationPolicyParams) SetSlug(slug string)

SetSlug adds the slug to the update notification policy params

func (*UpdateNotificationPolicyParams) SetTimeout

func (o *UpdateNotificationPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update notification policy params

func (*UpdateNotificationPolicyParams) WithBody

WithBody adds the body to the update notification policy params

func (*UpdateNotificationPolicyParams) WithContext

WithContext adds the context to the update notification policy params

func (*UpdateNotificationPolicyParams) WithDefaults

WithDefaults hydrates default values in the update notification policy params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNotificationPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update notification policy params

func (*UpdateNotificationPolicyParams) WithSlug

WithSlug adds the slug to the update notification policy params

func (*UpdateNotificationPolicyParams) WithTimeout

WithTimeout adds the timeout to the update notification policy params

func (*UpdateNotificationPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNotificationPolicyReader

type UpdateNotificationPolicyReader struct {
	// contains filtered or unexported fields
}

UpdateNotificationPolicyReader is a Reader for the UpdateNotificationPolicy structure.

func (*UpdateNotificationPolicyReader) ReadResponse

func (o *UpdateNotificationPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNotifierBadRequest

type UpdateNotifierBadRequest struct {
	Payload *models.APIError
}

UpdateNotifierBadRequest describes a response with status code 400, with default header values.

Cannot update the Notifier because the request is invalid.

func NewUpdateNotifierBadRequest

func NewUpdateNotifierBadRequest() *UpdateNotifierBadRequest

NewUpdateNotifierBadRequest creates a UpdateNotifierBadRequest with default headers values

func (*UpdateNotifierBadRequest) Code

func (o *UpdateNotifierBadRequest) Code() int

Code gets the status code for the update notifier bad request response

func (*UpdateNotifierBadRequest) Error

func (o *UpdateNotifierBadRequest) Error() string

func (*UpdateNotifierBadRequest) GetPayload

func (o *UpdateNotifierBadRequest) GetPayload() *models.APIError

func (*UpdateNotifierBadRequest) IsClientError

func (o *UpdateNotifierBadRequest) IsClientError() bool

IsClientError returns true when this update notifier bad request response has a 4xx status code

func (*UpdateNotifierBadRequest) IsCode

func (o *UpdateNotifierBadRequest) IsCode(code int) bool

IsCode returns true when this update notifier bad request response a status code equal to that given

func (*UpdateNotifierBadRequest) IsRedirect

func (o *UpdateNotifierBadRequest) IsRedirect() bool

IsRedirect returns true when this update notifier bad request response has a 3xx status code

func (*UpdateNotifierBadRequest) IsServerError

func (o *UpdateNotifierBadRequest) IsServerError() bool

IsServerError returns true when this update notifier bad request response has a 5xx status code

func (*UpdateNotifierBadRequest) IsSuccess

func (o *UpdateNotifierBadRequest) IsSuccess() bool

IsSuccess returns true when this update notifier bad request response has a 2xx status code

func (*UpdateNotifierBadRequest) String

func (o *UpdateNotifierBadRequest) String() string

type UpdateNotifierBody

type UpdateNotifierBody struct {

	// If true, the Notifier will be created if it does not already exist, identified by slug. If false, an error will be returned if the Notifier does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the Notifier will not be created nor updated, and no response Notifier will be returned. The response will return an error if the given Notifier is invalid.
	DryRun bool `json:"dry_run,omitempty"`

	// notifier
	Notifier *models.Configv1Notifier `json:"notifier,omitempty"`
}

UpdateNotifierBody update notifier body swagger:model UpdateNotifierBody

func (*UpdateNotifierBody) ContextValidate

func (o *UpdateNotifierBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update notifier body based on the context it is used

func (*UpdateNotifierBody) MarshalBinary

func (o *UpdateNotifierBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNotifierBody) UnmarshalBinary

func (o *UpdateNotifierBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNotifierBody) Validate

func (o *UpdateNotifierBody) Validate(formats strfmt.Registry) error

Validate validates this update notifier body

type UpdateNotifierConflict

type UpdateNotifierConflict struct {
	Payload *models.APIError
}

UpdateNotifierConflict describes a response with status code 409, with default header values.

Cannot update the Notifier because there is a conflict with an existing Notifier.

func NewUpdateNotifierConflict

func NewUpdateNotifierConflict() *UpdateNotifierConflict

NewUpdateNotifierConflict creates a UpdateNotifierConflict with default headers values

func (*UpdateNotifierConflict) Code

func (o *UpdateNotifierConflict) Code() int

Code gets the status code for the update notifier conflict response

func (*UpdateNotifierConflict) Error

func (o *UpdateNotifierConflict) Error() string

func (*UpdateNotifierConflict) GetPayload

func (o *UpdateNotifierConflict) GetPayload() *models.APIError

func (*UpdateNotifierConflict) IsClientError

func (o *UpdateNotifierConflict) IsClientError() bool

IsClientError returns true when this update notifier conflict response has a 4xx status code

func (*UpdateNotifierConflict) IsCode

func (o *UpdateNotifierConflict) IsCode(code int) bool

IsCode returns true when this update notifier conflict response a status code equal to that given

func (*UpdateNotifierConflict) IsRedirect

func (o *UpdateNotifierConflict) IsRedirect() bool

IsRedirect returns true when this update notifier conflict response has a 3xx status code

func (*UpdateNotifierConflict) IsServerError

func (o *UpdateNotifierConflict) IsServerError() bool

IsServerError returns true when this update notifier conflict response has a 5xx status code

func (*UpdateNotifierConflict) IsSuccess

func (o *UpdateNotifierConflict) IsSuccess() bool

IsSuccess returns true when this update notifier conflict response has a 2xx status code

func (*UpdateNotifierConflict) String

func (o *UpdateNotifierConflict) String() string

type UpdateNotifierDefault

type UpdateNotifierDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateNotifierDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateNotifierDefault

func NewUpdateNotifierDefault(code int) *UpdateNotifierDefault

NewUpdateNotifierDefault creates a UpdateNotifierDefault with default headers values

func (*UpdateNotifierDefault) Code

func (o *UpdateNotifierDefault) Code() int

Code gets the status code for the update notifier default response

func (*UpdateNotifierDefault) Error

func (o *UpdateNotifierDefault) Error() string

func (*UpdateNotifierDefault) GetPayload

func (o *UpdateNotifierDefault) GetPayload() models.GenericError

func (*UpdateNotifierDefault) IsClientError

func (o *UpdateNotifierDefault) IsClientError() bool

IsClientError returns true when this update notifier default response has a 4xx status code

func (*UpdateNotifierDefault) IsCode

func (o *UpdateNotifierDefault) IsCode(code int) bool

IsCode returns true when this update notifier default response a status code equal to that given

func (*UpdateNotifierDefault) IsRedirect

func (o *UpdateNotifierDefault) IsRedirect() bool

IsRedirect returns true when this update notifier default response has a 3xx status code

func (*UpdateNotifierDefault) IsServerError

func (o *UpdateNotifierDefault) IsServerError() bool

IsServerError returns true when this update notifier default response has a 5xx status code

func (*UpdateNotifierDefault) IsSuccess

func (o *UpdateNotifierDefault) IsSuccess() bool

IsSuccess returns true when this update notifier default response has a 2xx status code

func (*UpdateNotifierDefault) String

func (o *UpdateNotifierDefault) String() string

type UpdateNotifierInternalServerError

type UpdateNotifierInternalServerError struct {
	Payload *models.APIError
}

UpdateNotifierInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateNotifierInternalServerError

func NewUpdateNotifierInternalServerError() *UpdateNotifierInternalServerError

NewUpdateNotifierInternalServerError creates a UpdateNotifierInternalServerError with default headers values

func (*UpdateNotifierInternalServerError) Code

Code gets the status code for the update notifier internal server error response

func (*UpdateNotifierInternalServerError) Error

func (*UpdateNotifierInternalServerError) GetPayload

func (*UpdateNotifierInternalServerError) IsClientError

func (o *UpdateNotifierInternalServerError) IsClientError() bool

IsClientError returns true when this update notifier internal server error response has a 4xx status code

func (*UpdateNotifierInternalServerError) IsCode

func (o *UpdateNotifierInternalServerError) IsCode(code int) bool

IsCode returns true when this update notifier internal server error response a status code equal to that given

func (*UpdateNotifierInternalServerError) IsRedirect

func (o *UpdateNotifierInternalServerError) IsRedirect() bool

IsRedirect returns true when this update notifier internal server error response has a 3xx status code

func (*UpdateNotifierInternalServerError) IsServerError

func (o *UpdateNotifierInternalServerError) IsServerError() bool

IsServerError returns true when this update notifier internal server error response has a 5xx status code

func (*UpdateNotifierInternalServerError) IsSuccess

func (o *UpdateNotifierInternalServerError) IsSuccess() bool

IsSuccess returns true when this update notifier internal server error response has a 2xx status code

func (*UpdateNotifierInternalServerError) String

type UpdateNotifierNotFound

type UpdateNotifierNotFound struct {
	Payload *models.APIError
}

UpdateNotifierNotFound describes a response with status code 404, with default header values.

Cannot update the Notifier because the slug does not exist.

func NewUpdateNotifierNotFound

func NewUpdateNotifierNotFound() *UpdateNotifierNotFound

NewUpdateNotifierNotFound creates a UpdateNotifierNotFound with default headers values

func (*UpdateNotifierNotFound) Code

func (o *UpdateNotifierNotFound) Code() int

Code gets the status code for the update notifier not found response

func (*UpdateNotifierNotFound) Error

func (o *UpdateNotifierNotFound) Error() string

func (*UpdateNotifierNotFound) GetPayload

func (o *UpdateNotifierNotFound) GetPayload() *models.APIError

func (*UpdateNotifierNotFound) IsClientError

func (o *UpdateNotifierNotFound) IsClientError() bool

IsClientError returns true when this update notifier not found response has a 4xx status code

func (*UpdateNotifierNotFound) IsCode

func (o *UpdateNotifierNotFound) IsCode(code int) bool

IsCode returns true when this update notifier not found response a status code equal to that given

func (*UpdateNotifierNotFound) IsRedirect

func (o *UpdateNotifierNotFound) IsRedirect() bool

IsRedirect returns true when this update notifier not found response has a 3xx status code

func (*UpdateNotifierNotFound) IsServerError

func (o *UpdateNotifierNotFound) IsServerError() bool

IsServerError returns true when this update notifier not found response has a 5xx status code

func (*UpdateNotifierNotFound) IsSuccess

func (o *UpdateNotifierNotFound) IsSuccess() bool

IsSuccess returns true when this update notifier not found response has a 2xx status code

func (*UpdateNotifierNotFound) String

func (o *UpdateNotifierNotFound) String() string

type UpdateNotifierOK

type UpdateNotifierOK struct {
	Payload *models.Configv1UpdateNotifierResponse
}

UpdateNotifierOK describes a response with status code 200, with default header values.

A successful response containing the updated Notifier.

func NewUpdateNotifierOK

func NewUpdateNotifierOK() *UpdateNotifierOK

NewUpdateNotifierOK creates a UpdateNotifierOK with default headers values

func (*UpdateNotifierOK) Code

func (o *UpdateNotifierOK) Code() int

Code gets the status code for the update notifier o k response

func (*UpdateNotifierOK) Error

func (o *UpdateNotifierOK) Error() string

func (*UpdateNotifierOK) GetPayload

func (*UpdateNotifierOK) IsClientError

func (o *UpdateNotifierOK) IsClientError() bool

IsClientError returns true when this update notifier o k response has a 4xx status code

func (*UpdateNotifierOK) IsCode

func (o *UpdateNotifierOK) IsCode(code int) bool

IsCode returns true when this update notifier o k response a status code equal to that given

func (*UpdateNotifierOK) IsRedirect

func (o *UpdateNotifierOK) IsRedirect() bool

IsRedirect returns true when this update notifier o k response has a 3xx status code

func (*UpdateNotifierOK) IsServerError

func (o *UpdateNotifierOK) IsServerError() bool

IsServerError returns true when this update notifier o k response has a 5xx status code

func (*UpdateNotifierOK) IsSuccess

func (o *UpdateNotifierOK) IsSuccess() bool

IsSuccess returns true when this update notifier o k response has a 2xx status code

func (*UpdateNotifierOK) String

func (o *UpdateNotifierOK) String() string

type UpdateNotifierParams

type UpdateNotifierParams struct {

	// Body.
	Body UpdateNotifierBody

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNotifierParams contains all the parameters to send to the API endpoint

for the update notifier operation.

Typically these are written to a http.Request.

func NewUpdateNotifierParams

func NewUpdateNotifierParams() *UpdateNotifierParams

NewUpdateNotifierParams creates a new UpdateNotifierParams 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 NewUpdateNotifierParamsWithContext

func NewUpdateNotifierParamsWithContext(ctx context.Context) *UpdateNotifierParams

NewUpdateNotifierParamsWithContext creates a new UpdateNotifierParams object with the ability to set a context for a request.

func NewUpdateNotifierParamsWithHTTPClient

func NewUpdateNotifierParamsWithHTTPClient(client *http.Client) *UpdateNotifierParams

NewUpdateNotifierParamsWithHTTPClient creates a new UpdateNotifierParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNotifierParamsWithTimeout

func NewUpdateNotifierParamsWithTimeout(timeout time.Duration) *UpdateNotifierParams

NewUpdateNotifierParamsWithTimeout creates a new UpdateNotifierParams object with the ability to set a timeout on a request.

func (*UpdateNotifierParams) SetBody

func (o *UpdateNotifierParams) SetBody(body UpdateNotifierBody)

SetBody adds the body to the update notifier params

func (*UpdateNotifierParams) SetContext

func (o *UpdateNotifierParams) SetContext(ctx context.Context)

SetContext adds the context to the update notifier params

func (*UpdateNotifierParams) SetDefaults

func (o *UpdateNotifierParams) SetDefaults()

SetDefaults hydrates default values in the update notifier params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNotifierParams) SetHTTPClient

func (o *UpdateNotifierParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update notifier params

func (*UpdateNotifierParams) SetSlug

func (o *UpdateNotifierParams) SetSlug(slug string)

SetSlug adds the slug to the update notifier params

func (*UpdateNotifierParams) SetTimeout

func (o *UpdateNotifierParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update notifier params

func (*UpdateNotifierParams) WithBody

WithBody adds the body to the update notifier params

func (*UpdateNotifierParams) WithContext

WithContext adds the context to the update notifier params

func (*UpdateNotifierParams) WithDefaults

func (o *UpdateNotifierParams) WithDefaults() *UpdateNotifierParams

WithDefaults hydrates default values in the update notifier params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNotifierParams) WithHTTPClient

func (o *UpdateNotifierParams) WithHTTPClient(client *http.Client) *UpdateNotifierParams

WithHTTPClient adds the HTTPClient to the update notifier params

func (*UpdateNotifierParams) WithSlug

WithSlug adds the slug to the update notifier params

func (*UpdateNotifierParams) WithTimeout

func (o *UpdateNotifierParams) WithTimeout(timeout time.Duration) *UpdateNotifierParams

WithTimeout adds the timeout to the update notifier params

func (*UpdateNotifierParams) WriteToRequest

func (o *UpdateNotifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateNotifierReader

type UpdateNotifierReader struct {
	// contains filtered or unexported fields
}

UpdateNotifierReader is a Reader for the UpdateNotifier structure.

func (*UpdateNotifierReader) ReadResponse

func (o *UpdateNotifierReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateRecordingRuleBadRequest

type UpdateRecordingRuleBadRequest struct {
	Payload *models.APIError
}

UpdateRecordingRuleBadRequest describes a response with status code 400, with default header values.

Cannot update the RecordingRule because the request is invalid.

func NewUpdateRecordingRuleBadRequest

func NewUpdateRecordingRuleBadRequest() *UpdateRecordingRuleBadRequest

NewUpdateRecordingRuleBadRequest creates a UpdateRecordingRuleBadRequest with default headers values

func (*UpdateRecordingRuleBadRequest) Code

Code gets the status code for the update recording rule bad request response

func (*UpdateRecordingRuleBadRequest) Error

func (*UpdateRecordingRuleBadRequest) GetPayload

func (*UpdateRecordingRuleBadRequest) IsClientError

func (o *UpdateRecordingRuleBadRequest) IsClientError() bool

IsClientError returns true when this update recording rule bad request response has a 4xx status code

func (*UpdateRecordingRuleBadRequest) IsCode

func (o *UpdateRecordingRuleBadRequest) IsCode(code int) bool

IsCode returns true when this update recording rule bad request response a status code equal to that given

func (*UpdateRecordingRuleBadRequest) IsRedirect

func (o *UpdateRecordingRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this update recording rule bad request response has a 3xx status code

func (*UpdateRecordingRuleBadRequest) IsServerError

func (o *UpdateRecordingRuleBadRequest) IsServerError() bool

IsServerError returns true when this update recording rule bad request response has a 5xx status code

func (*UpdateRecordingRuleBadRequest) IsSuccess

func (o *UpdateRecordingRuleBadRequest) IsSuccess() bool

IsSuccess returns true when this update recording rule bad request response has a 2xx status code

func (*UpdateRecordingRuleBadRequest) String

type UpdateRecordingRuleBody

type UpdateRecordingRuleBody struct {

	// If true, the RecordingRule will be created if it does not already exist, identified by slug. If false, an error will be returned if the RecordingRule does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the RecordingRule will not be created nor updated, and no response RecordingRule will be returned. The response will return an error if the given RecordingRule is invalid.
	DryRun bool `json:"dry_run,omitempty"`

	// recording rule
	RecordingRule *models.Configv1RecordingRule `json:"recording_rule,omitempty"`
}

UpdateRecordingRuleBody update recording rule body swagger:model UpdateRecordingRuleBody

func (*UpdateRecordingRuleBody) ContextValidate

func (o *UpdateRecordingRuleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update recording rule body based on the context it is used

func (*UpdateRecordingRuleBody) MarshalBinary

func (o *UpdateRecordingRuleBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateRecordingRuleBody) UnmarshalBinary

func (o *UpdateRecordingRuleBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateRecordingRuleBody) Validate

func (o *UpdateRecordingRuleBody) Validate(formats strfmt.Registry) error

Validate validates this update recording rule body

type UpdateRecordingRuleConflict

type UpdateRecordingRuleConflict struct {
	Payload *models.APIError
}

UpdateRecordingRuleConflict describes a response with status code 409, with default header values.

Cannot update the RecordingRule because there is a conflict with an existing RecordingRule.

func NewUpdateRecordingRuleConflict

func NewUpdateRecordingRuleConflict() *UpdateRecordingRuleConflict

NewUpdateRecordingRuleConflict creates a UpdateRecordingRuleConflict with default headers values

func (*UpdateRecordingRuleConflict) Code

func (o *UpdateRecordingRuleConflict) Code() int

Code gets the status code for the update recording rule conflict response

func (*UpdateRecordingRuleConflict) Error

func (*UpdateRecordingRuleConflict) GetPayload

func (o *UpdateRecordingRuleConflict) GetPayload() *models.APIError

func (*UpdateRecordingRuleConflict) IsClientError

func (o *UpdateRecordingRuleConflict) IsClientError() bool

IsClientError returns true when this update recording rule conflict response has a 4xx status code

func (*UpdateRecordingRuleConflict) IsCode

func (o *UpdateRecordingRuleConflict) IsCode(code int) bool

IsCode returns true when this update recording rule conflict response a status code equal to that given

func (*UpdateRecordingRuleConflict) IsRedirect

func (o *UpdateRecordingRuleConflict) IsRedirect() bool

IsRedirect returns true when this update recording rule conflict response has a 3xx status code

func (*UpdateRecordingRuleConflict) IsServerError

func (o *UpdateRecordingRuleConflict) IsServerError() bool

IsServerError returns true when this update recording rule conflict response has a 5xx status code

func (*UpdateRecordingRuleConflict) IsSuccess

func (o *UpdateRecordingRuleConflict) IsSuccess() bool

IsSuccess returns true when this update recording rule conflict response has a 2xx status code

func (*UpdateRecordingRuleConflict) String

func (o *UpdateRecordingRuleConflict) String() string

type UpdateRecordingRuleDefault

type UpdateRecordingRuleDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateRecordingRuleDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateRecordingRuleDefault

func NewUpdateRecordingRuleDefault(code int) *UpdateRecordingRuleDefault

NewUpdateRecordingRuleDefault creates a UpdateRecordingRuleDefault with default headers values

func (*UpdateRecordingRuleDefault) Code

func (o *UpdateRecordingRuleDefault) Code() int

Code gets the status code for the update recording rule default response

func (*UpdateRecordingRuleDefault) Error

func (*UpdateRecordingRuleDefault) GetPayload

func (*UpdateRecordingRuleDefault) IsClientError

func (o *UpdateRecordingRuleDefault) IsClientError() bool

IsClientError returns true when this update recording rule default response has a 4xx status code

func (*UpdateRecordingRuleDefault) IsCode

func (o *UpdateRecordingRuleDefault) IsCode(code int) bool

IsCode returns true when this update recording rule default response a status code equal to that given

func (*UpdateRecordingRuleDefault) IsRedirect

func (o *UpdateRecordingRuleDefault) IsRedirect() bool

IsRedirect returns true when this update recording rule default response has a 3xx status code

func (*UpdateRecordingRuleDefault) IsServerError

func (o *UpdateRecordingRuleDefault) IsServerError() bool

IsServerError returns true when this update recording rule default response has a 5xx status code

func (*UpdateRecordingRuleDefault) IsSuccess

func (o *UpdateRecordingRuleDefault) IsSuccess() bool

IsSuccess returns true when this update recording rule default response has a 2xx status code

func (*UpdateRecordingRuleDefault) String

func (o *UpdateRecordingRuleDefault) String() string

type UpdateRecordingRuleInternalServerError

type UpdateRecordingRuleInternalServerError struct {
	Payload *models.APIError
}

UpdateRecordingRuleInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateRecordingRuleInternalServerError

func NewUpdateRecordingRuleInternalServerError() *UpdateRecordingRuleInternalServerError

NewUpdateRecordingRuleInternalServerError creates a UpdateRecordingRuleInternalServerError with default headers values

func (*UpdateRecordingRuleInternalServerError) Code

Code gets the status code for the update recording rule internal server error response

func (*UpdateRecordingRuleInternalServerError) Error

func (*UpdateRecordingRuleInternalServerError) GetPayload

func (*UpdateRecordingRuleInternalServerError) IsClientError

func (o *UpdateRecordingRuleInternalServerError) IsClientError() bool

IsClientError returns true when this update recording rule internal server error response has a 4xx status code

func (*UpdateRecordingRuleInternalServerError) IsCode

IsCode returns true when this update recording rule internal server error response a status code equal to that given

func (*UpdateRecordingRuleInternalServerError) IsRedirect

IsRedirect returns true when this update recording rule internal server error response has a 3xx status code

func (*UpdateRecordingRuleInternalServerError) IsServerError

func (o *UpdateRecordingRuleInternalServerError) IsServerError() bool

IsServerError returns true when this update recording rule internal server error response has a 5xx status code

func (*UpdateRecordingRuleInternalServerError) IsSuccess

IsSuccess returns true when this update recording rule internal server error response has a 2xx status code

func (*UpdateRecordingRuleInternalServerError) String

type UpdateRecordingRuleNotFound

type UpdateRecordingRuleNotFound struct {
	Payload *models.APIError
}

UpdateRecordingRuleNotFound describes a response with status code 404, with default header values.

Cannot update the RecordingRule because the slug does not exist.

func NewUpdateRecordingRuleNotFound

func NewUpdateRecordingRuleNotFound() *UpdateRecordingRuleNotFound

NewUpdateRecordingRuleNotFound creates a UpdateRecordingRuleNotFound with default headers values

func (*UpdateRecordingRuleNotFound) Code

func (o *UpdateRecordingRuleNotFound) Code() int

Code gets the status code for the update recording rule not found response

func (*UpdateRecordingRuleNotFound) Error

func (*UpdateRecordingRuleNotFound) GetPayload

func (o *UpdateRecordingRuleNotFound) GetPayload() *models.APIError

func (*UpdateRecordingRuleNotFound) IsClientError

func (o *UpdateRecordingRuleNotFound) IsClientError() bool

IsClientError returns true when this update recording rule not found response has a 4xx status code

func (*UpdateRecordingRuleNotFound) IsCode

func (o *UpdateRecordingRuleNotFound) IsCode(code int) bool

IsCode returns true when this update recording rule not found response a status code equal to that given

func (*UpdateRecordingRuleNotFound) IsRedirect

func (o *UpdateRecordingRuleNotFound) IsRedirect() bool

IsRedirect returns true when this update recording rule not found response has a 3xx status code

func (*UpdateRecordingRuleNotFound) IsServerError

func (o *UpdateRecordingRuleNotFound) IsServerError() bool

IsServerError returns true when this update recording rule not found response has a 5xx status code

func (*UpdateRecordingRuleNotFound) IsSuccess

func (o *UpdateRecordingRuleNotFound) IsSuccess() bool

IsSuccess returns true when this update recording rule not found response has a 2xx status code

func (*UpdateRecordingRuleNotFound) String

func (o *UpdateRecordingRuleNotFound) String() string

type UpdateRecordingRuleOK

type UpdateRecordingRuleOK struct {
	Payload *models.Configv1UpdateRecordingRuleResponse
}

UpdateRecordingRuleOK describes a response with status code 200, with default header values.

A successful response containing the updated RecordingRule.

func NewUpdateRecordingRuleOK

func NewUpdateRecordingRuleOK() *UpdateRecordingRuleOK

NewUpdateRecordingRuleOK creates a UpdateRecordingRuleOK with default headers values

func (*UpdateRecordingRuleOK) Code

func (o *UpdateRecordingRuleOK) Code() int

Code gets the status code for the update recording rule o k response

func (*UpdateRecordingRuleOK) Error

func (o *UpdateRecordingRuleOK) Error() string

func (*UpdateRecordingRuleOK) GetPayload

func (*UpdateRecordingRuleOK) IsClientError

func (o *UpdateRecordingRuleOK) IsClientError() bool

IsClientError returns true when this update recording rule o k response has a 4xx status code

func (*UpdateRecordingRuleOK) IsCode

func (o *UpdateRecordingRuleOK) IsCode(code int) bool

IsCode returns true when this update recording rule o k response a status code equal to that given

func (*UpdateRecordingRuleOK) IsRedirect

func (o *UpdateRecordingRuleOK) IsRedirect() bool

IsRedirect returns true when this update recording rule o k response has a 3xx status code

func (*UpdateRecordingRuleOK) IsServerError

func (o *UpdateRecordingRuleOK) IsServerError() bool

IsServerError returns true when this update recording rule o k response has a 5xx status code

func (*UpdateRecordingRuleOK) IsSuccess

func (o *UpdateRecordingRuleOK) IsSuccess() bool

IsSuccess returns true when this update recording rule o k response has a 2xx status code

func (*UpdateRecordingRuleOK) String

func (o *UpdateRecordingRuleOK) String() string

type UpdateRecordingRuleParams

type UpdateRecordingRuleParams struct {

	// Body.
	Body UpdateRecordingRuleBody

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateRecordingRuleParams contains all the parameters to send to the API endpoint

for the update recording rule operation.

Typically these are written to a http.Request.

func NewUpdateRecordingRuleParams

func NewUpdateRecordingRuleParams() *UpdateRecordingRuleParams

NewUpdateRecordingRuleParams creates a new UpdateRecordingRuleParams 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 NewUpdateRecordingRuleParamsWithContext

func NewUpdateRecordingRuleParamsWithContext(ctx context.Context) *UpdateRecordingRuleParams

NewUpdateRecordingRuleParamsWithContext creates a new UpdateRecordingRuleParams object with the ability to set a context for a request.

func NewUpdateRecordingRuleParamsWithHTTPClient

func NewUpdateRecordingRuleParamsWithHTTPClient(client *http.Client) *UpdateRecordingRuleParams

NewUpdateRecordingRuleParamsWithHTTPClient creates a new UpdateRecordingRuleParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateRecordingRuleParamsWithTimeout

func NewUpdateRecordingRuleParamsWithTimeout(timeout time.Duration) *UpdateRecordingRuleParams

NewUpdateRecordingRuleParamsWithTimeout creates a new UpdateRecordingRuleParams object with the ability to set a timeout on a request.

func (*UpdateRecordingRuleParams) SetBody

SetBody adds the body to the update recording rule params

func (*UpdateRecordingRuleParams) SetContext

func (o *UpdateRecordingRuleParams) SetContext(ctx context.Context)

SetContext adds the context to the update recording rule params

func (*UpdateRecordingRuleParams) SetDefaults

func (o *UpdateRecordingRuleParams) SetDefaults()

SetDefaults hydrates default values in the update recording rule params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateRecordingRuleParams) SetHTTPClient

func (o *UpdateRecordingRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update recording rule params

func (*UpdateRecordingRuleParams) SetSlug

func (o *UpdateRecordingRuleParams) SetSlug(slug string)

SetSlug adds the slug to the update recording rule params

func (*UpdateRecordingRuleParams) SetTimeout

func (o *UpdateRecordingRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update recording rule params

func (*UpdateRecordingRuleParams) WithBody

WithBody adds the body to the update recording rule params

func (*UpdateRecordingRuleParams) WithContext

WithContext adds the context to the update recording rule params

func (*UpdateRecordingRuleParams) WithDefaults

WithDefaults hydrates default values in the update recording rule params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateRecordingRuleParams) WithHTTPClient

func (o *UpdateRecordingRuleParams) WithHTTPClient(client *http.Client) *UpdateRecordingRuleParams

WithHTTPClient adds the HTTPClient to the update recording rule params

func (*UpdateRecordingRuleParams) WithSlug

WithSlug adds the slug to the update recording rule params

func (*UpdateRecordingRuleParams) WithTimeout

WithTimeout adds the timeout to the update recording rule params

func (*UpdateRecordingRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateRecordingRuleReader

type UpdateRecordingRuleReader struct {
	// contains filtered or unexported fields
}

UpdateRecordingRuleReader is a Reader for the UpdateRecordingRule structure.

func (*UpdateRecordingRuleReader) ReadResponse

func (o *UpdateRecordingRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateResourcePoolsDefault

type UpdateResourcePoolsDefault struct {
	Payload *models.APIError
	// contains filtered or unexported fields
}

UpdateResourcePoolsDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewUpdateResourcePoolsDefault

func NewUpdateResourcePoolsDefault(code int) *UpdateResourcePoolsDefault

NewUpdateResourcePoolsDefault creates a UpdateResourcePoolsDefault with default headers values

func (*UpdateResourcePoolsDefault) Code

func (o *UpdateResourcePoolsDefault) Code() int

Code gets the status code for the update resource pools default response

func (*UpdateResourcePoolsDefault) Error

func (*UpdateResourcePoolsDefault) GetPayload

func (o *UpdateResourcePoolsDefault) GetPayload() *models.APIError

func (*UpdateResourcePoolsDefault) IsClientError

func (o *UpdateResourcePoolsDefault) IsClientError() bool

IsClientError returns true when this update resource pools default response has a 4xx status code

func (*UpdateResourcePoolsDefault) IsCode

func (o *UpdateResourcePoolsDefault) IsCode(code int) bool

IsCode returns true when this update resource pools default response a status code equal to that given

func (*UpdateResourcePoolsDefault) IsRedirect

func (o *UpdateResourcePoolsDefault) IsRedirect() bool

IsRedirect returns true when this update resource pools default response has a 3xx status code

func (*UpdateResourcePoolsDefault) IsServerError

func (o *UpdateResourcePoolsDefault) IsServerError() bool

IsServerError returns true when this update resource pools default response has a 5xx status code

func (*UpdateResourcePoolsDefault) IsSuccess

func (o *UpdateResourcePoolsDefault) IsSuccess() bool

IsSuccess returns true when this update resource pools default response has a 2xx status code

func (*UpdateResourcePoolsDefault) String

func (o *UpdateResourcePoolsDefault) String() string

type UpdateResourcePoolsOK

type UpdateResourcePoolsOK struct {
	Payload *models.Configv1UpdateResourcePoolsResponse
}

UpdateResourcePoolsOK describes a response with status code 200, with default header values.

A successful response.

func NewUpdateResourcePoolsOK

func NewUpdateResourcePoolsOK() *UpdateResourcePoolsOK

NewUpdateResourcePoolsOK creates a UpdateResourcePoolsOK with default headers values

func (*UpdateResourcePoolsOK) Code

func (o *UpdateResourcePoolsOK) Code() int

Code gets the status code for the update resource pools o k response

func (*UpdateResourcePoolsOK) Error

func (o *UpdateResourcePoolsOK) Error() string

func (*UpdateResourcePoolsOK) GetPayload

func (*UpdateResourcePoolsOK) IsClientError

func (o *UpdateResourcePoolsOK) IsClientError() bool

IsClientError returns true when this update resource pools o k response has a 4xx status code

func (*UpdateResourcePoolsOK) IsCode

func (o *UpdateResourcePoolsOK) IsCode(code int) bool

IsCode returns true when this update resource pools o k response a status code equal to that given

func (*UpdateResourcePoolsOK) IsRedirect

func (o *UpdateResourcePoolsOK) IsRedirect() bool

IsRedirect returns true when this update resource pools o k response has a 3xx status code

func (*UpdateResourcePoolsOK) IsServerError

func (o *UpdateResourcePoolsOK) IsServerError() bool

IsServerError returns true when this update resource pools o k response has a 5xx status code

func (*UpdateResourcePoolsOK) IsSuccess

func (o *UpdateResourcePoolsOK) IsSuccess() bool

IsSuccess returns true when this update resource pools o k response has a 2xx status code

func (*UpdateResourcePoolsOK) String

func (o *UpdateResourcePoolsOK) String() string

type UpdateResourcePoolsParams

type UpdateResourcePoolsParams struct {

	// Body.
	Body *models.Configv1UpdateResourcePoolsRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateResourcePoolsParams contains all the parameters to send to the API endpoint

for the update resource pools operation.

Typically these are written to a http.Request.

func NewUpdateResourcePoolsParams

func NewUpdateResourcePoolsParams() *UpdateResourcePoolsParams

NewUpdateResourcePoolsParams creates a new UpdateResourcePoolsParams 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 NewUpdateResourcePoolsParamsWithContext

func NewUpdateResourcePoolsParamsWithContext(ctx context.Context) *UpdateResourcePoolsParams

NewUpdateResourcePoolsParamsWithContext creates a new UpdateResourcePoolsParams object with the ability to set a context for a request.

func NewUpdateResourcePoolsParamsWithHTTPClient

func NewUpdateResourcePoolsParamsWithHTTPClient(client *http.Client) *UpdateResourcePoolsParams

NewUpdateResourcePoolsParamsWithHTTPClient creates a new UpdateResourcePoolsParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateResourcePoolsParamsWithTimeout

func NewUpdateResourcePoolsParamsWithTimeout(timeout time.Duration) *UpdateResourcePoolsParams

NewUpdateResourcePoolsParamsWithTimeout creates a new UpdateResourcePoolsParams object with the ability to set a timeout on a request.

func (*UpdateResourcePoolsParams) SetBody

SetBody adds the body to the update resource pools params

func (*UpdateResourcePoolsParams) SetContext

func (o *UpdateResourcePoolsParams) SetContext(ctx context.Context)

SetContext adds the context to the update resource pools params

func (*UpdateResourcePoolsParams) SetDefaults

func (o *UpdateResourcePoolsParams) SetDefaults()

SetDefaults hydrates default values in the update resource pools params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateResourcePoolsParams) SetHTTPClient

func (o *UpdateResourcePoolsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update resource pools params

func (*UpdateResourcePoolsParams) SetTimeout

func (o *UpdateResourcePoolsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update resource pools params

func (*UpdateResourcePoolsParams) WithBody

WithBody adds the body to the update resource pools params

func (*UpdateResourcePoolsParams) WithContext

WithContext adds the context to the update resource pools params

func (*UpdateResourcePoolsParams) WithDefaults

WithDefaults hydrates default values in the update resource pools params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateResourcePoolsParams) WithHTTPClient

func (o *UpdateResourcePoolsParams) WithHTTPClient(client *http.Client) *UpdateResourcePoolsParams

WithHTTPClient adds the HTTPClient to the update resource pools params

func (*UpdateResourcePoolsParams) WithTimeout

WithTimeout adds the timeout to the update resource pools params

func (*UpdateResourcePoolsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateResourcePoolsReader

type UpdateResourcePoolsReader struct {
	// contains filtered or unexported fields
}

UpdateResourcePoolsReader is a Reader for the UpdateResourcePools structure.

func (*UpdateResourcePoolsReader) ReadResponse

func (o *UpdateResourcePoolsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateRollupRuleBadRequest

type UpdateRollupRuleBadRequest struct {
	Payload *models.APIError
}

UpdateRollupRuleBadRequest describes a response with status code 400, with default header values.

Cannot update the RollupRule because the request is invalid.

func NewUpdateRollupRuleBadRequest

func NewUpdateRollupRuleBadRequest() *UpdateRollupRuleBadRequest

NewUpdateRollupRuleBadRequest creates a UpdateRollupRuleBadRequest with default headers values

func (*UpdateRollupRuleBadRequest) Code

func (o *UpdateRollupRuleBadRequest) Code() int

Code gets the status code for the update rollup rule bad request response

func (*UpdateRollupRuleBadRequest) Error

func (*UpdateRollupRuleBadRequest) GetPayload

func (o *UpdateRollupRuleBadRequest) GetPayload() *models.APIError

func (*UpdateRollupRuleBadRequest) IsClientError

func (o *UpdateRollupRuleBadRequest) IsClientError() bool

IsClientError returns true when this update rollup rule bad request response has a 4xx status code

func (*UpdateRollupRuleBadRequest) IsCode

func (o *UpdateRollupRuleBadRequest) IsCode(code int) bool

IsCode returns true when this update rollup rule bad request response a status code equal to that given

func (*UpdateRollupRuleBadRequest) IsRedirect

func (o *UpdateRollupRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this update rollup rule bad request response has a 3xx status code

func (*UpdateRollupRuleBadRequest) IsServerError

func (o *UpdateRollupRuleBadRequest) IsServerError() bool

IsServerError returns true when this update rollup rule bad request response has a 5xx status code

func (*UpdateRollupRuleBadRequest) IsSuccess

func (o *UpdateRollupRuleBadRequest) IsSuccess() bool

IsSuccess returns true when this update rollup rule bad request response has a 2xx status code

func (*UpdateRollupRuleBadRequest) String

func (o *UpdateRollupRuleBadRequest) String() string

type UpdateRollupRuleBody

type UpdateRollupRuleBody struct {

	// If true, the RollupRule will be created if it does not already exist, identified by slug. If false, an error will be returned if the RollupRule does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the RollupRule will not be created nor updated, and no response RollupRule will be returned. The response will return an error if the given RollupRule is invalid.
	DryRun bool `json:"dry_run,omitempty"`

	// rollup rule
	RollupRule *models.Configv1RollupRule `json:"rollup_rule,omitempty"`
}

UpdateRollupRuleBody update rollup rule body swagger:model UpdateRollupRuleBody

func (*UpdateRollupRuleBody) ContextValidate

func (o *UpdateRollupRuleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update rollup rule body based on the context it is used

func (*UpdateRollupRuleBody) MarshalBinary

func (o *UpdateRollupRuleBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateRollupRuleBody) UnmarshalBinary

func (o *UpdateRollupRuleBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateRollupRuleBody) Validate

func (o *UpdateRollupRuleBody) Validate(formats strfmt.Registry) error

Validate validates this update rollup rule body

type UpdateRollupRuleConflict

type UpdateRollupRuleConflict struct {
	Payload *models.APIError
}

UpdateRollupRuleConflict describes a response with status code 409, with default header values.

Cannot update the RollupRule because there is a conflict with an existing RollupRule.

func NewUpdateRollupRuleConflict

func NewUpdateRollupRuleConflict() *UpdateRollupRuleConflict

NewUpdateRollupRuleConflict creates a UpdateRollupRuleConflict with default headers values

func (*UpdateRollupRuleConflict) Code

func (o *UpdateRollupRuleConflict) Code() int

Code gets the status code for the update rollup rule conflict response

func (*UpdateRollupRuleConflict) Error

func (o *UpdateRollupRuleConflict) Error() string

func (*UpdateRollupRuleConflict) GetPayload

func (o *UpdateRollupRuleConflict) GetPayload() *models.APIError

func (*UpdateRollupRuleConflict) IsClientError

func (o *UpdateRollupRuleConflict) IsClientError() bool

IsClientError returns true when this update rollup rule conflict response has a 4xx status code

func (*UpdateRollupRuleConflict) IsCode

func (o *UpdateRollupRuleConflict) IsCode(code int) bool

IsCode returns true when this update rollup rule conflict response a status code equal to that given

func (*UpdateRollupRuleConflict) IsRedirect

func (o *UpdateRollupRuleConflict) IsRedirect() bool

IsRedirect returns true when this update rollup rule conflict response has a 3xx status code

func (*UpdateRollupRuleConflict) IsServerError

func (o *UpdateRollupRuleConflict) IsServerError() bool

IsServerError returns true when this update rollup rule conflict response has a 5xx status code

func (*UpdateRollupRuleConflict) IsSuccess

func (o *UpdateRollupRuleConflict) IsSuccess() bool

IsSuccess returns true when this update rollup rule conflict response has a 2xx status code

func (*UpdateRollupRuleConflict) String

func (o *UpdateRollupRuleConflict) String() string

type UpdateRollupRuleDefault

type UpdateRollupRuleDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateRollupRuleDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateRollupRuleDefault

func NewUpdateRollupRuleDefault(code int) *UpdateRollupRuleDefault

NewUpdateRollupRuleDefault creates a UpdateRollupRuleDefault with default headers values

func (*UpdateRollupRuleDefault) Code

func (o *UpdateRollupRuleDefault) Code() int

Code gets the status code for the update rollup rule default response

func (*UpdateRollupRuleDefault) Error

func (o *UpdateRollupRuleDefault) Error() string

func (*UpdateRollupRuleDefault) GetPayload

func (*UpdateRollupRuleDefault) IsClientError

func (o *UpdateRollupRuleDefault) IsClientError() bool

IsClientError returns true when this update rollup rule default response has a 4xx status code

func (*UpdateRollupRuleDefault) IsCode

func (o *UpdateRollupRuleDefault) IsCode(code int) bool

IsCode returns true when this update rollup rule default response a status code equal to that given

func (*UpdateRollupRuleDefault) IsRedirect

func (o *UpdateRollupRuleDefault) IsRedirect() bool

IsRedirect returns true when this update rollup rule default response has a 3xx status code

func (*UpdateRollupRuleDefault) IsServerError

func (o *UpdateRollupRuleDefault) IsServerError() bool

IsServerError returns true when this update rollup rule default response has a 5xx status code

func (*UpdateRollupRuleDefault) IsSuccess

func (o *UpdateRollupRuleDefault) IsSuccess() bool

IsSuccess returns true when this update rollup rule default response has a 2xx status code

func (*UpdateRollupRuleDefault) String

func (o *UpdateRollupRuleDefault) String() string

type UpdateRollupRuleInternalServerError

type UpdateRollupRuleInternalServerError struct {
	Payload *models.APIError
}

UpdateRollupRuleInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateRollupRuleInternalServerError

func NewUpdateRollupRuleInternalServerError() *UpdateRollupRuleInternalServerError

NewUpdateRollupRuleInternalServerError creates a UpdateRollupRuleInternalServerError with default headers values

func (*UpdateRollupRuleInternalServerError) Code

Code gets the status code for the update rollup rule internal server error response

func (*UpdateRollupRuleInternalServerError) Error

func (*UpdateRollupRuleInternalServerError) GetPayload

func (*UpdateRollupRuleInternalServerError) IsClientError

func (o *UpdateRollupRuleInternalServerError) IsClientError() bool

IsClientError returns true when this update rollup rule internal server error response has a 4xx status code

func (*UpdateRollupRuleInternalServerError) IsCode

IsCode returns true when this update rollup rule internal server error response a status code equal to that given

func (*UpdateRollupRuleInternalServerError) IsRedirect

func (o *UpdateRollupRuleInternalServerError) IsRedirect() bool

IsRedirect returns true when this update rollup rule internal server error response has a 3xx status code

func (*UpdateRollupRuleInternalServerError) IsServerError

func (o *UpdateRollupRuleInternalServerError) IsServerError() bool

IsServerError returns true when this update rollup rule internal server error response has a 5xx status code

func (*UpdateRollupRuleInternalServerError) IsSuccess

IsSuccess returns true when this update rollup rule internal server error response has a 2xx status code

func (*UpdateRollupRuleInternalServerError) String

type UpdateRollupRuleNotFound

type UpdateRollupRuleNotFound struct {
	Payload *models.APIError
}

UpdateRollupRuleNotFound describes a response with status code 404, with default header values.

Cannot update the RollupRule because the slug does not exist.

func NewUpdateRollupRuleNotFound

func NewUpdateRollupRuleNotFound() *UpdateRollupRuleNotFound

NewUpdateRollupRuleNotFound creates a UpdateRollupRuleNotFound with default headers values

func (*UpdateRollupRuleNotFound) Code

func (o *UpdateRollupRuleNotFound) Code() int

Code gets the status code for the update rollup rule not found response

func (*UpdateRollupRuleNotFound) Error

func (o *UpdateRollupRuleNotFound) Error() string

func (*UpdateRollupRuleNotFound) GetPayload

func (o *UpdateRollupRuleNotFound) GetPayload() *models.APIError

func (*UpdateRollupRuleNotFound) IsClientError

func (o *UpdateRollupRuleNotFound) IsClientError() bool

IsClientError returns true when this update rollup rule not found response has a 4xx status code

func (*UpdateRollupRuleNotFound) IsCode

func (o *UpdateRollupRuleNotFound) IsCode(code int) bool

IsCode returns true when this update rollup rule not found response a status code equal to that given

func (*UpdateRollupRuleNotFound) IsRedirect

func (o *UpdateRollupRuleNotFound) IsRedirect() bool

IsRedirect returns true when this update rollup rule not found response has a 3xx status code

func (*UpdateRollupRuleNotFound) IsServerError

func (o *UpdateRollupRuleNotFound) IsServerError() bool

IsServerError returns true when this update rollup rule not found response has a 5xx status code

func (*UpdateRollupRuleNotFound) IsSuccess

func (o *UpdateRollupRuleNotFound) IsSuccess() bool

IsSuccess returns true when this update rollup rule not found response has a 2xx status code

func (*UpdateRollupRuleNotFound) String

func (o *UpdateRollupRuleNotFound) String() string

type UpdateRollupRuleOK

type UpdateRollupRuleOK struct {
	Payload *models.Configv1UpdateRollupRuleResponse
}

UpdateRollupRuleOK describes a response with status code 200, with default header values.

A successful response containing the updated RollupRule.

func NewUpdateRollupRuleOK

func NewUpdateRollupRuleOK() *UpdateRollupRuleOK

NewUpdateRollupRuleOK creates a UpdateRollupRuleOK with default headers values

func (*UpdateRollupRuleOK) Code

func (o *UpdateRollupRuleOK) Code() int

Code gets the status code for the update rollup rule o k response

func (*UpdateRollupRuleOK) Error

func (o *UpdateRollupRuleOK) Error() string

func (*UpdateRollupRuleOK) GetPayload

func (*UpdateRollupRuleOK) IsClientError

func (o *UpdateRollupRuleOK) IsClientError() bool

IsClientError returns true when this update rollup rule o k response has a 4xx status code

func (*UpdateRollupRuleOK) IsCode

func (o *UpdateRollupRuleOK) IsCode(code int) bool

IsCode returns true when this update rollup rule o k response a status code equal to that given

func (*UpdateRollupRuleOK) IsRedirect

func (o *UpdateRollupRuleOK) IsRedirect() bool

IsRedirect returns true when this update rollup rule o k response has a 3xx status code

func (*UpdateRollupRuleOK) IsServerError

func (o *UpdateRollupRuleOK) IsServerError() bool

IsServerError returns true when this update rollup rule o k response has a 5xx status code

func (*UpdateRollupRuleOK) IsSuccess

func (o *UpdateRollupRuleOK) IsSuccess() bool

IsSuccess returns true when this update rollup rule o k response has a 2xx status code

func (*UpdateRollupRuleOK) String

func (o *UpdateRollupRuleOK) String() string

type UpdateRollupRuleParams

type UpdateRollupRuleParams struct {

	// Body.
	Body UpdateRollupRuleBody

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateRollupRuleParams contains all the parameters to send to the API endpoint

for the update rollup rule operation.

Typically these are written to a http.Request.

func NewUpdateRollupRuleParams

func NewUpdateRollupRuleParams() *UpdateRollupRuleParams

NewUpdateRollupRuleParams creates a new UpdateRollupRuleParams 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 NewUpdateRollupRuleParamsWithContext

func NewUpdateRollupRuleParamsWithContext(ctx context.Context) *UpdateRollupRuleParams

NewUpdateRollupRuleParamsWithContext creates a new UpdateRollupRuleParams object with the ability to set a context for a request.

func NewUpdateRollupRuleParamsWithHTTPClient

func NewUpdateRollupRuleParamsWithHTTPClient(client *http.Client) *UpdateRollupRuleParams

NewUpdateRollupRuleParamsWithHTTPClient creates a new UpdateRollupRuleParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateRollupRuleParamsWithTimeout

func NewUpdateRollupRuleParamsWithTimeout(timeout time.Duration) *UpdateRollupRuleParams

NewUpdateRollupRuleParamsWithTimeout creates a new UpdateRollupRuleParams object with the ability to set a timeout on a request.

func (*UpdateRollupRuleParams) SetBody

SetBody adds the body to the update rollup rule params

func (*UpdateRollupRuleParams) SetContext

func (o *UpdateRollupRuleParams) SetContext(ctx context.Context)

SetContext adds the context to the update rollup rule params

func (*UpdateRollupRuleParams) SetDefaults

func (o *UpdateRollupRuleParams) SetDefaults()

SetDefaults hydrates default values in the update rollup rule params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateRollupRuleParams) SetHTTPClient

func (o *UpdateRollupRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update rollup rule params

func (*UpdateRollupRuleParams) SetSlug

func (o *UpdateRollupRuleParams) SetSlug(slug string)

SetSlug adds the slug to the update rollup rule params

func (*UpdateRollupRuleParams) SetTimeout

func (o *UpdateRollupRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update rollup rule params

func (*UpdateRollupRuleParams) WithBody

WithBody adds the body to the update rollup rule params

func (*UpdateRollupRuleParams) WithContext

WithContext adds the context to the update rollup rule params

func (*UpdateRollupRuleParams) WithDefaults

WithDefaults hydrates default values in the update rollup rule params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateRollupRuleParams) WithHTTPClient

func (o *UpdateRollupRuleParams) WithHTTPClient(client *http.Client) *UpdateRollupRuleParams

WithHTTPClient adds the HTTPClient to the update rollup rule params

func (*UpdateRollupRuleParams) WithSlug

WithSlug adds the slug to the update rollup rule params

func (*UpdateRollupRuleParams) WithTimeout

WithTimeout adds the timeout to the update rollup rule params

func (*UpdateRollupRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateRollupRuleReader

type UpdateRollupRuleReader struct {
	// contains filtered or unexported fields
}

UpdateRollupRuleReader is a Reader for the UpdateRollupRule structure.

func (*UpdateRollupRuleReader) ReadResponse

func (o *UpdateRollupRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateTeamBadRequest

type UpdateTeamBadRequest struct {
	Payload *models.APIError
}

UpdateTeamBadRequest describes a response with status code 400, with default header values.

Cannot update the Team because the request is invalid.

func NewUpdateTeamBadRequest

func NewUpdateTeamBadRequest() *UpdateTeamBadRequest

NewUpdateTeamBadRequest creates a UpdateTeamBadRequest with default headers values

func (*UpdateTeamBadRequest) Code

func (o *UpdateTeamBadRequest) Code() int

Code gets the status code for the update team bad request response

func (*UpdateTeamBadRequest) Error

func (o *UpdateTeamBadRequest) Error() string

func (*UpdateTeamBadRequest) GetPayload

func (o *UpdateTeamBadRequest) GetPayload() *models.APIError

func (*UpdateTeamBadRequest) IsClientError

func (o *UpdateTeamBadRequest) IsClientError() bool

IsClientError returns true when this update team bad request response has a 4xx status code

func (*UpdateTeamBadRequest) IsCode

func (o *UpdateTeamBadRequest) IsCode(code int) bool

IsCode returns true when this update team bad request response a status code equal to that given

func (*UpdateTeamBadRequest) IsRedirect

func (o *UpdateTeamBadRequest) IsRedirect() bool

IsRedirect returns true when this update team bad request response has a 3xx status code

func (*UpdateTeamBadRequest) IsServerError

func (o *UpdateTeamBadRequest) IsServerError() bool

IsServerError returns true when this update team bad request response has a 5xx status code

func (*UpdateTeamBadRequest) IsSuccess

func (o *UpdateTeamBadRequest) IsSuccess() bool

IsSuccess returns true when this update team bad request response has a 2xx status code

func (*UpdateTeamBadRequest) String

func (o *UpdateTeamBadRequest) String() string

type UpdateTeamBody

type UpdateTeamBody struct {

	// If true, the Team will be created if it does not already exist, identified by slug. If false, an error will be returned if the Team does not already exist.
	CreateIfMissing bool `json:"create_if_missing,omitempty"`

	// If true, the Team will not be created nor updated, and no response Team will be returned. The response will return an error if the given Team is invalid.
	DryRun bool `json:"dry_run,omitempty"`

	// team
	Team *models.Configv1Team `json:"team,omitempty"`
}

UpdateTeamBody update team body swagger:model UpdateTeamBody

func (*UpdateTeamBody) ContextValidate

func (o *UpdateTeamBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update team body based on the context it is used

func (*UpdateTeamBody) MarshalBinary

func (o *UpdateTeamBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateTeamBody) UnmarshalBinary

func (o *UpdateTeamBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateTeamBody) Validate

func (o *UpdateTeamBody) Validate(formats strfmt.Registry) error

Validate validates this update team body

type UpdateTeamConflict

type UpdateTeamConflict struct {
	Payload *models.APIError
}

UpdateTeamConflict describes a response with status code 409, with default header values.

Cannot update the Team because there is a conflict with an existing Team.

func NewUpdateTeamConflict

func NewUpdateTeamConflict() *UpdateTeamConflict

NewUpdateTeamConflict creates a UpdateTeamConflict with default headers values

func (*UpdateTeamConflict) Code

func (o *UpdateTeamConflict) Code() int

Code gets the status code for the update team conflict response

func (*UpdateTeamConflict) Error

func (o *UpdateTeamConflict) Error() string

func (*UpdateTeamConflict) GetPayload

func (o *UpdateTeamConflict) GetPayload() *models.APIError

func (*UpdateTeamConflict) IsClientError

func (o *UpdateTeamConflict) IsClientError() bool

IsClientError returns true when this update team conflict response has a 4xx status code

func (*UpdateTeamConflict) IsCode

func (o *UpdateTeamConflict) IsCode(code int) bool

IsCode returns true when this update team conflict response a status code equal to that given

func (*UpdateTeamConflict) IsRedirect

func (o *UpdateTeamConflict) IsRedirect() bool

IsRedirect returns true when this update team conflict response has a 3xx status code

func (*UpdateTeamConflict) IsServerError

func (o *UpdateTeamConflict) IsServerError() bool

IsServerError returns true when this update team conflict response has a 5xx status code

func (*UpdateTeamConflict) IsSuccess

func (o *UpdateTeamConflict) IsSuccess() bool

IsSuccess returns true when this update team conflict response has a 2xx status code

func (*UpdateTeamConflict) String

func (o *UpdateTeamConflict) String() string

type UpdateTeamDefault

type UpdateTeamDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateTeamDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateTeamDefault

func NewUpdateTeamDefault(code int) *UpdateTeamDefault

NewUpdateTeamDefault creates a UpdateTeamDefault with default headers values

func (*UpdateTeamDefault) Code

func (o *UpdateTeamDefault) Code() int

Code gets the status code for the update team default response

func (*UpdateTeamDefault) Error

func (o *UpdateTeamDefault) Error() string

func (*UpdateTeamDefault) GetPayload

func (o *UpdateTeamDefault) GetPayload() models.GenericError

func (*UpdateTeamDefault) IsClientError

func (o *UpdateTeamDefault) IsClientError() bool

IsClientError returns true when this update team default response has a 4xx status code

func (*UpdateTeamDefault) IsCode

func (o *UpdateTeamDefault) IsCode(code int) bool

IsCode returns true when this update team default response a status code equal to that given

func (*UpdateTeamDefault) IsRedirect

func (o *UpdateTeamDefault) IsRedirect() bool

IsRedirect returns true when this update team default response has a 3xx status code

func (*UpdateTeamDefault) IsServerError

func (o *UpdateTeamDefault) IsServerError() bool

IsServerError returns true when this update team default response has a 5xx status code

func (*UpdateTeamDefault) IsSuccess

func (o *UpdateTeamDefault) IsSuccess() bool

IsSuccess returns true when this update team default response has a 2xx status code

func (*UpdateTeamDefault) String

func (o *UpdateTeamDefault) String() string

type UpdateTeamInternalServerError

type UpdateTeamInternalServerError struct {
	Payload *models.APIError
}

UpdateTeamInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateTeamInternalServerError

func NewUpdateTeamInternalServerError() *UpdateTeamInternalServerError

NewUpdateTeamInternalServerError creates a UpdateTeamInternalServerError with default headers values

func (*UpdateTeamInternalServerError) Code

Code gets the status code for the update team internal server error response

func (*UpdateTeamInternalServerError) Error

func (*UpdateTeamInternalServerError) GetPayload

func (*UpdateTeamInternalServerError) IsClientError

func (o *UpdateTeamInternalServerError) IsClientError() bool

IsClientError returns true when this update team internal server error response has a 4xx status code

func (*UpdateTeamInternalServerError) IsCode

func (o *UpdateTeamInternalServerError) IsCode(code int) bool

IsCode returns true when this update team internal server error response a status code equal to that given

func (*UpdateTeamInternalServerError) IsRedirect

func (o *UpdateTeamInternalServerError) IsRedirect() bool

IsRedirect returns true when this update team internal server error response has a 3xx status code

func (*UpdateTeamInternalServerError) IsServerError

func (o *UpdateTeamInternalServerError) IsServerError() bool

IsServerError returns true when this update team internal server error response has a 5xx status code

func (*UpdateTeamInternalServerError) IsSuccess

func (o *UpdateTeamInternalServerError) IsSuccess() bool

IsSuccess returns true when this update team internal server error response has a 2xx status code

func (*UpdateTeamInternalServerError) String

type UpdateTeamNotFound

type UpdateTeamNotFound struct {
	Payload *models.APIError
}

UpdateTeamNotFound describes a response with status code 404, with default header values.

Cannot update the Team because the slug does not exist.

func NewUpdateTeamNotFound

func NewUpdateTeamNotFound() *UpdateTeamNotFound

NewUpdateTeamNotFound creates a UpdateTeamNotFound with default headers values

func (*UpdateTeamNotFound) Code

func (o *UpdateTeamNotFound) Code() int

Code gets the status code for the update team not found response

func (*UpdateTeamNotFound) Error

func (o *UpdateTeamNotFound) Error() string

func (*UpdateTeamNotFound) GetPayload

func (o *UpdateTeamNotFound) GetPayload() *models.APIError

func (*UpdateTeamNotFound) IsClientError

func (o *UpdateTeamNotFound) IsClientError() bool

IsClientError returns true when this update team not found response has a 4xx status code

func (*UpdateTeamNotFound) IsCode

func (o *UpdateTeamNotFound) IsCode(code int) bool

IsCode returns true when this update team not found response a status code equal to that given

func (*UpdateTeamNotFound) IsRedirect

func (o *UpdateTeamNotFound) IsRedirect() bool

IsRedirect returns true when this update team not found response has a 3xx status code

func (*UpdateTeamNotFound) IsServerError

func (o *UpdateTeamNotFound) IsServerError() bool

IsServerError returns true when this update team not found response has a 5xx status code

func (*UpdateTeamNotFound) IsSuccess

func (o *UpdateTeamNotFound) IsSuccess() bool

IsSuccess returns true when this update team not found response has a 2xx status code

func (*UpdateTeamNotFound) String

func (o *UpdateTeamNotFound) String() string

type UpdateTeamOK

type UpdateTeamOK struct {
	Payload *models.Configv1UpdateTeamResponse
}

UpdateTeamOK describes a response with status code 200, with default header values.

A successful response containing the updated Team.

func NewUpdateTeamOK

func NewUpdateTeamOK() *UpdateTeamOK

NewUpdateTeamOK creates a UpdateTeamOK with default headers values

func (*UpdateTeamOK) Code

func (o *UpdateTeamOK) Code() int

Code gets the status code for the update team o k response

func (*UpdateTeamOK) Error

func (o *UpdateTeamOK) Error() string

func (*UpdateTeamOK) GetPayload

func (*UpdateTeamOK) IsClientError

func (o *UpdateTeamOK) IsClientError() bool

IsClientError returns true when this update team o k response has a 4xx status code

func (*UpdateTeamOK) IsCode

func (o *UpdateTeamOK) IsCode(code int) bool

IsCode returns true when this update team o k response a status code equal to that given

func (*UpdateTeamOK) IsRedirect

func (o *UpdateTeamOK) IsRedirect() bool

IsRedirect returns true when this update team o k response has a 3xx status code

func (*UpdateTeamOK) IsServerError

func (o *UpdateTeamOK) IsServerError() bool

IsServerError returns true when this update team o k response has a 5xx status code

func (*UpdateTeamOK) IsSuccess

func (o *UpdateTeamOK) IsSuccess() bool

IsSuccess returns true when this update team o k response has a 2xx status code

func (*UpdateTeamOK) String

func (o *UpdateTeamOK) String() string

type UpdateTeamParams

type UpdateTeamParams struct {

	// Body.
	Body UpdateTeamBody

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateTeamParams contains all the parameters to send to the API endpoint

for the update team operation.

Typically these are written to a http.Request.

func NewUpdateTeamParams

func NewUpdateTeamParams() *UpdateTeamParams

NewUpdateTeamParams creates a new UpdateTeamParams 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 NewUpdateTeamParamsWithContext

func NewUpdateTeamParamsWithContext(ctx context.Context) *UpdateTeamParams

NewUpdateTeamParamsWithContext creates a new UpdateTeamParams object with the ability to set a context for a request.

func NewUpdateTeamParamsWithHTTPClient

func NewUpdateTeamParamsWithHTTPClient(client *http.Client) *UpdateTeamParams

NewUpdateTeamParamsWithHTTPClient creates a new UpdateTeamParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateTeamParamsWithTimeout

func NewUpdateTeamParamsWithTimeout(timeout time.Duration) *UpdateTeamParams

NewUpdateTeamParamsWithTimeout creates a new UpdateTeamParams object with the ability to set a timeout on a request.

func (*UpdateTeamParams) SetBody

func (o *UpdateTeamParams) SetBody(body UpdateTeamBody)

SetBody adds the body to the update team params

func (*UpdateTeamParams) SetContext

func (o *UpdateTeamParams) SetContext(ctx context.Context)

SetContext adds the context to the update team params

func (*UpdateTeamParams) SetDefaults

func (o *UpdateTeamParams) SetDefaults()

SetDefaults hydrates default values in the update team params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateTeamParams) SetHTTPClient

func (o *UpdateTeamParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update team params

func (*UpdateTeamParams) SetSlug

func (o *UpdateTeamParams) SetSlug(slug string)

SetSlug adds the slug to the update team params

func (*UpdateTeamParams) SetTimeout

func (o *UpdateTeamParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update team params

func (*UpdateTeamParams) WithBody

WithBody adds the body to the update team params

func (*UpdateTeamParams) WithContext

func (o *UpdateTeamParams) WithContext(ctx context.Context) *UpdateTeamParams

WithContext adds the context to the update team params

func (*UpdateTeamParams) WithDefaults

func (o *UpdateTeamParams) WithDefaults() *UpdateTeamParams

WithDefaults hydrates default values in the update team params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateTeamParams) WithHTTPClient

func (o *UpdateTeamParams) WithHTTPClient(client *http.Client) *UpdateTeamParams

WithHTTPClient adds the HTTPClient to the update team params

func (*UpdateTeamParams) WithSlug

func (o *UpdateTeamParams) WithSlug(slug string) *UpdateTeamParams

WithSlug adds the slug to the update team params

func (*UpdateTeamParams) WithTimeout

func (o *UpdateTeamParams) WithTimeout(timeout time.Duration) *UpdateTeamParams

WithTimeout adds the timeout to the update team params

func (*UpdateTeamParams) WriteToRequest

func (o *UpdateTeamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateTeamReader

type UpdateTeamReader struct {
	// contains filtered or unexported fields
}

UpdateTeamReader is a Reader for the UpdateTeam structure.

func (*UpdateTeamReader) ReadResponse

func (o *UpdateTeamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL