Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateDefaultsSection(params *CreateDefaultsSectionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateDefaultsSectionCreated, *CreateDefaultsSectionAccepted, error)
- func (a *Client) DeleteDefaultsSection(params *DeleteDefaultsSectionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteDefaultsSectionAccepted, *DeleteDefaultsSectionNoContent, error)
- func (a *Client) GetDefaults(params *GetDefaultsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDefaultsOK, error)
- func (a *Client) GetDefaultsSection(params *GetDefaultsSectionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDefaultsSectionOK, error)
- func (a *Client) GetDefaultsSections(params *GetDefaultsSectionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDefaultsSectionsOK, error)
- func (a *Client) ReplaceDefaults(params *ReplaceDefaultsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplaceDefaultsOK, *ReplaceDefaultsAccepted, error)
- func (a *Client) ReplaceDefaultsSection(params *ReplaceDefaultsSectionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplaceDefaultsSectionOK, *ReplaceDefaultsSectionAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateDefaultsSectionAccepted
- func (o *CreateDefaultsSectionAccepted) Code() int
- func (o *CreateDefaultsSectionAccepted) Error() string
- func (o *CreateDefaultsSectionAccepted) GetPayload() *models.Defaults
- func (o *CreateDefaultsSectionAccepted) IsClientError() bool
- func (o *CreateDefaultsSectionAccepted) IsCode(code int) bool
- func (o *CreateDefaultsSectionAccepted) IsRedirect() bool
- func (o *CreateDefaultsSectionAccepted) IsServerError() bool
- func (o *CreateDefaultsSectionAccepted) IsSuccess() bool
- func (o *CreateDefaultsSectionAccepted) String() string
- type CreateDefaultsSectionBadRequest
- func (o *CreateDefaultsSectionBadRequest) Code() int
- func (o *CreateDefaultsSectionBadRequest) Error() string
- func (o *CreateDefaultsSectionBadRequest) GetPayload() *models.Error
- func (o *CreateDefaultsSectionBadRequest) IsClientError() bool
- func (o *CreateDefaultsSectionBadRequest) IsCode(code int) bool
- func (o *CreateDefaultsSectionBadRequest) IsRedirect() bool
- func (o *CreateDefaultsSectionBadRequest) IsServerError() bool
- func (o *CreateDefaultsSectionBadRequest) IsSuccess() bool
- func (o *CreateDefaultsSectionBadRequest) String() string
- type CreateDefaultsSectionConflict
- func (o *CreateDefaultsSectionConflict) Code() int
- func (o *CreateDefaultsSectionConflict) Error() string
- func (o *CreateDefaultsSectionConflict) GetPayload() *models.Error
- func (o *CreateDefaultsSectionConflict) IsClientError() bool
- func (o *CreateDefaultsSectionConflict) IsCode(code int) bool
- func (o *CreateDefaultsSectionConflict) IsRedirect() bool
- func (o *CreateDefaultsSectionConflict) IsServerError() bool
- func (o *CreateDefaultsSectionConflict) IsSuccess() bool
- func (o *CreateDefaultsSectionConflict) String() string
- type CreateDefaultsSectionCreated
- func (o *CreateDefaultsSectionCreated) Code() int
- func (o *CreateDefaultsSectionCreated) Error() string
- func (o *CreateDefaultsSectionCreated) GetPayload() *models.Defaults
- func (o *CreateDefaultsSectionCreated) IsClientError() bool
- func (o *CreateDefaultsSectionCreated) IsCode(code int) bool
- func (o *CreateDefaultsSectionCreated) IsRedirect() bool
- func (o *CreateDefaultsSectionCreated) IsServerError() bool
- func (o *CreateDefaultsSectionCreated) IsSuccess() bool
- func (o *CreateDefaultsSectionCreated) String() string
- type CreateDefaultsSectionDefault
- func (o *CreateDefaultsSectionDefault) Code() int
- func (o *CreateDefaultsSectionDefault) Error() string
- func (o *CreateDefaultsSectionDefault) GetPayload() *models.Error
- func (o *CreateDefaultsSectionDefault) IsClientError() bool
- func (o *CreateDefaultsSectionDefault) IsCode(code int) bool
- func (o *CreateDefaultsSectionDefault) IsRedirect() bool
- func (o *CreateDefaultsSectionDefault) IsServerError() bool
- func (o *CreateDefaultsSectionDefault) IsSuccess() bool
- func (o *CreateDefaultsSectionDefault) String() string
- type CreateDefaultsSectionParams
- func NewCreateDefaultsSectionParams() *CreateDefaultsSectionParams
- func NewCreateDefaultsSectionParamsWithContext(ctx context.Context) *CreateDefaultsSectionParams
- func NewCreateDefaultsSectionParamsWithHTTPClient(client *http.Client) *CreateDefaultsSectionParams
- func NewCreateDefaultsSectionParamsWithTimeout(timeout time.Duration) *CreateDefaultsSectionParams
- func (o *CreateDefaultsSectionParams) SetContext(ctx context.Context)
- func (o *CreateDefaultsSectionParams) SetData(data *models.Defaults)
- func (o *CreateDefaultsSectionParams) SetDefaults()
- func (o *CreateDefaultsSectionParams) SetForceReload(forceReload *bool)
- func (o *CreateDefaultsSectionParams) SetHTTPClient(client *http.Client)
- func (o *CreateDefaultsSectionParams) SetTimeout(timeout time.Duration)
- func (o *CreateDefaultsSectionParams) SetTransactionID(transactionID *string)
- func (o *CreateDefaultsSectionParams) SetVersion(version *int64)
- func (o *CreateDefaultsSectionParams) WithContext(ctx context.Context) *CreateDefaultsSectionParams
- func (o *CreateDefaultsSectionParams) WithData(data *models.Defaults) *CreateDefaultsSectionParams
- func (o *CreateDefaultsSectionParams) WithDefaults() *CreateDefaultsSectionParams
- func (o *CreateDefaultsSectionParams) WithForceReload(forceReload *bool) *CreateDefaultsSectionParams
- func (o *CreateDefaultsSectionParams) WithHTTPClient(client *http.Client) *CreateDefaultsSectionParams
- func (o *CreateDefaultsSectionParams) WithTimeout(timeout time.Duration) *CreateDefaultsSectionParams
- func (o *CreateDefaultsSectionParams) WithTransactionID(transactionID *string) *CreateDefaultsSectionParams
- func (o *CreateDefaultsSectionParams) WithVersion(version *int64) *CreateDefaultsSectionParams
- func (o *CreateDefaultsSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDefaultsSectionReader
- type DeleteDefaultsSectionAccepted
- func (o *DeleteDefaultsSectionAccepted) Code() int
- func (o *DeleteDefaultsSectionAccepted) Error() string
- func (o *DeleteDefaultsSectionAccepted) IsClientError() bool
- func (o *DeleteDefaultsSectionAccepted) IsCode(code int) bool
- func (o *DeleteDefaultsSectionAccepted) IsRedirect() bool
- func (o *DeleteDefaultsSectionAccepted) IsServerError() bool
- func (o *DeleteDefaultsSectionAccepted) IsSuccess() bool
- func (o *DeleteDefaultsSectionAccepted) String() string
- type DeleteDefaultsSectionDefault
- func (o *DeleteDefaultsSectionDefault) Code() int
- func (o *DeleteDefaultsSectionDefault) Error() string
- func (o *DeleteDefaultsSectionDefault) GetPayload() *models.Error
- func (o *DeleteDefaultsSectionDefault) IsClientError() bool
- func (o *DeleteDefaultsSectionDefault) IsCode(code int) bool
- func (o *DeleteDefaultsSectionDefault) IsRedirect() bool
- func (o *DeleteDefaultsSectionDefault) IsServerError() bool
- func (o *DeleteDefaultsSectionDefault) IsSuccess() bool
- func (o *DeleteDefaultsSectionDefault) String() string
- type DeleteDefaultsSectionNoContent
- func (o *DeleteDefaultsSectionNoContent) Code() int
- func (o *DeleteDefaultsSectionNoContent) Error() string
- func (o *DeleteDefaultsSectionNoContent) IsClientError() bool
- func (o *DeleteDefaultsSectionNoContent) IsCode(code int) bool
- func (o *DeleteDefaultsSectionNoContent) IsRedirect() bool
- func (o *DeleteDefaultsSectionNoContent) IsServerError() bool
- func (o *DeleteDefaultsSectionNoContent) IsSuccess() bool
- func (o *DeleteDefaultsSectionNoContent) String() string
- type DeleteDefaultsSectionNotFound
- func (o *DeleteDefaultsSectionNotFound) Code() int
- func (o *DeleteDefaultsSectionNotFound) Error() string
- func (o *DeleteDefaultsSectionNotFound) GetPayload() *models.Error
- func (o *DeleteDefaultsSectionNotFound) IsClientError() bool
- func (o *DeleteDefaultsSectionNotFound) IsCode(code int) bool
- func (o *DeleteDefaultsSectionNotFound) IsRedirect() bool
- func (o *DeleteDefaultsSectionNotFound) IsServerError() bool
- func (o *DeleteDefaultsSectionNotFound) IsSuccess() bool
- func (o *DeleteDefaultsSectionNotFound) String() string
- type DeleteDefaultsSectionParams
- func NewDeleteDefaultsSectionParams() *DeleteDefaultsSectionParams
- func NewDeleteDefaultsSectionParamsWithContext(ctx context.Context) *DeleteDefaultsSectionParams
- func NewDeleteDefaultsSectionParamsWithHTTPClient(client *http.Client) *DeleteDefaultsSectionParams
- func NewDeleteDefaultsSectionParamsWithTimeout(timeout time.Duration) *DeleteDefaultsSectionParams
- func (o *DeleteDefaultsSectionParams) SetContext(ctx context.Context)
- func (o *DeleteDefaultsSectionParams) SetDefaults()
- func (o *DeleteDefaultsSectionParams) SetForceReload(forceReload *bool)
- func (o *DeleteDefaultsSectionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDefaultsSectionParams) SetName(name string)
- func (o *DeleteDefaultsSectionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDefaultsSectionParams) SetTransactionID(transactionID *string)
- func (o *DeleteDefaultsSectionParams) SetVersion(version *int64)
- func (o *DeleteDefaultsSectionParams) WithContext(ctx context.Context) *DeleteDefaultsSectionParams
- func (o *DeleteDefaultsSectionParams) WithDefaults() *DeleteDefaultsSectionParams
- func (o *DeleteDefaultsSectionParams) WithForceReload(forceReload *bool) *DeleteDefaultsSectionParams
- func (o *DeleteDefaultsSectionParams) WithHTTPClient(client *http.Client) *DeleteDefaultsSectionParams
- func (o *DeleteDefaultsSectionParams) WithName(name string) *DeleteDefaultsSectionParams
- func (o *DeleteDefaultsSectionParams) WithTimeout(timeout time.Duration) *DeleteDefaultsSectionParams
- func (o *DeleteDefaultsSectionParams) WithTransactionID(transactionID *string) *DeleteDefaultsSectionParams
- func (o *DeleteDefaultsSectionParams) WithVersion(version *int64) *DeleteDefaultsSectionParams
- func (o *DeleteDefaultsSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDefaultsSectionReader
- type GetDefaultsDefault
- func (o *GetDefaultsDefault) Code() int
- func (o *GetDefaultsDefault) Error() string
- func (o *GetDefaultsDefault) GetPayload() *models.Error
- func (o *GetDefaultsDefault) IsClientError() bool
- func (o *GetDefaultsDefault) IsCode(code int) bool
- func (o *GetDefaultsDefault) IsRedirect() bool
- func (o *GetDefaultsDefault) IsServerError() bool
- func (o *GetDefaultsDefault) IsSuccess() bool
- func (o *GetDefaultsDefault) String() string
- type GetDefaultsOK
- func (o *GetDefaultsOK) Code() int
- func (o *GetDefaultsOK) Error() string
- func (o *GetDefaultsOK) GetPayload() *GetDefaultsOKBody
- func (o *GetDefaultsOK) IsClientError() bool
- func (o *GetDefaultsOK) IsCode(code int) bool
- func (o *GetDefaultsOK) IsRedirect() bool
- func (o *GetDefaultsOK) IsServerError() bool
- func (o *GetDefaultsOK) IsSuccess() bool
- func (o *GetDefaultsOK) String() string
- type GetDefaultsOKBody
- type GetDefaultsParams
- func (o *GetDefaultsParams) SetContext(ctx context.Context)
- func (o *GetDefaultsParams) SetDefaults()
- func (o *GetDefaultsParams) SetHTTPClient(client *http.Client)
- func (o *GetDefaultsParams) SetTimeout(timeout time.Duration)
- func (o *GetDefaultsParams) SetTransactionID(transactionID *string)
- func (o *GetDefaultsParams) WithContext(ctx context.Context) *GetDefaultsParams
- func (o *GetDefaultsParams) WithDefaults() *GetDefaultsParams
- func (o *GetDefaultsParams) WithHTTPClient(client *http.Client) *GetDefaultsParams
- func (o *GetDefaultsParams) WithTimeout(timeout time.Duration) *GetDefaultsParams
- func (o *GetDefaultsParams) WithTransactionID(transactionID *string) *GetDefaultsParams
- func (o *GetDefaultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDefaultsReader
- type GetDefaultsSectionDefault
- func (o *GetDefaultsSectionDefault) Code() int
- func (o *GetDefaultsSectionDefault) Error() string
- func (o *GetDefaultsSectionDefault) GetPayload() *models.Error
- func (o *GetDefaultsSectionDefault) IsClientError() bool
- func (o *GetDefaultsSectionDefault) IsCode(code int) bool
- func (o *GetDefaultsSectionDefault) IsRedirect() bool
- func (o *GetDefaultsSectionDefault) IsServerError() bool
- func (o *GetDefaultsSectionDefault) IsSuccess() bool
- func (o *GetDefaultsSectionDefault) String() string
- type GetDefaultsSectionNotFound
- func (o *GetDefaultsSectionNotFound) Code() int
- func (o *GetDefaultsSectionNotFound) Error() string
- func (o *GetDefaultsSectionNotFound) GetPayload() *models.Error
- func (o *GetDefaultsSectionNotFound) IsClientError() bool
- func (o *GetDefaultsSectionNotFound) IsCode(code int) bool
- func (o *GetDefaultsSectionNotFound) IsRedirect() bool
- func (o *GetDefaultsSectionNotFound) IsServerError() bool
- func (o *GetDefaultsSectionNotFound) IsSuccess() bool
- func (o *GetDefaultsSectionNotFound) String() string
- type GetDefaultsSectionOK
- func (o *GetDefaultsSectionOK) Code() int
- func (o *GetDefaultsSectionOK) Error() string
- func (o *GetDefaultsSectionOK) GetPayload() *GetDefaultsSectionOKBody
- func (o *GetDefaultsSectionOK) IsClientError() bool
- func (o *GetDefaultsSectionOK) IsCode(code int) bool
- func (o *GetDefaultsSectionOK) IsRedirect() bool
- func (o *GetDefaultsSectionOK) IsServerError() bool
- func (o *GetDefaultsSectionOK) IsSuccess() bool
- func (o *GetDefaultsSectionOK) String() string
- type GetDefaultsSectionOKBody
- func (o *GetDefaultsSectionOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDefaultsSectionOKBody) MarshalBinary() ([]byte, error)
- func (o *GetDefaultsSectionOKBody) UnmarshalBinary(b []byte) error
- func (o *GetDefaultsSectionOKBody) Validate(formats strfmt.Registry) error
- type GetDefaultsSectionParams
- func NewGetDefaultsSectionParams() *GetDefaultsSectionParams
- func NewGetDefaultsSectionParamsWithContext(ctx context.Context) *GetDefaultsSectionParams
- func NewGetDefaultsSectionParamsWithHTTPClient(client *http.Client) *GetDefaultsSectionParams
- func NewGetDefaultsSectionParamsWithTimeout(timeout time.Duration) *GetDefaultsSectionParams
- func (o *GetDefaultsSectionParams) SetContext(ctx context.Context)
- func (o *GetDefaultsSectionParams) SetDefaults()
- func (o *GetDefaultsSectionParams) SetHTTPClient(client *http.Client)
- func (o *GetDefaultsSectionParams) SetName(name string)
- func (o *GetDefaultsSectionParams) SetTimeout(timeout time.Duration)
- func (o *GetDefaultsSectionParams) SetTransactionID(transactionID *string)
- func (o *GetDefaultsSectionParams) WithContext(ctx context.Context) *GetDefaultsSectionParams
- func (o *GetDefaultsSectionParams) WithDefaults() *GetDefaultsSectionParams
- func (o *GetDefaultsSectionParams) WithHTTPClient(client *http.Client) *GetDefaultsSectionParams
- func (o *GetDefaultsSectionParams) WithName(name string) *GetDefaultsSectionParams
- func (o *GetDefaultsSectionParams) WithTimeout(timeout time.Duration) *GetDefaultsSectionParams
- func (o *GetDefaultsSectionParams) WithTransactionID(transactionID *string) *GetDefaultsSectionParams
- func (o *GetDefaultsSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDefaultsSectionReader
- type GetDefaultsSectionsDefault
- func (o *GetDefaultsSectionsDefault) Code() int
- func (o *GetDefaultsSectionsDefault) Error() string
- func (o *GetDefaultsSectionsDefault) GetPayload() *models.Error
- func (o *GetDefaultsSectionsDefault) IsClientError() bool
- func (o *GetDefaultsSectionsDefault) IsCode(code int) bool
- func (o *GetDefaultsSectionsDefault) IsRedirect() bool
- func (o *GetDefaultsSectionsDefault) IsServerError() bool
- func (o *GetDefaultsSectionsDefault) IsSuccess() bool
- func (o *GetDefaultsSectionsDefault) String() string
- type GetDefaultsSectionsOK
- func (o *GetDefaultsSectionsOK) Code() int
- func (o *GetDefaultsSectionsOK) Error() string
- func (o *GetDefaultsSectionsOK) GetPayload() *GetDefaultsSectionsOKBody
- func (o *GetDefaultsSectionsOK) IsClientError() bool
- func (o *GetDefaultsSectionsOK) IsCode(code int) bool
- func (o *GetDefaultsSectionsOK) IsRedirect() bool
- func (o *GetDefaultsSectionsOK) IsServerError() bool
- func (o *GetDefaultsSectionsOK) IsSuccess() bool
- func (o *GetDefaultsSectionsOK) String() string
- type GetDefaultsSectionsOKBody
- func (o *GetDefaultsSectionsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDefaultsSectionsOKBody) MarshalBinary() ([]byte, error)
- func (o *GetDefaultsSectionsOKBody) UnmarshalBinary(b []byte) error
- func (o *GetDefaultsSectionsOKBody) Validate(formats strfmt.Registry) error
- type GetDefaultsSectionsParams
- func NewGetDefaultsSectionsParams() *GetDefaultsSectionsParams
- func NewGetDefaultsSectionsParamsWithContext(ctx context.Context) *GetDefaultsSectionsParams
- func NewGetDefaultsSectionsParamsWithHTTPClient(client *http.Client) *GetDefaultsSectionsParams
- func NewGetDefaultsSectionsParamsWithTimeout(timeout time.Duration) *GetDefaultsSectionsParams
- func (o *GetDefaultsSectionsParams) SetContext(ctx context.Context)
- func (o *GetDefaultsSectionsParams) SetDefaults()
- func (o *GetDefaultsSectionsParams) SetHTTPClient(client *http.Client)
- func (o *GetDefaultsSectionsParams) SetTimeout(timeout time.Duration)
- func (o *GetDefaultsSectionsParams) SetTransactionID(transactionID *string)
- func (o *GetDefaultsSectionsParams) WithContext(ctx context.Context) *GetDefaultsSectionsParams
- func (o *GetDefaultsSectionsParams) WithDefaults() *GetDefaultsSectionsParams
- func (o *GetDefaultsSectionsParams) WithHTTPClient(client *http.Client) *GetDefaultsSectionsParams
- func (o *GetDefaultsSectionsParams) WithTimeout(timeout time.Duration) *GetDefaultsSectionsParams
- func (o *GetDefaultsSectionsParams) WithTransactionID(transactionID *string) *GetDefaultsSectionsParams
- func (o *GetDefaultsSectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDefaultsSectionsReader
- type ReplaceDefaultsAccepted
- func (o *ReplaceDefaultsAccepted) Code() int
- func (o *ReplaceDefaultsAccepted) Error() string
- func (o *ReplaceDefaultsAccepted) GetPayload() *models.Defaults
- func (o *ReplaceDefaultsAccepted) IsClientError() bool
- func (o *ReplaceDefaultsAccepted) IsCode(code int) bool
- func (o *ReplaceDefaultsAccepted) IsRedirect() bool
- func (o *ReplaceDefaultsAccepted) IsServerError() bool
- func (o *ReplaceDefaultsAccepted) IsSuccess() bool
- func (o *ReplaceDefaultsAccepted) String() string
- type ReplaceDefaultsBadRequest
- func (o *ReplaceDefaultsBadRequest) Code() int
- func (o *ReplaceDefaultsBadRequest) Error() string
- func (o *ReplaceDefaultsBadRequest) GetPayload() *models.Error
- func (o *ReplaceDefaultsBadRequest) IsClientError() bool
- func (o *ReplaceDefaultsBadRequest) IsCode(code int) bool
- func (o *ReplaceDefaultsBadRequest) IsRedirect() bool
- func (o *ReplaceDefaultsBadRequest) IsServerError() bool
- func (o *ReplaceDefaultsBadRequest) IsSuccess() bool
- func (o *ReplaceDefaultsBadRequest) String() string
- type ReplaceDefaultsDefault
- func (o *ReplaceDefaultsDefault) Code() int
- func (o *ReplaceDefaultsDefault) Error() string
- func (o *ReplaceDefaultsDefault) GetPayload() *models.Error
- func (o *ReplaceDefaultsDefault) IsClientError() bool
- func (o *ReplaceDefaultsDefault) IsCode(code int) bool
- func (o *ReplaceDefaultsDefault) IsRedirect() bool
- func (o *ReplaceDefaultsDefault) IsServerError() bool
- func (o *ReplaceDefaultsDefault) IsSuccess() bool
- func (o *ReplaceDefaultsDefault) String() string
- type ReplaceDefaultsOK
- func (o *ReplaceDefaultsOK) Code() int
- func (o *ReplaceDefaultsOK) Error() string
- func (o *ReplaceDefaultsOK) GetPayload() *models.Defaults
- func (o *ReplaceDefaultsOK) IsClientError() bool
- func (o *ReplaceDefaultsOK) IsCode(code int) bool
- func (o *ReplaceDefaultsOK) IsRedirect() bool
- func (o *ReplaceDefaultsOK) IsServerError() bool
- func (o *ReplaceDefaultsOK) IsSuccess() bool
- func (o *ReplaceDefaultsOK) String() string
- type ReplaceDefaultsParams
- func NewReplaceDefaultsParams() *ReplaceDefaultsParams
- func NewReplaceDefaultsParamsWithContext(ctx context.Context) *ReplaceDefaultsParams
- func NewReplaceDefaultsParamsWithHTTPClient(client *http.Client) *ReplaceDefaultsParams
- func NewReplaceDefaultsParamsWithTimeout(timeout time.Duration) *ReplaceDefaultsParams
- func (o *ReplaceDefaultsParams) SetContext(ctx context.Context)
- func (o *ReplaceDefaultsParams) SetData(data *models.Defaults)
- func (o *ReplaceDefaultsParams) SetDefaults()
- func (o *ReplaceDefaultsParams) SetForceReload(forceReload *bool)
- func (o *ReplaceDefaultsParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceDefaultsParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceDefaultsParams) SetTransactionID(transactionID *string)
- func (o *ReplaceDefaultsParams) SetVersion(version *int64)
- func (o *ReplaceDefaultsParams) WithContext(ctx context.Context) *ReplaceDefaultsParams
- func (o *ReplaceDefaultsParams) WithData(data *models.Defaults) *ReplaceDefaultsParams
- func (o *ReplaceDefaultsParams) WithDefaults() *ReplaceDefaultsParams
- func (o *ReplaceDefaultsParams) WithForceReload(forceReload *bool) *ReplaceDefaultsParams
- func (o *ReplaceDefaultsParams) WithHTTPClient(client *http.Client) *ReplaceDefaultsParams
- func (o *ReplaceDefaultsParams) WithTimeout(timeout time.Duration) *ReplaceDefaultsParams
- func (o *ReplaceDefaultsParams) WithTransactionID(transactionID *string) *ReplaceDefaultsParams
- func (o *ReplaceDefaultsParams) WithVersion(version *int64) *ReplaceDefaultsParams
- func (o *ReplaceDefaultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceDefaultsReader
- type ReplaceDefaultsSectionAccepted
- func (o *ReplaceDefaultsSectionAccepted) Code() int
- func (o *ReplaceDefaultsSectionAccepted) Error() string
- func (o *ReplaceDefaultsSectionAccepted) GetPayload() *models.Defaults
- func (o *ReplaceDefaultsSectionAccepted) IsClientError() bool
- func (o *ReplaceDefaultsSectionAccepted) IsCode(code int) bool
- func (o *ReplaceDefaultsSectionAccepted) IsRedirect() bool
- func (o *ReplaceDefaultsSectionAccepted) IsServerError() bool
- func (o *ReplaceDefaultsSectionAccepted) IsSuccess() bool
- func (o *ReplaceDefaultsSectionAccepted) String() string
- type ReplaceDefaultsSectionBadRequest
- func (o *ReplaceDefaultsSectionBadRequest) Code() int
- func (o *ReplaceDefaultsSectionBadRequest) Error() string
- func (o *ReplaceDefaultsSectionBadRequest) GetPayload() *models.Error
- func (o *ReplaceDefaultsSectionBadRequest) IsClientError() bool
- func (o *ReplaceDefaultsSectionBadRequest) IsCode(code int) bool
- func (o *ReplaceDefaultsSectionBadRequest) IsRedirect() bool
- func (o *ReplaceDefaultsSectionBadRequest) IsServerError() bool
- func (o *ReplaceDefaultsSectionBadRequest) IsSuccess() bool
- func (o *ReplaceDefaultsSectionBadRequest) String() string
- type ReplaceDefaultsSectionDefault
- func (o *ReplaceDefaultsSectionDefault) Code() int
- func (o *ReplaceDefaultsSectionDefault) Error() string
- func (o *ReplaceDefaultsSectionDefault) GetPayload() *models.Error
- func (o *ReplaceDefaultsSectionDefault) IsClientError() bool
- func (o *ReplaceDefaultsSectionDefault) IsCode(code int) bool
- func (o *ReplaceDefaultsSectionDefault) IsRedirect() bool
- func (o *ReplaceDefaultsSectionDefault) IsServerError() bool
- func (o *ReplaceDefaultsSectionDefault) IsSuccess() bool
- func (o *ReplaceDefaultsSectionDefault) String() string
- type ReplaceDefaultsSectionNotFound
- func (o *ReplaceDefaultsSectionNotFound) Code() int
- func (o *ReplaceDefaultsSectionNotFound) Error() string
- func (o *ReplaceDefaultsSectionNotFound) GetPayload() *models.Error
- func (o *ReplaceDefaultsSectionNotFound) IsClientError() bool
- func (o *ReplaceDefaultsSectionNotFound) IsCode(code int) bool
- func (o *ReplaceDefaultsSectionNotFound) IsRedirect() bool
- func (o *ReplaceDefaultsSectionNotFound) IsServerError() bool
- func (o *ReplaceDefaultsSectionNotFound) IsSuccess() bool
- func (o *ReplaceDefaultsSectionNotFound) String() string
- type ReplaceDefaultsSectionOK
- func (o *ReplaceDefaultsSectionOK) Code() int
- func (o *ReplaceDefaultsSectionOK) Error() string
- func (o *ReplaceDefaultsSectionOK) GetPayload() *models.Defaults
- func (o *ReplaceDefaultsSectionOK) IsClientError() bool
- func (o *ReplaceDefaultsSectionOK) IsCode(code int) bool
- func (o *ReplaceDefaultsSectionOK) IsRedirect() bool
- func (o *ReplaceDefaultsSectionOK) IsServerError() bool
- func (o *ReplaceDefaultsSectionOK) IsSuccess() bool
- func (o *ReplaceDefaultsSectionOK) String() string
- type ReplaceDefaultsSectionParams
- func NewReplaceDefaultsSectionParams() *ReplaceDefaultsSectionParams
- func NewReplaceDefaultsSectionParamsWithContext(ctx context.Context) *ReplaceDefaultsSectionParams
- func NewReplaceDefaultsSectionParamsWithHTTPClient(client *http.Client) *ReplaceDefaultsSectionParams
- func NewReplaceDefaultsSectionParamsWithTimeout(timeout time.Duration) *ReplaceDefaultsSectionParams
- func (o *ReplaceDefaultsSectionParams) SetContext(ctx context.Context)
- func (o *ReplaceDefaultsSectionParams) SetData(data *models.Defaults)
- func (o *ReplaceDefaultsSectionParams) SetDefaults()
- func (o *ReplaceDefaultsSectionParams) SetForceReload(forceReload *bool)
- func (o *ReplaceDefaultsSectionParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceDefaultsSectionParams) SetName(name string)
- func (o *ReplaceDefaultsSectionParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceDefaultsSectionParams) SetTransactionID(transactionID *string)
- func (o *ReplaceDefaultsSectionParams) SetVersion(version *int64)
- func (o *ReplaceDefaultsSectionParams) WithContext(ctx context.Context) *ReplaceDefaultsSectionParams
- func (o *ReplaceDefaultsSectionParams) WithData(data *models.Defaults) *ReplaceDefaultsSectionParams
- func (o *ReplaceDefaultsSectionParams) WithDefaults() *ReplaceDefaultsSectionParams
- func (o *ReplaceDefaultsSectionParams) WithForceReload(forceReload *bool) *ReplaceDefaultsSectionParams
- func (o *ReplaceDefaultsSectionParams) WithHTTPClient(client *http.Client) *ReplaceDefaultsSectionParams
- func (o *ReplaceDefaultsSectionParams) WithName(name string) *ReplaceDefaultsSectionParams
- func (o *ReplaceDefaultsSectionParams) WithTimeout(timeout time.Duration) *ReplaceDefaultsSectionParams
- func (o *ReplaceDefaultsSectionParams) WithTransactionID(transactionID *string) *ReplaceDefaultsSectionParams
- func (o *ReplaceDefaultsSectionParams) WithVersion(version *int64) *ReplaceDefaultsSectionParams
- func (o *ReplaceDefaultsSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceDefaultsSectionReader
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 defaults API
func (*Client) CreateDefaultsSection ¶ added in v1.1.0
func (a *Client) CreateDefaultsSection(params *CreateDefaultsSectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDefaultsSectionCreated, *CreateDefaultsSectionAccepted, error)
CreateDefaultsSection adds a defaults section
Adds a new defaults section to the configuration file.
func (*Client) DeleteDefaultsSection ¶ added in v1.1.0
func (a *Client) DeleteDefaultsSection(params *DeleteDefaultsSectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDefaultsSectionAccepted, *DeleteDefaultsSectionNoContent, error)
DeleteDefaultsSection deletes a defaults section
Deletes a defaults section from the configuration by it's name.
func (*Client) GetDefaults ¶
func (a *Client) GetDefaults(params *GetDefaultsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDefaultsOK, error)
GetDefaults returns defaults part of configuration
Returns defaults part of configuration, this has been deprecated, use named_defaults instead.
func (*Client) GetDefaultsSection ¶ added in v1.1.0
func (a *Client) GetDefaultsSection(params *GetDefaultsSectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDefaultsSectionOK, error)
GetDefaultsSection returns a defaults section
Returns one defaults section configuration by it's name.
func (*Client) GetDefaultsSections ¶ added in v1.1.0
func (a *Client) GetDefaultsSections(params *GetDefaultsSectionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDefaultsSectionsOK, error)
GetDefaultsSections returns an array of defaults
Returns an array of all configured defaults.
func (*Client) ReplaceDefaults ¶
func (a *Client) ReplaceDefaults(params *ReplaceDefaultsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceDefaultsOK, *ReplaceDefaultsAccepted, error)
ReplaceDefaults replaces defaults
Replace defaults part of config, this has been deprecated, use named_defaults instead.
func (*Client) ReplaceDefaultsSection ¶ added in v1.1.0
func (a *Client) ReplaceDefaultsSection(params *ReplaceDefaultsSectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceDefaultsSectionOK, *ReplaceDefaultsSectionAccepted, error)
ReplaceDefaultsSection replaces a defatults section
Replaces a defatults section configuration by it's name.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateDefaultsSection(params *CreateDefaultsSectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDefaultsSectionCreated, *CreateDefaultsSectionAccepted, error) DeleteDefaultsSection(params *DeleteDefaultsSectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDefaultsSectionAccepted, *DeleteDefaultsSectionNoContent, error) GetDefaults(params *GetDefaultsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDefaultsOK, error) GetDefaultsSection(params *GetDefaultsSectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDefaultsSectionOK, error) GetDefaultsSections(params *GetDefaultsSectionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDefaultsSectionsOK, error) ReplaceDefaults(params *ReplaceDefaultsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceDefaultsOK, *ReplaceDefaultsAccepted, error) ReplaceDefaultsSection(params *ReplaceDefaultsSectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceDefaultsSectionOK, *ReplaceDefaultsSectionAccepted, 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 defaults API client.
type CreateDefaultsSectionAccepted ¶ added in v1.1.0
type CreateDefaultsSectionAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.Defaults }
CreateDefaultsSectionAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewCreateDefaultsSectionAccepted ¶ added in v1.1.0
func NewCreateDefaultsSectionAccepted() *CreateDefaultsSectionAccepted
NewCreateDefaultsSectionAccepted creates a CreateDefaultsSectionAccepted with default headers values
func (*CreateDefaultsSectionAccepted) Code ¶ added in v1.1.5
func (o *CreateDefaultsSectionAccepted) Code() int
Code gets the status code for the create defaults section accepted response
func (*CreateDefaultsSectionAccepted) Error ¶ added in v1.1.0
func (o *CreateDefaultsSectionAccepted) Error() string
func (*CreateDefaultsSectionAccepted) GetPayload ¶ added in v1.1.0
func (o *CreateDefaultsSectionAccepted) GetPayload() *models.Defaults
func (*CreateDefaultsSectionAccepted) IsClientError ¶ added in v1.1.0
func (o *CreateDefaultsSectionAccepted) IsClientError() bool
IsClientError returns true when this create defaults section accepted response has a 4xx status code
func (*CreateDefaultsSectionAccepted) IsCode ¶ added in v1.1.0
func (o *CreateDefaultsSectionAccepted) IsCode(code int) bool
IsCode returns true when this create defaults section accepted response a status code equal to that given
func (*CreateDefaultsSectionAccepted) IsRedirect ¶ added in v1.1.0
func (o *CreateDefaultsSectionAccepted) IsRedirect() bool
IsRedirect returns true when this create defaults section accepted response has a 3xx status code
func (*CreateDefaultsSectionAccepted) IsServerError ¶ added in v1.1.0
func (o *CreateDefaultsSectionAccepted) IsServerError() bool
IsServerError returns true when this create defaults section accepted response has a 5xx status code
func (*CreateDefaultsSectionAccepted) IsSuccess ¶ added in v1.1.0
func (o *CreateDefaultsSectionAccepted) IsSuccess() bool
IsSuccess returns true when this create defaults section accepted response has a 2xx status code
func (*CreateDefaultsSectionAccepted) String ¶ added in v1.1.0
func (o *CreateDefaultsSectionAccepted) String() string
type CreateDefaultsSectionBadRequest ¶ added in v1.1.0
type CreateDefaultsSectionBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateDefaultsSectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateDefaultsSectionBadRequest ¶ added in v1.1.0
func NewCreateDefaultsSectionBadRequest() *CreateDefaultsSectionBadRequest
NewCreateDefaultsSectionBadRequest creates a CreateDefaultsSectionBadRequest with default headers values
func (*CreateDefaultsSectionBadRequest) Code ¶ added in v1.1.5
func (o *CreateDefaultsSectionBadRequest) Code() int
Code gets the status code for the create defaults section bad request response
func (*CreateDefaultsSectionBadRequest) Error ¶ added in v1.1.0
func (o *CreateDefaultsSectionBadRequest) Error() string
func (*CreateDefaultsSectionBadRequest) GetPayload ¶ added in v1.1.0
func (o *CreateDefaultsSectionBadRequest) GetPayload() *models.Error
func (*CreateDefaultsSectionBadRequest) IsClientError ¶ added in v1.1.0
func (o *CreateDefaultsSectionBadRequest) IsClientError() bool
IsClientError returns true when this create defaults section bad request response has a 4xx status code
func (*CreateDefaultsSectionBadRequest) IsCode ¶ added in v1.1.0
func (o *CreateDefaultsSectionBadRequest) IsCode(code int) bool
IsCode returns true when this create defaults section bad request response a status code equal to that given
func (*CreateDefaultsSectionBadRequest) IsRedirect ¶ added in v1.1.0
func (o *CreateDefaultsSectionBadRequest) IsRedirect() bool
IsRedirect returns true when this create defaults section bad request response has a 3xx status code
func (*CreateDefaultsSectionBadRequest) IsServerError ¶ added in v1.1.0
func (o *CreateDefaultsSectionBadRequest) IsServerError() bool
IsServerError returns true when this create defaults section bad request response has a 5xx status code
func (*CreateDefaultsSectionBadRequest) IsSuccess ¶ added in v1.1.0
func (o *CreateDefaultsSectionBadRequest) IsSuccess() bool
IsSuccess returns true when this create defaults section bad request response has a 2xx status code
func (*CreateDefaultsSectionBadRequest) String ¶ added in v1.1.0
func (o *CreateDefaultsSectionBadRequest) String() string
type CreateDefaultsSectionConflict ¶ added in v1.1.0
type CreateDefaultsSectionConflict struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateDefaultsSectionConflict describes a response with status code 409, with default header values.
The specified resource already exists
func NewCreateDefaultsSectionConflict ¶ added in v1.1.0
func NewCreateDefaultsSectionConflict() *CreateDefaultsSectionConflict
NewCreateDefaultsSectionConflict creates a CreateDefaultsSectionConflict with default headers values
func (*CreateDefaultsSectionConflict) Code ¶ added in v1.1.5
func (o *CreateDefaultsSectionConflict) Code() int
Code gets the status code for the create defaults section conflict response
func (*CreateDefaultsSectionConflict) Error ¶ added in v1.1.0
func (o *CreateDefaultsSectionConflict) Error() string
func (*CreateDefaultsSectionConflict) GetPayload ¶ added in v1.1.0
func (o *CreateDefaultsSectionConflict) GetPayload() *models.Error
func (*CreateDefaultsSectionConflict) IsClientError ¶ added in v1.1.0
func (o *CreateDefaultsSectionConflict) IsClientError() bool
IsClientError returns true when this create defaults section conflict response has a 4xx status code
func (*CreateDefaultsSectionConflict) IsCode ¶ added in v1.1.0
func (o *CreateDefaultsSectionConflict) IsCode(code int) bool
IsCode returns true when this create defaults section conflict response a status code equal to that given
func (*CreateDefaultsSectionConflict) IsRedirect ¶ added in v1.1.0
func (o *CreateDefaultsSectionConflict) IsRedirect() bool
IsRedirect returns true when this create defaults section conflict response has a 3xx status code
func (*CreateDefaultsSectionConflict) IsServerError ¶ added in v1.1.0
func (o *CreateDefaultsSectionConflict) IsServerError() bool
IsServerError returns true when this create defaults section conflict response has a 5xx status code
func (*CreateDefaultsSectionConflict) IsSuccess ¶ added in v1.1.0
func (o *CreateDefaultsSectionConflict) IsSuccess() bool
IsSuccess returns true when this create defaults section conflict response has a 2xx status code
func (*CreateDefaultsSectionConflict) String ¶ added in v1.1.0
func (o *CreateDefaultsSectionConflict) String() string
type CreateDefaultsSectionCreated ¶ added in v1.1.0
CreateDefaultsSectionCreated describes a response with status code 201, with default header values.
Defaults created
func NewCreateDefaultsSectionCreated ¶ added in v1.1.0
func NewCreateDefaultsSectionCreated() *CreateDefaultsSectionCreated
NewCreateDefaultsSectionCreated creates a CreateDefaultsSectionCreated with default headers values
func (*CreateDefaultsSectionCreated) Code ¶ added in v1.1.5
func (o *CreateDefaultsSectionCreated) Code() int
Code gets the status code for the create defaults section created response
func (*CreateDefaultsSectionCreated) Error ¶ added in v1.1.0
func (o *CreateDefaultsSectionCreated) Error() string
func (*CreateDefaultsSectionCreated) GetPayload ¶ added in v1.1.0
func (o *CreateDefaultsSectionCreated) GetPayload() *models.Defaults
func (*CreateDefaultsSectionCreated) IsClientError ¶ added in v1.1.0
func (o *CreateDefaultsSectionCreated) IsClientError() bool
IsClientError returns true when this create defaults section created response has a 4xx status code
func (*CreateDefaultsSectionCreated) IsCode ¶ added in v1.1.0
func (o *CreateDefaultsSectionCreated) IsCode(code int) bool
IsCode returns true when this create defaults section created response a status code equal to that given
func (*CreateDefaultsSectionCreated) IsRedirect ¶ added in v1.1.0
func (o *CreateDefaultsSectionCreated) IsRedirect() bool
IsRedirect returns true when this create defaults section created response has a 3xx status code
func (*CreateDefaultsSectionCreated) IsServerError ¶ added in v1.1.0
func (o *CreateDefaultsSectionCreated) IsServerError() bool
IsServerError returns true when this create defaults section created response has a 5xx status code
func (*CreateDefaultsSectionCreated) IsSuccess ¶ added in v1.1.0
func (o *CreateDefaultsSectionCreated) IsSuccess() bool
IsSuccess returns true when this create defaults section created response has a 2xx status code
func (*CreateDefaultsSectionCreated) String ¶ added in v1.1.0
func (o *CreateDefaultsSectionCreated) String() string
type CreateDefaultsSectionDefault ¶ added in v1.1.0
type CreateDefaultsSectionDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateDefaultsSectionDefault describes a response with status code -1, with default header values.
General Error
func NewCreateDefaultsSectionDefault ¶ added in v1.1.0
func NewCreateDefaultsSectionDefault(code int) *CreateDefaultsSectionDefault
NewCreateDefaultsSectionDefault creates a CreateDefaultsSectionDefault with default headers values
func (*CreateDefaultsSectionDefault) Code ¶ added in v1.1.0
func (o *CreateDefaultsSectionDefault) Code() int
Code gets the status code for the create defaults section default response
func (*CreateDefaultsSectionDefault) Error ¶ added in v1.1.0
func (o *CreateDefaultsSectionDefault) Error() string
func (*CreateDefaultsSectionDefault) GetPayload ¶ added in v1.1.0
func (o *CreateDefaultsSectionDefault) GetPayload() *models.Error
func (*CreateDefaultsSectionDefault) IsClientError ¶ added in v1.1.0
func (o *CreateDefaultsSectionDefault) IsClientError() bool
IsClientError returns true when this create defaults section default response has a 4xx status code
func (*CreateDefaultsSectionDefault) IsCode ¶ added in v1.1.0
func (o *CreateDefaultsSectionDefault) IsCode(code int) bool
IsCode returns true when this create defaults section default response a status code equal to that given
func (*CreateDefaultsSectionDefault) IsRedirect ¶ added in v1.1.0
func (o *CreateDefaultsSectionDefault) IsRedirect() bool
IsRedirect returns true when this create defaults section default response has a 3xx status code
func (*CreateDefaultsSectionDefault) IsServerError ¶ added in v1.1.0
func (o *CreateDefaultsSectionDefault) IsServerError() bool
IsServerError returns true when this create defaults section default response has a 5xx status code
func (*CreateDefaultsSectionDefault) IsSuccess ¶ added in v1.1.0
func (o *CreateDefaultsSectionDefault) IsSuccess() bool
IsSuccess returns true when this create defaults section default response has a 2xx status code
func (*CreateDefaultsSectionDefault) String ¶ added in v1.1.0
func (o *CreateDefaultsSectionDefault) String() string
type CreateDefaultsSectionParams ¶ added in v1.1.0
type CreateDefaultsSectionParams struct { // Data. Data *models.Defaults /* ForceReload. If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /* Version. Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDefaultsSectionParams contains all the parameters to send to the API endpoint
for the create defaults section operation. Typically these are written to a http.Request.
func NewCreateDefaultsSectionParams ¶ added in v1.1.0
func NewCreateDefaultsSectionParams() *CreateDefaultsSectionParams
NewCreateDefaultsSectionParams creates a new CreateDefaultsSectionParams 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 NewCreateDefaultsSectionParamsWithContext ¶ added in v1.1.0
func NewCreateDefaultsSectionParamsWithContext(ctx context.Context) *CreateDefaultsSectionParams
NewCreateDefaultsSectionParamsWithContext creates a new CreateDefaultsSectionParams object with the ability to set a context for a request.
func NewCreateDefaultsSectionParamsWithHTTPClient ¶ added in v1.1.0
func NewCreateDefaultsSectionParamsWithHTTPClient(client *http.Client) *CreateDefaultsSectionParams
NewCreateDefaultsSectionParamsWithHTTPClient creates a new CreateDefaultsSectionParams object with the ability to set a custom HTTPClient for a request.
func NewCreateDefaultsSectionParamsWithTimeout ¶ added in v1.1.0
func NewCreateDefaultsSectionParamsWithTimeout(timeout time.Duration) *CreateDefaultsSectionParams
NewCreateDefaultsSectionParamsWithTimeout creates a new CreateDefaultsSectionParams object with the ability to set a timeout on a request.
func (*CreateDefaultsSectionParams) SetContext ¶ added in v1.1.0
func (o *CreateDefaultsSectionParams) SetContext(ctx context.Context)
SetContext adds the context to the create defaults section params
func (*CreateDefaultsSectionParams) SetData ¶ added in v1.1.0
func (o *CreateDefaultsSectionParams) SetData(data *models.Defaults)
SetData adds the data to the create defaults section params
func (*CreateDefaultsSectionParams) SetDefaults ¶ added in v1.1.0
func (o *CreateDefaultsSectionParams) SetDefaults()
SetDefaults hydrates default values in the create defaults section params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDefaultsSectionParams) SetForceReload ¶ added in v1.1.0
func (o *CreateDefaultsSectionParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the create defaults section params
func (*CreateDefaultsSectionParams) SetHTTPClient ¶ added in v1.1.0
func (o *CreateDefaultsSectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create defaults section params
func (*CreateDefaultsSectionParams) SetTimeout ¶ added in v1.1.0
func (o *CreateDefaultsSectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create defaults section params
func (*CreateDefaultsSectionParams) SetTransactionID ¶ added in v1.1.0
func (o *CreateDefaultsSectionParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the create defaults section params
func (*CreateDefaultsSectionParams) SetVersion ¶ added in v1.1.0
func (o *CreateDefaultsSectionParams) SetVersion(version *int64)
SetVersion adds the version to the create defaults section params
func (*CreateDefaultsSectionParams) WithContext ¶ added in v1.1.0
func (o *CreateDefaultsSectionParams) WithContext(ctx context.Context) *CreateDefaultsSectionParams
WithContext adds the context to the create defaults section params
func (*CreateDefaultsSectionParams) WithData ¶ added in v1.1.0
func (o *CreateDefaultsSectionParams) WithData(data *models.Defaults) *CreateDefaultsSectionParams
WithData adds the data to the create defaults section params
func (*CreateDefaultsSectionParams) WithDefaults ¶ added in v1.1.0
func (o *CreateDefaultsSectionParams) WithDefaults() *CreateDefaultsSectionParams
WithDefaults hydrates default values in the create defaults section params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDefaultsSectionParams) WithForceReload ¶ added in v1.1.0
func (o *CreateDefaultsSectionParams) WithForceReload(forceReload *bool) *CreateDefaultsSectionParams
WithForceReload adds the forceReload to the create defaults section params
func (*CreateDefaultsSectionParams) WithHTTPClient ¶ added in v1.1.0
func (o *CreateDefaultsSectionParams) WithHTTPClient(client *http.Client) *CreateDefaultsSectionParams
WithHTTPClient adds the HTTPClient to the create defaults section params
func (*CreateDefaultsSectionParams) WithTimeout ¶ added in v1.1.0
func (o *CreateDefaultsSectionParams) WithTimeout(timeout time.Duration) *CreateDefaultsSectionParams
WithTimeout adds the timeout to the create defaults section params
func (*CreateDefaultsSectionParams) WithTransactionID ¶ added in v1.1.0
func (o *CreateDefaultsSectionParams) WithTransactionID(transactionID *string) *CreateDefaultsSectionParams
WithTransactionID adds the transactionID to the create defaults section params
func (*CreateDefaultsSectionParams) WithVersion ¶ added in v1.1.0
func (o *CreateDefaultsSectionParams) WithVersion(version *int64) *CreateDefaultsSectionParams
WithVersion adds the version to the create defaults section params
func (*CreateDefaultsSectionParams) WriteToRequest ¶ added in v1.1.0
func (o *CreateDefaultsSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDefaultsSectionReader ¶ added in v1.1.0
type CreateDefaultsSectionReader struct {
// contains filtered or unexported fields
}
CreateDefaultsSectionReader is a Reader for the CreateDefaultsSection structure.
func (*CreateDefaultsSectionReader) ReadResponse ¶ added in v1.1.0
func (o *CreateDefaultsSectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDefaultsSectionAccepted ¶ added in v1.1.0
type DeleteDefaultsSectionAccepted struct { /* ID of the requested reload */ ReloadID string }
DeleteDefaultsSectionAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewDeleteDefaultsSectionAccepted ¶ added in v1.1.0
func NewDeleteDefaultsSectionAccepted() *DeleteDefaultsSectionAccepted
NewDeleteDefaultsSectionAccepted creates a DeleteDefaultsSectionAccepted with default headers values
func (*DeleteDefaultsSectionAccepted) Code ¶ added in v1.1.5
func (o *DeleteDefaultsSectionAccepted) Code() int
Code gets the status code for the delete defaults section accepted response
func (*DeleteDefaultsSectionAccepted) Error ¶ added in v1.1.0
func (o *DeleteDefaultsSectionAccepted) Error() string
func (*DeleteDefaultsSectionAccepted) IsClientError ¶ added in v1.1.0
func (o *DeleteDefaultsSectionAccepted) IsClientError() bool
IsClientError returns true when this delete defaults section accepted response has a 4xx status code
func (*DeleteDefaultsSectionAccepted) IsCode ¶ added in v1.1.0
func (o *DeleteDefaultsSectionAccepted) IsCode(code int) bool
IsCode returns true when this delete defaults section accepted response a status code equal to that given
func (*DeleteDefaultsSectionAccepted) IsRedirect ¶ added in v1.1.0
func (o *DeleteDefaultsSectionAccepted) IsRedirect() bool
IsRedirect returns true when this delete defaults section accepted response has a 3xx status code
func (*DeleteDefaultsSectionAccepted) IsServerError ¶ added in v1.1.0
func (o *DeleteDefaultsSectionAccepted) IsServerError() bool
IsServerError returns true when this delete defaults section accepted response has a 5xx status code
func (*DeleteDefaultsSectionAccepted) IsSuccess ¶ added in v1.1.0
func (o *DeleteDefaultsSectionAccepted) IsSuccess() bool
IsSuccess returns true when this delete defaults section accepted response has a 2xx status code
func (*DeleteDefaultsSectionAccepted) String ¶ added in v1.1.0
func (o *DeleteDefaultsSectionAccepted) String() string
type DeleteDefaultsSectionDefault ¶ added in v1.1.0
type DeleteDefaultsSectionDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
DeleteDefaultsSectionDefault describes a response with status code -1, with default header values.
General Error
func NewDeleteDefaultsSectionDefault ¶ added in v1.1.0
func NewDeleteDefaultsSectionDefault(code int) *DeleteDefaultsSectionDefault
NewDeleteDefaultsSectionDefault creates a DeleteDefaultsSectionDefault with default headers values
func (*DeleteDefaultsSectionDefault) Code ¶ added in v1.1.0
func (o *DeleteDefaultsSectionDefault) Code() int
Code gets the status code for the delete defaults section default response
func (*DeleteDefaultsSectionDefault) Error ¶ added in v1.1.0
func (o *DeleteDefaultsSectionDefault) Error() string
func (*DeleteDefaultsSectionDefault) GetPayload ¶ added in v1.1.0
func (o *DeleteDefaultsSectionDefault) GetPayload() *models.Error
func (*DeleteDefaultsSectionDefault) IsClientError ¶ added in v1.1.0
func (o *DeleteDefaultsSectionDefault) IsClientError() bool
IsClientError returns true when this delete defaults section default response has a 4xx status code
func (*DeleteDefaultsSectionDefault) IsCode ¶ added in v1.1.0
func (o *DeleteDefaultsSectionDefault) IsCode(code int) bool
IsCode returns true when this delete defaults section default response a status code equal to that given
func (*DeleteDefaultsSectionDefault) IsRedirect ¶ added in v1.1.0
func (o *DeleteDefaultsSectionDefault) IsRedirect() bool
IsRedirect returns true when this delete defaults section default response has a 3xx status code
func (*DeleteDefaultsSectionDefault) IsServerError ¶ added in v1.1.0
func (o *DeleteDefaultsSectionDefault) IsServerError() bool
IsServerError returns true when this delete defaults section default response has a 5xx status code
func (*DeleteDefaultsSectionDefault) IsSuccess ¶ added in v1.1.0
func (o *DeleteDefaultsSectionDefault) IsSuccess() bool
IsSuccess returns true when this delete defaults section default response has a 2xx status code
func (*DeleteDefaultsSectionDefault) String ¶ added in v1.1.0
func (o *DeleteDefaultsSectionDefault) String() string
type DeleteDefaultsSectionNoContent ¶ added in v1.1.0
type DeleteDefaultsSectionNoContent struct { }
DeleteDefaultsSectionNoContent describes a response with status code 204, with default header values.
Defaults section deleted
func NewDeleteDefaultsSectionNoContent ¶ added in v1.1.0
func NewDeleteDefaultsSectionNoContent() *DeleteDefaultsSectionNoContent
NewDeleteDefaultsSectionNoContent creates a DeleteDefaultsSectionNoContent with default headers values
func (*DeleteDefaultsSectionNoContent) Code ¶ added in v1.1.5
func (o *DeleteDefaultsSectionNoContent) Code() int
Code gets the status code for the delete defaults section no content response
func (*DeleteDefaultsSectionNoContent) Error ¶ added in v1.1.0
func (o *DeleteDefaultsSectionNoContent) Error() string
func (*DeleteDefaultsSectionNoContent) IsClientError ¶ added in v1.1.0
func (o *DeleteDefaultsSectionNoContent) IsClientError() bool
IsClientError returns true when this delete defaults section no content response has a 4xx status code
func (*DeleteDefaultsSectionNoContent) IsCode ¶ added in v1.1.0
func (o *DeleteDefaultsSectionNoContent) IsCode(code int) bool
IsCode returns true when this delete defaults section no content response a status code equal to that given
func (*DeleteDefaultsSectionNoContent) IsRedirect ¶ added in v1.1.0
func (o *DeleteDefaultsSectionNoContent) IsRedirect() bool
IsRedirect returns true when this delete defaults section no content response has a 3xx status code
func (*DeleteDefaultsSectionNoContent) IsServerError ¶ added in v1.1.0
func (o *DeleteDefaultsSectionNoContent) IsServerError() bool
IsServerError returns true when this delete defaults section no content response has a 5xx status code
func (*DeleteDefaultsSectionNoContent) IsSuccess ¶ added in v1.1.0
func (o *DeleteDefaultsSectionNoContent) IsSuccess() bool
IsSuccess returns true when this delete defaults section no content response has a 2xx status code
func (*DeleteDefaultsSectionNoContent) String ¶ added in v1.1.0
func (o *DeleteDefaultsSectionNoContent) String() string
type DeleteDefaultsSectionNotFound ¶ added in v1.1.0
type DeleteDefaultsSectionNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteDefaultsSectionNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewDeleteDefaultsSectionNotFound ¶ added in v1.1.0
func NewDeleteDefaultsSectionNotFound() *DeleteDefaultsSectionNotFound
NewDeleteDefaultsSectionNotFound creates a DeleteDefaultsSectionNotFound with default headers values
func (*DeleteDefaultsSectionNotFound) Code ¶ added in v1.1.5
func (o *DeleteDefaultsSectionNotFound) Code() int
Code gets the status code for the delete defaults section not found response
func (*DeleteDefaultsSectionNotFound) Error ¶ added in v1.1.0
func (o *DeleteDefaultsSectionNotFound) Error() string
func (*DeleteDefaultsSectionNotFound) GetPayload ¶ added in v1.1.0
func (o *DeleteDefaultsSectionNotFound) GetPayload() *models.Error
func (*DeleteDefaultsSectionNotFound) IsClientError ¶ added in v1.1.0
func (o *DeleteDefaultsSectionNotFound) IsClientError() bool
IsClientError returns true when this delete defaults section not found response has a 4xx status code
func (*DeleteDefaultsSectionNotFound) IsCode ¶ added in v1.1.0
func (o *DeleteDefaultsSectionNotFound) IsCode(code int) bool
IsCode returns true when this delete defaults section not found response a status code equal to that given
func (*DeleteDefaultsSectionNotFound) IsRedirect ¶ added in v1.1.0
func (o *DeleteDefaultsSectionNotFound) IsRedirect() bool
IsRedirect returns true when this delete defaults section not found response has a 3xx status code
func (*DeleteDefaultsSectionNotFound) IsServerError ¶ added in v1.1.0
func (o *DeleteDefaultsSectionNotFound) IsServerError() bool
IsServerError returns true when this delete defaults section not found response has a 5xx status code
func (*DeleteDefaultsSectionNotFound) IsSuccess ¶ added in v1.1.0
func (o *DeleteDefaultsSectionNotFound) IsSuccess() bool
IsSuccess returns true when this delete defaults section not found response has a 2xx status code
func (*DeleteDefaultsSectionNotFound) String ¶ added in v1.1.0
func (o *DeleteDefaultsSectionNotFound) String() string
type DeleteDefaultsSectionParams ¶ added in v1.1.0
type DeleteDefaultsSectionParams struct { /* ForceReload. If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /* Name. Defaults name */ Name string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /* Version. Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDefaultsSectionParams contains all the parameters to send to the API endpoint
for the delete defaults section operation. Typically these are written to a http.Request.
func NewDeleteDefaultsSectionParams ¶ added in v1.1.0
func NewDeleteDefaultsSectionParams() *DeleteDefaultsSectionParams
NewDeleteDefaultsSectionParams creates a new DeleteDefaultsSectionParams 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 NewDeleteDefaultsSectionParamsWithContext ¶ added in v1.1.0
func NewDeleteDefaultsSectionParamsWithContext(ctx context.Context) *DeleteDefaultsSectionParams
NewDeleteDefaultsSectionParamsWithContext creates a new DeleteDefaultsSectionParams object with the ability to set a context for a request.
func NewDeleteDefaultsSectionParamsWithHTTPClient ¶ added in v1.1.0
func NewDeleteDefaultsSectionParamsWithHTTPClient(client *http.Client) *DeleteDefaultsSectionParams
NewDeleteDefaultsSectionParamsWithHTTPClient creates a new DeleteDefaultsSectionParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteDefaultsSectionParamsWithTimeout ¶ added in v1.1.0
func NewDeleteDefaultsSectionParamsWithTimeout(timeout time.Duration) *DeleteDefaultsSectionParams
NewDeleteDefaultsSectionParamsWithTimeout creates a new DeleteDefaultsSectionParams object with the ability to set a timeout on a request.
func (*DeleteDefaultsSectionParams) SetContext ¶ added in v1.1.0
func (o *DeleteDefaultsSectionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete defaults section params
func (*DeleteDefaultsSectionParams) SetDefaults ¶ added in v1.1.0
func (o *DeleteDefaultsSectionParams) SetDefaults()
SetDefaults hydrates default values in the delete defaults section params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDefaultsSectionParams) SetForceReload ¶ added in v1.1.0
func (o *DeleteDefaultsSectionParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the delete defaults section params
func (*DeleteDefaultsSectionParams) SetHTTPClient ¶ added in v1.1.0
func (o *DeleteDefaultsSectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete defaults section params
func (*DeleteDefaultsSectionParams) SetName ¶ added in v1.1.0
func (o *DeleteDefaultsSectionParams) SetName(name string)
SetName adds the name to the delete defaults section params
func (*DeleteDefaultsSectionParams) SetTimeout ¶ added in v1.1.0
func (o *DeleteDefaultsSectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete defaults section params
func (*DeleteDefaultsSectionParams) SetTransactionID ¶ added in v1.1.0
func (o *DeleteDefaultsSectionParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the delete defaults section params
func (*DeleteDefaultsSectionParams) SetVersion ¶ added in v1.1.0
func (o *DeleteDefaultsSectionParams) SetVersion(version *int64)
SetVersion adds the version to the delete defaults section params
func (*DeleteDefaultsSectionParams) WithContext ¶ added in v1.1.0
func (o *DeleteDefaultsSectionParams) WithContext(ctx context.Context) *DeleteDefaultsSectionParams
WithContext adds the context to the delete defaults section params
func (*DeleteDefaultsSectionParams) WithDefaults ¶ added in v1.1.0
func (o *DeleteDefaultsSectionParams) WithDefaults() *DeleteDefaultsSectionParams
WithDefaults hydrates default values in the delete defaults section params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDefaultsSectionParams) WithForceReload ¶ added in v1.1.0
func (o *DeleteDefaultsSectionParams) WithForceReload(forceReload *bool) *DeleteDefaultsSectionParams
WithForceReload adds the forceReload to the delete defaults section params
func (*DeleteDefaultsSectionParams) WithHTTPClient ¶ added in v1.1.0
func (o *DeleteDefaultsSectionParams) WithHTTPClient(client *http.Client) *DeleteDefaultsSectionParams
WithHTTPClient adds the HTTPClient to the delete defaults section params
func (*DeleteDefaultsSectionParams) WithName ¶ added in v1.1.0
func (o *DeleteDefaultsSectionParams) WithName(name string) *DeleteDefaultsSectionParams
WithName adds the name to the delete defaults section params
func (*DeleteDefaultsSectionParams) WithTimeout ¶ added in v1.1.0
func (o *DeleteDefaultsSectionParams) WithTimeout(timeout time.Duration) *DeleteDefaultsSectionParams
WithTimeout adds the timeout to the delete defaults section params
func (*DeleteDefaultsSectionParams) WithTransactionID ¶ added in v1.1.0
func (o *DeleteDefaultsSectionParams) WithTransactionID(transactionID *string) *DeleteDefaultsSectionParams
WithTransactionID adds the transactionID to the delete defaults section params
func (*DeleteDefaultsSectionParams) WithVersion ¶ added in v1.1.0
func (o *DeleteDefaultsSectionParams) WithVersion(version *int64) *DeleteDefaultsSectionParams
WithVersion adds the version to the delete defaults section params
func (*DeleteDefaultsSectionParams) WriteToRequest ¶ added in v1.1.0
func (o *DeleteDefaultsSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDefaultsSectionReader ¶ added in v1.1.0
type DeleteDefaultsSectionReader struct {
// contains filtered or unexported fields
}
DeleteDefaultsSectionReader is a Reader for the DeleteDefaultsSection structure.
func (*DeleteDefaultsSectionReader) ReadResponse ¶ added in v1.1.0
func (o *DeleteDefaultsSectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDefaultsDefault ¶
type GetDefaultsDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetDefaultsDefault describes a response with status code -1, with default header values.
General Error
func NewGetDefaultsDefault ¶
func NewGetDefaultsDefault(code int) *GetDefaultsDefault
NewGetDefaultsDefault creates a GetDefaultsDefault with default headers values
func (*GetDefaultsDefault) Code ¶
func (o *GetDefaultsDefault) Code() int
Code gets the status code for the get defaults default response
func (*GetDefaultsDefault) Error ¶
func (o *GetDefaultsDefault) Error() string
func (*GetDefaultsDefault) GetPayload ¶
func (o *GetDefaultsDefault) GetPayload() *models.Error
func (*GetDefaultsDefault) IsClientError ¶ added in v1.1.0
func (o *GetDefaultsDefault) IsClientError() bool
IsClientError returns true when this get defaults default response has a 4xx status code
func (*GetDefaultsDefault) IsCode ¶ added in v1.1.0
func (o *GetDefaultsDefault) IsCode(code int) bool
IsCode returns true when this get defaults default response a status code equal to that given
func (*GetDefaultsDefault) IsRedirect ¶ added in v1.1.0
func (o *GetDefaultsDefault) IsRedirect() bool
IsRedirect returns true when this get defaults default response has a 3xx status code
func (*GetDefaultsDefault) IsServerError ¶ added in v1.1.0
func (o *GetDefaultsDefault) IsServerError() bool
IsServerError returns true when this get defaults default response has a 5xx status code
func (*GetDefaultsDefault) IsSuccess ¶ added in v1.1.0
func (o *GetDefaultsDefault) IsSuccess() bool
IsSuccess returns true when this get defaults default response has a 2xx status code
func (*GetDefaultsDefault) String ¶ added in v1.1.0
func (o *GetDefaultsDefault) String() string
type GetDefaultsOK ¶
type GetDefaultsOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetDefaultsOKBody }
GetDefaultsOK describes a response with status code 200, with default header values.
Successful operation
func NewGetDefaultsOK ¶
func NewGetDefaultsOK() *GetDefaultsOK
NewGetDefaultsOK creates a GetDefaultsOK with default headers values
func (*GetDefaultsOK) Code ¶ added in v1.1.5
func (o *GetDefaultsOK) Code() int
Code gets the status code for the get defaults o k response
func (*GetDefaultsOK) Error ¶
func (o *GetDefaultsOK) Error() string
func (*GetDefaultsOK) GetPayload ¶
func (o *GetDefaultsOK) GetPayload() *GetDefaultsOKBody
func (*GetDefaultsOK) IsClientError ¶ added in v1.1.0
func (o *GetDefaultsOK) IsClientError() bool
IsClientError returns true when this get defaults o k response has a 4xx status code
func (*GetDefaultsOK) IsCode ¶ added in v1.1.0
func (o *GetDefaultsOK) IsCode(code int) bool
IsCode returns true when this get defaults o k response a status code equal to that given
func (*GetDefaultsOK) IsRedirect ¶ added in v1.1.0
func (o *GetDefaultsOK) IsRedirect() bool
IsRedirect returns true when this get defaults o k response has a 3xx status code
func (*GetDefaultsOK) IsServerError ¶ added in v1.1.0
func (o *GetDefaultsOK) IsServerError() bool
IsServerError returns true when this get defaults o k response has a 5xx status code
func (*GetDefaultsOK) IsSuccess ¶ added in v1.1.0
func (o *GetDefaultsOK) IsSuccess() bool
IsSuccess returns true when this get defaults o k response has a 2xx status code
func (*GetDefaultsOK) String ¶ added in v1.1.0
func (o *GetDefaultsOK) String() string
type GetDefaultsOKBody ¶
type GetDefaultsOKBody struct { // version Version int64 `json:"_version,omitempty"` // data Data *models.Defaults `json:"data,omitempty"` }
GetDefaultsOKBody get defaults o k body swagger:model GetDefaultsOKBody
func (*GetDefaultsOKBody) ContextValidate ¶
ContextValidate validate this get defaults o k body based on the context it is used
func (*GetDefaultsOKBody) MarshalBinary ¶
func (o *GetDefaultsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDefaultsOKBody) UnmarshalBinary ¶
func (o *GetDefaultsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDefaultsParams ¶
type GetDefaultsParams struct { /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDefaultsParams contains all the parameters to send to the API endpoint
for the get defaults operation. Typically these are written to a http.Request.
func NewGetDefaultsParams ¶
func NewGetDefaultsParams() *GetDefaultsParams
NewGetDefaultsParams creates a new GetDefaultsParams 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 NewGetDefaultsParamsWithContext ¶
func NewGetDefaultsParamsWithContext(ctx context.Context) *GetDefaultsParams
NewGetDefaultsParamsWithContext creates a new GetDefaultsParams object with the ability to set a context for a request.
func NewGetDefaultsParamsWithHTTPClient ¶
func NewGetDefaultsParamsWithHTTPClient(client *http.Client) *GetDefaultsParams
NewGetDefaultsParamsWithHTTPClient creates a new GetDefaultsParams object with the ability to set a custom HTTPClient for a request.
func NewGetDefaultsParamsWithTimeout ¶
func NewGetDefaultsParamsWithTimeout(timeout time.Duration) *GetDefaultsParams
NewGetDefaultsParamsWithTimeout creates a new GetDefaultsParams object with the ability to set a timeout on a request.
func (*GetDefaultsParams) SetContext ¶
func (o *GetDefaultsParams) SetContext(ctx context.Context)
SetContext adds the context to the get defaults params
func (*GetDefaultsParams) SetDefaults ¶
func (o *GetDefaultsParams) SetDefaults()
SetDefaults hydrates default values in the get defaults params (not the query body).
All values with no default are reset to their zero value.
func (*GetDefaultsParams) SetHTTPClient ¶
func (o *GetDefaultsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get defaults params
func (*GetDefaultsParams) SetTimeout ¶
func (o *GetDefaultsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get defaults params
func (*GetDefaultsParams) SetTransactionID ¶
func (o *GetDefaultsParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get defaults params
func (*GetDefaultsParams) WithContext ¶
func (o *GetDefaultsParams) WithContext(ctx context.Context) *GetDefaultsParams
WithContext adds the context to the get defaults params
func (*GetDefaultsParams) WithDefaults ¶
func (o *GetDefaultsParams) WithDefaults() *GetDefaultsParams
WithDefaults hydrates default values in the get defaults params (not the query body).
All values with no default are reset to their zero value.
func (*GetDefaultsParams) WithHTTPClient ¶
func (o *GetDefaultsParams) WithHTTPClient(client *http.Client) *GetDefaultsParams
WithHTTPClient adds the HTTPClient to the get defaults params
func (*GetDefaultsParams) WithTimeout ¶
func (o *GetDefaultsParams) WithTimeout(timeout time.Duration) *GetDefaultsParams
WithTimeout adds the timeout to the get defaults params
func (*GetDefaultsParams) WithTransactionID ¶
func (o *GetDefaultsParams) WithTransactionID(transactionID *string) *GetDefaultsParams
WithTransactionID adds the transactionID to the get defaults params
func (*GetDefaultsParams) WriteToRequest ¶
func (o *GetDefaultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDefaultsReader ¶
type GetDefaultsReader struct {
// contains filtered or unexported fields
}
GetDefaultsReader is a Reader for the GetDefaults structure.
func (*GetDefaultsReader) ReadResponse ¶
func (o *GetDefaultsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDefaultsSectionDefault ¶ added in v1.1.0
type GetDefaultsSectionDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetDefaultsSectionDefault describes a response with status code -1, with default header values.
General Error
func NewGetDefaultsSectionDefault ¶ added in v1.1.0
func NewGetDefaultsSectionDefault(code int) *GetDefaultsSectionDefault
NewGetDefaultsSectionDefault creates a GetDefaultsSectionDefault with default headers values
func (*GetDefaultsSectionDefault) Code ¶ added in v1.1.0
func (o *GetDefaultsSectionDefault) Code() int
Code gets the status code for the get defaults section default response
func (*GetDefaultsSectionDefault) Error ¶ added in v1.1.0
func (o *GetDefaultsSectionDefault) Error() string
func (*GetDefaultsSectionDefault) GetPayload ¶ added in v1.1.0
func (o *GetDefaultsSectionDefault) GetPayload() *models.Error
func (*GetDefaultsSectionDefault) IsClientError ¶ added in v1.1.0
func (o *GetDefaultsSectionDefault) IsClientError() bool
IsClientError returns true when this get defaults section default response has a 4xx status code
func (*GetDefaultsSectionDefault) IsCode ¶ added in v1.1.0
func (o *GetDefaultsSectionDefault) IsCode(code int) bool
IsCode returns true when this get defaults section default response a status code equal to that given
func (*GetDefaultsSectionDefault) IsRedirect ¶ added in v1.1.0
func (o *GetDefaultsSectionDefault) IsRedirect() bool
IsRedirect returns true when this get defaults section default response has a 3xx status code
func (*GetDefaultsSectionDefault) IsServerError ¶ added in v1.1.0
func (o *GetDefaultsSectionDefault) IsServerError() bool
IsServerError returns true when this get defaults section default response has a 5xx status code
func (*GetDefaultsSectionDefault) IsSuccess ¶ added in v1.1.0
func (o *GetDefaultsSectionDefault) IsSuccess() bool
IsSuccess returns true when this get defaults section default response has a 2xx status code
func (*GetDefaultsSectionDefault) String ¶ added in v1.1.0
func (o *GetDefaultsSectionDefault) String() string
type GetDefaultsSectionNotFound ¶ added in v1.1.0
type GetDefaultsSectionNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetDefaultsSectionNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewGetDefaultsSectionNotFound ¶ added in v1.1.0
func NewGetDefaultsSectionNotFound() *GetDefaultsSectionNotFound
NewGetDefaultsSectionNotFound creates a GetDefaultsSectionNotFound with default headers values
func (*GetDefaultsSectionNotFound) Code ¶ added in v1.1.5
func (o *GetDefaultsSectionNotFound) Code() int
Code gets the status code for the get defaults section not found response
func (*GetDefaultsSectionNotFound) Error ¶ added in v1.1.0
func (o *GetDefaultsSectionNotFound) Error() string
func (*GetDefaultsSectionNotFound) GetPayload ¶ added in v1.1.0
func (o *GetDefaultsSectionNotFound) GetPayload() *models.Error
func (*GetDefaultsSectionNotFound) IsClientError ¶ added in v1.1.0
func (o *GetDefaultsSectionNotFound) IsClientError() bool
IsClientError returns true when this get defaults section not found response has a 4xx status code
func (*GetDefaultsSectionNotFound) IsCode ¶ added in v1.1.0
func (o *GetDefaultsSectionNotFound) IsCode(code int) bool
IsCode returns true when this get defaults section not found response a status code equal to that given
func (*GetDefaultsSectionNotFound) IsRedirect ¶ added in v1.1.0
func (o *GetDefaultsSectionNotFound) IsRedirect() bool
IsRedirect returns true when this get defaults section not found response has a 3xx status code
func (*GetDefaultsSectionNotFound) IsServerError ¶ added in v1.1.0
func (o *GetDefaultsSectionNotFound) IsServerError() bool
IsServerError returns true when this get defaults section not found response has a 5xx status code
func (*GetDefaultsSectionNotFound) IsSuccess ¶ added in v1.1.0
func (o *GetDefaultsSectionNotFound) IsSuccess() bool
IsSuccess returns true when this get defaults section not found response has a 2xx status code
func (*GetDefaultsSectionNotFound) String ¶ added in v1.1.0
func (o *GetDefaultsSectionNotFound) String() string
type GetDefaultsSectionOK ¶ added in v1.1.0
type GetDefaultsSectionOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetDefaultsSectionOKBody }
GetDefaultsSectionOK describes a response with status code 200, with default header values.
Successful operation
func NewGetDefaultsSectionOK ¶ added in v1.1.0
func NewGetDefaultsSectionOK() *GetDefaultsSectionOK
NewGetDefaultsSectionOK creates a GetDefaultsSectionOK with default headers values
func (*GetDefaultsSectionOK) Code ¶ added in v1.1.5
func (o *GetDefaultsSectionOK) Code() int
Code gets the status code for the get defaults section o k response
func (*GetDefaultsSectionOK) Error ¶ added in v1.1.0
func (o *GetDefaultsSectionOK) Error() string
func (*GetDefaultsSectionOK) GetPayload ¶ added in v1.1.0
func (o *GetDefaultsSectionOK) GetPayload() *GetDefaultsSectionOKBody
func (*GetDefaultsSectionOK) IsClientError ¶ added in v1.1.0
func (o *GetDefaultsSectionOK) IsClientError() bool
IsClientError returns true when this get defaults section o k response has a 4xx status code
func (*GetDefaultsSectionOK) IsCode ¶ added in v1.1.0
func (o *GetDefaultsSectionOK) IsCode(code int) bool
IsCode returns true when this get defaults section o k response a status code equal to that given
func (*GetDefaultsSectionOK) IsRedirect ¶ added in v1.1.0
func (o *GetDefaultsSectionOK) IsRedirect() bool
IsRedirect returns true when this get defaults section o k response has a 3xx status code
func (*GetDefaultsSectionOK) IsServerError ¶ added in v1.1.0
func (o *GetDefaultsSectionOK) IsServerError() bool
IsServerError returns true when this get defaults section o k response has a 5xx status code
func (*GetDefaultsSectionOK) IsSuccess ¶ added in v1.1.0
func (o *GetDefaultsSectionOK) IsSuccess() bool
IsSuccess returns true when this get defaults section o k response has a 2xx status code
func (*GetDefaultsSectionOK) String ¶ added in v1.1.0
func (o *GetDefaultsSectionOK) String() string
type GetDefaultsSectionOKBody ¶ added in v1.1.0
type GetDefaultsSectionOKBody struct { // version Version int64 `json:"_version,omitempty"` // data Data *models.Defaults `json:"data,omitempty"` }
GetDefaultsSectionOKBody get defaults section o k body swagger:model GetDefaultsSectionOKBody
func (*GetDefaultsSectionOKBody) ContextValidate ¶ added in v1.1.0
func (o *GetDefaultsSectionOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get defaults section o k body based on the context it is used
func (*GetDefaultsSectionOKBody) MarshalBinary ¶ added in v1.1.0
func (o *GetDefaultsSectionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDefaultsSectionOKBody) UnmarshalBinary ¶ added in v1.1.0
func (o *GetDefaultsSectionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDefaultsSectionParams ¶ added in v1.1.0
type GetDefaultsSectionParams struct { /* Name. Defaults name */ Name string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDefaultsSectionParams contains all the parameters to send to the API endpoint
for the get defaults section operation. Typically these are written to a http.Request.
func NewGetDefaultsSectionParams ¶ added in v1.1.0
func NewGetDefaultsSectionParams() *GetDefaultsSectionParams
NewGetDefaultsSectionParams creates a new GetDefaultsSectionParams 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 NewGetDefaultsSectionParamsWithContext ¶ added in v1.1.0
func NewGetDefaultsSectionParamsWithContext(ctx context.Context) *GetDefaultsSectionParams
NewGetDefaultsSectionParamsWithContext creates a new GetDefaultsSectionParams object with the ability to set a context for a request.
func NewGetDefaultsSectionParamsWithHTTPClient ¶ added in v1.1.0
func NewGetDefaultsSectionParamsWithHTTPClient(client *http.Client) *GetDefaultsSectionParams
NewGetDefaultsSectionParamsWithHTTPClient creates a new GetDefaultsSectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetDefaultsSectionParamsWithTimeout ¶ added in v1.1.0
func NewGetDefaultsSectionParamsWithTimeout(timeout time.Duration) *GetDefaultsSectionParams
NewGetDefaultsSectionParamsWithTimeout creates a new GetDefaultsSectionParams object with the ability to set a timeout on a request.
func (*GetDefaultsSectionParams) SetContext ¶ added in v1.1.0
func (o *GetDefaultsSectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get defaults section params
func (*GetDefaultsSectionParams) SetDefaults ¶ added in v1.1.0
func (o *GetDefaultsSectionParams) SetDefaults()
SetDefaults hydrates default values in the get defaults section params (not the query body).
All values with no default are reset to their zero value.
func (*GetDefaultsSectionParams) SetHTTPClient ¶ added in v1.1.0
func (o *GetDefaultsSectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get defaults section params
func (*GetDefaultsSectionParams) SetName ¶ added in v1.1.0
func (o *GetDefaultsSectionParams) SetName(name string)
SetName adds the name to the get defaults section params
func (*GetDefaultsSectionParams) SetTimeout ¶ added in v1.1.0
func (o *GetDefaultsSectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get defaults section params
func (*GetDefaultsSectionParams) SetTransactionID ¶ added in v1.1.0
func (o *GetDefaultsSectionParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get defaults section params
func (*GetDefaultsSectionParams) WithContext ¶ added in v1.1.0
func (o *GetDefaultsSectionParams) WithContext(ctx context.Context) *GetDefaultsSectionParams
WithContext adds the context to the get defaults section params
func (*GetDefaultsSectionParams) WithDefaults ¶ added in v1.1.0
func (o *GetDefaultsSectionParams) WithDefaults() *GetDefaultsSectionParams
WithDefaults hydrates default values in the get defaults section params (not the query body).
All values with no default are reset to their zero value.
func (*GetDefaultsSectionParams) WithHTTPClient ¶ added in v1.1.0
func (o *GetDefaultsSectionParams) WithHTTPClient(client *http.Client) *GetDefaultsSectionParams
WithHTTPClient adds the HTTPClient to the get defaults section params
func (*GetDefaultsSectionParams) WithName ¶ added in v1.1.0
func (o *GetDefaultsSectionParams) WithName(name string) *GetDefaultsSectionParams
WithName adds the name to the get defaults section params
func (*GetDefaultsSectionParams) WithTimeout ¶ added in v1.1.0
func (o *GetDefaultsSectionParams) WithTimeout(timeout time.Duration) *GetDefaultsSectionParams
WithTimeout adds the timeout to the get defaults section params
func (*GetDefaultsSectionParams) WithTransactionID ¶ added in v1.1.0
func (o *GetDefaultsSectionParams) WithTransactionID(transactionID *string) *GetDefaultsSectionParams
WithTransactionID adds the transactionID to the get defaults section params
func (*GetDefaultsSectionParams) WriteToRequest ¶ added in v1.1.0
func (o *GetDefaultsSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDefaultsSectionReader ¶ added in v1.1.0
type GetDefaultsSectionReader struct {
// contains filtered or unexported fields
}
GetDefaultsSectionReader is a Reader for the GetDefaultsSection structure.
func (*GetDefaultsSectionReader) ReadResponse ¶ added in v1.1.0
func (o *GetDefaultsSectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDefaultsSectionsDefault ¶ added in v1.1.0
type GetDefaultsSectionsDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetDefaultsSectionsDefault describes a response with status code -1, with default header values.
General Error
func NewGetDefaultsSectionsDefault ¶ added in v1.1.0
func NewGetDefaultsSectionsDefault(code int) *GetDefaultsSectionsDefault
NewGetDefaultsSectionsDefault creates a GetDefaultsSectionsDefault with default headers values
func (*GetDefaultsSectionsDefault) Code ¶ added in v1.1.0
func (o *GetDefaultsSectionsDefault) Code() int
Code gets the status code for the get defaults sections default response
func (*GetDefaultsSectionsDefault) Error ¶ added in v1.1.0
func (o *GetDefaultsSectionsDefault) Error() string
func (*GetDefaultsSectionsDefault) GetPayload ¶ added in v1.1.0
func (o *GetDefaultsSectionsDefault) GetPayload() *models.Error
func (*GetDefaultsSectionsDefault) IsClientError ¶ added in v1.1.0
func (o *GetDefaultsSectionsDefault) IsClientError() bool
IsClientError returns true when this get defaults sections default response has a 4xx status code
func (*GetDefaultsSectionsDefault) IsCode ¶ added in v1.1.0
func (o *GetDefaultsSectionsDefault) IsCode(code int) bool
IsCode returns true when this get defaults sections default response a status code equal to that given
func (*GetDefaultsSectionsDefault) IsRedirect ¶ added in v1.1.0
func (o *GetDefaultsSectionsDefault) IsRedirect() bool
IsRedirect returns true when this get defaults sections default response has a 3xx status code
func (*GetDefaultsSectionsDefault) IsServerError ¶ added in v1.1.0
func (o *GetDefaultsSectionsDefault) IsServerError() bool
IsServerError returns true when this get defaults sections default response has a 5xx status code
func (*GetDefaultsSectionsDefault) IsSuccess ¶ added in v1.1.0
func (o *GetDefaultsSectionsDefault) IsSuccess() bool
IsSuccess returns true when this get defaults sections default response has a 2xx status code
func (*GetDefaultsSectionsDefault) String ¶ added in v1.1.0
func (o *GetDefaultsSectionsDefault) String() string
type GetDefaultsSectionsOK ¶ added in v1.1.0
type GetDefaultsSectionsOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetDefaultsSectionsOKBody }
GetDefaultsSectionsOK describes a response with status code 200, with default header values.
Successful operation
func NewGetDefaultsSectionsOK ¶ added in v1.1.0
func NewGetDefaultsSectionsOK() *GetDefaultsSectionsOK
NewGetDefaultsSectionsOK creates a GetDefaultsSectionsOK with default headers values
func (*GetDefaultsSectionsOK) Code ¶ added in v1.1.5
func (o *GetDefaultsSectionsOK) Code() int
Code gets the status code for the get defaults sections o k response
func (*GetDefaultsSectionsOK) Error ¶ added in v1.1.0
func (o *GetDefaultsSectionsOK) Error() string
func (*GetDefaultsSectionsOK) GetPayload ¶ added in v1.1.0
func (o *GetDefaultsSectionsOK) GetPayload() *GetDefaultsSectionsOKBody
func (*GetDefaultsSectionsOK) IsClientError ¶ added in v1.1.0
func (o *GetDefaultsSectionsOK) IsClientError() bool
IsClientError returns true when this get defaults sections o k response has a 4xx status code
func (*GetDefaultsSectionsOK) IsCode ¶ added in v1.1.0
func (o *GetDefaultsSectionsOK) IsCode(code int) bool
IsCode returns true when this get defaults sections o k response a status code equal to that given
func (*GetDefaultsSectionsOK) IsRedirect ¶ added in v1.1.0
func (o *GetDefaultsSectionsOK) IsRedirect() bool
IsRedirect returns true when this get defaults sections o k response has a 3xx status code
func (*GetDefaultsSectionsOK) IsServerError ¶ added in v1.1.0
func (o *GetDefaultsSectionsOK) IsServerError() bool
IsServerError returns true when this get defaults sections o k response has a 5xx status code
func (*GetDefaultsSectionsOK) IsSuccess ¶ added in v1.1.0
func (o *GetDefaultsSectionsOK) IsSuccess() bool
IsSuccess returns true when this get defaults sections o k response has a 2xx status code
func (*GetDefaultsSectionsOK) String ¶ added in v1.1.0
func (o *GetDefaultsSectionsOK) String() string
type GetDefaultsSectionsOKBody ¶ added in v1.1.0
type GetDefaultsSectionsOKBody struct { // version Version int64 `json:"_version,omitempty"` // data // Required: true Data models.DefaultsSections `json:"data"` }
GetDefaultsSectionsOKBody get defaults sections o k body swagger:model GetDefaultsSectionsOKBody
func (*GetDefaultsSectionsOKBody) ContextValidate ¶ added in v1.1.0
func (o *GetDefaultsSectionsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get defaults sections o k body based on the context it is used
func (*GetDefaultsSectionsOKBody) MarshalBinary ¶ added in v1.1.0
func (o *GetDefaultsSectionsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDefaultsSectionsOKBody) UnmarshalBinary ¶ added in v1.1.0
func (o *GetDefaultsSectionsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDefaultsSectionsParams ¶ added in v1.1.0
type GetDefaultsSectionsParams struct { /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDefaultsSectionsParams contains all the parameters to send to the API endpoint
for the get defaults sections operation. Typically these are written to a http.Request.
func NewGetDefaultsSectionsParams ¶ added in v1.1.0
func NewGetDefaultsSectionsParams() *GetDefaultsSectionsParams
NewGetDefaultsSectionsParams creates a new GetDefaultsSectionsParams 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 NewGetDefaultsSectionsParamsWithContext ¶ added in v1.1.0
func NewGetDefaultsSectionsParamsWithContext(ctx context.Context) *GetDefaultsSectionsParams
NewGetDefaultsSectionsParamsWithContext creates a new GetDefaultsSectionsParams object with the ability to set a context for a request.
func NewGetDefaultsSectionsParamsWithHTTPClient ¶ added in v1.1.0
func NewGetDefaultsSectionsParamsWithHTTPClient(client *http.Client) *GetDefaultsSectionsParams
NewGetDefaultsSectionsParamsWithHTTPClient creates a new GetDefaultsSectionsParams object with the ability to set a custom HTTPClient for a request.
func NewGetDefaultsSectionsParamsWithTimeout ¶ added in v1.1.0
func NewGetDefaultsSectionsParamsWithTimeout(timeout time.Duration) *GetDefaultsSectionsParams
NewGetDefaultsSectionsParamsWithTimeout creates a new GetDefaultsSectionsParams object with the ability to set a timeout on a request.
func (*GetDefaultsSectionsParams) SetContext ¶ added in v1.1.0
func (o *GetDefaultsSectionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get defaults sections params
func (*GetDefaultsSectionsParams) SetDefaults ¶ added in v1.1.0
func (o *GetDefaultsSectionsParams) SetDefaults()
SetDefaults hydrates default values in the get defaults sections params (not the query body).
All values with no default are reset to their zero value.
func (*GetDefaultsSectionsParams) SetHTTPClient ¶ added in v1.1.0
func (o *GetDefaultsSectionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get defaults sections params
func (*GetDefaultsSectionsParams) SetTimeout ¶ added in v1.1.0
func (o *GetDefaultsSectionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get defaults sections params
func (*GetDefaultsSectionsParams) SetTransactionID ¶ added in v1.1.0
func (o *GetDefaultsSectionsParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get defaults sections params
func (*GetDefaultsSectionsParams) WithContext ¶ added in v1.1.0
func (o *GetDefaultsSectionsParams) WithContext(ctx context.Context) *GetDefaultsSectionsParams
WithContext adds the context to the get defaults sections params
func (*GetDefaultsSectionsParams) WithDefaults ¶ added in v1.1.0
func (o *GetDefaultsSectionsParams) WithDefaults() *GetDefaultsSectionsParams
WithDefaults hydrates default values in the get defaults sections params (not the query body).
All values with no default are reset to their zero value.
func (*GetDefaultsSectionsParams) WithHTTPClient ¶ added in v1.1.0
func (o *GetDefaultsSectionsParams) WithHTTPClient(client *http.Client) *GetDefaultsSectionsParams
WithHTTPClient adds the HTTPClient to the get defaults sections params
func (*GetDefaultsSectionsParams) WithTimeout ¶ added in v1.1.0
func (o *GetDefaultsSectionsParams) WithTimeout(timeout time.Duration) *GetDefaultsSectionsParams
WithTimeout adds the timeout to the get defaults sections params
func (*GetDefaultsSectionsParams) WithTransactionID ¶ added in v1.1.0
func (o *GetDefaultsSectionsParams) WithTransactionID(transactionID *string) *GetDefaultsSectionsParams
WithTransactionID adds the transactionID to the get defaults sections params
func (*GetDefaultsSectionsParams) WriteToRequest ¶ added in v1.1.0
func (o *GetDefaultsSectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDefaultsSectionsReader ¶ added in v1.1.0
type GetDefaultsSectionsReader struct {
// contains filtered or unexported fields
}
GetDefaultsSectionsReader is a Reader for the GetDefaultsSections structure.
func (*GetDefaultsSectionsReader) ReadResponse ¶ added in v1.1.0
func (o *GetDefaultsSectionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceDefaultsAccepted ¶
type ReplaceDefaultsAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.Defaults }
ReplaceDefaultsAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewReplaceDefaultsAccepted ¶
func NewReplaceDefaultsAccepted() *ReplaceDefaultsAccepted
NewReplaceDefaultsAccepted creates a ReplaceDefaultsAccepted with default headers values
func (*ReplaceDefaultsAccepted) Code ¶ added in v1.1.5
func (o *ReplaceDefaultsAccepted) Code() int
Code gets the status code for the replace defaults accepted response
func (*ReplaceDefaultsAccepted) Error ¶
func (o *ReplaceDefaultsAccepted) Error() string
func (*ReplaceDefaultsAccepted) GetPayload ¶
func (o *ReplaceDefaultsAccepted) GetPayload() *models.Defaults
func (*ReplaceDefaultsAccepted) IsClientError ¶ added in v1.1.0
func (o *ReplaceDefaultsAccepted) IsClientError() bool
IsClientError returns true when this replace defaults accepted response has a 4xx status code
func (*ReplaceDefaultsAccepted) IsCode ¶ added in v1.1.0
func (o *ReplaceDefaultsAccepted) IsCode(code int) bool
IsCode returns true when this replace defaults accepted response a status code equal to that given
func (*ReplaceDefaultsAccepted) IsRedirect ¶ added in v1.1.0
func (o *ReplaceDefaultsAccepted) IsRedirect() bool
IsRedirect returns true when this replace defaults accepted response has a 3xx status code
func (*ReplaceDefaultsAccepted) IsServerError ¶ added in v1.1.0
func (o *ReplaceDefaultsAccepted) IsServerError() bool
IsServerError returns true when this replace defaults accepted response has a 5xx status code
func (*ReplaceDefaultsAccepted) IsSuccess ¶ added in v1.1.0
func (o *ReplaceDefaultsAccepted) IsSuccess() bool
IsSuccess returns true when this replace defaults accepted response has a 2xx status code
func (*ReplaceDefaultsAccepted) String ¶ added in v1.1.0
func (o *ReplaceDefaultsAccepted) String() string
type ReplaceDefaultsBadRequest ¶
type ReplaceDefaultsBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceDefaultsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewReplaceDefaultsBadRequest ¶
func NewReplaceDefaultsBadRequest() *ReplaceDefaultsBadRequest
NewReplaceDefaultsBadRequest creates a ReplaceDefaultsBadRequest with default headers values
func (*ReplaceDefaultsBadRequest) Code ¶ added in v1.1.5
func (o *ReplaceDefaultsBadRequest) Code() int
Code gets the status code for the replace defaults bad request response
func (*ReplaceDefaultsBadRequest) Error ¶
func (o *ReplaceDefaultsBadRequest) Error() string
func (*ReplaceDefaultsBadRequest) GetPayload ¶
func (o *ReplaceDefaultsBadRequest) GetPayload() *models.Error
func (*ReplaceDefaultsBadRequest) IsClientError ¶ added in v1.1.0
func (o *ReplaceDefaultsBadRequest) IsClientError() bool
IsClientError returns true when this replace defaults bad request response has a 4xx status code
func (*ReplaceDefaultsBadRequest) IsCode ¶ added in v1.1.0
func (o *ReplaceDefaultsBadRequest) IsCode(code int) bool
IsCode returns true when this replace defaults bad request response a status code equal to that given
func (*ReplaceDefaultsBadRequest) IsRedirect ¶ added in v1.1.0
func (o *ReplaceDefaultsBadRequest) IsRedirect() bool
IsRedirect returns true when this replace defaults bad request response has a 3xx status code
func (*ReplaceDefaultsBadRequest) IsServerError ¶ added in v1.1.0
func (o *ReplaceDefaultsBadRequest) IsServerError() bool
IsServerError returns true when this replace defaults bad request response has a 5xx status code
func (*ReplaceDefaultsBadRequest) IsSuccess ¶ added in v1.1.0
func (o *ReplaceDefaultsBadRequest) IsSuccess() bool
IsSuccess returns true when this replace defaults bad request response has a 2xx status code
func (*ReplaceDefaultsBadRequest) String ¶ added in v1.1.0
func (o *ReplaceDefaultsBadRequest) String() string
type ReplaceDefaultsDefault ¶
type ReplaceDefaultsDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceDefaultsDefault describes a response with status code -1, with default header values.
General Error
func NewReplaceDefaultsDefault ¶
func NewReplaceDefaultsDefault(code int) *ReplaceDefaultsDefault
NewReplaceDefaultsDefault creates a ReplaceDefaultsDefault with default headers values
func (*ReplaceDefaultsDefault) Code ¶
func (o *ReplaceDefaultsDefault) Code() int
Code gets the status code for the replace defaults default response
func (*ReplaceDefaultsDefault) Error ¶
func (o *ReplaceDefaultsDefault) Error() string
func (*ReplaceDefaultsDefault) GetPayload ¶
func (o *ReplaceDefaultsDefault) GetPayload() *models.Error
func (*ReplaceDefaultsDefault) IsClientError ¶ added in v1.1.0
func (o *ReplaceDefaultsDefault) IsClientError() bool
IsClientError returns true when this replace defaults default response has a 4xx status code
func (*ReplaceDefaultsDefault) IsCode ¶ added in v1.1.0
func (o *ReplaceDefaultsDefault) IsCode(code int) bool
IsCode returns true when this replace defaults default response a status code equal to that given
func (*ReplaceDefaultsDefault) IsRedirect ¶ added in v1.1.0
func (o *ReplaceDefaultsDefault) IsRedirect() bool
IsRedirect returns true when this replace defaults default response has a 3xx status code
func (*ReplaceDefaultsDefault) IsServerError ¶ added in v1.1.0
func (o *ReplaceDefaultsDefault) IsServerError() bool
IsServerError returns true when this replace defaults default response has a 5xx status code
func (*ReplaceDefaultsDefault) IsSuccess ¶ added in v1.1.0
func (o *ReplaceDefaultsDefault) IsSuccess() bool
IsSuccess returns true when this replace defaults default response has a 2xx status code
func (*ReplaceDefaultsDefault) String ¶ added in v1.1.0
func (o *ReplaceDefaultsDefault) String() string
type ReplaceDefaultsOK ¶
ReplaceDefaultsOK describes a response with status code 200, with default header values.
Defaults replaced
func NewReplaceDefaultsOK ¶
func NewReplaceDefaultsOK() *ReplaceDefaultsOK
NewReplaceDefaultsOK creates a ReplaceDefaultsOK with default headers values
func (*ReplaceDefaultsOK) Code ¶ added in v1.1.5
func (o *ReplaceDefaultsOK) Code() int
Code gets the status code for the replace defaults o k response
func (*ReplaceDefaultsOK) Error ¶
func (o *ReplaceDefaultsOK) Error() string
func (*ReplaceDefaultsOK) GetPayload ¶
func (o *ReplaceDefaultsOK) GetPayload() *models.Defaults
func (*ReplaceDefaultsOK) IsClientError ¶ added in v1.1.0
func (o *ReplaceDefaultsOK) IsClientError() bool
IsClientError returns true when this replace defaults o k response has a 4xx status code
func (*ReplaceDefaultsOK) IsCode ¶ added in v1.1.0
func (o *ReplaceDefaultsOK) IsCode(code int) bool
IsCode returns true when this replace defaults o k response a status code equal to that given
func (*ReplaceDefaultsOK) IsRedirect ¶ added in v1.1.0
func (o *ReplaceDefaultsOK) IsRedirect() bool
IsRedirect returns true when this replace defaults o k response has a 3xx status code
func (*ReplaceDefaultsOK) IsServerError ¶ added in v1.1.0
func (o *ReplaceDefaultsOK) IsServerError() bool
IsServerError returns true when this replace defaults o k response has a 5xx status code
func (*ReplaceDefaultsOK) IsSuccess ¶ added in v1.1.0
func (o *ReplaceDefaultsOK) IsSuccess() bool
IsSuccess returns true when this replace defaults o k response has a 2xx status code
func (*ReplaceDefaultsOK) String ¶ added in v1.1.0
func (o *ReplaceDefaultsOK) String() string
type ReplaceDefaultsParams ¶
type ReplaceDefaultsParams struct { // Data. Data *models.Defaults /* ForceReload. If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /* Version. Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReplaceDefaultsParams contains all the parameters to send to the API endpoint
for the replace defaults operation. Typically these are written to a http.Request.
func NewReplaceDefaultsParams ¶
func NewReplaceDefaultsParams() *ReplaceDefaultsParams
NewReplaceDefaultsParams creates a new ReplaceDefaultsParams 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 NewReplaceDefaultsParamsWithContext ¶
func NewReplaceDefaultsParamsWithContext(ctx context.Context) *ReplaceDefaultsParams
NewReplaceDefaultsParamsWithContext creates a new ReplaceDefaultsParams object with the ability to set a context for a request.
func NewReplaceDefaultsParamsWithHTTPClient ¶
func NewReplaceDefaultsParamsWithHTTPClient(client *http.Client) *ReplaceDefaultsParams
NewReplaceDefaultsParamsWithHTTPClient creates a new ReplaceDefaultsParams object with the ability to set a custom HTTPClient for a request.
func NewReplaceDefaultsParamsWithTimeout ¶
func NewReplaceDefaultsParamsWithTimeout(timeout time.Duration) *ReplaceDefaultsParams
NewReplaceDefaultsParamsWithTimeout creates a new ReplaceDefaultsParams object with the ability to set a timeout on a request.
func (*ReplaceDefaultsParams) SetContext ¶
func (o *ReplaceDefaultsParams) SetContext(ctx context.Context)
SetContext adds the context to the replace defaults params
func (*ReplaceDefaultsParams) SetData ¶
func (o *ReplaceDefaultsParams) SetData(data *models.Defaults)
SetData adds the data to the replace defaults params
func (*ReplaceDefaultsParams) SetDefaults ¶
func (o *ReplaceDefaultsParams) SetDefaults()
SetDefaults hydrates default values in the replace defaults params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceDefaultsParams) SetForceReload ¶
func (o *ReplaceDefaultsParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the replace defaults params
func (*ReplaceDefaultsParams) SetHTTPClient ¶
func (o *ReplaceDefaultsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace defaults params
func (*ReplaceDefaultsParams) SetTimeout ¶
func (o *ReplaceDefaultsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace defaults params
func (*ReplaceDefaultsParams) SetTransactionID ¶
func (o *ReplaceDefaultsParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the replace defaults params
func (*ReplaceDefaultsParams) SetVersion ¶
func (o *ReplaceDefaultsParams) SetVersion(version *int64)
SetVersion adds the version to the replace defaults params
func (*ReplaceDefaultsParams) WithContext ¶
func (o *ReplaceDefaultsParams) WithContext(ctx context.Context) *ReplaceDefaultsParams
WithContext adds the context to the replace defaults params
func (*ReplaceDefaultsParams) WithData ¶
func (o *ReplaceDefaultsParams) WithData(data *models.Defaults) *ReplaceDefaultsParams
WithData adds the data to the replace defaults params
func (*ReplaceDefaultsParams) WithDefaults ¶
func (o *ReplaceDefaultsParams) WithDefaults() *ReplaceDefaultsParams
WithDefaults hydrates default values in the replace defaults params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceDefaultsParams) WithForceReload ¶
func (o *ReplaceDefaultsParams) WithForceReload(forceReload *bool) *ReplaceDefaultsParams
WithForceReload adds the forceReload to the replace defaults params
func (*ReplaceDefaultsParams) WithHTTPClient ¶
func (o *ReplaceDefaultsParams) WithHTTPClient(client *http.Client) *ReplaceDefaultsParams
WithHTTPClient adds the HTTPClient to the replace defaults params
func (*ReplaceDefaultsParams) WithTimeout ¶
func (o *ReplaceDefaultsParams) WithTimeout(timeout time.Duration) *ReplaceDefaultsParams
WithTimeout adds the timeout to the replace defaults params
func (*ReplaceDefaultsParams) WithTransactionID ¶
func (o *ReplaceDefaultsParams) WithTransactionID(transactionID *string) *ReplaceDefaultsParams
WithTransactionID adds the transactionID to the replace defaults params
func (*ReplaceDefaultsParams) WithVersion ¶
func (o *ReplaceDefaultsParams) WithVersion(version *int64) *ReplaceDefaultsParams
WithVersion adds the version to the replace defaults params
func (*ReplaceDefaultsParams) WriteToRequest ¶
func (o *ReplaceDefaultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceDefaultsReader ¶
type ReplaceDefaultsReader struct {
// contains filtered or unexported fields
}
ReplaceDefaultsReader is a Reader for the ReplaceDefaults structure.
func (*ReplaceDefaultsReader) ReadResponse ¶
func (o *ReplaceDefaultsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceDefaultsSectionAccepted ¶ added in v1.1.0
type ReplaceDefaultsSectionAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.Defaults }
ReplaceDefaultsSectionAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewReplaceDefaultsSectionAccepted ¶ added in v1.1.0
func NewReplaceDefaultsSectionAccepted() *ReplaceDefaultsSectionAccepted
NewReplaceDefaultsSectionAccepted creates a ReplaceDefaultsSectionAccepted with default headers values
func (*ReplaceDefaultsSectionAccepted) Code ¶ added in v1.1.5
func (o *ReplaceDefaultsSectionAccepted) Code() int
Code gets the status code for the replace defaults section accepted response
func (*ReplaceDefaultsSectionAccepted) Error ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionAccepted) Error() string
func (*ReplaceDefaultsSectionAccepted) GetPayload ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionAccepted) GetPayload() *models.Defaults
func (*ReplaceDefaultsSectionAccepted) IsClientError ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionAccepted) IsClientError() bool
IsClientError returns true when this replace defaults section accepted response has a 4xx status code
func (*ReplaceDefaultsSectionAccepted) IsCode ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionAccepted) IsCode(code int) bool
IsCode returns true when this replace defaults section accepted response a status code equal to that given
func (*ReplaceDefaultsSectionAccepted) IsRedirect ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionAccepted) IsRedirect() bool
IsRedirect returns true when this replace defaults section accepted response has a 3xx status code
func (*ReplaceDefaultsSectionAccepted) IsServerError ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionAccepted) IsServerError() bool
IsServerError returns true when this replace defaults section accepted response has a 5xx status code
func (*ReplaceDefaultsSectionAccepted) IsSuccess ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionAccepted) IsSuccess() bool
IsSuccess returns true when this replace defaults section accepted response has a 2xx status code
func (*ReplaceDefaultsSectionAccepted) String ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionAccepted) String() string
type ReplaceDefaultsSectionBadRequest ¶ added in v1.1.0
type ReplaceDefaultsSectionBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceDefaultsSectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewReplaceDefaultsSectionBadRequest ¶ added in v1.1.0
func NewReplaceDefaultsSectionBadRequest() *ReplaceDefaultsSectionBadRequest
NewReplaceDefaultsSectionBadRequest creates a ReplaceDefaultsSectionBadRequest with default headers values
func (*ReplaceDefaultsSectionBadRequest) Code ¶ added in v1.1.5
func (o *ReplaceDefaultsSectionBadRequest) Code() int
Code gets the status code for the replace defaults section bad request response
func (*ReplaceDefaultsSectionBadRequest) Error ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionBadRequest) Error() string
func (*ReplaceDefaultsSectionBadRequest) GetPayload ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionBadRequest) GetPayload() *models.Error
func (*ReplaceDefaultsSectionBadRequest) IsClientError ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionBadRequest) IsClientError() bool
IsClientError returns true when this replace defaults section bad request response has a 4xx status code
func (*ReplaceDefaultsSectionBadRequest) IsCode ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionBadRequest) IsCode(code int) bool
IsCode returns true when this replace defaults section bad request response a status code equal to that given
func (*ReplaceDefaultsSectionBadRequest) IsRedirect ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionBadRequest) IsRedirect() bool
IsRedirect returns true when this replace defaults section bad request response has a 3xx status code
func (*ReplaceDefaultsSectionBadRequest) IsServerError ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionBadRequest) IsServerError() bool
IsServerError returns true when this replace defaults section bad request response has a 5xx status code
func (*ReplaceDefaultsSectionBadRequest) IsSuccess ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionBadRequest) IsSuccess() bool
IsSuccess returns true when this replace defaults section bad request response has a 2xx status code
func (*ReplaceDefaultsSectionBadRequest) String ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionBadRequest) String() string
type ReplaceDefaultsSectionDefault ¶ added in v1.1.0
type ReplaceDefaultsSectionDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceDefaultsSectionDefault describes a response with status code -1, with default header values.
General Error
func NewReplaceDefaultsSectionDefault ¶ added in v1.1.0
func NewReplaceDefaultsSectionDefault(code int) *ReplaceDefaultsSectionDefault
NewReplaceDefaultsSectionDefault creates a ReplaceDefaultsSectionDefault with default headers values
func (*ReplaceDefaultsSectionDefault) Code ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionDefault) Code() int
Code gets the status code for the replace defaults section default response
func (*ReplaceDefaultsSectionDefault) Error ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionDefault) Error() string
func (*ReplaceDefaultsSectionDefault) GetPayload ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionDefault) GetPayload() *models.Error
func (*ReplaceDefaultsSectionDefault) IsClientError ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionDefault) IsClientError() bool
IsClientError returns true when this replace defaults section default response has a 4xx status code
func (*ReplaceDefaultsSectionDefault) IsCode ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionDefault) IsCode(code int) bool
IsCode returns true when this replace defaults section default response a status code equal to that given
func (*ReplaceDefaultsSectionDefault) IsRedirect ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionDefault) IsRedirect() bool
IsRedirect returns true when this replace defaults section default response has a 3xx status code
func (*ReplaceDefaultsSectionDefault) IsServerError ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionDefault) IsServerError() bool
IsServerError returns true when this replace defaults section default response has a 5xx status code
func (*ReplaceDefaultsSectionDefault) IsSuccess ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionDefault) IsSuccess() bool
IsSuccess returns true when this replace defaults section default response has a 2xx status code
func (*ReplaceDefaultsSectionDefault) String ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionDefault) String() string
type ReplaceDefaultsSectionNotFound ¶ added in v1.1.0
type ReplaceDefaultsSectionNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceDefaultsSectionNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewReplaceDefaultsSectionNotFound ¶ added in v1.1.0
func NewReplaceDefaultsSectionNotFound() *ReplaceDefaultsSectionNotFound
NewReplaceDefaultsSectionNotFound creates a ReplaceDefaultsSectionNotFound with default headers values
func (*ReplaceDefaultsSectionNotFound) Code ¶ added in v1.1.5
func (o *ReplaceDefaultsSectionNotFound) Code() int
Code gets the status code for the replace defaults section not found response
func (*ReplaceDefaultsSectionNotFound) Error ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionNotFound) Error() string
func (*ReplaceDefaultsSectionNotFound) GetPayload ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionNotFound) GetPayload() *models.Error
func (*ReplaceDefaultsSectionNotFound) IsClientError ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionNotFound) IsClientError() bool
IsClientError returns true when this replace defaults section not found response has a 4xx status code
func (*ReplaceDefaultsSectionNotFound) IsCode ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionNotFound) IsCode(code int) bool
IsCode returns true when this replace defaults section not found response a status code equal to that given
func (*ReplaceDefaultsSectionNotFound) IsRedirect ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionNotFound) IsRedirect() bool
IsRedirect returns true when this replace defaults section not found response has a 3xx status code
func (*ReplaceDefaultsSectionNotFound) IsServerError ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionNotFound) IsServerError() bool
IsServerError returns true when this replace defaults section not found response has a 5xx status code
func (*ReplaceDefaultsSectionNotFound) IsSuccess ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionNotFound) IsSuccess() bool
IsSuccess returns true when this replace defaults section not found response has a 2xx status code
func (*ReplaceDefaultsSectionNotFound) String ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionNotFound) String() string
type ReplaceDefaultsSectionOK ¶ added in v1.1.0
ReplaceDefaultsSectionOK describes a response with status code 200, with default header values.
Defaults section replaced
func NewReplaceDefaultsSectionOK ¶ added in v1.1.0
func NewReplaceDefaultsSectionOK() *ReplaceDefaultsSectionOK
NewReplaceDefaultsSectionOK creates a ReplaceDefaultsSectionOK with default headers values
func (*ReplaceDefaultsSectionOK) Code ¶ added in v1.1.5
func (o *ReplaceDefaultsSectionOK) Code() int
Code gets the status code for the replace defaults section o k response
func (*ReplaceDefaultsSectionOK) Error ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionOK) Error() string
func (*ReplaceDefaultsSectionOK) GetPayload ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionOK) GetPayload() *models.Defaults
func (*ReplaceDefaultsSectionOK) IsClientError ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionOK) IsClientError() bool
IsClientError returns true when this replace defaults section o k response has a 4xx status code
func (*ReplaceDefaultsSectionOK) IsCode ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionOK) IsCode(code int) bool
IsCode returns true when this replace defaults section o k response a status code equal to that given
func (*ReplaceDefaultsSectionOK) IsRedirect ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionOK) IsRedirect() bool
IsRedirect returns true when this replace defaults section o k response has a 3xx status code
func (*ReplaceDefaultsSectionOK) IsServerError ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionOK) IsServerError() bool
IsServerError returns true when this replace defaults section o k response has a 5xx status code
func (*ReplaceDefaultsSectionOK) IsSuccess ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionOK) IsSuccess() bool
IsSuccess returns true when this replace defaults section o k response has a 2xx status code
func (*ReplaceDefaultsSectionOK) String ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionOK) String() string
type ReplaceDefaultsSectionParams ¶ added in v1.1.0
type ReplaceDefaultsSectionParams struct { // Data. Data *models.Defaults /* ForceReload. If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /* Name. Defaults name */ Name string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /* Version. Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReplaceDefaultsSectionParams contains all the parameters to send to the API endpoint
for the replace defaults section operation. Typically these are written to a http.Request.
func NewReplaceDefaultsSectionParams ¶ added in v1.1.0
func NewReplaceDefaultsSectionParams() *ReplaceDefaultsSectionParams
NewReplaceDefaultsSectionParams creates a new ReplaceDefaultsSectionParams 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 NewReplaceDefaultsSectionParamsWithContext ¶ added in v1.1.0
func NewReplaceDefaultsSectionParamsWithContext(ctx context.Context) *ReplaceDefaultsSectionParams
NewReplaceDefaultsSectionParamsWithContext creates a new ReplaceDefaultsSectionParams object with the ability to set a context for a request.
func NewReplaceDefaultsSectionParamsWithHTTPClient ¶ added in v1.1.0
func NewReplaceDefaultsSectionParamsWithHTTPClient(client *http.Client) *ReplaceDefaultsSectionParams
NewReplaceDefaultsSectionParamsWithHTTPClient creates a new ReplaceDefaultsSectionParams object with the ability to set a custom HTTPClient for a request.
func NewReplaceDefaultsSectionParamsWithTimeout ¶ added in v1.1.0
func NewReplaceDefaultsSectionParamsWithTimeout(timeout time.Duration) *ReplaceDefaultsSectionParams
NewReplaceDefaultsSectionParamsWithTimeout creates a new ReplaceDefaultsSectionParams object with the ability to set a timeout on a request.
func (*ReplaceDefaultsSectionParams) SetContext ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionParams) SetContext(ctx context.Context)
SetContext adds the context to the replace defaults section params
func (*ReplaceDefaultsSectionParams) SetData ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionParams) SetData(data *models.Defaults)
SetData adds the data to the replace defaults section params
func (*ReplaceDefaultsSectionParams) SetDefaults ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionParams) SetDefaults()
SetDefaults hydrates default values in the replace defaults section params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceDefaultsSectionParams) SetForceReload ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the replace defaults section params
func (*ReplaceDefaultsSectionParams) SetHTTPClient ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace defaults section params
func (*ReplaceDefaultsSectionParams) SetName ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionParams) SetName(name string)
SetName adds the name to the replace defaults section params
func (*ReplaceDefaultsSectionParams) SetTimeout ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace defaults section params
func (*ReplaceDefaultsSectionParams) SetTransactionID ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the replace defaults section params
func (*ReplaceDefaultsSectionParams) SetVersion ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionParams) SetVersion(version *int64)
SetVersion adds the version to the replace defaults section params
func (*ReplaceDefaultsSectionParams) WithContext ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionParams) WithContext(ctx context.Context) *ReplaceDefaultsSectionParams
WithContext adds the context to the replace defaults section params
func (*ReplaceDefaultsSectionParams) WithData ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionParams) WithData(data *models.Defaults) *ReplaceDefaultsSectionParams
WithData adds the data to the replace defaults section params
func (*ReplaceDefaultsSectionParams) WithDefaults ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionParams) WithDefaults() *ReplaceDefaultsSectionParams
WithDefaults hydrates default values in the replace defaults section params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceDefaultsSectionParams) WithForceReload ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionParams) WithForceReload(forceReload *bool) *ReplaceDefaultsSectionParams
WithForceReload adds the forceReload to the replace defaults section params
func (*ReplaceDefaultsSectionParams) WithHTTPClient ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionParams) WithHTTPClient(client *http.Client) *ReplaceDefaultsSectionParams
WithHTTPClient adds the HTTPClient to the replace defaults section params
func (*ReplaceDefaultsSectionParams) WithName ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionParams) WithName(name string) *ReplaceDefaultsSectionParams
WithName adds the name to the replace defaults section params
func (*ReplaceDefaultsSectionParams) WithTimeout ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionParams) WithTimeout(timeout time.Duration) *ReplaceDefaultsSectionParams
WithTimeout adds the timeout to the replace defaults section params
func (*ReplaceDefaultsSectionParams) WithTransactionID ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionParams) WithTransactionID(transactionID *string) *ReplaceDefaultsSectionParams
WithTransactionID adds the transactionID to the replace defaults section params
func (*ReplaceDefaultsSectionParams) WithVersion ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionParams) WithVersion(version *int64) *ReplaceDefaultsSectionParams
WithVersion adds the version to the replace defaults section params
func (*ReplaceDefaultsSectionParams) WriteToRequest ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceDefaultsSectionReader ¶ added in v1.1.0
type ReplaceDefaultsSectionReader struct {
// contains filtered or unexported fields
}
ReplaceDefaultsSectionReader is a Reader for the ReplaceDefaultsSection structure.
func (*ReplaceDefaultsSectionReader) ReadResponse ¶ added in v1.1.0
func (o *ReplaceDefaultsSectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_defaults_section_parameters.go
- create_defaults_section_responses.go
- defaults_client.go
- delete_defaults_section_parameters.go
- delete_defaults_section_responses.go
- get_defaults_parameters.go
- get_defaults_responses.go
- get_defaults_section_parameters.go
- get_defaults_section_responses.go
- get_defaults_sections_parameters.go
- get_defaults_sections_responses.go
- replace_defaults_parameters.go
- replace_defaults_responses.go
- replace_defaults_section_parameters.go
- replace_defaults_section_responses.go