call

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 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 call API

func New

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

New creates a new call API client.

func (*Client) GetFnsFnIDCalls

func (a *Client) GetFnsFnIDCalls(params *GetFnsFnIDCallsParams) (*GetFnsFnIDCallsOK, error)

GetFnsFnIDCalls gets a fns calls

Get a functions calls, results returned in created_at, descending order (newest first).

func (*Client) GetFnsFnIDCallsCallID

func (a *Client) GetFnsFnIDCallsCallID(params *GetFnsFnIDCallsCallIDParams) (*GetFnsFnIDCallsCallIDOK, error)

GetFnsFnIDCallsCallID gets call information

Get call information

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetFnsFnIDCallsCallIDGone

type GetFnsFnIDCallsCallIDGone struct {
}

GetFnsFnIDCallsCallIDGone handles this case with default header values.

Server does not support this operation.

func NewGetFnsFnIDCallsCallIDGone

func NewGetFnsFnIDCallsCallIDGone() *GetFnsFnIDCallsCallIDGone

NewGetFnsFnIDCallsCallIDGone creates a GetFnsFnIDCallsCallIDGone with default headers values

func (*GetFnsFnIDCallsCallIDGone) Error

func (o *GetFnsFnIDCallsCallIDGone) Error() string

type GetFnsFnIDCallsCallIDNotFound

type GetFnsFnIDCallsCallIDNotFound struct {
	Payload *modelsv2.Error
}

GetFnsFnIDCallsCallIDNotFound handles this case with default header values.

Call not found.

func NewGetFnsFnIDCallsCallIDNotFound

func NewGetFnsFnIDCallsCallIDNotFound() *GetFnsFnIDCallsCallIDNotFound

NewGetFnsFnIDCallsCallIDNotFound creates a GetFnsFnIDCallsCallIDNotFound with default headers values

func (*GetFnsFnIDCallsCallIDNotFound) Error

type GetFnsFnIDCallsCallIDOK

type GetFnsFnIDCallsCallIDOK struct {
	Payload *modelsv2.Call
}

GetFnsFnIDCallsCallIDOK handles this case with default header values.

Call found.

func NewGetFnsFnIDCallsCallIDOK

func NewGetFnsFnIDCallsCallIDOK() *GetFnsFnIDCallsCallIDOK

NewGetFnsFnIDCallsCallIDOK creates a GetFnsFnIDCallsCallIDOK with default headers values

func (*GetFnsFnIDCallsCallIDOK) Error

func (o *GetFnsFnIDCallsCallIDOK) Error() string

type GetFnsFnIDCallsCallIDParams

