Documentation ¶
Index ¶
- type Client
- func (a *Client) CreatePreset(params *CreatePresetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreatePresetOK, error)
- func (a *Client) DeletePreset(params *DeletePresetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeletePresetOK, error)
- func (a *Client) DeletePresetProvider(params *DeletePresetProviderParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeletePresetProviderOK, error)
- func (a *Client) DeleteProviderPreset(params *DeleteProviderPresetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteProviderPresetOK, error)
- func (a *Client) GetPresetStats(params *GetPresetStatsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPresetStatsOK, error)
- func (a *Client) ListPresets(params *ListPresetsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListPresetsOK, error)
- func (a *Client) ListProjectPresets(params *ListProjectPresetsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListProjectPresetsOK, error)
- func (a *Client) ListProjectProviderPresets(params *ListProjectProviderPresetsParams, ...) (*ListProjectProviderPresetsOK, error)
- func (a *Client) ListProviderPresets(params *ListProviderPresetsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListProviderPresetsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdatePreset(params *UpdatePresetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdatePresetOK, error)
- func (a *Client) UpdatePresetStatus(params *UpdatePresetStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdatePresetStatusOK, error)
- type ClientOption
- type ClientService
- type CreatePresetDefault
- func (o *CreatePresetDefault) Code() int
- func (o *CreatePresetDefault) Error() string
- func (o *CreatePresetDefault) GetPayload() *models.ErrorResponse
- func (o *CreatePresetDefault) IsClientError() bool
- func (o *CreatePresetDefault) IsCode(code int) bool
- func (o *CreatePresetDefault) IsRedirect() bool
- func (o *CreatePresetDefault) IsServerError() bool
- func (o *CreatePresetDefault) IsSuccess() bool
- func (o *CreatePresetDefault) String() string
- type CreatePresetForbidden
- func (o *CreatePresetForbidden) Error() string
- func (o *CreatePresetForbidden) IsClientError() bool
- func (o *CreatePresetForbidden) IsCode(code int) bool
- func (o *CreatePresetForbidden) IsRedirect() bool
- func (o *CreatePresetForbidden) IsServerError() bool
- func (o *CreatePresetForbidden) IsSuccess() bool
- func (o *CreatePresetForbidden) String() string
- type CreatePresetOK
- func (o *CreatePresetOK) Error() string
- func (o *CreatePresetOK) GetPayload() *models.Preset
- func (o *CreatePresetOK) IsClientError() bool
- func (o *CreatePresetOK) IsCode(code int) bool
- func (o *CreatePresetOK) IsRedirect() bool
- func (o *CreatePresetOK) IsServerError() bool
- func (o *CreatePresetOK) IsSuccess() bool
- func (o *CreatePresetOK) String() string
- type CreatePresetParams
- func (o *CreatePresetParams) SetBody(body *models.PresetBody)
- func (o *CreatePresetParams) SetContext(ctx context.Context)
- func (o *CreatePresetParams) SetDefaults()
- func (o *CreatePresetParams) SetHTTPClient(client *http.Client)
- func (o *CreatePresetParams) SetProviderName(providerName string)
- func (o *CreatePresetParams) SetTimeout(timeout time.Duration)
- func (o *CreatePresetParams) WithBody(body *models.PresetBody) *CreatePresetParams
- func (o *CreatePresetParams) WithContext(ctx context.Context) *CreatePresetParams
- func (o *CreatePresetParams) WithDefaults() *CreatePresetParams
- func (o *CreatePresetParams) WithHTTPClient(client *http.Client) *CreatePresetParams
- func (o *CreatePresetParams) WithProviderName(providerName string) *CreatePresetParams
- func (o *CreatePresetParams) WithTimeout(timeout time.Duration) *CreatePresetParams
- func (o *CreatePresetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePresetReader
- type CreatePresetUnauthorized
- func (o *CreatePresetUnauthorized) Error() string
- func (o *CreatePresetUnauthorized) IsClientError() bool
- func (o *CreatePresetUnauthorized) IsCode(code int) bool
- func (o *CreatePresetUnauthorized) IsRedirect() bool
- func (o *CreatePresetUnauthorized) IsServerError() bool
- func (o *CreatePresetUnauthorized) IsSuccess() bool
- func (o *CreatePresetUnauthorized) String() string
- type DeletePresetDefault
- func (o *DeletePresetDefault) Code() int
- func (o *DeletePresetDefault) Error() string
- func (o *DeletePresetDefault) GetPayload() *models.ErrorResponse
- func (o *DeletePresetDefault) IsClientError() bool
- func (o *DeletePresetDefault) IsCode(code int) bool
- func (o *DeletePresetDefault) IsRedirect() bool
- func (o *DeletePresetDefault) IsServerError() bool
- func (o *DeletePresetDefault) IsSuccess() bool
- func (o *DeletePresetDefault) String() string
- type DeletePresetForbidden
- func (o *DeletePresetForbidden) Error() string
- func (o *DeletePresetForbidden) IsClientError() bool
- func (o *DeletePresetForbidden) IsCode(code int) bool
- func (o *DeletePresetForbidden) IsRedirect() bool
- func (o *DeletePresetForbidden) IsServerError() bool
- func (o *DeletePresetForbidden) IsSuccess() bool
- func (o *DeletePresetForbidden) String() string
- type DeletePresetNotFound
- func (o *DeletePresetNotFound) Error() string
- func (o *DeletePresetNotFound) IsClientError() bool
- func (o *DeletePresetNotFound) IsCode(code int) bool
- func (o *DeletePresetNotFound) IsRedirect() bool
- func (o *DeletePresetNotFound) IsServerError() bool
- func (o *DeletePresetNotFound) IsSuccess() bool
- func (o *DeletePresetNotFound) String() string
- type DeletePresetOK
- func (o *DeletePresetOK) Error() string
- func (o *DeletePresetOK) IsClientError() bool
- func (o *DeletePresetOK) IsCode(code int) bool
- func (o *DeletePresetOK) IsRedirect() bool
- func (o *DeletePresetOK) IsServerError() bool
- func (o *DeletePresetOK) IsSuccess() bool
- func (o *DeletePresetOK) String() string
- type DeletePresetParams
- func (o *DeletePresetParams) SetContext(ctx context.Context)
- func (o *DeletePresetParams) SetDefaults()
- func (o *DeletePresetParams) SetHTTPClient(client *http.Client)
- func (o *DeletePresetParams) SetPresetName(presetName string)
- func (o *DeletePresetParams) SetTimeout(timeout time.Duration)
- func (o *DeletePresetParams) WithContext(ctx context.Context) *DeletePresetParams
- func (o *DeletePresetParams) WithDefaults() *DeletePresetParams
- func (o *DeletePresetParams) WithHTTPClient(client *http.Client) *DeletePresetParams
- func (o *DeletePresetParams) WithPresetName(presetName string) *DeletePresetParams
- func (o *DeletePresetParams) WithTimeout(timeout time.Duration) *DeletePresetParams
- func (o *DeletePresetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePresetProviderDefault
- func (o *DeletePresetProviderDefault) Code() int
- func (o *DeletePresetProviderDefault) Error() string
- func (o *DeletePresetProviderDefault) GetPayload() *models.ErrorResponse
- func (o *DeletePresetProviderDefault) IsClientError() bool
- func (o *DeletePresetProviderDefault) IsCode(code int) bool
- func (o *DeletePresetProviderDefault) IsRedirect() bool
- func (o *DeletePresetProviderDefault) IsServerError() bool
- func (o *DeletePresetProviderDefault) IsSuccess() bool
- func (o *DeletePresetProviderDefault) String() string
- type DeletePresetProviderForbidden
- func (o *DeletePresetProviderForbidden) Error() string
- func (o *DeletePresetProviderForbidden) IsClientError() bool
- func (o *DeletePresetProviderForbidden) IsCode(code int) bool
- func (o *DeletePresetProviderForbidden) IsRedirect() bool
- func (o *DeletePresetProviderForbidden) IsServerError() bool
- func (o *DeletePresetProviderForbidden) IsSuccess() bool
- func (o *DeletePresetProviderForbidden) String() string
- type DeletePresetProviderNotFound
- func (o *DeletePresetProviderNotFound) Error() string
- func (o *DeletePresetProviderNotFound) IsClientError() bool
- func (o *DeletePresetProviderNotFound) IsCode(code int) bool
- func (o *DeletePresetProviderNotFound) IsRedirect() bool
- func (o *DeletePresetProviderNotFound) IsServerError() bool
- func (o *DeletePresetProviderNotFound) IsSuccess() bool
- func (o *DeletePresetProviderNotFound) String() string
- type DeletePresetProviderOK
- func (o *DeletePresetProviderOK) Error() string
- func (o *DeletePresetProviderOK) IsClientError() bool
- func (o *DeletePresetProviderOK) IsCode(code int) bool
- func (o *DeletePresetProviderOK) IsRedirect() bool
- func (o *DeletePresetProviderOK) IsServerError() bool
- func (o *DeletePresetProviderOK) IsSuccess() bool
- func (o *DeletePresetProviderOK) String() string
- type DeletePresetProviderParams
- func NewDeletePresetProviderParams() *DeletePresetProviderParams
- func NewDeletePresetProviderParamsWithContext(ctx context.Context) *DeletePresetProviderParams
- func NewDeletePresetProviderParamsWithHTTPClient(client *http.Client) *DeletePresetProviderParams
- func NewDeletePresetProviderParamsWithTimeout(timeout time.Duration) *DeletePresetProviderParams
- func (o *DeletePresetProviderParams) SetContext(ctx context.Context)
- func (o *DeletePresetProviderParams) SetDefaults()
- func (o *DeletePresetProviderParams) SetHTTPClient(client *http.Client)
- func (o *DeletePresetProviderParams) SetPresetName(presetName string)
- func (o *DeletePresetProviderParams) SetProviderName(providerName string)
- func (o *DeletePresetProviderParams) SetTimeout(timeout time.Duration)
- func (o *DeletePresetProviderParams) WithContext(ctx context.Context) *DeletePresetProviderParams
- func (o *DeletePresetProviderParams) WithDefaults() *DeletePresetProviderParams
- func (o *DeletePresetProviderParams) WithHTTPClient(client *http.Client) *DeletePresetProviderParams
- func (o *DeletePresetProviderParams) WithPresetName(presetName string) *DeletePresetProviderParams
- func (o *DeletePresetProviderParams) WithProviderName(providerName string) *DeletePresetProviderParams
- func (o *DeletePresetProviderParams) WithTimeout(timeout time.Duration) *DeletePresetProviderParams
- func (o *DeletePresetProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePresetProviderReader
- type DeletePresetProviderUnauthorized
- func (o *DeletePresetProviderUnauthorized) Error() string
- func (o *DeletePresetProviderUnauthorized) IsClientError() bool
- func (o *DeletePresetProviderUnauthorized) IsCode(code int) bool
- func (o *DeletePresetProviderUnauthorized) IsRedirect() bool
- func (o *DeletePresetProviderUnauthorized) IsServerError() bool
- func (o *DeletePresetProviderUnauthorized) IsSuccess() bool
- func (o *DeletePresetProviderUnauthorized) String() string
- type DeletePresetReader
- type DeletePresetUnauthorized
- func (o *DeletePresetUnauthorized) Error() string
- func (o *DeletePresetUnauthorized) IsClientError() bool
- func (o *DeletePresetUnauthorized) IsCode(code int) bool
- func (o *DeletePresetUnauthorized) IsRedirect() bool
- func (o *DeletePresetUnauthorized) IsServerError() bool
- func (o *DeletePresetUnauthorized) IsSuccess() bool
- func (o *DeletePresetUnauthorized) String() string
- type DeleteProviderPresetDefault
- func (o *DeleteProviderPresetDefault) Code() int
- func (o *DeleteProviderPresetDefault) Error() string
- func (o *DeleteProviderPresetDefault) GetPayload() *models.ErrorResponse
- func (o *DeleteProviderPresetDefault) IsClientError() bool
- func (o *DeleteProviderPresetDefault) IsCode(code int) bool
- func (o *DeleteProviderPresetDefault) IsRedirect() bool
- func (o *DeleteProviderPresetDefault) IsServerError() bool
- func (o *DeleteProviderPresetDefault) IsSuccess() bool
- func (o *DeleteProviderPresetDefault) String() string
- type DeleteProviderPresetForbidden
- func (o *DeleteProviderPresetForbidden) Error() string
- func (o *DeleteProviderPresetForbidden) IsClientError() bool
- func (o *DeleteProviderPresetForbidden) IsCode(code int) bool
- func (o *DeleteProviderPresetForbidden) IsRedirect() bool
- func (o *DeleteProviderPresetForbidden) IsServerError() bool
- func (o *DeleteProviderPresetForbidden) IsSuccess() bool
- func (o *DeleteProviderPresetForbidden) String() string
- type DeleteProviderPresetOK
- func (o *DeleteProviderPresetOK) Error() string
- func (o *DeleteProviderPresetOK) IsClientError() bool
- func (o *DeleteProviderPresetOK) IsCode(code int) bool
- func (o *DeleteProviderPresetOK) IsRedirect() bool
- func (o *DeleteProviderPresetOK) IsServerError() bool
- func (o *DeleteProviderPresetOK) IsSuccess() bool
- func (o *DeleteProviderPresetOK) String() string
- type DeleteProviderPresetParams
- func NewDeleteProviderPresetParams() *DeleteProviderPresetParams
- func NewDeleteProviderPresetParamsWithContext(ctx context.Context) *DeleteProviderPresetParams
- func NewDeleteProviderPresetParamsWithHTTPClient(client *http.Client) *DeleteProviderPresetParams
- func NewDeleteProviderPresetParamsWithTimeout(timeout time.Duration) *DeleteProviderPresetParams
- func (o *DeleteProviderPresetParams) SetContext(ctx context.Context)
- func (o *DeleteProviderPresetParams) SetDefaults()
- func (o *DeleteProviderPresetParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProviderPresetParams) SetPresetName(presetName string)
- func (o *DeleteProviderPresetParams) SetProviderName(providerName string)
- func (o *DeleteProviderPresetParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProviderPresetParams) WithContext(ctx context.Context) *DeleteProviderPresetParams
- func (o *DeleteProviderPresetParams) WithDefaults() *DeleteProviderPresetParams
- func (o *DeleteProviderPresetParams) WithHTTPClient(client *http.Client) *DeleteProviderPresetParams
- func (o *DeleteProviderPresetParams) WithPresetName(presetName string) *DeleteProviderPresetParams
- func (o *DeleteProviderPresetParams) WithProviderName(providerName string) *DeleteProviderPresetParams
- func (o *DeleteProviderPresetParams) WithTimeout(timeout time.Duration) *DeleteProviderPresetParams
- func (o *DeleteProviderPresetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProviderPresetReader
- type DeleteProviderPresetUnauthorized
- func (o *DeleteProviderPresetUnauthorized) Error() string
- func (o *DeleteProviderPresetUnauthorized) IsClientError() bool
- func (o *DeleteProviderPresetUnauthorized) IsCode(code int) bool
- func (o *DeleteProviderPresetUnauthorized) IsRedirect() bool
- func (o *DeleteProviderPresetUnauthorized) IsServerError() bool
- func (o *DeleteProviderPresetUnauthorized) IsSuccess() bool
- func (o *DeleteProviderPresetUnauthorized) String() string
- type GetPresetStatsDefault
- func (o *GetPresetStatsDefault) Code() int
- func (o *GetPresetStatsDefault) Error() string
- func (o *GetPresetStatsDefault) GetPayload() *models.ErrorResponse
- func (o *GetPresetStatsDefault) IsClientError() bool
- func (o *GetPresetStatsDefault) IsCode(code int) bool
- func (o *GetPresetStatsDefault) IsRedirect() bool
- func (o *GetPresetStatsDefault) IsServerError() bool
- func (o *GetPresetStatsDefault) IsSuccess() bool
- func (o *GetPresetStatsDefault) String() string
- type GetPresetStatsForbidden
- func (o *GetPresetStatsForbidden) Error() string
- func (o *GetPresetStatsForbidden) IsClientError() bool
- func (o *GetPresetStatsForbidden) IsCode(code int) bool
- func (o *GetPresetStatsForbidden) IsRedirect() bool
- func (o *GetPresetStatsForbidden) IsServerError() bool
- func (o *GetPresetStatsForbidden) IsSuccess() bool
- func (o *GetPresetStatsForbidden) String() string
- type GetPresetStatsNotFound
- func (o *GetPresetStatsNotFound) Error() string
- func (o *GetPresetStatsNotFound) IsClientError() bool
- func (o *GetPresetStatsNotFound) IsCode(code int) bool
- func (o *GetPresetStatsNotFound) IsRedirect() bool
- func (o *GetPresetStatsNotFound) IsServerError() bool
- func (o *GetPresetStatsNotFound) IsSuccess() bool
- func (o *GetPresetStatsNotFound) String() string
- type GetPresetStatsOK
- func (o *GetPresetStatsOK) Error() string
- func (o *GetPresetStatsOK) GetPayload() *models.PresetStats
- func (o *GetPresetStatsOK) IsClientError() bool
- func (o *GetPresetStatsOK) IsCode(code int) bool
- func (o *GetPresetStatsOK) IsRedirect() bool
- func (o *GetPresetStatsOK) IsServerError() bool
- func (o *GetPresetStatsOK) IsSuccess() bool
- func (o *GetPresetStatsOK) String() string
- type GetPresetStatsParams
- func NewGetPresetStatsParams() *GetPresetStatsParams
- func NewGetPresetStatsParamsWithContext(ctx context.Context) *GetPresetStatsParams
- func NewGetPresetStatsParamsWithHTTPClient(client *http.Client) *GetPresetStatsParams
- func NewGetPresetStatsParamsWithTimeout(timeout time.Duration) *GetPresetStatsParams
- func (o *GetPresetStatsParams) SetContext(ctx context.Context)
- func (o *GetPresetStatsParams) SetDefaults()
- func (o *GetPresetStatsParams) SetHTTPClient(client *http.Client)
- func (o *GetPresetStatsParams) SetPresetName(presetName string)
- func (o *GetPresetStatsParams) SetTimeout(timeout time.Duration)
- func (o *GetPresetStatsParams) WithContext(ctx context.Context) *GetPresetStatsParams
- func (o *GetPresetStatsParams) WithDefaults() *GetPresetStatsParams
- func (o *GetPresetStatsParams) WithHTTPClient(client *http.Client) *GetPresetStatsParams
- func (o *GetPresetStatsParams) WithPresetName(presetName string) *GetPresetStatsParams
- func (o *GetPresetStatsParams) WithTimeout(timeout time.Duration) *GetPresetStatsParams
- func (o *GetPresetStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPresetStatsReader
- type GetPresetStatsUnauthorized
- func (o *GetPresetStatsUnauthorized) Error() string
- func (o *GetPresetStatsUnauthorized) IsClientError() bool
- func (o *GetPresetStatsUnauthorized) IsCode(code int) bool
- func (o *GetPresetStatsUnauthorized) IsRedirect() bool
- func (o *GetPresetStatsUnauthorized) IsServerError() bool
- func (o *GetPresetStatsUnauthorized) IsSuccess() bool
- func (o *GetPresetStatsUnauthorized) String() string
- type ListPresetsDefault
- func (o *ListPresetsDefault) Code() int
- func (o *ListPresetsDefault) Error() string
- func (o *ListPresetsDefault) GetPayload() *models.ErrorResponse
- func (o *ListPresetsDefault) IsClientError() bool
- func (o *ListPresetsDefault) IsCode(code int) bool
- func (o *ListPresetsDefault) IsRedirect() bool
- func (o *ListPresetsDefault) IsServerError() bool
- func (o *ListPresetsDefault) IsSuccess() bool
- func (o *ListPresetsDefault) String() string
- type ListPresetsForbidden
- func (o *ListPresetsForbidden) Error() string
- func (o *ListPresetsForbidden) IsClientError() bool
- func (o *ListPresetsForbidden) IsCode(code int) bool
- func (o *ListPresetsForbidden) IsRedirect() bool
- func (o *ListPresetsForbidden) IsServerError() bool
- func (o *ListPresetsForbidden) IsSuccess() bool
- func (o *ListPresetsForbidden) String() string
- type ListPresetsOK
- func (o *ListPresetsOK) Error() string
- func (o *ListPresetsOK) GetPayload() *models.PresetList
- func (o *ListPresetsOK) IsClientError() bool
- func (o *ListPresetsOK) IsCode(code int) bool
- func (o *ListPresetsOK) IsRedirect() bool
- func (o *ListPresetsOK) IsServerError() bool
- func (o *ListPresetsOK) IsSuccess() bool
- func (o *ListPresetsOK) String() string
- type ListPresetsParams
- func (o *ListPresetsParams) SetContext(ctx context.Context)
- func (o *ListPresetsParams) SetDefaults()
- func (o *ListPresetsParams) SetDisabled(disabled *bool)
- func (o *ListPresetsParams) SetHTTPClient(client *http.Client)
- func (o *ListPresetsParams) SetTimeout(timeout time.Duration)
- func (o *ListPresetsParams) WithContext(ctx context.Context) *ListPresetsParams
- func (o *ListPresetsParams) WithDefaults() *ListPresetsParams
- func (o *ListPresetsParams) WithDisabled(disabled *bool) *ListPresetsParams
- func (o *ListPresetsParams) WithHTTPClient(client *http.Client) *ListPresetsParams
- func (o *ListPresetsParams) WithTimeout(timeout time.Duration) *ListPresetsParams
- func (o *ListPresetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPresetsReader
- type ListPresetsUnauthorized
- func (o *ListPresetsUnauthorized) Error() string
- func (o *ListPresetsUnauthorized) IsClientError() bool
- func (o *ListPresetsUnauthorized) IsCode(code int) bool
- func (o *ListPresetsUnauthorized) IsRedirect() bool
- func (o *ListPresetsUnauthorized) IsServerError() bool
- func (o *ListPresetsUnauthorized) IsSuccess() bool
- func (o *ListPresetsUnauthorized) String() string
- type ListProjectPresetsDefault
- func (o *ListProjectPresetsDefault) Code() int
- func (o *ListProjectPresetsDefault) Error() string
- func (o *ListProjectPresetsDefault) GetPayload() *models.ErrorResponse
- func (o *ListProjectPresetsDefault) IsClientError() bool
- func (o *ListProjectPresetsDefault) IsCode(code int) bool
- func (o *ListProjectPresetsDefault) IsRedirect() bool
- func (o *ListProjectPresetsDefault) IsServerError() bool
- func (o *ListProjectPresetsDefault) IsSuccess() bool
- func (o *ListProjectPresetsDefault) String() string
- type ListProjectPresetsForbidden
- func (o *ListProjectPresetsForbidden) Error() string
- func (o *ListProjectPresetsForbidden) IsClientError() bool
- func (o *ListProjectPresetsForbidden) IsCode(code int) bool
- func (o *ListProjectPresetsForbidden) IsRedirect() bool
- func (o *ListProjectPresetsForbidden) IsServerError() bool
- func (o *ListProjectPresetsForbidden) IsSuccess() bool
- func (o *ListProjectPresetsForbidden) String() string
- type ListProjectPresetsOK
- func (o *ListProjectPresetsOK) Error() string
- func (o *ListProjectPresetsOK) GetPayload() *models.PresetList
- func (o *ListProjectPresetsOK) IsClientError() bool
- func (o *ListProjectPresetsOK) IsCode(code int) bool
- func (o *ListProjectPresetsOK) IsRedirect() bool
- func (o *ListProjectPresetsOK) IsServerError() bool
- func (o *ListProjectPresetsOK) IsSuccess() bool
- func (o *ListProjectPresetsOK) String() string
- type ListProjectPresetsParams
- func NewListProjectPresetsParams() *ListProjectPresetsParams
- func NewListProjectPresetsParamsWithContext(ctx context.Context) *ListProjectPresetsParams
- func NewListProjectPresetsParamsWithHTTPClient(client *http.Client) *ListProjectPresetsParams
- func NewListProjectPresetsParamsWithTimeout(timeout time.Duration) *ListProjectPresetsParams
- func (o *ListProjectPresetsParams) SetContext(ctx context.Context)
- func (o *ListProjectPresetsParams) SetDefaults()
- func (o *ListProjectPresetsParams) SetDisabled(disabled *bool)
- func (o *ListProjectPresetsParams) SetHTTPClient(client *http.Client)
- func (o *ListProjectPresetsParams) SetProjectID(projectID string)
- func (o *ListProjectPresetsParams) SetTimeout(timeout time.Duration)
- func (o *ListProjectPresetsParams) WithContext(ctx context.Context) *ListProjectPresetsParams
- func (o *ListProjectPresetsParams) WithDefaults() *ListProjectPresetsParams
- func (o *ListProjectPresetsParams) WithDisabled(disabled *bool) *ListProjectPresetsParams
- func (o *ListProjectPresetsParams) WithHTTPClient(client *http.Client) *ListProjectPresetsParams
- func (o *ListProjectPresetsParams) WithProjectID(projectID string) *ListProjectPresetsParams
- func (o *ListProjectPresetsParams) WithTimeout(timeout time.Duration) *ListProjectPresetsParams
- func (o *ListProjectPresetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProjectPresetsReader
- type ListProjectPresetsUnauthorized
- func (o *ListProjectPresetsUnauthorized) Error() string
- func (o *ListProjectPresetsUnauthorized) IsClientError() bool
- func (o *ListProjectPresetsUnauthorized) IsCode(code int) bool
- func (o *ListProjectPresetsUnauthorized) IsRedirect() bool
- func (o *ListProjectPresetsUnauthorized) IsServerError() bool
- func (o *ListProjectPresetsUnauthorized) IsSuccess() bool
- func (o *ListProjectPresetsUnauthorized) String() string
- type ListProjectProviderPresetsDefault
- func (o *ListProjectProviderPresetsDefault) Code() int
- func (o *ListProjectProviderPresetsDefault) Error() string
- func (o *ListProjectProviderPresetsDefault) GetPayload() *models.ErrorResponse
- func (o *ListProjectProviderPresetsDefault) IsClientError() bool
- func (o *ListProjectProviderPresetsDefault) IsCode(code int) bool
- func (o *ListProjectProviderPresetsDefault) IsRedirect() bool
- func (o *ListProjectProviderPresetsDefault) IsServerError() bool
- func (o *ListProjectProviderPresetsDefault) IsSuccess() bool
- func (o *ListProjectProviderPresetsDefault) String() string
- type ListProjectProviderPresetsForbidden
- func (o *ListProjectProviderPresetsForbidden) Error() string
- func (o *ListProjectProviderPresetsForbidden) IsClientError() bool
- func (o *ListProjectProviderPresetsForbidden) IsCode(code int) bool
- func (o *ListProjectProviderPresetsForbidden) IsRedirect() bool
- func (o *ListProjectProviderPresetsForbidden) IsServerError() bool
- func (o *ListProjectProviderPresetsForbidden) IsSuccess() bool
- func (o *ListProjectProviderPresetsForbidden) String() string
- type ListProjectProviderPresetsOK
- func (o *ListProjectProviderPresetsOK) Error() string
- func (o *ListProjectProviderPresetsOK) GetPayload() *models.PresetList
- func (o *ListProjectProviderPresetsOK) IsClientError() bool
- func (o *ListProjectProviderPresetsOK) IsCode(code int) bool
- func (o *ListProjectProviderPresetsOK) IsRedirect() bool
- func (o *ListProjectProviderPresetsOK) IsServerError() bool
- func (o *ListProjectProviderPresetsOK) IsSuccess() bool
- func (o *ListProjectProviderPresetsOK) String() string
- type ListProjectProviderPresetsParams
- func NewListProjectProviderPresetsParams() *ListProjectProviderPresetsParams
- func NewListProjectProviderPresetsParamsWithContext(ctx context.Context) *ListProjectProviderPresetsParams
- func NewListProjectProviderPresetsParamsWithHTTPClient(client *http.Client) *ListProjectProviderPresetsParams
- func NewListProjectProviderPresetsParamsWithTimeout(timeout time.Duration) *ListProjectProviderPresetsParams
- func (o *ListProjectProviderPresetsParams) SetContext(ctx context.Context)
- func (o *ListProjectProviderPresetsParams) SetDatacenter(datacenter *string)
- func (o *ListProjectProviderPresetsParams) SetDefaults()
- func (o *ListProjectProviderPresetsParams) SetDisabled(disabled *bool)
- func (o *ListProjectProviderPresetsParams) SetHTTPClient(client *http.Client)
- func (o *ListProjectProviderPresetsParams) SetProjectID(projectID string)
- func (o *ListProjectProviderPresetsParams) SetProviderName(providerName string)
- func (o *ListProjectProviderPresetsParams) SetTimeout(timeout time.Duration)
- func (o *ListProjectProviderPresetsParams) WithContext(ctx context.Context) *ListProjectProviderPresetsParams
- func (o *ListProjectProviderPresetsParams) WithDatacenter(datacenter *string) *ListProjectProviderPresetsParams
- func (o *ListProjectProviderPresetsParams) WithDefaults() *ListProjectProviderPresetsParams
- func (o *ListProjectProviderPresetsParams) WithDisabled(disabled *bool) *ListProjectProviderPresetsParams
- func (o *ListProjectProviderPresetsParams) WithHTTPClient(client *http.Client) *ListProjectProviderPresetsParams
- func (o *ListProjectProviderPresetsParams) WithProjectID(projectID string) *ListProjectProviderPresetsParams
- func (o *ListProjectProviderPresetsParams) WithProviderName(providerName string) *ListProjectProviderPresetsParams
- func (o *ListProjectProviderPresetsParams) WithTimeout(timeout time.Duration) *ListProjectProviderPresetsParams
- func (o *ListProjectProviderPresetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProjectProviderPresetsReader
- type ListProjectProviderPresetsUnauthorized
- func (o *ListProjectProviderPresetsUnauthorized) Error() string
- func (o *ListProjectProviderPresetsUnauthorized) IsClientError() bool
- func (o *ListProjectProviderPresetsUnauthorized) IsCode(code int) bool
- func (o *ListProjectProviderPresetsUnauthorized) IsRedirect() bool
- func (o *ListProjectProviderPresetsUnauthorized) IsServerError() bool
- func (o *ListProjectProviderPresetsUnauthorized) IsSuccess() bool
- func (o *ListProjectProviderPresetsUnauthorized) String() string
- type ListProviderPresetsDefault
- func (o *ListProviderPresetsDefault) Code() int
- func (o *ListProviderPresetsDefault) Error() string
- func (o *ListProviderPresetsDefault) GetPayload() *models.ErrorResponse
- func (o *ListProviderPresetsDefault) IsClientError() bool
- func (o *ListProviderPresetsDefault) IsCode(code int) bool
- func (o *ListProviderPresetsDefault) IsRedirect() bool
- func (o *ListProviderPresetsDefault) IsServerError() bool
- func (o *ListProviderPresetsDefault) IsSuccess() bool
- func (o *ListProviderPresetsDefault) String() string
- type ListProviderPresetsForbidden
- func (o *ListProviderPresetsForbidden) Error() string
- func (o *ListProviderPresetsForbidden) IsClientError() bool
- func (o *ListProviderPresetsForbidden) IsCode(code int) bool
- func (o *ListProviderPresetsForbidden) IsRedirect() bool
- func (o *ListProviderPresetsForbidden) IsServerError() bool
- func (o *ListProviderPresetsForbidden) IsSuccess() bool
- func (o *ListProviderPresetsForbidden) String() string
- type ListProviderPresetsOK
- func (o *ListProviderPresetsOK) Error() string
- func (o *ListProviderPresetsOK) GetPayload() *models.PresetList
- func (o *ListProviderPresetsOK) IsClientError() bool
- func (o *ListProviderPresetsOK) IsCode(code int) bool
- func (o *ListProviderPresetsOK) IsRedirect() bool
- func (o *ListProviderPresetsOK) IsServerError() bool
- func (o *ListProviderPresetsOK) IsSuccess() bool
- func (o *ListProviderPresetsOK) String() string
- type ListProviderPresetsParams
- func NewListProviderPresetsParams() *ListProviderPresetsParams
- func NewListProviderPresetsParamsWithContext(ctx context.Context) *ListProviderPresetsParams
- func NewListProviderPresetsParamsWithHTTPClient(client *http.Client) *ListProviderPresetsParams
- func NewListProviderPresetsParamsWithTimeout(timeout time.Duration) *ListProviderPresetsParams
- func (o *ListProviderPresetsParams) SetContext(ctx context.Context)
- func (o *ListProviderPresetsParams) SetDatacenter(datacenter *string)
- func (o *ListProviderPresetsParams) SetDefaults()
- func (o *ListProviderPresetsParams) SetDisabled(disabled *bool)
- func (o *ListProviderPresetsParams) SetHTTPClient(client *http.Client)
- func (o *ListProviderPresetsParams) SetProviderName(providerName string)
- func (o *ListProviderPresetsParams) SetTimeout(timeout time.Duration)
- func (o *ListProviderPresetsParams) WithContext(ctx context.Context) *ListProviderPresetsParams
- func (o *ListProviderPresetsParams) WithDatacenter(datacenter *string) *ListProviderPresetsParams
- func (o *ListProviderPresetsParams) WithDefaults() *ListProviderPresetsParams
- func (o *ListProviderPresetsParams) WithDisabled(disabled *bool) *ListProviderPresetsParams
- func (o *ListProviderPresetsParams) WithHTTPClient(client *http.Client) *ListProviderPresetsParams
- func (o *ListProviderPresetsParams) WithProviderName(providerName string) *ListProviderPresetsParams
- func (o *ListProviderPresetsParams) WithTimeout(timeout time.Duration) *ListProviderPresetsParams
- func (o *ListProviderPresetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProviderPresetsReader
- type ListProviderPresetsUnauthorized
- func (o *ListProviderPresetsUnauthorized) Error() string
- func (o *ListProviderPresetsUnauthorized) IsClientError() bool
- func (o *ListProviderPresetsUnauthorized) IsCode(code int) bool
- func (o *ListProviderPresetsUnauthorized) IsRedirect() bool
- func (o *ListProviderPresetsUnauthorized) IsServerError() bool
- func (o *ListProviderPresetsUnauthorized) IsSuccess() bool
- func (o *ListProviderPresetsUnauthorized) String() string
- type UpdatePresetDefault
- func (o *UpdatePresetDefault) Code() int
- func (o *UpdatePresetDefault) Error() string
- func (o *UpdatePresetDefault) GetPayload() *models.ErrorResponse
- func (o *UpdatePresetDefault) IsClientError() bool
- func (o *UpdatePresetDefault) IsCode(code int) bool
- func (o *UpdatePresetDefault) IsRedirect() bool
- func (o *UpdatePresetDefault) IsServerError() bool
- func (o *UpdatePresetDefault) IsSuccess() bool
- func (o *UpdatePresetDefault) String() string
- type UpdatePresetForbidden
- func (o *UpdatePresetForbidden) Error() string
- func (o *UpdatePresetForbidden) IsClientError() bool
- func (o *UpdatePresetForbidden) IsCode(code int) bool
- func (o *UpdatePresetForbidden) IsRedirect() bool
- func (o *UpdatePresetForbidden) IsServerError() bool
- func (o *UpdatePresetForbidden) IsSuccess() bool
- func (o *UpdatePresetForbidden) String() string
- type UpdatePresetOK
- func (o *UpdatePresetOK) Error() string
- func (o *UpdatePresetOK) GetPayload() *models.Preset
- func (o *UpdatePresetOK) IsClientError() bool
- func (o *UpdatePresetOK) IsCode(code int) bool
- func (o *UpdatePresetOK) IsRedirect() bool
- func (o *UpdatePresetOK) IsServerError() bool
- func (o *UpdatePresetOK) IsSuccess() bool
- func (o *UpdatePresetOK) String() string
- type UpdatePresetParams
- func (o *UpdatePresetParams) SetBody(body *models.PresetBody)
- func (o *UpdatePresetParams) SetContext(ctx context.Context)
- func (o *UpdatePresetParams) SetDefaults()
- func (o *UpdatePresetParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePresetParams) SetProviderName(providerName string)
- func (o *UpdatePresetParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePresetParams) WithBody(body *models.PresetBody) *UpdatePresetParams
- func (o *UpdatePresetParams) WithContext(ctx context.Context) *UpdatePresetParams
- func (o *UpdatePresetParams) WithDefaults() *UpdatePresetParams
- func (o *UpdatePresetParams) WithHTTPClient(client *http.Client) *UpdatePresetParams
- func (o *UpdatePresetParams) WithProviderName(providerName string) *UpdatePresetParams
- func (o *UpdatePresetParams) WithTimeout(timeout time.Duration) *UpdatePresetParams
- func (o *UpdatePresetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePresetReader
- type UpdatePresetStatusBody
- func (o *UpdatePresetStatusBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdatePresetStatusBody) MarshalBinary() ([]byte, error)
- func (o *UpdatePresetStatusBody) UnmarshalBinary(b []byte) error
- func (o *UpdatePresetStatusBody) Validate(formats strfmt.Registry) error
- type UpdatePresetStatusDefault
- func (o *UpdatePresetStatusDefault) Code() int
- func (o *UpdatePresetStatusDefault) Error() string
- func (o *UpdatePresetStatusDefault) GetPayload() *models.ErrorResponse
- func (o *UpdatePresetStatusDefault) IsClientError() bool
- func (o *UpdatePresetStatusDefault) IsCode(code int) bool
- func (o *UpdatePresetStatusDefault) IsRedirect() bool
- func (o *UpdatePresetStatusDefault) IsServerError() bool
- func (o *UpdatePresetStatusDefault) IsSuccess() bool
- func (o *UpdatePresetStatusDefault) String() string
- type UpdatePresetStatusForbidden
- func (o *UpdatePresetStatusForbidden) Error() string
- func (o *UpdatePresetStatusForbidden) IsClientError() bool
- func (o *UpdatePresetStatusForbidden) IsCode(code int) bool
- func (o *UpdatePresetStatusForbidden) IsRedirect() bool
- func (o *UpdatePresetStatusForbidden) IsServerError() bool
- func (o *UpdatePresetStatusForbidden) IsSuccess() bool
- func (o *UpdatePresetStatusForbidden) String() string
- type UpdatePresetStatusOK
- func (o *UpdatePresetStatusOK) Error() string
- func (o *UpdatePresetStatusOK) IsClientError() bool
- func (o *UpdatePresetStatusOK) IsCode(code int) bool
- func (o *UpdatePresetStatusOK) IsRedirect() bool
- func (o *UpdatePresetStatusOK) IsServerError() bool
- func (o *UpdatePresetStatusOK) IsSuccess() bool
- func (o *UpdatePresetStatusOK) String() string
- type UpdatePresetStatusParams
- func NewUpdatePresetStatusParams() *UpdatePresetStatusParams
- func NewUpdatePresetStatusParamsWithContext(ctx context.Context) *UpdatePresetStatusParams
- func NewUpdatePresetStatusParamsWithHTTPClient(client *http.Client) *UpdatePresetStatusParams
- func NewUpdatePresetStatusParamsWithTimeout(timeout time.Duration) *UpdatePresetStatusParams
- func (o *UpdatePresetStatusParams) SetBody(body UpdatePresetStatusBody)
- func (o *UpdatePresetStatusParams) SetContext(ctx context.Context)
- func (o *UpdatePresetStatusParams) SetDefaults()
- func (o *UpdatePresetStatusParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePresetStatusParams) SetPresetName(presetName string)
- func (o *UpdatePresetStatusParams) SetProvider(provider *string)
- func (o *UpdatePresetStatusParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePresetStatusParams) WithBody(body UpdatePresetStatusBody) *UpdatePresetStatusParams
- func (o *UpdatePresetStatusParams) WithContext(ctx context.Context) *UpdatePresetStatusParams
- func (o *UpdatePresetStatusParams) WithDefaults() *UpdatePresetStatusParams
- func (o *UpdatePresetStatusParams) WithHTTPClient(client *http.Client) *UpdatePresetStatusParams
- func (o *UpdatePresetStatusParams) WithPresetName(presetName string) *UpdatePresetStatusParams
- func (o *UpdatePresetStatusParams) WithProvider(provider *string) *UpdatePresetStatusParams
- func (o *UpdatePresetStatusParams) WithTimeout(timeout time.Duration) *UpdatePresetStatusParams
- func (o *UpdatePresetStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePresetStatusReader
- type UpdatePresetStatusUnauthorized
- func (o *UpdatePresetStatusUnauthorized) Error() string
- func (o *UpdatePresetStatusUnauthorized) IsClientError() bool
- func (o *UpdatePresetStatusUnauthorized) IsCode(code int) bool
- func (o *UpdatePresetStatusUnauthorized) IsRedirect() bool
- func (o *UpdatePresetStatusUnauthorized) IsServerError() bool
- func (o *UpdatePresetStatusUnauthorized) IsSuccess() bool
- func (o *UpdatePresetStatusUnauthorized) String() string
- type UpdatePresetUnauthorized
- func (o *UpdatePresetUnauthorized) Error() string
- func (o *UpdatePresetUnauthorized) IsClientError() bool
- func (o *UpdatePresetUnauthorized) IsCode(code int) bool
- func (o *UpdatePresetUnauthorized) IsRedirect() bool
- func (o *UpdatePresetUnauthorized) IsServerError() bool
- func (o *UpdatePresetUnauthorized) IsSuccess() bool
- func (o *UpdatePresetUnauthorized) String() string
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 ¶
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 ¶
func (o *CreatePresetParams) WithBody(body *models.PresetBody) *CreatePresetParams
WithBody adds the body to the create preset params
func (*CreatePresetParams) WithContext ¶
func (o *CreatePresetParams) WithContext(ctx context.Context) *CreatePresetParams
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 ¶
func (o *DeletePresetParams) WithContext(ctx context.Context) *DeletePresetParams
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 (o *DeletePresetProviderDefault) Error() string
func (*DeletePresetProviderDefault) GetPayload ¶
func (o *DeletePresetProviderDefault) GetPayload() *models.ErrorResponse
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 (o *DeletePresetProviderForbidden) Error() string
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 ¶
func (o *DeletePresetProviderForbidden) String() 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 (o *DeletePresetProviderNotFound) Error() string
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 ¶
func (o *DeletePresetProviderNotFound) String() 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 ¶
func (o *DeletePresetProviderParams) WithContext(ctx context.Context) *DeletePresetProviderParams
WithContext adds the context to the delete preset provider params
func (*DeletePresetProviderParams) WithDefaults ¶
func (o *DeletePresetProviderParams) WithDefaults() *DeletePresetProviderParams
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 ¶
func (o *DeletePresetProviderParams) WithHTTPClient(client *http.Client) *DeletePresetProviderParams
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 ¶
func (o *DeletePresetProviderParams) WithTimeout(timeout time.Duration) *DeletePresetProviderParams
WithTimeout adds the timeout to the delete preset provider params
func (*DeletePresetProviderParams) WriteToRequest ¶
func (o *DeletePresetProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *DeletePresetProviderUnauthorized) Error() string
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 ¶
func (o *DeletePresetProviderUnauthorized) String() 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 (o *DeleteProviderPresetDefault) Error() string
func (*DeleteProviderPresetDefault) GetPayload ¶
func (o *DeleteProviderPresetDefault) GetPayload() *models.ErrorResponse
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 (o *DeleteProviderPresetForbidden) Error() string
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 ¶
func (o *DeleteProviderPresetForbidden) String() 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 ¶
func (o *DeleteProviderPresetParams) WithContext(ctx context.Context) *DeleteProviderPresetParams
WithContext adds the context to the delete provider preset params
func (*DeleteProviderPresetParams) WithDefaults ¶
func (o *DeleteProviderPresetParams) WithDefaults() *DeleteProviderPresetParams
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 ¶
func (o *DeleteProviderPresetParams) WithHTTPClient(client *http.Client) *DeleteProviderPresetParams
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 ¶
func (o *DeleteProviderPresetParams) WithTimeout(timeout time.Duration) *DeleteProviderPresetParams
WithTimeout adds the timeout to the delete provider preset params
func (*DeleteProviderPresetParams) WriteToRequest ¶
func (o *DeleteProviderPresetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *DeleteProviderPresetUnauthorized) Error() string
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 ¶
func (o *DeleteProviderPresetUnauthorized) String() 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 ¶
func (o *GetPresetStatsParams) WithContext(ctx context.Context) *GetPresetStatsParams
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 (o *GetPresetStatsUnauthorized) Error() string
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 (o *ListProjectPresetsDefault) GetPayload() *models.ErrorResponse
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 (o *ListProjectPresetsForbidden) Error() string
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 ¶
func (o *ListProjectPresetsParams) WithContext(ctx context.Context) *ListProjectPresetsParams
WithContext adds the context to the list project presets params
func (*ListProjectPresetsParams) WithDefaults ¶
func (o *ListProjectPresetsParams) WithDefaults() *ListProjectPresetsParams
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 ¶
func (o *ListProjectPresetsParams) WithTimeout(timeout time.Duration) *ListProjectPresetsParams
WithTimeout adds the timeout to the list project presets params
func (*ListProjectPresetsParams) WriteToRequest ¶
func (o *ListProjectPresetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ListProjectPresetsUnauthorized) Error() string
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 ¶
func (o *ListProjectPresetsUnauthorized) String() 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 ¶
func (o *ListProjectProviderPresetsDefault) Code() int
Code gets the status code for the list project provider presets default response
func (*ListProjectProviderPresetsDefault) Error ¶
func (o *ListProjectProviderPresetsDefault) Error() string
func (*ListProjectProviderPresetsDefault) GetPayload ¶
func (o *ListProjectProviderPresetsDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *ListProjectProviderPresetsDefault) String() 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 (o *ListProjectProviderPresetsForbidden) Error() string
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 ¶
func (o *ListProjectProviderPresetsForbidden) IsCode(code int) bool
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 ¶
func (o *ListProjectProviderPresetsForbidden) IsSuccess() bool
IsSuccess returns true when this list project provider presets forbidden response has a 2xx status code
func (*ListProjectProviderPresetsForbidden) String ¶
func (o *ListProjectProviderPresetsForbidden) String() 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 (o *ListProjectProviderPresetsOK) Error() string
func (*ListProjectProviderPresetsOK) GetPayload ¶
func (o *ListProjectProviderPresetsOK) GetPayload() *models.PresetList
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 ¶
func (o *ListProjectProviderPresetsOK) String() 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 ¶
func (o *ListProjectProviderPresetsParams) SetContext(ctx context.Context)
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 ¶
func (o *ListProjectProviderPresetsParams) WithContext(ctx context.Context) *ListProjectProviderPresetsParams
WithContext adds the context to the list project provider presets params
func (*ListProjectProviderPresetsParams) WithDatacenter ¶
func (o *ListProjectProviderPresetsParams) WithDatacenter(datacenter *string) *ListProjectProviderPresetsParams
WithDatacenter adds the datacenter to the list project provider presets params
func (*ListProjectProviderPresetsParams) WithDefaults ¶
func (o *ListProjectProviderPresetsParams) WithDefaults() *ListProjectProviderPresetsParams
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 ¶
func (o *ListProjectProviderPresetsParams) WithDisabled(disabled *bool) *ListProjectProviderPresetsParams
WithDisabled adds the disabled to the list project provider presets params
func (*ListProjectProviderPresetsParams) WithHTTPClient ¶
func (o *ListProjectProviderPresetsParams) WithHTTPClient(client *http.Client) *ListProjectProviderPresetsParams
WithHTTPClient adds the HTTPClient to the list project provider presets params
func (*ListProjectProviderPresetsParams) WithProjectID ¶
func (o *ListProjectProviderPresetsParams) WithProjectID(projectID string) *ListProjectProviderPresetsParams
WithProjectID adds the projectID to the list project provider presets params
func (*ListProjectProviderPresetsParams) WithProviderName ¶
func (o *ListProjectProviderPresetsParams) WithProviderName(providerName string) *ListProjectProviderPresetsParams
WithProviderName adds the providerName to the list project provider presets params
func (*ListProjectProviderPresetsParams) WithTimeout ¶
func (o *ListProjectProviderPresetsParams) WithTimeout(timeout time.Duration) *ListProjectProviderPresetsParams
WithTimeout adds the timeout to the list project provider presets params
func (*ListProjectProviderPresetsParams) WriteToRequest ¶
func (o *ListProjectProviderPresetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ListProjectProviderPresetsUnauthorized) Error() string
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 ¶
func (o *ListProjectProviderPresetsUnauthorized) IsCode(code int) bool
IsCode returns true when this list project provider presets unauthorized response a status code equal to that given
func (*ListProjectProviderPresetsUnauthorized) IsRedirect ¶
func (o *ListProjectProviderPresetsUnauthorized) IsRedirect() bool
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 ¶
func (o *ListProjectProviderPresetsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list project provider presets unauthorized response has a 2xx status code
func (*ListProjectProviderPresetsUnauthorized) String ¶
func (o *ListProjectProviderPresetsUnauthorized) String() 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 (o *ListProviderPresetsDefault) Error() string
func (*ListProviderPresetsDefault) GetPayload ¶
func (o *ListProviderPresetsDefault) GetPayload() *models.ErrorResponse
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 (o *ListProviderPresetsForbidden) Error() string
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 ¶
func (o *ListProviderPresetsForbidden) String() 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 ¶
func (o *ListProviderPresetsParams) WithContext(ctx context.Context) *ListProviderPresetsParams
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 ¶
func (o *ListProviderPresetsParams) WithDefaults() *ListProviderPresetsParams
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 ¶
func (o *ListProviderPresetsParams) WithTimeout(timeout time.Duration) *ListProviderPresetsParams
WithTimeout adds the timeout to the list provider presets params
func (*ListProviderPresetsParams) WriteToRequest ¶
func (o *ListProviderPresetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ListProviderPresetsUnauthorized) Error() string
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 ¶
func (o *ListProviderPresetsUnauthorized) String() 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 ¶
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 ¶
func (o *UpdatePresetParams) WithBody(body *models.PresetBody) *UpdatePresetParams
WithBody adds the body to the update preset params
func (*UpdatePresetParams) WithContext ¶
func (o *UpdatePresetParams) WithContext(ctx context.Context) *UpdatePresetParams
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
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 (o *UpdatePresetStatusDefault) GetPayload() *models.ErrorResponse
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 (o *UpdatePresetStatusForbidden) Error() string
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 ¶
func (o *UpdatePresetStatusParams) SetBody(body UpdatePresetStatusBody)
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 ¶
func (o *UpdatePresetStatusParams) WithBody(body UpdatePresetStatusBody) *UpdatePresetStatusParams
WithBody adds the body to the update preset status params
func (*UpdatePresetStatusParams) WithContext ¶
func (o *UpdatePresetStatusParams) WithContext(ctx context.Context) *UpdatePresetStatusParams
WithContext adds the context to the update preset status params
func (*UpdatePresetStatusParams) WithDefaults ¶
func (o *UpdatePresetStatusParams) WithDefaults() *UpdatePresetStatusParams
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 ¶
func (o *UpdatePresetStatusParams) WithTimeout(timeout time.Duration) *UpdatePresetStatusParams
WithTimeout adds the timeout to the update preset status params
func (*UpdatePresetStatusParams) WriteToRequest ¶
func (o *UpdatePresetStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *UpdatePresetStatusUnauthorized) Error() string
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 ¶
func (o *UpdatePresetStatusUnauthorized) String() 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
Source Files ¶
- create_preset_parameters.go
- create_preset_responses.go
- delete_preset_parameters.go
- delete_preset_provider_parameters.go
- delete_preset_provider_responses.go
- delete_preset_responses.go
- delete_provider_preset_parameters.go
- delete_provider_preset_responses.go
- get_preset_stats_parameters.go
- get_preset_stats_responses.go
- list_presets_parameters.go
- list_presets_responses.go
- list_project_presets_parameters.go
- list_project_presets_responses.go
- list_project_provider_presets_parameters.go
- list_project_provider_presets_responses.go
- list_provider_presets_parameters.go
- list_provider_presets_responses.go
- preset_client.go
- update_preset_parameters.go
- update_preset_responses.go
- update_preset_status_parameters.go
- update_preset_status_responses.go