Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteV1NuncSubscriptionsUnsubscribeToken(params *DeleteV1NuncSubscriptionsUnsubscribeTokenParams, ...) (*DeleteV1NuncSubscriptionsUnsubscribeTokenOK, error)
- func (a *Client) PostV1NuncSubscriptions(params *PostV1NuncSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostV1NuncSubscriptionsCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteV1NuncSubscriptionsUnsubscribeTokenOK
- func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenOK) Error() string
- func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenOK) GetPayload() *models.NuncNuncSubscription
- func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenOK) IsClientError() bool
- func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenOK) IsCode(code int) bool
- func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenOK) IsRedirect() bool
- func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenOK) IsServerError() bool
- func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenOK) IsSuccess() bool
- func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenOK) String() string
- type DeleteV1NuncSubscriptionsUnsubscribeTokenParams
- func NewDeleteV1NuncSubscriptionsUnsubscribeTokenParams() *DeleteV1NuncSubscriptionsUnsubscribeTokenParams
- func NewDeleteV1NuncSubscriptionsUnsubscribeTokenParamsWithContext(ctx context.Context) *DeleteV1NuncSubscriptionsUnsubscribeTokenParams
- func NewDeleteV1NuncSubscriptionsUnsubscribeTokenParamsWithHTTPClient(client *http.Client) *DeleteV1NuncSubscriptionsUnsubscribeTokenParams
- func NewDeleteV1NuncSubscriptionsUnsubscribeTokenParamsWithTimeout(timeout time.Duration) *DeleteV1NuncSubscriptionsUnsubscribeTokenParams
- func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) SetContext(ctx context.Context)
- func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) SetDefaults()
- func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) SetHTTPClient(client *http.Client)
- func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) SetTimeout(timeout time.Duration)
- func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) SetUnsubscribeToken(unsubscribeToken string)
- func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) WithContext(ctx context.Context) *DeleteV1NuncSubscriptionsUnsubscribeTokenParams
- func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) WithDefaults() *DeleteV1NuncSubscriptionsUnsubscribeTokenParams
- func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) WithHTTPClient(client *http.Client) *DeleteV1NuncSubscriptionsUnsubscribeTokenParams
- func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) WithTimeout(timeout time.Duration) *DeleteV1NuncSubscriptionsUnsubscribeTokenParams
- func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) WithUnsubscribeToken(unsubscribeToken string) *DeleteV1NuncSubscriptionsUnsubscribeTokenParams
- func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteV1NuncSubscriptionsUnsubscribeTokenReader
- type PostV1NuncSubscriptionsCreated
- func (o *PostV1NuncSubscriptionsCreated) Error() string
- func (o *PostV1NuncSubscriptionsCreated) GetPayload() *models.NuncNuncSubscription
- func (o *PostV1NuncSubscriptionsCreated) IsClientError() bool
- func (o *PostV1NuncSubscriptionsCreated) IsCode(code int) bool
- func (o *PostV1NuncSubscriptionsCreated) IsRedirect() bool
- func (o *PostV1NuncSubscriptionsCreated) IsServerError() bool
- func (o *PostV1NuncSubscriptionsCreated) IsSuccess() bool
- func (o *PostV1NuncSubscriptionsCreated) String() string
- type PostV1NuncSubscriptionsParams
- func NewPostV1NuncSubscriptionsParams() *PostV1NuncSubscriptionsParams
- func NewPostV1NuncSubscriptionsParamsWithContext(ctx context.Context) *PostV1NuncSubscriptionsParams
- func NewPostV1NuncSubscriptionsParamsWithHTTPClient(client *http.Client) *PostV1NuncSubscriptionsParams
- func NewPostV1NuncSubscriptionsParamsWithTimeout(timeout time.Duration) *PostV1NuncSubscriptionsParams
- func (o *PostV1NuncSubscriptionsParams) SetContext(ctx context.Context)
- func (o *PostV1NuncSubscriptionsParams) SetDefaults()
- func (o *PostV1NuncSubscriptionsParams) SetHTTPClient(client *http.Client)
- func (o *PostV1NuncSubscriptionsParams) SetPostV1NuncSubscriptions(postV1NuncSubscriptions *models.PostV1NuncSubscriptions)
- func (o *PostV1NuncSubscriptionsParams) SetTimeout(timeout time.Duration)
- func (o *PostV1NuncSubscriptionsParams) WithContext(ctx context.Context) *PostV1NuncSubscriptionsParams
- func (o *PostV1NuncSubscriptionsParams) WithDefaults() *PostV1NuncSubscriptionsParams
- func (o *PostV1NuncSubscriptionsParams) WithHTTPClient(client *http.Client) *PostV1NuncSubscriptionsParams
- func (o *PostV1NuncSubscriptionsParams) WithPostV1NuncSubscriptions(postV1NuncSubscriptions *models.PostV1NuncSubscriptions) *PostV1NuncSubscriptionsParams
- func (o *PostV1NuncSubscriptionsParams) WithTimeout(timeout time.Duration) *PostV1NuncSubscriptionsParams
- func (o *PostV1NuncSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1NuncSubscriptionsReader
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 nunc API
func (*Client) DeleteV1NuncSubscriptionsUnsubscribeToken ¶
func (a *Client) DeleteV1NuncSubscriptionsUnsubscribeToken(params *DeleteV1NuncSubscriptionsUnsubscribeTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1NuncSubscriptionsUnsubscribeTokenOK, error)
DeleteV1NuncSubscriptionsUnsubscribeToken unsubscribes from status page updates
Unsubscribe from status page updates
func (*Client) PostV1NuncSubscriptions ¶
func (a *Client) PostV1NuncSubscriptions(params *PostV1NuncSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1NuncSubscriptionsCreated, error)
PostV1NuncSubscriptions subscribes to status page updates
Subscribe to status page updates
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 { DeleteV1NuncSubscriptionsUnsubscribeToken(params *DeleteV1NuncSubscriptionsUnsubscribeTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1NuncSubscriptionsUnsubscribeTokenOK, error) PostV1NuncSubscriptions(params *PostV1NuncSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1NuncSubscriptionsCreated, 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 nunc API client.
type DeleteV1NuncSubscriptionsUnsubscribeTokenOK ¶
type DeleteV1NuncSubscriptionsUnsubscribeTokenOK struct {
Payload *models.NuncNuncSubscription
}
DeleteV1NuncSubscriptionsUnsubscribeTokenOK describes a response with status code 200, with default header values.
Unsubscribe from status page updates
func NewDeleteV1NuncSubscriptionsUnsubscribeTokenOK ¶
func NewDeleteV1NuncSubscriptionsUnsubscribeTokenOK() *DeleteV1NuncSubscriptionsUnsubscribeTokenOK
NewDeleteV1NuncSubscriptionsUnsubscribeTokenOK creates a DeleteV1NuncSubscriptionsUnsubscribeTokenOK with default headers values
func (*DeleteV1NuncSubscriptionsUnsubscribeTokenOK) Error ¶
func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenOK) Error() string
func (*DeleteV1NuncSubscriptionsUnsubscribeTokenOK) GetPayload ¶
func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenOK) GetPayload() *models.NuncNuncSubscription
func (*DeleteV1NuncSubscriptionsUnsubscribeTokenOK) IsClientError ¶
func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenOK) IsClientError() bool
IsClientError returns true when this delete v1 nunc subscriptions unsubscribe token o k response has a 4xx status code
func (*DeleteV1NuncSubscriptionsUnsubscribeTokenOK) IsCode ¶
func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenOK) IsCode(code int) bool
IsCode returns true when this delete v1 nunc subscriptions unsubscribe token o k response a status code equal to that given
func (*DeleteV1NuncSubscriptionsUnsubscribeTokenOK) IsRedirect ¶
func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenOK) IsRedirect() bool
IsRedirect returns true when this delete v1 nunc subscriptions unsubscribe token o k response has a 3xx status code
func (*DeleteV1NuncSubscriptionsUnsubscribeTokenOK) IsServerError ¶
func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenOK) IsServerError() bool
IsServerError returns true when this delete v1 nunc subscriptions unsubscribe token o k response has a 5xx status code
func (*DeleteV1NuncSubscriptionsUnsubscribeTokenOK) IsSuccess ¶
func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenOK) IsSuccess() bool
IsSuccess returns true when this delete v1 nunc subscriptions unsubscribe token o k response has a 2xx status code
func (*DeleteV1NuncSubscriptionsUnsubscribeTokenOK) String ¶
func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenOK) String() string
type DeleteV1NuncSubscriptionsUnsubscribeTokenParams ¶
type DeleteV1NuncSubscriptionsUnsubscribeTokenParams struct { // UnsubscribeToken. UnsubscribeToken string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteV1NuncSubscriptionsUnsubscribeTokenParams contains all the parameters to send to the API endpoint
for the delete v1 nunc subscriptions unsubscribe token operation. Typically these are written to a http.Request.
func NewDeleteV1NuncSubscriptionsUnsubscribeTokenParams ¶
func NewDeleteV1NuncSubscriptionsUnsubscribeTokenParams() *DeleteV1NuncSubscriptionsUnsubscribeTokenParams
NewDeleteV1NuncSubscriptionsUnsubscribeTokenParams creates a new DeleteV1NuncSubscriptionsUnsubscribeTokenParams 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 NewDeleteV1NuncSubscriptionsUnsubscribeTokenParamsWithContext ¶
func NewDeleteV1NuncSubscriptionsUnsubscribeTokenParamsWithContext(ctx context.Context) *DeleteV1NuncSubscriptionsUnsubscribeTokenParams
NewDeleteV1NuncSubscriptionsUnsubscribeTokenParamsWithContext creates a new DeleteV1NuncSubscriptionsUnsubscribeTokenParams object with the ability to set a context for a request.
func NewDeleteV1NuncSubscriptionsUnsubscribeTokenParamsWithHTTPClient ¶
func NewDeleteV1NuncSubscriptionsUnsubscribeTokenParamsWithHTTPClient(client *http.Client) *DeleteV1NuncSubscriptionsUnsubscribeTokenParams
NewDeleteV1NuncSubscriptionsUnsubscribeTokenParamsWithHTTPClient creates a new DeleteV1NuncSubscriptionsUnsubscribeTokenParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteV1NuncSubscriptionsUnsubscribeTokenParamsWithTimeout ¶
func NewDeleteV1NuncSubscriptionsUnsubscribeTokenParamsWithTimeout(timeout time.Duration) *DeleteV1NuncSubscriptionsUnsubscribeTokenParams
NewDeleteV1NuncSubscriptionsUnsubscribeTokenParamsWithTimeout creates a new DeleteV1NuncSubscriptionsUnsubscribeTokenParams object with the ability to set a timeout on a request.
func (*DeleteV1NuncSubscriptionsUnsubscribeTokenParams) SetContext ¶
func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the delete v1 nunc subscriptions unsubscribe token params
func (*DeleteV1NuncSubscriptionsUnsubscribeTokenParams) SetDefaults ¶
func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) SetDefaults()
SetDefaults hydrates default values in the delete v1 nunc subscriptions unsubscribe token params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1NuncSubscriptionsUnsubscribeTokenParams) SetHTTPClient ¶
func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete v1 nunc subscriptions unsubscribe token params
func (*DeleteV1NuncSubscriptionsUnsubscribeTokenParams) SetTimeout ¶
func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete v1 nunc subscriptions unsubscribe token params
func (*DeleteV1NuncSubscriptionsUnsubscribeTokenParams) SetUnsubscribeToken ¶
func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) SetUnsubscribeToken(unsubscribeToken string)
SetUnsubscribeToken adds the unsubscribeToken to the delete v1 nunc subscriptions unsubscribe token params
func (*DeleteV1NuncSubscriptionsUnsubscribeTokenParams) WithContext ¶
func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) WithContext(ctx context.Context) *DeleteV1NuncSubscriptionsUnsubscribeTokenParams
WithContext adds the context to the delete v1 nunc subscriptions unsubscribe token params
func (*DeleteV1NuncSubscriptionsUnsubscribeTokenParams) WithDefaults ¶
func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) WithDefaults() *DeleteV1NuncSubscriptionsUnsubscribeTokenParams
WithDefaults hydrates default values in the delete v1 nunc subscriptions unsubscribe token params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1NuncSubscriptionsUnsubscribeTokenParams) WithHTTPClient ¶
func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) WithHTTPClient(client *http.Client) *DeleteV1NuncSubscriptionsUnsubscribeTokenParams
WithHTTPClient adds the HTTPClient to the delete v1 nunc subscriptions unsubscribe token params
func (*DeleteV1NuncSubscriptionsUnsubscribeTokenParams) WithTimeout ¶
func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) WithTimeout(timeout time.Duration) *DeleteV1NuncSubscriptionsUnsubscribeTokenParams
WithTimeout adds the timeout to the delete v1 nunc subscriptions unsubscribe token params
func (*DeleteV1NuncSubscriptionsUnsubscribeTokenParams) WithUnsubscribeToken ¶
func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) WithUnsubscribeToken(unsubscribeToken string) *DeleteV1NuncSubscriptionsUnsubscribeTokenParams
WithUnsubscribeToken adds the unsubscribeToken to the delete v1 nunc subscriptions unsubscribe token params
func (*DeleteV1NuncSubscriptionsUnsubscribeTokenParams) WriteToRequest ¶
func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteV1NuncSubscriptionsUnsubscribeTokenReader ¶
type DeleteV1NuncSubscriptionsUnsubscribeTokenReader struct {
// contains filtered or unexported fields
}
DeleteV1NuncSubscriptionsUnsubscribeTokenReader is a Reader for the DeleteV1NuncSubscriptionsUnsubscribeToken structure.
func (*DeleteV1NuncSubscriptionsUnsubscribeTokenReader) ReadResponse ¶
func (o *DeleteV1NuncSubscriptionsUnsubscribeTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostV1NuncSubscriptionsCreated ¶
type PostV1NuncSubscriptionsCreated struct {
Payload *models.NuncNuncSubscription
}
PostV1NuncSubscriptionsCreated describes a response with status code 201, with default header values.
Subscribe to status page updates
func NewPostV1NuncSubscriptionsCreated ¶
func NewPostV1NuncSubscriptionsCreated() *PostV1NuncSubscriptionsCreated
NewPostV1NuncSubscriptionsCreated creates a PostV1NuncSubscriptionsCreated with default headers values
func (*PostV1NuncSubscriptionsCreated) Error ¶
func (o *PostV1NuncSubscriptionsCreated) Error() string
func (*PostV1NuncSubscriptionsCreated) GetPayload ¶
func (o *PostV1NuncSubscriptionsCreated) GetPayload() *models.NuncNuncSubscription
func (*PostV1NuncSubscriptionsCreated) IsClientError ¶
func (o *PostV1NuncSubscriptionsCreated) IsClientError() bool
IsClientError returns true when this post v1 nunc subscriptions created response has a 4xx status code
func (*PostV1NuncSubscriptionsCreated) IsCode ¶
func (o *PostV1NuncSubscriptionsCreated) IsCode(code int) bool
IsCode returns true when this post v1 nunc subscriptions created response a status code equal to that given
func (*PostV1NuncSubscriptionsCreated) IsRedirect ¶
func (o *PostV1NuncSubscriptionsCreated) IsRedirect() bool
IsRedirect returns true when this post v1 nunc subscriptions created response has a 3xx status code
func (*PostV1NuncSubscriptionsCreated) IsServerError ¶
func (o *PostV1NuncSubscriptionsCreated) IsServerError() bool
IsServerError returns true when this post v1 nunc subscriptions created response has a 5xx status code
func (*PostV1NuncSubscriptionsCreated) IsSuccess ¶
func (o *PostV1NuncSubscriptionsCreated) IsSuccess() bool
IsSuccess returns true when this post v1 nunc subscriptions created response has a 2xx status code
func (*PostV1NuncSubscriptionsCreated) String ¶
func (o *PostV1NuncSubscriptionsCreated) String() string
type PostV1NuncSubscriptionsParams ¶
type PostV1NuncSubscriptionsParams struct { // PostV1NuncSubscriptions. PostV1NuncSubscriptions *models.PostV1NuncSubscriptions Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostV1NuncSubscriptionsParams contains all the parameters to send to the API endpoint
for the post v1 nunc subscriptions operation. Typically these are written to a http.Request.
func NewPostV1NuncSubscriptionsParams ¶
func NewPostV1NuncSubscriptionsParams() *PostV1NuncSubscriptionsParams
NewPostV1NuncSubscriptionsParams creates a new PostV1NuncSubscriptionsParams 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 NewPostV1NuncSubscriptionsParamsWithContext ¶
func NewPostV1NuncSubscriptionsParamsWithContext(ctx context.Context) *PostV1NuncSubscriptionsParams
NewPostV1NuncSubscriptionsParamsWithContext creates a new PostV1NuncSubscriptionsParams object with the ability to set a context for a request.
func NewPostV1NuncSubscriptionsParamsWithHTTPClient ¶
func NewPostV1NuncSubscriptionsParamsWithHTTPClient(client *http.Client) *PostV1NuncSubscriptionsParams
NewPostV1NuncSubscriptionsParamsWithHTTPClient creates a new PostV1NuncSubscriptionsParams object with the ability to set a custom HTTPClient for a request.
func NewPostV1NuncSubscriptionsParamsWithTimeout ¶
func NewPostV1NuncSubscriptionsParamsWithTimeout(timeout time.Duration) *PostV1NuncSubscriptionsParams
NewPostV1NuncSubscriptionsParamsWithTimeout creates a new PostV1NuncSubscriptionsParams object with the ability to set a timeout on a request.
func (*PostV1NuncSubscriptionsParams) SetContext ¶
func (o *PostV1NuncSubscriptionsParams) SetContext(ctx context.Context)
SetContext adds the context to the post v1 nunc subscriptions params
func (*PostV1NuncSubscriptionsParams) SetDefaults ¶
func (o *PostV1NuncSubscriptionsParams) SetDefaults()
SetDefaults hydrates default values in the post v1 nunc subscriptions params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1NuncSubscriptionsParams) SetHTTPClient ¶
func (o *PostV1NuncSubscriptionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v1 nunc subscriptions params
func (*PostV1NuncSubscriptionsParams) SetPostV1NuncSubscriptions ¶
func (o *PostV1NuncSubscriptionsParams) SetPostV1NuncSubscriptions(postV1NuncSubscriptions *models.PostV1NuncSubscriptions)
SetPostV1NuncSubscriptions adds the postV1NuncSubscriptions to the post v1 nunc subscriptions params
func (*PostV1NuncSubscriptionsParams) SetTimeout ¶
func (o *PostV1NuncSubscriptionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v1 nunc subscriptions params
func (*PostV1NuncSubscriptionsParams) WithContext ¶
func (o *PostV1NuncSubscriptionsParams) WithContext(ctx context.Context) *PostV1NuncSubscriptionsParams
WithContext adds the context to the post v1 nunc subscriptions params
func (*PostV1NuncSubscriptionsParams) WithDefaults ¶
func (o *PostV1NuncSubscriptionsParams) WithDefaults() *PostV1NuncSubscriptionsParams
WithDefaults hydrates default values in the post v1 nunc subscriptions params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1NuncSubscriptionsParams) WithHTTPClient ¶
func (o *PostV1NuncSubscriptionsParams) WithHTTPClient(client *http.Client) *PostV1NuncSubscriptionsParams
WithHTTPClient adds the HTTPClient to the post v1 nunc subscriptions params
func (*PostV1NuncSubscriptionsParams) WithPostV1NuncSubscriptions ¶
func (o *PostV1NuncSubscriptionsParams) WithPostV1NuncSubscriptions(postV1NuncSubscriptions *models.PostV1NuncSubscriptions) *PostV1NuncSubscriptionsParams
WithPostV1NuncSubscriptions adds the postV1NuncSubscriptions to the post v1 nunc subscriptions params
func (*PostV1NuncSubscriptionsParams) WithTimeout ¶
func (o *PostV1NuncSubscriptionsParams) WithTimeout(timeout time.Duration) *PostV1NuncSubscriptionsParams
WithTimeout adds the timeout to the post v1 nunc subscriptions params
func (*PostV1NuncSubscriptionsParams) WriteToRequest ¶
func (o *PostV1NuncSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostV1NuncSubscriptionsReader ¶
type PostV1NuncSubscriptionsReader struct {
// contains filtered or unexported fields
}
PostV1NuncSubscriptionsReader is a Reader for the PostV1NuncSubscriptions structure.
func (*PostV1NuncSubscriptionsReader) ReadResponse ¶
func (o *PostV1NuncSubscriptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.