call

package
v0.0.0-...-5d9948e Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2017 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 call API

func New

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

New creates a new call API client.

func (*Client) GetAppsAppCallsRoute

func (a *Client) GetAppsAppCallsRoute(params *GetAppsAppCallsRouteParams) (*GetAppsAppCallsRouteOK, error)

GetAppsAppCallsRoute gets route bound calls

Get route-bound calls.

func (*Client) GetCallsCall

func (a *Client) GetCallsCall(params *GetCallsCallParams) (*GetCallsCallOK, error)

GetCallsCall gets call information

Get call information

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetAppsAppCallsRouteNotFound

type GetAppsAppCallsRouteNotFound struct {
	Payload *models.Error
}

GetAppsAppCallsRouteNotFound handles this case with default header values.

Calls not found.

func NewGetAppsAppCallsRouteNotFound

func NewGetAppsAppCallsRouteNotFound() *GetAppsAppCallsRouteNotFound

NewGetAppsAppCallsRouteNotFound creates a GetAppsAppCallsRouteNotFound with default headers values

func (*GetAppsAppCallsRouteNotFound) Error

type GetAppsAppCallsRouteOK

type GetAppsAppCallsRouteOK struct {
	Payload *models.CallsWrapper
}

GetAppsAppCallsRouteOK handles this case with default header values.

Calls found

func NewGetAppsAppCallsRouteOK

func NewGetAppsAppCallsRouteOK() *GetAppsAppCallsRouteOK

NewGetAppsAppCallsRouteOK creates a GetAppsAppCallsRouteOK with default headers values

func (*GetAppsAppCallsRouteOK) Error

func (o *GetAppsAppCallsRouteOK) Error() string

type GetAppsAppCallsRouteParams

type GetAppsAppCallsRouteParams struct {

	/*App
	  App name.

	*/
	App string
	/*Route
	  App route.

	*/
	Route string

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

GetAppsAppCallsRouteParams contains all the parameters to send to the API endpoint for the get apps app calls route operation typically these are written to a http.Request

func NewGetAppsAppCallsRouteParams

func NewGetAppsAppCallsRouteParams() *GetAppsAppCallsRouteParams

NewGetAppsAppCallsRouteParams creates a new GetAppsAppCallsRouteParams object with the default values initialized.

func NewGetAppsAppCallsRouteParamsWithContext

func NewGetAppsAppCallsRouteParamsWithContext(ctx context.Context) *GetAppsAppCallsRouteParams

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

func NewGetAppsAppCallsRouteParamsWithHTTPClient

func NewGetAppsAppCallsRouteParamsWithHTTPClient(client *http.Client) *GetAppsAppCallsRouteParams

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

func NewGetAppsAppCallsRouteParamsWithTimeout

func NewGetAppsAppCallsRouteParamsWithTimeout(timeout time.Duration) *GetAppsAppCallsRouteParams

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

func (*GetAppsAppCallsRouteParams) SetApp

func (o *GetAppsAppCallsRouteParams) SetApp(app string)

SetApp adds the app to the get apps app calls route params

func (*GetAppsAppCallsRouteParams) SetContext

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

SetContext adds the context to the get apps app calls route params

func (*GetAppsAppCallsRouteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get apps app calls route params

func (*GetAppsAppCallsRouteParams) SetRoute

func (o *GetAppsAppCallsRouteParams) SetRoute(route string)

SetRoute adds the route to the get apps app calls route params

func (*GetAppsAppCallsRouteParams) SetTimeout

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

SetTimeout adds the timeout to the get apps app calls route params

func (*GetAppsAppCallsRouteParams) WithApp

WithApp adds the app to the get apps app calls route params

func (*GetAppsAppCallsRouteParams) WithContext

WithContext adds the context to the get apps app calls route params

func (*GetAppsAppCallsRouteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get apps app calls route params

func (*GetAppsAppCallsRouteParams) WithRoute

WithRoute adds the route to the get apps app calls route params

func (*GetAppsAppCallsRouteParams) WithTimeout

WithTimeout adds the timeout to the get apps app calls route params

func (*GetAppsAppCallsRouteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAppsAppCallsRouteReader

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

GetAppsAppCallsRouteReader is a Reader for the GetAppsAppCallsRoute structure.

func (*GetAppsAppCallsRouteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCallsCallNotFound

type GetCallsCallNotFound struct {
	Payload *models.Error
}

GetCallsCallNotFound handles this case with default header values.

Call not found.

func NewGetCallsCallNotFound

func NewGetCallsCallNotFound() *GetCallsCallNotFound

NewGetCallsCallNotFound creates a GetCallsCallNotFound with default headers values

func (*GetCallsCallNotFound) Error

func (o *GetCallsCallNotFound) Error() string

type GetCallsCallOK

type GetCallsCallOK struct {
	Payload *models.CallWrapper
}

GetCallsCallOK handles this case with default header values.

Call found

func NewGetCallsCallOK

func NewGetCallsCallOK() *GetCallsCallOK

NewGetCallsCallOK creates a GetCallsCallOK with default headers values

func (*GetCallsCallOK) Error

func (o *GetCallsCallOK) Error() string

type GetCallsCallParams

type GetCallsCallParams struct {

	/*Call
	  Call ID.

	*/
	Call string

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

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

func NewGetCallsCallParams

func NewGetCallsCallParams() *GetCallsCallParams

NewGetCallsCallParams creates a new GetCallsCallParams object with the default values initialized.

func NewGetCallsCallParamsWithContext

func NewGetCallsCallParamsWithContext(ctx context.Context) *GetCallsCallParams

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

func NewGetCallsCallParamsWithHTTPClient

func NewGetCallsCallParamsWithHTTPClient(client *http.Client) *GetCallsCallParams

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

func NewGetCallsCallParamsWithTimeout

func NewGetCallsCallParamsWithTimeout(timeout time.Duration) *GetCallsCallParams

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

func (*GetCallsCallParams) SetCall

func (o *GetCallsCallParams) SetCall(call string)

SetCall adds the call to the get calls call params

func (*GetCallsCallParams) SetContext

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

SetContext adds the context to the get calls call params

func (*GetCallsCallParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get calls call params

func (*GetCallsCallParams) SetTimeout

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

SetTimeout adds the timeout to the get calls call params

func (*GetCallsCallParams) WithCall

func (o *GetCallsCallParams) WithCall(call string) *GetCallsCallParams

WithCall adds the call to the get calls call params

func (*GetCallsCallParams) WithContext

WithContext adds the context to the get calls call params

func (*GetCallsCallParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get calls call params

func (*GetCallsCallParams) WithTimeout

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

WithTimeout adds the timeout to the get calls call params

func (*GetCallsCallParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCallsCallReader

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

GetCallsCallReader is a Reader for the GetCallsCall structure.

func (*GetCallsCallReader) ReadResponse

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