webhook_logs

package
v0.0.0-...-b7c797c Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 10 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 webhook logs API

func (*Client) GetOrganizationWebhookLogs

func (a *Client) GetOrganizationWebhookLogs(params *GetOrganizationWebhookLogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationWebhookLogsOK, error)

GetOrganizationWebhookLogs gets organization webhook logs

Return the log of webhook POSTs sent

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetOrganizationWebhookLogs(params *GetOrganizationWebhookLogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationWebhookLogsOK, 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 webhook logs API client.

type GetOrganizationWebhookLogsOK

type GetOrganizationWebhookLogsOK struct {
	Payload interface{}
}

GetOrganizationWebhookLogsOK handles this case with default header values.

Successful operation

func NewGetOrganizationWebhookLogsOK

func NewGetOrganizationWebhookLogsOK() *GetOrganizationWebhookLogsOK

NewGetOrganizationWebhookLogsOK creates a GetOrganizationWebhookLogsOK with default headers values

func (*GetOrganizationWebhookLogsOK) Error

func (*GetOrganizationWebhookLogsOK) GetPayload

func (o *GetOrganizationWebhookLogsOK) GetPayload() interface{}

type GetOrganizationWebhookLogsParams

type GetOrganizationWebhookLogsParams struct {

	/*EndingBefore
	  A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

	*/
	EndingBefore *string
	/*OrganizationID*/
	OrganizationID string
	/*PerPage
	  The number of entries per page returned. Acceptable range is 3 - 1000. Default is 50.

	*/
	PerPage *int32
	/*StartingAfter
	  A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

	*/
	StartingAfter *string
	/*T0
	  The beginning of the timespan for the data. The maximum lookback period is 90 days from today.

	*/
	T0 *string
	/*T1
	  The end of the timespan for the data. t1 can be a maximum of 31 days after t0.

	*/
	T1 *string
	/*Timespan
	  The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 1 day.

	*/
	Timespan *float64
	/*URL
	  The URL the webhook was sent to

	*/
	URL *string

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

GetOrganizationWebhookLogsParams contains all the parameters to send to the API endpoint for the get organization webhook logs operation typically these are written to a http.Request

func NewGetOrganizationWebhookLogsParams

func NewGetOrganizationWebhookLogsParams() *GetOrganizationWebhookLogsParams

NewGetOrganizationWebhookLogsParams creates a new GetOrganizationWebhookLogsParams object with the default values initialized.

func NewGetOrganizationWebhookLogsParamsWithContext

func NewGetOrganizationWebhookLogsParamsWithContext(ctx context.Context) *GetOrganizationWebhookLogsParams

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

func NewGetOrganizationWebhookLogsParamsWithHTTPClient

func NewGetOrganizationWebhookLogsParamsWithHTTPClient(client *http.Client) *GetOrganizationWebhookLogsParams

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

func NewGetOrganizationWebhookLogsParamsWithTimeout

func NewGetOrganizationWebhookLogsParamsWithTimeout(timeout time.Duration) *GetOrganizationWebhookLogsParams

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

func (*GetOrganizationWebhookLogsParams) SetContext

SetContext adds the context to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) SetEndingBefore

func (o *GetOrganizationWebhookLogsParams) SetEndingBefore(endingBefore *string)

SetEndingBefore adds the endingBefore to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) SetOrganizationID

func (o *GetOrganizationWebhookLogsParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) SetPerPage

func (o *GetOrganizationWebhookLogsParams) SetPerPage(perPage *int32)

SetPerPage adds the perPage to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) SetStartingAfter

func (o *GetOrganizationWebhookLogsParams) SetStartingAfter(startingAfter *string)

SetStartingAfter adds the startingAfter to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) SetT0

SetT0 adds the t0 to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) SetT1

SetT1 adds the t1 to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) SetTimeout

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

SetTimeout adds the timeout to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) SetTimespan

func (o *GetOrganizationWebhookLogsParams) SetTimespan(timespan *float64)

SetTimespan adds the timespan to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) SetURL

func (o *GetOrganizationWebhookLogsParams) SetURL(url *string)

SetURL adds the url to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) WithContext

WithContext adds the context to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) WithEndingBefore

func (o *GetOrganizationWebhookLogsParams) WithEndingBefore(endingBefore *string) *GetOrganizationWebhookLogsParams

WithEndingBefore adds the endingBefore to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) WithOrganizationID

func (o *GetOrganizationWebhookLogsParams) WithOrganizationID(organizationID string) *GetOrganizationWebhookLogsParams

WithOrganizationID adds the organizationID to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) WithPerPage

WithPerPage adds the perPage to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) WithStartingAfter

func (o *GetOrganizationWebhookLogsParams) WithStartingAfter(startingAfter *string) *GetOrganizationWebhookLogsParams

WithStartingAfter adds the startingAfter to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) WithT0

WithT0 adds the t0 to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) WithT1

WithT1 adds the t1 to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) WithTimeout

WithTimeout adds the timeout to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) WithTimespan

WithTimespan adds the timespan to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) WithURL

WithURL adds the url to the get organization webhook logs params

func (*GetOrganizationWebhookLogsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrganizationWebhookLogsReader

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

GetOrganizationWebhookLogsReader is a Reader for the GetOrganizationWebhookLogs structure.

func (*GetOrganizationWebhookLogsReader) ReadResponse

func (o *GetOrganizationWebhookLogsReader) 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