preset

package
v0.0.0-...-b339f66 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 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 preset API

func (*Client) CreatePreset

func (a *Client) CreatePreset(params *CreatePresetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePresetOK, error)

CreatePreset Creates the preset

func (*Client) DeletePreset

func (a *Client) DeletePreset(params *DeletePresetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePresetOK, error)

DeletePreset removes preset

func (*Client) DeletePresetProvider

func (a *Client) DeletePresetProvider(params *DeletePresetProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePresetProviderOK, error)

DeletePresetProvider removes selected preset s provider

func (*Client) DeleteProviderPreset

func (a *Client) DeleteProviderPreset(params *DeleteProviderPresetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProviderPresetOK, error)

DeleteProviderPreset deletes provider preset

This endpoint has been depreciated in favour of /presets/{presets_name} and /presets/{preset_name}/providers/{provider_name}.

func (*Client) GetPresetStats

func (a *Client) GetPresetStats(params *GetPresetStatsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPresetStatsOK, error)

GetPresetStats gets presets stats

func (*Client) ListPresets

func (a *Client) ListPresets(params *ListPresetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPresetsOK, error)

ListPresets Lists presets

func (*Client) ListProjectPresets

func (a *Client) ListProjectPresets(params *ListProjectPresetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectPresetsOK, error)

ListProjectPresets Lists presets in a specific project

func (*Client) ListProjectProviderPresets

func (a *Client) ListProjectProviderPresets(params *ListProjectProviderPresetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectProviderPresetsOK, error)

ListProjectProviderPresets Lists presets for the provider in a specific project

func (*Client) ListProviderPresets

func (a *Client) ListProviderPresets(params *ListProviderPresetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProviderPresetsOK, error)

ListProviderPresets Lists presets for the provider

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdatePreset

func (a *Client) UpdatePreset(params *UpdatePresetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePresetOK, error)

UpdatePreset Updates provider preset

func (*Client) UpdatePresetStatus

func (a *Client) UpdatePresetStatus(params *UpdatePresetStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePresetStatusOK, error)

