Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetOrganizationWebhookLogsOK
- type GetOrganizationWebhookLogsParams
- func NewGetOrganizationWebhookLogsParams() *GetOrganizationWebhookLogsParams
- func NewGetOrganizationWebhookLogsParamsWithContext(ctx context.Context) *GetOrganizationWebhookLogsParams
- func NewGetOrganizationWebhookLogsParamsWithHTTPClient(client *http.Client) *GetOrganizationWebhookLogsParams
- func NewGetOrganizationWebhookLogsParamsWithTimeout(timeout time.Duration) *GetOrganizationWebhookLogsParams
- func (o *GetOrganizationWebhookLogsParams) SetContext(ctx context.Context)
- func (o *GetOrganizationWebhookLogsParams) SetEndingBefore(endingBefore *string)
- func (o *GetOrganizationWebhookLogsParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationWebhookLogsParams) SetOrganizationID(organizationID string)
- func (o *GetOrganizationWebhookLogsParams) SetPerPage(perPage *int32)
- func (o *GetOrganizationWebhookLogsParams) SetStartingAfter(startingAfter *string)
- func (o *GetOrganizationWebhookLogsParams) SetT0(t0 *string)
- func (o *GetOrganizationWebhookLogsParams) SetT1(t1 *string)
- func (o *GetOrganizationWebhookLogsParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationWebhookLogsParams) SetTimespan(timespan *float64)
- func (o *GetOrganizationWebhookLogsParams) SetURL(url *string)
- func (o *GetOrganizationWebhookLogsParams) WithContext(ctx context.Context) *GetOrganizationWebhookLogsParams
- func (o *GetOrganizationWebhookLogsParams) WithEndingBefore(endingBefore *string) *GetOrganizationWebhookLogsParams
- func (o *GetOrganizationWebhookLogsParams) WithHTTPClient(client *http.Client) *GetOrganizationWebhookLogsParams
- func (o *GetOrganizationWebhookLogsParams) WithOrganizationID(organizationID string) *GetOrganizationWebhookLogsParams
- func (o *GetOrganizationWebhookLogsParams) WithPerPage(perPage *int32) *GetOrganizationWebhookLogsParams
- func (o *GetOrganizationWebhookLogsParams) WithStartingAfter(startingAfter *string) *GetOrganizationWebhookLogsParams
- func (o *GetOrganizationWebhookLogsParams) WithT0(t0 *string) *GetOrganizationWebhookLogsParams
- func (o *GetOrganizationWebhookLogsParams) WithT1(t1 *string) *GetOrganizationWebhookLogsParams
- func (o *GetOrganizationWebhookLogsParams) WithTimeout(timeout time.Duration) *GetOrganizationWebhookLogsParams
- func (o *GetOrganizationWebhookLogsParams) WithTimespan(timespan *float64) *GetOrganizationWebhookLogsParams
- func (o *GetOrganizationWebhookLogsParams) WithURL(url *string) *GetOrganizationWebhookLogsParams
- func (o *GetOrganizationWebhookLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationWebhookLogsReader
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 (o *GetOrganizationWebhookLogsOK) Error() string
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 ¶
func (o *GetOrganizationWebhookLogsParams) SetContext(ctx context.Context)
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 ¶
func (o *GetOrganizationWebhookLogsParams) SetT0(t0 *string)
SetT0 adds the t0 to the get organization webhook logs params
func (*GetOrganizationWebhookLogsParams) SetT1 ¶
func (o *GetOrganizationWebhookLogsParams) SetT1(t1 *string)
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 ¶
func (o *GetOrganizationWebhookLogsParams) WithContext(ctx context.Context) *GetOrganizationWebhookLogsParams
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 ¶
func (o *GetOrganizationWebhookLogsParams) WithHTTPClient(client *http.Client) *GetOrganizationWebhookLogsParams
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 ¶
func (o *GetOrganizationWebhookLogsParams) WithPerPage(perPage *int32) *GetOrganizationWebhookLogsParams
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 ¶
func (o *GetOrganizationWebhookLogsParams) WithT0(t0 *string) *GetOrganizationWebhookLogsParams
WithT0 adds the t0 to the get organization webhook logs params
func (*GetOrganizationWebhookLogsParams) WithT1 ¶
func (o *GetOrganizationWebhookLogsParams) WithT1(t1 *string) *GetOrganizationWebhookLogsParams
WithT1 adds the t1 to the get organization webhook logs params
func (*GetOrganizationWebhookLogsParams) WithTimeout ¶
func (o *GetOrganizationWebhookLogsParams) WithTimeout(timeout time.Duration) *GetOrganizationWebhookLogsParams
WithTimeout adds the timeout to the get organization webhook logs params
func (*GetOrganizationWebhookLogsParams) WithTimespan ¶
func (o *GetOrganizationWebhookLogsParams) WithTimespan(timespan *float64) *GetOrganizationWebhookLogsParams
WithTimespan adds the timespan to the get organization webhook logs params
func (*GetOrganizationWebhookLogsParams) WithURL ¶
func (o *GetOrganizationWebhookLogsParams) WithURL(url *string) *GetOrganizationWebhookLogsParams
WithURL adds the url to the get organization webhook logs params
func (*GetOrganizationWebhookLogsParams) WriteToRequest ¶
func (o *GetOrganizationWebhookLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.