webhooks

package
v0.0.0-...-13576d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 webhooks API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new webhooks API client.

func (*Client) CreateWebhook

func (a *Client) CreateWebhook(params *CreateWebhookParams) (*CreateWebhookOK, error)

CreateWebhook creates a webhook

{"nickname":"Add a new webhook","request":"createWebhookRequest.html","response":"createWebhookResponse.html"}

func (*Client) CreateWebhookV2

func (a *Client) CreateWebhookV2(params *CreateWebhookV2Params) (*CreateWebhookV2OK, error)

CreateWebhookV2 creates a webhook

{"nickname":"Add a new webhook","request":"createWebhookRequest.html","response":"createWebhookResponse.html"}

func (*Client) GetAllWebhooks

func (a *Client) GetAllWebhooks(params *GetAllWebhooksParams) (*GetAllWebhooksOK, error)

GetAllWebhooks returns a collection of webhooks specified by the account ID parameter by default 10 values are returned records are returned in natural order

{"nickname":"Get all webhooks","response":"getWebhookAll.html"}

func (*Client) GetWebhookByID

func (a *Client) GetWebhookByID(params *GetWebhookByIDParams) (*GetWebhookByIDOK, error)

GetWebhookByID returns a single webhook specified by the webhook ID parameter

{"nickname":"Retrieve an existing webhook","response":"getWebhookByID.html"}

func (*Client) RetireWebhook

func (a *Client) RetireWebhook(params *RetireWebhookParams) (*RetireWebhookOK, error)

RetireWebhook retires the specified webhook

{"nickname":"Remove a webhook","response":"deleteWebhook.html"}

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type CreateWebhookDefault

type CreateWebhookDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

CreateWebhookDefault handles this case with default header values.

error

func NewCreateWebhookDefault

func NewCreateWebhookDefault(code int) *CreateWebhookDefault

NewCreateWebhookDefault creates a CreateWebhookDefault with default headers values

func (*CreateWebhookDefault) Code

func (o *CreateWebhookDefault) Code() int

Code gets the status code for the create webhook default response

func (*CreateWebhookDefault) Error

func (o *CreateWebhookDefault) Error() string

type CreateWebhookOK

type CreateWebhookOK struct {
	Payload *models.WebhookPagedMetadata
}

CreateWebhookOK handles this case with default header values.

success

func NewCreateWebhookOK

func NewCreateWebhookOK() *CreateWebhookOK

NewCreateWebhookOK creates a CreateWebhookOK with default headers values

func (*CreateWebhookOK) Error

func (o *CreateWebhookOK) Error() string

type CreateWebhookParams

type CreateWebhookParams struct {

	/*Webhook
	  The webhook object to be created.

	*/
	Webhook *models.CreateWebhookRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateWebhookParams contains all the parameters to send to the API endpoint for the create webhook operation typically these are written to a http.Request

func NewCreateWebhookParams

func NewCreateWebhookParams() *CreateWebhookParams

NewCreateWebhookParams creates a new CreateWebhookParams object with the default values initialized.

func NewCreateWebhookParamsWithContext

func NewCreateWebhookParamsWithContext(ctx context.Context) *CreateWebhookParams

NewCreateWebhookParamsWithContext creates a new CreateWebhookParams object with the default values initialized, and the ability to set a context for a request

func NewCreateWebhookParamsWithHTTPClient

func NewCreateWebhookParamsWithHTTPClient(client *http.Client) *CreateWebhookParams

NewCreateWebhookParamsWithHTTPClient creates a new CreateWebhookParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateWebhookParamsWithTimeout

func NewCreateWebhookParamsWithTimeout(timeout time.Duration) *CreateWebhookParams

NewCreateWebhookParamsWithTimeout creates a new CreateWebhookParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateWebhookParams) SetContext

func (o *CreateWebhookParams) SetContext(ctx context.Context)

SetContext adds the context to the create webhook params

func (*CreateWebhookParams) SetHTTPClient

