Documentation
¶
Index ¶
- type Client
- func (a *Client) FilterV1Delete(params *FilterV1DeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FilterV1DeleteOK, error)
- func (a *Client) FilterV1Get(params *FilterV1GetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FilterV1GetOK, error)
- func (a *Client) FilterV1Post(params *FilterV1PostParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FilterV1PostOK, error)
- func (a *Client) FilterV1Put(params *FilterV1PutParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FilterV1PutOK, error)
- func (a *Client) FiltersV1Get(params *FiltersV1GetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FiltersV1GetOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type FilterV1DeleteBadRequest
- func (o *FilterV1DeleteBadRequest) Code() int
- func (o *FilterV1DeleteBadRequest) Error() string
- func (o *FilterV1DeleteBadRequest) IsClientError() bool
- func (o *FilterV1DeleteBadRequest) IsCode(code int) bool
- func (o *FilterV1DeleteBadRequest) IsRedirect() bool
- func (o *FilterV1DeleteBadRequest) IsServerError() bool
- func (o *FilterV1DeleteBadRequest) IsSuccess() bool
- func (o *FilterV1DeleteBadRequest) String() string
- type FilterV1DeleteInternalServerError
- func (o *FilterV1DeleteInternalServerError) Code() int
- func (o *FilterV1DeleteInternalServerError) Error() string
- func (o *FilterV1DeleteInternalServerError) IsClientError() bool
- func (o *FilterV1DeleteInternalServerError) IsCode(code int) bool
- func (o *FilterV1DeleteInternalServerError) IsRedirect() bool
- func (o *FilterV1DeleteInternalServerError) IsServerError() bool
- func (o *FilterV1DeleteInternalServerError) IsSuccess() bool
- func (o *FilterV1DeleteInternalServerError) String() string
- type FilterV1DeleteNotAcceptable
- func (o *FilterV1DeleteNotAcceptable) Code() int
- func (o *FilterV1DeleteNotAcceptable) Error() string
- func (o *FilterV1DeleteNotAcceptable) IsClientError() bool
- func (o *FilterV1DeleteNotAcceptable) IsCode(code int) bool
- func (o *FilterV1DeleteNotAcceptable) IsRedirect() bool
- func (o *FilterV1DeleteNotAcceptable) IsServerError() bool
- func (o *FilterV1DeleteNotAcceptable) IsSuccess() bool
- func (o *FilterV1DeleteNotAcceptable) String() string
- type FilterV1DeleteNotFound
- func (o *FilterV1DeleteNotFound) Code() int
- func (o *FilterV1DeleteNotFound) Error() string
- func (o *FilterV1DeleteNotFound) IsClientError() bool
- func (o *FilterV1DeleteNotFound) IsCode(code int) bool
- func (o *FilterV1DeleteNotFound) IsRedirect() bool
- func (o *FilterV1DeleteNotFound) IsServerError() bool
- func (o *FilterV1DeleteNotFound) IsSuccess() bool
- func (o *FilterV1DeleteNotFound) String() string
- type FilterV1DeleteOK
- func (o *FilterV1DeleteOK) Code() int
- func (o *FilterV1DeleteOK) Error() string
- func (o *FilterV1DeleteOK) IsClientError() bool
- func (o *FilterV1DeleteOK) IsCode(code int) bool
- func (o *FilterV1DeleteOK) IsRedirect() bool
- func (o *FilterV1DeleteOK) IsServerError() bool
- func (o *FilterV1DeleteOK) IsSuccess() bool
- func (o *FilterV1DeleteOK) String() string
- type FilterV1DeleteParams
- func NewFilterV1DeleteParams() *FilterV1DeleteParams
- func NewFilterV1DeleteParamsWithContext(ctx context.Context) *FilterV1DeleteParams
- func NewFilterV1DeleteParamsWithHTTPClient(client *http.Client) *FilterV1DeleteParams
- func NewFilterV1DeleteParamsWithTimeout(timeout time.Duration) *FilterV1DeleteParams
- func (o *FilterV1DeleteParams) SetContext(ctx context.Context)
- func (o *FilterV1DeleteParams) SetDefaults()
- func (o *FilterV1DeleteParams) SetHTTPClient(client *http.Client)
- func (o *FilterV1DeleteParams) SetID(id string)
- func (o *FilterV1DeleteParams) SetTimeout(timeout time.Duration)
- func (o *FilterV1DeleteParams) WithContext(ctx context.Context) *FilterV1DeleteParams
- func (o *FilterV1DeleteParams) WithDefaults() *FilterV1DeleteParams
- func (o *FilterV1DeleteParams) WithHTTPClient(client *http.Client) *FilterV1DeleteParams
- func (o *FilterV1DeleteParams) WithID(id string) *FilterV1DeleteParams
- func (o *FilterV1DeleteParams) WithTimeout(timeout time.Duration) *FilterV1DeleteParams
- func (o *FilterV1DeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FilterV1DeleteReader
- type FilterV1DeleteUnauthorized
- func (o *FilterV1DeleteUnauthorized) Code() int
- func (o *FilterV1DeleteUnauthorized) Error() string
- func (o *FilterV1DeleteUnauthorized) IsClientError() bool
- func (o *FilterV1DeleteUnauthorized) IsCode(code int) bool
- func (o *FilterV1DeleteUnauthorized) IsRedirect() bool
- func (o *FilterV1DeleteUnauthorized) IsServerError() bool
- func (o *FilterV1DeleteUnauthorized) IsSuccess() bool
- func (o *FilterV1DeleteUnauthorized) String() string
- type FilterV1GetBadRequest
- func (o *FilterV1GetBadRequest) Code() int
- func (o *FilterV1GetBadRequest) Error() string
- func (o *FilterV1GetBadRequest) IsClientError() bool
- func (o *FilterV1GetBadRequest) IsCode(code int) bool
- func (o *FilterV1GetBadRequest) IsRedirect() bool
- func (o *FilterV1GetBadRequest) IsServerError() bool
- func (o *FilterV1GetBadRequest) IsSuccess() bool
- func (o *FilterV1GetBadRequest) String() string
- type FilterV1GetInternalServerError
- func (o *FilterV1GetInternalServerError) Code() int
- func (o *FilterV1GetInternalServerError) Error() string
- func (o *FilterV1GetInternalServerError) IsClientError() bool
- func (o *FilterV1GetInternalServerError) IsCode(code int) bool
- func (o *FilterV1GetInternalServerError) IsRedirect() bool
- func (o *FilterV1GetInternalServerError) IsServerError() bool
- func (o *FilterV1GetInternalServerError) IsSuccess() bool
- func (o *FilterV1GetInternalServerError) String() string
- type FilterV1GetNotAcceptable
- func (o *FilterV1GetNotAcceptable) Code() int
- func (o *FilterV1GetNotAcceptable) Error() string
- func (o *FilterV1GetNotAcceptable) IsClientError() bool
- func (o *FilterV1GetNotAcceptable) IsCode(code int) bool
- func (o *FilterV1GetNotAcceptable) IsRedirect() bool
- func (o *FilterV1GetNotAcceptable) IsServerError() bool
- func (o *FilterV1GetNotAcceptable) IsSuccess() bool
- func (o *FilterV1GetNotAcceptable) String() string
- type FilterV1GetNotFound
- func (o *FilterV1GetNotFound) Code() int
- func (o *FilterV1GetNotFound) Error() string
- func (o *FilterV1GetNotFound) IsClientError() bool
- func (o *FilterV1GetNotFound) IsCode(code int) bool
- func (o *FilterV1GetNotFound) IsRedirect() bool
- func (o *FilterV1GetNotFound) IsServerError() bool
- func (o *FilterV1GetNotFound) IsSuccess() bool
- func (o *FilterV1GetNotFound) String() string
- type FilterV1GetOK
- func (o *FilterV1GetOK) Code() int
- func (o *FilterV1GetOK) Error() string
- func (o *FilterV1GetOK) GetPayload() *models.FilterV1
- func (o *FilterV1GetOK) IsClientError() bool
- func (o *FilterV1GetOK) IsCode(code int) bool
- func (o *FilterV1GetOK) IsRedirect() bool
- func (o *FilterV1GetOK) IsServerError() bool
- func (o *FilterV1GetOK) IsSuccess() bool
- func (o *FilterV1GetOK) String() string
- type FilterV1GetParams
- func (o *FilterV1GetParams) SetContext(ctx context.Context)
- func (o *FilterV1GetParams) SetDefaults()
- func (o *FilterV1GetParams) SetHTTPClient(client *http.Client)
- func (o *FilterV1GetParams) SetID(id string)
- func (o *FilterV1GetParams) SetTimeout(timeout time.Duration)
- func (o *FilterV1GetParams) WithContext(ctx context.Context) *FilterV1GetParams
- func (o *FilterV1GetParams) WithDefaults() *FilterV1GetParams
- func (o *FilterV1GetParams) WithHTTPClient(client *http.Client) *FilterV1GetParams
- func (o *FilterV1GetParams) WithID(id string) *FilterV1GetParams
- func (o *FilterV1GetParams) WithTimeout(timeout time.Duration) *FilterV1GetParams
- func (o *FilterV1GetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FilterV1GetReader
- type FilterV1GetUnauthorized
- func (o *FilterV1GetUnauthorized) Code() int
- func (o *FilterV1GetUnauthorized) Error() string
- func (o *FilterV1GetUnauthorized) IsClientError() bool
- func (o *FilterV1GetUnauthorized) IsCode(code int) bool
- func (o *FilterV1GetUnauthorized) IsRedirect() bool
- func (o *FilterV1GetUnauthorized) IsServerError() bool
- func (o *FilterV1GetUnauthorized) IsSuccess() bool
- func (o *FilterV1GetUnauthorized) String() string
- type FilterV1PostBadRequest
- func (o *FilterV1PostBadRequest) Code() int
- func (o *FilterV1PostBadRequest) Error() string
- func (o *FilterV1PostBadRequest) IsClientError() bool
- func (o *FilterV1PostBadRequest) IsCode(code int) bool
- func (o *FilterV1PostBadRequest) IsRedirect() bool
- func (o *FilterV1PostBadRequest) IsServerError() bool
- func (o *FilterV1PostBadRequest) IsSuccess() bool
- func (o *FilterV1PostBadRequest) String() string
- type FilterV1PostInternalServerError
- func (o *FilterV1PostInternalServerError) Code() int
- func (o *FilterV1PostInternalServerError) Error() string
- func (o *FilterV1PostInternalServerError) IsClientError() bool
- func (o *FilterV1PostInternalServerError) IsCode(code int) bool
- func (o *FilterV1PostInternalServerError) IsRedirect() bool
- func (o *FilterV1PostInternalServerError) IsServerError() bool
- func (o *FilterV1PostInternalServerError) IsSuccess() bool
- func (o *FilterV1PostInternalServerError) String() string
- type FilterV1PostNotAcceptable
- func (o *FilterV1PostNotAcceptable) Code() int
- func (o *FilterV1PostNotAcceptable) Error() string
- func (o *FilterV1PostNotAcceptable) IsClientError() bool
- func (o *FilterV1PostNotAcceptable) IsCode(code int) bool
- func (o *FilterV1PostNotAcceptable) IsRedirect() bool
- func (o *FilterV1PostNotAcceptable) IsServerError() bool
- func (o *FilterV1PostNotAcceptable) IsSuccess() bool
- func (o *FilterV1PostNotAcceptable) String() string
- type FilterV1PostNotFound
- func (o *FilterV1PostNotFound) Code() int
- func (o *FilterV1PostNotFound) Error() string
- func (o *FilterV1PostNotFound) IsClientError() bool
- func (o *FilterV1PostNotFound) IsCode(code int) bool
- func (o *FilterV1PostNotFound) IsRedirect() bool
- func (o *FilterV1PostNotFound) IsServerError() bool
- func (o *FilterV1PostNotFound) IsSuccess() bool
- func (o *FilterV1PostNotFound) String() string
- type FilterV1PostOK
- func (o *FilterV1PostOK) Code() int
- func (o *FilterV1PostOK) Error() string
- func (o *FilterV1PostOK) GetPayload() *models.FilterV1
- func (o *FilterV1PostOK) IsClientError() bool
- func (o *FilterV1PostOK) IsCode(code int) bool
- func (o *FilterV1PostOK) IsRedirect() bool
- func (o *FilterV1PostOK) IsServerError() bool
- func (o *FilterV1PostOK) IsSuccess() bool
- func (o *FilterV1PostOK) String() string
- type FilterV1PostParams
- func (o *FilterV1PostParams) SetContext(ctx context.Context)
- func (o *FilterV1PostParams) SetDefaults()
- func (o *FilterV1PostParams) SetExpiresIn(expiresIn *float64)
- func (o *FilterV1PostParams) SetFContext(context []string)
- func (o *FilterV1PostParams) SetHTTPClient(client *http.Client)
- func (o *FilterV1PostParams) SetIrreversible(irreversible *bool)
- func (o *FilterV1PostParams) SetPhrase(phrase string)
- func (o *FilterV1PostParams) SetTimeout(timeout time.Duration)
- func (o *FilterV1PostParams) SetWholeWord(wholeWord *bool)
- func (o *FilterV1PostParams) WithContext(ctx context.Context) *FilterV1PostParams
- func (o *FilterV1PostParams) WithDefaults() *FilterV1PostParams
- func (o *FilterV1PostParams) WithExpiresIn(expiresIn *float64) *FilterV1PostParams
- func (o *FilterV1PostParams) WithFContext(context []string) *FilterV1PostParams
- func (o *FilterV1PostParams) WithHTTPClient(client *http.Client) *FilterV1PostParams
- func (o *FilterV1PostParams) WithIrreversible(irreversible *bool) *FilterV1PostParams
- func (o *FilterV1PostParams) WithPhrase(phrase string) *FilterV1PostParams
- func (o *FilterV1PostParams) WithTimeout(timeout time.Duration) *FilterV1PostParams
- func (o *FilterV1PostParams) WithWholeWord(wholeWord *bool) *FilterV1PostParams
- func (o *FilterV1PostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FilterV1PostReader
- type FilterV1PostUnauthorized
- func (o *FilterV1PostUnauthorized) Code() int
- func (o *FilterV1PostUnauthorized) Error() string
- func (o *FilterV1PostUnauthorized) IsClientError() bool
- func (o *FilterV1PostUnauthorized) IsCode(code int) bool
- func (o *FilterV1PostUnauthorized) IsRedirect() bool
- func (o *FilterV1PostUnauthorized) IsServerError() bool
- func (o *FilterV1PostUnauthorized) IsSuccess() bool
- func (o *FilterV1PostUnauthorized) String() string
- type FilterV1PostUnprocessableEntity
- func (o *FilterV1PostUnprocessableEntity) Code() int
- func (o *FilterV1PostUnprocessableEntity) Error() string
- func (o *FilterV1PostUnprocessableEntity) IsClientError() bool
- func (o *FilterV1PostUnprocessableEntity) IsCode(code int) bool
- func (o *FilterV1PostUnprocessableEntity) IsRedirect() bool
- func (o *FilterV1PostUnprocessableEntity) IsServerError() bool
- func (o *FilterV1PostUnprocessableEntity) IsSuccess() bool
- func (o *FilterV1PostUnprocessableEntity) String() string
- type FilterV1PutBadRequest
- func (o *FilterV1PutBadRequest) Code() int
- func (o *FilterV1PutBadRequest) Error() string
- func (o *FilterV1PutBadRequest) IsClientError() bool
- func (o *FilterV1PutBadRequest) IsCode(code int) bool
- func (o *FilterV1PutBadRequest) IsRedirect() bool
- func (o *FilterV1PutBadRequest) IsServerError() bool
- func (o *FilterV1PutBadRequest) IsSuccess() bool
- func (o *FilterV1PutBadRequest) String() string
- type FilterV1PutInternalServerError
- func (o *FilterV1PutInternalServerError) Code() int
- func (o *FilterV1PutInternalServerError) Error() string
- func (o *FilterV1PutInternalServerError) IsClientError() bool
- func (o *FilterV1PutInternalServerError) IsCode(code int) bool
- func (o *FilterV1PutInternalServerError) IsRedirect() bool
- func (o *FilterV1PutInternalServerError) IsServerError() bool
- func (o *FilterV1PutInternalServerError) IsSuccess() bool
- func (o *FilterV1PutInternalServerError) String() string
- type FilterV1PutNotAcceptable
- func (o *FilterV1PutNotAcceptable) Code() int
- func (o *FilterV1PutNotAcceptable) Error() string
- func (o *FilterV1PutNotAcceptable) IsClientError() bool
- func (o *FilterV1PutNotAcceptable) IsCode(code int) bool
- func (o *FilterV1PutNotAcceptable) IsRedirect() bool
- func (o *FilterV1PutNotAcceptable) IsServerError() bool
- func (o *FilterV1PutNotAcceptable) IsSuccess() bool
- func (o *FilterV1PutNotAcceptable) String() string
- type FilterV1PutNotFound
- func (o *FilterV1PutNotFound) Code() int
- func (o *FilterV1PutNotFound) Error() string
- func (o *FilterV1PutNotFound) IsClientError() bool
- func (o *FilterV1PutNotFound) IsCode(code int) bool
- func (o *FilterV1PutNotFound) IsRedirect() bool
- func (o *FilterV1PutNotFound) IsServerError() bool
- func (o *FilterV1PutNotFound) IsSuccess() bool
- func (o *FilterV1PutNotFound) String() string
- type FilterV1PutOK
- func (o *FilterV1PutOK) Code() int
- func (o *FilterV1PutOK) Error() string
- func (o *FilterV1PutOK) GetPayload() *models.FilterV1
- func (o *FilterV1PutOK) IsClientError() bool
- func (o *FilterV1PutOK) IsCode(code int) bool
- func (o *FilterV1PutOK) IsRedirect() bool
- func (o *FilterV1PutOK) IsServerError() bool
- func (o *FilterV1PutOK) IsSuccess() bool
- func (o *FilterV1PutOK) String() string
- type FilterV1PutParams
- func (o *FilterV1PutParams) SetContext(ctx context.Context)
- func (o *FilterV1PutParams) SetDefaults()
- func (o *FilterV1PutParams) SetExpiresIn(expiresIn *float64)
- func (o *FilterV1PutParams) SetFContext(context []string)
- func (o *FilterV1PutParams) SetHTTPClient(client *http.Client)
- func (o *FilterV1PutParams) SetID(id string)
- func (o *FilterV1PutParams) SetIrreversible(irreversible *bool)
- func (o *FilterV1PutParams) SetPhrase(phrase string)
- func (o *FilterV1PutParams) SetTimeout(timeout time.Duration)
- func (o *FilterV1PutParams) SetWholeWord(wholeWord *bool)
- func (o *FilterV1PutParams) WithContext(ctx context.Context) *FilterV1PutParams
- func (o *FilterV1PutParams) WithDefaults() *FilterV1PutParams
- func (o *FilterV1PutParams) WithExpiresIn(expiresIn *float64) *FilterV1PutParams
- func (o *FilterV1PutParams) WithFContext(context []string) *FilterV1PutParams
- func (o *FilterV1PutParams) WithHTTPClient(client *http.Client) *FilterV1PutParams
- func (o *FilterV1PutParams) WithID(id string) *FilterV1PutParams
- func (o *FilterV1PutParams) WithIrreversible(irreversible *bool) *FilterV1PutParams
- func (o *FilterV1PutParams) WithPhrase(phrase string) *FilterV1PutParams
- func (o *FilterV1PutParams) WithTimeout(timeout time.Duration) *FilterV1PutParams
- func (o *FilterV1PutParams) WithWholeWord(wholeWord *bool) *FilterV1PutParams
- func (o *FilterV1PutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FilterV1PutReader
- type FilterV1PutUnauthorized
- func (o *FilterV1PutUnauthorized) Code() int
- func (o *FilterV1PutUnauthorized) Error() string
- func (o *FilterV1PutUnauthorized) IsClientError() bool
- func (o *FilterV1PutUnauthorized) IsCode(code int) bool
- func (o *FilterV1PutUnauthorized) IsRedirect() bool
- func (o *FilterV1PutUnauthorized) IsServerError() bool
- func (o *FilterV1PutUnauthorized) IsSuccess() bool
- func (o *FilterV1PutUnauthorized) String() string
- type FilterV1PutUnprocessableEntity
- func (o *FilterV1PutUnprocessableEntity) Code() int
- func (o *FilterV1PutUnprocessableEntity) Error() string
- func (o *FilterV1PutUnprocessableEntity) IsClientError() bool
- func (o *FilterV1PutUnprocessableEntity) IsCode(code int) bool
- func (o *FilterV1PutUnprocessableEntity) IsRedirect() bool
- func (o *FilterV1PutUnprocessableEntity) IsServerError() bool
- func (o *FilterV1PutUnprocessableEntity) IsSuccess() bool
- func (o *FilterV1PutUnprocessableEntity) String() string
- type FiltersV1GetBadRequest
- func (o *FiltersV1GetBadRequest) Code() int
- func (o *FiltersV1GetBadRequest) Error() string
- func (o *FiltersV1GetBadRequest) IsClientError() bool
- func (o *FiltersV1GetBadRequest) IsCode(code int) bool
- func (o *FiltersV1GetBadRequest) IsRedirect() bool
- func (o *FiltersV1GetBadRequest) IsServerError() bool
- func (o *FiltersV1GetBadRequest) IsSuccess() bool
- func (o *FiltersV1GetBadRequest) String() string
- type FiltersV1GetInternalServerError
- func (o *FiltersV1GetInternalServerError) Code() int
- func (o *FiltersV1GetInternalServerError) Error() string
- func (o *FiltersV1GetInternalServerError) IsClientError() bool
- func (o *FiltersV1GetInternalServerError) IsCode(code int) bool
- func (o *FiltersV1GetInternalServerError) IsRedirect() bool
- func (o *FiltersV1GetInternalServerError) IsServerError() bool
- func (o *FiltersV1GetInternalServerError) IsSuccess() bool
- func (o *FiltersV1GetInternalServerError) String() string
- type FiltersV1GetNotAcceptable
- func (o *FiltersV1GetNotAcceptable) Code() int
- func (o *FiltersV1GetNotAcceptable) Error() string
- func (o *FiltersV1GetNotAcceptable) IsClientError() bool
- func (o *FiltersV1GetNotAcceptable) IsCode(code int) bool
- func (o *FiltersV1GetNotAcceptable) IsRedirect() bool
- func (o *FiltersV1GetNotAcceptable) IsServerError() bool
- func (o *FiltersV1GetNotAcceptable) IsSuccess() bool
- func (o *FiltersV1GetNotAcceptable) String() string
- type FiltersV1GetNotFound
- func (o *FiltersV1GetNotFound) Code() int
- func (o *FiltersV1GetNotFound) Error() string
- func (o *FiltersV1GetNotFound) IsClientError() bool
- func (o *FiltersV1GetNotFound) IsCode(code int) bool
- func (o *FiltersV1GetNotFound) IsRedirect() bool
- func (o *FiltersV1GetNotFound) IsServerError() bool
- func (o *FiltersV1GetNotFound) IsSuccess() bool
- func (o *FiltersV1GetNotFound) String() string
- type FiltersV1GetOK
- func (o *FiltersV1GetOK) Code() int
- func (o *FiltersV1GetOK) Error() string
- func (o *FiltersV1GetOK) GetPayload() []*models.FilterV1
- func (o *FiltersV1GetOK) IsClientError() bool
- func (o *FiltersV1GetOK) IsCode(code int) bool
- func (o *FiltersV1GetOK) IsRedirect() bool
- func (o *FiltersV1GetOK) IsServerError() bool
- func (o *FiltersV1GetOK) IsSuccess() bool
- func (o *FiltersV1GetOK) String() string
- type FiltersV1GetParams
- func (o *FiltersV1GetParams) SetContext(ctx context.Context)
- func (o *FiltersV1GetParams) SetDefaults()
- func (o *FiltersV1GetParams) SetHTTPClient(client *http.Client)
- func (o *FiltersV1GetParams) SetTimeout(timeout time.Duration)
- func (o *FiltersV1GetParams) WithContext(ctx context.Context) *FiltersV1GetParams
- func (o *FiltersV1GetParams) WithDefaults() *FiltersV1GetParams
- func (o *FiltersV1GetParams) WithHTTPClient(client *http.Client) *FiltersV1GetParams
- func (o *FiltersV1GetParams) WithTimeout(timeout time.Duration) *FiltersV1GetParams
- func (o *FiltersV1GetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FiltersV1GetReader
- type FiltersV1GetUnauthorized
- func (o *FiltersV1GetUnauthorized) Code() int
- func (o *FiltersV1GetUnauthorized) Error() string
- func (o *FiltersV1GetUnauthorized) IsClientError() bool
- func (o *FiltersV1GetUnauthorized) IsCode(code int) bool
- func (o *FiltersV1GetUnauthorized) IsRedirect() bool
- func (o *FiltersV1GetUnauthorized) IsServerError() bool
- func (o *FiltersV1GetUnauthorized) IsSuccess() bool
- func (o *FiltersV1GetUnauthorized) 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 filters API
func (*Client) FilterV1Delete ¶
func (a *Client) FilterV1Delete(params *FilterV1DeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FilterV1DeleteOK, error)
FilterV1Delete deletes a single filter with the given ID
func (*Client) FilterV1Get ¶
func (a *Client) FilterV1Get(params *FilterV1GetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FilterV1GetOK, error)
FilterV1Get gets a single filter with the given ID
func (*Client) FilterV1Post ¶
func (a *Client) FilterV1Post(params *FilterV1PostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FilterV1PostOK, error)
FilterV1Post creates a single filter
func (*Client) FilterV1Put ¶
func (a *Client) FilterV1Put(params *FilterV1PutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FilterV1PutOK, error)
FilterV1Put updates a single filter with the given ID
func (*Client) FiltersV1Get ¶
func (a *Client) FiltersV1Get(params *FiltersV1GetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FiltersV1GetOK, error)
FiltersV1Get gets all filters for the authenticated account
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 { FilterV1Delete(params *FilterV1DeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FilterV1DeleteOK, error) FilterV1Get(params *FilterV1GetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FilterV1GetOK, error) FilterV1Post(params *FilterV1PostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FilterV1PostOK, error) FilterV1Put(params *FilterV1PutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FilterV1PutOK, error) FiltersV1Get(params *FiltersV1GetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FiltersV1GetOK, 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 filters API client.
type FilterV1DeleteBadRequest ¶
type FilterV1DeleteBadRequest struct { }
FilterV1DeleteBadRequest describes a response with status code 400, with default header values.
bad request
func NewFilterV1DeleteBadRequest ¶
func NewFilterV1DeleteBadRequest() *FilterV1DeleteBadRequest
NewFilterV1DeleteBadRequest creates a FilterV1DeleteBadRequest with default headers values
func (*FilterV1DeleteBadRequest) Code ¶
func (o *FilterV1DeleteBadRequest) Code() int
Code gets the status code for the filter v1 delete bad request response
func (*FilterV1DeleteBadRequest) Error ¶
func (o *FilterV1DeleteBadRequest) Error() string
func (*FilterV1DeleteBadRequest) IsClientError ¶
func (o *FilterV1DeleteBadRequest) IsClientError() bool
IsClientError returns true when this filter v1 delete bad request response has a 4xx status code
func (*FilterV1DeleteBadRequest) IsCode ¶
func (o *FilterV1DeleteBadRequest) IsCode(code int) bool
IsCode returns true when this filter v1 delete bad request response a status code equal to that given
func (*FilterV1DeleteBadRequest) IsRedirect ¶
func (o *FilterV1DeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this filter v1 delete bad request response has a 3xx status code
func (*FilterV1DeleteBadRequest) IsServerError ¶
func (o *FilterV1DeleteBadRequest) IsServerError() bool
IsServerError returns true when this filter v1 delete bad request response has a 5xx status code
func (*FilterV1DeleteBadRequest) IsSuccess ¶
func (o *FilterV1DeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this filter v1 delete bad request response has a 2xx status code
func (*FilterV1DeleteBadRequest) String ¶
func (o *FilterV1DeleteBadRequest) String() string
type FilterV1DeleteInternalServerError ¶
type FilterV1DeleteInternalServerError struct { }
FilterV1DeleteInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewFilterV1DeleteInternalServerError ¶
func NewFilterV1DeleteInternalServerError() *FilterV1DeleteInternalServerError
NewFilterV1DeleteInternalServerError creates a FilterV1DeleteInternalServerError with default headers values
func (*FilterV1DeleteInternalServerError) Code ¶
func (o *FilterV1DeleteInternalServerError) Code() int
Code gets the status code for the filter v1 delete internal server error response
func (*FilterV1DeleteInternalServerError) Error ¶
func (o *FilterV1DeleteInternalServerError) Error() string
func (*FilterV1DeleteInternalServerError) IsClientError ¶
func (o *FilterV1DeleteInternalServerError) IsClientError() bool
IsClientError returns true when this filter v1 delete internal server error response has a 4xx status code
func (*FilterV1DeleteInternalServerError) IsCode ¶
func (o *FilterV1DeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this filter v1 delete internal server error response a status code equal to that given
func (*FilterV1DeleteInternalServerError) IsRedirect ¶
func (o *FilterV1DeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this filter v1 delete internal server error response has a 3xx status code
func (*FilterV1DeleteInternalServerError) IsServerError ¶
func (o *FilterV1DeleteInternalServerError) IsServerError() bool
IsServerError returns true when this filter v1 delete internal server error response has a 5xx status code
func (*FilterV1DeleteInternalServerError) IsSuccess ¶
func (o *FilterV1DeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this filter v1 delete internal server error response has a 2xx status code
func (*FilterV1DeleteInternalServerError) String ¶
func (o *FilterV1DeleteInternalServerError) String() string
type FilterV1DeleteNotAcceptable ¶
type FilterV1DeleteNotAcceptable struct { }
FilterV1DeleteNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewFilterV1DeleteNotAcceptable ¶
func NewFilterV1DeleteNotAcceptable() *FilterV1DeleteNotAcceptable
NewFilterV1DeleteNotAcceptable creates a FilterV1DeleteNotAcceptable with default headers values
func (*FilterV1DeleteNotAcceptable) Code ¶
func (o *FilterV1DeleteNotAcceptable) Code() int
Code gets the status code for the filter v1 delete not acceptable response
func (*FilterV1DeleteNotAcceptable) Error ¶
func (o *FilterV1DeleteNotAcceptable) Error() string
func (*FilterV1DeleteNotAcceptable) IsClientError ¶
func (o *FilterV1DeleteNotAcceptable) IsClientError() bool
IsClientError returns true when this filter v1 delete not acceptable response has a 4xx status code
func (*FilterV1DeleteNotAcceptable) IsCode ¶
func (o *FilterV1DeleteNotAcceptable) IsCode(code int) bool
IsCode returns true when this filter v1 delete not acceptable response a status code equal to that given
func (*FilterV1DeleteNotAcceptable) IsRedirect ¶
func (o *FilterV1DeleteNotAcceptable) IsRedirect() bool
IsRedirect returns true when this filter v1 delete not acceptable response has a 3xx status code
func (*FilterV1DeleteNotAcceptable) IsServerError ¶
func (o *FilterV1DeleteNotAcceptable) IsServerError() bool
IsServerError returns true when this filter v1 delete not acceptable response has a 5xx status code
func (*FilterV1DeleteNotAcceptable) IsSuccess ¶
func (o *FilterV1DeleteNotAcceptable) IsSuccess() bool
IsSuccess returns true when this filter v1 delete not acceptable response has a 2xx status code
func (*FilterV1DeleteNotAcceptable) String ¶
func (o *FilterV1DeleteNotAcceptable) String() string
type FilterV1DeleteNotFound ¶
type FilterV1DeleteNotFound struct { }
FilterV1DeleteNotFound describes a response with status code 404, with default header values.
not found
func NewFilterV1DeleteNotFound ¶
func NewFilterV1DeleteNotFound() *FilterV1DeleteNotFound
NewFilterV1DeleteNotFound creates a FilterV1DeleteNotFound with default headers values
func (*FilterV1DeleteNotFound) Code ¶
func (o *FilterV1DeleteNotFound) Code() int
Code gets the status code for the filter v1 delete not found response
func (*FilterV1DeleteNotFound) Error ¶
func (o *FilterV1DeleteNotFound) Error() string
func (*FilterV1DeleteNotFound) IsClientError ¶
func (o *FilterV1DeleteNotFound) IsClientError() bool
IsClientError returns true when this filter v1 delete not found response has a 4xx status code
func (*FilterV1DeleteNotFound) IsCode ¶
func (o *FilterV1DeleteNotFound) IsCode(code int) bool
IsCode returns true when this filter v1 delete not found response a status code equal to that given
func (*FilterV1DeleteNotFound) IsRedirect ¶
func (o *FilterV1DeleteNotFound) IsRedirect() bool
IsRedirect returns true when this filter v1 delete not found response has a 3xx status code
func (*FilterV1DeleteNotFound) IsServerError ¶
func (o *FilterV1DeleteNotFound) IsServerError() bool
IsServerError returns true when this filter v1 delete not found response has a 5xx status code
func (*FilterV1DeleteNotFound) IsSuccess ¶
func (o *FilterV1DeleteNotFound) IsSuccess() bool
IsSuccess returns true when this filter v1 delete not found response has a 2xx status code
func (*FilterV1DeleteNotFound) String ¶
func (o *FilterV1DeleteNotFound) String() string
type FilterV1DeleteOK ¶
type FilterV1DeleteOK struct { }
FilterV1DeleteOK describes a response with status code 200, with default header values.
filter deleted
func NewFilterV1DeleteOK ¶
func NewFilterV1DeleteOK() *FilterV1DeleteOK
NewFilterV1DeleteOK creates a FilterV1DeleteOK with default headers values
func (*FilterV1DeleteOK) Code ¶
func (o *FilterV1DeleteOK) Code() int
Code gets the status code for the filter v1 delete o k response
func (*FilterV1DeleteOK) Error ¶
func (o *FilterV1DeleteOK) Error() string
func (*FilterV1DeleteOK) IsClientError ¶
func (o *FilterV1DeleteOK) IsClientError() bool
IsClientError returns true when this filter v1 delete o k response has a 4xx status code
func (*FilterV1DeleteOK) IsCode ¶
func (o *FilterV1DeleteOK) IsCode(code int) bool
IsCode returns true when this filter v1 delete o k response a status code equal to that given
func (*FilterV1DeleteOK) IsRedirect ¶
func (o *FilterV1DeleteOK) IsRedirect() bool
IsRedirect returns true when this filter v1 delete o k response has a 3xx status code
func (*FilterV1DeleteOK) IsServerError ¶
func (o *FilterV1DeleteOK) IsServerError() bool
IsServerError returns true when this filter v1 delete o k response has a 5xx status code
func (*FilterV1DeleteOK) IsSuccess ¶
func (o *FilterV1DeleteOK) IsSuccess() bool
IsSuccess returns true when this filter v1 delete o k response has a 2xx status code
func (*FilterV1DeleteOK) String ¶
func (o *FilterV1DeleteOK) String() string
type FilterV1DeleteParams ¶
type FilterV1DeleteParams struct { /* ID. ID of the list */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FilterV1DeleteParams contains all the parameters to send to the API endpoint
for the filter v1 delete operation. Typically these are written to a http.Request.
func NewFilterV1DeleteParams ¶
func NewFilterV1DeleteParams() *FilterV1DeleteParams
NewFilterV1DeleteParams creates a new FilterV1DeleteParams 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 NewFilterV1DeleteParamsWithContext ¶
func NewFilterV1DeleteParamsWithContext(ctx context.Context) *FilterV1DeleteParams
NewFilterV1DeleteParamsWithContext creates a new FilterV1DeleteParams object with the ability to set a context for a request.
func NewFilterV1DeleteParamsWithHTTPClient ¶
func NewFilterV1DeleteParamsWithHTTPClient(client *http.Client) *FilterV1DeleteParams
NewFilterV1DeleteParamsWithHTTPClient creates a new FilterV1DeleteParams object with the ability to set a custom HTTPClient for a request.
func NewFilterV1DeleteParamsWithTimeout ¶
func NewFilterV1DeleteParamsWithTimeout(timeout time.Duration) *FilterV1DeleteParams
NewFilterV1DeleteParamsWithTimeout creates a new FilterV1DeleteParams object with the ability to set a timeout on a request.
func (*FilterV1DeleteParams) SetContext ¶
func (o *FilterV1DeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the filter v1 delete params
func (*FilterV1DeleteParams) SetDefaults ¶
func (o *FilterV1DeleteParams) SetDefaults()
SetDefaults hydrates default values in the filter v1 delete params (not the query body).
All values with no default are reset to their zero value.
func (*FilterV1DeleteParams) SetHTTPClient ¶
func (o *FilterV1DeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the filter v1 delete params
func (*FilterV1DeleteParams) SetID ¶
func (o *FilterV1DeleteParams) SetID(id string)
SetID adds the id to the filter v1 delete params
func (*FilterV1DeleteParams) SetTimeout ¶
func (o *FilterV1DeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the filter v1 delete params
func (*FilterV1DeleteParams) WithContext ¶
func (o *FilterV1DeleteParams) WithContext(ctx context.Context) *FilterV1DeleteParams
WithContext adds the context to the filter v1 delete params
func (*FilterV1DeleteParams) WithDefaults ¶
func (o *FilterV1DeleteParams) WithDefaults() *FilterV1DeleteParams
WithDefaults hydrates default values in the filter v1 delete params (not the query body).
All values with no default are reset to their zero value.
func (*FilterV1DeleteParams) WithHTTPClient ¶
func (o *FilterV1DeleteParams) WithHTTPClient(client *http.Client) *FilterV1DeleteParams
WithHTTPClient adds the HTTPClient to the filter v1 delete params
func (*FilterV1DeleteParams) WithID ¶
func (o *FilterV1DeleteParams) WithID(id string) *FilterV1DeleteParams
WithID adds the id to the filter v1 delete params
func (*FilterV1DeleteParams) WithTimeout ¶
func (o *FilterV1DeleteParams) WithTimeout(timeout time.Duration) *FilterV1DeleteParams
WithTimeout adds the timeout to the filter v1 delete params
func (*FilterV1DeleteParams) WriteToRequest ¶
func (o *FilterV1DeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FilterV1DeleteReader ¶
type FilterV1DeleteReader struct {
// contains filtered or unexported fields
}
FilterV1DeleteReader is a Reader for the FilterV1Delete structure.
func (*FilterV1DeleteReader) ReadResponse ¶
func (o *FilterV1DeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FilterV1DeleteUnauthorized ¶
type FilterV1DeleteUnauthorized struct { }
FilterV1DeleteUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewFilterV1DeleteUnauthorized ¶
func NewFilterV1DeleteUnauthorized() *FilterV1DeleteUnauthorized
NewFilterV1DeleteUnauthorized creates a FilterV1DeleteUnauthorized with default headers values
func (*FilterV1DeleteUnauthorized) Code ¶
func (o *FilterV1DeleteUnauthorized) Code() int
Code gets the status code for the filter v1 delete unauthorized response
func (*FilterV1DeleteUnauthorized) Error ¶
func (o *FilterV1DeleteUnauthorized) Error() string
func (*FilterV1DeleteUnauthorized) IsClientError ¶
func (o *FilterV1DeleteUnauthorized) IsClientError() bool
IsClientError returns true when this filter v1 delete unauthorized response has a 4xx status code
func (*FilterV1DeleteUnauthorized) IsCode ¶
func (o *FilterV1DeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this filter v1 delete unauthorized response a status code equal to that given
func (*FilterV1DeleteUnauthorized) IsRedirect ¶
func (o *FilterV1DeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this filter v1 delete unauthorized response has a 3xx status code
func (*FilterV1DeleteUnauthorized) IsServerError ¶
func (o *FilterV1DeleteUnauthorized) IsServerError() bool
IsServerError returns true when this filter v1 delete unauthorized response has a 5xx status code
func (*FilterV1DeleteUnauthorized) IsSuccess ¶
func (o *FilterV1DeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this filter v1 delete unauthorized response has a 2xx status code
func (*FilterV1DeleteUnauthorized) String ¶
func (o *FilterV1DeleteUnauthorized) String() string
type FilterV1GetBadRequest ¶
type FilterV1GetBadRequest struct { }
FilterV1GetBadRequest describes a response with status code 400, with default header values.
bad request
func NewFilterV1GetBadRequest ¶
func NewFilterV1GetBadRequest() *FilterV1GetBadRequest
NewFilterV1GetBadRequest creates a FilterV1GetBadRequest with default headers values
func (*FilterV1GetBadRequest) Code ¶
func (o *FilterV1GetBadRequest) Code() int
Code gets the status code for the filter v1 get bad request response
func (*FilterV1GetBadRequest) Error ¶
func (o *FilterV1GetBadRequest) Error() string
func (*FilterV1GetBadRequest) IsClientError ¶
func (o *FilterV1GetBadRequest) IsClientError() bool
IsClientError returns true when this filter v1 get bad request response has a 4xx status code
func (*FilterV1GetBadRequest) IsCode ¶
func (o *FilterV1GetBadRequest) IsCode(code int) bool
IsCode returns true when this filter v1 get bad request response a status code equal to that given
func (*FilterV1GetBadRequest) IsRedirect ¶
func (o *FilterV1GetBadRequest) IsRedirect() bool
IsRedirect returns true when this filter v1 get bad request response has a 3xx status code
func (*FilterV1GetBadRequest) IsServerError ¶
func (o *FilterV1GetBadRequest) IsServerError() bool
IsServerError returns true when this filter v1 get bad request response has a 5xx status code
func (*FilterV1GetBadRequest) IsSuccess ¶
func (o *FilterV1GetBadRequest) IsSuccess() bool
IsSuccess returns true when this filter v1 get bad request response has a 2xx status code
func (*FilterV1GetBadRequest) String ¶
func (o *FilterV1GetBadRequest) String() string
type FilterV1GetInternalServerError ¶
type FilterV1GetInternalServerError struct { }
FilterV1GetInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewFilterV1GetInternalServerError ¶
func NewFilterV1GetInternalServerError() *FilterV1GetInternalServerError
NewFilterV1GetInternalServerError creates a FilterV1GetInternalServerError with default headers values
func (*FilterV1GetInternalServerError) Code ¶
func (o *FilterV1GetInternalServerError) Code() int
Code gets the status code for the filter v1 get internal server error response
func (*FilterV1GetInternalServerError) Error ¶
func (o *FilterV1GetInternalServerError) Error() string
func (*FilterV1GetInternalServerError) IsClientError ¶
func (o *FilterV1GetInternalServerError) IsClientError() bool
IsClientError returns true when this filter v1 get internal server error response has a 4xx status code
func (*FilterV1GetInternalServerError) IsCode ¶
func (o *FilterV1GetInternalServerError) IsCode(code int) bool
IsCode returns true when this filter v1 get internal server error response a status code equal to that given
func (*FilterV1GetInternalServerError) IsRedirect ¶
func (o *FilterV1GetInternalServerError) IsRedirect() bool
IsRedirect returns true when this filter v1 get internal server error response has a 3xx status code
func (*FilterV1GetInternalServerError) IsServerError ¶
func (o *FilterV1GetInternalServerError) IsServerError() bool
IsServerError returns true when this filter v1 get internal server error response has a 5xx status code
func (*FilterV1GetInternalServerError) IsSuccess ¶
func (o *FilterV1GetInternalServerError) IsSuccess() bool
IsSuccess returns true when this filter v1 get internal server error response has a 2xx status code
func (*FilterV1GetInternalServerError) String ¶
func (o *FilterV1GetInternalServerError) String() string
type FilterV1GetNotAcceptable ¶
type FilterV1GetNotAcceptable struct { }
FilterV1GetNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewFilterV1GetNotAcceptable ¶
func NewFilterV1GetNotAcceptable() *FilterV1GetNotAcceptable
NewFilterV1GetNotAcceptable creates a FilterV1GetNotAcceptable with default headers values
func (*FilterV1GetNotAcceptable) Code ¶
func (o *FilterV1GetNotAcceptable) Code() int
Code gets the status code for the filter v1 get not acceptable response
func (*FilterV1GetNotAcceptable) Error ¶
func (o *FilterV1GetNotAcceptable) Error() string
func (*FilterV1GetNotAcceptable) IsClientError ¶
func (o *FilterV1GetNotAcceptable) IsClientError() bool
IsClientError returns true when this filter v1 get not acceptable response has a 4xx status code
func (*FilterV1GetNotAcceptable) IsCode ¶
func (o *FilterV1GetNotAcceptable) IsCode(code int) bool
IsCode returns true when this filter v1 get not acceptable response a status code equal to that given
func (*FilterV1GetNotAcceptable) IsRedirect ¶
func (o *FilterV1GetNotAcceptable) IsRedirect() bool
IsRedirect returns true when this filter v1 get not acceptable response has a 3xx status code
func (*FilterV1GetNotAcceptable) IsServerError ¶
func (o *FilterV1GetNotAcceptable) IsServerError() bool
IsServerError returns true when this filter v1 get not acceptable response has a 5xx status code
func (*FilterV1GetNotAcceptable) IsSuccess ¶
func (o *FilterV1GetNotAcceptable) IsSuccess() bool
IsSuccess returns true when this filter v1 get not acceptable response has a 2xx status code
func (*FilterV1GetNotAcceptable) String ¶
func (o *FilterV1GetNotAcceptable) String() string
type FilterV1GetNotFound ¶
type FilterV1GetNotFound struct { }
FilterV1GetNotFound describes a response with status code 404, with default header values.
not found
func NewFilterV1GetNotFound ¶
func NewFilterV1GetNotFound() *FilterV1GetNotFound
NewFilterV1GetNotFound creates a FilterV1GetNotFound with default headers values
func (*FilterV1GetNotFound) Code ¶
func (o *FilterV1GetNotFound) Code() int
Code gets the status code for the filter v1 get not found response
func (*FilterV1GetNotFound) Error ¶
func (o *FilterV1GetNotFound) Error() string
func (*FilterV1GetNotFound) IsClientError ¶
func (o *FilterV1GetNotFound) IsClientError() bool
IsClientError returns true when this filter v1 get not found response has a 4xx status code
func (*FilterV1GetNotFound) IsCode ¶
func (o *FilterV1GetNotFound) IsCode(code int) bool
IsCode returns true when this filter v1 get not found response a status code equal to that given
func (*FilterV1GetNotFound) IsRedirect ¶
func (o *FilterV1GetNotFound) IsRedirect() bool
IsRedirect returns true when this filter v1 get not found response has a 3xx status code
func (*FilterV1GetNotFound) IsServerError ¶
func (o *FilterV1GetNotFound) IsServerError() bool
IsServerError returns true when this filter v1 get not found response has a 5xx status code
func (*FilterV1GetNotFound) IsSuccess ¶
func (o *FilterV1GetNotFound) IsSuccess() bool
IsSuccess returns true when this filter v1 get not found response has a 2xx status code
func (*FilterV1GetNotFound) String ¶
func (o *FilterV1GetNotFound) String() string
type FilterV1GetOK ¶
FilterV1GetOK describes a response with status code 200, with default header values.
Requested filter.
func NewFilterV1GetOK ¶
func NewFilterV1GetOK() *FilterV1GetOK
NewFilterV1GetOK creates a FilterV1GetOK with default headers values
func (*FilterV1GetOK) Code ¶
func (o *FilterV1GetOK) Code() int
Code gets the status code for the filter v1 get o k response
func (*FilterV1GetOK) Error ¶
func (o *FilterV1GetOK) Error() string
func (*FilterV1GetOK) GetPayload ¶
func (o *FilterV1GetOK) GetPayload() *models.FilterV1
func (*FilterV1GetOK) IsClientError ¶
func (o *FilterV1GetOK) IsClientError() bool
IsClientError returns true when this filter v1 get o k response has a 4xx status code
func (*FilterV1GetOK) IsCode ¶
func (o *FilterV1GetOK) IsCode(code int) bool
IsCode returns true when this filter v1 get o k response a status code equal to that given
func (*FilterV1GetOK) IsRedirect ¶
func (o *FilterV1GetOK) IsRedirect() bool
IsRedirect returns true when this filter v1 get o k response has a 3xx status code
func (*FilterV1GetOK) IsServerError ¶
func (o *FilterV1GetOK) IsServerError() bool
IsServerError returns true when this filter v1 get o k response has a 5xx status code
func (*FilterV1GetOK) IsSuccess ¶
func (o *FilterV1GetOK) IsSuccess() bool
IsSuccess returns true when this filter v1 get o k response has a 2xx status code
func (*FilterV1GetOK) String ¶
func (o *FilterV1GetOK) String() string
type FilterV1GetParams ¶
type FilterV1GetParams struct { /* ID. ID of the filter */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FilterV1GetParams contains all the parameters to send to the API endpoint
for the filter v1 get operation. Typically these are written to a http.Request.
func NewFilterV1GetParams ¶
func NewFilterV1GetParams() *FilterV1GetParams
NewFilterV1GetParams creates a new FilterV1GetParams 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 NewFilterV1GetParamsWithContext ¶
func NewFilterV1GetParamsWithContext(ctx context.Context) *FilterV1GetParams
NewFilterV1GetParamsWithContext creates a new FilterV1GetParams object with the ability to set a context for a request.
func NewFilterV1GetParamsWithHTTPClient ¶
func NewFilterV1GetParamsWithHTTPClient(client *http.Client) *FilterV1GetParams
NewFilterV1GetParamsWithHTTPClient creates a new FilterV1GetParams object with the ability to set a custom HTTPClient for a request.
func NewFilterV1GetParamsWithTimeout ¶
func NewFilterV1GetParamsWithTimeout(timeout time.Duration) *FilterV1GetParams
NewFilterV1GetParamsWithTimeout creates a new FilterV1GetParams object with the ability to set a timeout on a request.
func (*FilterV1GetParams) SetContext ¶
func (o *FilterV1GetParams) SetContext(ctx context.Context)
SetContext adds the context to the filter v1 get params
func (*FilterV1GetParams) SetDefaults ¶
func (o *FilterV1GetParams) SetDefaults()
SetDefaults hydrates default values in the filter v1 get params (not the query body).
All values with no default are reset to their zero value.
func (*FilterV1GetParams) SetHTTPClient ¶
func (o *FilterV1GetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the filter v1 get params
func (*FilterV1GetParams) SetID ¶
func (o *FilterV1GetParams) SetID(id string)
SetID adds the id to the filter v1 get params
func (*FilterV1GetParams) SetTimeout ¶
func (o *FilterV1GetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the filter v1 get params
func (*FilterV1GetParams) WithContext ¶
func (o *FilterV1GetParams) WithContext(ctx context.Context) *FilterV1GetParams
WithContext adds the context to the filter v1 get params
func (*FilterV1GetParams) WithDefaults ¶
func (o *FilterV1GetParams) WithDefaults() *FilterV1GetParams
WithDefaults hydrates default values in the filter v1 get params (not the query body).
All values with no default are reset to their zero value.
func (*FilterV1GetParams) WithHTTPClient ¶
func (o *FilterV1GetParams) WithHTTPClient(client *http.Client) *FilterV1GetParams
WithHTTPClient adds the HTTPClient to the filter v1 get params
func (*FilterV1GetParams) WithID ¶
func (o *FilterV1GetParams) WithID(id string) *FilterV1GetParams
WithID adds the id to the filter v1 get params
func (*FilterV1GetParams) WithTimeout ¶
func (o *FilterV1GetParams) WithTimeout(timeout time.Duration) *FilterV1GetParams
WithTimeout adds the timeout to the filter v1 get params
func (*FilterV1GetParams) WriteToRequest ¶
func (o *FilterV1GetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FilterV1GetReader ¶
type FilterV1GetReader struct {
// contains filtered or unexported fields
}
FilterV1GetReader is a Reader for the FilterV1Get structure.
func (*FilterV1GetReader) ReadResponse ¶
func (o *FilterV1GetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FilterV1GetUnauthorized ¶
type FilterV1GetUnauthorized struct { }
FilterV1GetUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewFilterV1GetUnauthorized ¶
func NewFilterV1GetUnauthorized() *FilterV1GetUnauthorized
NewFilterV1GetUnauthorized creates a FilterV1GetUnauthorized with default headers values
func (*FilterV1GetUnauthorized) Code ¶
func (o *FilterV1GetUnauthorized) Code() int
Code gets the status code for the filter v1 get unauthorized response
func (*FilterV1GetUnauthorized) Error ¶
func (o *FilterV1GetUnauthorized) Error() string
func (*FilterV1GetUnauthorized) IsClientError ¶
func (o *FilterV1GetUnauthorized) IsClientError() bool
IsClientError returns true when this filter v1 get unauthorized response has a 4xx status code
func (*FilterV1GetUnauthorized) IsCode ¶
func (o *FilterV1GetUnauthorized) IsCode(code int) bool
IsCode returns true when this filter v1 get unauthorized response a status code equal to that given
func (*FilterV1GetUnauthorized) IsRedirect ¶
func (o *FilterV1GetUnauthorized) IsRedirect() bool
IsRedirect returns true when this filter v1 get unauthorized response has a 3xx status code
func (*FilterV1GetUnauthorized) IsServerError ¶
func (o *FilterV1GetUnauthorized) IsServerError() bool
IsServerError returns true when this filter v1 get unauthorized response has a 5xx status code
func (*FilterV1GetUnauthorized) IsSuccess ¶
func (o *FilterV1GetUnauthorized) IsSuccess() bool
IsSuccess returns true when this filter v1 get unauthorized response has a 2xx status code
func (*FilterV1GetUnauthorized) String ¶
func (o *FilterV1GetUnauthorized) String() string
type FilterV1PostBadRequest ¶
type FilterV1PostBadRequest struct { }
FilterV1PostBadRequest describes a response with status code 400, with default header values.
bad request
func NewFilterV1PostBadRequest ¶
func NewFilterV1PostBadRequest() *FilterV1PostBadRequest
NewFilterV1PostBadRequest creates a FilterV1PostBadRequest with default headers values
func (*FilterV1PostBadRequest) Code ¶
func (o *FilterV1PostBadRequest) Code() int
Code gets the status code for the filter v1 post bad request response
func (*FilterV1PostBadRequest) Error ¶
func (o *FilterV1PostBadRequest) Error() string
func (*FilterV1PostBadRequest) IsClientError ¶
func (o *FilterV1PostBadRequest) IsClientError() bool
IsClientError returns true when this filter v1 post bad request response has a 4xx status code
func (*FilterV1PostBadRequest) IsCode ¶
func (o *FilterV1PostBadRequest) IsCode(code int) bool
IsCode returns true when this filter v1 post bad request response a status code equal to that given
func (*FilterV1PostBadRequest) IsRedirect ¶
func (o *FilterV1PostBadRequest) IsRedirect() bool
IsRedirect returns true when this filter v1 post bad request response has a 3xx status code
func (*FilterV1PostBadRequest) IsServerError ¶
func (o *FilterV1PostBadRequest) IsServerError() bool
IsServerError returns true when this filter v1 post bad request response has a 5xx status code
func (*FilterV1PostBadRequest) IsSuccess ¶
func (o *FilterV1PostBadRequest) IsSuccess() bool
IsSuccess returns true when this filter v1 post bad request response has a 2xx status code
func (*FilterV1PostBadRequest) String ¶
func (o *FilterV1PostBadRequest) String() string
type FilterV1PostInternalServerError ¶
type FilterV1PostInternalServerError struct { }
FilterV1PostInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewFilterV1PostInternalServerError ¶
func NewFilterV1PostInternalServerError() *FilterV1PostInternalServerError
NewFilterV1PostInternalServerError creates a FilterV1PostInternalServerError with default headers values
func (*FilterV1PostInternalServerError) Code ¶
func (o *FilterV1PostInternalServerError) Code() int
Code gets the status code for the filter v1 post internal server error response
func (*FilterV1PostInternalServerError) Error ¶
func (o *FilterV1PostInternalServerError) Error() string
func (*FilterV1PostInternalServerError) IsClientError ¶
func (o *FilterV1PostInternalServerError) IsClientError() bool
IsClientError returns true when this filter v1 post internal server error response has a 4xx status code
func (*FilterV1PostInternalServerError) IsCode ¶
func (o *FilterV1PostInternalServerError) IsCode(code int) bool
IsCode returns true when this filter v1 post internal server error response a status code equal to that given
func (*FilterV1PostInternalServerError) IsRedirect ¶
func (o *FilterV1PostInternalServerError) IsRedirect() bool
IsRedirect returns true when this filter v1 post internal server error response has a 3xx status code
func (*FilterV1PostInternalServerError) IsServerError ¶
func (o *FilterV1PostInternalServerError) IsServerError() bool
IsServerError returns true when this filter v1 post internal server error response has a 5xx status code
func (*FilterV1PostInternalServerError) IsSuccess ¶
func (o *FilterV1PostInternalServerError) IsSuccess() bool
IsSuccess returns true when this filter v1 post internal server error response has a 2xx status code
func (*FilterV1PostInternalServerError) String ¶
func (o *FilterV1PostInternalServerError) String() string
type FilterV1PostNotAcceptable ¶
type FilterV1PostNotAcceptable struct { }
FilterV1PostNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewFilterV1PostNotAcceptable ¶
func NewFilterV1PostNotAcceptable() *FilterV1PostNotAcceptable
NewFilterV1PostNotAcceptable creates a FilterV1PostNotAcceptable with default headers values
func (*FilterV1PostNotAcceptable) Code ¶
func (o *FilterV1PostNotAcceptable) Code() int
Code gets the status code for the filter v1 post not acceptable response
func (*FilterV1PostNotAcceptable) Error ¶
func (o *FilterV1PostNotAcceptable) Error() string
func (*FilterV1PostNotAcceptable) IsClientError ¶
func (o *FilterV1PostNotAcceptable) IsClientError() bool
IsClientError returns true when this filter v1 post not acceptable response has a 4xx status code
func (*FilterV1PostNotAcceptable) IsCode ¶
func (o *FilterV1PostNotAcceptable) IsCode(code int) bool
IsCode returns true when this filter v1 post not acceptable response a status code equal to that given
func (*FilterV1PostNotAcceptable) IsRedirect ¶
func (o *FilterV1PostNotAcceptable) IsRedirect() bool
IsRedirect returns true when this filter v1 post not acceptable response has a 3xx status code
func (*FilterV1PostNotAcceptable) IsServerError ¶
func (o *FilterV1PostNotAcceptable) IsServerError() bool
IsServerError returns true when this filter v1 post not acceptable response has a 5xx status code
func (*FilterV1PostNotAcceptable) IsSuccess ¶
func (o *FilterV1PostNotAcceptable) IsSuccess() bool
IsSuccess returns true when this filter v1 post not acceptable response has a 2xx status code
func (*FilterV1PostNotAcceptable) String ¶
func (o *FilterV1PostNotAcceptable) String() string
type FilterV1PostNotFound ¶
type FilterV1PostNotFound struct { }
FilterV1PostNotFound describes a response with status code 404, with default header values.
not found
func NewFilterV1PostNotFound ¶
func NewFilterV1PostNotFound() *FilterV1PostNotFound
NewFilterV1PostNotFound creates a FilterV1PostNotFound with default headers values
func (*FilterV1PostNotFound) Code ¶
func (o *FilterV1PostNotFound) Code() int
Code gets the status code for the filter v1 post not found response
func (*FilterV1PostNotFound) Error ¶
func (o *FilterV1PostNotFound) Error() string
func (*FilterV1PostNotFound) IsClientError ¶
func (o *FilterV1PostNotFound) IsClientError() bool
IsClientError returns true when this filter v1 post not found response has a 4xx status code
func (*FilterV1PostNotFound) IsCode ¶
func (o *FilterV1PostNotFound) IsCode(code int) bool
IsCode returns true when this filter v1 post not found response a status code equal to that given
func (*FilterV1PostNotFound) IsRedirect ¶
func (o *FilterV1PostNotFound) IsRedirect() bool
IsRedirect returns true when this filter v1 post not found response has a 3xx status code
func (*FilterV1PostNotFound) IsServerError ¶
func (o *FilterV1PostNotFound) IsServerError() bool
IsServerError returns true when this filter v1 post not found response has a 5xx status code
func (*FilterV1PostNotFound) IsSuccess ¶
func (o *FilterV1PostNotFound) IsSuccess() bool
IsSuccess returns true when this filter v1 post not found response has a 2xx status code
func (*FilterV1PostNotFound) String ¶
func (o *FilterV1PostNotFound) String() string
type FilterV1PostOK ¶
FilterV1PostOK describes a response with status code 200, with default header values.
New filter.
func NewFilterV1PostOK ¶
func NewFilterV1PostOK() *FilterV1PostOK
NewFilterV1PostOK creates a FilterV1PostOK with default headers values
func (*FilterV1PostOK) Code ¶
func (o *FilterV1PostOK) Code() int
Code gets the status code for the filter v1 post o k response
func (*FilterV1PostOK) Error ¶
func (o *FilterV1PostOK) Error() string
func (*FilterV1PostOK) GetPayload ¶
func (o *FilterV1PostOK) GetPayload() *models.FilterV1
func (*FilterV1PostOK) IsClientError ¶
func (o *FilterV1PostOK) IsClientError() bool
IsClientError returns true when this filter v1 post o k response has a 4xx status code
func (*FilterV1PostOK) IsCode ¶
func (o *FilterV1PostOK) IsCode(code int) bool
IsCode returns true when this filter v1 post o k response a status code equal to that given
func (*FilterV1PostOK) IsRedirect ¶
func (o *FilterV1PostOK) IsRedirect() bool
IsRedirect returns true when this filter v1 post o k response has a 3xx status code
func (*FilterV1PostOK) IsServerError ¶
func (o *FilterV1PostOK) IsServerError() bool
IsServerError returns true when this filter v1 post o k response has a 5xx status code
func (*FilterV1PostOK) IsSuccess ¶
func (o *FilterV1PostOK) IsSuccess() bool
IsSuccess returns true when this filter v1 post o k response has a 2xx status code
func (*FilterV1PostOK) String ¶
func (o *FilterV1PostOK) String() string
type FilterV1PostParams ¶
type FilterV1PostParams struct { /* Context. The contexts in which the filter should be applied. Sample: home, public */ FContext []string /* ExpiresIn. Number of seconds from now that the filter should expire. If omitted, filter never expires. Sample: 86400 */ ExpiresIn *float64 /* Irreversible. Should matching entities be removed from the user's timelines/views, instead of hidden? Not supported yet. Sample: false */ Irreversible *bool /* Phrase. The text to be filtered. Sample: fnord */ Phrase string /* WholeWord. Should the filter consider word boundaries? Sample: true */ WholeWord *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FilterV1PostParams contains all the parameters to send to the API endpoint
for the filter v1 post operation. Typically these are written to a http.Request.
func NewFilterV1PostParams ¶
func NewFilterV1PostParams() *FilterV1PostParams
NewFilterV1PostParams creates a new FilterV1PostParams 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 NewFilterV1PostParamsWithContext ¶
func NewFilterV1PostParamsWithContext(ctx context.Context) *FilterV1PostParams
NewFilterV1PostParamsWithContext creates a new FilterV1PostParams object with the ability to set a context for a request.
func NewFilterV1PostParamsWithHTTPClient ¶
func NewFilterV1PostParamsWithHTTPClient(client *http.Client) *FilterV1PostParams
NewFilterV1PostParamsWithHTTPClient creates a new FilterV1PostParams object with the ability to set a custom HTTPClient for a request.
func NewFilterV1PostParamsWithTimeout ¶
func NewFilterV1PostParamsWithTimeout(timeout time.Duration) *FilterV1PostParams
NewFilterV1PostParamsWithTimeout creates a new FilterV1PostParams object with the ability to set a timeout on a request.
func (*FilterV1PostParams) SetContext ¶
func (o *FilterV1PostParams) SetContext(ctx context.Context)
SetContext adds the context to the filter v1 post params
func (*FilterV1PostParams) SetDefaults ¶
func (o *FilterV1PostParams) SetDefaults()
SetDefaults hydrates default values in the filter v1 post params (not the query body).
All values with no default are reset to their zero value.
func (*FilterV1PostParams) SetExpiresIn ¶
func (o *FilterV1PostParams) SetExpiresIn(expiresIn *float64)
SetExpiresIn adds the expiresIn to the filter v1 post params
func (*FilterV1PostParams) SetFContext ¶
func (o *FilterV1PostParams) SetFContext(context []string)
SetContext adds the context to the filter v1 post params
func (*FilterV1PostParams) SetHTTPClient ¶
func (o *FilterV1PostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the filter v1 post params
func (*FilterV1PostParams) SetIrreversible ¶
func (o *FilterV1PostParams) SetIrreversible(irreversible *bool)
SetIrreversible adds the irreversible to the filter v1 post params
func (*FilterV1PostParams) SetPhrase ¶
func (o *FilterV1PostParams) SetPhrase(phrase string)
SetPhrase adds the phrase to the filter v1 post params
func (*FilterV1PostParams) SetTimeout ¶
func (o *FilterV1PostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the filter v1 post params
func (*FilterV1PostParams) SetWholeWord ¶
func (o *FilterV1PostParams) SetWholeWord(wholeWord *bool)
SetWholeWord adds the wholeWord to the filter v1 post params
func (*FilterV1PostParams) WithContext ¶
func (o *FilterV1PostParams) WithContext(ctx context.Context) *FilterV1PostParams
WithContext adds the context to the filter v1 post params
func (*FilterV1PostParams) WithDefaults ¶
func (o *FilterV1PostParams) WithDefaults() *FilterV1PostParams
WithDefaults hydrates default values in the filter v1 post params (not the query body).
All values with no default are reset to their zero value.
func (*FilterV1PostParams) WithExpiresIn ¶
func (o *FilterV1PostParams) WithExpiresIn(expiresIn *float64) *FilterV1PostParams
WithExpiresIn adds the expiresIn to the filter v1 post params
func (*FilterV1PostParams) WithFContext ¶
func (o *FilterV1PostParams) WithFContext(context []string) *FilterV1PostParams
WithContext adds the context to the filter v1 post params
func (*FilterV1PostParams) WithHTTPClient ¶
func (o *FilterV1PostParams) WithHTTPClient(client *http.Client) *FilterV1PostParams
WithHTTPClient adds the HTTPClient to the filter v1 post params
func (*FilterV1PostParams) WithIrreversible ¶
func (o *FilterV1PostParams) WithIrreversible(irreversible *bool) *FilterV1PostParams
WithIrreversible adds the irreversible to the filter v1 post params
func (*FilterV1PostParams) WithPhrase ¶
func (o *FilterV1PostParams) WithPhrase(phrase string) *FilterV1PostParams
WithPhrase adds the phrase to the filter v1 post params
func (*FilterV1PostParams) WithTimeout ¶
func (o *FilterV1PostParams) WithTimeout(timeout time.Duration) *FilterV1PostParams
WithTimeout adds the timeout to the filter v1 post params
func (*FilterV1PostParams) WithWholeWord ¶
func (o *FilterV1PostParams) WithWholeWord(wholeWord *bool) *FilterV1PostParams
WithWholeWord adds the wholeWord to the filter v1 post params
func (*FilterV1PostParams) WriteToRequest ¶
func (o *FilterV1PostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FilterV1PostReader ¶
type FilterV1PostReader struct {
// contains filtered or unexported fields
}
FilterV1PostReader is a Reader for the FilterV1Post structure.
func (*FilterV1PostReader) ReadResponse ¶
func (o *FilterV1PostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FilterV1PostUnauthorized ¶
type FilterV1PostUnauthorized struct { }
FilterV1PostUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewFilterV1PostUnauthorized ¶
func NewFilterV1PostUnauthorized() *FilterV1PostUnauthorized
NewFilterV1PostUnauthorized creates a FilterV1PostUnauthorized with default headers values
func (*FilterV1PostUnauthorized) Code ¶
func (o *FilterV1PostUnauthorized) Code() int
Code gets the status code for the filter v1 post unauthorized response
func (*FilterV1PostUnauthorized) Error ¶
func (o *FilterV1PostUnauthorized) Error() string
func (*FilterV1PostUnauthorized) IsClientError ¶
func (o *FilterV1PostUnauthorized) IsClientError() bool
IsClientError returns true when this filter v1 post unauthorized response has a 4xx status code
func (*FilterV1PostUnauthorized) IsCode ¶
func (o *FilterV1PostUnauthorized) IsCode(code int) bool
IsCode returns true when this filter v1 post unauthorized response a status code equal to that given
func (*FilterV1PostUnauthorized) IsRedirect ¶
func (o *FilterV1PostUnauthorized) IsRedirect() bool
IsRedirect returns true when this filter v1 post unauthorized response has a 3xx status code
func (*FilterV1PostUnauthorized) IsServerError ¶
func (o *FilterV1PostUnauthorized) IsServerError() bool
IsServerError returns true when this filter v1 post unauthorized response has a 5xx status code
func (*FilterV1PostUnauthorized) IsSuccess ¶
func (o *FilterV1PostUnauthorized) IsSuccess() bool
IsSuccess returns true when this filter v1 post unauthorized response has a 2xx status code
func (*FilterV1PostUnauthorized) String ¶
func (o *FilterV1PostUnauthorized) String() string
type FilterV1PostUnprocessableEntity ¶
type FilterV1PostUnprocessableEntity struct { }
FilterV1PostUnprocessableEntity describes a response with status code 422, with default header values.
unprocessable content
func NewFilterV1PostUnprocessableEntity ¶
func NewFilterV1PostUnprocessableEntity() *FilterV1PostUnprocessableEntity
NewFilterV1PostUnprocessableEntity creates a FilterV1PostUnprocessableEntity with default headers values
func (*FilterV1PostUnprocessableEntity) Code ¶
func (o *FilterV1PostUnprocessableEntity) Code() int
Code gets the status code for the filter v1 post unprocessable entity response
func (*FilterV1PostUnprocessableEntity) Error ¶
func (o *FilterV1PostUnprocessableEntity) Error() string
func (*FilterV1PostUnprocessableEntity) IsClientError ¶
func (o *FilterV1PostUnprocessableEntity) IsClientError() bool
IsClientError returns true when this filter v1 post unprocessable entity response has a 4xx status code
func (*FilterV1PostUnprocessableEntity) IsCode ¶
func (o *FilterV1PostUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this filter v1 post unprocessable entity response a status code equal to that given
func (*FilterV1PostUnprocessableEntity) IsRedirect ¶
func (o *FilterV1PostUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this filter v1 post unprocessable entity response has a 3xx status code
func (*FilterV1PostUnprocessableEntity) IsServerError ¶
func (o *FilterV1PostUnprocessableEntity) IsServerError() bool
IsServerError returns true when this filter v1 post unprocessable entity response has a 5xx status code
func (*FilterV1PostUnprocessableEntity) IsSuccess ¶
func (o *FilterV1PostUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this filter v1 post unprocessable entity response has a 2xx status code
func (*FilterV1PostUnprocessableEntity) String ¶
func (o *FilterV1PostUnprocessableEntity) String() string
type FilterV1PutBadRequest ¶
type FilterV1PutBadRequest struct { }
FilterV1PutBadRequest describes a response with status code 400, with default header values.
bad request
func NewFilterV1PutBadRequest ¶
func NewFilterV1PutBadRequest() *FilterV1PutBadRequest
NewFilterV1PutBadRequest creates a FilterV1PutBadRequest with default headers values
func (*FilterV1PutBadRequest) Code ¶
func (o *FilterV1PutBadRequest) Code() int
Code gets the status code for the filter v1 put bad request response
func (*FilterV1PutBadRequest) Error ¶
func (o *FilterV1PutBadRequest) Error() string
func (*FilterV1PutBadRequest) IsClientError ¶
func (o *FilterV1PutBadRequest) IsClientError() bool
IsClientError returns true when this filter v1 put bad request response has a 4xx status code
func (*FilterV1PutBadRequest) IsCode ¶
func (o *FilterV1PutBadRequest) IsCode(code int) bool
IsCode returns true when this filter v1 put bad request response a status code equal to that given
func (*FilterV1PutBadRequest) IsRedirect ¶
func (o *FilterV1PutBadRequest) IsRedirect() bool
IsRedirect returns true when this filter v1 put bad request response has a 3xx status code
func (*FilterV1PutBadRequest) IsServerError ¶
func (o *FilterV1PutBadRequest) IsServerError() bool
IsServerError returns true when this filter v1 put bad request response has a 5xx status code
func (*FilterV1PutBadRequest) IsSuccess ¶
func (o *FilterV1PutBadRequest) IsSuccess() bool
IsSuccess returns true when this filter v1 put bad request response has a 2xx status code
func (*FilterV1PutBadRequest) String ¶
func (o *FilterV1PutBadRequest) String() string
type FilterV1PutInternalServerError ¶
type FilterV1PutInternalServerError struct { }
FilterV1PutInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewFilterV1PutInternalServerError ¶
func NewFilterV1PutInternalServerError() *FilterV1PutInternalServerError
NewFilterV1PutInternalServerError creates a FilterV1PutInternalServerError with default headers values
func (*FilterV1PutInternalServerError) Code ¶
func (o *FilterV1PutInternalServerError) Code() int
Code gets the status code for the filter v1 put internal server error response
func (*FilterV1PutInternalServerError) Error ¶
func (o *FilterV1PutInternalServerError) Error() string
func (*FilterV1PutInternalServerError) IsClientError ¶
func (o *FilterV1PutInternalServerError) IsClientError() bool
IsClientError returns true when this filter v1 put internal server error response has a 4xx status code
func (*FilterV1PutInternalServerError) IsCode ¶
func (o *FilterV1PutInternalServerError) IsCode(code int) bool
IsCode returns true when this filter v1 put internal server error response a status code equal to that given
func (*FilterV1PutInternalServerError) IsRedirect ¶
func (o *FilterV1PutInternalServerError) IsRedirect() bool
IsRedirect returns true when this filter v1 put internal server error response has a 3xx status code
func (*FilterV1PutInternalServerError) IsServerError ¶
func (o *FilterV1PutInternalServerError) IsServerError() bool
IsServerError returns true when this filter v1 put internal server error response has a 5xx status code
func (*FilterV1PutInternalServerError) IsSuccess ¶
func (o *FilterV1PutInternalServerError) IsSuccess() bool
IsSuccess returns true when this filter v1 put internal server error response has a 2xx status code
func (*FilterV1PutInternalServerError) String ¶
func (o *FilterV1PutInternalServerError) String() string
type FilterV1PutNotAcceptable ¶
type FilterV1PutNotAcceptable struct { }
FilterV1PutNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewFilterV1PutNotAcceptable ¶
func NewFilterV1PutNotAcceptable() *FilterV1PutNotAcceptable
NewFilterV1PutNotAcceptable creates a FilterV1PutNotAcceptable with default headers values
func (*FilterV1PutNotAcceptable) Code ¶
func (o *FilterV1PutNotAcceptable) Code() int
Code gets the status code for the filter v1 put not acceptable response
func (*FilterV1PutNotAcceptable) Error ¶
func (o *FilterV1PutNotAcceptable) Error() string
func (*FilterV1PutNotAcceptable) IsClientError ¶
func (o *FilterV1PutNotAcceptable) IsClientError() bool
IsClientError returns true when this filter v1 put not acceptable response has a 4xx status code
func (*FilterV1PutNotAcceptable) IsCode ¶
func (o *FilterV1PutNotAcceptable) IsCode(code int) bool
IsCode returns true when this filter v1 put not acceptable response a status code equal to that given
func (*FilterV1PutNotAcceptable) IsRedirect ¶
func (o *FilterV1PutNotAcceptable) IsRedirect() bool
IsRedirect returns true when this filter v1 put not acceptable response has a 3xx status code
func (*FilterV1PutNotAcceptable) IsServerError ¶
func (o *FilterV1PutNotAcceptable) IsServerError() bool
IsServerError returns true when this filter v1 put not acceptable response has a 5xx status code
func (*FilterV1PutNotAcceptable) IsSuccess ¶
func (o *FilterV1PutNotAcceptable) IsSuccess() bool
IsSuccess returns true when this filter v1 put not acceptable response has a 2xx status code
func (*FilterV1PutNotAcceptable) String ¶
func (o *FilterV1PutNotAcceptable) String() string
type FilterV1PutNotFound ¶
type FilterV1PutNotFound struct { }
FilterV1PutNotFound describes a response with status code 404, with default header values.
not found
func NewFilterV1PutNotFound ¶
func NewFilterV1PutNotFound() *FilterV1PutNotFound
NewFilterV1PutNotFound creates a FilterV1PutNotFound with default headers values
func (*FilterV1PutNotFound) Code ¶
func (o *FilterV1PutNotFound) Code() int
Code gets the status code for the filter v1 put not found response
func (*FilterV1PutNotFound) Error ¶
func (o *FilterV1PutNotFound) Error() string
func (*FilterV1PutNotFound) IsClientError ¶
func (o *FilterV1PutNotFound) IsClientError() bool
IsClientError returns true when this filter v1 put not found response has a 4xx status code
func (*FilterV1PutNotFound) IsCode ¶
func (o *FilterV1PutNotFound) IsCode(code int) bool
IsCode returns true when this filter v1 put not found response a status code equal to that given
func (*FilterV1PutNotFound) IsRedirect ¶
func (o *FilterV1PutNotFound) IsRedirect() bool
IsRedirect returns true when this filter v1 put not found response has a 3xx status code
func (*FilterV1PutNotFound) IsServerError ¶
func (o *FilterV1PutNotFound) IsServerError() bool
IsServerError returns true when this filter v1 put not found response has a 5xx status code
func (*FilterV1PutNotFound) IsSuccess ¶
func (o *FilterV1PutNotFound) IsSuccess() bool
IsSuccess returns true when this filter v1 put not found response has a 2xx status code
func (*FilterV1PutNotFound) String ¶
func (o *FilterV1PutNotFound) String() string
type FilterV1PutOK ¶
FilterV1PutOK describes a response with status code 200, with default header values.
Updated filter.
func NewFilterV1PutOK ¶
func NewFilterV1PutOK() *FilterV1PutOK
NewFilterV1PutOK creates a FilterV1PutOK with default headers values
func (*FilterV1PutOK) Code ¶
func (o *FilterV1PutOK) Code() int
Code gets the status code for the filter v1 put o k response
func (*FilterV1PutOK) Error ¶
func (o *FilterV1PutOK) Error() string
func (*FilterV1PutOK) GetPayload ¶
func (o *FilterV1PutOK) GetPayload() *models.FilterV1
func (*FilterV1PutOK) IsClientError ¶
func (o *FilterV1PutOK) IsClientError() bool
IsClientError returns true when this filter v1 put o k response has a 4xx status code
func (*FilterV1PutOK) IsCode ¶
func (o *FilterV1PutOK) IsCode(code int) bool
IsCode returns true when this filter v1 put o k response a status code equal to that given
func (*FilterV1PutOK) IsRedirect ¶
func (o *FilterV1PutOK) IsRedirect() bool
IsRedirect returns true when this filter v1 put o k response has a 3xx status code
func (*FilterV1PutOK) IsServerError ¶
func (o *FilterV1PutOK) IsServerError() bool
IsServerError returns true when this filter v1 put o k response has a 5xx status code
func (*FilterV1PutOK) IsSuccess ¶
func (o *FilterV1PutOK) IsSuccess() bool
IsSuccess returns true when this filter v1 put o k response has a 2xx status code
func (*FilterV1PutOK) String ¶
func (o *FilterV1PutOK) String() string
type FilterV1PutParams ¶
type FilterV1PutParams struct { /* Context. The contexts in which the filter should be applied. Sample: home, public */ FContext []string /* ExpiresIn. Number of seconds from now that the filter should expire. If omitted, filter never expires. Sample: 86400 */ ExpiresIn *float64 /* ID. ID of the filter. */ ID string /* Irreversible. Should matching entities be removed from the user's timelines/views, instead of hidden? Not supported yet. Sample: false */ Irreversible *bool /* Phrase. The text to be filtered. Sample: fnord */ Phrase string /* WholeWord. Should the filter consider word boundaries? Sample: true */ WholeWord *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FilterV1PutParams contains all the parameters to send to the API endpoint
for the filter v1 put operation. Typically these are written to a http.Request.
func NewFilterV1PutParams ¶
func NewFilterV1PutParams() *FilterV1PutParams
NewFilterV1PutParams creates a new FilterV1PutParams 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 NewFilterV1PutParamsWithContext ¶
func NewFilterV1PutParamsWithContext(ctx context.Context) *FilterV1PutParams
NewFilterV1PutParamsWithContext creates a new FilterV1PutParams object with the ability to set a context for a request.
func NewFilterV1PutParamsWithHTTPClient ¶
func NewFilterV1PutParamsWithHTTPClient(client *http.Client) *FilterV1PutParams
NewFilterV1PutParamsWithHTTPClient creates a new FilterV1PutParams object with the ability to set a custom HTTPClient for a request.
func NewFilterV1PutParamsWithTimeout ¶
func NewFilterV1PutParamsWithTimeout(timeout time.Duration) *FilterV1PutParams
NewFilterV1PutParamsWithTimeout creates a new FilterV1PutParams object with the ability to set a timeout on a request.
func (*FilterV1PutParams) SetContext ¶
func (o *FilterV1PutParams) SetContext(ctx context.Context)
SetContext adds the context to the filter v1 put params
func (*FilterV1PutParams) SetDefaults ¶
func (o *FilterV1PutParams) SetDefaults()
SetDefaults hydrates default values in the filter v1 put params (not the query body).
All values with no default are reset to their zero value.
func (*FilterV1PutParams) SetExpiresIn ¶
func (o *FilterV1PutParams) SetExpiresIn(expiresIn *float64)
SetExpiresIn adds the expiresIn to the filter v1 put params
func (*FilterV1PutParams) SetFContext ¶
func (o *FilterV1PutParams) SetFContext(context []string)
SetContext adds the context to the filter v1 put params
func (*FilterV1PutParams) SetHTTPClient ¶
func (o *FilterV1PutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the filter v1 put params
func (*FilterV1PutParams) SetID ¶
func (o *FilterV1PutParams) SetID(id string)
SetID adds the id to the filter v1 put params
func (*FilterV1PutParams) SetIrreversible ¶
func (o *FilterV1PutParams) SetIrreversible(irreversible *bool)
SetIrreversible adds the irreversible to the filter v1 put params
func (*FilterV1PutParams) SetPhrase ¶
func (o *FilterV1PutParams) SetPhrase(phrase string)
SetPhrase adds the phrase to the filter v1 put params
func (*FilterV1PutParams) SetTimeout ¶
func (o *FilterV1PutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the filter v1 put params
func (*FilterV1PutParams) SetWholeWord ¶
func (o *FilterV1PutParams) SetWholeWord(wholeWord *bool)
SetWholeWord adds the wholeWord to the filter v1 put params
func (*FilterV1PutParams) WithContext ¶
func (o *FilterV1PutParams) WithContext(ctx context.Context) *FilterV1PutParams
WithContext adds the context to the filter v1 put params
func (*FilterV1PutParams) WithDefaults ¶
func (o *FilterV1PutParams) WithDefaults() *FilterV1PutParams
WithDefaults hydrates default values in the filter v1 put params (not the query body).
All values with no default are reset to their zero value.
func (*FilterV1PutParams) WithExpiresIn ¶
func (o *FilterV1PutParams) WithExpiresIn(expiresIn *float64) *FilterV1PutParams
WithExpiresIn adds the expiresIn to the filter v1 put params
func (*FilterV1PutParams) WithFContext ¶
func (o *FilterV1PutParams) WithFContext(context []string) *FilterV1PutParams
WithContext adds the context to the filter v1 put params
func (*FilterV1PutParams) WithHTTPClient ¶
func (o *FilterV1PutParams) WithHTTPClient(client *http.Client) *FilterV1PutParams
WithHTTPClient adds the HTTPClient to the filter v1 put params
func (*FilterV1PutParams) WithID ¶
func (o *FilterV1PutParams) WithID(id string) *FilterV1PutParams
WithID adds the id to the filter v1 put params
func (*FilterV1PutParams) WithIrreversible ¶
func (o *FilterV1PutParams) WithIrreversible(irreversible *bool) *FilterV1PutParams
WithIrreversible adds the irreversible to the filter v1 put params
func (*FilterV1PutParams) WithPhrase ¶
func (o *FilterV1PutParams) WithPhrase(phrase string) *FilterV1PutParams
WithPhrase adds the phrase to the filter v1 put params
func (*FilterV1PutParams) WithTimeout ¶
func (o *FilterV1PutParams) WithTimeout(timeout time.Duration) *FilterV1PutParams
WithTimeout adds the timeout to the filter v1 put params
func (*FilterV1PutParams) WithWholeWord ¶
func (o *FilterV1PutParams) WithWholeWord(wholeWord *bool) *FilterV1PutParams
WithWholeWord adds the wholeWord to the filter v1 put params
func (*FilterV1PutParams) WriteToRequest ¶
func (o *FilterV1PutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FilterV1PutReader ¶
type FilterV1PutReader struct {
// contains filtered or unexported fields
}
FilterV1PutReader is a Reader for the FilterV1Put structure.
func (*FilterV1PutReader) ReadResponse ¶
func (o *FilterV1PutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FilterV1PutUnauthorized ¶
type FilterV1PutUnauthorized struct { }
FilterV1PutUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewFilterV1PutUnauthorized ¶
func NewFilterV1PutUnauthorized() *FilterV1PutUnauthorized
NewFilterV1PutUnauthorized creates a FilterV1PutUnauthorized with default headers values
func (*FilterV1PutUnauthorized) Code ¶
func (o *FilterV1PutUnauthorized) Code() int
Code gets the status code for the filter v1 put unauthorized response
func (*FilterV1PutUnauthorized) Error ¶
func (o *FilterV1PutUnauthorized) Error() string
func (*FilterV1PutUnauthorized) IsClientError ¶
func (o *FilterV1PutUnauthorized) IsClientError() bool
IsClientError returns true when this filter v1 put unauthorized response has a 4xx status code
func (*FilterV1PutUnauthorized) IsCode ¶
func (o *FilterV1PutUnauthorized) IsCode(code int) bool
IsCode returns true when this filter v1 put unauthorized response a status code equal to that given
func (*FilterV1PutUnauthorized) IsRedirect ¶
func (o *FilterV1PutUnauthorized) IsRedirect() bool
IsRedirect returns true when this filter v1 put unauthorized response has a 3xx status code
func (*FilterV1PutUnauthorized) IsServerError ¶
func (o *FilterV1PutUnauthorized) IsServerError() bool
IsServerError returns true when this filter v1 put unauthorized response has a 5xx status code
func (*FilterV1PutUnauthorized) IsSuccess ¶
func (o *FilterV1PutUnauthorized) IsSuccess() bool
IsSuccess returns true when this filter v1 put unauthorized response has a 2xx status code
func (*FilterV1PutUnauthorized) String ¶
func (o *FilterV1PutUnauthorized) String() string
type FilterV1PutUnprocessableEntity ¶
type FilterV1PutUnprocessableEntity struct { }
FilterV1PutUnprocessableEntity describes a response with status code 422, with default header values.
unprocessable content
func NewFilterV1PutUnprocessableEntity ¶
func NewFilterV1PutUnprocessableEntity() *FilterV1PutUnprocessableEntity
NewFilterV1PutUnprocessableEntity creates a FilterV1PutUnprocessableEntity with default headers values
func (*FilterV1PutUnprocessableEntity) Code ¶
func (o *FilterV1PutUnprocessableEntity) Code() int
Code gets the status code for the filter v1 put unprocessable entity response
func (*FilterV1PutUnprocessableEntity) Error ¶
func (o *FilterV1PutUnprocessableEntity) Error() string
func (*FilterV1PutUnprocessableEntity) IsClientError ¶
func (o *FilterV1PutUnprocessableEntity) IsClientError() bool
IsClientError returns true when this filter v1 put unprocessable entity response has a 4xx status code
func (*FilterV1PutUnprocessableEntity) IsCode ¶
func (o *FilterV1PutUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this filter v1 put unprocessable entity response a status code equal to that given
func (*FilterV1PutUnprocessableEntity) IsRedirect ¶
func (o *FilterV1PutUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this filter v1 put unprocessable entity response has a 3xx status code
func (*FilterV1PutUnprocessableEntity) IsServerError ¶
func (o *FilterV1PutUnprocessableEntity) IsServerError() bool
IsServerError returns true when this filter v1 put unprocessable entity response has a 5xx status code
func (*FilterV1PutUnprocessableEntity) IsSuccess ¶
func (o *FilterV1PutUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this filter v1 put unprocessable entity response has a 2xx status code
func (*FilterV1PutUnprocessableEntity) String ¶
func (o *FilterV1PutUnprocessableEntity) String() string
type FiltersV1GetBadRequest ¶
type FiltersV1GetBadRequest struct { }
FiltersV1GetBadRequest describes a response with status code 400, with default header values.
bad request
func NewFiltersV1GetBadRequest ¶
func NewFiltersV1GetBadRequest() *FiltersV1GetBadRequest
NewFiltersV1GetBadRequest creates a FiltersV1GetBadRequest with default headers values
func (*FiltersV1GetBadRequest) Code ¶
func (o *FiltersV1GetBadRequest) Code() int
Code gets the status code for the filters v1 get bad request response
func (*FiltersV1GetBadRequest) Error ¶
func (o *FiltersV1GetBadRequest) Error() string
func (*FiltersV1GetBadRequest) IsClientError ¶
func (o *FiltersV1GetBadRequest) IsClientError() bool
IsClientError returns true when this filters v1 get bad request response has a 4xx status code
func (*FiltersV1GetBadRequest) IsCode ¶
func (o *FiltersV1GetBadRequest) IsCode(code int) bool
IsCode returns true when this filters v1 get bad request response a status code equal to that given
func (*FiltersV1GetBadRequest) IsRedirect ¶
func (o *FiltersV1GetBadRequest) IsRedirect() bool
IsRedirect returns true when this filters v1 get bad request response has a 3xx status code
func (*FiltersV1GetBadRequest) IsServerError ¶
func (o *FiltersV1GetBadRequest) IsServerError() bool
IsServerError returns true when this filters v1 get bad request response has a 5xx status code
func (*FiltersV1GetBadRequest) IsSuccess ¶
func (o *FiltersV1GetBadRequest) IsSuccess() bool
IsSuccess returns true when this filters v1 get bad request response has a 2xx status code
func (*FiltersV1GetBadRequest) String ¶
func (o *FiltersV1GetBadRequest) String() string
type FiltersV1GetInternalServerError ¶
type FiltersV1GetInternalServerError struct { }
FiltersV1GetInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewFiltersV1GetInternalServerError ¶
func NewFiltersV1GetInternalServerError() *FiltersV1GetInternalServerError
NewFiltersV1GetInternalServerError creates a FiltersV1GetInternalServerError with default headers values
func (*FiltersV1GetInternalServerError) Code ¶
func (o *FiltersV1GetInternalServerError) Code() int
Code gets the status code for the filters v1 get internal server error response
func (*FiltersV1GetInternalServerError) Error ¶
func (o *FiltersV1GetInternalServerError) Error() string
func (*FiltersV1GetInternalServerError) IsClientError ¶
func (o *FiltersV1GetInternalServerError) IsClientError() bool
IsClientError returns true when this filters v1 get internal server error response has a 4xx status code
func (*FiltersV1GetInternalServerError) IsCode ¶
func (o *FiltersV1GetInternalServerError) IsCode(code int) bool
IsCode returns true when this filters v1 get internal server error response a status code equal to that given
func (*FiltersV1GetInternalServerError) IsRedirect ¶
func (o *FiltersV1GetInternalServerError) IsRedirect() bool
IsRedirect returns true when this filters v1 get internal server error response has a 3xx status code
func (*FiltersV1GetInternalServerError) IsServerError ¶
func (o *FiltersV1GetInternalServerError) IsServerError() bool
IsServerError returns true when this filters v1 get internal server error response has a 5xx status code
func (*FiltersV1GetInternalServerError) IsSuccess ¶
func (o *FiltersV1GetInternalServerError) IsSuccess() bool
IsSuccess returns true when this filters v1 get internal server error response has a 2xx status code
func (*FiltersV1GetInternalServerError) String ¶
func (o *FiltersV1GetInternalServerError) String() string
type FiltersV1GetNotAcceptable ¶
type FiltersV1GetNotAcceptable struct { }
FiltersV1GetNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewFiltersV1GetNotAcceptable ¶
func NewFiltersV1GetNotAcceptable() *FiltersV1GetNotAcceptable
NewFiltersV1GetNotAcceptable creates a FiltersV1GetNotAcceptable with default headers values
func (*FiltersV1GetNotAcceptable) Code ¶
func (o *FiltersV1GetNotAcceptable) Code() int
Code gets the status code for the filters v1 get not acceptable response
func (*FiltersV1GetNotAcceptable) Error ¶
func (o *FiltersV1GetNotAcceptable) Error() string
func (*FiltersV1GetNotAcceptable) IsClientError ¶
func (o *FiltersV1GetNotAcceptable) IsClientError() bool
IsClientError returns true when this filters v1 get not acceptable response has a 4xx status code
func (*FiltersV1GetNotAcceptable) IsCode ¶
func (o *FiltersV1GetNotAcceptable) IsCode(code int) bool
IsCode returns true when this filters v1 get not acceptable response a status code equal to that given
func (*FiltersV1GetNotAcceptable) IsRedirect ¶
func (o *FiltersV1GetNotAcceptable) IsRedirect() bool
IsRedirect returns true when this filters v1 get not acceptable response has a 3xx status code
func (*FiltersV1GetNotAcceptable) IsServerError ¶
func (o *FiltersV1GetNotAcceptable) IsServerError() bool
IsServerError returns true when this filters v1 get not acceptable response has a 5xx status code
func (*FiltersV1GetNotAcceptable) IsSuccess ¶
func (o *FiltersV1GetNotAcceptable) IsSuccess() bool
IsSuccess returns true when this filters v1 get not acceptable response has a 2xx status code
func (*FiltersV1GetNotAcceptable) String ¶
func (o *FiltersV1GetNotAcceptable) String() string
type FiltersV1GetNotFound ¶
type FiltersV1GetNotFound struct { }
FiltersV1GetNotFound describes a response with status code 404, with default header values.
not found
func NewFiltersV1GetNotFound ¶
func NewFiltersV1GetNotFound() *FiltersV1GetNotFound
NewFiltersV1GetNotFound creates a FiltersV1GetNotFound with default headers values
func (*FiltersV1GetNotFound) Code ¶
func (o *FiltersV1GetNotFound) Code() int
Code gets the status code for the filters v1 get not found response
func (*FiltersV1GetNotFound) Error ¶
func (o *FiltersV1GetNotFound) Error() string
func (*FiltersV1GetNotFound) IsClientError ¶
func (o *FiltersV1GetNotFound) IsClientError() bool
IsClientError returns true when this filters v1 get not found response has a 4xx status code
func (*FiltersV1GetNotFound) IsCode ¶
func (o *FiltersV1GetNotFound) IsCode(code int) bool
IsCode returns true when this filters v1 get not found response a status code equal to that given
func (*FiltersV1GetNotFound) IsRedirect ¶
func (o *FiltersV1GetNotFound) IsRedirect() bool
IsRedirect returns true when this filters v1 get not found response has a 3xx status code
func (*FiltersV1GetNotFound) IsServerError ¶
func (o *FiltersV1GetNotFound) IsServerError() bool
IsServerError returns true when this filters v1 get not found response has a 5xx status code
func (*FiltersV1GetNotFound) IsSuccess ¶
func (o *FiltersV1GetNotFound) IsSuccess() bool
IsSuccess returns true when this filters v1 get not found response has a 2xx status code
func (*FiltersV1GetNotFound) String ¶
func (o *FiltersV1GetNotFound) String() string
type FiltersV1GetOK ¶
FiltersV1GetOK describes a response with status code 200, with default header values.
Requested filters.
func NewFiltersV1GetOK ¶
func NewFiltersV1GetOK() *FiltersV1GetOK
NewFiltersV1GetOK creates a FiltersV1GetOK with default headers values
func (*FiltersV1GetOK) Code ¶
func (o *FiltersV1GetOK) Code() int
Code gets the status code for the filters v1 get o k response
func (*FiltersV1GetOK) Error ¶
func (o *FiltersV1GetOK) Error() string
func (*FiltersV1GetOK) GetPayload ¶
func (o *FiltersV1GetOK) GetPayload() []*models.FilterV1
func (*FiltersV1GetOK) IsClientError ¶
func (o *FiltersV1GetOK) IsClientError() bool
IsClientError returns true when this filters v1 get o k response has a 4xx status code
func (*FiltersV1GetOK) IsCode ¶
func (o *FiltersV1GetOK) IsCode(code int) bool
IsCode returns true when this filters v1 get o k response a status code equal to that given
func (*FiltersV1GetOK) IsRedirect ¶
func (o *FiltersV1GetOK) IsRedirect() bool
IsRedirect returns true when this filters v1 get o k response has a 3xx status code
func (*FiltersV1GetOK) IsServerError ¶
func (o *FiltersV1GetOK) IsServerError() bool
IsServerError returns true when this filters v1 get o k response has a 5xx status code
func (*FiltersV1GetOK) IsSuccess ¶
func (o *FiltersV1GetOK) IsSuccess() bool
IsSuccess returns true when this filters v1 get o k response has a 2xx status code
func (*FiltersV1GetOK) String ¶
func (o *FiltersV1GetOK) String() string
type FiltersV1GetParams ¶
type FiltersV1GetParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FiltersV1GetParams contains all the parameters to send to the API endpoint
for the filters v1 get operation. Typically these are written to a http.Request.
func NewFiltersV1GetParams ¶
func NewFiltersV1GetParams() *FiltersV1GetParams
NewFiltersV1GetParams creates a new FiltersV1GetParams 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 NewFiltersV1GetParamsWithContext ¶
func NewFiltersV1GetParamsWithContext(ctx context.Context) *FiltersV1GetParams
NewFiltersV1GetParamsWithContext creates a new FiltersV1GetParams object with the ability to set a context for a request.
func NewFiltersV1GetParamsWithHTTPClient ¶
func NewFiltersV1GetParamsWithHTTPClient(client *http.Client) *FiltersV1GetParams
NewFiltersV1GetParamsWithHTTPClient creates a new FiltersV1GetParams object with the ability to set a custom HTTPClient for a request.
func NewFiltersV1GetParamsWithTimeout ¶
func NewFiltersV1GetParamsWithTimeout(timeout time.Duration) *FiltersV1GetParams
NewFiltersV1GetParamsWithTimeout creates a new FiltersV1GetParams object with the ability to set a timeout on a request.
func (*FiltersV1GetParams) SetContext ¶
func (o *FiltersV1GetParams) SetContext(ctx context.Context)
SetContext adds the context to the filters v1 get params
func (*FiltersV1GetParams) SetDefaults ¶
func (o *FiltersV1GetParams) SetDefaults()
SetDefaults hydrates default values in the filters v1 get params (not the query body).
All values with no default are reset to their zero value.
func (*FiltersV1GetParams) SetHTTPClient ¶
func (o *FiltersV1GetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the filters v1 get params
func (*FiltersV1GetParams) SetTimeout ¶
func (o *FiltersV1GetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the filters v1 get params
func (*FiltersV1GetParams) WithContext ¶
func (o *FiltersV1GetParams) WithContext(ctx context.Context) *FiltersV1GetParams
WithContext adds the context to the filters v1 get params
func (*FiltersV1GetParams) WithDefaults ¶
func (o *FiltersV1GetParams) WithDefaults() *FiltersV1GetParams
WithDefaults hydrates default values in the filters v1 get params (not the query body).
All values with no default are reset to their zero value.
func (*FiltersV1GetParams) WithHTTPClient ¶
func (o *FiltersV1GetParams) WithHTTPClient(client *http.Client) *FiltersV1GetParams
WithHTTPClient adds the HTTPClient to the filters v1 get params
func (*FiltersV1GetParams) WithTimeout ¶
func (o *FiltersV1GetParams) WithTimeout(timeout time.Duration) *FiltersV1GetParams
WithTimeout adds the timeout to the filters v1 get params
func (*FiltersV1GetParams) WriteToRequest ¶
func (o *FiltersV1GetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FiltersV1GetReader ¶
type FiltersV1GetReader struct {
// contains filtered or unexported fields
}
FiltersV1GetReader is a Reader for the FiltersV1Get structure.
func (*FiltersV1GetReader) ReadResponse ¶
func (o *FiltersV1GetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FiltersV1GetUnauthorized ¶
type FiltersV1GetUnauthorized struct { }
FiltersV1GetUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewFiltersV1GetUnauthorized ¶
func NewFiltersV1GetUnauthorized() *FiltersV1GetUnauthorized
NewFiltersV1GetUnauthorized creates a FiltersV1GetUnauthorized with default headers values
func (*FiltersV1GetUnauthorized) Code ¶
func (o *FiltersV1GetUnauthorized) Code() int
Code gets the status code for the filters v1 get unauthorized response
func (*FiltersV1GetUnauthorized) Error ¶
func (o *FiltersV1GetUnauthorized) Error() string
func (*FiltersV1GetUnauthorized) IsClientError ¶
func (o *FiltersV1GetUnauthorized) IsClientError() bool
IsClientError returns true when this filters v1 get unauthorized response has a 4xx status code
func (*FiltersV1GetUnauthorized) IsCode ¶
func (o *FiltersV1GetUnauthorized) IsCode(code int) bool
IsCode returns true when this filters v1 get unauthorized response a status code equal to that given
func (*FiltersV1GetUnauthorized) IsRedirect ¶
func (o *FiltersV1GetUnauthorized) IsRedirect() bool
IsRedirect returns true when this filters v1 get unauthorized response has a 3xx status code
func (*FiltersV1GetUnauthorized) IsServerError ¶
func (o *FiltersV1GetUnauthorized) IsServerError() bool
IsServerError returns true when this filters v1 get unauthorized response has a 5xx status code
func (*FiltersV1GetUnauthorized) IsSuccess ¶
func (o *FiltersV1GetUnauthorized) IsSuccess() bool
IsSuccess returns true when this filters v1 get unauthorized response has a 2xx status code
func (*FiltersV1GetUnauthorized) String ¶
func (o *FiltersV1GetUnauthorized) String() string
Source Files
¶
- filter_v1_delete_parameters.go
- filter_v1_delete_responses.go
- filter_v1_get_parameters.go
- filter_v1_get_responses.go
- filter_v1_post_parameters.go
- filter_v1_post_responses.go
- filter_v1_put_parameters.go
- filter_v1_put_responses.go
- filters_client.go
- filters_v1_get_parameters.go
- filters_v1_get_responses.go