Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateSavedFilter(params *CreateSavedFilterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateSavedFilterCreated, error)
- func (a *Client) DeleteSavedFilter(params *DeleteSavedFilterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteSavedFilterNoContent, error)
- func (a *Client) GetSavedFilter(params *GetSavedFilterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSavedFilterOK, error)
- func (a *Client) GetSavedFilters(params *GetSavedFiltersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSavedFiltersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateSavedFilter(params *UpdateSavedFilterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateSavedFilterOK, error)
- type ClientOption
- type ClientService
- type CreateSavedFilterBadRequest
- func (o *CreateSavedFilterBadRequest) Code() int
- func (o *CreateSavedFilterBadRequest) Error() string
- func (o *CreateSavedFilterBadRequest) GetPayload() *models.Errors
- func (o *CreateSavedFilterBadRequest) IsClientError() bool
- func (o *CreateSavedFilterBadRequest) IsCode(code int) bool
- func (o *CreateSavedFilterBadRequest) IsRedirect() bool
- func (o *CreateSavedFilterBadRequest) IsServerError() bool
- func (o *CreateSavedFilterBadRequest) IsSuccess() bool
- func (o *CreateSavedFilterBadRequest) String() string
- type CreateSavedFilterCreated
- func (o *CreateSavedFilterCreated) Code() int
- func (o *CreateSavedFilterCreated) Error() string
- func (o *CreateSavedFilterCreated) GetPayload() *models.SavedFilter
- func (o *CreateSavedFilterCreated) IsClientError() bool
- func (o *CreateSavedFilterCreated) IsCode(code int) bool
- func (o *CreateSavedFilterCreated) IsRedirect() bool
- func (o *CreateSavedFilterCreated) IsServerError() bool
- func (o *CreateSavedFilterCreated) IsSuccess() bool
- func (o *CreateSavedFilterCreated) String() string
- type CreateSavedFilterParams
- func NewCreateSavedFilterParams() *CreateSavedFilterParams
- func NewCreateSavedFilterParamsWithContext(ctx context.Context) *CreateSavedFilterParams
- func NewCreateSavedFilterParamsWithHTTPClient(client *http.Client) *CreateSavedFilterParams
- func NewCreateSavedFilterParamsWithTimeout(timeout time.Duration) *CreateSavedFilterParams
- func (o *CreateSavedFilterParams) SetContext(ctx context.Context)
- func (o *CreateSavedFilterParams) SetCreateSavedFilter(createSavedFilter *models.CreateSavedFilter)
- func (o *CreateSavedFilterParams) SetDefaults()
- func (o *CreateSavedFilterParams) SetHTTPClient(client *http.Client)
- func (o *CreateSavedFilterParams) SetTimeout(timeout time.Duration)
- func (o *CreateSavedFilterParams) WithContext(ctx context.Context) *CreateSavedFilterParams
- func (o *CreateSavedFilterParams) WithCreateSavedFilter(createSavedFilter *models.CreateSavedFilter) *CreateSavedFilterParams
- func (o *CreateSavedFilterParams) WithDefaults() *CreateSavedFilterParams
- func (o *CreateSavedFilterParams) WithHTTPClient(client *http.Client) *CreateSavedFilterParams
- func (o *CreateSavedFilterParams) WithTimeout(timeout time.Duration) *CreateSavedFilterParams
- func (o *CreateSavedFilterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSavedFilterReader
- type CreateSavedFilterUnprocessableEntity
- func (o *CreateSavedFilterUnprocessableEntity) Code() int
- func (o *CreateSavedFilterUnprocessableEntity) Error() string
- func (o *CreateSavedFilterUnprocessableEntity) GetPayload() *models.Errors
- func (o *CreateSavedFilterUnprocessableEntity) IsClientError() bool
- func (o *CreateSavedFilterUnprocessableEntity) IsCode(code int) bool
- func (o *CreateSavedFilterUnprocessableEntity) IsRedirect() bool
- func (o *CreateSavedFilterUnprocessableEntity) IsServerError() bool
- func (o *CreateSavedFilterUnprocessableEntity) IsSuccess() bool
- func (o *CreateSavedFilterUnprocessableEntity) String() string
- type DeleteSavedFilterNoContent
- func (o *DeleteSavedFilterNoContent) Code() int
- func (o *DeleteSavedFilterNoContent) Error() string
- func (o *DeleteSavedFilterNoContent) GetPayload() *models.SavedFilter
- func (o *DeleteSavedFilterNoContent) IsClientError() bool
- func (o *DeleteSavedFilterNoContent) IsCode(code int) bool
- func (o *DeleteSavedFilterNoContent) IsRedirect() bool
- func (o *DeleteSavedFilterNoContent) IsServerError() bool
- func (o *DeleteSavedFilterNoContent) IsSuccess() bool
- func (o *DeleteSavedFilterNoContent) String() string
- type DeleteSavedFilterNotFound
- func (o *DeleteSavedFilterNotFound) Code() int
- func (o *DeleteSavedFilterNotFound) Error() string
- func (o *DeleteSavedFilterNotFound) GetPayload() *models.Errors
- func (o *DeleteSavedFilterNotFound) IsClientError() bool
- func (o *DeleteSavedFilterNotFound) IsCode(code int) bool
- func (o *DeleteSavedFilterNotFound) IsRedirect() bool
- func (o *DeleteSavedFilterNotFound) IsServerError() bool
- func (o *DeleteSavedFilterNotFound) IsSuccess() bool
- func (o *DeleteSavedFilterNotFound) String() string
- type DeleteSavedFilterParams
- func NewDeleteSavedFilterParams() *DeleteSavedFilterParams
- func NewDeleteSavedFilterParamsWithContext(ctx context.Context) *DeleteSavedFilterParams
- func NewDeleteSavedFilterParamsWithHTTPClient(client *http.Client) *DeleteSavedFilterParams
- func NewDeleteSavedFilterParamsWithTimeout(timeout time.Duration) *DeleteSavedFilterParams
- func (o *DeleteSavedFilterParams) SetContext(ctx context.Context)
- func (o *DeleteSavedFilterParams) SetDefaults()
- func (o *DeleteSavedFilterParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSavedFilterParams) SetSavedFilterToken(savedFilterToken string)
- func (o *DeleteSavedFilterParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSavedFilterParams) WithContext(ctx context.Context) *DeleteSavedFilterParams
- func (o *DeleteSavedFilterParams) WithDefaults() *DeleteSavedFilterParams
- func (o *DeleteSavedFilterParams) WithHTTPClient(client *http.Client) *DeleteSavedFilterParams
- func (o *DeleteSavedFilterParams) WithSavedFilterToken(savedFilterToken string) *DeleteSavedFilterParams
- func (o *DeleteSavedFilterParams) WithTimeout(timeout time.Duration) *DeleteSavedFilterParams
- func (o *DeleteSavedFilterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSavedFilterReader
- type GetSavedFilterNotFound
- func (o *GetSavedFilterNotFound) Code() int
- func (o *GetSavedFilterNotFound) Error() string
- func (o *GetSavedFilterNotFound) GetPayload() *models.Errors
- func (o *GetSavedFilterNotFound) IsClientError() bool
- func (o *GetSavedFilterNotFound) IsCode(code int) bool
- func (o *GetSavedFilterNotFound) IsRedirect() bool
- func (o *GetSavedFilterNotFound) IsServerError() bool
- func (o *GetSavedFilterNotFound) IsSuccess() bool
- func (o *GetSavedFilterNotFound) String() string
- type GetSavedFilterOK
- func (o *GetSavedFilterOK) Code() int
- func (o *GetSavedFilterOK) Error() string
- func (o *GetSavedFilterOK) GetPayload() *models.SavedFilter
- func (o *GetSavedFilterOK) IsClientError() bool
- func (o *GetSavedFilterOK) IsCode(code int) bool
- func (o *GetSavedFilterOK) IsRedirect() bool
- func (o *GetSavedFilterOK) IsServerError() bool
- func (o *GetSavedFilterOK) IsSuccess() bool
- func (o *GetSavedFilterOK) String() string
- type GetSavedFilterParams
- func NewGetSavedFilterParams() *GetSavedFilterParams
- func NewGetSavedFilterParamsWithContext(ctx context.Context) *GetSavedFilterParams
- func NewGetSavedFilterParamsWithHTTPClient(client *http.Client) *GetSavedFilterParams
- func NewGetSavedFilterParamsWithTimeout(timeout time.Duration) *GetSavedFilterParams
- func (o *GetSavedFilterParams) SetContext(ctx context.Context)
- func (o *GetSavedFilterParams) SetDefaults()
- func (o *GetSavedFilterParams) SetHTTPClient(client *http.Client)
- func (o *GetSavedFilterParams) SetSavedFilterToken(savedFilterToken string)
- func (o *GetSavedFilterParams) SetTimeout(timeout time.Duration)
- func (o *GetSavedFilterParams) WithContext(ctx context.Context) *GetSavedFilterParams
- func (o *GetSavedFilterParams) WithDefaults() *GetSavedFilterParams
- func (o *GetSavedFilterParams) WithHTTPClient(client *http.Client) *GetSavedFilterParams
- func (o *GetSavedFilterParams) WithSavedFilterToken(savedFilterToken string) *GetSavedFilterParams
- func (o *GetSavedFilterParams) WithTimeout(timeout time.Duration) *GetSavedFilterParams
- func (o *GetSavedFilterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSavedFilterReader
- type GetSavedFiltersOK
- func (o *GetSavedFiltersOK) Code() int
- func (o *GetSavedFiltersOK) Error() string
- func (o *GetSavedFiltersOK) GetPayload() *models.SavedFilters
- func (o *GetSavedFiltersOK) IsClientError() bool
- func (o *GetSavedFiltersOK) IsCode(code int) bool
- func (o *GetSavedFiltersOK) IsRedirect() bool
- func (o *GetSavedFiltersOK) IsServerError() bool
- func (o *GetSavedFiltersOK) IsSuccess() bool
- func (o *GetSavedFiltersOK) String() string
- type GetSavedFiltersParams
- func NewGetSavedFiltersParams() *GetSavedFiltersParams
- func NewGetSavedFiltersParamsWithContext(ctx context.Context) *GetSavedFiltersParams
- func NewGetSavedFiltersParamsWithHTTPClient(client *http.Client) *GetSavedFiltersParams
- func NewGetSavedFiltersParamsWithTimeout(timeout time.Duration) *GetSavedFiltersParams
- func (o *GetSavedFiltersParams) SetContext(ctx context.Context)
- func (o *GetSavedFiltersParams) SetDefaults()
- func (o *GetSavedFiltersParams) SetHTTPClient(client *http.Client)
- func (o *GetSavedFiltersParams) SetLimit(limit *int32)
- func (o *GetSavedFiltersParams) SetPage(page *int32)
- func (o *GetSavedFiltersParams) SetTimeout(timeout time.Duration)
- func (o *GetSavedFiltersParams) WithContext(ctx context.Context) *GetSavedFiltersParams
- func (o *GetSavedFiltersParams) WithDefaults() *GetSavedFiltersParams
- func (o *GetSavedFiltersParams) WithHTTPClient(client *http.Client) *GetSavedFiltersParams
- func (o *GetSavedFiltersParams) WithLimit(limit *int32) *GetSavedFiltersParams
- func (o *GetSavedFiltersParams) WithPage(page *int32) *GetSavedFiltersParams
- func (o *GetSavedFiltersParams) WithTimeout(timeout time.Duration) *GetSavedFiltersParams
- func (o *GetSavedFiltersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSavedFiltersReader
- type UpdateSavedFilterBadRequest
- func (o *UpdateSavedFilterBadRequest) Code() int
- func (o *UpdateSavedFilterBadRequest) Error() string
- func (o *UpdateSavedFilterBadRequest) GetPayload() *models.Errors
- func (o *UpdateSavedFilterBadRequest) IsClientError() bool
- func (o *UpdateSavedFilterBadRequest) IsCode(code int) bool
- func (o *UpdateSavedFilterBadRequest) IsRedirect() bool
- func (o *UpdateSavedFilterBadRequest) IsServerError() bool
- func (o *UpdateSavedFilterBadRequest) IsSuccess() bool
- func (o *UpdateSavedFilterBadRequest) String() string
- type UpdateSavedFilterNotFound
- func (o *UpdateSavedFilterNotFound) Code() int
- func (o *UpdateSavedFilterNotFound) Error() string
- func (o *UpdateSavedFilterNotFound) GetPayload() *models.Errors
- func (o *UpdateSavedFilterNotFound) IsClientError() bool
- func (o *UpdateSavedFilterNotFound) IsCode(code int) bool
- func (o *UpdateSavedFilterNotFound) IsRedirect() bool
- func (o *UpdateSavedFilterNotFound) IsServerError() bool
- func (o *UpdateSavedFilterNotFound) IsSuccess() bool
- func (o *UpdateSavedFilterNotFound) String() string
- type UpdateSavedFilterOK
- func (o *UpdateSavedFilterOK) Code() int
- func (o *UpdateSavedFilterOK) Error() string
- func (o *UpdateSavedFilterOK) GetPayload() *models.SavedFilter
- func (o *UpdateSavedFilterOK) IsClientError() bool
- func (o *UpdateSavedFilterOK) IsCode(code int) bool
- func (o *UpdateSavedFilterOK) IsRedirect() bool
- func (o *UpdateSavedFilterOK) IsServerError() bool
- func (o *UpdateSavedFilterOK) IsSuccess() bool
- func (o *UpdateSavedFilterOK) String() string
- type UpdateSavedFilterParams
- func NewUpdateSavedFilterParams() *UpdateSavedFilterParams
- func NewUpdateSavedFilterParamsWithContext(ctx context.Context) *UpdateSavedFilterParams
- func NewUpdateSavedFilterParamsWithHTTPClient(client *http.Client) *UpdateSavedFilterParams
- func NewUpdateSavedFilterParamsWithTimeout(timeout time.Duration) *UpdateSavedFilterParams
- func (o *UpdateSavedFilterParams) SetContext(ctx context.Context)
- func (o *UpdateSavedFilterParams) SetDefaults()
- func (o *UpdateSavedFilterParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSavedFilterParams) SetSavedFilterToken(savedFilterToken string)
- func (o *UpdateSavedFilterParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSavedFilterParams) SetUpdateSavedFilter(updateSavedFilter *models.UpdateSavedFilter)
- func (o *UpdateSavedFilterParams) WithContext(ctx context.Context) *UpdateSavedFilterParams
- func (o *UpdateSavedFilterParams) WithDefaults() *UpdateSavedFilterParams
- func (o *UpdateSavedFilterParams) WithHTTPClient(client *http.Client) *UpdateSavedFilterParams
- func (o *UpdateSavedFilterParams) WithSavedFilterToken(savedFilterToken string) *UpdateSavedFilterParams
- func (o *UpdateSavedFilterParams) WithTimeout(timeout time.Duration) *UpdateSavedFilterParams
- func (o *UpdateSavedFilterParams) WithUpdateSavedFilter(updateSavedFilter *models.UpdateSavedFilter) *UpdateSavedFilterParams
- func (o *UpdateSavedFilterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSavedFilterReader
- type UpdateSavedFilterUnprocessableEntity
- func (o *UpdateSavedFilterUnprocessableEntity) Code() int
- func (o *UpdateSavedFilterUnprocessableEntity) Error() string
- func (o *UpdateSavedFilterUnprocessableEntity) GetPayload() *models.Errors
- func (o *UpdateSavedFilterUnprocessableEntity) IsClientError() bool
- func (o *UpdateSavedFilterUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateSavedFilterUnprocessableEntity) IsRedirect() bool
- func (o *UpdateSavedFilterUnprocessableEntity) IsServerError() bool
- func (o *UpdateSavedFilterUnprocessableEntity) IsSuccess() bool
- func (o *UpdateSavedFilterUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for saved filters API
func (*Client) CreateSavedFilter ¶
func (a *Client) CreateSavedFilter(params *CreateSavedFilterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSavedFilterCreated, error)
CreateSavedFilter Create a SavedFilter for CostReports.
func (*Client) DeleteSavedFilter ¶
func (a *Client) DeleteSavedFilter(params *DeleteSavedFilterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSavedFilterNoContent, error)
DeleteSavedFilter Delete a SavedFilter for CostReports.
func (*Client) GetSavedFilter ¶
func (a *Client) GetSavedFilter(params *GetSavedFilterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSavedFilterOK, error)
GetSavedFilter Return a specific SavedFilter.
func (*Client) GetSavedFilters ¶
func (a *Client) GetSavedFilters(params *GetSavedFiltersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSavedFiltersOK, error)
GetSavedFilters Return all SavedFilters that can be applied to a CostReport.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateSavedFilter ¶
func (a *Client) UpdateSavedFilter(params *UpdateSavedFilterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSavedFilterOK, error)
UpdateSavedFilter Update a SavedFilter for CostReports.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateSavedFilter(params *CreateSavedFilterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSavedFilterCreated, error) DeleteSavedFilter(params *DeleteSavedFilterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSavedFilterNoContent, error) GetSavedFilter(params *GetSavedFilterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSavedFilterOK, error) GetSavedFilters(params *GetSavedFiltersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSavedFiltersOK, error) UpdateSavedFilter(params *UpdateSavedFilterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSavedFilterOK, 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 saved filters API client.
type CreateSavedFilterBadRequest ¶
CreateSavedFilterBadRequest describes a response with status code 400, with default header values.
BadRequest
func NewCreateSavedFilterBadRequest ¶
func NewCreateSavedFilterBadRequest() *CreateSavedFilterBadRequest
NewCreateSavedFilterBadRequest creates a CreateSavedFilterBadRequest with default headers values
func (*CreateSavedFilterBadRequest) Code ¶
func (o *CreateSavedFilterBadRequest) Code() int
Code gets the status code for the create saved filter bad request response
func (*CreateSavedFilterBadRequest) Error ¶
func (o *CreateSavedFilterBadRequest) Error() string
func (*CreateSavedFilterBadRequest) GetPayload ¶
func (o *CreateSavedFilterBadRequest) GetPayload() *models.Errors
func (*CreateSavedFilterBadRequest) IsClientError ¶
func (o *CreateSavedFilterBadRequest) IsClientError() bool
IsClientError returns true when this create saved filter bad request response has a 4xx status code
func (*CreateSavedFilterBadRequest) IsCode ¶
func (o *CreateSavedFilterBadRequest) IsCode(code int) bool
IsCode returns true when this create saved filter bad request response a status code equal to that given
func (*CreateSavedFilterBadRequest) IsRedirect ¶
func (o *CreateSavedFilterBadRequest) IsRedirect() bool
IsRedirect returns true when this create saved filter bad request response has a 3xx status code
func (*CreateSavedFilterBadRequest) IsServerError ¶
func (o *CreateSavedFilterBadRequest) IsServerError() bool
IsServerError returns true when this create saved filter bad request response has a 5xx status code
func (*CreateSavedFilterBadRequest) IsSuccess ¶
func (o *CreateSavedFilterBadRequest) IsSuccess() bool
IsSuccess returns true when this create saved filter bad request response has a 2xx status code
func (*CreateSavedFilterBadRequest) String ¶
func (o *CreateSavedFilterBadRequest) String() string
type CreateSavedFilterCreated ¶
type CreateSavedFilterCreated struct {
Payload *models.SavedFilter
}
CreateSavedFilterCreated describes a response with status code 201, with default header values.
CreateSavedFilterCreated create saved filter created
func NewCreateSavedFilterCreated ¶
func NewCreateSavedFilterCreated() *CreateSavedFilterCreated
NewCreateSavedFilterCreated creates a CreateSavedFilterCreated with default headers values
func (*CreateSavedFilterCreated) Code ¶
func (o *CreateSavedFilterCreated) Code() int
Code gets the status code for the create saved filter created response
func (*CreateSavedFilterCreated) Error ¶
func (o *CreateSavedFilterCreated) Error() string
func (*CreateSavedFilterCreated) GetPayload ¶
func (o *CreateSavedFilterCreated) GetPayload() *models.SavedFilter
func (*CreateSavedFilterCreated) IsClientError ¶
func (o *CreateSavedFilterCreated) IsClientError() bool
IsClientError returns true when this create saved filter created response has a 4xx status code
func (*CreateSavedFilterCreated) IsCode ¶
func (o *CreateSavedFilterCreated) IsCode(code int) bool
IsCode returns true when this create saved filter created response a status code equal to that given
func (*CreateSavedFilterCreated) IsRedirect ¶
func (o *CreateSavedFilterCreated) IsRedirect() bool
IsRedirect returns true when this create saved filter created response has a 3xx status code
func (*CreateSavedFilterCreated) IsServerError ¶
func (o *CreateSavedFilterCreated) IsServerError() bool
IsServerError returns true when this create saved filter created response has a 5xx status code
func (*CreateSavedFilterCreated) IsSuccess ¶
func (o *CreateSavedFilterCreated) IsSuccess() bool
IsSuccess returns true when this create saved filter created response has a 2xx status code
func (*CreateSavedFilterCreated) String ¶
func (o *CreateSavedFilterCreated) String() string
type CreateSavedFilterParams ¶
type CreateSavedFilterParams struct { // CreateSavedFilter. CreateSavedFilter *models.CreateSavedFilter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSavedFilterParams contains all the parameters to send to the API endpoint
for the create saved filter operation. Typically these are written to a http.Request.
func NewCreateSavedFilterParams ¶
func NewCreateSavedFilterParams() *CreateSavedFilterParams
NewCreateSavedFilterParams creates a new CreateSavedFilterParams 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 NewCreateSavedFilterParamsWithContext ¶
func NewCreateSavedFilterParamsWithContext(ctx context.Context) *CreateSavedFilterParams
NewCreateSavedFilterParamsWithContext creates a new CreateSavedFilterParams object with the ability to set a context for a request.
func NewCreateSavedFilterParamsWithHTTPClient ¶
func NewCreateSavedFilterParamsWithHTTPClient(client *http.Client) *CreateSavedFilterParams
NewCreateSavedFilterParamsWithHTTPClient creates a new CreateSavedFilterParams object with the ability to set a custom HTTPClient for a request.
func NewCreateSavedFilterParamsWithTimeout ¶
func NewCreateSavedFilterParamsWithTimeout(timeout time.Duration) *CreateSavedFilterParams
NewCreateSavedFilterParamsWithTimeout creates a new CreateSavedFilterParams object with the ability to set a timeout on a request.
func (*CreateSavedFilterParams) SetContext ¶
func (o *CreateSavedFilterParams) SetContext(ctx context.Context)
SetContext adds the context to the create saved filter params
func (*CreateSavedFilterParams) SetCreateSavedFilter ¶
func (o *CreateSavedFilterParams) SetCreateSavedFilter(createSavedFilter *models.CreateSavedFilter)
SetCreateSavedFilter adds the createSavedFilter to the create saved filter params
func (*CreateSavedFilterParams) SetDefaults ¶
func (o *CreateSavedFilterParams) SetDefaults()
SetDefaults hydrates default values in the create saved filter params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSavedFilterParams) SetHTTPClient ¶
func (o *CreateSavedFilterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create saved filter params
func (*CreateSavedFilterParams) SetTimeout ¶
func (o *CreateSavedFilterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create saved filter params
func (*CreateSavedFilterParams) WithContext ¶
func (o *CreateSavedFilterParams) WithContext(ctx context.Context) *CreateSavedFilterParams
WithContext adds the context to the create saved filter params
func (*CreateSavedFilterParams) WithCreateSavedFilter ¶
func (o *CreateSavedFilterParams) WithCreateSavedFilter(createSavedFilter *models.CreateSavedFilter) *CreateSavedFilterParams
WithCreateSavedFilter adds the createSavedFilter to the create saved filter params
func (*CreateSavedFilterParams) WithDefaults ¶
func (o *CreateSavedFilterParams) WithDefaults() *CreateSavedFilterParams
WithDefaults hydrates default values in the create saved filter params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSavedFilterParams) WithHTTPClient ¶
func (o *CreateSavedFilterParams) WithHTTPClient(client *http.Client) *CreateSavedFilterParams
WithHTTPClient adds the HTTPClient to the create saved filter params
func (*CreateSavedFilterParams) WithTimeout ¶
func (o *CreateSavedFilterParams) WithTimeout(timeout time.Duration) *CreateSavedFilterParams
WithTimeout adds the timeout to the create saved filter params
func (*CreateSavedFilterParams) WriteToRequest ¶
func (o *CreateSavedFilterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSavedFilterReader ¶
type CreateSavedFilterReader struct {
// contains filtered or unexported fields
}
CreateSavedFilterReader is a Reader for the CreateSavedFilter structure.
func (*CreateSavedFilterReader) ReadResponse ¶
func (o *CreateSavedFilterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateSavedFilterUnprocessableEntity ¶
CreateSavedFilterUnprocessableEntity describes a response with status code 422, with default header values.
UnprocessableEntity
func NewCreateSavedFilterUnprocessableEntity ¶
func NewCreateSavedFilterUnprocessableEntity() *CreateSavedFilterUnprocessableEntity
NewCreateSavedFilterUnprocessableEntity creates a CreateSavedFilterUnprocessableEntity with default headers values
func (*CreateSavedFilterUnprocessableEntity) Code ¶
func (o *CreateSavedFilterUnprocessableEntity) Code() int
Code gets the status code for the create saved filter unprocessable entity response
func (*CreateSavedFilterUnprocessableEntity) Error ¶
func (o *CreateSavedFilterUnprocessableEntity) Error() string
func (*CreateSavedFilterUnprocessableEntity) GetPayload ¶
func (o *CreateSavedFilterUnprocessableEntity) GetPayload() *models.Errors
func (*CreateSavedFilterUnprocessableEntity) IsClientError ¶
func (o *CreateSavedFilterUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create saved filter unprocessable entity response has a 4xx status code
func (*CreateSavedFilterUnprocessableEntity) IsCode ¶
func (o *CreateSavedFilterUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create saved filter unprocessable entity response a status code equal to that given
func (*CreateSavedFilterUnprocessableEntity) IsRedirect ¶
func (o *CreateSavedFilterUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create saved filter unprocessable entity response has a 3xx status code
func (*CreateSavedFilterUnprocessableEntity) IsServerError ¶
func (o *CreateSavedFilterUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create saved filter unprocessable entity response has a 5xx status code
func (*CreateSavedFilterUnprocessableEntity) IsSuccess ¶
func (o *CreateSavedFilterUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create saved filter unprocessable entity response has a 2xx status code
func (*CreateSavedFilterUnprocessableEntity) String ¶
func (o *CreateSavedFilterUnprocessableEntity) String() string
type DeleteSavedFilterNoContent ¶
type DeleteSavedFilterNoContent struct {
Payload *models.SavedFilter
}
DeleteSavedFilterNoContent describes a response with status code 204, with default header values.
DeleteSavedFilterNoContent delete saved filter no content
func NewDeleteSavedFilterNoContent ¶
func NewDeleteSavedFilterNoContent() *DeleteSavedFilterNoContent
NewDeleteSavedFilterNoContent creates a DeleteSavedFilterNoContent with default headers values
func (*DeleteSavedFilterNoContent) Code ¶
func (o *DeleteSavedFilterNoContent) Code() int
Code gets the status code for the delete saved filter no content response
func (*DeleteSavedFilterNoContent) Error ¶
func (o *DeleteSavedFilterNoContent) Error() string
func (*DeleteSavedFilterNoContent) GetPayload ¶
func (o *DeleteSavedFilterNoContent) GetPayload() *models.SavedFilter
func (*DeleteSavedFilterNoContent) IsClientError ¶
func (o *DeleteSavedFilterNoContent) IsClientError() bool
IsClientError returns true when this delete saved filter no content response has a 4xx status code
func (*DeleteSavedFilterNoContent) IsCode ¶
func (o *DeleteSavedFilterNoContent) IsCode(code int) bool
IsCode returns true when this delete saved filter no content response a status code equal to that given
func (*DeleteSavedFilterNoContent) IsRedirect ¶
func (o *DeleteSavedFilterNoContent) IsRedirect() bool
IsRedirect returns true when this delete saved filter no content response has a 3xx status code
func (*DeleteSavedFilterNoContent) IsServerError ¶
func (o *DeleteSavedFilterNoContent) IsServerError() bool
IsServerError returns true when this delete saved filter no content response has a 5xx status code
func (*DeleteSavedFilterNoContent) IsSuccess ¶
func (o *DeleteSavedFilterNoContent) IsSuccess() bool
IsSuccess returns true when this delete saved filter no content response has a 2xx status code
func (*DeleteSavedFilterNoContent) String ¶
func (o *DeleteSavedFilterNoContent) String() string
type DeleteSavedFilterNotFound ¶
DeleteSavedFilterNotFound describes a response with status code 404, with default header values.
NotFound
func NewDeleteSavedFilterNotFound ¶
func NewDeleteSavedFilterNotFound() *DeleteSavedFilterNotFound
NewDeleteSavedFilterNotFound creates a DeleteSavedFilterNotFound with default headers values
func (*DeleteSavedFilterNotFound) Code ¶
func (o *DeleteSavedFilterNotFound) Code() int
Code gets the status code for the delete saved filter not found response
func (*DeleteSavedFilterNotFound) Error ¶
func (o *DeleteSavedFilterNotFound) Error() string
func (*DeleteSavedFilterNotFound) GetPayload ¶
func (o *DeleteSavedFilterNotFound) GetPayload() *models.Errors
func (*DeleteSavedFilterNotFound) IsClientError ¶
func (o *DeleteSavedFilterNotFound) IsClientError() bool
IsClientError returns true when this delete saved filter not found response has a 4xx status code
func (*DeleteSavedFilterNotFound) IsCode ¶
func (o *DeleteSavedFilterNotFound) IsCode(code int) bool
IsCode returns true when this delete saved filter not found response a status code equal to that given
func (*DeleteSavedFilterNotFound) IsRedirect ¶
func (o *DeleteSavedFilterNotFound) IsRedirect() bool
IsRedirect returns true when this delete saved filter not found response has a 3xx status code
func (*DeleteSavedFilterNotFound) IsServerError ¶
func (o *DeleteSavedFilterNotFound) IsServerError() bool
IsServerError returns true when this delete saved filter not found response has a 5xx status code
func (*DeleteSavedFilterNotFound) IsSuccess ¶
func (o *DeleteSavedFilterNotFound) IsSuccess() bool
IsSuccess returns true when this delete saved filter not found response has a 2xx status code
func (*DeleteSavedFilterNotFound) String ¶
func (o *DeleteSavedFilterNotFound) String() string
type DeleteSavedFilterParams ¶
type DeleteSavedFilterParams struct { // SavedFilterToken. SavedFilterToken string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSavedFilterParams contains all the parameters to send to the API endpoint
for the delete saved filter operation. Typically these are written to a http.Request.
func NewDeleteSavedFilterParams ¶
func NewDeleteSavedFilterParams() *DeleteSavedFilterParams
NewDeleteSavedFilterParams creates a new DeleteSavedFilterParams 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 NewDeleteSavedFilterParamsWithContext ¶
func NewDeleteSavedFilterParamsWithContext(ctx context.Context) *DeleteSavedFilterParams
NewDeleteSavedFilterParamsWithContext creates a new DeleteSavedFilterParams object with the ability to set a context for a request.
func NewDeleteSavedFilterParamsWithHTTPClient ¶
func NewDeleteSavedFilterParamsWithHTTPClient(client *http.Client) *DeleteSavedFilterParams
NewDeleteSavedFilterParamsWithHTTPClient creates a new DeleteSavedFilterParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteSavedFilterParamsWithTimeout ¶
func NewDeleteSavedFilterParamsWithTimeout(timeout time.Duration) *DeleteSavedFilterParams
NewDeleteSavedFilterParamsWithTimeout creates a new DeleteSavedFilterParams object with the ability to set a timeout on a request.
func (*DeleteSavedFilterParams) SetContext ¶
func (o *DeleteSavedFilterParams) SetContext(ctx context.Context)
SetContext adds the context to the delete saved filter params
func (*DeleteSavedFilterParams) SetDefaults ¶
func (o *DeleteSavedFilterParams) SetDefaults()
SetDefaults hydrates default values in the delete saved filter params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSavedFilterParams) SetHTTPClient ¶
func (o *DeleteSavedFilterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete saved filter params
func (*DeleteSavedFilterParams) SetSavedFilterToken ¶
func (o *DeleteSavedFilterParams) SetSavedFilterToken(savedFilterToken string)
SetSavedFilterToken adds the savedFilterToken to the delete saved filter params
func (*DeleteSavedFilterParams) SetTimeout ¶
func (o *DeleteSavedFilterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete saved filter params
func (*DeleteSavedFilterParams) WithContext ¶
func (o *DeleteSavedFilterParams) WithContext(ctx context.Context) *DeleteSavedFilterParams
WithContext adds the context to the delete saved filter params
func (*DeleteSavedFilterParams) WithDefaults ¶
func (o *DeleteSavedFilterParams) WithDefaults() *DeleteSavedFilterParams
WithDefaults hydrates default values in the delete saved filter params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSavedFilterParams) WithHTTPClient ¶
func (o *DeleteSavedFilterParams) WithHTTPClient(client *http.Client) *DeleteSavedFilterParams
WithHTTPClient adds the HTTPClient to the delete saved filter params
func (*DeleteSavedFilterParams) WithSavedFilterToken ¶
func (o *DeleteSavedFilterParams) WithSavedFilterToken(savedFilterToken string) *DeleteSavedFilterParams
WithSavedFilterToken adds the savedFilterToken to the delete saved filter params
func (*DeleteSavedFilterParams) WithTimeout ¶
func (o *DeleteSavedFilterParams) WithTimeout(timeout time.Duration) *DeleteSavedFilterParams
WithTimeout adds the timeout to the delete saved filter params
func (*DeleteSavedFilterParams) WriteToRequest ¶
func (o *DeleteSavedFilterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSavedFilterReader ¶
type DeleteSavedFilterReader struct {
// contains filtered or unexported fields
}
DeleteSavedFilterReader is a Reader for the DeleteSavedFilter structure.
func (*DeleteSavedFilterReader) ReadResponse ¶
func (o *DeleteSavedFilterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSavedFilterNotFound ¶
GetSavedFilterNotFound describes a response with status code 404, with default header values.
NotFound
func NewGetSavedFilterNotFound ¶
func NewGetSavedFilterNotFound() *GetSavedFilterNotFound
NewGetSavedFilterNotFound creates a GetSavedFilterNotFound with default headers values
func (*GetSavedFilterNotFound) Code ¶
func (o *GetSavedFilterNotFound) Code() int
Code gets the status code for the get saved filter not found response
func (*GetSavedFilterNotFound) Error ¶
func (o *GetSavedFilterNotFound) Error() string
func (*GetSavedFilterNotFound) GetPayload ¶
func (o *GetSavedFilterNotFound) GetPayload() *models.Errors
func (*GetSavedFilterNotFound) IsClientError ¶
func (o *GetSavedFilterNotFound) IsClientError() bool
IsClientError returns true when this get saved filter not found response has a 4xx status code
func (*GetSavedFilterNotFound) IsCode ¶
func (o *GetSavedFilterNotFound) IsCode(code int) bool
IsCode returns true when this get saved filter not found response a status code equal to that given
func (*GetSavedFilterNotFound) IsRedirect ¶
func (o *GetSavedFilterNotFound) IsRedirect() bool
IsRedirect returns true when this get saved filter not found response has a 3xx status code
func (*GetSavedFilterNotFound) IsServerError ¶
func (o *GetSavedFilterNotFound) IsServerError() bool
IsServerError returns true when this get saved filter not found response has a 5xx status code
func (*GetSavedFilterNotFound) IsSuccess ¶
func (o *GetSavedFilterNotFound) IsSuccess() bool
IsSuccess returns true when this get saved filter not found response has a 2xx status code
func (*GetSavedFilterNotFound) String ¶
func (o *GetSavedFilterNotFound) String() string
type GetSavedFilterOK ¶
type GetSavedFilterOK struct {
Payload *models.SavedFilter
}
GetSavedFilterOK describes a response with status code 200, with default header values.
GetSavedFilterOK get saved filter o k
func NewGetSavedFilterOK ¶
func NewGetSavedFilterOK() *GetSavedFilterOK
NewGetSavedFilterOK creates a GetSavedFilterOK with default headers values
func (*GetSavedFilterOK) Code ¶
func (o *GetSavedFilterOK) Code() int
Code gets the status code for the get saved filter o k response
func (*GetSavedFilterOK) Error ¶
func (o *GetSavedFilterOK) Error() string
func (*GetSavedFilterOK) GetPayload ¶
func (o *GetSavedFilterOK) GetPayload() *models.SavedFilter
func (*GetSavedFilterOK) IsClientError ¶
func (o *GetSavedFilterOK) IsClientError() bool
IsClientError returns true when this get saved filter o k response has a 4xx status code
func (*GetSavedFilterOK) IsCode ¶
func (o *GetSavedFilterOK) IsCode(code int) bool
IsCode returns true when this get saved filter o k response a status code equal to that given
func (*GetSavedFilterOK) IsRedirect ¶
func (o *GetSavedFilterOK) IsRedirect() bool
IsRedirect returns true when this get saved filter o k response has a 3xx status code
func (*GetSavedFilterOK) IsServerError ¶
func (o *GetSavedFilterOK) IsServerError() bool
IsServerError returns true when this get saved filter o k response has a 5xx status code
func (*GetSavedFilterOK) IsSuccess ¶
func (o *GetSavedFilterOK) IsSuccess() bool
IsSuccess returns true when this get saved filter o k response has a 2xx status code
func (*GetSavedFilterOK) String ¶
func (o *GetSavedFilterOK) String() string
type GetSavedFilterParams ¶
type GetSavedFilterParams struct { // SavedFilterToken. SavedFilterToken string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSavedFilterParams contains all the parameters to send to the API endpoint
for the get saved filter operation. Typically these are written to a http.Request.
func NewGetSavedFilterParams ¶
func NewGetSavedFilterParams() *GetSavedFilterParams
NewGetSavedFilterParams creates a new GetSavedFilterParams 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 NewGetSavedFilterParamsWithContext ¶
func NewGetSavedFilterParamsWithContext(ctx context.Context) *GetSavedFilterParams
NewGetSavedFilterParamsWithContext creates a new GetSavedFilterParams object with the ability to set a context for a request.
func NewGetSavedFilterParamsWithHTTPClient ¶
func NewGetSavedFilterParamsWithHTTPClient(client *http.Client) *GetSavedFilterParams
NewGetSavedFilterParamsWithHTTPClient creates a new GetSavedFilterParams object with the ability to set a custom HTTPClient for a request.
func NewGetSavedFilterParamsWithTimeout ¶
func NewGetSavedFilterParamsWithTimeout(timeout time.Duration) *GetSavedFilterParams
NewGetSavedFilterParamsWithTimeout creates a new GetSavedFilterParams object with the ability to set a timeout on a request.
func (*GetSavedFilterParams) SetContext ¶
func (o *GetSavedFilterParams) SetContext(ctx context.Context)
SetContext adds the context to the get saved filter params
func (*GetSavedFilterParams) SetDefaults ¶
func (o *GetSavedFilterParams) SetDefaults()
SetDefaults hydrates default values in the get saved filter params (not the query body).
All values with no default are reset to their zero value.
func (*GetSavedFilterParams) SetHTTPClient ¶
func (o *GetSavedFilterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get saved filter params
func (*GetSavedFilterParams) SetSavedFilterToken ¶
func (o *GetSavedFilterParams) SetSavedFilterToken(savedFilterToken string)
SetSavedFilterToken adds the savedFilterToken to the get saved filter params
func (*GetSavedFilterParams) SetTimeout ¶
func (o *GetSavedFilterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get saved filter params
func (*GetSavedFilterParams) WithContext ¶
func (o *GetSavedFilterParams) WithContext(ctx context.Context) *GetSavedFilterParams
WithContext adds the context to the get saved filter params
func (*GetSavedFilterParams) WithDefaults ¶
func (o *GetSavedFilterParams) WithDefaults() *GetSavedFilterParams
WithDefaults hydrates default values in the get saved filter params (not the query body).
All values with no default are reset to their zero value.
func (*GetSavedFilterParams) WithHTTPClient ¶
func (o *GetSavedFilterParams) WithHTTPClient(client *http.Client) *GetSavedFilterParams
WithHTTPClient adds the HTTPClient to the get saved filter params
func (*GetSavedFilterParams) WithSavedFilterToken ¶
func (o *GetSavedFilterParams) WithSavedFilterToken(savedFilterToken string) *GetSavedFilterParams
WithSavedFilterToken adds the savedFilterToken to the get saved filter params
func (*GetSavedFilterParams) WithTimeout ¶
func (o *GetSavedFilterParams) WithTimeout(timeout time.Duration) *GetSavedFilterParams
WithTimeout adds the timeout to the get saved filter params
func (*GetSavedFilterParams) WriteToRequest ¶
func (o *GetSavedFilterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSavedFilterReader ¶
type GetSavedFilterReader struct {
// contains filtered or unexported fields
}
GetSavedFilterReader is a Reader for the GetSavedFilter structure.
func (*GetSavedFilterReader) ReadResponse ¶
func (o *GetSavedFilterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSavedFiltersOK ¶
type GetSavedFiltersOK struct {
Payload *models.SavedFilters
}
GetSavedFiltersOK describes a response with status code 200, with default header values.
GetSavedFiltersOK get saved filters o k
func NewGetSavedFiltersOK ¶
func NewGetSavedFiltersOK() *GetSavedFiltersOK
NewGetSavedFiltersOK creates a GetSavedFiltersOK with default headers values
func (*GetSavedFiltersOK) Code ¶
func (o *GetSavedFiltersOK) Code() int
Code gets the status code for the get saved filters o k response
func (*GetSavedFiltersOK) Error ¶
func (o *GetSavedFiltersOK) Error() string
func (*GetSavedFiltersOK) GetPayload ¶
func (o *GetSavedFiltersOK) GetPayload() *models.SavedFilters
func (*GetSavedFiltersOK) IsClientError ¶
func (o *GetSavedFiltersOK) IsClientError() bool
IsClientError returns true when this get saved filters o k response has a 4xx status code
func (*GetSavedFiltersOK) IsCode ¶
func (o *GetSavedFiltersOK) IsCode(code int) bool
IsCode returns true when this get saved filters o k response a status code equal to that given
func (*GetSavedFiltersOK) IsRedirect ¶
func (o *GetSavedFiltersOK) IsRedirect() bool
IsRedirect returns true when this get saved filters o k response has a 3xx status code
func (*GetSavedFiltersOK) IsServerError ¶
func (o *GetSavedFiltersOK) IsServerError() bool
IsServerError returns true when this get saved filters o k response has a 5xx status code
func (*GetSavedFiltersOK) IsSuccess ¶
func (o *GetSavedFiltersOK) IsSuccess() bool
IsSuccess returns true when this get saved filters o k response has a 2xx status code
func (*GetSavedFiltersOK) String ¶
func (o *GetSavedFiltersOK) String() string
type GetSavedFiltersParams ¶
type GetSavedFiltersParams struct { /* Limit. The amount of results to return. The maximum is 1000. Format: int32 */ Limit *int32 /* Page. The page of results to return. Format: int32 */ Page *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSavedFiltersParams contains all the parameters to send to the API endpoint
for the get saved filters operation. Typically these are written to a http.Request.
func NewGetSavedFiltersParams ¶
func NewGetSavedFiltersParams() *GetSavedFiltersParams
NewGetSavedFiltersParams creates a new GetSavedFiltersParams 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 NewGetSavedFiltersParamsWithContext ¶
func NewGetSavedFiltersParamsWithContext(ctx context.Context) *GetSavedFiltersParams
NewGetSavedFiltersParamsWithContext creates a new GetSavedFiltersParams object with the ability to set a context for a request.
func NewGetSavedFiltersParamsWithHTTPClient ¶
func NewGetSavedFiltersParamsWithHTTPClient(client *http.Client) *GetSavedFiltersParams
NewGetSavedFiltersParamsWithHTTPClient creates a new GetSavedFiltersParams object with the ability to set a custom HTTPClient for a request.
func NewGetSavedFiltersParamsWithTimeout ¶
func NewGetSavedFiltersParamsWithTimeout(timeout time.Duration) *GetSavedFiltersParams
NewGetSavedFiltersParamsWithTimeout creates a new GetSavedFiltersParams object with the ability to set a timeout on a request.
func (*GetSavedFiltersParams) SetContext ¶
func (o *GetSavedFiltersParams) SetContext(ctx context.Context)
SetContext adds the context to the get saved filters params
func (*GetSavedFiltersParams) SetDefaults ¶
func (o *GetSavedFiltersParams) SetDefaults()
SetDefaults hydrates default values in the get saved filters params (not the query body).
All values with no default are reset to their zero value.
func (*GetSavedFiltersParams) SetHTTPClient ¶
func (o *GetSavedFiltersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get saved filters params
func (*GetSavedFiltersParams) SetLimit ¶
func (o *GetSavedFiltersParams) SetLimit(limit *int32)
SetLimit adds the limit to the get saved filters params
func (*GetSavedFiltersParams) SetPage ¶
func (o *GetSavedFiltersParams) SetPage(page *int32)
SetPage adds the page to the get saved filters params
func (*GetSavedFiltersParams) SetTimeout ¶
func (o *GetSavedFiltersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get saved filters params
func (*GetSavedFiltersParams) WithContext ¶
func (o *GetSavedFiltersParams) WithContext(ctx context.Context) *GetSavedFiltersParams
WithContext adds the context to the get saved filters params
func (*GetSavedFiltersParams) WithDefaults ¶
func (o *GetSavedFiltersParams) WithDefaults() *GetSavedFiltersParams
WithDefaults hydrates default values in the get saved filters params (not the query body).
All values with no default are reset to their zero value.
func (*GetSavedFiltersParams) WithHTTPClient ¶
func (o *GetSavedFiltersParams) WithHTTPClient(client *http.Client) *GetSavedFiltersParams
WithHTTPClient adds the HTTPClient to the get saved filters params
func (*GetSavedFiltersParams) WithLimit ¶
func (o *GetSavedFiltersParams) WithLimit(limit *int32) *GetSavedFiltersParams
WithLimit adds the limit to the get saved filters params
func (*GetSavedFiltersParams) WithPage ¶
func (o *GetSavedFiltersParams) WithPage(page *int32) *GetSavedFiltersParams
WithPage adds the page to the get saved filters params
func (*GetSavedFiltersParams) WithTimeout ¶
func (o *GetSavedFiltersParams) WithTimeout(timeout time.Duration) *GetSavedFiltersParams
WithTimeout adds the timeout to the get saved filters params
func (*GetSavedFiltersParams) WriteToRequest ¶
func (o *GetSavedFiltersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSavedFiltersReader ¶
type GetSavedFiltersReader struct {
// contains filtered or unexported fields
}
GetSavedFiltersReader is a Reader for the GetSavedFilters structure.
func (*GetSavedFiltersReader) ReadResponse ¶
func (o *GetSavedFiltersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSavedFilterBadRequest ¶
UpdateSavedFilterBadRequest describes a response with status code 400, with default header values.
BadRequest
func NewUpdateSavedFilterBadRequest ¶
func NewUpdateSavedFilterBadRequest() *UpdateSavedFilterBadRequest
NewUpdateSavedFilterBadRequest creates a UpdateSavedFilterBadRequest with default headers values
func (*UpdateSavedFilterBadRequest) Code ¶
func (o *UpdateSavedFilterBadRequest) Code() int
Code gets the status code for the update saved filter bad request response
func (*UpdateSavedFilterBadRequest) Error ¶
func (o *UpdateSavedFilterBadRequest) Error() string
func (*UpdateSavedFilterBadRequest) GetPayload ¶
func (o *UpdateSavedFilterBadRequest) GetPayload() *models.Errors
func (*UpdateSavedFilterBadRequest) IsClientError ¶
func (o *UpdateSavedFilterBadRequest) IsClientError() bool
IsClientError returns true when this update saved filter bad request response has a 4xx status code
func (*UpdateSavedFilterBadRequest) IsCode ¶
func (o *UpdateSavedFilterBadRequest) IsCode(code int) bool
IsCode returns true when this update saved filter bad request response a status code equal to that given
func (*UpdateSavedFilterBadRequest) IsRedirect ¶
func (o *UpdateSavedFilterBadRequest) IsRedirect() bool
IsRedirect returns true when this update saved filter bad request response has a 3xx status code
func (*UpdateSavedFilterBadRequest) IsServerError ¶
func (o *UpdateSavedFilterBadRequest) IsServerError() bool
IsServerError returns true when this update saved filter bad request response has a 5xx status code
func (*UpdateSavedFilterBadRequest) IsSuccess ¶
func (o *UpdateSavedFilterBadRequest) IsSuccess() bool
IsSuccess returns true when this update saved filter bad request response has a 2xx status code
func (*UpdateSavedFilterBadRequest) String ¶
func (o *UpdateSavedFilterBadRequest) String() string
type UpdateSavedFilterNotFound ¶
UpdateSavedFilterNotFound describes a response with status code 404, with default header values.
NotFound
func NewUpdateSavedFilterNotFound ¶
func NewUpdateSavedFilterNotFound() *UpdateSavedFilterNotFound
NewUpdateSavedFilterNotFound creates a UpdateSavedFilterNotFound with default headers values
func (*UpdateSavedFilterNotFound) Code ¶
func (o *UpdateSavedFilterNotFound) Code() int
Code gets the status code for the update saved filter not found response
func (*UpdateSavedFilterNotFound) Error ¶
func (o *UpdateSavedFilterNotFound) Error() string
func (*UpdateSavedFilterNotFound) GetPayload ¶
func (o *UpdateSavedFilterNotFound) GetPayload() *models.Errors
func (*UpdateSavedFilterNotFound) IsClientError ¶
func (o *UpdateSavedFilterNotFound) IsClientError() bool
IsClientError returns true when this update saved filter not found response has a 4xx status code
func (*UpdateSavedFilterNotFound) IsCode ¶
func (o *UpdateSavedFilterNotFound) IsCode(code int) bool
IsCode returns true when this update saved filter not found response a status code equal to that given
func (*UpdateSavedFilterNotFound) IsRedirect ¶
func (o *UpdateSavedFilterNotFound) IsRedirect() bool
IsRedirect returns true when this update saved filter not found response has a 3xx status code
func (*UpdateSavedFilterNotFound) IsServerError ¶
func (o *UpdateSavedFilterNotFound) IsServerError() bool
IsServerError returns true when this update saved filter not found response has a 5xx status code
func (*UpdateSavedFilterNotFound) IsSuccess ¶
func (o *UpdateSavedFilterNotFound) IsSuccess() bool
IsSuccess returns true when this update saved filter not found response has a 2xx status code
func (*UpdateSavedFilterNotFound) String ¶
func (o *UpdateSavedFilterNotFound) String() string
type UpdateSavedFilterOK ¶
type UpdateSavedFilterOK struct {
Payload *models.SavedFilter
}
UpdateSavedFilterOK describes a response with status code 200, with default header values.
UpdateSavedFilterOK update saved filter o k
func NewUpdateSavedFilterOK ¶
func NewUpdateSavedFilterOK() *UpdateSavedFilterOK
NewUpdateSavedFilterOK creates a UpdateSavedFilterOK with default headers values
func (*UpdateSavedFilterOK) Code ¶
func (o *UpdateSavedFilterOK) Code() int
Code gets the status code for the update saved filter o k response
func (*UpdateSavedFilterOK) Error ¶
func (o *UpdateSavedFilterOK) Error() string
func (*UpdateSavedFilterOK) GetPayload ¶
func (o *UpdateSavedFilterOK) GetPayload() *models.SavedFilter
func (*UpdateSavedFilterOK) IsClientError ¶
func (o *UpdateSavedFilterOK) IsClientError() bool
IsClientError returns true when this update saved filter o k response has a 4xx status code
func (*UpdateSavedFilterOK) IsCode ¶
func (o *UpdateSavedFilterOK) IsCode(code int) bool
IsCode returns true when this update saved filter o k response a status code equal to that given
func (*UpdateSavedFilterOK) IsRedirect ¶
func (o *UpdateSavedFilterOK) IsRedirect() bool
IsRedirect returns true when this update saved filter o k response has a 3xx status code
func (*UpdateSavedFilterOK) IsServerError ¶
func (o *UpdateSavedFilterOK) IsServerError() bool
IsServerError returns true when this update saved filter o k response has a 5xx status code
func (*UpdateSavedFilterOK) IsSuccess ¶
func (o *UpdateSavedFilterOK) IsSuccess() bool
IsSuccess returns true when this update saved filter o k response has a 2xx status code
func (*UpdateSavedFilterOK) String ¶
func (o *UpdateSavedFilterOK) String() string
type UpdateSavedFilterParams ¶
type UpdateSavedFilterParams struct { // SavedFilterToken. SavedFilterToken string // UpdateSavedFilter. UpdateSavedFilter *models.UpdateSavedFilter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSavedFilterParams contains all the parameters to send to the API endpoint
for the update saved filter operation. Typically these are written to a http.Request.
func NewUpdateSavedFilterParams ¶
func NewUpdateSavedFilterParams() *UpdateSavedFilterParams
NewUpdateSavedFilterParams creates a new UpdateSavedFilterParams 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 NewUpdateSavedFilterParamsWithContext ¶
func NewUpdateSavedFilterParamsWithContext(ctx context.Context) *UpdateSavedFilterParams
NewUpdateSavedFilterParamsWithContext creates a new UpdateSavedFilterParams object with the ability to set a context for a request.
func NewUpdateSavedFilterParamsWithHTTPClient ¶
func NewUpdateSavedFilterParamsWithHTTPClient(client *http.Client) *UpdateSavedFilterParams
NewUpdateSavedFilterParamsWithHTTPClient creates a new UpdateSavedFilterParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateSavedFilterParamsWithTimeout ¶
func NewUpdateSavedFilterParamsWithTimeout(timeout time.Duration) *UpdateSavedFilterParams
NewUpdateSavedFilterParamsWithTimeout creates a new UpdateSavedFilterParams object with the ability to set a timeout on a request.
func (*UpdateSavedFilterParams) SetContext ¶
func (o *UpdateSavedFilterParams) SetContext(ctx context.Context)
SetContext adds the context to the update saved filter params
func (*UpdateSavedFilterParams) SetDefaults ¶
func (o *UpdateSavedFilterParams) SetDefaults()
SetDefaults hydrates default values in the update saved filter params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSavedFilterParams) SetHTTPClient ¶
func (o *UpdateSavedFilterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update saved filter params
func (*UpdateSavedFilterParams) SetSavedFilterToken ¶
func (o *UpdateSavedFilterParams) SetSavedFilterToken(savedFilterToken string)
SetSavedFilterToken adds the savedFilterToken to the update saved filter params
func (*UpdateSavedFilterParams) SetTimeout ¶
func (o *UpdateSavedFilterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update saved filter params
func (*UpdateSavedFilterParams) SetUpdateSavedFilter ¶
func (o *UpdateSavedFilterParams) SetUpdateSavedFilter(updateSavedFilter *models.UpdateSavedFilter)
SetUpdateSavedFilter adds the updateSavedFilter to the update saved filter params
func (*UpdateSavedFilterParams) WithContext ¶
func (o *UpdateSavedFilterParams) WithContext(ctx context.Context) *UpdateSavedFilterParams
WithContext adds the context to the update saved filter params
func (*UpdateSavedFilterParams) WithDefaults ¶
func (o *UpdateSavedFilterParams) WithDefaults() *UpdateSavedFilterParams
WithDefaults hydrates default values in the update saved filter params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSavedFilterParams) WithHTTPClient ¶
func (o *UpdateSavedFilterParams) WithHTTPClient(client *http.Client) *UpdateSavedFilterParams
WithHTTPClient adds the HTTPClient to the update saved filter params
func (*UpdateSavedFilterParams) WithSavedFilterToken ¶
func (o *UpdateSavedFilterParams) WithSavedFilterToken(savedFilterToken string) *UpdateSavedFilterParams
WithSavedFilterToken adds the savedFilterToken to the update saved filter params
func (*UpdateSavedFilterParams) WithTimeout ¶
func (o *UpdateSavedFilterParams) WithTimeout(timeout time.Duration) *UpdateSavedFilterParams
WithTimeout adds the timeout to the update saved filter params
func (*UpdateSavedFilterParams) WithUpdateSavedFilter ¶
func (o *UpdateSavedFilterParams) WithUpdateSavedFilter(updateSavedFilter *models.UpdateSavedFilter) *UpdateSavedFilterParams
WithUpdateSavedFilter adds the updateSavedFilter to the update saved filter params
func (*UpdateSavedFilterParams) WriteToRequest ¶
func (o *UpdateSavedFilterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSavedFilterReader ¶
type UpdateSavedFilterReader struct {
// contains filtered or unexported fields
}
UpdateSavedFilterReader is a Reader for the UpdateSavedFilter structure.
func (*UpdateSavedFilterReader) ReadResponse ¶
func (o *UpdateSavedFilterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSavedFilterUnprocessableEntity ¶
UpdateSavedFilterUnprocessableEntity describes a response with status code 422, with default header values.
UnprocessableEntity
func NewUpdateSavedFilterUnprocessableEntity ¶
func NewUpdateSavedFilterUnprocessableEntity() *UpdateSavedFilterUnprocessableEntity
NewUpdateSavedFilterUnprocessableEntity creates a UpdateSavedFilterUnprocessableEntity with default headers values
func (*UpdateSavedFilterUnprocessableEntity) Code ¶
func (o *UpdateSavedFilterUnprocessableEntity) Code() int
Code gets the status code for the update saved filter unprocessable entity response
func (*UpdateSavedFilterUnprocessableEntity) Error ¶
func (o *UpdateSavedFilterUnprocessableEntity) Error() string
func (*UpdateSavedFilterUnprocessableEntity) GetPayload ¶
func (o *UpdateSavedFilterUnprocessableEntity) GetPayload() *models.Errors
func (*UpdateSavedFilterUnprocessableEntity) IsClientError ¶
func (o *UpdateSavedFilterUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update saved filter unprocessable entity response has a 4xx status code
func (*UpdateSavedFilterUnprocessableEntity) IsCode ¶
func (o *UpdateSavedFilterUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update saved filter unprocessable entity response a status code equal to that given
func (*UpdateSavedFilterUnprocessableEntity) IsRedirect ¶
func (o *UpdateSavedFilterUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update saved filter unprocessable entity response has a 3xx status code
func (*UpdateSavedFilterUnprocessableEntity) IsServerError ¶
func (o *UpdateSavedFilterUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update saved filter unprocessable entity response has a 5xx status code
func (*UpdateSavedFilterUnprocessableEntity) IsSuccess ¶
func (o *UpdateSavedFilterUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update saved filter unprocessable entity response has a 2xx status code
func (*UpdateSavedFilterUnprocessableEntity) String ¶
func (o *UpdateSavedFilterUnprocessableEntity) String() string
Source Files ¶
- create_saved_filter_parameters.go
- create_saved_filter_responses.go
- delete_saved_filter_parameters.go
- delete_saved_filter_responses.go
- get_saved_filter_parameters.go
- get_saved_filter_responses.go
- get_saved_filters_parameters.go
- get_saved_filters_responses.go
- saved_filters_client.go
- update_saved_filter_parameters.go
- update_saved_filter_responses.go