Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteProspects(params *DeleteProspectsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteProspectsOK, error)
- func (a *Client) PostStopFollowups(params *PostStopFollowupsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostStopFollowupsOK, error)
- func (a *Client) PostWebhooksSubscribe(params *PostWebhooksSubscribeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostWebhooksSubscribeOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteProspectsDefault
- type DeleteProspectsOK
- type DeleteProspectsParams
- func NewDeleteProspectsParams() *DeleteProspectsParams
- func NewDeleteProspectsParamsWithContext(ctx context.Context) *DeleteProspectsParams
- func NewDeleteProspectsParamsWithHTTPClient(client *http.Client) *DeleteProspectsParams
- func NewDeleteProspectsParamsWithTimeout(timeout time.Duration) *DeleteProspectsParams
- func (o *DeleteProspectsParams) SetCampaignID(campaignID *int32)
- func (o *DeleteProspectsParams) SetContext(ctx context.Context)
- func (o *DeleteProspectsParams) SetDefaults()
- func (o *DeleteProspectsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProspectsParams) SetID(id int32)
- func (o *DeleteProspectsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProspectsParams) WithCampaignID(campaignID *int32) *DeleteProspectsParams
- func (o *DeleteProspectsParams) WithContext(ctx context.Context) *DeleteProspectsParams
- func (o *DeleteProspectsParams) WithDefaults() *DeleteProspectsParams
- func (o *DeleteProspectsParams) WithHTTPClient(client *http.Client) *DeleteProspectsParams
- func (o *DeleteProspectsParams) WithID(id int32) *DeleteProspectsParams
- func (o *DeleteProspectsParams) WithTimeout(timeout time.Duration) *DeleteProspectsParams
- func (o *DeleteProspectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProspectsReader
- type PostStopFollowupsBody
- type PostStopFollowupsDefault
- type PostStopFollowupsOK
- type PostStopFollowupsParams
- func NewPostStopFollowupsParams() *PostStopFollowupsParams
- func NewPostStopFollowupsParamsWithContext(ctx context.Context) *PostStopFollowupsParams
- func NewPostStopFollowupsParamsWithHTTPClient(client *http.Client) *PostStopFollowupsParams
- func NewPostStopFollowupsParamsWithTimeout(timeout time.Duration) *PostStopFollowupsParams
- func (o *PostStopFollowupsParams) SetBody(body PostStopFollowupsBody)
- func (o *PostStopFollowupsParams) SetContext(ctx context.Context)
- func (o *PostStopFollowupsParams) SetDefaults()
- func (o *PostStopFollowupsParams) SetHTTPClient(client *http.Client)
- func (o *PostStopFollowupsParams) SetTimeout(timeout time.Duration)
- func (o *PostStopFollowupsParams) WithBody(body PostStopFollowupsBody) *PostStopFollowupsParams
- func (o *PostStopFollowupsParams) WithContext(ctx context.Context) *PostStopFollowupsParams
- func (o *PostStopFollowupsParams) WithDefaults() *PostStopFollowupsParams
- func (o *PostStopFollowupsParams) WithHTTPClient(client *http.Client) *PostStopFollowupsParams
- func (o *PostStopFollowupsParams) WithTimeout(timeout time.Duration) *PostStopFollowupsParams
- func (o *PostStopFollowupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostStopFollowupsParamsBodyProspect
- func (o *PostStopFollowupsParamsBodyProspect) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PostStopFollowupsParamsBodyProspect) MarshalBinary() ([]byte, error)
- func (o *PostStopFollowupsParamsBodyProspect) UnmarshalBinary(b []byte) error
- func (o *PostStopFollowupsParamsBodyProspect) Validate(formats strfmt.Registry) error
- type PostStopFollowupsReader
- type PostWebhooksSubscribeDefault
- type PostWebhooksSubscribeOK
- type PostWebhooksSubscribeParams
- func NewPostWebhooksSubscribeParams() *PostWebhooksSubscribeParams
- func NewPostWebhooksSubscribeParamsWithContext(ctx context.Context) *PostWebhooksSubscribeParams
- func NewPostWebhooksSubscribeParamsWithHTTPClient(client *http.Client) *PostWebhooksSubscribeParams
- func NewPostWebhooksSubscribeParamsWithTimeout(timeout time.Duration) *PostWebhooksSubscribeParams
- func (o *PostWebhooksSubscribeParams) SetBody(body *models.WebhookSubscribe)
- func (o *PostWebhooksSubscribeParams) SetContext(ctx context.Context)
- func (o *PostWebhooksSubscribeParams) SetDefaults()
- func (o *PostWebhooksSubscribeParams) SetHTTPClient(client *http.Client)
- func (o *PostWebhooksSubscribeParams) SetTimeout(timeout time.Duration)
- func (o *PostWebhooksSubscribeParams) WithBody(body *models.WebhookSubscribe) *PostWebhooksSubscribeParams
- func (o *PostWebhooksSubscribeParams) WithContext(ctx context.Context) *PostWebhooksSubscribeParams
- func (o *PostWebhooksSubscribeParams) WithDefaults() *PostWebhooksSubscribeParams
- func (o *PostWebhooksSubscribeParams) WithHTTPClient(client *http.Client) *PostWebhooksSubscribeParams
- func (o *PostWebhooksSubscribeParams) WithTimeout(timeout time.Duration) *PostWebhooksSubscribeParams
- func (o *PostWebhooksSubscribeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostWebhooksSubscribeReader
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 operations API
func (*Client) DeleteProspects ¶
func (a *Client) DeleteProspects(params *DeleteProspectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProspectsOK, error)
DeleteProspects gets the list of prospects
get the list of prospects
func (*Client) PostStopFollowups ¶
func (a *Client) PostStopFollowups(params *PostStopFollowupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostStopFollowupsOK, error)
PostStopFollowups changes prospect status to b l a c k l i s t
func (*Client) PostWebhooksSubscribe ¶
func (a *Client) PostWebhooksSubscribe(params *PostWebhooksSubscribeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostWebhooksSubscribeOK, error)
PostWebhooksSubscribe post webhooks subscribe API
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 { DeleteProspects(params *DeleteProspectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProspectsOK, error) PostStopFollowups(params *PostStopFollowupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostStopFollowupsOK, error) PostWebhooksSubscribe(params *PostWebhooksSubscribeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostWebhooksSubscribeOK, 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 operations API client.
type DeleteProspectsDefault ¶
type DeleteProspectsDefault struct { Payload *models.Error // contains filtered or unexported fields }
DeleteProspectsDefault describes a response with status code -1, with default header values.
Unexpected error
func NewDeleteProspectsDefault ¶
func NewDeleteProspectsDefault(code int) *DeleteProspectsDefault
NewDeleteProspectsDefault creates a DeleteProspectsDefault with default headers values
func (*DeleteProspectsDefault) Code ¶
func (o *DeleteProspectsDefault) Code() int
Code gets the status code for the delete prospects default response
func (*DeleteProspectsDefault) Error ¶
func (o *DeleteProspectsDefault) Error() string
func (*DeleteProspectsDefault) GetPayload ¶
func (o *DeleteProspectsDefault) GetPayload() *models.Error
type DeleteProspectsOK ¶
type DeleteProspectsOK struct { }
DeleteProspectsOK describes a response with status code 200, with default header values.
Empty response
func NewDeleteProspectsOK ¶
func NewDeleteProspectsOK() *DeleteProspectsOK
NewDeleteProspectsOK creates a DeleteProspectsOK with default headers values
func (*DeleteProspectsOK) Error ¶
func (o *DeleteProspectsOK) Error() string
type DeleteProspectsParams ¶
type DeleteProspectsParams struct { /* CampaignID. Prospect campaign's ID Format: int32 */ CampaignID *int32 /* ID. Prospect's ID Format: int32 */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteProspectsParams contains all the parameters to send to the API endpoint
for the delete prospects operation. Typically these are written to a http.Request.
func NewDeleteProspectsParams ¶
func NewDeleteProspectsParams() *DeleteProspectsParams
NewDeleteProspectsParams creates a new DeleteProspectsParams 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 NewDeleteProspectsParamsWithContext ¶
func NewDeleteProspectsParamsWithContext(ctx context.Context) *DeleteProspectsParams
NewDeleteProspectsParamsWithContext creates a new DeleteProspectsParams object with the ability to set a context for a request.
func NewDeleteProspectsParamsWithHTTPClient ¶
func NewDeleteProspectsParamsWithHTTPClient(client *http.Client) *DeleteProspectsParams
NewDeleteProspectsParamsWithHTTPClient creates a new DeleteProspectsParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteProspectsParamsWithTimeout ¶
func NewDeleteProspectsParamsWithTimeout(timeout time.Duration) *DeleteProspectsParams
NewDeleteProspectsParamsWithTimeout creates a new DeleteProspectsParams object with the ability to set a timeout on a request.
func (*DeleteProspectsParams) SetCampaignID ¶
func (o *DeleteProspectsParams) SetCampaignID(campaignID *int32)
SetCampaignID adds the campaignId to the delete prospects params
func (*DeleteProspectsParams) SetContext ¶
func (o *DeleteProspectsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete prospects params
func (*DeleteProspectsParams) SetDefaults ¶
func (o *DeleteProspectsParams) SetDefaults()
SetDefaults hydrates default values in the delete prospects params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteProspectsParams) SetHTTPClient ¶
func (o *DeleteProspectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete prospects params
func (*DeleteProspectsParams) SetID ¶
func (o *DeleteProspectsParams) SetID(id int32)
SetID adds the id to the delete prospects params
func (*DeleteProspectsParams) SetTimeout ¶
func (o *DeleteProspectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete prospects params
func (*DeleteProspectsParams) WithCampaignID ¶
func (o *DeleteProspectsParams) WithCampaignID(campaignID *int32) *DeleteProspectsParams
WithCampaignID adds the campaignID to the delete prospects params
func (*DeleteProspectsParams) WithContext ¶
func (o *DeleteProspectsParams) WithContext(ctx context.Context) *DeleteProspectsParams
WithContext adds the context to the delete prospects params
func (*DeleteProspectsParams) WithDefaults ¶
func (o *DeleteProspectsParams) WithDefaults() *DeleteProspectsParams
WithDefaults hydrates default values in the delete prospects params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteProspectsParams) WithHTTPClient ¶
func (o *DeleteProspectsParams) WithHTTPClient(client *http.Client) *DeleteProspectsParams
WithHTTPClient adds the HTTPClient to the delete prospects params
func (*DeleteProspectsParams) WithID ¶
func (o *DeleteProspectsParams) WithID(id int32) *DeleteProspectsParams
WithID adds the id to the delete prospects params
func (*DeleteProspectsParams) WithTimeout ¶
func (o *DeleteProspectsParams) WithTimeout(timeout time.Duration) *DeleteProspectsParams
WithTimeout adds the timeout to the delete prospects params
func (*DeleteProspectsParams) WriteToRequest ¶
func (o *DeleteProspectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteProspectsReader ¶
type DeleteProspectsReader struct {
// contains filtered or unexported fields
}
DeleteProspectsReader is a Reader for the DeleteProspects structure.
func (*DeleteProspectsReader) ReadResponse ¶
func (o *DeleteProspectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostStopFollowupsBody ¶
type PostStopFollowupsBody struct { // prospect Prospect *PostStopFollowupsParamsBodyProspect `json:"prospect,omitempty"` }
PostStopFollowupsBody post stop followups body swagger:model PostStopFollowupsBody
func (*PostStopFollowupsBody) ContextValidate ¶
ContextValidate validate this post stop followups body based on the context it is used
func (*PostStopFollowupsBody) MarshalBinary ¶
func (o *PostStopFollowupsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostStopFollowupsBody) UnmarshalBinary ¶
func (o *PostStopFollowupsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostStopFollowupsDefault ¶
type PostStopFollowupsDefault struct { Payload *models.Error // contains filtered or unexported fields }
PostStopFollowupsDefault describes a response with status code -1, with default header values.
Unexpected error
func NewPostStopFollowupsDefault ¶
func NewPostStopFollowupsDefault(code int) *PostStopFollowupsDefault
NewPostStopFollowupsDefault creates a PostStopFollowupsDefault with default headers values
func (*PostStopFollowupsDefault) Code ¶
func (o *PostStopFollowupsDefault) Code() int
Code gets the status code for the post stop followups default response
func (*PostStopFollowupsDefault) Error ¶
func (o *PostStopFollowupsDefault) Error() string
func (*PostStopFollowupsDefault) GetPayload ¶
func (o *PostStopFollowupsDefault) GetPayload() *models.Error
type PostStopFollowupsOK ¶
PostStopFollowupsOK describes a response with status code 200, with default header values.
The created prospect
func NewPostStopFollowupsOK ¶
func NewPostStopFollowupsOK() *PostStopFollowupsOK
NewPostStopFollowupsOK creates a PostStopFollowupsOK with default headers values
func (*PostStopFollowupsOK) Error ¶
func (o *PostStopFollowupsOK) Error() string
func (*PostStopFollowupsOK) GetPayload ¶
func (o *PostStopFollowupsOK) GetPayload() *models.Status
type PostStopFollowupsParams ¶
type PostStopFollowupsParams struct { // Body. Body PostStopFollowupsBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostStopFollowupsParams contains all the parameters to send to the API endpoint
for the post stop followups operation. Typically these are written to a http.Request.
func NewPostStopFollowupsParams ¶
func NewPostStopFollowupsParams() *PostStopFollowupsParams
NewPostStopFollowupsParams creates a new PostStopFollowupsParams 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 NewPostStopFollowupsParamsWithContext ¶
func NewPostStopFollowupsParamsWithContext(ctx context.Context) *PostStopFollowupsParams
NewPostStopFollowupsParamsWithContext creates a new PostStopFollowupsParams object with the ability to set a context for a request.
func NewPostStopFollowupsParamsWithHTTPClient ¶
func NewPostStopFollowupsParamsWithHTTPClient(client *http.Client) *PostStopFollowupsParams
NewPostStopFollowupsParamsWithHTTPClient creates a new PostStopFollowupsParams object with the ability to set a custom HTTPClient for a request.
func NewPostStopFollowupsParamsWithTimeout ¶
func NewPostStopFollowupsParamsWithTimeout(timeout time.Duration) *PostStopFollowupsParams
NewPostStopFollowupsParamsWithTimeout creates a new PostStopFollowupsParams object with the ability to set a timeout on a request.
func (*PostStopFollowupsParams) SetBody ¶
func (o *PostStopFollowupsParams) SetBody(body PostStopFollowupsBody)
SetBody adds the body to the post stop followups params
func (*PostStopFollowupsParams) SetContext ¶
func (o *PostStopFollowupsParams) SetContext(ctx context.Context)
SetContext adds the context to the post stop followups params
func (*PostStopFollowupsParams) SetDefaults ¶
func (o *PostStopFollowupsParams) SetDefaults()
SetDefaults hydrates default values in the post stop followups params (not the query body).
All values with no default are reset to their zero value.
func (*PostStopFollowupsParams) SetHTTPClient ¶
func (o *PostStopFollowupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post stop followups params
func (*PostStopFollowupsParams) SetTimeout ¶
func (o *PostStopFollowupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post stop followups params
func (*PostStopFollowupsParams) WithBody ¶
func (o *PostStopFollowupsParams) WithBody(body PostStopFollowupsBody) *PostStopFollowupsParams
WithBody adds the body to the post stop followups params
func (*PostStopFollowupsParams) WithContext ¶
func (o *PostStopFollowupsParams) WithContext(ctx context.Context) *PostStopFollowupsParams
WithContext adds the context to the post stop followups params
func (*PostStopFollowupsParams) WithDefaults ¶
func (o *PostStopFollowupsParams) WithDefaults() *PostStopFollowupsParams
WithDefaults hydrates default values in the post stop followups params (not the query body).
All values with no default are reset to their zero value.
func (*PostStopFollowupsParams) WithHTTPClient ¶
func (o *PostStopFollowupsParams) WithHTTPClient(client *http.Client) *PostStopFollowupsParams
WithHTTPClient adds the HTTPClient to the post stop followups params
func (*PostStopFollowupsParams) WithTimeout ¶
func (o *PostStopFollowupsParams) WithTimeout(timeout time.Duration) *PostStopFollowupsParams
WithTimeout adds the timeout to the post stop followups params
func (*PostStopFollowupsParams) WriteToRequest ¶
func (o *PostStopFollowupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostStopFollowupsParamsBodyProspect ¶
type PostStopFollowupsParamsBodyProspect struct { // email Email string `json:"email,omitempty"` }
PostStopFollowupsParamsBodyProspect post stop followups params body prospect swagger:model PostStopFollowupsParamsBodyProspect
func (*PostStopFollowupsParamsBodyProspect) ContextValidate ¶
func (o *PostStopFollowupsParamsBodyProspect) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this post stop followups params body prospect based on context it is used
func (*PostStopFollowupsParamsBodyProspect) MarshalBinary ¶
func (o *PostStopFollowupsParamsBodyProspect) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostStopFollowupsParamsBodyProspect) UnmarshalBinary ¶
func (o *PostStopFollowupsParamsBodyProspect) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostStopFollowupsReader ¶
type PostStopFollowupsReader struct {
// contains filtered or unexported fields
}
PostStopFollowupsReader is a Reader for the PostStopFollowups structure.
func (*PostStopFollowupsReader) ReadResponse ¶
func (o *PostStopFollowupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostWebhooksSubscribeDefault ¶
type PostWebhooksSubscribeDefault struct { Payload *models.Error // contains filtered or unexported fields }
PostWebhooksSubscribeDefault describes a response with status code -1, with default header values.
Unexpected error
func NewPostWebhooksSubscribeDefault ¶
func NewPostWebhooksSubscribeDefault(code int) *PostWebhooksSubscribeDefault
NewPostWebhooksSubscribeDefault creates a PostWebhooksSubscribeDefault with default headers values
func (*PostWebhooksSubscribeDefault) Code ¶
func (o *PostWebhooksSubscribeDefault) Code() int
Code gets the status code for the post webhooks subscribe default response
func (*PostWebhooksSubscribeDefault) Error ¶
func (o *PostWebhooksSubscribeDefault) Error() string
func (*PostWebhooksSubscribeDefault) GetPayload ¶
func (o *PostWebhooksSubscribeDefault) GetPayload() *models.Error
type PostWebhooksSubscribeOK ¶
type PostWebhooksSubscribeOK struct { }
PostWebhooksSubscribeOK describes a response with status code 200, with default header values.
The created prospect
func NewPostWebhooksSubscribeOK ¶
func NewPostWebhooksSubscribeOK() *PostWebhooksSubscribeOK
NewPostWebhooksSubscribeOK creates a PostWebhooksSubscribeOK with default headers values
func (*PostWebhooksSubscribeOK) Error ¶
func (o *PostWebhooksSubscribeOK) Error() string
type PostWebhooksSubscribeParams ¶
type PostWebhooksSubscribeParams struct { // Body. Body *models.WebhookSubscribe Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostWebhooksSubscribeParams contains all the parameters to send to the API endpoint
for the post webhooks subscribe operation. Typically these are written to a http.Request.
func NewPostWebhooksSubscribeParams ¶
func NewPostWebhooksSubscribeParams() *PostWebhooksSubscribeParams
NewPostWebhooksSubscribeParams creates a new PostWebhooksSubscribeParams 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 NewPostWebhooksSubscribeParamsWithContext ¶
func NewPostWebhooksSubscribeParamsWithContext(ctx context.Context) *PostWebhooksSubscribeParams
NewPostWebhooksSubscribeParamsWithContext creates a new PostWebhooksSubscribeParams object with the ability to set a context for a request.
func NewPostWebhooksSubscribeParamsWithHTTPClient ¶
func NewPostWebhooksSubscribeParamsWithHTTPClient(client *http.Client) *PostWebhooksSubscribeParams
NewPostWebhooksSubscribeParamsWithHTTPClient creates a new PostWebhooksSubscribeParams object with the ability to set a custom HTTPClient for a request.
func NewPostWebhooksSubscribeParamsWithTimeout ¶
func NewPostWebhooksSubscribeParamsWithTimeout(timeout time.Duration) *PostWebhooksSubscribeParams
NewPostWebhooksSubscribeParamsWithTimeout creates a new PostWebhooksSubscribeParams object with the ability to set a timeout on a request.
func (*PostWebhooksSubscribeParams) SetBody ¶
func (o *PostWebhooksSubscribeParams) SetBody(body *models.WebhookSubscribe)
SetBody adds the body to the post webhooks subscribe params
func (*PostWebhooksSubscribeParams) SetContext ¶
func (o *PostWebhooksSubscribeParams) SetContext(ctx context.Context)
SetContext adds the context to the post webhooks subscribe params
func (*PostWebhooksSubscribeParams) SetDefaults ¶
func (o *PostWebhooksSubscribeParams) SetDefaults()
SetDefaults hydrates default values in the post webhooks subscribe params (not the query body).
All values with no default are reset to their zero value.
func (*PostWebhooksSubscribeParams) SetHTTPClient ¶
func (o *PostWebhooksSubscribeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post webhooks subscribe params
func (*PostWebhooksSubscribeParams) SetTimeout ¶
func (o *PostWebhooksSubscribeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post webhooks subscribe params
func (*PostWebhooksSubscribeParams) WithBody ¶
func (o *PostWebhooksSubscribeParams) WithBody(body *models.WebhookSubscribe) *PostWebhooksSubscribeParams
WithBody adds the body to the post webhooks subscribe params
func (*PostWebhooksSubscribeParams) WithContext ¶
func (o *PostWebhooksSubscribeParams) WithContext(ctx context.Context) *PostWebhooksSubscribeParams
WithContext adds the context to the post webhooks subscribe params
func (*PostWebhooksSubscribeParams) WithDefaults ¶
func (o *PostWebhooksSubscribeParams) WithDefaults() *PostWebhooksSubscribeParams
WithDefaults hydrates default values in the post webhooks subscribe params (not the query body).
All values with no default are reset to their zero value.
func (*PostWebhooksSubscribeParams) WithHTTPClient ¶
func (o *PostWebhooksSubscribeParams) WithHTTPClient(client *http.Client) *PostWebhooksSubscribeParams
WithHTTPClient adds the HTTPClient to the post webhooks subscribe params
func (*PostWebhooksSubscribeParams) WithTimeout ¶
func (o *PostWebhooksSubscribeParams) WithTimeout(timeout time.Duration) *PostWebhooksSubscribeParams
WithTimeout adds the timeout to the post webhooks subscribe params
func (*PostWebhooksSubscribeParams) WriteToRequest ¶
func (o *PostWebhooksSubscribeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostWebhooksSubscribeReader ¶
type PostWebhooksSubscribeReader struct {
// contains filtered or unexported fields
}
PostWebhooksSubscribeReader is a Reader for the PostWebhooksSubscribe structure.
func (*PostWebhooksSubscribeReader) ReadResponse ¶
func (o *PostWebhooksSubscribeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.