Documentation
¶
Index ¶
- type Client
- func (a *Client) SearchSubscriptions(params *SearchSubscriptionsParams, opts ...ClientOption) (*SearchSubscriptionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) Stream(params *StreamParams, opts ...ClientOption) (*StreamOK, error)
- func (a *Client) Subscribe(params *SubscribeParams, opts ...ClientOption) (*SubscribeOK, error)
- type ClientOption
- type ClientService
- type SearchSubscriptionsForbidden
- func (o *SearchSubscriptionsForbidden) Code() int
- func (o *SearchSubscriptionsForbidden) Error() string
- func (o *SearchSubscriptionsForbidden) GetPayload() *models.RestError
- func (o *SearchSubscriptionsForbidden) IsClientError() bool
- func (o *SearchSubscriptionsForbidden) IsCode(code int) bool
- func (o *SearchSubscriptionsForbidden) IsRedirect() bool
- func (o *SearchSubscriptionsForbidden) IsServerError() bool
- func (o *SearchSubscriptionsForbidden) IsSuccess() bool
- func (o *SearchSubscriptionsForbidden) String() string
- type SearchSubscriptionsInternalServerError
- func (o *SearchSubscriptionsInternalServerError) Code() int
- func (o *SearchSubscriptionsInternalServerError) Error() string
- func (o *SearchSubscriptionsInternalServerError) GetPayload() *models.RestError
- func (o *SearchSubscriptionsInternalServerError) IsClientError() bool
- func (o *SearchSubscriptionsInternalServerError) IsCode(code int) bool
- func (o *SearchSubscriptionsInternalServerError) IsRedirect() bool
- func (o *SearchSubscriptionsInternalServerError) IsServerError() bool
- func (o *SearchSubscriptionsInternalServerError) IsSuccess() bool
- func (o *SearchSubscriptionsInternalServerError) String() string
- type SearchSubscriptionsNotFound
- func (o *SearchSubscriptionsNotFound) Code() int
- func (o *SearchSubscriptionsNotFound) Error() string
- func (o *SearchSubscriptionsNotFound) GetPayload() *models.RestError
- func (o *SearchSubscriptionsNotFound) IsClientError() bool
- func (o *SearchSubscriptionsNotFound) IsCode(code int) bool
- func (o *SearchSubscriptionsNotFound) IsRedirect() bool
- func (o *SearchSubscriptionsNotFound) IsServerError() bool
- func (o *SearchSubscriptionsNotFound) IsSuccess() bool
- func (o *SearchSubscriptionsNotFound) String() string
- type SearchSubscriptionsOK
- func (o *SearchSubscriptionsOK) Code() int
- func (o *SearchSubscriptionsOK) Error() string
- func (o *SearchSubscriptionsOK) GetPayload() *models.RestSubscriptionsCollection
- func (o *SearchSubscriptionsOK) IsClientError() bool
- func (o *SearchSubscriptionsOK) IsCode(code int) bool
- func (o *SearchSubscriptionsOK) IsRedirect() bool
- func (o *SearchSubscriptionsOK) IsServerError() bool
- func (o *SearchSubscriptionsOK) IsSuccess() bool
- func (o *SearchSubscriptionsOK) String() string
- type SearchSubscriptionsParams
- func NewSearchSubscriptionsParams() *SearchSubscriptionsParams
- func NewSearchSubscriptionsParamsWithContext(ctx context.Context) *SearchSubscriptionsParams
- func NewSearchSubscriptionsParamsWithHTTPClient(client *http.Client) *SearchSubscriptionsParams
- func NewSearchSubscriptionsParamsWithTimeout(timeout time.Duration) *SearchSubscriptionsParams
- func (o *SearchSubscriptionsParams) SetBody(body *models.ActivitySearchSubscriptionsRequest)
- func (o *SearchSubscriptionsParams) SetContext(ctx context.Context)
- func (o *SearchSubscriptionsParams) SetDefaults()
- func (o *SearchSubscriptionsParams) SetHTTPClient(client *http.Client)
- func (o *SearchSubscriptionsParams) SetTimeout(timeout time.Duration)
- func (o *SearchSubscriptionsParams) WithBody(body *models.ActivitySearchSubscriptionsRequest) *SearchSubscriptionsParams
- func (o *SearchSubscriptionsParams) WithContext(ctx context.Context) *SearchSubscriptionsParams
- func (o *SearchSubscriptionsParams) WithDefaults() *SearchSubscriptionsParams
- func (o *SearchSubscriptionsParams) WithHTTPClient(client *http.Client) *SearchSubscriptionsParams
- func (o *SearchSubscriptionsParams) WithTimeout(timeout time.Duration) *SearchSubscriptionsParams
- func (o *SearchSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchSubscriptionsReader
- type SearchSubscriptionsUnauthorized
- func (o *SearchSubscriptionsUnauthorized) Code() int
- func (o *SearchSubscriptionsUnauthorized) Error() string
- func (o *SearchSubscriptionsUnauthorized) IsClientError() bool
- func (o *SearchSubscriptionsUnauthorized) IsCode(code int) bool
- func (o *SearchSubscriptionsUnauthorized) IsRedirect() bool
- func (o *SearchSubscriptionsUnauthorized) IsServerError() bool
- func (o *SearchSubscriptionsUnauthorized) IsSuccess() bool
- func (o *SearchSubscriptionsUnauthorized) String() string
- type StreamForbidden
- func (o *StreamForbidden) Code() int
- func (o *StreamForbidden) Error() string
- func (o *StreamForbidden) GetPayload() *models.RestError
- func (o *StreamForbidden) IsClientError() bool
- func (o *StreamForbidden) IsCode(code int) bool
- func (o *StreamForbidden) IsRedirect() bool
- func (o *StreamForbidden) IsServerError() bool
- func (o *StreamForbidden) IsSuccess() bool
- func (o *StreamForbidden) String() string
- type StreamInternalServerError
- func (o *StreamInternalServerError) Code() int
- func (o *StreamInternalServerError) Error() string
- func (o *StreamInternalServerError) GetPayload() *models.RestError
- func (o *StreamInternalServerError) IsClientError() bool
- func (o *StreamInternalServerError) IsCode(code int) bool
- func (o *StreamInternalServerError) IsRedirect() bool
- func (o *StreamInternalServerError) IsServerError() bool
- func (o *StreamInternalServerError) IsSuccess() bool
- func (o *StreamInternalServerError) String() string
- type StreamNotFound
- func (o *StreamNotFound) Code() int
- func (o *StreamNotFound) Error() string
- func (o *StreamNotFound) GetPayload() *models.RestError
- func (o *StreamNotFound) IsClientError() bool
- func (o *StreamNotFound) IsCode(code int) bool
- func (o *StreamNotFound) IsRedirect() bool
- func (o *StreamNotFound) IsServerError() bool
- func (o *StreamNotFound) IsSuccess() bool
- func (o *StreamNotFound) String() string
- type StreamOK
- func (o *StreamOK) Code() int
- func (o *StreamOK) Error() string
- func (o *StreamOK) GetPayload() *models.ActivityObject
- func (o *StreamOK) IsClientError() bool
- func (o *StreamOK) IsCode(code int) bool
- func (o *StreamOK) IsRedirect() bool
- func (o *StreamOK) IsServerError() bool
- func (o *StreamOK) IsSuccess() bool
- func (o *StreamOK) String() string
- type StreamParams
- func (o *StreamParams) SetBody(body *models.ActivityStreamActivitiesRequest)
- func (o *StreamParams) SetContext(ctx context.Context)
- func (o *StreamParams) SetDefaults()
- func (o *StreamParams) SetHTTPClient(client *http.Client)
- func (o *StreamParams) SetTimeout(timeout time.Duration)
- func (o *StreamParams) WithBody(body *models.ActivityStreamActivitiesRequest) *StreamParams
- func (o *StreamParams) WithContext(ctx context.Context) *StreamParams
- func (o *StreamParams) WithDefaults() *StreamParams
- func (o *StreamParams) WithHTTPClient(client *http.Client) *StreamParams
- func (o *StreamParams) WithTimeout(timeout time.Duration) *StreamParams
- func (o *StreamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StreamReader
- type StreamUnauthorized
- func (o *StreamUnauthorized) Code() int
- func (o *StreamUnauthorized) Error() string
- func (o *StreamUnauthorized) IsClientError() bool
- func (o *StreamUnauthorized) IsCode(code int) bool
- func (o *StreamUnauthorized) IsRedirect() bool
- func (o *StreamUnauthorized) IsServerError() bool
- func (o *StreamUnauthorized) IsSuccess() bool
- func (o *StreamUnauthorized) String() string
- type SubscribeForbidden
- func (o *SubscribeForbidden) Code() int
- func (o *SubscribeForbidden) Error() string
- func (o *SubscribeForbidden) GetPayload() *models.RestError
- func (o *SubscribeForbidden) IsClientError() bool
- func (o *SubscribeForbidden) IsCode(code int) bool
- func (o *SubscribeForbidden) IsRedirect() bool
- func (o *SubscribeForbidden) IsServerError() bool
- func (o *SubscribeForbidden) IsSuccess() bool
- func (o *SubscribeForbidden) String() string
- type SubscribeInternalServerError
- func (o *SubscribeInternalServerError) Code() int
- func (o *SubscribeInternalServerError) Error() string
- func (o *SubscribeInternalServerError) GetPayload() *models.RestError
- func (o *SubscribeInternalServerError) IsClientError() bool
- func (o *SubscribeInternalServerError) IsCode(code int) bool
- func (o *SubscribeInternalServerError) IsRedirect() bool
- func (o *SubscribeInternalServerError) IsServerError() bool
- func (o *SubscribeInternalServerError) IsSuccess() bool
- func (o *SubscribeInternalServerError) String() string
- type SubscribeNotFound
- func (o *SubscribeNotFound) Code() int
- func (o *SubscribeNotFound) Error() string
- func (o *SubscribeNotFound) GetPayload() *models.RestError
- func (o *SubscribeNotFound) IsClientError() bool
- func (o *SubscribeNotFound) IsCode(code int) bool
- func (o *SubscribeNotFound) IsRedirect() bool
- func (o *SubscribeNotFound) IsServerError() bool
- func (o *SubscribeNotFound) IsSuccess() bool
- func (o *SubscribeNotFound) String() string
- type SubscribeOK
- func (o *SubscribeOK) Code() int
- func (o *SubscribeOK) Error() string
- func (o *SubscribeOK) GetPayload() *models.ActivitySubscription
- func (o *SubscribeOK) IsClientError() bool
- func (o *SubscribeOK) IsCode(code int) bool
- func (o *SubscribeOK) IsRedirect() bool
- func (o *SubscribeOK) IsServerError() bool
- func (o *SubscribeOK) IsSuccess() bool
- func (o *SubscribeOK) String() string
- type SubscribeParams
- func (o *SubscribeParams) SetBody(body *models.ActivitySubscription)
- func (o *SubscribeParams) SetContext(ctx context.Context)
- func (o *SubscribeParams) SetDefaults()
- func (o *SubscribeParams) SetHTTPClient(client *http.Client)
- func (o *SubscribeParams) SetTimeout(timeout time.Duration)
- func (o *SubscribeParams) WithBody(body *models.ActivitySubscription) *SubscribeParams
- func (o *SubscribeParams) WithContext(ctx context.Context) *SubscribeParams
- func (o *SubscribeParams) WithDefaults() *SubscribeParams
- func (o *SubscribeParams) WithHTTPClient(client *http.Client) *SubscribeParams
- func (o *SubscribeParams) WithTimeout(timeout time.Duration) *SubscribeParams
- func (o *SubscribeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SubscribeReader
- type SubscribeUnauthorized
- func (o *SubscribeUnauthorized) Code() int
- func (o *SubscribeUnauthorized) Error() string
- func (o *SubscribeUnauthorized) IsClientError() bool
- func (o *SubscribeUnauthorized) IsCode(code int) bool
- func (o *SubscribeUnauthorized) IsRedirect() bool
- func (o *SubscribeUnauthorized) IsServerError() bool
- func (o *SubscribeUnauthorized) IsSuccess() bool
- func (o *SubscribeUnauthorized) 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 activity service API
func (*Client) SearchSubscriptions ¶
func (a *Client) SearchSubscriptions(params *SearchSubscriptionsParams, opts ...ClientOption) (*SearchSubscriptionsOK, error)
SearchSubscriptions loads subscriptions to other users nodes feeds
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) Stream ¶
func (a *Client) Stream(params *StreamParams, opts ...ClientOption) (*StreamOK, error)
Stream loads the the feeds of the currently logged user
func (*Client) Subscribe ¶
func (a *Client) Subscribe(params *SubscribeParams, opts ...ClientOption) (*SubscribeOK, error)
Subscribe manages subscriptions to other users nodes feeds
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { SearchSubscriptions(params *SearchSubscriptionsParams, opts ...ClientOption) (*SearchSubscriptionsOK, error) Stream(params *StreamParams, opts ...ClientOption) (*StreamOK, error) Subscribe(params *SubscribeParams, opts ...ClientOption) (*SubscribeOK, 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 activity service API client.
type SearchSubscriptionsForbidden ¶
SearchSubscriptionsForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewSearchSubscriptionsForbidden ¶
func NewSearchSubscriptionsForbidden() *SearchSubscriptionsForbidden
NewSearchSubscriptionsForbidden creates a SearchSubscriptionsForbidden with default headers values
func (*SearchSubscriptionsForbidden) Code ¶
func (o *SearchSubscriptionsForbidden) Code() int
Code gets the status code for the search subscriptions forbidden response
func (*SearchSubscriptionsForbidden) Error ¶
func (o *SearchSubscriptionsForbidden) Error() string
func (*SearchSubscriptionsForbidden) GetPayload ¶
func (o *SearchSubscriptionsForbidden) GetPayload() *models.RestError
func (*SearchSubscriptionsForbidden) IsClientError ¶
func (o *SearchSubscriptionsForbidden) IsClientError() bool
IsClientError returns true when this search subscriptions forbidden response has a 4xx status code
func (*SearchSubscriptionsForbidden) IsCode ¶
func (o *SearchSubscriptionsForbidden) IsCode(code int) bool
IsCode returns true when this search subscriptions forbidden response a status code equal to that given
func (*SearchSubscriptionsForbidden) IsRedirect ¶
func (o *SearchSubscriptionsForbidden) IsRedirect() bool
IsRedirect returns true when this search subscriptions forbidden response has a 3xx status code
func (*SearchSubscriptionsForbidden) IsServerError ¶
func (o *SearchSubscriptionsForbidden) IsServerError() bool
IsServerError returns true when this search subscriptions forbidden response has a 5xx status code
func (*SearchSubscriptionsForbidden) IsSuccess ¶
func (o *SearchSubscriptionsForbidden) IsSuccess() bool
IsSuccess returns true when this search subscriptions forbidden response has a 2xx status code
func (*SearchSubscriptionsForbidden) String ¶
func (o *SearchSubscriptionsForbidden) String() string
type SearchSubscriptionsInternalServerError ¶
SearchSubscriptionsInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewSearchSubscriptionsInternalServerError ¶
func NewSearchSubscriptionsInternalServerError() *SearchSubscriptionsInternalServerError
NewSearchSubscriptionsInternalServerError creates a SearchSubscriptionsInternalServerError with default headers values
func (*SearchSubscriptionsInternalServerError) Code ¶
func (o *SearchSubscriptionsInternalServerError) Code() int
Code gets the status code for the search subscriptions internal server error response
func (*SearchSubscriptionsInternalServerError) Error ¶
func (o *SearchSubscriptionsInternalServerError) Error() string
func (*SearchSubscriptionsInternalServerError) GetPayload ¶
func (o *SearchSubscriptionsInternalServerError) GetPayload() *models.RestError
func (*SearchSubscriptionsInternalServerError) IsClientError ¶
func (o *SearchSubscriptionsInternalServerError) IsClientError() bool
IsClientError returns true when this search subscriptions internal server error response has a 4xx status code
func (*SearchSubscriptionsInternalServerError) IsCode ¶
func (o *SearchSubscriptionsInternalServerError) IsCode(code int) bool
IsCode returns true when this search subscriptions internal server error response a status code equal to that given
func (*SearchSubscriptionsInternalServerError) IsRedirect ¶
func (o *SearchSubscriptionsInternalServerError) IsRedirect() bool
IsRedirect returns true when this search subscriptions internal server error response has a 3xx status code
func (*SearchSubscriptionsInternalServerError) IsServerError ¶
func (o *SearchSubscriptionsInternalServerError) IsServerError() bool
IsServerError returns true when this search subscriptions internal server error response has a 5xx status code
func (*SearchSubscriptionsInternalServerError) IsSuccess ¶
func (o *SearchSubscriptionsInternalServerError) IsSuccess() bool
IsSuccess returns true when this search subscriptions internal server error response has a 2xx status code
func (*SearchSubscriptionsInternalServerError) String ¶
func (o *SearchSubscriptionsInternalServerError) String() string
type SearchSubscriptionsNotFound ¶
SearchSubscriptionsNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewSearchSubscriptionsNotFound ¶
func NewSearchSubscriptionsNotFound() *SearchSubscriptionsNotFound
NewSearchSubscriptionsNotFound creates a SearchSubscriptionsNotFound with default headers values
func (*SearchSubscriptionsNotFound) Code ¶
func (o *SearchSubscriptionsNotFound) Code() int
Code gets the status code for the search subscriptions not found response
func (*SearchSubscriptionsNotFound) Error ¶
func (o *SearchSubscriptionsNotFound) Error() string
func (*SearchSubscriptionsNotFound) GetPayload ¶
func (o *SearchSubscriptionsNotFound) GetPayload() *models.RestError
func (*SearchSubscriptionsNotFound) IsClientError ¶
func (o *SearchSubscriptionsNotFound) IsClientError() bool
IsClientError returns true when this search subscriptions not found response has a 4xx status code
func (*SearchSubscriptionsNotFound) IsCode ¶
func (o *SearchSubscriptionsNotFound) IsCode(code int) bool
IsCode returns true when this search subscriptions not found response a status code equal to that given
func (*SearchSubscriptionsNotFound) IsRedirect ¶
func (o *SearchSubscriptionsNotFound) IsRedirect() bool
IsRedirect returns true when this search subscriptions not found response has a 3xx status code
func (*SearchSubscriptionsNotFound) IsServerError ¶
func (o *SearchSubscriptionsNotFound) IsServerError() bool
IsServerError returns true when this search subscriptions not found response has a 5xx status code
func (*SearchSubscriptionsNotFound) IsSuccess ¶
func (o *SearchSubscriptionsNotFound) IsSuccess() bool
IsSuccess returns true when this search subscriptions not found response has a 2xx status code
func (*SearchSubscriptionsNotFound) String ¶
func (o *SearchSubscriptionsNotFound) String() string
type SearchSubscriptionsOK ¶
type SearchSubscriptionsOK struct {
Payload *models.RestSubscriptionsCollection
}
SearchSubscriptionsOK describes a response with status code 200, with default header values.
A successful response.
func NewSearchSubscriptionsOK ¶
func NewSearchSubscriptionsOK() *SearchSubscriptionsOK
NewSearchSubscriptionsOK creates a SearchSubscriptionsOK with default headers values
func (*SearchSubscriptionsOK) Code ¶
func (o *SearchSubscriptionsOK) Code() int
Code gets the status code for the search subscriptions o k response
func (*SearchSubscriptionsOK) Error ¶
func (o *SearchSubscriptionsOK) Error() string
func (*SearchSubscriptionsOK) GetPayload ¶
func (o *SearchSubscriptionsOK) GetPayload() *models.RestSubscriptionsCollection
func (*SearchSubscriptionsOK) IsClientError ¶
func (o *SearchSubscriptionsOK) IsClientError() bool
IsClientError returns true when this search subscriptions o k response has a 4xx status code
func (*SearchSubscriptionsOK) IsCode ¶
func (o *SearchSubscriptionsOK) IsCode(code int) bool
IsCode returns true when this search subscriptions o k response a status code equal to that given
func (*SearchSubscriptionsOK) IsRedirect ¶
func (o *SearchSubscriptionsOK) IsRedirect() bool
IsRedirect returns true when this search subscriptions o k response has a 3xx status code
func (*SearchSubscriptionsOK) IsServerError ¶
func (o *SearchSubscriptionsOK) IsServerError() bool
IsServerError returns true when this search subscriptions o k response has a 5xx status code
func (*SearchSubscriptionsOK) IsSuccess ¶
func (o *SearchSubscriptionsOK) IsSuccess() bool
IsSuccess returns true when this search subscriptions o k response has a 2xx status code
func (*SearchSubscriptionsOK) String ¶
func (o *SearchSubscriptionsOK) String() string
type SearchSubscriptionsParams ¶
type SearchSubscriptionsParams struct { // Body. Body *models.ActivitySearchSubscriptionsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchSubscriptionsParams contains all the parameters to send to the API endpoint
for the search subscriptions operation. Typically these are written to a http.Request.
func NewSearchSubscriptionsParams ¶
func NewSearchSubscriptionsParams() *SearchSubscriptionsParams
NewSearchSubscriptionsParams creates a new SearchSubscriptionsParams 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 NewSearchSubscriptionsParamsWithContext ¶
func NewSearchSubscriptionsParamsWithContext(ctx context.Context) *SearchSubscriptionsParams
NewSearchSubscriptionsParamsWithContext creates a new SearchSubscriptionsParams object with the ability to set a context for a request.
func NewSearchSubscriptionsParamsWithHTTPClient ¶
func NewSearchSubscriptionsParamsWithHTTPClient(client *http.Client) *SearchSubscriptionsParams
NewSearchSubscriptionsParamsWithHTTPClient creates a new SearchSubscriptionsParams object with the ability to set a custom HTTPClient for a request.
func NewSearchSubscriptionsParamsWithTimeout ¶
func NewSearchSubscriptionsParamsWithTimeout(timeout time.Duration) *SearchSubscriptionsParams
NewSearchSubscriptionsParamsWithTimeout creates a new SearchSubscriptionsParams object with the ability to set a timeout on a request.
func (*SearchSubscriptionsParams) SetBody ¶
func (o *SearchSubscriptionsParams) SetBody(body *models.ActivitySearchSubscriptionsRequest)
SetBody adds the body to the search subscriptions params
func (*SearchSubscriptionsParams) SetContext ¶
func (o *SearchSubscriptionsParams) SetContext(ctx context.Context)
SetContext adds the context to the search subscriptions params
func (*SearchSubscriptionsParams) SetDefaults ¶
func (o *SearchSubscriptionsParams) SetDefaults()
SetDefaults hydrates default values in the search subscriptions params (not the query body).
All values with no default are reset to their zero value.
func (*SearchSubscriptionsParams) SetHTTPClient ¶
func (o *SearchSubscriptionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search subscriptions params
func (*SearchSubscriptionsParams) SetTimeout ¶
func (o *SearchSubscriptionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search subscriptions params
func (*SearchSubscriptionsParams) WithBody ¶
func (o *SearchSubscriptionsParams) WithBody(body *models.ActivitySearchSubscriptionsRequest) *SearchSubscriptionsParams
WithBody adds the body to the search subscriptions params
func (*SearchSubscriptionsParams) WithContext ¶
func (o *SearchSubscriptionsParams) WithContext(ctx context.Context) *SearchSubscriptionsParams
WithContext adds the context to the search subscriptions params
func (*SearchSubscriptionsParams) WithDefaults ¶
func (o *SearchSubscriptionsParams) WithDefaults() *SearchSubscriptionsParams
WithDefaults hydrates default values in the search subscriptions params (not the query body).
All values with no default are reset to their zero value.
func (*SearchSubscriptionsParams) WithHTTPClient ¶
func (o *SearchSubscriptionsParams) WithHTTPClient(client *http.Client) *SearchSubscriptionsParams
WithHTTPClient adds the HTTPClient to the search subscriptions params
func (*SearchSubscriptionsParams) WithTimeout ¶
func (o *SearchSubscriptionsParams) WithTimeout(timeout time.Duration) *SearchSubscriptionsParams
WithTimeout adds the timeout to the search subscriptions params
func (*SearchSubscriptionsParams) WriteToRequest ¶
func (o *SearchSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchSubscriptionsReader ¶
type SearchSubscriptionsReader struct {
// contains filtered or unexported fields
}
SearchSubscriptionsReader is a Reader for the SearchSubscriptions structure.
func (*SearchSubscriptionsReader) ReadResponse ¶
func (o *SearchSubscriptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchSubscriptionsUnauthorized ¶
type SearchSubscriptionsUnauthorized struct { }
SearchSubscriptionsUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewSearchSubscriptionsUnauthorized ¶
func NewSearchSubscriptionsUnauthorized() *SearchSubscriptionsUnauthorized
NewSearchSubscriptionsUnauthorized creates a SearchSubscriptionsUnauthorized with default headers values
func (*SearchSubscriptionsUnauthorized) Code ¶
func (o *SearchSubscriptionsUnauthorized) Code() int
Code gets the status code for the search subscriptions unauthorized response
func (*SearchSubscriptionsUnauthorized) Error ¶
func (o *SearchSubscriptionsUnauthorized) Error() string
func (*SearchSubscriptionsUnauthorized) IsClientError ¶
func (o *SearchSubscriptionsUnauthorized) IsClientError() bool
IsClientError returns true when this search subscriptions unauthorized response has a 4xx status code
func (*SearchSubscriptionsUnauthorized) IsCode ¶
func (o *SearchSubscriptionsUnauthorized) IsCode(code int) bool
IsCode returns true when this search subscriptions unauthorized response a status code equal to that given
func (*SearchSubscriptionsUnauthorized) IsRedirect ¶
func (o *SearchSubscriptionsUnauthorized) IsRedirect() bool
IsRedirect returns true when this search subscriptions unauthorized response has a 3xx status code
func (*SearchSubscriptionsUnauthorized) IsServerError ¶
func (o *SearchSubscriptionsUnauthorized) IsServerError() bool
IsServerError returns true when this search subscriptions unauthorized response has a 5xx status code
func (*SearchSubscriptionsUnauthorized) IsSuccess ¶
func (o *SearchSubscriptionsUnauthorized) IsSuccess() bool
IsSuccess returns true when this search subscriptions unauthorized response has a 2xx status code
func (*SearchSubscriptionsUnauthorized) String ¶
func (o *SearchSubscriptionsUnauthorized) String() string
type StreamForbidden ¶
StreamForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewStreamForbidden ¶
func NewStreamForbidden() *StreamForbidden
NewStreamForbidden creates a StreamForbidden with default headers values
func (*StreamForbidden) Code ¶
func (o *StreamForbidden) Code() int
Code gets the status code for the stream forbidden response
func (*StreamForbidden) Error ¶
func (o *StreamForbidden) Error() string
func (*StreamForbidden) GetPayload ¶
func (o *StreamForbidden) GetPayload() *models.RestError
func (*StreamForbidden) IsClientError ¶
func (o *StreamForbidden) IsClientError() bool
IsClientError returns true when this stream forbidden response has a 4xx status code
func (*StreamForbidden) IsCode ¶
func (o *StreamForbidden) IsCode(code int) bool
IsCode returns true when this stream forbidden response a status code equal to that given
func (*StreamForbidden) IsRedirect ¶
func (o *StreamForbidden) IsRedirect() bool
IsRedirect returns true when this stream forbidden response has a 3xx status code
func (*StreamForbidden) IsServerError ¶
func (o *StreamForbidden) IsServerError() bool
IsServerError returns true when this stream forbidden response has a 5xx status code
func (*StreamForbidden) IsSuccess ¶
func (o *StreamForbidden) IsSuccess() bool
IsSuccess returns true when this stream forbidden response has a 2xx status code
func (*StreamForbidden) String ¶
func (o *StreamForbidden) String() string
type StreamInternalServerError ¶
StreamInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewStreamInternalServerError ¶
func NewStreamInternalServerError() *StreamInternalServerError
NewStreamInternalServerError creates a StreamInternalServerError with default headers values
func (*StreamInternalServerError) Code ¶
func (o *StreamInternalServerError) Code() int
Code gets the status code for the stream internal server error response
func (*StreamInternalServerError) Error ¶
func (o *StreamInternalServerError) Error() string
func (*StreamInternalServerError) GetPayload ¶
func (o *StreamInternalServerError) GetPayload() *models.RestError
func (*StreamInternalServerError) IsClientError ¶
func (o *StreamInternalServerError) IsClientError() bool
IsClientError returns true when this stream internal server error response has a 4xx status code
func (*StreamInternalServerError) IsCode ¶
func (o *StreamInternalServerError) IsCode(code int) bool
IsCode returns true when this stream internal server error response a status code equal to that given
func (*StreamInternalServerError) IsRedirect ¶
func (o *StreamInternalServerError) IsRedirect() bool
IsRedirect returns true when this stream internal server error response has a 3xx status code
func (*StreamInternalServerError) IsServerError ¶
func (o *StreamInternalServerError) IsServerError() bool
IsServerError returns true when this stream internal server error response has a 5xx status code
func (*StreamInternalServerError) IsSuccess ¶
func (o *StreamInternalServerError) IsSuccess() bool
IsSuccess returns true when this stream internal server error response has a 2xx status code
func (*StreamInternalServerError) String ¶
func (o *StreamInternalServerError) String() string
type StreamNotFound ¶
StreamNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewStreamNotFound ¶
func NewStreamNotFound() *StreamNotFound
NewStreamNotFound creates a StreamNotFound with default headers values
func (*StreamNotFound) Code ¶
func (o *StreamNotFound) Code() int
Code gets the status code for the stream not found response
func (*StreamNotFound) Error ¶
func (o *StreamNotFound) Error() string
func (*StreamNotFound) GetPayload ¶
func (o *StreamNotFound) GetPayload() *models.RestError
func (*StreamNotFound) IsClientError ¶
func (o *StreamNotFound) IsClientError() bool
IsClientError returns true when this stream not found response has a 4xx status code
func (*StreamNotFound) IsCode ¶
func (o *StreamNotFound) IsCode(code int) bool
IsCode returns true when this stream not found response a status code equal to that given
func (*StreamNotFound) IsRedirect ¶
func (o *StreamNotFound) IsRedirect() bool
IsRedirect returns true when this stream not found response has a 3xx status code
func (*StreamNotFound) IsServerError ¶
func (o *StreamNotFound) IsServerError() bool
IsServerError returns true when this stream not found response has a 5xx status code
func (*StreamNotFound) IsSuccess ¶
func (o *StreamNotFound) IsSuccess() bool
IsSuccess returns true when this stream not found response has a 2xx status code
func (*StreamNotFound) String ¶
func (o *StreamNotFound) String() string
type StreamOK ¶
type StreamOK struct {
Payload *models.ActivityObject
}
StreamOK describes a response with status code 200, with default header values.
A successful response.
func NewStreamOK ¶
func NewStreamOK() *StreamOK
NewStreamOK creates a StreamOK with default headers values
func (*StreamOK) GetPayload ¶
func (o *StreamOK) GetPayload() *models.ActivityObject
func (*StreamOK) IsClientError ¶
IsClientError returns true when this stream o k response has a 4xx status code
func (*StreamOK) IsCode ¶
IsCode returns true when this stream o k response a status code equal to that given
func (*StreamOK) IsRedirect ¶
IsRedirect returns true when this stream o k response has a 3xx status code
func (*StreamOK) IsServerError ¶
IsServerError returns true when this stream o k response has a 5xx status code
type StreamParams ¶
type StreamParams struct { // Body. Body *models.ActivityStreamActivitiesRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StreamParams contains all the parameters to send to the API endpoint
for the stream operation. Typically these are written to a http.Request.
func NewStreamParams ¶
func NewStreamParams() *StreamParams
NewStreamParams creates a new StreamParams 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 NewStreamParamsWithContext ¶
func NewStreamParamsWithContext(ctx context.Context) *StreamParams
NewStreamParamsWithContext creates a new StreamParams object with the ability to set a context for a request.
func NewStreamParamsWithHTTPClient ¶
func NewStreamParamsWithHTTPClient(client *http.Client) *StreamParams
NewStreamParamsWithHTTPClient creates a new StreamParams object with the ability to set a custom HTTPClient for a request.
func NewStreamParamsWithTimeout ¶
func NewStreamParamsWithTimeout(timeout time.Duration) *StreamParams
NewStreamParamsWithTimeout creates a new StreamParams object with the ability to set a timeout on a request.
func (*StreamParams) SetBody ¶
func (o *StreamParams) SetBody(body *models.ActivityStreamActivitiesRequest)
SetBody adds the body to the stream params
func (*StreamParams) SetContext ¶
func (o *StreamParams) SetContext(ctx context.Context)
SetContext adds the context to the stream params
func (*StreamParams) SetDefaults ¶
func (o *StreamParams) SetDefaults()
SetDefaults hydrates default values in the stream params (not the query body).
All values with no default are reset to their zero value.
func (*StreamParams) SetHTTPClient ¶
func (o *StreamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stream params
func (*StreamParams) SetTimeout ¶
func (o *StreamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stream params
func (*StreamParams) WithBody ¶
func (o *StreamParams) WithBody(body *models.ActivityStreamActivitiesRequest) *StreamParams
WithBody adds the body to the stream params
func (*StreamParams) WithContext ¶
func (o *StreamParams) WithContext(ctx context.Context) *StreamParams
WithContext adds the context to the stream params
func (*StreamParams) WithDefaults ¶
func (o *StreamParams) WithDefaults() *StreamParams
WithDefaults hydrates default values in the stream params (not the query body).
All values with no default are reset to their zero value.
func (*StreamParams) WithHTTPClient ¶
func (o *StreamParams) WithHTTPClient(client *http.Client) *StreamParams
WithHTTPClient adds the HTTPClient to the stream params
func (*StreamParams) WithTimeout ¶
func (o *StreamParams) WithTimeout(timeout time.Duration) *StreamParams
WithTimeout adds the timeout to the stream params
func (*StreamParams) WriteToRequest ¶
func (o *StreamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StreamReader ¶
type StreamReader struct {
// contains filtered or unexported fields
}
StreamReader is a Reader for the Stream structure.
func (*StreamReader) ReadResponse ¶
func (o *StreamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StreamUnauthorized ¶
type StreamUnauthorized struct { }
StreamUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewStreamUnauthorized ¶
func NewStreamUnauthorized() *StreamUnauthorized
NewStreamUnauthorized creates a StreamUnauthorized with default headers values
func (*StreamUnauthorized) Code ¶
func (o *StreamUnauthorized) Code() int
Code gets the status code for the stream unauthorized response
func (*StreamUnauthorized) Error ¶
func (o *StreamUnauthorized) Error() string
func (*StreamUnauthorized) IsClientError ¶
func (o *StreamUnauthorized) IsClientError() bool
IsClientError returns true when this stream unauthorized response has a 4xx status code
func (*StreamUnauthorized) IsCode ¶
func (o *StreamUnauthorized) IsCode(code int) bool
IsCode returns true when this stream unauthorized response a status code equal to that given
func (*StreamUnauthorized) IsRedirect ¶
func (o *StreamUnauthorized) IsRedirect() bool
IsRedirect returns true when this stream unauthorized response has a 3xx status code
func (*StreamUnauthorized) IsServerError ¶
func (o *StreamUnauthorized) IsServerError() bool
IsServerError returns true when this stream unauthorized response has a 5xx status code
func (*StreamUnauthorized) IsSuccess ¶
func (o *StreamUnauthorized) IsSuccess() bool
IsSuccess returns true when this stream unauthorized response has a 2xx status code
func (*StreamUnauthorized) String ¶
func (o *StreamUnauthorized) String() string
type SubscribeForbidden ¶
SubscribeForbidden describes a response with status code 403, with default header values.
User has no permission to access this resource
func NewSubscribeForbidden ¶
func NewSubscribeForbidden() *SubscribeForbidden
NewSubscribeForbidden creates a SubscribeForbidden with default headers values
func (*SubscribeForbidden) Code ¶
func (o *SubscribeForbidden) Code() int
Code gets the status code for the subscribe forbidden response
func (*SubscribeForbidden) Error ¶
func (o *SubscribeForbidden) Error() string
func (*SubscribeForbidden) GetPayload ¶
func (o *SubscribeForbidden) GetPayload() *models.RestError
func (*SubscribeForbidden) IsClientError ¶
func (o *SubscribeForbidden) IsClientError() bool
IsClientError returns true when this subscribe forbidden response has a 4xx status code
func (*SubscribeForbidden) IsCode ¶
func (o *SubscribeForbidden) IsCode(code int) bool
IsCode returns true when this subscribe forbidden response a status code equal to that given
func (*SubscribeForbidden) IsRedirect ¶
func (o *SubscribeForbidden) IsRedirect() bool
IsRedirect returns true when this subscribe forbidden response has a 3xx status code
func (*SubscribeForbidden) IsServerError ¶
func (o *SubscribeForbidden) IsServerError() bool
IsServerError returns true when this subscribe forbidden response has a 5xx status code
func (*SubscribeForbidden) IsSuccess ¶
func (o *SubscribeForbidden) IsSuccess() bool
IsSuccess returns true when this subscribe forbidden response has a 2xx status code
func (*SubscribeForbidden) String ¶
func (o *SubscribeForbidden) String() string
type SubscribeInternalServerError ¶
SubscribeInternalServerError describes a response with status code 500, with default header values.
An internal error occurred in the backend
func NewSubscribeInternalServerError ¶
func NewSubscribeInternalServerError() *SubscribeInternalServerError
NewSubscribeInternalServerError creates a SubscribeInternalServerError with default headers values
func (*SubscribeInternalServerError) Code ¶
func (o *SubscribeInternalServerError) Code() int
Code gets the status code for the subscribe internal server error response
func (*SubscribeInternalServerError) Error ¶
func (o *SubscribeInternalServerError) Error() string
func (*SubscribeInternalServerError) GetPayload ¶
func (o *SubscribeInternalServerError) GetPayload() *models.RestError
func (*SubscribeInternalServerError) IsClientError ¶
func (o *SubscribeInternalServerError) IsClientError() bool
IsClientError returns true when this subscribe internal server error response has a 4xx status code
func (*SubscribeInternalServerError) IsCode ¶
func (o *SubscribeInternalServerError) IsCode(code int) bool
IsCode returns true when this subscribe internal server error response a status code equal to that given
func (*SubscribeInternalServerError) IsRedirect ¶
func (o *SubscribeInternalServerError) IsRedirect() bool
IsRedirect returns true when this subscribe internal server error response has a 3xx status code
func (*SubscribeInternalServerError) IsServerError ¶
func (o *SubscribeInternalServerError) IsServerError() bool
IsServerError returns true when this subscribe internal server error response has a 5xx status code
func (*SubscribeInternalServerError) IsSuccess ¶
func (o *SubscribeInternalServerError) IsSuccess() bool
IsSuccess returns true when this subscribe internal server error response has a 2xx status code
func (*SubscribeInternalServerError) String ¶
func (o *SubscribeInternalServerError) String() string
type SubscribeNotFound ¶
SubscribeNotFound describes a response with status code 404, with default header values.
Resource does not exist in the system
func NewSubscribeNotFound ¶
func NewSubscribeNotFound() *SubscribeNotFound
NewSubscribeNotFound creates a SubscribeNotFound with default headers values
func (*SubscribeNotFound) Code ¶
func (o *SubscribeNotFound) Code() int
Code gets the status code for the subscribe not found response
func (*SubscribeNotFound) Error ¶
func (o *SubscribeNotFound) Error() string
func (*SubscribeNotFound) GetPayload ¶
func (o *SubscribeNotFound) GetPayload() *models.RestError
func (*SubscribeNotFound) IsClientError ¶
func (o *SubscribeNotFound) IsClientError() bool
IsClientError returns true when this subscribe not found response has a 4xx status code
func (*SubscribeNotFound) IsCode ¶
func (o *SubscribeNotFound) IsCode(code int) bool
IsCode returns true when this subscribe not found response a status code equal to that given
func (*SubscribeNotFound) IsRedirect ¶
func (o *SubscribeNotFound) IsRedirect() bool
IsRedirect returns true when this subscribe not found response has a 3xx status code
func (*SubscribeNotFound) IsServerError ¶
func (o *SubscribeNotFound) IsServerError() bool
IsServerError returns true when this subscribe not found response has a 5xx status code
func (*SubscribeNotFound) IsSuccess ¶
func (o *SubscribeNotFound) IsSuccess() bool
IsSuccess returns true when this subscribe not found response has a 2xx status code
func (*SubscribeNotFound) String ¶
func (o *SubscribeNotFound) String() string
type SubscribeOK ¶
type SubscribeOK struct {
Payload *models.ActivitySubscription
}
SubscribeOK describes a response with status code 200, with default header values.
A successful response.
func NewSubscribeOK ¶
func NewSubscribeOK() *SubscribeOK
NewSubscribeOK creates a SubscribeOK with default headers values
func (*SubscribeOK) Code ¶
func (o *SubscribeOK) Code() int
Code gets the status code for the subscribe o k response
func (*SubscribeOK) Error ¶
func (o *SubscribeOK) Error() string
func (*SubscribeOK) GetPayload ¶
func (o *SubscribeOK) GetPayload() *models.ActivitySubscription
func (*SubscribeOK) IsClientError ¶
func (o *SubscribeOK) IsClientError() bool
IsClientError returns true when this subscribe o k response has a 4xx status code
func (*SubscribeOK) IsCode ¶
func (o *SubscribeOK) IsCode(code int) bool
IsCode returns true when this subscribe o k response a status code equal to that given
func (*SubscribeOK) IsRedirect ¶
func (o *SubscribeOK) IsRedirect() bool
IsRedirect returns true when this subscribe o k response has a 3xx status code
func (*SubscribeOK) IsServerError ¶
func (o *SubscribeOK) IsServerError() bool
IsServerError returns true when this subscribe o k response has a 5xx status code
func (*SubscribeOK) IsSuccess ¶
func (o *SubscribeOK) IsSuccess() bool
IsSuccess returns true when this subscribe o k response has a 2xx status code
func (*SubscribeOK) String ¶
func (o *SubscribeOK) String() string
type SubscribeParams ¶
type SubscribeParams struct { // Body. Body *models.ActivitySubscription Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SubscribeParams contains all the parameters to send to the API endpoint
for the subscribe operation. Typically these are written to a http.Request.
func NewSubscribeParams ¶
func NewSubscribeParams() *SubscribeParams
NewSubscribeParams creates a new SubscribeParams 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 NewSubscribeParamsWithContext ¶
func NewSubscribeParamsWithContext(ctx context.Context) *SubscribeParams
NewSubscribeParamsWithContext creates a new SubscribeParams object with the ability to set a context for a request.
func NewSubscribeParamsWithHTTPClient ¶
func NewSubscribeParamsWithHTTPClient(client *http.Client) *SubscribeParams
NewSubscribeParamsWithHTTPClient creates a new SubscribeParams object with the ability to set a custom HTTPClient for a request.
func NewSubscribeParamsWithTimeout ¶
func NewSubscribeParamsWithTimeout(timeout time.Duration) *SubscribeParams
NewSubscribeParamsWithTimeout creates a new SubscribeParams object with the ability to set a timeout on a request.
func (*SubscribeParams) SetBody ¶
func (o *SubscribeParams) SetBody(body *models.ActivitySubscription)
SetBody adds the body to the subscribe params
func (*SubscribeParams) SetContext ¶
func (o *SubscribeParams) SetContext(ctx context.Context)
SetContext adds the context to the subscribe params
func (*SubscribeParams) SetDefaults ¶
func (o *SubscribeParams) SetDefaults()
SetDefaults hydrates default values in the subscribe params (not the query body).
All values with no default are reset to their zero value.
func (*SubscribeParams) SetHTTPClient ¶
func (o *SubscribeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the subscribe params
func (*SubscribeParams) SetTimeout ¶
func (o *SubscribeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the subscribe params
func (*SubscribeParams) WithBody ¶
func (o *SubscribeParams) WithBody(body *models.ActivitySubscription) *SubscribeParams
WithBody adds the body to the subscribe params
func (*SubscribeParams) WithContext ¶
func (o *SubscribeParams) WithContext(ctx context.Context) *SubscribeParams
WithContext adds the context to the subscribe params
func (*SubscribeParams) WithDefaults ¶
func (o *SubscribeParams) WithDefaults() *SubscribeParams
WithDefaults hydrates default values in the subscribe params (not the query body).
All values with no default are reset to their zero value.
func (*SubscribeParams) WithHTTPClient ¶
func (o *SubscribeParams) WithHTTPClient(client *http.Client) *SubscribeParams
WithHTTPClient adds the HTTPClient to the subscribe params
func (*SubscribeParams) WithTimeout ¶
func (o *SubscribeParams) WithTimeout(timeout time.Duration) *SubscribeParams
WithTimeout adds the timeout to the subscribe params
func (*SubscribeParams) WriteToRequest ¶
func (o *SubscribeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SubscribeReader ¶
type SubscribeReader struct {
// contains filtered or unexported fields
}
SubscribeReader is a Reader for the Subscribe structure.
func (*SubscribeReader) ReadResponse ¶
func (o *SubscribeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SubscribeUnauthorized ¶
type SubscribeUnauthorized struct { }
SubscribeUnauthorized describes a response with status code 401, with default header values.
User is not authenticated
func NewSubscribeUnauthorized ¶
func NewSubscribeUnauthorized() *SubscribeUnauthorized
NewSubscribeUnauthorized creates a SubscribeUnauthorized with default headers values
func (*SubscribeUnauthorized) Code ¶
func (o *SubscribeUnauthorized) Code() int
Code gets the status code for the subscribe unauthorized response
func (*SubscribeUnauthorized) Error ¶
func (o *SubscribeUnauthorized) Error() string
func (*SubscribeUnauthorized) IsClientError ¶
func (o *SubscribeUnauthorized) IsClientError() bool
IsClientError returns true when this subscribe unauthorized response has a 4xx status code
func (*SubscribeUnauthorized) IsCode ¶
func (o *SubscribeUnauthorized) IsCode(code int) bool
IsCode returns true when this subscribe unauthorized response a status code equal to that given
func (*SubscribeUnauthorized) IsRedirect ¶
func (o *SubscribeUnauthorized) IsRedirect() bool
IsRedirect returns true when this subscribe unauthorized response has a 3xx status code
func (*SubscribeUnauthorized) IsServerError ¶
func (o *SubscribeUnauthorized) IsServerError() bool
IsServerError returns true when this subscribe unauthorized response has a 5xx status code
func (*SubscribeUnauthorized) IsSuccess ¶
func (o *SubscribeUnauthorized) IsSuccess() bool
IsSuccess returns true when this subscribe unauthorized response has a 2xx status code
func (*SubscribeUnauthorized) String ¶
func (o *SubscribeUnauthorized) String() string