UpdatePresetStatus updates the status of a preset it can enable or disable it so that it won t be listed by the list endpoints

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreatePreset(params *CreatePresetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePresetOK, error)

	DeletePreset(params *DeletePresetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePresetOK, error)

	DeletePresetProvider(params *DeletePresetProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePresetProviderOK, error)

	DeleteProviderPreset(params *DeleteProviderPresetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProviderPresetOK, error)

	GetPresetStats(params *GetPresetStatsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPresetStatsOK, error)

	ListPresets(params *ListPresetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPresetsOK, error)

	ListProjectPresets(params *ListProjectPresetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectPresetsOK, error)

	ListProjectProviderPresets(params *ListProjectProviderPresetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectProviderPresetsOK, error)

	ListProviderPresets(params *ListProviderPresetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProviderPresetsOK, error)

	UpdatePreset(params *UpdatePresetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePresetOK, error)

	UpdatePresetStatus(params *UpdatePresetStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePresetStatusOK, 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 preset API client.

type CreatePresetDefault

type CreatePresetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

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

errorResponse

func NewCreatePresetDefault

func NewCreatePresetDefault(code int) *CreatePresetDefault

NewCreatePresetDefault creates a CreatePresetDefault with default headers values

func (*CreatePresetDefault) Code

func (o *CreatePresetDefault) Code() int

Code gets the status code for the create preset default response

func (*CreatePresetDefault) Error

func (o *CreatePresetDefault) Error() string

func (*CreatePresetDefault) GetPayload

func (o *CreatePresetDefault) GetPayload() *models.ErrorResponse

func (*CreatePresetDefault) IsClientError

func (o *CreatePresetDefault) IsClientError() bool

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

func (*CreatePresetDefault) IsCode

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

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

func (*CreatePresetDefault) IsRedirect

func (o *CreatePresetDefault) IsRedirect() bool

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

func (*CreatePresetDefault) IsServerError

func (o *CreatePresetDefault) IsServerError() bool

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

func (*CreatePresetDefault) IsSuccess

func (o *CreatePresetDefault) IsSuccess() bool

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

func (*CreatePresetDefault) String

func (o *CreatePresetDefault) String() string

type CreatePresetForbidden

type CreatePresetForbidden struct {
}

CreatePresetForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewCreatePresetForbidden

func NewCreatePresetForbidden() *CreatePresetForbidden

NewCreatePresetForbidden creates a CreatePresetForbidden with default headers values

func (*CreatePresetForbidden) Error

func (o *CreatePresetForbidden) Error() string

func (*CreatePresetForbidden) IsClientError

func (o *CreatePresetForbidden) IsClientError() bool

IsClientError returns true when this create preset forbidden response has a 4xx status code

func (*CreatePresetForbidden) IsCode

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

IsCode returns true when this create preset forbidden response a status code equal to that given

func (*CreatePresetForbidden) IsRedirect

func (o *CreatePresetForbidden) IsRedirect() bool

IsRedirect returns true when this create preset forbidden response has a 3xx status code

func (*CreatePresetForbidden) IsServerError

func (o *CreatePresetForbidden) IsServerError() bool

IsServerError returns true when this create preset forbidden response has a 5xx status code

func (*CreatePresetForbidden) IsSuccess

func (o *CreatePresetForbidden) IsSuccess() bool

IsSuccess returns true when this create preset forbidden response has a 2xx status code

func (*CreatePresetForbidden) String

func (o *CreatePresetForbidden) String() string

type CreatePresetOK

type CreatePresetOK struct {
	Payload *models.Preset
}

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

Preset

func NewCreatePresetOK

func NewCreatePresetOK() *CreatePresetOK

NewCreatePresetOK creates a CreatePresetOK with default headers values

func (*CreatePresetOK) Error

func (o *CreatePresetOK) Error() string

func (*CreatePresetOK) GetPayload

func (o *CreatePresetOK) GetPayload() *models.Preset

func (*CreatePresetOK) IsClientError

func (o *CreatePresetOK) IsClientError() bool

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

func (*CreatePresetOK) IsCode

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

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

func (*CreatePresetOK) IsRedirect

func (o *CreatePresetOK) IsRedirect() bool

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

func (*CreatePresetOK) IsServerError

func (o *CreatePresetOK) IsServerError() bool

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

func (*CreatePresetOK) IsSuccess

func (o *CreatePresetOK) IsSuccess() bool

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

func (*CreatePresetOK) String

func (o *CreatePresetOK) String() string

type CreatePresetParams

type CreatePresetParams struct {

	// Body.
	Body *models.PresetBody

	// ProviderName.
	ProviderName string

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

CreatePresetParams contains all the parameters to send to the API endpoint

for the create preset operation.

Typically these are written to a http.Request.

func NewCreatePresetParams

func NewCreatePresetParams() *CreatePresetParams

NewCreatePresetParams creates a new CreatePresetParams 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 NewCreatePresetParamsWithContext

func NewCreatePresetParamsWithContext(ctx context.Context) *CreatePresetParams

NewCreatePresetParamsWithContext creates a new CreatePresetParams object with the ability to set a context for a request.

func NewCreatePresetParamsWithHTTPClient

func NewCreatePresetParamsWithHTTPClient(client *http.Client) *CreatePresetParams

NewCreatePresetParamsWithHTTPClient creates a new CreatePresetParams object with the ability to set a custom HTTPClient for a request.

func NewCreatePresetParamsWithTimeout

func NewCreatePresetParamsWithTimeout(timeout time.Duration) *CreatePresetParams

NewCreatePresetParamsWithTimeout creates a new CreatePresetParams object with the ability to set a timeout on a request.

func (*CreatePresetParams) SetBody

func (o *CreatePresetParams) SetBody(body *models.PresetBody)

SetBody adds the body to the create preset params

func (*CreatePresetParams) SetContext

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

SetContext adds the context to the create preset params

func (*CreatePresetParams) SetDefaults

func (o *CreatePresetParams) SetDefaults()

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

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

func (*CreatePresetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create preset params

func (*CreatePresetParams) SetProviderName

func (o *CreatePresetParams) SetProviderName(providerName string)

SetProviderName adds the providerName to the create preset params

func (*CreatePresetParams) SetTimeout

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

SetTimeout adds the timeout to the create preset params

func (*CreatePresetParams) WithBody

WithBody adds the body to the create preset params

func (*CreatePresetParams) WithContext

WithContext adds the context to the create preset params

func (*CreatePresetParams) WithDefaults

func (o *CreatePresetParams) WithDefaults() *CreatePresetParams

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

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

func (*CreatePresetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create preset params

func (*CreatePresetParams) WithProviderName

func (o *CreatePresetParams) WithProviderName(providerName string) *CreatePresetParams

WithProviderName adds the providerName to the create preset params

func (*CreatePresetParams) WithTimeout

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

WithTimeout adds the timeout to the create preset params

func (*CreatePresetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreatePresetReader

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

CreatePresetReader is a Reader for the CreatePreset structure.

func (*CreatePresetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreatePresetUnauthorized

type CreatePresetUnauthorized struct {
}

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

EmptyResponse is a empty response

func NewCreatePresetUnauthorized

func NewCreatePresetUnauthorized() *CreatePresetUnauthorized

NewCreatePresetUnauthorized creates a CreatePresetUnauthorized with default headers values

func (*CreatePresetUnauthorized) Error

func (o *CreatePresetUnauthorized) Error() string

func (*CreatePresetUnauthorized) IsClientError

func (o *CreatePresetUnauthorized) IsClientError() bool

IsClientError returns true when this create preset unauthorized response has a 4xx status code

func (*CreatePresetUnauthorized) IsCode

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

IsCode returns true when this create preset unauthorized response a status code equal to that given

func (*CreatePresetUnauthorized) IsRedirect

func (o *CreatePresetUnauthorized) IsRedirect() bool

IsRedirect returns true when this create preset unauthorized response has a 3xx status code

func (*CreatePresetUnauthorized) IsServerError

func (o *CreatePresetUnauthorized) IsServerError() bool

IsServerError returns true when this create preset unauthorized response has a 5xx status code

func (*CreatePresetUnauthorized) IsSuccess

func (o *CreatePresetUnauthorized) IsSuccess() bool

IsSuccess returns true when this create preset unauthorized response has a 2xx status code

func (*CreatePresetUnauthorized) String

func (o *CreatePresetUnauthorized) String() string

type DeletePresetDefault

type DeletePresetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

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

errorResponse

func NewDeletePresetDefault

func NewDeletePresetDefault(code int) *DeletePresetDefault

NewDeletePresetDefault creates a DeletePresetDefault with default headers values

func (*DeletePresetDefault) Code

func (o *DeletePresetDefault) Code() int

Code gets the status code for the delete preset default response

func (*DeletePresetDefault) Error

func (o *DeletePresetDefault) Error() string

func (*DeletePresetDefault) GetPayload

func (o *DeletePresetDefault) GetPayload() *models.ErrorResponse

func (*DeletePresetDefault) IsClientError

func (o *DeletePresetDefault) IsClientError() bool

IsClientError returns true when this delete preset default response has a 4xx status code

func (*DeletePresetDefault) IsCode

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

IsCode returns true when this delete preset default response a status code equal to that given

func (*DeletePresetDefault) IsRedirect

func (o *DeletePresetDefault) IsRedirect() bool

IsRedirect returns true when this delete preset default response has a 3xx status code

func (*DeletePresetDefault) IsServerError

func (o *DeletePresetDefault) IsServerError() bool

IsServerError returns true when this delete preset default response has a 5xx status code

func (*DeletePresetDefault) IsSuccess

func (o *DeletePresetDefault) IsSuccess() bool

IsSuccess returns true when this delete preset default response has a 2xx status code

func (*DeletePresetDefault) String

func (o *DeletePresetDefault) String() string

type DeletePresetForbidden

type DeletePresetForbidden struct {
}

DeletePresetForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewDeletePresetForbidden

func NewDeletePresetForbidden() *DeletePresetForbidden

NewDeletePresetForbidden creates a DeletePresetForbidden with default headers values

func (*DeletePresetForbidden) Error

func (o *DeletePresetForbidden) Error() string

func (*DeletePresetForbidden) IsClientError

func (o *DeletePresetForbidden) IsClientError() bool

IsClientError returns true when this delete preset forbidden response has a 4xx status code

func (*DeletePresetForbidden) IsCode

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

IsCode returns true when this delete preset forbidden response a status code equal to that given

func (*DeletePresetForbidden) IsRedirect

func (o *DeletePresetForbidden) IsRedirect() bool

IsRedirect returns true when this delete preset forbidden response has a 3xx status code

func (*DeletePresetForbidden) IsServerError

func (o *DeletePresetForbidden) IsServerError() bool

IsServerError returns true when this delete preset forbidden response has a 5xx status code

func (*DeletePresetForbidden) IsSuccess

func (o *DeletePresetForbidden) IsSuccess() bool

IsSuccess returns true when this delete preset forbidden response has a 2xx status code

func (*DeletePresetForbidden) String

func (o *DeletePresetForbidden) String() string

type DeletePresetNotFound

type DeletePresetNotFound struct {
}

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

EmptyResponse is a empty response

func NewDeletePresetNotFound

func NewDeletePresetNotFound() *DeletePresetNotFound

NewDeletePresetNotFound creates a DeletePresetNotFound with default headers values

func (*DeletePresetNotFound) Error

func (o *DeletePresetNotFound) Error() string

func (*DeletePresetNotFound) IsClientError

func (o *DeletePresetNotFound) IsClientError() bool

IsClientError returns true when this delete preset not found response has a 4xx status code

func (*DeletePresetNotFound) IsCode

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

IsCode returns true when this delete preset not found response a status code equal to that given

func (*DeletePresetNotFound) IsRedirect

func (o *DeletePresetNotFound) IsRedirect() bool

IsRedirect returns true when this delete preset not found response has a 3xx status code

func (*DeletePresetNotFound) IsServerError

func (o *DeletePresetNotFound) IsServerError() bool

IsServerError returns true when this delete preset not found response has a 5xx status code

func (*DeletePresetNotFound) IsSuccess

func (o *DeletePresetNotFound) IsSuccess() bool

IsSuccess returns true when this delete preset not found response has a 2xx status code

func (*DeletePresetNotFound) String

func (o *DeletePresetNotFound) String() string

type DeletePresetOK

type DeletePresetOK struct {
}

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

EmptyResponse is a empty response

func NewDeletePresetOK

func NewDeletePresetOK() *DeletePresetOK

NewDeletePresetOK creates a DeletePresetOK with default headers values

func (*DeletePresetOK) Error

func (o *DeletePresetOK) Error() string

func (*DeletePresetOK) IsClientError

func (o *DeletePresetOK) IsClientError() bool

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

func (*DeletePresetOK) IsCode

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

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

func (*DeletePresetOK) IsRedirect

func (o *DeletePresetOK) IsRedirect() bool

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

func (*DeletePresetOK) IsServerError

func (o *DeletePresetOK) IsServerError() bool

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

func (*DeletePresetOK) IsSuccess

func (o *DeletePresetOK) IsSuccess() bool

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

func (*DeletePresetOK) String

func (o *DeletePresetOK) String() string

type DeletePresetParams

type DeletePresetParams struct {

	// PresetName.
	PresetName string

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

DeletePresetParams contains all the parameters to send to the API endpoint

for the delete preset operation.

Typically these are written to a http.Request.

func NewDeletePresetParams

func NewDeletePresetParams() *DeletePresetParams

NewDeletePresetParams creates a new DeletePresetParams 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 NewDeletePresetParamsWithContext

func NewDeletePresetParamsWithContext(ctx context.Context) *DeletePresetParams

NewDeletePresetParamsWithContext creates a new DeletePresetParams object with the ability to set a context for a request.

func NewDeletePresetParamsWithHTTPClient

func NewDeletePresetParamsWithHTTPClient(client *http.Client) *DeletePresetParams

NewDeletePresetParamsWithHTTPClient creates a new DeletePresetParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePresetParamsWithTimeout

func NewDeletePresetParamsWithTimeout(timeout time.Duration) *DeletePresetParams

NewDeletePresetParamsWithTimeout creates a new DeletePresetParams object with the ability to set a timeout on a request.

func (*DeletePresetParams) SetContext

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

SetContext adds the context to the delete preset params

func (*DeletePresetParams) SetDefaults

func (o *DeletePresetParams) SetDefaults()

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

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

func (*DeletePresetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete preset params

func (*DeletePresetParams) SetPresetName

func (o *DeletePresetParams) SetPresetName(presetName string)

SetPresetName adds the presetName to the delete preset params

func (*DeletePresetParams) SetTimeout

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

SetTimeout adds the timeout to the delete preset params

func (*DeletePresetParams) WithContext

WithContext adds the context to the delete preset params

func (*DeletePresetParams) WithDefaults

func (o *DeletePresetParams) WithDefaults() *DeletePresetParams

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

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

func (*DeletePresetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete preset params

func (*DeletePresetParams) WithPresetName

func (o *DeletePresetParams) WithPresetName(presetName string) *DeletePresetParams

WithPresetName adds the presetName to the delete preset params

func (*DeletePresetParams) WithTimeout

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

WithTimeout adds the timeout to the delete preset params

func (*DeletePresetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeletePresetProviderDefault

type DeletePresetProviderDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

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

errorResponse

func NewDeletePresetProviderDefault

func NewDeletePresetProviderDefault(code int) *DeletePresetProviderDefault

NewDeletePresetProviderDefault creates a DeletePresetProviderDefault with default headers values

func (*DeletePresetProviderDefault) Code

func (o *DeletePresetProviderDefault) Code() int

Code gets the status code for the delete preset provider default response

func (*DeletePresetProviderDefault) Error

func (*DeletePresetProviderDefault) GetPayload

func (*DeletePresetProviderDefault) IsClientError

func (o *DeletePresetProviderDefault) IsClientError() bool

IsClientError returns true when this delete preset provider default response has a 4xx status code

func (*DeletePresetProviderDefault) IsCode

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

IsCode returns true when this delete preset provider default response a status code equal to that given

func (*DeletePresetProviderDefault) IsRedirect

func (o *DeletePresetProviderDefault) IsRedirect() bool

IsRedirect returns true when this delete preset provider default response has a 3xx status code

func (*DeletePresetProviderDefault) IsServerError

func (o *DeletePresetProviderDefault) IsServerError() bool

IsServerError returns true when this delete preset provider default response has a 5xx status code

func (*DeletePresetProviderDefault) IsSuccess

func (o *DeletePresetProviderDefault) IsSuccess() bool

IsSuccess returns true when this delete preset provider default response has a 2xx status code

func (*DeletePresetProviderDefault) String

func (o *DeletePresetProviderDefault) String() string

type DeletePresetProviderForbidden

type DeletePresetProviderForbidden struct {
}

DeletePresetProviderForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewDeletePresetProviderForbidden

func NewDeletePresetProviderForbidden() *DeletePresetProviderForbidden

NewDeletePresetProviderForbidden creates a DeletePresetProviderForbidden with default headers values

func (*DeletePresetProviderForbidden) Error

func (*DeletePresetProviderForbidden) IsClientError

func (o *DeletePresetProviderForbidden) IsClientError() bool

IsClientError returns true when this delete preset provider forbidden response has a 4xx status code

func (*DeletePresetProviderForbidden) IsCode

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

IsCode returns true when this delete preset provider forbidden response a status code equal to that given

func (*DeletePresetProviderForbidden) IsRedirect

func (o *DeletePresetProviderForbidden) IsRedirect() bool

IsRedirect returns true when this delete preset provider forbidden response has a 3xx status code

func (*DeletePresetProviderForbidden) IsServerError

func (o *DeletePresetProviderForbidden) IsServerError() bool

IsServerError returns true when this delete preset provider forbidden response has a 5xx status code

func (*DeletePresetProviderForbidden) IsSuccess

func (o *DeletePresetProviderForbidden) IsSuccess() bool

IsSuccess returns true when this delete preset provider forbidden response has a 2xx status code

func (*DeletePresetProviderForbidden) String

type DeletePresetProviderNotFound

type DeletePresetProviderNotFound struct {
}

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

EmptyResponse is a empty response

func NewDeletePresetProviderNotFound

func NewDeletePresetProviderNotFound() *DeletePresetProviderNotFound

NewDeletePresetProviderNotFound creates a DeletePresetProviderNotFound with default headers values

func (*DeletePresetProviderNotFound) Error

func (*DeletePresetProviderNotFound) IsClientError

func (o *DeletePresetProviderNotFound) IsClientError() bool

IsClientError returns true when this delete preset provider not found response has a 4xx status code

func (*DeletePresetProviderNotFound) IsCode

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

IsCode returns true when this delete preset provider not found response a status code equal to that given

func (*DeletePresetProviderNotFound) IsRedirect

func (o *DeletePresetProviderNotFound) IsRedirect() bool

IsRedirect returns true when this delete preset provider not found response has a 3xx status code

func (*DeletePresetProviderNotFound) IsServerError

func (o *DeletePresetProviderNotFound) IsServerError() bool

IsServerError returns true when this delete preset provider not found response has a 5xx status code

func (*DeletePresetProviderNotFound) IsSuccess

func (o *DeletePresetProviderNotFound) IsSuccess() bool

IsSuccess returns true when this delete preset provider not found response has a 2xx status code

func (*DeletePresetProviderNotFound) String

type DeletePresetProviderOK

type DeletePresetProviderOK struct {
}

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

EmptyResponse is a empty response

func NewDeletePresetProviderOK

func NewDeletePresetProviderOK() *DeletePresetProviderOK

NewDeletePresetProviderOK creates a DeletePresetProviderOK with default headers values

func (*DeletePresetProviderOK) Error

func (o *DeletePresetProviderOK) Error() string

func (*DeletePresetProviderOK) IsClientError

func (o *DeletePresetProviderOK) IsClientError() bool

IsClientError returns true when this delete preset provider o k response has a 4xx status code

func (*DeletePresetProviderOK) IsCode

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

IsCode returns true when this delete preset provider o k response a status code equal to that given

func (*DeletePresetProviderOK) IsRedirect

func (o *DeletePresetProviderOK) IsRedirect() bool

IsRedirect returns true when this delete preset provider o k response has a 3xx status code

func (*DeletePresetProviderOK) IsServerError

func (o *DeletePresetProviderOK) IsServerError() bool

IsServerError returns true when this delete preset provider o k response has a 5xx status code

func (*DeletePresetProviderOK) IsSuccess

func (o *DeletePresetProviderOK) IsSuccess() bool

IsSuccess returns true when this delete preset provider o k response has a 2xx status code

func (*DeletePresetProviderOK) String

func (o *DeletePresetProviderOK) String() string

type DeletePresetProviderParams

type DeletePresetProviderParams struct {

	// PresetName.
	PresetName string

	// ProviderName.
	ProviderName string

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

DeletePresetProviderParams contains all the parameters to send to the API endpoint

for the delete preset provider operation.

Typically these are written to a http.Request.

func NewDeletePresetProviderParams

func NewDeletePresetProviderParams() *DeletePresetProviderParams

NewDeletePresetProviderParams creates a new DeletePresetProviderParams 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 NewDeletePresetProviderParamsWithContext

func NewDeletePresetProviderParamsWithContext(ctx context.Context) *DeletePresetProviderParams

NewDeletePresetProviderParamsWithContext creates a new DeletePresetProviderParams object with the ability to set a context for a request.

func NewDeletePresetProviderParamsWithHTTPClient

func NewDeletePresetProviderParamsWithHTTPClient(client *http.Client) *DeletePresetProviderParams

NewDeletePresetProviderParamsWithHTTPClient creates a new DeletePresetProviderParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePresetProviderParamsWithTimeout

func NewDeletePresetProviderParamsWithTimeout(timeout time.Duration) *DeletePresetProviderParams

NewDeletePresetProviderParamsWithTimeout creates a new DeletePresetProviderParams object with the ability to set a timeout on a request.

func (*DeletePresetProviderParams) SetContext

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

SetContext adds the context to the delete preset provider params

func (*DeletePresetProviderParams) SetDefaults

func (o *DeletePresetProviderParams) SetDefaults()

SetDefaults hydrates default values in the delete preset provider params (not the query body).

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

func (*DeletePresetProviderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete preset provider params

func (*DeletePresetProviderParams) SetPresetName

func (o *DeletePresetProviderParams) SetPresetName(presetName string)

SetPresetName adds the presetName to the delete preset provider params

func (*DeletePresetProviderParams) SetProviderName

func (o *DeletePresetProviderParams) SetProviderName(providerName string)

SetProviderName adds the providerName to the delete preset provider params

func (*DeletePresetProviderParams) SetTimeout

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

SetTimeout adds the timeout to the delete preset provider params

func (*DeletePresetProviderParams) WithContext

WithContext adds the context to the delete preset provider params

func (*DeletePresetProviderParams) WithDefaults

WithDefaults hydrates default values in the delete preset provider params (not the query body).

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

func (*DeletePresetProviderParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete preset provider params

func (*DeletePresetProviderParams) WithPresetName

func (o *DeletePresetProviderParams) WithPresetName(presetName string) *DeletePresetProviderParams

WithPresetName adds the presetName to the delete preset provider params

func (*DeletePresetProviderParams) WithProviderName

func (o *DeletePresetProviderParams) WithProviderName(providerName string) *DeletePresetProviderParams

WithProviderName adds the providerName to the delete preset provider params

func (*DeletePresetProviderParams) WithTimeout

WithTimeout adds the timeout to the delete preset provider params

func (*DeletePresetProviderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePresetProviderReader

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

DeletePresetProviderReader is a Reader for the DeletePresetProvider structure.

func (*DeletePresetProviderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePresetProviderUnauthorized

type DeletePresetProviderUnauthorized struct {
}

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

EmptyResponse is a empty response

func NewDeletePresetProviderUnauthorized

func NewDeletePresetProviderUnauthorized() *DeletePresetProviderUnauthorized

NewDeletePresetProviderUnauthorized creates a DeletePresetProviderUnauthorized with default headers values

func (*DeletePresetProviderUnauthorized) Error

func (*DeletePresetProviderUnauthorized) IsClientError

func (o *DeletePresetProviderUnauthorized) IsClientError() bool

IsClientError returns true when this delete preset provider unauthorized response has a 4xx status code

func (*DeletePresetProviderUnauthorized) IsCode

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

IsCode returns true when this delete preset provider unauthorized response a status code equal to that given

func (*DeletePresetProviderUnauthorized) IsRedirect

func (o *DeletePresetProviderUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete preset provider unauthorized response has a 3xx status code

func (*DeletePresetProviderUnauthorized) IsServerError

func (o *DeletePresetProviderUnauthorized) IsServerError() bool

IsServerError returns true when this delete preset provider unauthorized response has a 5xx status code

func (*DeletePresetProviderUnauthorized) IsSuccess

func (o *DeletePresetProviderUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete preset provider unauthorized response has a 2xx status code

func (*DeletePresetProviderUnauthorized) String

type DeletePresetReader

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

DeletePresetReader is a Reader for the DeletePreset structure.

func (*DeletePresetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePresetUnauthorized

type DeletePresetUnauthorized struct {
}

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

EmptyResponse is a empty response

func NewDeletePresetUnauthorized

func NewDeletePresetUnauthorized() *DeletePresetUnauthorized

NewDeletePresetUnauthorized creates a DeletePresetUnauthorized with default headers values

func (*DeletePresetUnauthorized) Error

func (o *DeletePresetUnauthorized) Error() string

func (*DeletePresetUnauthorized) IsClientError

func (o *DeletePresetUnauthorized) IsClientError() bool

IsClientError returns true when this delete preset unauthorized response has a 4xx status code

func (*DeletePresetUnauthorized) IsCode

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

IsCode returns true when this delete preset unauthorized response a status code equal to that given

func (*DeletePresetUnauthorized) IsRedirect

func (o *DeletePresetUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete preset unauthorized response has a 3xx status code

func (*DeletePresetUnauthorized) IsServerError

func (o *DeletePresetUnauthorized) IsServerError() bool

IsServerError returns true when this delete preset unauthorized response has a 5xx status code

func (*DeletePresetUnauthorized) IsSuccess

func (o *DeletePresetUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete preset unauthorized response has a 2xx status code

func (*DeletePresetUnauthorized) String

func (o *DeletePresetUnauthorized) String() string

type DeleteProviderPresetDefault

type DeleteProviderPresetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

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

errorResponse

func NewDeleteProviderPresetDefault

func NewDeleteProviderPresetDefault(code int) *DeleteProviderPresetDefault

NewDeleteProviderPresetDefault creates a DeleteProviderPresetDefault with default headers values

func (*DeleteProviderPresetDefault) Code

func (o *DeleteProviderPresetDefault) Code() int

Code gets the status code for the delete provider preset default response

func (*DeleteProviderPresetDefault) Error

func (*DeleteProviderPresetDefault) GetPayload

func (*DeleteProviderPresetDefault) IsClientError

func (o *DeleteProviderPresetDefault) IsClientError() bool

IsClientError returns true when this delete provider preset default response has a 4xx status code

func (*DeleteProviderPresetDefault) IsCode

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

IsCode returns true when this delete provider preset default response a status code equal to that given

func (*DeleteProviderPresetDefault) IsRedirect

func (o *DeleteProviderPresetDefault) IsRedirect() bool

IsRedirect returns true when this delete provider preset default response has a 3xx status code

func (*DeleteProviderPresetDefault) IsServerError

func (o *DeleteProviderPresetDefault) IsServerError() bool

IsServerError returns true when this delete provider preset default response has a 5xx status code

func (*DeleteProviderPresetDefault) IsSuccess

func (o *DeleteProviderPresetDefault) IsSuccess() bool

IsSuccess returns true when this delete provider preset default response has a 2xx status code

func (*DeleteProviderPresetDefault) String

func (o *DeleteProviderPresetDefault) String() string

type DeleteProviderPresetForbidden

type DeleteProviderPresetForbidden struct {
}

DeleteProviderPresetForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewDeleteProviderPresetForbidden

func NewDeleteProviderPresetForbidden() *DeleteProviderPresetForbidden

NewDeleteProviderPresetForbidden creates a DeleteProviderPresetForbidden with default headers values

func (*DeleteProviderPresetForbidden) Error

func (*DeleteProviderPresetForbidden) IsClientError

func (o *DeleteProviderPresetForbidden) IsClientError() bool

IsClientError returns true when this delete provider preset forbidden response has a 4xx status code

func (*DeleteProviderPresetForbidden) IsCode

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

IsCode returns true when this delete provider preset forbidden response a status code equal to that given

func (*DeleteProviderPresetForbidden) IsRedirect

func (o *DeleteProviderPresetForbidden) IsRedirect() bool

IsRedirect returns true when this delete provider preset forbidden response has a 3xx status code

func (*DeleteProviderPresetForbidden) IsServerError

func (o *DeleteProviderPresetForbidden) IsServerError() bool

IsServerError returns true when this delete provider preset forbidden response has a 5xx status code

func (*DeleteProviderPresetForbidden) IsSuccess

func (o *DeleteProviderPresetForbidden) IsSuccess() bool

IsSuccess returns true when this delete provider preset forbidden response has a 2xx status code

func (*DeleteProviderPresetForbidden) String

type DeleteProviderPresetOK

type DeleteProviderPresetOK struct {
}

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

EmptyResponse is a empty response

func NewDeleteProviderPresetOK

func NewDeleteProviderPresetOK() *DeleteProviderPresetOK

NewDeleteProviderPresetOK creates a DeleteProviderPresetOK with default headers values

func (*DeleteProviderPresetOK) Error

func (o *DeleteProviderPresetOK) Error() string

func (*DeleteProviderPresetOK) IsClientError

func (o *DeleteProviderPresetOK) IsClientError() bool

IsClientError returns true when this delete provider preset o k response has a 4xx status code

func (*DeleteProviderPresetOK) IsCode

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

IsCode returns true when this delete provider preset o k response a status code equal to that given

func (*DeleteProviderPresetOK) IsRedirect

func (o *DeleteProviderPresetOK) IsRedirect() bool

IsRedirect returns true when this delete provider preset o k response has a 3xx status code

func (*DeleteProviderPresetOK) IsServerError

func (o *DeleteProviderPresetOK) IsServerError() bool

IsServerError returns true when this delete provider preset o k response has a 5xx status code

func (*DeleteProviderPresetOK) IsSuccess

func (o *DeleteProviderPresetOK) IsSuccess() bool

IsSuccess returns true when this delete provider preset o k response has a 2xx status code

func (*DeleteProviderPresetOK) String

func (o *DeleteProviderPresetOK) String() string

type DeleteProviderPresetParams

type DeleteProviderPresetParams struct {

	// PresetName.
	PresetName string

	// ProviderName.
	ProviderName string

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

DeleteProviderPresetParams contains all the parameters to send to the API endpoint

for the delete provider preset operation.

Typically these are written to a http.Request.

func NewDeleteProviderPresetParams

func NewDeleteProviderPresetParams() *DeleteProviderPresetParams

NewDeleteProviderPresetParams creates a new DeleteProviderPresetParams 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 NewDeleteProviderPresetParamsWithContext

func NewDeleteProviderPresetParamsWithContext(ctx context.Context) *DeleteProviderPresetParams

NewDeleteProviderPresetParamsWithContext creates a new DeleteProviderPresetParams object with the ability to set a context for a request.

func NewDeleteProviderPresetParamsWithHTTPClient

func NewDeleteProviderPresetParamsWithHTTPClient(client *http.Client) *DeleteProviderPresetParams

NewDeleteProviderPresetParamsWithHTTPClient creates a new DeleteProviderPresetParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteProviderPresetParamsWithTimeout

func NewDeleteProviderPresetParamsWithTimeout(timeout time.Duration) *DeleteProviderPresetParams

NewDeleteProviderPresetParamsWithTimeout creates a new DeleteProviderPresetParams object with the ability to set a timeout on a request.

func (*DeleteProviderPresetParams) SetContext

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

SetContext adds the context to the delete provider preset params

func (*DeleteProviderPresetParams) SetDefaults

func (o *DeleteProviderPresetParams) SetDefaults()

SetDefaults hydrates default values in the delete provider preset params (not the query body).

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

func (*DeleteProviderPresetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete provider preset params

func (*DeleteProviderPresetParams) SetPresetName

func (o *DeleteProviderPresetParams) SetPresetName(presetName string)

SetPresetName adds the presetName to the delete provider preset params

func (*DeleteProviderPresetParams) SetProviderName

func (o *DeleteProviderPresetParams) SetProviderName(providerName string)

SetProviderName adds the providerName to the delete provider preset params

func (*DeleteProviderPresetParams) SetTimeout

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

SetTimeout adds the timeout to the delete provider preset params

func (*DeleteProviderPresetParams) WithContext

WithContext adds the context to the delete provider preset params

func (*DeleteProviderPresetParams) WithDefaults

WithDefaults hydrates default values in the delete provider preset params (not the query body).

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

func (*DeleteProviderPresetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete provider preset params

func (*DeleteProviderPresetParams) WithPresetName

func (o *DeleteProviderPresetParams) WithPresetName(presetName string) *DeleteProviderPresetParams

WithPresetName adds the presetName to the delete provider preset params

func (*DeleteProviderPresetParams) WithProviderName

func (o *DeleteProviderPresetParams) WithProviderName(providerName string) *DeleteProviderPresetParams

WithProviderName adds the providerName to the delete provider preset params

func (*DeleteProviderPresetParams) WithTimeout

WithTimeout adds the timeout to the delete provider preset params

func (*DeleteProviderPresetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteProviderPresetReader

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

DeleteProviderPresetReader is a Reader for the DeleteProviderPreset structure.

func (*DeleteProviderPresetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteProviderPresetUnauthorized

type DeleteProviderPresetUnauthorized struct {
}

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

EmptyResponse is a empty response

func NewDeleteProviderPresetUnauthorized

func NewDeleteProviderPresetUnauthorized() *DeleteProviderPresetUnauthorized

NewDeleteProviderPresetUnauthorized creates a DeleteProviderPresetUnauthorized with default headers values

func (*DeleteProviderPresetUnauthorized) Error

func (*DeleteProviderPresetUnauthorized) IsClientError

func (o *DeleteProviderPresetUnauthorized) IsClientError() bool

IsClientError returns true when this delete provider preset unauthorized response has a 4xx status code

func (*DeleteProviderPresetUnauthorized) IsCode

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

IsCode returns true when this delete provider preset unauthorized response a status code equal to that given

func (*DeleteProviderPresetUnauthorized) IsRedirect

func (o *DeleteProviderPresetUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete provider preset unauthorized response has a 3xx status code

func (*DeleteProviderPresetUnauthorized) IsServerError

func (o *DeleteProviderPresetUnauthorized) IsServerError() bool

IsServerError returns true when this delete provider preset unauthorized response has a 5xx status code

func (*DeleteProviderPresetUnauthorized) IsSuccess

func (o *DeleteProviderPresetUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete provider preset unauthorized response has a 2xx status code

func (*DeleteProviderPresetUnauthorized) String

type GetPresetStatsDefault

type GetPresetStatsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

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

errorResponse

func NewGetPresetStatsDefault

func NewGetPresetStatsDefault(code int) *GetPresetStatsDefault

NewGetPresetStatsDefault creates a GetPresetStatsDefault with default headers values

func (*GetPresetStatsDefault) Code

func (o *GetPresetStatsDefault) Code() int

Code gets the status code for the get preset stats default response

func (*GetPresetStatsDefault) Error

func (o *GetPresetStatsDefault) Error() string

func (*GetPresetStatsDefault) GetPayload

func (o *GetPresetStatsDefault) GetPayload() *models.ErrorResponse

func (*GetPresetStatsDefault) IsClientError

func (o *GetPresetStatsDefault) IsClientError() bool

IsClientError returns true when this get preset stats default response has a 4xx status code

func (*GetPresetStatsDefault) IsCode

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

IsCode returns true when this get preset stats default response a status code equal to that given

func (*GetPresetStatsDefault) IsRedirect

func (o *GetPresetStatsDefault) IsRedirect() bool

IsRedirect returns true when this get preset stats default response has a 3xx status code

func (*GetPresetStatsDefault) IsServerError

func (o *GetPresetStatsDefault) IsServerError() bool

IsServerError returns true when this get preset stats default response has a 5xx status code

func (*GetPresetStatsDefault) IsSuccess

func (o *GetPresetStatsDefault) IsSuccess() bool

IsSuccess returns true when this get preset stats default response has a 2xx status code

func (*GetPresetStatsDefault) String

func (o *GetPresetStatsDefault) String() string

type GetPresetStatsForbidden

type GetPresetStatsForbidden struct {
}

GetPresetStatsForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewGetPresetStatsForbidden

func NewGetPresetStatsForbidden() *GetPresetStatsForbidden

NewGetPresetStatsForbidden creates a GetPresetStatsForbidden with default headers values

func (*GetPresetStatsForbidden) Error

func (o *GetPresetStatsForbidden) Error() string

func (*GetPresetStatsForbidden) IsClientError

func (o *GetPresetStatsForbidden) IsClientError() bool

IsClientError returns true when this get preset stats forbidden response has a 4xx status code

func (*GetPresetStatsForbidden) IsCode

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

IsCode returns true when this get preset stats forbidden response a status code equal to that given

func (*GetPresetStatsForbidden) IsRedirect

func (o *GetPresetStatsForbidden) IsRedirect() bool

IsRedirect returns true when this get preset stats forbidden response has a 3xx status code

func (*GetPresetStatsForbidden) IsServerError

func (o *GetPresetStatsForbidden) IsServerError() bool

IsServerError returns true when this get preset stats forbidden response has a 5xx status code

func (*GetPresetStatsForbidden) IsSuccess

func (o *GetPresetStatsForbidden) IsSuccess() bool

IsSuccess returns true when this get preset stats forbidden response has a 2xx status code

func (*GetPresetStatsForbidden) String

func (o *GetPresetStatsForbidden) String() string

type GetPresetStatsNotFound

type GetPresetStatsNotFound struct {
}

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

EmptyResponse is a empty response

func NewGetPresetStatsNotFound

func NewGetPresetStatsNotFound() *GetPresetStatsNotFound

NewGetPresetStatsNotFound creates a GetPresetStatsNotFound with default headers values

func (*GetPresetStatsNotFound) Error

func (o *GetPresetStatsNotFound) Error() string

func (*GetPresetStatsNotFound) IsClientError

func (o *GetPresetStatsNotFound) IsClientError() bool

IsClientError returns true when this get preset stats not found response has a 4xx status code

func (*GetPresetStatsNotFound) IsCode

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

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

func (*GetPresetStatsNotFound) IsRedirect

func (o *GetPresetStatsNotFound) IsRedirect() bool

IsRedirect returns true when this get preset stats not found response has a 3xx status code

func (*GetPresetStatsNotFound) IsServerError

func (o *GetPresetStatsNotFound) IsServerError() bool

IsServerError returns true when this get preset stats not found response has a 5xx status code

func (*GetPresetStatsNotFound) IsSuccess

func (o *GetPresetStatsNotFound) IsSuccess() bool

IsSuccess returns true when this get preset stats not found response has a 2xx status code

func (*GetPresetStatsNotFound) String

func (o *GetPresetStatsNotFound) String() string

type GetPresetStatsOK

type GetPresetStatsOK struct {
	Payload *models.PresetStats
}

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

PresetStats

func NewGetPresetStatsOK

func NewGetPresetStatsOK() *GetPresetStatsOK

NewGetPresetStatsOK creates a GetPresetStatsOK with default headers values

func (*GetPresetStatsOK) Error

func (o *GetPresetStatsOK) Error() string

func (*GetPresetStatsOK) GetPayload

func (o *GetPresetStatsOK) GetPayload() *models.PresetStats

func (*GetPresetStatsOK) IsClientError

func (o *GetPresetStatsOK) IsClientError() bool

IsClientError returns true when this get preset stats o k response has a 4xx status code

func (*GetPresetStatsOK) IsCode

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

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

func (*GetPresetStatsOK) IsRedirect

func (o *GetPresetStatsOK) IsRedirect() bool

IsRedirect returns true when this get preset stats o k response has a 3xx status code

func (*GetPresetStatsOK) IsServerError

func (o *GetPresetStatsOK) IsServerError() bool

IsServerError returns true when this get preset stats o k response has a 5xx status code

func (*GetPresetStatsOK) IsSuccess

func (o *GetPresetStatsOK) IsSuccess() bool

IsSuccess returns true when this get preset stats o k response has a 2xx status code

func (*GetPresetStatsOK) String

func (o *GetPresetStatsOK) String() string

type GetPresetStatsParams

type GetPresetStatsParams struct {

	// PresetName.
	PresetName string

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

GetPresetStatsParams contains all the parameters to send to the API endpoint

for the get preset stats operation.

Typically these are written to a http.Request.

func NewGetPresetStatsParams

func NewGetPresetStatsParams() *GetPresetStatsParams

NewGetPresetStatsParams creates a new GetPresetStatsParams 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 NewGetPresetStatsParamsWithContext

func NewGetPresetStatsParamsWithContext(ctx context.Context) *GetPresetStatsParams

NewGetPresetStatsParamsWithContext creates a new GetPresetStatsParams object with the ability to set a context for a request.

func NewGetPresetStatsParamsWithHTTPClient

func NewGetPresetStatsParamsWithHTTPClient(client *http.Client) *GetPresetStatsParams

NewGetPresetStatsParamsWithHTTPClient creates a new GetPresetStatsParams object with the ability to set a custom HTTPClient for a request.

func NewGetPresetStatsParamsWithTimeout

func NewGetPresetStatsParamsWithTimeout(timeout time.Duration) *GetPresetStatsParams

NewGetPresetStatsParamsWithTimeout creates a new GetPresetStatsParams object with the ability to set a timeout on a request.

func (*GetPresetStatsParams) SetContext

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

SetContext adds the context to the get preset stats params

func (*GetPresetStatsParams) SetDefaults

func (o *GetPresetStatsParams) SetDefaults()

SetDefaults hydrates default values in the get preset stats params (not the query body).

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

func (*GetPresetStatsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get preset stats params

func (*GetPresetStatsParams) SetPresetName

func (o *GetPresetStatsParams) SetPresetName(presetName string)

SetPresetName adds the presetName to the get preset stats params

func (*GetPresetStatsParams) SetTimeout

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

SetTimeout adds the timeout to the get preset stats params

func (*GetPresetStatsParams) WithContext

WithContext adds the context to the get preset stats params

func (*GetPresetStatsParams) WithDefaults

func (o *GetPresetStatsParams) WithDefaults() *GetPresetStatsParams

WithDefaults hydrates default values in the get preset stats params (not the query body).

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

func (*GetPresetStatsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get preset stats params

func (*GetPresetStatsParams) WithPresetName

func (o *GetPresetStatsParams) WithPresetName(presetName string) *GetPresetStatsParams

WithPresetName adds the presetName to the get preset stats params

func (*GetPresetStatsParams) WithTimeout

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

WithTimeout adds the timeout to the get preset stats params

func (*GetPresetStatsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPresetStatsReader

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

GetPresetStatsReader is a Reader for the GetPresetStats structure.

func (*GetPresetStatsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPresetStatsUnauthorized

type GetPresetStatsUnauthorized struct {
}

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

EmptyResponse is a empty response

func NewGetPresetStatsUnauthorized

func NewGetPresetStatsUnauthorized() *GetPresetStatsUnauthorized

NewGetPresetStatsUnauthorized creates a GetPresetStatsUnauthorized with default headers values

func (*GetPresetStatsUnauthorized) Error

func (*GetPresetStatsUnauthorized) IsClientError

func (o *GetPresetStatsUnauthorized) IsClientError() bool

IsClientError returns true when this get preset stats unauthorized response has a 4xx status code

func (*GetPresetStatsUnauthorized) IsCode

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

IsCode returns true when this get preset stats unauthorized response a status code equal to that given

func (*GetPresetStatsUnauthorized) IsRedirect

func (o *GetPresetStatsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get preset stats unauthorized response has a 3xx status code

func (*GetPresetStatsUnauthorized) IsServerError

func (o *GetPresetStatsUnauthorized) IsServerError() bool

IsServerError returns true when this get preset stats unauthorized response has a 5xx status code

func (*GetPresetStatsUnauthorized) IsSuccess

func (o *GetPresetStatsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get preset stats unauthorized response has a 2xx status code

func (*GetPresetStatsUnauthorized) String

func (o *GetPresetStatsUnauthorized) String() string

type ListPresetsDefault

type ListPresetsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

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

errorResponse

func NewListPresetsDefault

func NewListPresetsDefault(code int) *ListPresetsDefault

NewListPresetsDefault creates a ListPresetsDefault with default headers values

func (*ListPresetsDefault) Code

func (o *ListPresetsDefault) Code() int

Code gets the status code for the list presets default response

func (*ListPresetsDefault) Error

func (o *ListPresetsDefault) Error() string

func (*ListPresetsDefault) GetPayload

func (o *ListPresetsDefault) GetPayload() *models.ErrorResponse

func (*ListPresetsDefault) IsClientError

func (o *ListPresetsDefault) IsClientError() bool

IsClientError returns true when this list presets default response has a 4xx status code

func (*ListPresetsDefault) IsCode

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

IsCode returns true when this list presets default response a status code equal to that given

func (*ListPresetsDefault) IsRedirect

func (o *ListPresetsDefault) IsRedirect() bool

IsRedirect returns true when this list presets default response has a 3xx status code

func (*ListPresetsDefault) IsServerError

func (o *ListPresetsDefault) IsServerError() bool

IsServerError returns true when this list presets default response has a 5xx status code

func (*ListPresetsDefault) IsSuccess

func (o *ListPresetsDefault) IsSuccess() bool

IsSuccess returns true when this list presets default response has a 2xx status code

func (*ListPresetsDefault) String

func (o *ListPresetsDefault) String() string

type ListPresetsForbidden

type ListPresetsForbidden struct {
}

ListPresetsForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewListPresetsForbidden

func NewListPresetsForbidden() *ListPresetsForbidden

NewListPresetsForbidden creates a ListPresetsForbidden with default headers values

func (*ListPresetsForbidden) Error

func (o *ListPresetsForbidden) Error() string

func (*ListPresetsForbidden) IsClientError

func (o *ListPresetsForbidden) IsClientError() bool

IsClientError returns true when this list presets forbidden response has a 4xx status code

func (*ListPresetsForbidden) IsCode

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

IsCode returns true when this list presets forbidden response a status code equal to that given

func (*ListPresetsForbidden) IsRedirect

func (o *ListPresetsForbidden) IsRedirect() bool

IsRedirect returns true when this list presets forbidden response has a 3xx status code

func (*ListPresetsForbidden) IsServerError

func (o *ListPresetsForbidden) IsServerError() bool

IsServerError returns true when this list presets forbidden response has a 5xx status code

func (*ListPresetsForbidden) IsSuccess

func (o *ListPresetsForbidden) IsSuccess() bool

IsSuccess returns true when this list presets forbidden response has a 2xx status code

func (*ListPresetsForbidden) String

func (o *ListPresetsForbidden) String() string

type ListPresetsOK

type ListPresetsOK struct {
	Payload *models.PresetList
}

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

PresetList

func NewListPresetsOK

func NewListPresetsOK() *ListPresetsOK

NewListPresetsOK creates a ListPresetsOK with default headers values

func (*ListPresetsOK) Error

func (o *ListPresetsOK) Error() string

func (*ListPresetsOK) GetPayload

func (o *ListPresetsOK) GetPayload() *models.PresetList

func (*ListPresetsOK) IsClientError

func (o *ListPresetsOK) IsClientError() bool

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

func (*ListPresetsOK) IsCode

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

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

func (*ListPresetsOK) IsRedirect

func (o *ListPresetsOK) IsRedirect() bool

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

func (*ListPresetsOK) IsServerError

func (o *ListPresetsOK) IsServerError() bool

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

func (*ListPresetsOK) IsSuccess

func (o *ListPresetsOK) IsSuccess() bool

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

func (*ListPresetsOK) String

func (o *ListPresetsOK) String() string

type ListPresetsParams

type ListPresetsParams struct {

	// Disabled.
	Disabled *bool

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

ListPresetsParams contains all the parameters to send to the API endpoint

for the list presets operation.

Typically these are written to a http.Request.

func NewListPresetsParams

func NewListPresetsParams() *ListPresetsParams

NewListPresetsParams creates a new ListPresetsParams 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 NewListPresetsParamsWithContext

func NewListPresetsParamsWithContext(ctx context.Context) *ListPresetsParams

NewListPresetsParamsWithContext creates a new ListPresetsParams object with the ability to set a context for a request.

func NewListPresetsParamsWithHTTPClient

func NewListPresetsParamsWithHTTPClient(client *http.Client) *ListPresetsParams

NewListPresetsParamsWithHTTPClient creates a new ListPresetsParams object with the ability to set a custom HTTPClient for a request.

func NewListPresetsParamsWithTimeout

func NewListPresetsParamsWithTimeout(timeout time.Duration) *ListPresetsParams

NewListPresetsParamsWithTimeout creates a new ListPresetsParams object with the ability to set a timeout on a request.

func (*ListPresetsParams) SetContext

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

SetContext adds the context to the list presets params

func (*ListPresetsParams) SetDefaults

func (o *ListPresetsParams) SetDefaults()

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

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

func (*ListPresetsParams) SetDisabled

func (o *ListPresetsParams) SetDisabled(disabled *bool)

SetDisabled adds the disabled to the list presets params

func (*ListPresetsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list presets params

func (*ListPresetsParams) SetTimeout

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

SetTimeout adds the timeout to the list presets params

func (*ListPresetsParams) WithContext

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

WithContext adds the context to the list presets params

func (*ListPresetsParams) WithDefaults

func (o *ListPresetsParams) WithDefaults() *ListPresetsParams

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

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

func (*ListPresetsParams) WithDisabled

func (o *ListPresetsParams) WithDisabled(disabled *bool) *ListPresetsParams

WithDisabled adds the disabled to the list presets params

func (*ListPresetsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list presets params

func (*ListPresetsParams) WithTimeout

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

WithTimeout adds the timeout to the list presets params

func (*ListPresetsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListPresetsReader

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

ListPresetsReader is a Reader for the ListPresets structure.

func (*ListPresetsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListPresetsUnauthorized

type ListPresetsUnauthorized struct {
}

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

EmptyResponse is a empty response

func NewListPresetsUnauthorized

func NewListPresetsUnauthorized() *ListPresetsUnauthorized

NewListPresetsUnauthorized creates a ListPresetsUnauthorized with default headers values

func (*ListPresetsUnauthorized) Error

func (o *ListPresetsUnauthorized) Error() string

func (*ListPresetsUnauthorized) IsClientError

func (o *ListPresetsUnauthorized) IsClientError() bool

IsClientError returns true when this list presets unauthorized response has a 4xx status code

func (*ListPresetsUnauthorized) IsCode

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

IsCode returns true when this list presets unauthorized response a status code equal to that given

func (*ListPresetsUnauthorized) IsRedirect

func (o *ListPresetsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list presets unauthorized response has a 3xx status code

func (*ListPresetsUnauthorized) IsServerError

func (o *ListPresetsUnauthorized) IsServerError() bool

IsServerError returns true when this list presets unauthorized response has a 5xx status code

func (*ListPresetsUnauthorized) IsSuccess

func (o *ListPresetsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list presets unauthorized response has a 2xx status code

func (*ListPresetsUnauthorized) String

func (o *ListPresetsUnauthorized) String() string

type ListProjectPresetsDefault

type ListProjectPresetsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

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

errorResponse

func NewListProjectPresetsDefault

func NewListProjectPresetsDefault(code int) *ListProjectPresetsDefault

NewListProjectPresetsDefault creates a ListProjectPresetsDefault with default headers values

func (*ListProjectPresetsDefault) Code

func (o *ListProjectPresetsDefault) Code() int

Code gets the status code for the list project presets default response

func (*ListProjectPresetsDefault) Error

func (o *ListProjectPresetsDefault) Error() string

func (*ListProjectPresetsDefault) GetPayload

func (*ListProjectPresetsDefault) IsClientError

func (o *ListProjectPresetsDefault) IsClientError() bool

IsClientError returns true when this list project presets default response has a 4xx status code

func (*ListProjectPresetsDefault) IsCode

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

IsCode returns true when this list project presets default response a status code equal to that given

func (*ListProjectPresetsDefault) IsRedirect

func (o *ListProjectPresetsDefault) IsRedirect() bool

IsRedirect returns true when this list project presets default response has a 3xx status code

func (*ListProjectPresetsDefault) IsServerError

func (o *ListProjectPresetsDefault) IsServerError() bool

IsServerError returns true when this list project presets default response has a 5xx status code

func (*ListProjectPresetsDefault) IsSuccess

func (o *ListProjectPresetsDefault) IsSuccess() bool

IsSuccess returns true when this list project presets default response has a 2xx status code

func (*ListProjectPresetsDefault) String

func (o *ListProjectPresetsDefault) String() string

type ListProjectPresetsForbidden

type ListProjectPresetsForbidden struct {
}

ListProjectPresetsForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewListProjectPresetsForbidden

func NewListProjectPresetsForbidden() *ListProjectPresetsForbidden

NewListProjectPresetsForbidden creates a ListProjectPresetsForbidden with default headers values

func (*ListProjectPresetsForbidden) Error

func (*ListProjectPresetsForbidden) IsClientError

func (o *ListProjectPresetsForbidden) IsClientError() bool

IsClientError returns true when this list project presets forbidden response has a 4xx status code

func (*ListProjectPresetsForbidden) IsCode

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

IsCode returns true when this list project presets forbidden response a status code equal to that given

func (*ListProjectPresetsForbidden) IsRedirect

func (o *ListProjectPresetsForbidden) IsRedirect() bool

IsRedirect returns true when this list project presets forbidden response has a 3xx status code

func (*ListProjectPresetsForbidden) IsServerError

func (o *ListProjectPresetsForbidden) IsServerError() bool

IsServerError returns true when this list project presets forbidden response has a 5xx status code

func (*ListProjectPresetsForbidden) IsSuccess

func (o *ListProjectPresetsForbidden) IsSuccess() bool

IsSuccess returns true when this list project presets forbidden response has a 2xx status code

func (*ListProjectPresetsForbidden) String

func (o *ListProjectPresetsForbidden) String() string

type ListProjectPresetsOK

type ListProjectPresetsOK struct {
	Payload *models.PresetList
}

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

PresetList

func NewListProjectPresetsOK

func NewListProjectPresetsOK() *ListProjectPresetsOK

NewListProjectPresetsOK creates a ListProjectPresetsOK with default headers values

func (*ListProjectPresetsOK) Error

func (o *ListProjectPresetsOK) Error() string

func (*ListProjectPresetsOK) GetPayload

func (o *ListProjectPresetsOK) GetPayload() *models.PresetList

func (*ListProjectPresetsOK) IsClientError

func (o *ListProjectPresetsOK) IsClientError() bool

IsClientError returns true when this list project presets o k response has a 4xx status code

func (*ListProjectPresetsOK) IsCode

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

IsCode returns true when this list project presets o k response a status code equal to that given

func (*ListProjectPresetsOK) IsRedirect

func (o *ListProjectPresetsOK) IsRedirect() bool

IsRedirect returns true when this list project presets o k response has a 3xx status code

func (*ListProjectPresetsOK) IsServerError

func (o *ListProjectPresetsOK) IsServerError() bool

IsServerError returns true when this list project presets o k response has a 5xx status code

func (*ListProjectPresetsOK) IsSuccess

func (o *ListProjectPresetsOK) IsSuccess() bool

IsSuccess returns true when this list project presets o k response has a 2xx status code

func (*ListProjectPresetsOK) String

func (o *ListProjectPresetsOK) String() string

type ListProjectPresetsParams

type ListProjectPresetsParams struct {

	// Disabled.
	Disabled *bool

	// ProjectID.
	ProjectID string

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

ListProjectPresetsParams contains all the parameters to send to the API endpoint

for the list project presets operation.

Typically these are written to a http.Request.

func NewListProjectPresetsParams

func NewListProjectPresetsParams() *ListProjectPresetsParams

NewListProjectPresetsParams creates a new ListProjectPresetsParams 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 NewListProjectPresetsParamsWithContext

func NewListProjectPresetsParamsWithContext(ctx context.Context) *ListProjectPresetsParams

NewListProjectPresetsParamsWithContext creates a new ListProjectPresetsParams object with the ability to set a context for a request.

func NewListProjectPresetsParamsWithHTTPClient

func NewListProjectPresetsParamsWithHTTPClient(client *http.Client) *ListProjectPresetsParams

NewListProjectPresetsParamsWithHTTPClient creates a new ListProjectPresetsParams object with the ability to set a custom HTTPClient for a request.

func NewListProjectPresetsParamsWithTimeout

func NewListProjectPresetsParamsWithTimeout(timeout time.Duration) *ListProjectPresetsParams

NewListProjectPresetsParamsWithTimeout creates a new ListProjectPresetsParams object with the ability to set a timeout on a request.

func (*ListProjectPresetsParams) SetContext

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

SetContext adds the context to the list project presets params

func (*ListProjectPresetsParams) SetDefaults

func (o *ListProjectPresetsParams) SetDefaults()

SetDefaults hydrates default values in the list project presets params (not the query body).

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

func (*ListProjectPresetsParams) SetDisabled

func (o *ListProjectPresetsParams) SetDisabled(disabled *bool)

SetDisabled adds the disabled to the list project presets params

func (*ListProjectPresetsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list project presets params

func (*ListProjectPresetsParams) SetProjectID

func (o *ListProjectPresetsParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list project presets params

func (*ListProjectPresetsParams) SetTimeout

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

SetTimeout adds the timeout to the list project presets params

func (*ListProjectPresetsParams) WithContext

WithContext adds the context to the list project presets params

func (*ListProjectPresetsParams) WithDefaults

WithDefaults hydrates default values in the list project presets params (not the query body).

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

func (*ListProjectPresetsParams) WithDisabled

func (o *ListProjectPresetsParams) WithDisabled(disabled *bool) *ListProjectPresetsParams

WithDisabled adds the disabled to the list project presets params

func (*ListProjectPresetsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list project presets params

func (*ListProjectPresetsParams) WithProjectID

func (o *ListProjectPresetsParams) WithProjectID(projectID string) *ListProjectPresetsParams

WithProjectID adds the projectID to the list project presets params

func (*ListProjectPresetsParams) WithTimeout

WithTimeout adds the timeout to the list project presets params

func (*ListProjectPresetsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListProjectPresetsReader

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

ListProjectPresetsReader is a Reader for the ListProjectPresets structure.

func (*ListProjectPresetsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListProjectPresetsUnauthorized

type ListProjectPresetsUnauthorized struct {
}

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

EmptyResponse is a empty response

func NewListProjectPresetsUnauthorized

func NewListProjectPresetsUnauthorized() *ListProjectPresetsUnauthorized

NewListProjectPresetsUnauthorized creates a ListProjectPresetsUnauthorized with default headers values

func (*ListProjectPresetsUnauthorized) Error

func (*ListProjectPresetsUnauthorized) IsClientError

func (o *ListProjectPresetsUnauthorized) IsClientError() bool

IsClientError returns true when this list project presets unauthorized response has a 4xx status code

func (*ListProjectPresetsUnauthorized) IsCode

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

IsCode returns true when this list project presets unauthorized response a status code equal to that given

func (*ListProjectPresetsUnauthorized) IsRedirect

func (o *ListProjectPresetsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list project presets unauthorized response has a 3xx status code

func (*ListProjectPresetsUnauthorized) IsServerError

func (o *ListProjectPresetsUnauthorized) IsServerError() bool

IsServerError returns true when this list project presets unauthorized response has a 5xx status code

func (*ListProjectPresetsUnauthorized) IsSuccess

func (o *ListProjectPresetsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list project presets unauthorized response has a 2xx status code

func (*ListProjectPresetsUnauthorized) String

type ListProjectProviderPresetsDefault

type ListProjectProviderPresetsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

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

errorResponse

func NewListProjectProviderPresetsDefault

func NewListProjectProviderPresetsDefault(code int) *ListProjectProviderPresetsDefault

NewListProjectProviderPresetsDefault creates a ListProjectProviderPresetsDefault with default headers values

func (*ListProjectProviderPresetsDefault) Code

Code gets the status code for the list project provider presets default response

func (*ListProjectProviderPresetsDefault) Error

func (*ListProjectProviderPresetsDefault) GetPayload

func (*ListProjectProviderPresetsDefault) IsClientError

func (o *ListProjectProviderPresetsDefault) IsClientError() bool

IsClientError returns true when this list project provider presets default response has a 4xx status code

func (*ListProjectProviderPresetsDefault) IsCode

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

IsCode returns true when this list project provider presets default response a status code equal to that given

func (*ListProjectProviderPresetsDefault) IsRedirect

func (o *ListProjectProviderPresetsDefault) IsRedirect() bool

IsRedirect returns true when this list project provider presets default response has a 3xx status code

func (*ListProjectProviderPresetsDefault) IsServerError

func (o *ListProjectProviderPresetsDefault) IsServerError() bool

IsServerError returns true when this list project provider presets default response has a 5xx status code

func (*ListProjectProviderPresetsDefault) IsSuccess

func (o *ListProjectProviderPresetsDefault) IsSuccess() bool

IsSuccess returns true when this list project provider presets default response has a 2xx status code

func (*ListProjectProviderPresetsDefault) String

type ListProjectProviderPresetsForbidden

type ListProjectProviderPresetsForbidden struct {
}

ListProjectProviderPresetsForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewListProjectProviderPresetsForbidden

func NewListProjectProviderPresetsForbidden() *ListProjectProviderPresetsForbidden

NewListProjectProviderPresetsForbidden creates a ListProjectProviderPresetsForbidden with default headers values

func (*ListProjectProviderPresetsForbidden) Error

func (*ListProjectProviderPresetsForbidden) IsClientError

func (o *ListProjectProviderPresetsForbidden) IsClientError() bool

IsClientError returns true when this list project provider presets forbidden response has a 4xx status code

func (*ListProjectProviderPresetsForbidden) IsCode

IsCode returns true when this list project provider presets forbidden response a status code equal to that given

func (*ListProjectProviderPresetsForbidden) IsRedirect

func (o *ListProjectProviderPresetsForbidden) IsRedirect() bool

IsRedirect returns true when this list project provider presets forbidden response has a 3xx status code

func (*ListProjectProviderPresetsForbidden) IsServerError

func (o *ListProjectProviderPresetsForbidden) IsServerError() bool

IsServerError returns true when this list project provider presets forbidden response has a 5xx status code

func (*ListProjectProviderPresetsForbidden) IsSuccess

IsSuccess returns true when this list project provider presets forbidden response has a 2xx status code

func (*ListProjectProviderPresetsForbidden) String

type ListProjectProviderPresetsOK

type ListProjectProviderPresetsOK struct {
	Payload *models.PresetList
}

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

PresetList

func NewListProjectProviderPresetsOK

func NewListProjectProviderPresetsOK() *ListProjectProviderPresetsOK

NewListProjectProviderPresetsOK creates a ListProjectProviderPresetsOK with default headers values

func (*ListProjectProviderPresetsOK) Error

func (*ListProjectProviderPresetsOK) GetPayload

func (*ListProjectProviderPresetsOK) IsClientError

func (o *ListProjectProviderPresetsOK) IsClientError() bool

IsClientError returns true when this list project provider presets o k response has a 4xx status code

func (*ListProjectProviderPresetsOK) IsCode

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

IsCode returns true when this list project provider presets o k response a status code equal to that given

func (*ListProjectProviderPresetsOK) IsRedirect

func (o *ListProjectProviderPresetsOK) IsRedirect() bool

IsRedirect returns true when this list project provider presets o k response has a 3xx status code

func (*ListProjectProviderPresetsOK) IsServerError

func (o *ListProjectProviderPresetsOK) IsServerError() bool

IsServerError returns true when this list project provider presets o k response has a 5xx status code

func (*ListProjectProviderPresetsOK) IsSuccess

func (o *ListProjectProviderPresetsOK) IsSuccess() bool

IsSuccess returns true when this list project provider presets o k response has a 2xx status code

func (*ListProjectProviderPresetsOK) String

type ListProjectProviderPresetsParams

type ListProjectProviderPresetsParams struct {

	// Datacenter.
	Datacenter *string

	// Disabled.
	Disabled *bool

	// ProjectID.
	ProjectID string

	// ProviderName.
	ProviderName string

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

ListProjectProviderPresetsParams contains all the parameters to send to the API endpoint

for the list project provider presets operation.

Typically these are written to a http.Request.

func NewListProjectProviderPresetsParams

func NewListProjectProviderPresetsParams() *ListProjectProviderPresetsParams

NewListProjectProviderPresetsParams creates a new ListProjectProviderPresetsParams 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 NewListProjectProviderPresetsParamsWithContext

func NewListProjectProviderPresetsParamsWithContext(ctx context.Context) *ListProjectProviderPresetsParams

NewListProjectProviderPresetsParamsWithContext creates a new ListProjectProviderPresetsParams object with the ability to set a context for a request.

func NewListProjectProviderPresetsParamsWithHTTPClient

func NewListProjectProviderPresetsParamsWithHTTPClient(client *http.Client) *ListProjectProviderPresetsParams

NewListProjectProviderPresetsParamsWithHTTPClient creates a new ListProjectProviderPresetsParams object with the ability to set a custom HTTPClient for a request.

func NewListProjectProviderPresetsParamsWithTimeout

func NewListProjectProviderPresetsParamsWithTimeout(timeout time.Duration) *ListProjectProviderPresetsParams

NewListProjectProviderPresetsParamsWithTimeout creates a new ListProjectProviderPresetsParams object with the ability to set a timeout on a request.

func (*ListProjectProviderPresetsParams) SetContext

SetContext adds the context to the list project provider presets params

func (*ListProjectProviderPresetsParams) SetDatacenter

func (o *ListProjectProviderPresetsParams) SetDatacenter(datacenter *string)

SetDatacenter adds the datacenter to the list project provider presets params

func (*ListProjectProviderPresetsParams) SetDefaults

func (o *ListProjectProviderPresetsParams) SetDefaults()

SetDefaults hydrates default values in the list project provider presets params (not the query body).

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

func (*ListProjectProviderPresetsParams) SetDisabled

func (o *ListProjectProviderPresetsParams) SetDisabled(disabled *bool)

SetDisabled adds the disabled to the list project provider presets params

func (*ListProjectProviderPresetsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list project provider presets params

func (*ListProjectProviderPresetsParams) SetProjectID

func (o *ListProjectProviderPresetsParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list project provider presets params

func (*ListProjectProviderPresetsParams) SetProviderName

func (o *ListProjectProviderPresetsParams) SetProviderName(providerName string)

SetProviderName adds the providerName to the list project provider presets params

func (*ListProjectProviderPresetsParams) SetTimeout

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

SetTimeout adds the timeout to the list project provider presets params

func (*ListProjectProviderPresetsParams) WithContext

WithContext adds the context to the list project provider presets params

func (*ListProjectProviderPresetsParams) WithDatacenter

WithDatacenter adds the datacenter to the list project provider presets params

func (*ListProjectProviderPresetsParams) WithDefaults

WithDefaults hydrates default values in the list project provider presets params (not the query body).

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

func (*ListProjectProviderPresetsParams) WithDisabled

WithDisabled adds the disabled to the list project provider presets params

func (*ListProjectProviderPresetsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list project provider presets params

func (*ListProjectProviderPresetsParams) WithProjectID

WithProjectID adds the projectID to the list project provider presets params

func (*ListProjectProviderPresetsParams) WithProviderName

WithProviderName adds the providerName to the list project provider presets params

func (*ListProjectProviderPresetsParams) WithTimeout

WithTimeout adds the timeout to the list project provider presets params

func (*ListProjectProviderPresetsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListProjectProviderPresetsReader

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

ListProjectProviderPresetsReader is a Reader for the ListProjectProviderPresets structure.

func (*ListProjectProviderPresetsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListProjectProviderPresetsUnauthorized

type ListProjectProviderPresetsUnauthorized struct {
}

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

EmptyResponse is a empty response

func NewListProjectProviderPresetsUnauthorized

func NewListProjectProviderPresetsUnauthorized() *ListProjectProviderPresetsUnauthorized

NewListProjectProviderPresetsUnauthorized creates a ListProjectProviderPresetsUnauthorized with default headers values

func (*ListProjectProviderPresetsUnauthorized) Error

func (*ListProjectProviderPresetsUnauthorized) IsClientError

func (o *ListProjectProviderPresetsUnauthorized) IsClientError() bool

IsClientError returns true when this list project provider presets unauthorized response has a 4xx status code

func (*ListProjectProviderPresetsUnauthorized) IsCode

IsCode returns true when this list project provider presets unauthorized response a status code equal to that given

func (*ListProjectProviderPresetsUnauthorized) IsRedirect

IsRedirect returns true when this list project provider presets unauthorized response has a 3xx status code

func (*ListProjectProviderPresetsUnauthorized) IsServerError

func (o *ListProjectProviderPresetsUnauthorized) IsServerError() bool

IsServerError returns true when this list project provider presets unauthorized response has a 5xx status code

func (*ListProjectProviderPresetsUnauthorized) IsSuccess

IsSuccess returns true when this list project provider presets unauthorized response has a 2xx status code

func (*ListProjectProviderPresetsUnauthorized) String

type ListProviderPresetsDefault

type ListProviderPresetsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

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

errorResponse

func NewListProviderPresetsDefault

func NewListProviderPresetsDefault(code int) *ListProviderPresetsDefault

NewListProviderPresetsDefault creates a ListProviderPresetsDefault with default headers values

func (*ListProviderPresetsDefault) Code

func (o *ListProviderPresetsDefault) Code() int

Code gets the status code for the list provider presets default response

func (*ListProviderPresetsDefault) Error

func (*ListProviderPresetsDefault) GetPayload

func (*ListProviderPresetsDefault) IsClientError

func (o *ListProviderPresetsDefault) IsClientError() bool

IsClientError returns true when this list provider presets default response has a 4xx status code

func (*ListProviderPresetsDefault) IsCode

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

IsCode returns true when this list provider presets default response a status code equal to that given

func (*ListProviderPresetsDefault) IsRedirect

func (o *ListProviderPresetsDefault) IsRedirect() bool

IsRedirect returns true when this list provider presets default response has a 3xx status code

func (*ListProviderPresetsDefault) IsServerError

func (o *ListProviderPresetsDefault) IsServerError() bool

IsServerError returns true when this list provider presets default response has a 5xx status code

func (*ListProviderPresetsDefault) IsSuccess

func (o *ListProviderPresetsDefault) IsSuccess() bool

IsSuccess returns true when this list provider presets default response has a 2xx status code

func (*ListProviderPresetsDefault) String

func (o *ListProviderPresetsDefault) String() string

type ListProviderPresetsForbidden

type ListProviderPresetsForbidden struct {
}

ListProviderPresetsForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewListProviderPresetsForbidden

func NewListProviderPresetsForbidden() *ListProviderPresetsForbidden

NewListProviderPresetsForbidden creates a ListProviderPresetsForbidden with default headers values

func (*ListProviderPresetsForbidden) Error

func (*ListProviderPresetsForbidden) IsClientError

func (o *ListProviderPresetsForbidden) IsClientError() bool

IsClientError returns true when this list provider presets forbidden response has a 4xx status code

func (*ListProviderPresetsForbidden) IsCode

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

IsCode returns true when this list provider presets forbidden response a status code equal to that given

func (*ListProviderPresetsForbidden) IsRedirect

func (o *ListProviderPresetsForbidden) IsRedirect() bool

IsRedirect returns true when this list provider presets forbidden response has a 3xx status code

func (*ListProviderPresetsForbidden) IsServerError

func (o *ListProviderPresetsForbidden) IsServerError() bool

IsServerError returns true when this list provider presets forbidden response has a 5xx status code

func (*ListProviderPresetsForbidden) IsSuccess

func (o *ListProviderPresetsForbidden) IsSuccess() bool

IsSuccess returns true when this list provider presets forbidden response has a 2xx status code

func (*ListProviderPresetsForbidden) String

type ListProviderPresetsOK

type ListProviderPresetsOK struct {
	Payload *models.PresetList
}

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

PresetList

func NewListProviderPresetsOK

func NewListProviderPresetsOK() *ListProviderPresetsOK

NewListProviderPresetsOK creates a ListProviderPresetsOK with default headers values

func (*ListProviderPresetsOK) Error

func (o *ListProviderPresetsOK) Error() string

func (*ListProviderPresetsOK) GetPayload

func (o *ListProviderPresetsOK) GetPayload() *models.PresetList

func (*ListProviderPresetsOK) IsClientError

func (o *ListProviderPresetsOK) IsClientError() bool

IsClientError returns true when this list provider presets o k response has a 4xx status code

func (*ListProviderPresetsOK) IsCode

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

IsCode returns true when this list provider presets o k response a status code equal to that given

func (*ListProviderPresetsOK) IsRedirect

func (o *ListProviderPresetsOK) IsRedirect() bool

IsRedirect returns true when this list provider presets o k response has a 3xx status code

func (*ListProviderPresetsOK) IsServerError

func (o *ListProviderPresetsOK) IsServerError() bool

IsServerError returns true when this list provider presets o k response has a 5xx status code

func (*ListProviderPresetsOK) IsSuccess

func (o *ListProviderPresetsOK) IsSuccess() bool

IsSuccess returns true when this list provider presets o k response has a 2xx status code

func (*ListProviderPresetsOK) String

func (o *ListProviderPresetsOK) String() string

type ListProviderPresetsParams

type ListProviderPresetsParams struct {

	// Datacenter.
	Datacenter *string

	// Disabled.
	Disabled *bool

	// ProviderName.
	ProviderName string

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

ListProviderPresetsParams contains all the parameters to send to the API endpoint

for the list provider presets operation.

Typically these are written to a http.Request.

func NewListProviderPresetsParams

func NewListProviderPresetsParams() *ListProviderPresetsParams

NewListProviderPresetsParams creates a new ListProviderPresetsParams 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 NewListProviderPresetsParamsWithContext

func NewListProviderPresetsParamsWithContext(ctx context.Context) *ListProviderPresetsParams

NewListProviderPresetsParamsWithContext creates a new ListProviderPresetsParams object with the ability to set a context for a request.

func NewListProviderPresetsParamsWithHTTPClient

func NewListProviderPresetsParamsWithHTTPClient(client *http.Client) *ListProviderPresetsParams

NewListProviderPresetsParamsWithHTTPClient creates a new ListProviderPresetsParams object with the ability to set a custom HTTPClient for a request.

func NewListProviderPresetsParamsWithTimeout

func NewListProviderPresetsParamsWithTimeout(timeout time.Duration) *ListProviderPresetsParams

NewListProviderPresetsParamsWithTimeout creates a new ListProviderPresetsParams object with the ability to set a timeout on a request.

func (*ListProviderPresetsParams) SetContext

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

SetContext adds the context to the list provider presets params

func (*ListProviderPresetsParams) SetDatacenter

func (o *ListProviderPresetsParams) SetDatacenter(datacenter *string)

SetDatacenter adds the datacenter to the list provider presets params

func (*ListProviderPresetsParams) SetDefaults

func (o *ListProviderPresetsParams) SetDefaults()

SetDefaults hydrates default values in the list provider presets params (not the query body).

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

func (*ListProviderPresetsParams) SetDisabled

func (o *ListProviderPresetsParams) SetDisabled(disabled *bool)

SetDisabled adds the disabled to the list provider presets params

func (*ListProviderPresetsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list provider presets params

func (*ListProviderPresetsParams) SetProviderName

func (o *ListProviderPresetsParams) SetProviderName(providerName string)

SetProviderName adds the providerName to the list provider presets params

func (*ListProviderPresetsParams) SetTimeout

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

SetTimeout adds the timeout to the list provider presets params

func (*ListProviderPresetsParams) WithContext

WithContext adds the context to the list provider presets params

func (*ListProviderPresetsParams) WithDatacenter

func (o *ListProviderPresetsParams) WithDatacenter(datacenter *string) *ListProviderPresetsParams

WithDatacenter adds the datacenter to the list provider presets params

func (*ListProviderPresetsParams) WithDefaults

WithDefaults hydrates default values in the list provider presets params (not the query body).

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

func (*ListProviderPresetsParams) WithDisabled

func (o *ListProviderPresetsParams) WithDisabled(disabled *bool) *ListProviderPresetsParams

WithDisabled adds the disabled to the list provider presets params

func (*ListProviderPresetsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list provider presets params

func (*ListProviderPresetsParams) WithProviderName

func (o *ListProviderPresetsParams) WithProviderName(providerName string) *ListProviderPresetsParams

WithProviderName adds the providerName to the list provider presets params

func (*ListProviderPresetsParams) WithTimeout

WithTimeout adds the timeout to the list provider presets params

func (*ListProviderPresetsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListProviderPresetsReader

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

ListProviderPresetsReader is a Reader for the ListProviderPresets structure.

func (*ListProviderPresetsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListProviderPresetsUnauthorized

type ListProviderPresetsUnauthorized struct {
}

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

EmptyResponse is a empty response

func NewListProviderPresetsUnauthorized

func NewListProviderPresetsUnauthorized() *ListProviderPresetsUnauthorized

NewListProviderPresetsUnauthorized creates a ListProviderPresetsUnauthorized with default headers values

func (*ListProviderPresetsUnauthorized) Error

func (*ListProviderPresetsUnauthorized) IsClientError

func (o *ListProviderPresetsUnauthorized) IsClientError() bool

IsClientError returns true when this list provider presets unauthorized response has a 4xx status code

func (*ListProviderPresetsUnauthorized) IsCode

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

IsCode returns true when this list provider presets unauthorized response a status code equal to that given

func (*ListProviderPresetsUnauthorized) IsRedirect

func (o *ListProviderPresetsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list provider presets unauthorized response has a 3xx status code

func (*ListProviderPresetsUnauthorized) IsServerError

func (o *ListProviderPresetsUnauthorized) IsServerError() bool

IsServerError returns true when this list provider presets unauthorized response has a 5xx status code

func (*ListProviderPresetsUnauthorized) IsSuccess

func (o *ListProviderPresetsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list provider presets unauthorized response has a 2xx status code

func (*ListProviderPresetsUnauthorized) String

type UpdatePresetDefault

type UpdatePresetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

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

errorResponse

func NewUpdatePresetDefault

func NewUpdatePresetDefault(code int) *UpdatePresetDefault

NewUpdatePresetDefault creates a UpdatePresetDefault with default headers values

func (*UpdatePresetDefault) Code

func (o *UpdatePresetDefault) Code() int

Code gets the status code for the update preset default response

func (*UpdatePresetDefault) Error

func (o *UpdatePresetDefault) Error() string

func (*UpdatePresetDefault) GetPayload

func (o *UpdatePresetDefault) GetPayload() *models.ErrorResponse

func (*UpdatePresetDefault) IsClientError

func (o *UpdatePresetDefault) IsClientError() bool

IsClientError returns true when this update preset default response has a 4xx status code

func (*UpdatePresetDefault) IsCode

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

IsCode returns true when this update preset default response a status code equal to that given

func (*UpdatePresetDefault) IsRedirect

func (o *UpdatePresetDefault) IsRedirect() bool

IsRedirect returns true when this update preset default response has a 3xx status code

func (*UpdatePresetDefault) IsServerError

func (o *UpdatePresetDefault) IsServerError() bool

IsServerError returns true when this update preset default response has a 5xx status code

func (*UpdatePresetDefault) IsSuccess

func (o *UpdatePresetDefault) IsSuccess() bool

IsSuccess returns true when this update preset default response has a 2xx status code

func (*UpdatePresetDefault) String

func (o *UpdatePresetDefault) String() string

type UpdatePresetForbidden

type UpdatePresetForbidden struct {
}

UpdatePresetForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewUpdatePresetForbidden

func NewUpdatePresetForbidden() *UpdatePresetForbidden

NewUpdatePresetForbidden creates a UpdatePresetForbidden with default headers values

func (*UpdatePresetForbidden) Error

func (o *UpdatePresetForbidden) Error() string

func (*UpdatePresetForbidden) IsClientError

func (o *UpdatePresetForbidden) IsClientError() bool

IsClientError returns true when this update preset forbidden response has a 4xx status code

func (*UpdatePresetForbidden) IsCode

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

IsCode returns true when this update preset forbidden response a status code equal to that given

func (*UpdatePresetForbidden) IsRedirect

func (o *UpdatePresetForbidden) IsRedirect() bool

IsRedirect returns true when this update preset forbidden response has a 3xx status code

func (*UpdatePresetForbidden) IsServerError

func (o *UpdatePresetForbidden) IsServerError() bool

IsServerError returns true when this update preset forbidden response has a 5xx status code

func (*UpdatePresetForbidden) IsSuccess

func (o *UpdatePresetForbidden) IsSuccess() bool

IsSuccess returns true when this update preset forbidden response has a 2xx status code

func (*UpdatePresetForbidden) String

func (o *UpdatePresetForbidden) String() string

type UpdatePresetOK

type UpdatePresetOK struct {
	Payload *models.Preset
}

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

Preset

func NewUpdatePresetOK

func NewUpdatePresetOK() *UpdatePresetOK

NewUpdatePresetOK creates a UpdatePresetOK with default headers values

func (*UpdatePresetOK) Error

func (o *UpdatePresetOK) Error() string

func (*UpdatePresetOK) GetPayload

func (o *UpdatePresetOK) GetPayload() *models.Preset

func (*UpdatePresetOK) IsClientError

func (o *UpdatePresetOK) IsClientError() bool

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

func (*UpdatePresetOK) IsCode

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

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

func (*UpdatePresetOK) IsRedirect

func (o *UpdatePresetOK) IsRedirect() bool

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

func (*UpdatePresetOK) IsServerError

func (o *UpdatePresetOK) IsServerError() bool

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

func (*UpdatePresetOK) IsSuccess

func (o *UpdatePresetOK) IsSuccess() bool

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

func (*UpdatePresetOK) String

func (o *UpdatePresetOK) String() string

type UpdatePresetParams

type UpdatePresetParams struct {

	// Body.
	Body *models.PresetBody

	// ProviderName.
	ProviderName string

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

UpdatePresetParams contains all the parameters to send to the API endpoint

for the update preset operation.

Typically these are written to a http.Request.

func NewUpdatePresetParams

func NewUpdatePresetParams() *UpdatePresetParams

NewUpdatePresetParams creates a new UpdatePresetParams 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 NewUpdatePresetParamsWithContext

func NewUpdatePresetParamsWithContext(ctx context.Context) *UpdatePresetParams

NewUpdatePresetParamsWithContext creates a new UpdatePresetParams object with the ability to set a context for a request.

func NewUpdatePresetParamsWithHTTPClient

func NewUpdatePresetParamsWithHTTPClient(client *http.Client) *UpdatePresetParams

NewUpdatePresetParamsWithHTTPClient creates a new UpdatePresetParams object with the ability to set a custom HTTPClient for a request.

func NewUpdatePresetParamsWithTimeout

func NewUpdatePresetParamsWithTimeout(timeout time.Duration) *UpdatePresetParams

NewUpdatePresetParamsWithTimeout creates a new UpdatePresetParams object with the ability to set a timeout on a request.

func (*UpdatePresetParams) SetBody

func (o *UpdatePresetParams) SetBody(body *models.PresetBody)

SetBody adds the body to the update preset params

func (*UpdatePresetParams) SetContext

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

SetContext adds the context to the update preset params

func (*UpdatePresetParams) SetDefaults

func (o *UpdatePresetParams) SetDefaults()

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

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

func (*UpdatePresetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update preset params

func (*UpdatePresetParams) SetProviderName

func (o *UpdatePresetParams) SetProviderName(providerName string)

SetProviderName adds the providerName to the update preset params

func (*UpdatePresetParams) SetTimeout

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

SetTimeout adds the timeout to the update preset params

func (*UpdatePresetParams) WithBody

WithBody adds the body to the update preset params

func (*UpdatePresetParams) WithContext

WithContext adds the context to the update preset params

func (*UpdatePresetParams) WithDefaults

func (o *UpdatePresetParams) WithDefaults() *UpdatePresetParams

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

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

func (*UpdatePresetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update preset params

func (*UpdatePresetParams) WithProviderName

func (o *UpdatePresetParams) WithProviderName(providerName string) *UpdatePresetParams

WithProviderName adds the providerName to the update preset params

func (*UpdatePresetParams) WithTimeout

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

WithTimeout adds the timeout to the update preset params

func (*UpdatePresetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdatePresetReader

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

UpdatePresetReader is a Reader for the UpdatePreset structure.

func (*UpdatePresetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdatePresetStatusBody

type UpdatePresetStatusBody struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`
}

UpdatePresetStatusBody update preset status body swagger:model UpdatePresetStatusBody

func (*UpdatePresetStatusBody) ContextValidate

func (o *UpdatePresetStatusBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update preset status body based on context it is used

func (*UpdatePresetStatusBody) MarshalBinary

func (o *UpdatePresetStatusBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdatePresetStatusBody) UnmarshalBinary

func (o *UpdatePresetStatusBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdatePresetStatusBody) Validate

func (o *UpdatePresetStatusBody) Validate(formats strfmt.Registry) error

Validate validates this update preset status body

type UpdatePresetStatusDefault

type UpdatePresetStatusDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

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

errorResponse

func NewUpdatePresetStatusDefault

func NewUpdatePresetStatusDefault(code int) *UpdatePresetStatusDefault

NewUpdatePresetStatusDefault creates a UpdatePresetStatusDefault with default headers values

func (*UpdatePresetStatusDefault) Code

func (o *UpdatePresetStatusDefault) Code() int

Code gets the status code for the update preset status default response

func (*UpdatePresetStatusDefault) Error

func (o *UpdatePresetStatusDefault) Error() string

func (*UpdatePresetStatusDefault) GetPayload

func (*UpdatePresetStatusDefault) IsClientError

func (o *UpdatePresetStatusDefault) IsClientError() bool

IsClientError returns true when this update preset status default response has a 4xx status code

func (*UpdatePresetStatusDefault) IsCode

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

IsCode returns true when this update preset status default response a status code equal to that given

func (*UpdatePresetStatusDefault) IsRedirect

func (o *UpdatePresetStatusDefault) IsRedirect() bool

IsRedirect returns true when this update preset status default response has a 3xx status code

func (*UpdatePresetStatusDefault) IsServerError

func (o *UpdatePresetStatusDefault) IsServerError() bool

IsServerError returns true when this update preset status default response has a 5xx status code

func (*UpdatePresetStatusDefault) IsSuccess

func (o *UpdatePresetStatusDefault) IsSuccess() bool

IsSuccess returns true when this update preset status default response has a 2xx status code

func (*UpdatePresetStatusDefault) String

func (o *UpdatePresetStatusDefault) String() string

type UpdatePresetStatusForbidden

type UpdatePresetStatusForbidden struct {
}

UpdatePresetStatusForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewUpdatePresetStatusForbidden

func NewUpdatePresetStatusForbidden() *UpdatePresetStatusForbidden

NewUpdatePresetStatusForbidden creates a UpdatePresetStatusForbidden with default headers values

func (*UpdatePresetStatusForbidden) Error

func (*UpdatePresetStatusForbidden) IsClientError

func (o *UpdatePresetStatusForbidden) IsClientError() bool

IsClientError returns true when this update preset status forbidden response has a 4xx status code

func (*UpdatePresetStatusForbidden) IsCode

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

IsCode returns true when this update preset status forbidden response a status code equal to that given

func (*UpdatePresetStatusForbidden) IsRedirect

func (o *UpdatePresetStatusForbidden) IsRedirect() bool

IsRedirect returns true when this update preset status forbidden response has a 3xx status code

func (*UpdatePresetStatusForbidden) IsServerError

func (o *UpdatePresetStatusForbidden) IsServerError() bool

IsServerError returns true when this update preset status forbidden response has a 5xx status code

func (*UpdatePresetStatusForbidden) IsSuccess

func (o *UpdatePresetStatusForbidden) IsSuccess() bool

IsSuccess returns true when this update preset status forbidden response has a 2xx status code

func (*UpdatePresetStatusForbidden) String

func (o *UpdatePresetStatusForbidden) String() string

type UpdatePresetStatusOK

type UpdatePresetStatusOK struct {
}

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

EmptyResponse is a empty response

func NewUpdatePresetStatusOK

func NewUpdatePresetStatusOK() *UpdatePresetStatusOK

NewUpdatePresetStatusOK creates a UpdatePresetStatusOK with default headers values

func (*UpdatePresetStatusOK) Error

func (o *UpdatePresetStatusOK) Error() string

func (*UpdatePresetStatusOK) IsClientError

func (o *UpdatePresetStatusOK) IsClientError() bool

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

func (*UpdatePresetStatusOK) IsCode

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

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

func (*UpdatePresetStatusOK) IsRedirect

func (o *UpdatePresetStatusOK) IsRedirect() bool

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

func (*UpdatePresetStatusOK) IsServerError

func (o *UpdatePresetStatusOK) IsServerError() bool

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

func (*UpdatePresetStatusOK) IsSuccess

func (o *UpdatePresetStatusOK) IsSuccess() bool

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

func (*UpdatePresetStatusOK) String

func (o *UpdatePresetStatusOK) String() string

type UpdatePresetStatusParams

type UpdatePresetStatusParams struct {

	// Body.
	Body UpdatePresetStatusBody

	// PresetName.
	PresetName string

	// Provider.
	Provider *string

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

UpdatePresetStatusParams contains all the parameters to send to the API endpoint

for the update preset status operation.

Typically these are written to a http.Request.

func NewUpdatePresetStatusParams

func NewUpdatePresetStatusParams() *UpdatePresetStatusParams

NewUpdatePresetStatusParams creates a new UpdatePresetStatusParams 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 NewUpdatePresetStatusParamsWithContext

func NewUpdatePresetStatusParamsWithContext(ctx context.Context) *UpdatePresetStatusParams

NewUpdatePresetStatusParamsWithContext creates a new UpdatePresetStatusParams object with the ability to set a context for a request.

func NewUpdatePresetStatusParamsWithHTTPClient

func NewUpdatePresetStatusParamsWithHTTPClient(client *http.Client) *UpdatePresetStatusParams

NewUpdatePresetStatusParamsWithHTTPClient creates a new UpdatePresetStatusParams object with the ability to set a custom HTTPClient for a request.

func NewUpdatePresetStatusParamsWithTimeout

func NewUpdatePresetStatusParamsWithTimeout(timeout time.Duration) *UpdatePresetStatusParams

NewUpdatePresetStatusParamsWithTimeout creates a new UpdatePresetStatusParams object with the ability to set a timeout on a request.

func (*UpdatePresetStatusParams) SetBody

SetBody adds the body to the update preset status params

func (*UpdatePresetStatusParams) SetContext

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

SetContext adds the context to the update preset status params

func (*UpdatePresetStatusParams) SetDefaults

func (o *UpdatePresetStatusParams) SetDefaults()

SetDefaults hydrates default values in the update preset status params (not the query body).

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

func (*UpdatePresetStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update preset status params

func (*UpdatePresetStatusParams) SetPresetName

func (o *UpdatePresetStatusParams) SetPresetName(presetName string)

SetPresetName adds the presetName to the update preset status params

func (*UpdatePresetStatusParams) SetProvider

func (o *UpdatePresetStatusParams) SetProvider(provider *string)

SetProvider adds the provider to the update preset status params

func (*UpdatePresetStatusParams) SetTimeout

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

SetTimeout adds the timeout to the update preset status params

func (*UpdatePresetStatusParams) WithBody

WithBody adds the body to the update preset status params

func (*UpdatePresetStatusParams) WithContext

WithContext adds the context to the update preset status params

func (*UpdatePresetStatusParams) WithDefaults

WithDefaults hydrates default values in the update preset status params (not the query body).

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

func (*UpdatePresetStatusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update preset status params

func (*UpdatePresetStatusParams) WithPresetName

func (o *UpdatePresetStatusParams) WithPresetName(presetName string) *UpdatePresetStatusParams

WithPresetName adds the presetName to the update preset status params

func (*UpdatePresetStatusParams) WithProvider

func (o *UpdatePresetStatusParams) WithProvider(provider *string) *UpdatePresetStatusParams

WithProvider adds the provider to the update preset status params

func (*UpdatePresetStatusParams) WithTimeout

WithTimeout adds the timeout to the update preset status params

func (*UpdatePresetStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdatePresetStatusReader

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

UpdatePresetStatusReader is a Reader for the UpdatePresetStatus structure.

func (*UpdatePresetStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdatePresetStatusUnauthorized

type UpdatePresetStatusUnauthorized struct {
}

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

EmptyResponse is a empty response

func NewUpdatePresetStatusUnauthorized

func NewUpdatePresetStatusUnauthorized() *UpdatePresetStatusUnauthorized

NewUpdatePresetStatusUnauthorized creates a UpdatePresetStatusUnauthorized with default headers values

func (*UpdatePresetStatusUnauthorized) Error

func (*UpdatePresetStatusUnauthorized) IsClientError

func (o *UpdatePresetStatusUnauthorized) IsClientError() bool

IsClientError returns true when this update preset status unauthorized response has a 4xx status code

func (*UpdatePresetStatusUnauthorized) IsCode

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

IsCode returns true when this update preset status unauthorized response a status code equal to that given

func (*UpdatePresetStatusUnauthorized) IsRedirect

func (o *UpdatePresetStatusUnauthorized) IsRedirect() bool

IsRedirect returns true when this update preset status unauthorized response has a 3xx status code

func (*UpdatePresetStatusUnauthorized) IsServerError

func (o *UpdatePresetStatusUnauthorized) IsServerError() bool

IsServerError returns true when this update preset status unauthorized response has a 5xx status code

func (*UpdatePresetStatusUnauthorized) IsSuccess

func (o *UpdatePresetStatusUnauthorized) IsSuccess() bool

IsSuccess returns true when this update preset status unauthorized response has a 2xx status code

func (*UpdatePresetStatusUnauthorized) String

type UpdatePresetUnauthorized

type UpdatePresetUnauthorized struct {
}

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

EmptyResponse is a empty response

func NewUpdatePresetUnauthorized

func NewUpdatePresetUnauthorized() *UpdatePresetUnauthorized

NewUpdatePresetUnauthorized creates a UpdatePresetUnauthorized with default headers values

func (*UpdatePresetUnauthorized) Error

func (o *UpdatePresetUnauthorized) Error() string

func (*UpdatePresetUnauthorized) IsClientError

func (o *UpdatePresetUnauthorized) IsClientError() bool

IsClientError returns true when this update preset unauthorized response has a 4xx status code

func (*UpdatePresetUnauthorized) IsCode

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

IsCode returns true when this update preset unauthorized response a status code equal to that given

func (*UpdatePresetUnauthorized) IsRedirect

func (o *UpdatePresetUnauthorized) IsRedirect() bool

IsRedirect returns true when this update preset unauthorized response has a 3xx status code

func (*UpdatePresetUnauthorized) IsServerError

func (o *UpdatePresetUnauthorized) IsServerError() bool

IsServerError returns true when this update preset unauthorized response has a 5xx status code

func (*UpdatePresetUnauthorized) IsSuccess

func (o *UpdatePresetUnauthorized) IsSuccess() bool

IsSuccess returns true when this update preset unauthorized response has a 2xx status code

func (*UpdatePresetUnauthorized) String

func (o *UpdatePresetUnauthorized) String() string

Jump to

Keyboard shortcuts

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