type GetFnsFnIDCallsCallIDParams struct {

	/*CallID
	  Opaque, unique Call ID.

	*/
	CallID string
	/*FnID
	  Opaque, unique Function ID.

	*/
	FnID string

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

GetFnsFnIDCallsCallIDParams contains all the parameters to send to the API endpoint for the get fns fn ID calls call ID operation typically these are written to a http.Request

func NewGetFnsFnIDCallsCallIDParams

func NewGetFnsFnIDCallsCallIDParams() *GetFnsFnIDCallsCallIDParams

NewGetFnsFnIDCallsCallIDParams creates a new GetFnsFnIDCallsCallIDParams object with the default values initialized.

func NewGetFnsFnIDCallsCallIDParamsWithContext

func NewGetFnsFnIDCallsCallIDParamsWithContext(ctx context.Context) *GetFnsFnIDCallsCallIDParams

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

func NewGetFnsFnIDCallsCallIDParamsWithHTTPClient

func NewGetFnsFnIDCallsCallIDParamsWithHTTPClient(client *http.Client) *GetFnsFnIDCallsCallIDParams

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

func NewGetFnsFnIDCallsCallIDParamsWithTimeout

func NewGetFnsFnIDCallsCallIDParamsWithTimeout(timeout time.Duration) *GetFnsFnIDCallsCallIDParams

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

func (*GetFnsFnIDCallsCallIDParams) SetCallID

func (o *GetFnsFnIDCallsCallIDParams) SetCallID(callID string)

SetCallID adds the callId to the get fns fn ID calls call ID params

func (*GetFnsFnIDCallsCallIDParams) SetContext

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

SetContext adds the context to the get fns fn ID calls call ID params

func (*GetFnsFnIDCallsCallIDParams) SetFnID

func (o *GetFnsFnIDCallsCallIDParams) SetFnID(fnID string)

SetFnID adds the fnId to the get fns fn ID calls call ID params

func (*GetFnsFnIDCallsCallIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get fns fn ID calls call ID params

func (*GetFnsFnIDCallsCallIDParams) SetTimeout

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

SetTimeout adds the timeout to the get fns fn ID calls call ID params

func (*GetFnsFnIDCallsCallIDParams) WithCallID

WithCallID adds the callID to the get fns fn ID calls call ID params

func (*GetFnsFnIDCallsCallIDParams) WithContext

WithContext adds the context to the get fns fn ID calls call ID params

func (*GetFnsFnIDCallsCallIDParams) WithFnID

WithFnID adds the fnID to the get fns fn ID calls call ID params

func (*GetFnsFnIDCallsCallIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get fns fn ID calls call ID params

func (*GetFnsFnIDCallsCallIDParams) WithTimeout

WithTimeout adds the timeout to the get fns fn ID calls call ID params

func (*GetFnsFnIDCallsCallIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFnsFnIDCallsCallIDReader

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

GetFnsFnIDCallsCallIDReader is a Reader for the GetFnsFnIDCallsCallID structure.

func (*GetFnsFnIDCallsCallIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFnsFnIDCallsGone

type GetFnsFnIDCallsGone struct {
}

GetFnsFnIDCallsGone handles this case with default header values.

Server does not support this operation.

func NewGetFnsFnIDCallsGone

func NewGetFnsFnIDCallsGone() *GetFnsFnIDCallsGone

NewGetFnsFnIDCallsGone creates a GetFnsFnIDCallsGone with default headers values

func (*GetFnsFnIDCallsGone) Error

func (o *GetFnsFnIDCallsGone) Error() string

type GetFnsFnIDCallsNotFound

type GetFnsFnIDCallsNotFound struct {
	Payload *modelsv2.Error
}

GetFnsFnIDCallsNotFound handles this case with default header values.

Calls not found

func NewGetFnsFnIDCallsNotFound

func NewGetFnsFnIDCallsNotFound() *GetFnsFnIDCallsNotFound

NewGetFnsFnIDCallsNotFound creates a GetFnsFnIDCallsNotFound with default headers values

func (*GetFnsFnIDCallsNotFound) Error

func (o *GetFnsFnIDCallsNotFound) Error() string

type GetFnsFnIDCallsOK

type GetFnsFnIDCallsOK struct {
	Payload *modelsv2.CallList
}

GetFnsFnIDCallsOK handles this case with default header values.

List of Calls

func NewGetFnsFnIDCallsOK

func NewGetFnsFnIDCallsOK() *GetFnsFnIDCallsOK

NewGetFnsFnIDCallsOK creates a GetFnsFnIDCallsOK with default headers values

func (*GetFnsFnIDCallsOK) Error

func (o *GetFnsFnIDCallsOK) Error() string

type GetFnsFnIDCallsParams

type GetFnsFnIDCallsParams struct {

	/*Cursor
	  Cursor from previous response.next_cursor to begin results after, if any.

	*/
	Cursor *string
	/*FnID
	  Opaque, unique Function ID.

	*/
	FnID string
	/*FromTime
	  Unix timestamp in seconds, of call.created_at to begin the results at, default 0.

	*/
	FromTime *int64
	/*PerPage
	  Number of results to return, defaults to 30. Max of 100.

	*/
	PerPage *int64
	/*ToTime
	  Unix timestamp in seconds, of call.created_at to end the results at, defaults to latest.

	*/
	ToTime *int64

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

GetFnsFnIDCallsParams contains all the parameters to send to the API endpoint for the get fns fn ID calls operation typically these are written to a http.Request

func NewGetFnsFnIDCallsParams

func NewGetFnsFnIDCallsParams() *GetFnsFnIDCallsParams

NewGetFnsFnIDCallsParams creates a new GetFnsFnIDCallsParams object with the default values initialized.

func NewGetFnsFnIDCallsParamsWithContext

func NewGetFnsFnIDCallsParamsWithContext(ctx context.Context) *GetFnsFnIDCallsParams

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

func NewGetFnsFnIDCallsParamsWithHTTPClient

func NewGetFnsFnIDCallsParamsWithHTTPClient(client *http.Client) *GetFnsFnIDCallsParams

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

func NewGetFnsFnIDCallsParamsWithTimeout

func NewGetFnsFnIDCallsParamsWithTimeout(timeout time.Duration) *GetFnsFnIDCallsParams

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

func (*GetFnsFnIDCallsParams) SetContext

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

SetContext adds the context to the get fns fn ID calls params

func (*GetFnsFnIDCallsParams) SetCursor

func (o *GetFnsFnIDCallsParams) SetCursor(cursor *string)

SetCursor adds the cursor to the get fns fn ID calls params

func (*GetFnsFnIDCallsParams) SetFnID

func (o *GetFnsFnIDCallsParams) SetFnID(fnID string)

SetFnID adds the fnId to the get fns fn ID calls params

func (*GetFnsFnIDCallsParams) SetFromTime

func (o *GetFnsFnIDCallsParams) SetFromTime(fromTime *int64)

SetFromTime adds the fromTime to the get fns fn ID calls params

func (*GetFnsFnIDCallsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get fns fn ID calls params

func (*GetFnsFnIDCallsParams) SetPerPage

func (o *GetFnsFnIDCallsParams) SetPerPage(perPage *int64)

SetPerPage adds the perPage to the get fns fn ID calls params

func (*GetFnsFnIDCallsParams) SetTimeout

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

SetTimeout adds the timeout to the get fns fn ID calls params

func (*GetFnsFnIDCallsParams) SetToTime

func (o *GetFnsFnIDCallsParams) SetToTime(toTime *int64)

SetToTime adds the toTime to the get fns fn ID calls params

func (*GetFnsFnIDCallsParams) WithContext

WithContext adds the context to the get fns fn ID calls params

func (*GetFnsFnIDCallsParams) WithCursor

func (o *GetFnsFnIDCallsParams) WithCursor(cursor *string) *GetFnsFnIDCallsParams

WithCursor adds the cursor to the get fns fn ID calls params

func (*GetFnsFnIDCallsParams) WithFnID

WithFnID adds the fnID to the get fns fn ID calls params

func (*GetFnsFnIDCallsParams) WithFromTime

func (o *GetFnsFnIDCallsParams) WithFromTime(fromTime *int64) *GetFnsFnIDCallsParams

WithFromTime adds the fromTime to the get fns fn ID calls params

func (*GetFnsFnIDCallsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get fns fn ID calls params

func (*GetFnsFnIDCallsParams) WithPerPage

func (o *GetFnsFnIDCallsParams) WithPerPage(perPage *int64) *GetFnsFnIDCallsParams

WithPerPage adds the perPage to the get fns fn ID calls params

func (*GetFnsFnIDCallsParams) WithTimeout

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

WithTimeout adds the timeout to the get fns fn ID calls params

func (*GetFnsFnIDCallsParams) WithToTime

func (o *GetFnsFnIDCallsParams) WithToTime(toTime *int64) *GetFnsFnIDCallsParams

WithToTime adds the toTime to the get fns fn ID calls params

func (*GetFnsFnIDCallsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetFnsFnIDCallsReader

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

GetFnsFnIDCallsReader is a Reader for the GetFnsFnIDCalls structure.

func (*GetFnsFnIDCallsReader) ReadResponse

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