func (o *CreateWebhookParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create webhook params

func (*CreateWebhookParams) SetTimeout

func (o *CreateWebhookParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create webhook params

func (*CreateWebhookParams) SetWebhook

func (o *CreateWebhookParams) SetWebhook(webhook *models.CreateWebhookRequest)

SetWebhook adds the webhook to the create webhook params

func (*CreateWebhookParams) WithContext

WithContext adds the context to the create webhook params

func (*CreateWebhookParams) WithHTTPClient

func (o *CreateWebhookParams) WithHTTPClient(client *http.Client) *CreateWebhookParams

WithHTTPClient adds the HTTPClient to the create webhook params

func (*CreateWebhookParams) WithTimeout

func (o *CreateWebhookParams) WithTimeout(timeout time.Duration) *CreateWebhookParams

WithTimeout adds the timeout to the create webhook params

func (*CreateWebhookParams) WithWebhook

WithWebhook adds the webhook to the create webhook params

func (*CreateWebhookParams) WriteToRequest

func (o *CreateWebhookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateWebhookReader

type CreateWebhookReader struct {
	// contains filtered or unexported fields
}

CreateWebhookReader is a Reader for the CreateWebhook structure.

func (*CreateWebhookReader) ReadResponse

func (o *CreateWebhookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateWebhookV2Default

type CreateWebhookV2Default struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

CreateWebhookV2Default handles this case with default header values.

error

func NewCreateWebhookV2Default

func NewCreateWebhookV2Default(code int) *CreateWebhookV2Default

NewCreateWebhookV2Default creates a CreateWebhookV2Default with default headers values

func (*CreateWebhookV2Default) Code

func (o *CreateWebhookV2Default) Code() int

Code gets the status code for the create webhook v2 default response

func (*CreateWebhookV2Default) Error

func (o *CreateWebhookV2Default) Error() string

type CreateWebhookV2OK

type CreateWebhookV2OK struct {
	Payload *models.WebhookPagedMetadata
}

CreateWebhookV2OK handles this case with default header values.

success

func NewCreateWebhookV2OK

func NewCreateWebhookV2OK() *CreateWebhookV2OK

NewCreateWebhookV2OK creates a CreateWebhookV2OK with default headers values

func (*CreateWebhookV2OK) Error

func (o *CreateWebhookV2OK) Error() string

type CreateWebhookV2Params

type CreateWebhookV2Params struct {

	/*Request*/
	Request *models.CreateWebhookRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateWebhookV2Params contains all the parameters to send to the API endpoint for the create webhook v2 operation typically these are written to a http.Request

func NewCreateWebhookV2Params

func NewCreateWebhookV2Params() *CreateWebhookV2Params

NewCreateWebhookV2Params creates a new CreateWebhookV2Params object with the default values initialized.

func NewCreateWebhookV2ParamsWithContext

func NewCreateWebhookV2ParamsWithContext(ctx context.Context) *CreateWebhookV2Params

NewCreateWebhookV2ParamsWithContext creates a new CreateWebhookV2Params object with the default values initialized, and the ability to set a context for a request

func NewCreateWebhookV2ParamsWithHTTPClient

func NewCreateWebhookV2ParamsWithHTTPClient(client *http.Client) *CreateWebhookV2Params

NewCreateWebhookV2ParamsWithHTTPClient creates a new CreateWebhookV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateWebhookV2ParamsWithTimeout

func NewCreateWebhookV2ParamsWithTimeout(timeout time.Duration) *CreateWebhookV2Params

NewCreateWebhookV2ParamsWithTimeout creates a new CreateWebhookV2Params object with the default values initialized, and the ability to set a timeout on a request

func (*CreateWebhookV2Params) SetContext

func (o *CreateWebhookV2Params) SetContext(ctx context.Context)

SetContext adds the context to the create webhook v2 params

func (*CreateWebhookV2Params) SetHTTPClient

func (o *CreateWebhookV2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create webhook v2 params

func (*CreateWebhookV2Params) SetRequest

func (o *CreateWebhookV2Params) SetRequest(request *models.CreateWebhookRequest)

SetRequest adds the request to the create webhook v2 params

func (*CreateWebhookV2Params) SetTimeout

func (o *CreateWebhookV2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create webhook v2 params

func (*CreateWebhookV2Params) WithContext

WithContext adds the context to the create webhook v2 params

func (*CreateWebhookV2Params) WithHTTPClient

func (o *CreateWebhookV2Params) WithHTTPClient(client *http.Client) *CreateWebhookV2Params

WithHTTPClient adds the HTTPClient to the create webhook v2 params

func (*CreateWebhookV2Params) WithRequest

WithRequest adds the request to the create webhook v2 params

func (*CreateWebhookV2Params) WithTimeout

func (o *CreateWebhookV2Params) WithTimeout(timeout time.Duration) *CreateWebhookV2Params

WithTimeout adds the timeout to the create webhook v2 params

func (*CreateWebhookV2Params) WriteToRequest

func (o *CreateWebhookV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateWebhookV2Reader

type CreateWebhookV2Reader struct {
	// contains filtered or unexported fields
}

CreateWebhookV2Reader is a Reader for the CreateWebhookV2 structure.

func (*CreateWebhookV2Reader) ReadResponse

func (o *CreateWebhookV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAllWebhooksDefault

type GetAllWebhooksDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

GetAllWebhooksDefault handles this case with default header values.

error

func NewGetAllWebhooksDefault

func NewGetAllWebhooksDefault(code int) *GetAllWebhooksDefault

NewGetAllWebhooksDefault creates a GetAllWebhooksDefault with default headers values

func (*GetAllWebhooksDefault) Code

func (o *GetAllWebhooksDefault) Code() int

Code gets the status code for the get all webhooks default response

func (*GetAllWebhooksDefault) Error

func (o *GetAllWebhooksDefault) Error() string

type GetAllWebhooksOK

type GetAllWebhooksOK struct {
	Payload *models.WebhookPagedMetadata
}

GetAllWebhooksOK handles this case with default header values.

success

func NewGetAllWebhooksOK

func NewGetAllWebhooksOK() *GetAllWebhooksOK

NewGetAllWebhooksOK creates a GetAllWebhooksOK with default headers values

func (*GetAllWebhooksOK) Error

func (o *GetAllWebhooksOK) Error() string

type GetAllWebhooksParams

type GetAllWebhooksParams struct {

	/*IncludeRetired
	  Whether retired products should be returned.

	*/
	IncludeRetired *bool
	/*Offset
	  The offset from the first webhook to return.

	*/
	Offset *int32
	/*Order
	  Ihe direction of any ordering, either ASC or DESC.

	*/
	Order *string
	/*OrderBy
	  Specify a field used to order the result set.

	*/
	OrderBy *string
	/*Organizations
	  A list of organization-IDs used to restrict the scope of API calls.

	*/
	Organizations []string
	/*Records
	  The maximum number of webhooks to return.

	*/
	Records *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAllWebhooksParams contains all the parameters to send to the API endpoint for the get all webhooks operation typically these are written to a http.Request

func NewGetAllWebhooksParams

func NewGetAllWebhooksParams() *GetAllWebhooksParams

NewGetAllWebhooksParams creates a new GetAllWebhooksParams object with the default values initialized.

func NewGetAllWebhooksParamsWithContext

func NewGetAllWebhooksParamsWithContext(ctx context.Context) *GetAllWebhooksParams

NewGetAllWebhooksParamsWithContext creates a new GetAllWebhooksParams object with the default values initialized, and the ability to set a context for a request

func NewGetAllWebhooksParamsWithHTTPClient

func NewGetAllWebhooksParamsWithHTTPClient(client *http.Client) *GetAllWebhooksParams

NewGetAllWebhooksParamsWithHTTPClient creates a new GetAllWebhooksParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAllWebhooksParamsWithTimeout

func NewGetAllWebhooksParamsWithTimeout(timeout time.Duration) *GetAllWebhooksParams

NewGetAllWebhooksParamsWithTimeout creates a new GetAllWebhooksParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAllWebhooksParams) SetContext

func (o *GetAllWebhooksParams) SetContext(ctx context.Context)

SetContext adds the context to the get all webhooks params

func (*GetAllWebhooksParams) SetHTTPClient

func (o *GetAllWebhooksParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get all webhooks params

func (*GetAllWebhooksParams) SetIncludeRetired

func (o *GetAllWebhooksParams) SetIncludeRetired(includeRetired *bool)

SetIncludeRetired adds the includeRetired to the get all webhooks params

func (*GetAllWebhooksParams) SetOffset

func (o *GetAllWebhooksParams) SetOffset(offset *int32)

SetOffset adds the offset to the get all webhooks params

func (*GetAllWebhooksParams) SetOrder

func (o *GetAllWebhooksParams) SetOrder(order *string)

SetOrder adds the order to the get all webhooks params

func (*GetAllWebhooksParams) SetOrderBy

func (o *GetAllWebhooksParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the get all webhooks params

func (*GetAllWebhooksParams) SetOrganizations

func (o *GetAllWebhooksParams) SetOrganizations(organizations []string)

SetOrganizations adds the organizations to the get all webhooks params

func (*GetAllWebhooksParams) SetRecords

func (o *GetAllWebhooksParams) SetRecords(records *int32)

SetRecords adds the records to the get all webhooks params

func (*GetAllWebhooksParams) SetTimeout

func (o *GetAllWebhooksParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get all webhooks params

func (*GetAllWebhooksParams) WithContext

WithContext adds the context to the get all webhooks params

func (*GetAllWebhooksParams) WithHTTPClient

func (o *GetAllWebhooksParams) WithHTTPClient(client *http.Client) *GetAllWebhooksParams

WithHTTPClient adds the HTTPClient to the get all webhooks params

func (*GetAllWebhooksParams) WithIncludeRetired

func (o *GetAllWebhooksParams) WithIncludeRetired(includeRetired *bool) *GetAllWebhooksParams

WithIncludeRetired adds the includeRetired to the get all webhooks params

func (*GetAllWebhooksParams) WithOffset

func (o *GetAllWebhooksParams) WithOffset(offset *int32) *GetAllWebhooksParams

WithOffset adds the offset to the get all webhooks params

func (*GetAllWebhooksParams) WithOrder

func (o *GetAllWebhooksParams) WithOrder(order *string) *GetAllWebhooksParams

WithOrder adds the order to the get all webhooks params

func (*GetAllWebhooksParams) WithOrderBy

func (o *GetAllWebhooksParams) WithOrderBy(orderBy *string) *GetAllWebhooksParams

WithOrderBy adds the orderBy to the get all webhooks params

func (*GetAllWebhooksParams) WithOrganizations

func (o *GetAllWebhooksParams) WithOrganizations(organizations []string) *GetAllWebhooksParams

WithOrganizations adds the organizations to the get all webhooks params

func (*GetAllWebhooksParams) WithRecords

func (o *GetAllWebhooksParams) WithRecords(records *int32) *GetAllWebhooksParams

WithRecords adds the records to the get all webhooks params

func (*GetAllWebhooksParams) WithTimeout

func (o *GetAllWebhooksParams) WithTimeout(timeout time.Duration) *GetAllWebhooksParams

WithTimeout adds the timeout to the get all webhooks params

func (*GetAllWebhooksParams) WriteToRequest

func (o *GetAllWebhooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAllWebhooksReader

type GetAllWebhooksReader struct {
	// contains filtered or unexported fields
}

GetAllWebhooksReader is a Reader for the GetAllWebhooks structure.

func (*GetAllWebhooksReader) ReadResponse

func (o *GetAllWebhooksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetWebhookByIDDefault

type GetWebhookByIDDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

GetWebhookByIDDefault handles this case with default header values.

error

func NewGetWebhookByIDDefault

func NewGetWebhookByIDDefault(code int) *GetWebhookByIDDefault

NewGetWebhookByIDDefault creates a GetWebhookByIDDefault with default headers values

func (*GetWebhookByIDDefault) Code

func (o *GetWebhookByIDDefault) Code() int

Code gets the status code for the get webhook by ID default response

func (*GetWebhookByIDDefault) Error

func (o *GetWebhookByIDDefault) Error() string

type GetWebhookByIDOK

type GetWebhookByIDOK struct {
	Payload *models.WebhookPagedMetadata
}

GetWebhookByIDOK handles this case with default header values.

success

func NewGetWebhookByIDOK

func NewGetWebhookByIDOK() *GetWebhookByIDOK

NewGetWebhookByIDOK creates a GetWebhookByIDOK with default headers values

func (*GetWebhookByIDOK) Error

func (o *GetWebhookByIDOK) Error() string

type GetWebhookByIDParams

type GetWebhookByIDParams struct {

	/*Organizations
	  A list of organization-IDs used to restrict the scope of API calls.

	*/
	Organizations []string
	/*WebhookID
	  ID of the webhook.

	*/
	WebhookID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetWebhookByIDParams contains all the parameters to send to the API endpoint for the get webhook by ID operation typically these are written to a http.Request

func NewGetWebhookByIDParams

func NewGetWebhookByIDParams() *GetWebhookByIDParams

NewGetWebhookByIDParams creates a new GetWebhookByIDParams object with the default values initialized.

func NewGetWebhookByIDParamsWithContext

func NewGetWebhookByIDParamsWithContext(ctx context.Context) *GetWebhookByIDParams

NewGetWebhookByIDParamsWithContext creates a new GetWebhookByIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetWebhookByIDParamsWithHTTPClient

func NewGetWebhookByIDParamsWithHTTPClient(client *http.Client) *GetWebhookByIDParams

NewGetWebhookByIDParamsWithHTTPClient creates a new GetWebhookByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetWebhookByIDParamsWithTimeout

func NewGetWebhookByIDParamsWithTimeout(timeout time.Duration) *GetWebhookByIDParams

NewGetWebhookByIDParamsWithTimeout creates a new GetWebhookByIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetWebhookByIDParams) SetContext

func (o *GetWebhookByIDParams) SetContext(ctx context.Context)

SetContext adds the context to the get webhook by ID params

func (*GetWebhookByIDParams) SetHTTPClient

func (o *GetWebhookByIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get webhook by ID params

func (*GetWebhookByIDParams) SetOrganizations

func (o *GetWebhookByIDParams) SetOrganizations(organizations []string)

SetOrganizations adds the organizations to the get webhook by ID params

func (*GetWebhookByIDParams) SetTimeout

func (o *GetWebhookByIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get webhook by ID params

func (*GetWebhookByIDParams) SetWebhookID

func (o *GetWebhookByIDParams) SetWebhookID(webhookID string)

SetWebhookID adds the webhookId to the get webhook by ID params

func (*GetWebhookByIDParams) WithContext

WithContext adds the context to the get webhook by ID params

func (*GetWebhookByIDParams) WithHTTPClient

func (o *GetWebhookByIDParams) WithHTTPClient(client *http.Client) *GetWebhookByIDParams

WithHTTPClient adds the HTTPClient to the get webhook by ID params

func (*GetWebhookByIDParams) WithOrganizations

func (o *GetWebhookByIDParams) WithOrganizations(organizations []string) *GetWebhookByIDParams

WithOrganizations adds the organizations to the get webhook by ID params

func (*GetWebhookByIDParams) WithTimeout

func (o *GetWebhookByIDParams) WithTimeout(timeout time.Duration) *GetWebhookByIDParams

WithTimeout adds the timeout to the get webhook by ID params

func (*GetWebhookByIDParams) WithWebhookID

func (o *GetWebhookByIDParams) WithWebhookID(webhookID string) *GetWebhookByIDParams

WithWebhookID adds the webhookID to the get webhook by ID params

func (*GetWebhookByIDParams) WriteToRequest

func (o *GetWebhookByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetWebhookByIDReader

type GetWebhookByIDReader struct {
	// contains filtered or unexported fields
}

GetWebhookByIDReader is a Reader for the GetWebhookByID structure.

func (*GetWebhookByIDReader) ReadResponse

func (o *GetWebhookByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RetireWebhookDefault

type RetireWebhookDefault struct {
	Payload *models.BFError
	// contains filtered or unexported fields
}

RetireWebhookDefault handles this case with default header values.

error

func NewRetireWebhookDefault

func NewRetireWebhookDefault(code int) *RetireWebhookDefault

NewRetireWebhookDefault creates a RetireWebhookDefault with default headers values

func (*RetireWebhookDefault) Code

func (o *RetireWebhookDefault) Code() int

Code gets the status code for the retire webhook default response

func (*RetireWebhookDefault) Error

func (o *RetireWebhookDefault) Error() string

type RetireWebhookOK

type RetireWebhookOK struct {
	Payload *models.WebhookPagedMetadata
}

RetireWebhookOK handles this case with default header values.

success

func NewRetireWebhookOK

func NewRetireWebhookOK() *RetireWebhookOK

NewRetireWebhookOK creates a RetireWebhookOK with default headers values

func (*RetireWebhookOK) Error

func (o *RetireWebhookOK) Error() string

type RetireWebhookParams

type RetireWebhookParams struct {

	/*Organizations
	  A list of organization-IDs used to restrict the scope of API calls.

	*/
	Organizations []string
	/*WebhookID
	  ID of the webhook.

	*/
	WebhookID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RetireWebhookParams contains all the parameters to send to the API endpoint for the retire webhook operation typically these are written to a http.Request

func NewRetireWebhookParams

func NewRetireWebhookParams() *RetireWebhookParams

NewRetireWebhookParams creates a new RetireWebhookParams object with the default values initialized.

func NewRetireWebhookParamsWithContext

func NewRetireWebhookParamsWithContext(ctx context.Context) *RetireWebhookParams

NewRetireWebhookParamsWithContext creates a new RetireWebhookParams object with the default values initialized, and the ability to set a context for a request

func NewRetireWebhookParamsWithHTTPClient

func NewRetireWebhookParamsWithHTTPClient(client *http.Client) *RetireWebhookParams

NewRetireWebhookParamsWithHTTPClient creates a new RetireWebhookParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRetireWebhookParamsWithTimeout

func NewRetireWebhookParamsWithTimeout(timeout time.Duration) *RetireWebhookParams

NewRetireWebhookParamsWithTimeout creates a new RetireWebhookParams object with the default values initialized, and the ability to set a timeout on a request

func (*RetireWebhookParams) SetContext

func (o *RetireWebhookParams) SetContext(ctx context.Context)

SetContext adds the context to the retire webhook params

func (*RetireWebhookParams) SetHTTPClient

func (o *RetireWebhookParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the retire webhook params

func (*RetireWebhookParams) SetOrganizations

func (o *RetireWebhookParams) SetOrganizations(organizations []string)

SetOrganizations adds the organizations to the retire webhook params

func (*RetireWebhookParams) SetTimeout

func (o *RetireWebhookParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the retire webhook params

func (*RetireWebhookParams) SetWebhookID

func (o *RetireWebhookParams) SetWebhookID(webhookID string)

SetWebhookID adds the webhookId to the retire webhook params

func (*RetireWebhookParams) WithContext

WithContext adds the context to the retire webhook params

func (*RetireWebhookParams) WithHTTPClient

func (o *RetireWebhookParams) WithHTTPClient(client *http.Client) *RetireWebhookParams

WithHTTPClient adds the HTTPClient to the retire webhook params

func (*RetireWebhookParams) WithOrganizations

func (o *RetireWebhookParams) WithOrganizations(organizations []string) *RetireWebhookParams

WithOrganizations adds the organizations to the retire webhook params

func (*RetireWebhookParams) WithTimeout

func (o *RetireWebhookParams) WithTimeout(timeout time.Duration) *RetireWebhookParams

WithTimeout adds the timeout to the retire webhook params

func (*RetireWebhookParams) WithWebhookID

func (o *RetireWebhookParams) WithWebhookID(webhookID string) *RetireWebhookParams

WithWebhookID adds the webhookID to the retire webhook params

func (*RetireWebhookParams) WriteToRequest

func (o *RetireWebhookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RetireWebhookReader

type RetireWebhookReader struct {
	// contains filtered or unexported fields
}

RetireWebhookReader is a Reader for the RetireWebhook structure.

func (*RetireWebhookReader) ReadResponse

func (o *RetireWebhookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL