Documentation ¶
Index ¶
- type API
- type Client
- type CreateFeedsBadRequest
- func (o *CreateFeedsBadRequest) Error() string
- func (o *CreateFeedsBadRequest) GetPayload() *models.ErrorResponse
- func (o *CreateFeedsBadRequest) IsClientError() bool
- func (o *CreateFeedsBadRequest) IsCode(code int) bool
- func (o *CreateFeedsBadRequest) IsRedirect() bool
- func (o *CreateFeedsBadRequest) IsServerError() bool
- func (o *CreateFeedsBadRequest) IsSuccess() bool
- func (o *CreateFeedsBadRequest) String() string
- type CreateFeedsInternalServerError
- func (o *CreateFeedsInternalServerError) Error() string
- func (o *CreateFeedsInternalServerError) GetPayload() *models.ErrorResponse
- func (o *CreateFeedsInternalServerError) IsClientError() bool
- func (o *CreateFeedsInternalServerError) IsCode(code int) bool
- func (o *CreateFeedsInternalServerError) IsRedirect() bool
- func (o *CreateFeedsInternalServerError) IsServerError() bool
- func (o *CreateFeedsInternalServerError) IsSuccess() bool
- func (o *CreateFeedsInternalServerError) String() string
- type CreateFeedsOK
- func (o *CreateFeedsOK) Error() string
- func (o *CreateFeedsOK) GetPayload() *models.CreateFeedsResponse
- func (o *CreateFeedsOK) IsClientError() bool
- func (o *CreateFeedsOK) IsCode(code int) bool
- func (o *CreateFeedsOK) IsRedirect() bool
- func (o *CreateFeedsOK) IsServerError() bool
- func (o *CreateFeedsOK) IsSuccess() bool
- func (o *CreateFeedsOK) String() string
- type CreateFeedsParams
- func (o *CreateFeedsParams) SetContext(ctx context.Context)
- func (o *CreateFeedsParams) SetDefaults()
- func (o *CreateFeedsParams) SetHTTPClient(client *http.Client)
- func (o *CreateFeedsParams) SetRequest(request *models.CreateFeedsRequest)
- func (o *CreateFeedsParams) SetTimeout(timeout time.Duration)
- func (o *CreateFeedsParams) WithContext(ctx context.Context) *CreateFeedsParams
- func (o *CreateFeedsParams) WithDefaults() *CreateFeedsParams
- func (o *CreateFeedsParams) WithHTTPClient(client *http.Client) *CreateFeedsParams
- func (o *CreateFeedsParams) WithRequest(request *models.CreateFeedsRequest) *CreateFeedsParams
- func (o *CreateFeedsParams) WithTimeout(timeout time.Duration) *CreateFeedsParams
- func (o *CreateFeedsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateFeedsReader
- type CreateFeedsUnauthorized
- func (o *CreateFeedsUnauthorized) Error() string
- func (o *CreateFeedsUnauthorized) GetPayload() *models.ErrorResponse
- func (o *CreateFeedsUnauthorized) IsClientError() bool
- func (o *CreateFeedsUnauthorized) IsCode(code int) bool
- func (o *CreateFeedsUnauthorized) IsRedirect() bool
- func (o *CreateFeedsUnauthorized) IsServerError() bool
- func (o *CreateFeedsUnauthorized) IsSuccess() bool
- func (o *CreateFeedsUnauthorized) String() string
- type GetFeedsInternalServerError
- func (o *GetFeedsInternalServerError) Error() string
- func (o *GetFeedsInternalServerError) GetPayload() *models.ErrorResponse
- func (o *GetFeedsInternalServerError) IsClientError() bool
- func (o *GetFeedsInternalServerError) IsCode(code int) bool
- func (o *GetFeedsInternalServerError) IsRedirect() bool
- func (o *GetFeedsInternalServerError) IsServerError() bool
- func (o *GetFeedsInternalServerError) IsSuccess() bool
- func (o *GetFeedsInternalServerError) String() string
- type GetFeedsOK
- func (o *GetFeedsOK) Error() string
- func (o *GetFeedsOK) GetPayload() *models.GetFeedsResponse
- func (o *GetFeedsOK) IsClientError() bool
- func (o *GetFeedsOK) IsCode(code int) bool
- func (o *GetFeedsOK) IsRedirect() bool
- func (o *GetFeedsOK) IsServerError() bool
- func (o *GetFeedsOK) IsSuccess() bool
- func (o *GetFeedsOK) String() string
- type GetFeedsParams
- func (o *GetFeedsParams) SetContext(ctx context.Context)
- func (o *GetFeedsParams) SetDefaults()
- func (o *GetFeedsParams) SetHTTPClient(client *http.Client)
- func (o *GetFeedsParams) SetRequest(request *models.GetFeedsRequest)
- func (o *GetFeedsParams) SetTimeout(timeout time.Duration)
- func (o *GetFeedsParams) WithContext(ctx context.Context) *GetFeedsParams
- func (o *GetFeedsParams) WithDefaults() *GetFeedsParams
- func (o *GetFeedsParams) WithHTTPClient(client *http.Client) *GetFeedsParams
- func (o *GetFeedsParams) WithRequest(request *models.GetFeedsRequest) *GetFeedsParams
- func (o *GetFeedsParams) WithTimeout(timeout time.Duration) *GetFeedsParams
- func (o *GetFeedsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFeedsReader
- type GetFeedsUnauthorized
- func (o *GetFeedsUnauthorized) Error() string
- func (o *GetFeedsUnauthorized) GetPayload() *models.ErrorResponse
- func (o *GetFeedsUnauthorized) IsClientError() bool
- func (o *GetFeedsUnauthorized) IsCode(code int) bool
- func (o *GetFeedsUnauthorized) IsRedirect() bool
- func (o *GetFeedsUnauthorized) IsServerError() bool
- func (o *GetFeedsUnauthorized) IsSuccess() bool
- func (o *GetFeedsUnauthorized) String() string
- type GetRssOK
- type GetRssParams
- func (o *GetRssParams) SetContext(ctx context.Context)
- func (o *GetRssParams) SetDefaults()
- func (o *GetRssParams) SetHTTPClient(client *http.Client)
- func (o *GetRssParams) SetID(id string)
- func (o *GetRssParams) SetTimeout(timeout time.Duration)
- func (o *GetRssParams) WithContext(ctx context.Context) *GetRssParams
- func (o *GetRssParams) WithDefaults() *GetRssParams
- func (o *GetRssParams) WithHTTPClient(client *http.Client) *GetRssParams
- func (o *GetRssParams) WithID(id string) *GetRssParams
- func (o *GetRssParams) WithTimeout(timeout time.Duration) *GetRssParams
- func (o *GetRssParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRssReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { /* CreateFeeds creates new feeds*/ CreateFeeds(ctx context.Context, params *CreateFeedsParams) (*CreateFeedsOK, error) /* GetFeeds gets feeds matching the given parameters*/ GetFeeds(ctx context.Context, params *GetFeedsParams) (*GetFeedsOK, error) }
API is the interface of the feeds client
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for feeds API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client
New creates a new feeds API client.
func (*Client) CreateFeeds ¶
func (a *Client) CreateFeeds(ctx context.Context, params *CreateFeedsParams) (*CreateFeedsOK, error)
CreateFeeds creates new feeds
func (*Client) GetFeeds ¶
func (a *Client) GetFeeds(ctx context.Context, params *GetFeedsParams) (*GetFeedsOK, error)
GetFeeds gets feeds matching the given parameters
type CreateFeedsBadRequest ¶
type CreateFeedsBadRequest struct {
Payload *models.ErrorResponse
}
CreateFeedsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewCreateFeedsBadRequest ¶
func NewCreateFeedsBadRequest() *CreateFeedsBadRequest
NewCreateFeedsBadRequest creates a CreateFeedsBadRequest with default headers values
func (*CreateFeedsBadRequest) Error ¶
func (o *CreateFeedsBadRequest) Error() string
func (*CreateFeedsBadRequest) GetPayload ¶
func (o *CreateFeedsBadRequest) GetPayload() *models.ErrorResponse
func (*CreateFeedsBadRequest) IsClientError ¶
func (o *CreateFeedsBadRequest) IsClientError() bool
IsClientError returns true when this create feeds bad request response has a 4xx status code
func (*CreateFeedsBadRequest) IsCode ¶
func (o *CreateFeedsBadRequest) IsCode(code int) bool
IsCode returns true when this create feeds bad request response a status code equal to that given
func (*CreateFeedsBadRequest) IsRedirect ¶
func (o *CreateFeedsBadRequest) IsRedirect() bool
IsRedirect returns true when this create feeds bad request response has a 3xx status code
func (*CreateFeedsBadRequest) IsServerError ¶
func (o *CreateFeedsBadRequest) IsServerError() bool
IsServerError returns true when this create feeds bad request response has a 5xx status code
func (*CreateFeedsBadRequest) IsSuccess ¶
func (o *CreateFeedsBadRequest) IsSuccess() bool
IsSuccess returns true when this create feeds bad request response has a 2xx status code
func (*CreateFeedsBadRequest) String ¶
func (o *CreateFeedsBadRequest) String() string
type CreateFeedsInternalServerError ¶
type CreateFeedsInternalServerError struct {
Payload *models.ErrorResponse
}
CreateFeedsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewCreateFeedsInternalServerError ¶
func NewCreateFeedsInternalServerError() *CreateFeedsInternalServerError
NewCreateFeedsInternalServerError creates a CreateFeedsInternalServerError with default headers values
func (*CreateFeedsInternalServerError) Error ¶
func (o *CreateFeedsInternalServerError) Error() string
func (*CreateFeedsInternalServerError) GetPayload ¶
func (o *CreateFeedsInternalServerError) GetPayload() *models.ErrorResponse
func (*CreateFeedsInternalServerError) IsClientError ¶
func (o *CreateFeedsInternalServerError) IsClientError() bool
IsClientError returns true when this create feeds internal server error response has a 4xx status code
func (*CreateFeedsInternalServerError) IsCode ¶
func (o *CreateFeedsInternalServerError) IsCode(code int) bool
IsCode returns true when this create feeds internal server error response a status code equal to that given
func (*CreateFeedsInternalServerError) IsRedirect ¶
func (o *CreateFeedsInternalServerError) IsRedirect() bool
IsRedirect returns true when this create feeds internal server error response has a 3xx status code
func (*CreateFeedsInternalServerError) IsServerError ¶
func (o *CreateFeedsInternalServerError) IsServerError() bool
IsServerError returns true when this create feeds internal server error response has a 5xx status code
func (*CreateFeedsInternalServerError) IsSuccess ¶
func (o *CreateFeedsInternalServerError) IsSuccess() bool
IsSuccess returns true when this create feeds internal server error response has a 2xx status code
func (*CreateFeedsInternalServerError) String ¶
func (o *CreateFeedsInternalServerError) String() string
type CreateFeedsOK ¶
type CreateFeedsOK struct {
Payload *models.CreateFeedsResponse
}
CreateFeedsOK describes a response with status code 200, with default header values.
OK
func NewCreateFeedsOK ¶
func NewCreateFeedsOK() *CreateFeedsOK
NewCreateFeedsOK creates a CreateFeedsOK with default headers values
func (*CreateFeedsOK) Error ¶
func (o *CreateFeedsOK) Error() string
func (*CreateFeedsOK) GetPayload ¶
func (o *CreateFeedsOK) GetPayload() *models.CreateFeedsResponse
func (*CreateFeedsOK) IsClientError ¶
func (o *CreateFeedsOK) IsClientError() bool
IsClientError returns true when this create feeds o k response has a 4xx status code
func (*CreateFeedsOK) IsCode ¶
func (o *CreateFeedsOK) IsCode(code int) bool
IsCode returns true when this create feeds o k response a status code equal to that given
func (*CreateFeedsOK) IsRedirect ¶
func (o *CreateFeedsOK) IsRedirect() bool
IsRedirect returns true when this create feeds o k response has a 3xx status code
func (*CreateFeedsOK) IsServerError ¶
func (o *CreateFeedsOK) IsServerError() bool
IsServerError returns true when this create feeds o k response has a 5xx status code
func (*CreateFeedsOK) IsSuccess ¶
func (o *CreateFeedsOK) IsSuccess() bool
IsSuccess returns true when this create feeds o k response has a 2xx status code
func (*CreateFeedsOK) String ¶
func (o *CreateFeedsOK) String() string
type CreateFeedsParams ¶
type CreateFeedsParams struct { /* Request. CreateFeeds request */ Request *models.CreateFeedsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateFeedsParams contains all the parameters to send to the API endpoint
for the create feeds operation. Typically these are written to a http.Request.
func NewCreateFeedsParams ¶
func NewCreateFeedsParams() *CreateFeedsParams
NewCreateFeedsParams creates a new CreateFeedsParams 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 NewCreateFeedsParamsWithContext ¶
func NewCreateFeedsParamsWithContext(ctx context.Context) *CreateFeedsParams
NewCreateFeedsParamsWithContext creates a new CreateFeedsParams object with the ability to set a context for a request.
func NewCreateFeedsParamsWithHTTPClient ¶
func NewCreateFeedsParamsWithHTTPClient(client *http.Client) *CreateFeedsParams
NewCreateFeedsParamsWithHTTPClient creates a new CreateFeedsParams object with the ability to set a custom HTTPClient for a request.
func NewCreateFeedsParamsWithTimeout ¶
func NewCreateFeedsParamsWithTimeout(timeout time.Duration) *CreateFeedsParams
NewCreateFeedsParamsWithTimeout creates a new CreateFeedsParams object with the ability to set a timeout on a request.
func (*CreateFeedsParams) SetContext ¶
func (o *CreateFeedsParams) SetContext(ctx context.Context)
SetContext adds the context to the create feeds params
func (*CreateFeedsParams) SetDefaults ¶
func (o *CreateFeedsParams) SetDefaults()
SetDefaults hydrates default values in the create feeds params (not the query body).
All values with no default are reset to their zero value.
func (*CreateFeedsParams) SetHTTPClient ¶
func (o *CreateFeedsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create feeds params
func (*CreateFeedsParams) SetRequest ¶
func (o *CreateFeedsParams) SetRequest(request *models.CreateFeedsRequest)
SetRequest adds the request to the create feeds params
func (*CreateFeedsParams) SetTimeout ¶
func (o *CreateFeedsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create feeds params
func (*CreateFeedsParams) WithContext ¶
func (o *CreateFeedsParams) WithContext(ctx context.Context) *CreateFeedsParams
WithContext adds the context to the create feeds params
func (*CreateFeedsParams) WithDefaults ¶
func (o *CreateFeedsParams) WithDefaults() *CreateFeedsParams
WithDefaults hydrates default values in the create feeds params (not the query body).
All values with no default are reset to their zero value.
func (*CreateFeedsParams) WithHTTPClient ¶
func (o *CreateFeedsParams) WithHTTPClient(client *http.Client) *CreateFeedsParams
WithHTTPClient adds the HTTPClient to the create feeds params
func (*CreateFeedsParams) WithRequest ¶
func (o *CreateFeedsParams) WithRequest(request *models.CreateFeedsRequest) *CreateFeedsParams
WithRequest adds the request to the create feeds params
func (*CreateFeedsParams) WithTimeout ¶
func (o *CreateFeedsParams) WithTimeout(timeout time.Duration) *CreateFeedsParams
WithTimeout adds the timeout to the create feeds params
func (*CreateFeedsParams) WriteToRequest ¶
func (o *CreateFeedsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateFeedsReader ¶
type CreateFeedsReader struct {
// contains filtered or unexported fields
}
CreateFeedsReader is a Reader for the CreateFeeds structure.
func (*CreateFeedsReader) ReadResponse ¶
func (o *CreateFeedsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateFeedsUnauthorized ¶
type CreateFeedsUnauthorized struct {
}CreateFeedsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateFeedsUnauthorized ¶
func NewCreateFeedsUnauthorized() *CreateFeedsUnauthorized
NewCreateFeedsUnauthorized creates a CreateFeedsUnauthorized with default headers values
func (*CreateFeedsUnauthorized) Error ¶
func (o *CreateFeedsUnauthorized) Error() string
func (*CreateFeedsUnauthorized) GetPayload ¶
func (o *CreateFeedsUnauthorized) GetPayload() *models.ErrorResponse
func (*CreateFeedsUnauthorized) IsClientError ¶
func (o *CreateFeedsUnauthorized) IsClientError() bool
IsClientError returns true when this create feeds unauthorized response has a 4xx status code
func (*CreateFeedsUnauthorized) IsCode ¶
func (o *CreateFeedsUnauthorized) IsCode(code int) bool
IsCode returns true when this create feeds unauthorized response a status code equal to that given
func (*CreateFeedsUnauthorized) IsRedirect ¶
func (o *CreateFeedsUnauthorized) IsRedirect() bool
IsRedirect returns true when this create feeds unauthorized response has a 3xx status code
func (*CreateFeedsUnauthorized) IsServerError ¶
func (o *CreateFeedsUnauthorized) IsServerError() bool
IsServerError returns true when this create feeds unauthorized response has a 5xx status code
func (*CreateFeedsUnauthorized) IsSuccess ¶
func (o *CreateFeedsUnauthorized) IsSuccess() bool
IsSuccess returns true when this create feeds unauthorized response has a 2xx status code
func (*CreateFeedsUnauthorized) String ¶
func (o *CreateFeedsUnauthorized) String() string
type GetFeedsInternalServerError ¶
type GetFeedsInternalServerError struct {
Payload *models.ErrorResponse
}
GetFeedsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetFeedsInternalServerError ¶
func NewGetFeedsInternalServerError() *GetFeedsInternalServerError
NewGetFeedsInternalServerError creates a GetFeedsInternalServerError with default headers values
func (*GetFeedsInternalServerError) Error ¶
func (o *GetFeedsInternalServerError) Error() string
func (*GetFeedsInternalServerError) GetPayload ¶
func (o *GetFeedsInternalServerError) GetPayload() *models.ErrorResponse
func (*GetFeedsInternalServerError) IsClientError ¶
func (o *GetFeedsInternalServerError) IsClientError() bool
IsClientError returns true when this get feeds internal server error response has a 4xx status code
func (*GetFeedsInternalServerError) IsCode ¶
func (o *GetFeedsInternalServerError) IsCode(code int) bool
IsCode returns true when this get feeds internal server error response a status code equal to that given
func (*GetFeedsInternalServerError) IsRedirect ¶
func (o *GetFeedsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get feeds internal server error response has a 3xx status code
func (*GetFeedsInternalServerError) IsServerError ¶
func (o *GetFeedsInternalServerError) IsServerError() bool
IsServerError returns true when this get feeds internal server error response has a 5xx status code
func (*GetFeedsInternalServerError) IsSuccess ¶
func (o *GetFeedsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get feeds internal server error response has a 2xx status code
func (*GetFeedsInternalServerError) String ¶
func (o *GetFeedsInternalServerError) String() string
type GetFeedsOK ¶
type GetFeedsOK struct {
Payload *models.GetFeedsResponse
}
GetFeedsOK describes a response with status code 200, with default header values.
OK
func NewGetFeedsOK ¶
func NewGetFeedsOK() *GetFeedsOK
NewGetFeedsOK creates a GetFeedsOK with default headers values
func (*GetFeedsOK) Error ¶
func (o *GetFeedsOK) Error() string
func (*GetFeedsOK) GetPayload ¶
func (o *GetFeedsOK) GetPayload() *models.GetFeedsResponse
func (*GetFeedsOK) IsClientError ¶
func (o *GetFeedsOK) IsClientError() bool
IsClientError returns true when this get feeds o k response has a 4xx status code
func (*GetFeedsOK) IsCode ¶
func (o *GetFeedsOK) IsCode(code int) bool
IsCode returns true when this get feeds o k response a status code equal to that given
func (*GetFeedsOK) IsRedirect ¶
func (o *GetFeedsOK) IsRedirect() bool
IsRedirect returns true when this get feeds o k response has a 3xx status code
func (*GetFeedsOK) IsServerError ¶
func (o *GetFeedsOK) IsServerError() bool
IsServerError returns true when this get feeds o k response has a 5xx status code
func (*GetFeedsOK) IsSuccess ¶
func (o *GetFeedsOK) IsSuccess() bool
IsSuccess returns true when this get feeds o k response has a 2xx status code
func (*GetFeedsOK) String ¶
func (o *GetFeedsOK) String() string
type GetFeedsParams ¶
type GetFeedsParams struct { /* Request. Parameters for filtering feeds */ Request *models.GetFeedsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFeedsParams contains all the parameters to send to the API endpoint
for the get feeds operation. Typically these are written to a http.Request.
func NewGetFeedsParams ¶
func NewGetFeedsParams() *GetFeedsParams
NewGetFeedsParams creates a new GetFeedsParams 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 NewGetFeedsParamsWithContext ¶
func NewGetFeedsParamsWithContext(ctx context.Context) *GetFeedsParams
NewGetFeedsParamsWithContext creates a new GetFeedsParams object with the ability to set a context for a request.
func NewGetFeedsParamsWithHTTPClient ¶
func NewGetFeedsParamsWithHTTPClient(client *http.Client) *GetFeedsParams
NewGetFeedsParamsWithHTTPClient creates a new GetFeedsParams object with the ability to set a custom HTTPClient for a request.
func NewGetFeedsParamsWithTimeout ¶
func NewGetFeedsParamsWithTimeout(timeout time.Duration) *GetFeedsParams
NewGetFeedsParamsWithTimeout creates a new GetFeedsParams object with the ability to set a timeout on a request.
func (*GetFeedsParams) SetContext ¶
func (o *GetFeedsParams) SetContext(ctx context.Context)
SetContext adds the context to the get feeds params
func (*GetFeedsParams) SetDefaults ¶
func (o *GetFeedsParams) SetDefaults()
SetDefaults hydrates default values in the get feeds params (not the query body).
All values with no default are reset to their zero value.
func (*GetFeedsParams) SetHTTPClient ¶
func (o *GetFeedsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get feeds params
func (*GetFeedsParams) SetRequest ¶
func (o *GetFeedsParams) SetRequest(request *models.GetFeedsRequest)
SetRequest adds the request to the get feeds params
func (*GetFeedsParams) SetTimeout ¶
func (o *GetFeedsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get feeds params
func (*GetFeedsParams) WithContext ¶
func (o *GetFeedsParams) WithContext(ctx context.Context) *GetFeedsParams
WithContext adds the context to the get feeds params
func (*GetFeedsParams) WithDefaults ¶
func (o *GetFeedsParams) WithDefaults() *GetFeedsParams
WithDefaults hydrates default values in the get feeds params (not the query body).
All values with no default are reset to their zero value.
func (*GetFeedsParams) WithHTTPClient ¶
func (o *GetFeedsParams) WithHTTPClient(client *http.Client) *GetFeedsParams
WithHTTPClient adds the HTTPClient to the get feeds params
func (*GetFeedsParams) WithRequest ¶
func (o *GetFeedsParams) WithRequest(request *models.GetFeedsRequest) *GetFeedsParams
WithRequest adds the request to the get feeds params
func (*GetFeedsParams) WithTimeout ¶
func (o *GetFeedsParams) WithTimeout(timeout time.Duration) *GetFeedsParams
WithTimeout adds the timeout to the get feeds params
func (*GetFeedsParams) WriteToRequest ¶
func (o *GetFeedsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFeedsReader ¶
type GetFeedsReader struct {
// contains filtered or unexported fields
}
GetFeedsReader is a Reader for the GetFeeds structure.
func (*GetFeedsReader) ReadResponse ¶
func (o *GetFeedsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFeedsUnauthorized ¶
type GetFeedsUnauthorized struct {
}GetFeedsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetFeedsUnauthorized ¶
func NewGetFeedsUnauthorized() *GetFeedsUnauthorized
NewGetFeedsUnauthorized creates a GetFeedsUnauthorized with default headers values
func (*GetFeedsUnauthorized) Error ¶
func (o *GetFeedsUnauthorized) Error() string
func (*GetFeedsUnauthorized) GetPayload ¶
func (o *GetFeedsUnauthorized) GetPayload() *models.ErrorResponse
func (*GetFeedsUnauthorized) IsClientError ¶
func (o *GetFeedsUnauthorized) IsClientError() bool
IsClientError returns true when this get feeds unauthorized response has a 4xx status code
func (*GetFeedsUnauthorized) IsCode ¶
func (o *GetFeedsUnauthorized) IsCode(code int) bool
IsCode returns true when this get feeds unauthorized response a status code equal to that given
func (*GetFeedsUnauthorized) IsRedirect ¶
func (o *GetFeedsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get feeds unauthorized response has a 3xx status code
func (*GetFeedsUnauthorized) IsServerError ¶
func (o *GetFeedsUnauthorized) IsServerError() bool
IsServerError returns true when this get feeds unauthorized response has a 5xx status code
func (*GetFeedsUnauthorized) IsSuccess ¶
func (o *GetFeedsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get feeds unauthorized response has a 2xx status code
func (*GetFeedsUnauthorized) String ¶
func (o *GetFeedsUnauthorized) String() string
type GetRssOK ¶
type GetRssOK struct { }
GetRssOK describes a response with status code 200, with default header values.
XML feed in XML format
func NewGetRssOK ¶
func NewGetRssOK() *GetRssOK
NewGetRssOK creates a GetRssOK with default headers values
func (*GetRssOK) IsClientError ¶
IsClientError returns true when this get rss o k response has a 4xx status code
func (*GetRssOK) IsCode ¶
IsCode returns true when this get rss o k response a status code equal to that given
func (*GetRssOK) IsRedirect ¶
IsRedirect returns true when this get rss o k response has a 3xx status code
func (*GetRssOK) IsServerError ¶
IsServerError returns true when this get rss o k response has a 5xx status code
type GetRssParams ¶
type GetRssParams struct { /* ID. Feed ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRssParams contains all the parameters to send to the API endpoint
for the get rss operation. Typically these are written to a http.Request.
func NewGetRssParams ¶
func NewGetRssParams() *GetRssParams
NewGetRssParams creates a new GetRssParams 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 NewGetRssParamsWithContext ¶
func NewGetRssParamsWithContext(ctx context.Context) *GetRssParams
NewGetRssParamsWithContext creates a new GetRssParams object with the ability to set a context for a request.
func NewGetRssParamsWithHTTPClient ¶
func NewGetRssParamsWithHTTPClient(client *http.Client) *GetRssParams
NewGetRssParamsWithHTTPClient creates a new GetRssParams object with the ability to set a custom HTTPClient for a request.
func NewGetRssParamsWithTimeout ¶
func NewGetRssParamsWithTimeout(timeout time.Duration) *GetRssParams
NewGetRssParamsWithTimeout creates a new GetRssParams object with the ability to set a timeout on a request.
func (*GetRssParams) SetContext ¶
func (o *GetRssParams) SetContext(ctx context.Context)
SetContext adds the context to the get rss params
func (*GetRssParams) SetDefaults ¶
func (o *GetRssParams) SetDefaults()
SetDefaults hydrates default values in the get rss params (not the query body).
All values with no default are reset to their zero value.
func (*GetRssParams) SetHTTPClient ¶
func (o *GetRssParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get rss params
func (*GetRssParams) SetID ¶
func (o *GetRssParams) SetID(id string)
SetID adds the id to the get rss params
func (*GetRssParams) SetTimeout ¶
func (o *GetRssParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get rss params
func (*GetRssParams) WithContext ¶
func (o *GetRssParams) WithContext(ctx context.Context) *GetRssParams
WithContext adds the context to the get rss params
func (*GetRssParams) WithDefaults ¶
func (o *GetRssParams) WithDefaults() *GetRssParams
WithDefaults hydrates default values in the get rss params (not the query body).
All values with no default are reset to their zero value.
func (*GetRssParams) WithHTTPClient ¶
func (o *GetRssParams) WithHTTPClient(client *http.Client) *GetRssParams
WithHTTPClient adds the HTTPClient to the get rss params
func (*GetRssParams) WithID ¶
func (o *GetRssParams) WithID(id string) *GetRssParams
WithID adds the id to the get rss params
func (*GetRssParams) WithTimeout ¶
func (o *GetRssParams) WithTimeout(timeout time.Duration) *GetRssParams
WithTimeout adds the timeout to the get rss params
func (*GetRssParams) WriteToRequest ¶
func (o *GetRssParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRssReader ¶
type GetRssReader struct {
// contains filtered or unexported fields
}
GetRssReader is a Reader for the GetRssRedirect structure.
func (*GetRssReader) ReadResponse ¶
func (o *GetRssReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.