operations

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

func New

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

New creates a new operations API client.

func (*Client) DeleteCallsCallLog

func (a *Client) DeleteCallsCallLog(params *DeleteCallsCallLogParams) (*DeleteCallsCallLogAccepted, error)

DeleteCallsCallLog deletes call log entry

Delete call log entry

func (*Client) GetCallsCallLog

func (a *Client) GetCallsCallLog(params *GetCallsCallLogParams) (*GetCallsCallLogOK, error)

GetCallsCallLog gets call logs

Get call logs

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeleteCallsCallLogAccepted

type DeleteCallsCallLogAccepted struct {
}

DeleteCallsCallLogAccepted handles this case with default header values.

Log delete request accepted

func NewDeleteCallsCallLogAccepted

func NewDeleteCallsCallLogAccepted() *DeleteCallsCallLogAccepted

NewDeleteCallsCallLogAccepted creates a DeleteCallsCallLogAccepted with default headers values

func (*DeleteCallsCallLogAccepted) Error

type DeleteCallsCallLogDefault

type DeleteCallsCallLogDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteCallsCallLogDefault handles this case with default header values.

Unexpected error

func NewDeleteCallsCallLogDefault

func NewDeleteCallsCallLogDefault(code int) *DeleteCallsCallLogDefault

NewDeleteCallsCallLogDefault creates a DeleteCallsCallLogDefault with default headers values

func (*DeleteCallsCallLogDefault) Code

func (o *DeleteCallsCallLogDefault) Code() int

Code gets the status code for the delete calls call log default response

func (*DeleteCallsCallLogDefault) Error

func (o *DeleteCallsCallLogDefault) Error() string

type DeleteCallsCallLogNotFound

type DeleteCallsCallLogNotFound struct {
	Payload *models.Error
}

DeleteCallsCallLogNotFound handles this case with default header values.

Does not exist.

func NewDeleteCallsCallLogNotFound

func NewDeleteCallsCallLogNotFound() *DeleteCallsCallLogNotFound

NewDeleteCallsCallLogNotFound creates a DeleteCallsCallLogNotFound with default headers values

func (*DeleteCallsCallLogNotFound) Error

type DeleteCallsCallLogParams

type DeleteCallsCallLogParams struct {

	/*Call
	  Call ID.

	*/
	Call string

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

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

func NewDeleteCallsCallLogParams

func NewDeleteCallsCallLogParams() *DeleteCallsCallLogParams

NewDeleteCallsCallLogParams creates a new DeleteCallsCallLogParams object with the default values initialized.

func NewDeleteCallsCallLogParamsWithContext

func NewDeleteCallsCallLogParamsWithContext(ctx context.Context) *DeleteCallsCallLogParams

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

func NewDeleteCallsCallLogParamsWithHTTPClient

func NewDeleteCallsCallLogParamsWithHTTPClient(client *http.Client) *DeleteCallsCallLogParams

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

func NewDeleteCallsCallLogParamsWithTimeout

func NewDeleteCallsCallLogParamsWithTimeout(timeout time.Duration) *DeleteCallsCallLogParams

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

func (*DeleteCallsCallLogParams) SetCall

func (o *DeleteCallsCallLogParams) SetCall(call string)

SetCall adds the call to the delete calls call log params

func (*DeleteCallsCallLogParams) SetContext

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

SetContext adds the context to the delete calls call log params

func (*DeleteCallsCallLogParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete calls call log params

func (*DeleteCallsCallLogParams) SetTimeout

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

SetTimeout adds the timeout to the delete calls call log params

func (*DeleteCallsCallLogParams) WithCall

WithCall adds the call to the delete calls call log params

func (*DeleteCallsCallLogParams) WithContext

WithContext adds the context to the delete calls call log params

func (*DeleteCallsCallLogParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete calls call log params

func (*DeleteCallsCallLogParams) WithTimeout

WithTimeout adds the timeout to the delete calls call log params

func (*DeleteCallsCallLogParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCallsCallLogReader

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

DeleteCallsCallLogReader is a Reader for the DeleteCallsCallLog structure.

func (*DeleteCallsCallLogReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCallsCallLogNotFound

type GetCallsCallLogNotFound struct {
	Payload *models.Error
}

GetCallsCallLogNotFound handles this case with default header values.

Log not found.

func NewGetCallsCallLogNotFound

func NewGetCallsCallLogNotFound() *GetCallsCallLogNotFound

NewGetCallsCallLogNotFound creates a GetCallsCallLogNotFound with default headers values

func (*GetCallsCallLogNotFound) Error

func (o *GetCallsCallLogNotFound) Error() string

type GetCallsCallLogOK

type GetCallsCallLogOK struct {
	Payload *models.LogWrapper
}

GetCallsCallLogOK handles this case with default header values.

Log found

func NewGetCallsCallLogOK

func NewGetCallsCallLogOK() *GetCallsCallLogOK

NewGetCallsCallLogOK creates a GetCallsCallLogOK with default headers values

func (*GetCallsCallLogOK) Error

func (o *GetCallsCallLogOK) Error() string

type GetCallsCallLogParams

type GetCallsCallLogParams struct {

	/*Call
	  Call ID.

	*/
	Call string

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

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

func NewGetCallsCallLogParams

func NewGetCallsCallLogParams() *GetCallsCallLogParams

NewGetCallsCallLogParams creates a new GetCallsCallLogParams object with the default values initialized.

func NewGetCallsCallLogParamsWithContext

func NewGetCallsCallLogParamsWithContext(ctx context.Context) *GetCallsCallLogParams

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

func NewGetCallsCallLogParamsWithHTTPClient

func NewGetCallsCallLogParamsWithHTTPClient(client *http.Client) *GetCallsCallLogParams

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

func NewGetCallsCallLogParamsWithTimeout

func NewGetCallsCallLogParamsWithTimeout(timeout time.Duration) *GetCallsCallLogParams

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

func (*GetCallsCallLogParams) SetCall

func (o *GetCallsCallLogParams) SetCall(call string)

SetCall adds the call to the get calls call log params

func (*GetCallsCallLogParams) SetContext

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

SetContext adds the context to the get calls call log params

func (*GetCallsCallLogParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get calls call log params

func (*GetCallsCallLogParams) SetTimeout

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

SetTimeout adds the timeout to the get calls call log params

func (*GetCallsCallLogParams) WithCall

WithCall adds the call to the get calls call log params

func (*GetCallsCallLogParams) WithContext

WithContext adds the context to the get calls call log params

func (*GetCallsCallLogParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get calls call log params

func (*GetCallsCallLogParams) WithTimeout

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

WithTimeout adds the timeout to the get calls call log params

func (*GetCallsCallLogParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCallsCallLogReader

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

GetCallsCallLogReader is a Reader for the GetCallsCallLog structure.

func (*GetCallsCallLogReader) ReadResponse

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