installations

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 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 installations API

func (*Client) GetInstallationsDevices

func (a *Client) GetInstallationsDevices(params *GetInstallationsDevicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInstallationsDevicesOK, error)

GetInstallationsDevices gets devices registered for installation ordered by current user s location

func (*Client) GetInstallationsID

func (a *Client) GetInstallationsID(params *GetInstallationsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInstallationsIDOK, error)

GetInstallationsID gets installation data

func (*Client) GetInstallationsIDMacConfiguration

func (a *Client) GetInstallationsIDMacConfiguration(params *GetInstallationsIDMacConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInstallationsIDMacConfigurationOK, error)

GetInstallationsIDMacConfiguration gets recommended device configuration

func (*Client) PostInstallations

func (a *Client) PostInstallations(params *PostInstallationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostInstallationsOK, error)

PostInstallations initiates new installation

func (*Client) PostInstallationsCoverage

func (a *Client) PostInstallationsCoverage(params *PostInstallationsCoverageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostInstallationsCoverageOK, error)

PostInstallationsCoverage returns modulation coverage in monitored area

func (*Client) PostInstallationsDevices

func (a *Client) PostInstallationsDevices(params *PostInstallationsDevicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostInstallationsDevicesOK, error)

PostInstallationsDevices registers device for installation

func (*Client) PostInstallationsIDChat

func (a *Client) PostInstallationsIDChat(params *PostInstallationsIDChatParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostInstallationsIDChatOK, error)

PostInstallationsIDChat adds chat message to the installation

func (*Client) PostUserLocation

func (a *Client) PostUserLocation(params *PostUserLocationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostUserLocationOK, error)

PostUserLocation updates user s location

func (*Client) PutInstallationsIDMac

func (a *Client) PutInstallationsIDMac(params *PutInstallationsIDMacParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutInstallationsIDMacOK, error)

PutInstallationsIDMac sets device installation data

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetInstallationsDevices(params *GetInstallationsDevicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInstallationsDevicesOK, error)

	GetInstallationsID(params *GetInstallationsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInstallationsIDOK, error)

	GetInstallationsIDMacConfiguration(params *GetInstallationsIDMacConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInstallationsIDMacConfigurationOK, error)

	PostInstallations(params *PostInstallationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostInstallationsOK, error)

	PostInstallationsCoverage(params *PostInstallationsCoverageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostInstallationsCoverageOK, error)

	PostInstallationsDevices(params *PostInstallationsDevicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostInstallationsDevicesOK, error)

	PostInstallationsIDChat(params *PostInstallationsIDChatParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostInstallationsIDChatOK, error)

	PostUserLocation(params *PostUserLocationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostUserLocationOK, error)

	PutInstallationsIDMac(params *PutInstallationsIDMacParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutInstallationsIDMacOK, 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 installations API client.

type GetInstallationsDevicesForbidden

type GetInstallationsDevicesForbidden struct {
	Payload *models.Error
}
GetInstallationsDevicesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetInstallationsDevicesForbidden

func NewGetInstallationsDevicesForbidden() *GetInstallationsDevicesForbidden

NewGetInstallationsDevicesForbidden creates a GetInstallationsDevicesForbidden with default headers values

func (*GetInstallationsDevicesForbidden) Error

func (*GetInstallationsDevicesForbidden) GetPayload

type GetInstallationsDevicesInternalServerError

type GetInstallationsDevicesInternalServerError struct {
	Payload *models.Error
}
GetInstallationsDevicesInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetInstallationsDevicesInternalServerError

func NewGetInstallationsDevicesInternalServerError() *GetInstallationsDevicesInternalServerError

NewGetInstallationsDevicesInternalServerError creates a GetInstallationsDevicesInternalServerError with default headers values

func (*GetInstallationsDevicesInternalServerError) Error

func (*GetInstallationsDevicesInternalServerError) GetPayload

type GetInstallationsDevicesOK

type GetInstallationsDevicesOK struct {
	Payload models.InstallationDeviceList
}
GetInstallationsDevicesOK describes a response with status code 200, with default header values.

Successful

func NewGetInstallationsDevicesOK

func NewGetInstallationsDevicesOK() *GetInstallationsDevicesOK

NewGetInstallationsDevicesOK creates a GetInstallationsDevicesOK with default headers values

func (*GetInstallationsDevicesOK) Error

func (o *GetInstallationsDevicesOK) Error() string

func (*GetInstallationsDevicesOK) GetPayload

type GetInstallationsDevicesParams

type GetInstallationsDevicesParams struct {

	/* Count.

	   How many devices to get.

	   Default: 100
	*/
	Count *float64

	// Latitude.
	Latitude *float64

	// Longitude.
	Longitude *float64

	/* UserID.

	   If specified, get only devices registered by given users.
	*/
	UserID []string

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

GetInstallationsDevicesParams contains all the parameters to send to the API endpoint

for the get installations devices operation.

Typically these are written to a http.Request.

func NewGetInstallationsDevicesParams

func NewGetInstallationsDevicesParams() *GetInstallationsDevicesParams

NewGetInstallationsDevicesParams creates a new GetInstallationsDevicesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetInstallationsDevicesParamsWithContext

func NewGetInstallationsDevicesParamsWithContext(ctx context.Context) *GetInstallationsDevicesParams

NewGetInstallationsDevicesParamsWithContext creates a new GetInstallationsDevicesParams object with the ability to set a context for a request.

func NewGetInstallationsDevicesParamsWithHTTPClient

func NewGetInstallationsDevicesParamsWithHTTPClient(client *http.Client) *GetInstallationsDevicesParams

NewGetInstallationsDevicesParamsWithHTTPClient creates a new GetInstallationsDevicesParams object with the ability to set a custom HTTPClient for a request.

func NewGetInstallationsDevicesParamsWithTimeout

func NewGetInstallationsDevicesParamsWithTimeout(timeout time.Duration) *GetInstallationsDevicesParams

NewGetInstallationsDevicesParamsWithTimeout creates a new GetInstallationsDevicesParams object with the ability to set a timeout on a request.

func (*GetInstallationsDevicesParams) SetContext

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

SetContext adds the context to the get installations devices params

func (*GetInstallationsDevicesParams) SetCount

func (o *GetInstallationsDevicesParams) SetCount(count *float64)

SetCount adds the count to the get installations devices params

func (*GetInstallationsDevicesParams) SetDefaults

func (o *GetInstallationsDevicesParams) SetDefaults()

SetDefaults hydrates default values in the get installations devices params (not the query body).

All values with no default are reset to their zero value.

func (*GetInstallationsDevicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get installations devices params

func (*GetInstallationsDevicesParams) SetLatitude

func (o *GetInstallationsDevicesParams) SetLatitude(latitude *float64)

SetLatitude adds the latitude to the get installations devices params

func (*GetInstallationsDevicesParams) SetLongitude

func (o *GetInstallationsDevicesParams) SetLongitude(longitude *float64)

SetLongitude adds the longitude to the get installations devices params

func (*GetInstallationsDevicesParams) SetTimeout

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

SetTimeout adds the timeout to the get installations devices params

func (*GetInstallationsDevicesParams) SetUserID

func (o *GetInstallationsDevicesParams) SetUserID(userID []string)

SetUserID adds the userId to the get installations devices params

func (*GetInstallationsDevicesParams) WithContext

WithContext adds the context to the get installations devices params

func (*GetInstallationsDevicesParams) WithCount

WithCount adds the count to the get installations devices params

func (*GetInstallationsDevicesParams) WithDefaults

WithDefaults hydrates default values in the get installations devices params (not the query body).

All values with no default are reset to their zero value.

func (*GetInstallationsDevicesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get installations devices params

func (*GetInstallationsDevicesParams) WithLatitude

WithLatitude adds the latitude to the get installations devices params

func (*GetInstallationsDevicesParams) WithLongitude

WithLongitude adds the longitude to the get installations devices params

func (*GetInstallationsDevicesParams) WithTimeout

WithTimeout adds the timeout to the get installations devices params

func (*GetInstallationsDevicesParams) WithUserID

WithUserID adds the userID to the get installations devices params

func (*GetInstallationsDevicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInstallationsDevicesReader

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

GetInstallationsDevicesReader is a Reader for the GetInstallationsDevices structure.

func (*GetInstallationsDevicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInstallationsDevicesServiceUnavailable

type GetInstallationsDevicesServiceUnavailable struct {
	Payload *models.Error
}
GetInstallationsDevicesServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable

func NewGetInstallationsDevicesServiceUnavailable

func NewGetInstallationsDevicesServiceUnavailable() *GetInstallationsDevicesServiceUnavailable

NewGetInstallationsDevicesServiceUnavailable creates a GetInstallationsDevicesServiceUnavailable with default headers values

func (*GetInstallationsDevicesServiceUnavailable) Error

func (*GetInstallationsDevicesServiceUnavailable) GetPayload

type GetInstallationsDevicesUnauthorized

type GetInstallationsDevicesUnauthorized struct {
	Payload *models.Error
}
GetInstallationsDevicesUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetInstallationsDevicesUnauthorized

func NewGetInstallationsDevicesUnauthorized() *GetInstallationsDevicesUnauthorized

NewGetInstallationsDevicesUnauthorized creates a GetInstallationsDevicesUnauthorized with default headers values

func (*GetInstallationsDevicesUnauthorized) Error

func (*GetInstallationsDevicesUnauthorized) GetPayload

type GetInstallationsIDForbidden

type GetInstallationsIDForbidden struct {
	Payload *models.Error
}
GetInstallationsIDForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetInstallationsIDForbidden

func NewGetInstallationsIDForbidden() *GetInstallationsIDForbidden

NewGetInstallationsIDForbidden creates a GetInstallationsIDForbidden with default headers values

func (*GetInstallationsIDForbidden) Error

func (*GetInstallationsIDForbidden) GetPayload

func (o *GetInstallationsIDForbidden) GetPayload() *models.Error

type GetInstallationsIDInternalServerError

type GetInstallationsIDInternalServerError struct {
	Payload *models.Error
}
GetInstallationsIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetInstallationsIDInternalServerError

func NewGetInstallationsIDInternalServerError() *GetInstallationsIDInternalServerError

NewGetInstallationsIDInternalServerError creates a GetInstallationsIDInternalServerError with default headers values

func (*GetInstallationsIDInternalServerError) Error

func (*GetInstallationsIDInternalServerError) GetPayload

type GetInstallationsIDMacConfigurationForbidden

type GetInstallationsIDMacConfigurationForbidden struct {
	Payload *models.Error
}
GetInstallationsIDMacConfigurationForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetInstallationsIDMacConfigurationForbidden

func NewGetInstallationsIDMacConfigurationForbidden() *GetInstallationsIDMacConfigurationForbidden

NewGetInstallationsIDMacConfigurationForbidden creates a GetInstallationsIDMacConfigurationForbidden with default headers values

func (*GetInstallationsIDMacConfigurationForbidden) Error

func (*GetInstallationsIDMacConfigurationForbidden) GetPayload

type GetInstallationsIDMacConfigurationInternalServerError

type GetInstallationsIDMacConfigurationInternalServerError struct {
	Payload *models.Error
}
GetInstallationsIDMacConfigurationInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetInstallationsIDMacConfigurationInternalServerError

func NewGetInstallationsIDMacConfigurationInternalServerError() *GetInstallationsIDMacConfigurationInternalServerError

NewGetInstallationsIDMacConfigurationInternalServerError creates a GetInstallationsIDMacConfigurationInternalServerError with default headers values

func (*GetInstallationsIDMacConfigurationInternalServerError) Error

func (*GetInstallationsIDMacConfigurationInternalServerError) GetPayload

type GetInstallationsIDMacConfigurationOK

type GetInstallationsIDMacConfigurationOK struct {
	Payload *models.InstallationConfigurationSchema
}
GetInstallationsIDMacConfigurationOK describes a response with status code 200, with default header values.

Installation device configuration

func NewGetInstallationsIDMacConfigurationOK

func NewGetInstallationsIDMacConfigurationOK() *GetInstallationsIDMacConfigurationOK

NewGetInstallationsIDMacConfigurationOK creates a GetInstallationsIDMacConfigurationOK with default headers values

func (*GetInstallationsIDMacConfigurationOK) Error

func (*GetInstallationsIDMacConfigurationOK) GetPayload

type GetInstallationsIDMacConfigurationParams

type GetInstallationsIDMacConfigurationParams struct {

	// ID.
	ID string

	// Mac.
	Mac string

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

GetInstallationsIDMacConfigurationParams contains all the parameters to send to the API endpoint

for the get installations Id mac configuration operation.

Typically these are written to a http.Request.

func NewGetInstallationsIDMacConfigurationParams

func NewGetInstallationsIDMacConfigurationParams() *GetInstallationsIDMacConfigurationParams

NewGetInstallationsIDMacConfigurationParams creates a new GetInstallationsIDMacConfigurationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetInstallationsIDMacConfigurationParamsWithContext

func NewGetInstallationsIDMacConfigurationParamsWithContext(ctx context.Context) *GetInstallationsIDMacConfigurationParams

NewGetInstallationsIDMacConfigurationParamsWithContext creates a new GetInstallationsIDMacConfigurationParams object with the ability to set a context for a request.

func NewGetInstallationsIDMacConfigurationParamsWithHTTPClient

func NewGetInstallationsIDMacConfigurationParamsWithHTTPClient(client *http.Client) *GetInstallationsIDMacConfigurationParams

NewGetInstallationsIDMacConfigurationParamsWithHTTPClient creates a new GetInstallationsIDMacConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewGetInstallationsIDMacConfigurationParamsWithTimeout

func NewGetInstallationsIDMacConfigurationParamsWithTimeout(timeout time.Duration) *GetInstallationsIDMacConfigurationParams

NewGetInstallationsIDMacConfigurationParamsWithTimeout creates a new GetInstallationsIDMacConfigurationParams object with the ability to set a timeout on a request.

func (*GetInstallationsIDMacConfigurationParams) SetContext

SetContext adds the context to the get installations Id mac configuration params

func (*GetInstallationsIDMacConfigurationParams) SetDefaults

SetDefaults hydrates default values in the get installations Id mac configuration params (not the query body).

All values with no default are reset to their zero value.

func (*GetInstallationsIDMacConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get installations Id mac configuration params

func (*GetInstallationsIDMacConfigurationParams) SetID

SetID adds the id to the get installations Id mac configuration params

func (*GetInstallationsIDMacConfigurationParams) SetMac

SetMac adds the mac to the get installations Id mac configuration params

func (*GetInstallationsIDMacConfigurationParams) SetTimeout

SetTimeout adds the timeout to the get installations Id mac configuration params

func (*GetInstallationsIDMacConfigurationParams) WithContext

WithContext adds the context to the get installations Id mac configuration params

func (*GetInstallationsIDMacConfigurationParams) WithDefaults

WithDefaults hydrates default values in the get installations Id mac configuration params (not the query body).

All values with no default are reset to their zero value.

func (*GetInstallationsIDMacConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get installations Id mac configuration params

func (*GetInstallationsIDMacConfigurationParams) WithID

WithID adds the id to the get installations Id mac configuration params

func (*GetInstallationsIDMacConfigurationParams) WithMac

WithMac adds the mac to the get installations Id mac configuration params

func (*GetInstallationsIDMacConfigurationParams) WithTimeout

WithTimeout adds the timeout to the get installations Id mac configuration params

func (*GetInstallationsIDMacConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInstallationsIDMacConfigurationReader

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

GetInstallationsIDMacConfigurationReader is a Reader for the GetInstallationsIDMacConfiguration structure.

func (*GetInstallationsIDMacConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInstallationsIDMacConfigurationServiceUnavailable

type GetInstallationsIDMacConfigurationServiceUnavailable struct {
	Payload *models.Error
}
GetInstallationsIDMacConfigurationServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable

func NewGetInstallationsIDMacConfigurationServiceUnavailable

func NewGetInstallationsIDMacConfigurationServiceUnavailable() *GetInstallationsIDMacConfigurationServiceUnavailable

NewGetInstallationsIDMacConfigurationServiceUnavailable creates a GetInstallationsIDMacConfigurationServiceUnavailable with default headers values

func (*GetInstallationsIDMacConfigurationServiceUnavailable) Error

func (*GetInstallationsIDMacConfigurationServiceUnavailable) GetPayload

type GetInstallationsIDMacConfigurationUnauthorized

type GetInstallationsIDMacConfigurationUnauthorized struct {
	Payload *models.Error
}
GetInstallationsIDMacConfigurationUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetInstallationsIDMacConfigurationUnauthorized

func NewGetInstallationsIDMacConfigurationUnauthorized() *GetInstallationsIDMacConfigurationUnauthorized

NewGetInstallationsIDMacConfigurationUnauthorized creates a GetInstallationsIDMacConfigurationUnauthorized with default headers values

func (*GetInstallationsIDMacConfigurationUnauthorized) Error

func (*GetInstallationsIDMacConfigurationUnauthorized) GetPayload

type GetInstallationsIDNotFound

type GetInstallationsIDNotFound struct {
	Payload *models.Error
}
GetInstallationsIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetInstallationsIDNotFound

func NewGetInstallationsIDNotFound() *GetInstallationsIDNotFound

NewGetInstallationsIDNotFound creates a GetInstallationsIDNotFound with default headers values

func (*GetInstallationsIDNotFound) Error

func (*GetInstallationsIDNotFound) GetPayload

func (o *GetInstallationsIDNotFound) GetPayload() *models.Error

type GetInstallationsIDOK

type GetInstallationsIDOK struct {
	Payload *models.InstallationResponse
}
GetInstallationsIDOK describes a response with status code 200, with default header values.

New installation.

func NewGetInstallationsIDOK

func NewGetInstallationsIDOK() *GetInstallationsIDOK

NewGetInstallationsIDOK creates a GetInstallationsIDOK with default headers values

func (*GetInstallationsIDOK) Error

func (o *GetInstallationsIDOK) Error() string

func (*GetInstallationsIDOK) GetPayload

type GetInstallationsIDParams

type GetInstallationsIDParams struct {

	// ID.
	ID string

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

GetInstallationsIDParams contains all the parameters to send to the API endpoint

for the get installations Id operation.

Typically these are written to a http.Request.

func NewGetInstallationsIDParams

func NewGetInstallationsIDParams() *GetInstallationsIDParams

NewGetInstallationsIDParams creates a new GetInstallationsIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetInstallationsIDParamsWithContext

func NewGetInstallationsIDParamsWithContext(ctx context.Context) *GetInstallationsIDParams

NewGetInstallationsIDParamsWithContext creates a new GetInstallationsIDParams object with the ability to set a context for a request.

func NewGetInstallationsIDParamsWithHTTPClient

func NewGetInstallationsIDParamsWithHTTPClient(client *http.Client) *GetInstallationsIDParams

NewGetInstallationsIDParamsWithHTTPClient creates a new GetInstallationsIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetInstallationsIDParamsWithTimeout

func NewGetInstallationsIDParamsWithTimeout(timeout time.Duration) *GetInstallationsIDParams

NewGetInstallationsIDParamsWithTimeout creates a new GetInstallationsIDParams object with the ability to set a timeout on a request.

func (*GetInstallationsIDParams) SetContext

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

SetContext adds the context to the get installations Id params

func (*GetInstallationsIDParams) SetDefaults

func (o *GetInstallationsIDParams) SetDefaults()

SetDefaults hydrates default values in the get installations Id params (not the query body).

All values with no default are reset to their zero value.

func (*GetInstallationsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get installations Id params

func (*GetInstallationsIDParams) SetID

func (o *GetInstallationsIDParams) SetID(id string)

SetID adds the id to the get installations Id params

func (*GetInstallationsIDParams) SetTimeout

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

SetTimeout adds the timeout to the get installations Id params

func (*GetInstallationsIDParams) WithContext

WithContext adds the context to the get installations Id params

func (*GetInstallationsIDParams) WithDefaults

WithDefaults hydrates default values in the get installations Id params (not the query body).

All values with no default are reset to their zero value.

func (*GetInstallationsIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get installations Id params

func (*GetInstallationsIDParams) WithID

WithID adds the id to the get installations Id params

func (*GetInstallationsIDParams) WithTimeout

WithTimeout adds the timeout to the get installations Id params

func (*GetInstallationsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInstallationsIDReader

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

GetInstallationsIDReader is a Reader for the GetInstallationsID structure.

func (*GetInstallationsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInstallationsIDServiceUnavailable

type GetInstallationsIDServiceUnavailable struct {
	Payload *models.Error
}
GetInstallationsIDServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable

func NewGetInstallationsIDServiceUnavailable

func NewGetInstallationsIDServiceUnavailable() *GetInstallationsIDServiceUnavailable

NewGetInstallationsIDServiceUnavailable creates a GetInstallationsIDServiceUnavailable with default headers values

func (*GetInstallationsIDServiceUnavailable) Error

func (*GetInstallationsIDServiceUnavailable) GetPayload

type GetInstallationsIDUnauthorized

type GetInstallationsIDUnauthorized struct {
	Payload *models.Error
}
GetInstallationsIDUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetInstallationsIDUnauthorized

func NewGetInstallationsIDUnauthorized() *GetInstallationsIDUnauthorized

NewGetInstallationsIDUnauthorized creates a GetInstallationsIDUnauthorized with default headers values

func (*GetInstallationsIDUnauthorized) Error

func (*GetInstallationsIDUnauthorized) GetPayload

func (o *GetInstallationsIDUnauthorized) GetPayload() *models.Error

type PostInstallationsConflict

type PostInstallationsConflict struct {
	Payload *models.Error
}
PostInstallationsConflict describes a response with status code 409, with default header values.

Conflict

func NewPostInstallationsConflict

func NewPostInstallationsConflict() *PostInstallationsConflict

NewPostInstallationsConflict creates a PostInstallationsConflict with default headers values

func (*PostInstallationsConflict) Error

func (o *PostInstallationsConflict) Error() string

func (*PostInstallationsConflict) GetPayload

func (o *PostInstallationsConflict) GetPayload() *models.Error

type PostInstallationsCoverageBadRequest

type PostInstallationsCoverageBadRequest struct {
	Payload *models.Error
}
PostInstallationsCoverageBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostInstallationsCoverageBadRequest

func NewPostInstallationsCoverageBadRequest() *PostInstallationsCoverageBadRequest

NewPostInstallationsCoverageBadRequest creates a PostInstallationsCoverageBadRequest with default headers values

func (*PostInstallationsCoverageBadRequest) Error

func (*PostInstallationsCoverageBadRequest) GetPayload

type PostInstallationsCoverageFailedDependency

type PostInstallationsCoverageFailedDependency struct {
	Payload *models.Error
}
PostInstallationsCoverageFailedDependency describes a response with status code 424, with default header values.

Failed Dependency

func NewPostInstallationsCoverageFailedDependency

func NewPostInstallationsCoverageFailedDependency() *PostInstallationsCoverageFailedDependency

NewPostInstallationsCoverageFailedDependency creates a PostInstallationsCoverageFailedDependency with default headers values

func (*PostInstallationsCoverageFailedDependency) Error

func (*PostInstallationsCoverageFailedDependency) GetPayload

type PostInstallationsCoverageInternalServerError

type PostInstallationsCoverageInternalServerError struct {
	Payload *models.Error
}
PostInstallationsCoverageInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostInstallationsCoverageInternalServerError

func NewPostInstallationsCoverageInternalServerError() *PostInstallationsCoverageInternalServerError

NewPostInstallationsCoverageInternalServerError creates a PostInstallationsCoverageInternalServerError with default headers values

func (*PostInstallationsCoverageInternalServerError) Error

func (*PostInstallationsCoverageInternalServerError) GetPayload

type PostInstallationsCoverageOK

type PostInstallationsCoverageOK struct {
	Payload *models.Model77
}
PostInstallationsCoverageOK describes a response with status code 200, with default header values.

Successful

func NewPostInstallationsCoverageOK

func NewPostInstallationsCoverageOK() *PostInstallationsCoverageOK

NewPostInstallationsCoverageOK creates a PostInstallationsCoverageOK with default headers values

func (*PostInstallationsCoverageOK) Error

func (*PostInstallationsCoverageOK) GetPayload

func (o *PostInstallationsCoverageOK) GetPayload() *models.Model77

type PostInstallationsCoverageParams

type PostInstallationsCoverageParams struct {

	// Body.
	Body *models.Model75

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

PostInstallationsCoverageParams contains all the parameters to send to the API endpoint

for the post installations coverage operation.

Typically these are written to a http.Request.

func NewPostInstallationsCoverageParams

func NewPostInstallationsCoverageParams() *PostInstallationsCoverageParams

NewPostInstallationsCoverageParams creates a new PostInstallationsCoverageParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostInstallationsCoverageParamsWithContext

func NewPostInstallationsCoverageParamsWithContext(ctx context.Context) *PostInstallationsCoverageParams

NewPostInstallationsCoverageParamsWithContext creates a new PostInstallationsCoverageParams object with the ability to set a context for a request.

func NewPostInstallationsCoverageParamsWithHTTPClient

func NewPostInstallationsCoverageParamsWithHTTPClient(client *http.Client) *PostInstallationsCoverageParams

NewPostInstallationsCoverageParamsWithHTTPClient creates a new PostInstallationsCoverageParams object with the ability to set a custom HTTPClient for a request.

func NewPostInstallationsCoverageParamsWithTimeout

func NewPostInstallationsCoverageParamsWithTimeout(timeout time.Duration) *PostInstallationsCoverageParams

NewPostInstallationsCoverageParamsWithTimeout creates a new PostInstallationsCoverageParams object with the ability to set a timeout on a request.

func (*PostInstallationsCoverageParams) SetBody

SetBody adds the body to the post installations coverage params

func (*PostInstallationsCoverageParams) SetContext

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

SetContext adds the context to the post installations coverage params

func (*PostInstallationsCoverageParams) SetDefaults

func (o *PostInstallationsCoverageParams) SetDefaults()

SetDefaults hydrates default values in the post installations coverage params (not the query body).

All values with no default are reset to their zero value.

func (*PostInstallationsCoverageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post installations coverage params

func (*PostInstallationsCoverageParams) SetTimeout

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

SetTimeout adds the timeout to the post installations coverage params

func (*PostInstallationsCoverageParams) WithBody

WithBody adds the body to the post installations coverage params

func (*PostInstallationsCoverageParams) WithContext

WithContext adds the context to the post installations coverage params

func (*PostInstallationsCoverageParams) WithDefaults

WithDefaults hydrates default values in the post installations coverage params (not the query body).

All values with no default are reset to their zero value.

func (*PostInstallationsCoverageParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post installations coverage params

func (*PostInstallationsCoverageParams) WithTimeout

WithTimeout adds the timeout to the post installations coverage params

func (*PostInstallationsCoverageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostInstallationsCoverageReader

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

PostInstallationsCoverageReader is a Reader for the PostInstallationsCoverage structure.

func (*PostInstallationsCoverageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostInstallationsCoverageUnauthorized

type PostInstallationsCoverageUnauthorized struct {
	Payload *models.Error
}
PostInstallationsCoverageUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostInstallationsCoverageUnauthorized

func NewPostInstallationsCoverageUnauthorized() *PostInstallationsCoverageUnauthorized

NewPostInstallationsCoverageUnauthorized creates a PostInstallationsCoverageUnauthorized with default headers values

func (*PostInstallationsCoverageUnauthorized) Error

func (*PostInstallationsCoverageUnauthorized) GetPayload

type PostInstallationsDevicesForbidden

type PostInstallationsDevicesForbidden struct {
	Payload *models.Error
}
PostInstallationsDevicesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPostInstallationsDevicesForbidden

func NewPostInstallationsDevicesForbidden() *PostInstallationsDevicesForbidden

NewPostInstallationsDevicesForbidden creates a PostInstallationsDevicesForbidden with default headers values

func (*PostInstallationsDevicesForbidden) Error

func (*PostInstallationsDevicesForbidden) GetPayload

type PostInstallationsDevicesInternalServerError

type PostInstallationsDevicesInternalServerError struct {
	Payload *models.Error
}
PostInstallationsDevicesInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostInstallationsDevicesInternalServerError

func NewPostInstallationsDevicesInternalServerError() *PostInstallationsDevicesInternalServerError

NewPostInstallationsDevicesInternalServerError creates a PostInstallationsDevicesInternalServerError with default headers values

func (*PostInstallationsDevicesInternalServerError) Error

func (*PostInstallationsDevicesInternalServerError) GetPayload

type PostInstallationsDevicesOK

type PostInstallationsDevicesOK struct {
	Payload *models.InstallationDevice
}
PostInstallationsDevicesOK describes a response with status code 200, with default header values.

Installation device.

func NewPostInstallationsDevicesOK

func NewPostInstallationsDevicesOK() *PostInstallationsDevicesOK

NewPostInstallationsDevicesOK creates a PostInstallationsDevicesOK with default headers values

func (*PostInstallationsDevicesOK) Error

func (*PostInstallationsDevicesOK) GetPayload

type PostInstallationsDevicesParams

type PostInstallationsDevicesParams struct {

	// Body.
	Body *models.NewInstallationDevice

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

PostInstallationsDevicesParams contains all the parameters to send to the API endpoint

for the post installations devices operation.

Typically these are written to a http.Request.

func NewPostInstallationsDevicesParams

func NewPostInstallationsDevicesParams() *PostInstallationsDevicesParams

NewPostInstallationsDevicesParams creates a new PostInstallationsDevicesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostInstallationsDevicesParamsWithContext

func NewPostInstallationsDevicesParamsWithContext(ctx context.Context) *PostInstallationsDevicesParams

NewPostInstallationsDevicesParamsWithContext creates a new PostInstallationsDevicesParams object with the ability to set a context for a request.

func NewPostInstallationsDevicesParamsWithHTTPClient

func NewPostInstallationsDevicesParamsWithHTTPClient(client *http.Client) *PostInstallationsDevicesParams

NewPostInstallationsDevicesParamsWithHTTPClient creates a new PostInstallationsDevicesParams object with the ability to set a custom HTTPClient for a request.

func NewPostInstallationsDevicesParamsWithTimeout

func NewPostInstallationsDevicesParamsWithTimeout(timeout time.Duration) *PostInstallationsDevicesParams

NewPostInstallationsDevicesParamsWithTimeout creates a new PostInstallationsDevicesParams object with the ability to set a timeout on a request.

func (*PostInstallationsDevicesParams) SetBody

SetBody adds the body to the post installations devices params

func (*PostInstallationsDevicesParams) SetContext

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

SetContext adds the context to the post installations devices params

func (*PostInstallationsDevicesParams) SetDefaults

func (o *PostInstallationsDevicesParams) SetDefaults()

SetDefaults hydrates default values in the post installations devices params (not the query body).

All values with no default are reset to their zero value.

func (*PostInstallationsDevicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post installations devices params

func (*PostInstallationsDevicesParams) SetTimeout

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

SetTimeout adds the timeout to the post installations devices params

func (*PostInstallationsDevicesParams) WithBody

WithBody adds the body to the post installations devices params

func (*PostInstallationsDevicesParams) WithContext

WithContext adds the context to the post installations devices params

func (*PostInstallationsDevicesParams) WithDefaults

WithDefaults hydrates default values in the post installations devices params (not the query body).

All values with no default are reset to their zero value.

func (*PostInstallationsDevicesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post installations devices params

func (*PostInstallationsDevicesParams) WithTimeout

WithTimeout adds the timeout to the post installations devices params

func (*PostInstallationsDevicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostInstallationsDevicesReader

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

PostInstallationsDevicesReader is a Reader for the PostInstallationsDevices structure.

func (*PostInstallationsDevicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostInstallationsDevicesServiceUnavailable

type PostInstallationsDevicesServiceUnavailable struct {
	Payload *models.Error
}
PostInstallationsDevicesServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable

func NewPostInstallationsDevicesServiceUnavailable

func NewPostInstallationsDevicesServiceUnavailable() *PostInstallationsDevicesServiceUnavailable

NewPostInstallationsDevicesServiceUnavailable creates a PostInstallationsDevicesServiceUnavailable with default headers values

func (*PostInstallationsDevicesServiceUnavailable) Error

func (*PostInstallationsDevicesServiceUnavailable) GetPayload

type PostInstallationsDevicesUnauthorized

type PostInstallationsDevicesUnauthorized struct {
	Payload *models.Error
}
PostInstallationsDevicesUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostInstallationsDevicesUnauthorized

func NewPostInstallationsDevicesUnauthorized() *PostInstallationsDevicesUnauthorized

NewPostInstallationsDevicesUnauthorized creates a PostInstallationsDevicesUnauthorized with default headers values

func (*PostInstallationsDevicesUnauthorized) Error

func (*PostInstallationsDevicesUnauthorized) GetPayload

type PostInstallationsForbidden

type PostInstallationsForbidden struct {
	Payload *models.Error
}
PostInstallationsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPostInstallationsForbidden

func NewPostInstallationsForbidden() *PostInstallationsForbidden

NewPostInstallationsForbidden creates a PostInstallationsForbidden with default headers values

func (*PostInstallationsForbidden) Error

func (*PostInstallationsForbidden) GetPayload

func (o *PostInstallationsForbidden) GetPayload() *models.Error

type PostInstallationsIDChatForbidden

type PostInstallationsIDChatForbidden struct {
	Payload *models.Error
}
PostInstallationsIDChatForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPostInstallationsIDChatForbidden

func NewPostInstallationsIDChatForbidden() *PostInstallationsIDChatForbidden

NewPostInstallationsIDChatForbidden creates a PostInstallationsIDChatForbidden with default headers values

func (*PostInstallationsIDChatForbidden) Error

func (*PostInstallationsIDChatForbidden) GetPayload

type PostInstallationsIDChatInternalServerError

type PostInstallationsIDChatInternalServerError struct {
	Payload *models.Error
}
PostInstallationsIDChatInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostInstallationsIDChatInternalServerError

func NewPostInstallationsIDChatInternalServerError() *PostInstallationsIDChatInternalServerError

NewPostInstallationsIDChatInternalServerError creates a PostInstallationsIDChatInternalServerError with default headers values

func (*PostInstallationsIDChatInternalServerError) Error

func (*PostInstallationsIDChatInternalServerError) GetPayload

type PostInstallationsIDChatOK

type PostInstallationsIDChatOK struct {
	Payload *models.InstallationChatResponse
}
PostInstallationsIDChatOK describes a response with status code 200, with default header values.

Installation chat message.

func NewPostInstallationsIDChatOK

func NewPostInstallationsIDChatOK() *PostInstallationsIDChatOK

NewPostInstallationsIDChatOK creates a PostInstallationsIDChatOK with default headers values

func (*PostInstallationsIDChatOK) Error

func (o *PostInstallationsIDChatOK) Error() string

func (*PostInstallationsIDChatOK) GetPayload

type PostInstallationsIDChatParams

type PostInstallationsIDChatParams struct {

	// Body.
	Body *models.InstallationChatPayload

	// ID.
	ID string

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

PostInstallationsIDChatParams contains all the parameters to send to the API endpoint

for the post installations Id chat operation.

Typically these are written to a http.Request.

func NewPostInstallationsIDChatParams

func NewPostInstallationsIDChatParams() *PostInstallationsIDChatParams

NewPostInstallationsIDChatParams creates a new PostInstallationsIDChatParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostInstallationsIDChatParamsWithContext

func NewPostInstallationsIDChatParamsWithContext(ctx context.Context) *PostInstallationsIDChatParams

NewPostInstallationsIDChatParamsWithContext creates a new PostInstallationsIDChatParams object with the ability to set a context for a request.

func NewPostInstallationsIDChatParamsWithHTTPClient

func NewPostInstallationsIDChatParamsWithHTTPClient(client *http.Client) *PostInstallationsIDChatParams

NewPostInstallationsIDChatParamsWithHTTPClient creates a new PostInstallationsIDChatParams object with the ability to set a custom HTTPClient for a request.

func NewPostInstallationsIDChatParamsWithTimeout

func NewPostInstallationsIDChatParamsWithTimeout(timeout time.Duration) *PostInstallationsIDChatParams

NewPostInstallationsIDChatParamsWithTimeout creates a new PostInstallationsIDChatParams object with the ability to set a timeout on a request.

func (*PostInstallationsIDChatParams) SetBody

SetBody adds the body to the post installations Id chat params

func (*PostInstallationsIDChatParams) SetContext

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

SetContext adds the context to the post installations Id chat params

func (*PostInstallationsIDChatParams) SetDefaults

func (o *PostInstallationsIDChatParams) SetDefaults()

SetDefaults hydrates default values in the post installations Id chat params (not the query body).

All values with no default are reset to their zero value.

func (*PostInstallationsIDChatParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post installations Id chat params

func (*PostInstallationsIDChatParams) SetID

SetID adds the id to the post installations Id chat params

func (*PostInstallationsIDChatParams) SetTimeout

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

SetTimeout adds the timeout to the post installations Id chat params

func (*PostInstallationsIDChatParams) WithBody

WithBody adds the body to the post installations Id chat params

func (*PostInstallationsIDChatParams) WithContext

WithContext adds the context to the post installations Id chat params

func (*PostInstallationsIDChatParams) WithDefaults

WithDefaults hydrates default values in the post installations Id chat params (not the query body).

All values with no default are reset to their zero value.

func (*PostInstallationsIDChatParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post installations Id chat params

func (*PostInstallationsIDChatParams) WithID

WithID adds the id to the post installations Id chat params

func (*PostInstallationsIDChatParams) WithTimeout

WithTimeout adds the timeout to the post installations Id chat params

func (*PostInstallationsIDChatParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostInstallationsIDChatReader

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

PostInstallationsIDChatReader is a Reader for the PostInstallationsIDChat structure.

func (*PostInstallationsIDChatReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostInstallationsIDChatServiceUnavailable

type PostInstallationsIDChatServiceUnavailable struct {
	Payload *models.Error
}
PostInstallationsIDChatServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable

func NewPostInstallationsIDChatServiceUnavailable

func NewPostInstallationsIDChatServiceUnavailable() *PostInstallationsIDChatServiceUnavailable

NewPostInstallationsIDChatServiceUnavailable creates a PostInstallationsIDChatServiceUnavailable with default headers values

func (*PostInstallationsIDChatServiceUnavailable) Error

func (*PostInstallationsIDChatServiceUnavailable) GetPayload

type PostInstallationsIDChatUnauthorized

type PostInstallationsIDChatUnauthorized struct {
	Payload *models.Error
}
PostInstallationsIDChatUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostInstallationsIDChatUnauthorized

func NewPostInstallationsIDChatUnauthorized() *PostInstallationsIDChatUnauthorized

NewPostInstallationsIDChatUnauthorized creates a PostInstallationsIDChatUnauthorized with default headers values

func (*PostInstallationsIDChatUnauthorized) Error

func (*PostInstallationsIDChatUnauthorized) GetPayload

type PostInstallationsInternalServerError

type PostInstallationsInternalServerError struct {
	Payload *models.Error
}
PostInstallationsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostInstallationsInternalServerError

func NewPostInstallationsInternalServerError() *PostInstallationsInternalServerError

NewPostInstallationsInternalServerError creates a PostInstallationsInternalServerError with default headers values

func (*PostInstallationsInternalServerError) Error

func (*PostInstallationsInternalServerError) GetPayload

type PostInstallationsNotFound

type PostInstallationsNotFound struct {
	Payload *models.Error
}
PostInstallationsNotFound describes a response with status code 404, with default header values.

Not Found

func NewPostInstallationsNotFound

func NewPostInstallationsNotFound() *PostInstallationsNotFound

NewPostInstallationsNotFound creates a PostInstallationsNotFound with default headers values

func (*PostInstallationsNotFound) Error

func (o *PostInstallationsNotFound) Error() string

func (*PostInstallationsNotFound) GetPayload

func (o *PostInstallationsNotFound) GetPayload() *models.Error

type PostInstallationsOK

type PostInstallationsOK struct {
	Payload *models.InstallationResponse
}
PostInstallationsOK describes a response with status code 200, with default header values.

New installation.

func NewPostInstallationsOK

func NewPostInstallationsOK() *PostInstallationsOK

NewPostInstallationsOK creates a PostInstallationsOK with default headers values

func (*PostInstallationsOK) Error

func (o *PostInstallationsOK) Error() string

func (*PostInstallationsOK) GetPayload

type PostInstallationsParams

type PostInstallationsParams struct {

	// Body.
	Body *models.InstallationPayload

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

PostInstallationsParams contains all the parameters to send to the API endpoint

for the post installations operation.

Typically these are written to a http.Request.

func NewPostInstallationsParams

func NewPostInstallationsParams() *PostInstallationsParams

NewPostInstallationsParams creates a new PostInstallationsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostInstallationsParamsWithContext

func NewPostInstallationsParamsWithContext(ctx context.Context) *PostInstallationsParams

NewPostInstallationsParamsWithContext creates a new PostInstallationsParams object with the ability to set a context for a request.

func NewPostInstallationsParamsWithHTTPClient

func NewPostInstallationsParamsWithHTTPClient(client *http.Client) *PostInstallationsParams

NewPostInstallationsParamsWithHTTPClient creates a new PostInstallationsParams object with the ability to set a custom HTTPClient for a request.

func NewPostInstallationsParamsWithTimeout

func NewPostInstallationsParamsWithTimeout(timeout time.Duration) *PostInstallationsParams

NewPostInstallationsParamsWithTimeout creates a new PostInstallationsParams object with the ability to set a timeout on a request.

func (*PostInstallationsParams) SetBody

SetBody adds the body to the post installations params

func (*PostInstallationsParams) SetContext

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

SetContext adds the context to the post installations params

func (*PostInstallationsParams) SetDefaults

func (o *PostInstallationsParams) SetDefaults()

SetDefaults hydrates default values in the post installations params (not the query body).

All values with no default are reset to their zero value.

func (*PostInstallationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post installations params

func (*PostInstallationsParams) SetTimeout

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

SetTimeout adds the timeout to the post installations params

func (*PostInstallationsParams) WithBody

WithBody adds the body to the post installations params

func (*PostInstallationsParams) WithContext

WithContext adds the context to the post installations params

func (*PostInstallationsParams) WithDefaults

WithDefaults hydrates default values in the post installations params (not the query body).

All values with no default are reset to their zero value.

func (*PostInstallationsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post installations params

func (*PostInstallationsParams) WithTimeout

WithTimeout adds the timeout to the post installations params

func (*PostInstallationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostInstallationsReader

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

PostInstallationsReader is a Reader for the PostInstallations structure.

func (*PostInstallationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostInstallationsServiceUnavailable

type PostInstallationsServiceUnavailable struct {
	Payload *models.Error
}
PostInstallationsServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable

func NewPostInstallationsServiceUnavailable

func NewPostInstallationsServiceUnavailable() *PostInstallationsServiceUnavailable

NewPostInstallationsServiceUnavailable creates a PostInstallationsServiceUnavailable with default headers values

func (*PostInstallationsServiceUnavailable) Error

func (*PostInstallationsServiceUnavailable) GetPayload

type PostInstallationsUnauthorized

type PostInstallationsUnauthorized struct {
	Payload *models.Error
}
PostInstallationsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostInstallationsUnauthorized

func NewPostInstallationsUnauthorized() *PostInstallationsUnauthorized

NewPostInstallationsUnauthorized creates a PostInstallationsUnauthorized with default headers values

func (*PostInstallationsUnauthorized) Error

func (*PostInstallationsUnauthorized) GetPayload

func (o *PostInstallationsUnauthorized) GetPayload() *models.Error

type PostUserLocationBadRequest

type PostUserLocationBadRequest struct {
	Payload *models.Error
}
PostUserLocationBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostUserLocationBadRequest

func NewPostUserLocationBadRequest() *PostUserLocationBadRequest

NewPostUserLocationBadRequest creates a PostUserLocationBadRequest with default headers values

func (*PostUserLocationBadRequest) Error

func (*PostUserLocationBadRequest) GetPayload

func (o *PostUserLocationBadRequest) GetPayload() *models.Error

type PostUserLocationForbidden

type PostUserLocationForbidden struct {
	Payload *models.Error
}
PostUserLocationForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPostUserLocationForbidden

func NewPostUserLocationForbidden() *PostUserLocationForbidden

NewPostUserLocationForbidden creates a PostUserLocationForbidden with default headers values

func (*PostUserLocationForbidden) Error

func (o *PostUserLocationForbidden) Error() string

func (*PostUserLocationForbidden) GetPayload

func (o *PostUserLocationForbidden) GetPayload() *models.Error

type PostUserLocationInternalServerError

type PostUserLocationInternalServerError struct {
	Payload *models.Error
}
PostUserLocationInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostUserLocationInternalServerError

func NewPostUserLocationInternalServerError() *PostUserLocationInternalServerError

NewPostUserLocationInternalServerError creates a PostUserLocationInternalServerError with default headers values

func (*PostUserLocationInternalServerError) Error

func (*PostUserLocationInternalServerError) GetPayload

type PostUserLocationOK

type PostUserLocationOK struct {
	Payload *models.UserLocation
}
PostUserLocationOK describes a response with status code 200, with default header values.

Successful

func NewPostUserLocationOK

func NewPostUserLocationOK() *PostUserLocationOK

NewPostUserLocationOK creates a PostUserLocationOK with default headers values

func (*PostUserLocationOK) Error

func (o *PostUserLocationOK) Error() string

func (*PostUserLocationOK) GetPayload

func (o *PostUserLocationOK) GetPayload() *models.UserLocation

type PostUserLocationParams

type PostUserLocationParams struct {

	// Body.
	Body *models.UserLocationUpdate

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

PostUserLocationParams contains all the parameters to send to the API endpoint

for the post user location operation.

Typically these are written to a http.Request.

func NewPostUserLocationParams

func NewPostUserLocationParams() *PostUserLocationParams

NewPostUserLocationParams creates a new PostUserLocationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostUserLocationParamsWithContext

func NewPostUserLocationParamsWithContext(ctx context.Context) *PostUserLocationParams

NewPostUserLocationParamsWithContext creates a new PostUserLocationParams object with the ability to set a context for a request.

func NewPostUserLocationParamsWithHTTPClient

func NewPostUserLocationParamsWithHTTPClient(client *http.Client) *PostUserLocationParams

NewPostUserLocationParamsWithHTTPClient creates a new PostUserLocationParams object with the ability to set a custom HTTPClient for a request.

func NewPostUserLocationParamsWithTimeout

func NewPostUserLocationParamsWithTimeout(timeout time.Duration) *PostUserLocationParams

NewPostUserLocationParamsWithTimeout creates a new PostUserLocationParams object with the ability to set a timeout on a request.

func (*PostUserLocationParams) SetBody

SetBody adds the body to the post user location params

func (*PostUserLocationParams) SetContext

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

SetContext adds the context to the post user location params

func (*PostUserLocationParams) SetDefaults

func (o *PostUserLocationParams) SetDefaults()

SetDefaults hydrates default values in the post user location params (not the query body).

All values with no default are reset to their zero value.

func (*PostUserLocationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post user location params

func (*PostUserLocationParams) SetTimeout

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

SetTimeout adds the timeout to the post user location params

func (*PostUserLocationParams) WithBody

WithBody adds the body to the post user location params

func (*PostUserLocationParams) WithContext

WithContext adds the context to the post user location params

func (*PostUserLocationParams) WithDefaults

WithDefaults hydrates default values in the post user location params (not the query body).

All values with no default are reset to their zero value.

func (*PostUserLocationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post user location params

func (*PostUserLocationParams) WithTimeout

WithTimeout adds the timeout to the post user location params

func (*PostUserLocationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostUserLocationReader

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

PostUserLocationReader is a Reader for the PostUserLocation structure.

func (*PostUserLocationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostUserLocationUnauthorized

type PostUserLocationUnauthorized struct {
	Payload *models.Error
}
PostUserLocationUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostUserLocationUnauthorized

func NewPostUserLocationUnauthorized() *PostUserLocationUnauthorized

NewPostUserLocationUnauthorized creates a PostUserLocationUnauthorized with default headers values

func (*PostUserLocationUnauthorized) Error

func (*PostUserLocationUnauthorized) GetPayload

func (o *PostUserLocationUnauthorized) GetPayload() *models.Error

type PutInstallationsIDMacForbidden

type PutInstallationsIDMacForbidden struct {
	Payload *models.Error
}
PutInstallationsIDMacForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPutInstallationsIDMacForbidden

func NewPutInstallationsIDMacForbidden() *PutInstallationsIDMacForbidden

NewPutInstallationsIDMacForbidden creates a PutInstallationsIDMacForbidden with default headers values

func (*PutInstallationsIDMacForbidden) Error

func (*PutInstallationsIDMacForbidden) GetPayload

func (o *PutInstallationsIDMacForbidden) GetPayload() *models.Error

type PutInstallationsIDMacInternalServerError

type PutInstallationsIDMacInternalServerError struct {
	Payload *models.Error
}
PutInstallationsIDMacInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPutInstallationsIDMacInternalServerError

func NewPutInstallationsIDMacInternalServerError() *PutInstallationsIDMacInternalServerError

NewPutInstallationsIDMacInternalServerError creates a PutInstallationsIDMacInternalServerError with default headers values

func (*PutInstallationsIDMacInternalServerError) Error

func (*PutInstallationsIDMacInternalServerError) GetPayload

type PutInstallationsIDMacOK

type PutInstallationsIDMacOK struct {
	Payload *models.Status
}
PutInstallationsIDMacOK describes a response with status code 200, with default header values.

Successful

func NewPutInstallationsIDMacOK

func NewPutInstallationsIDMacOK() *PutInstallationsIDMacOK

NewPutInstallationsIDMacOK creates a PutInstallationsIDMacOK with default headers values

func (*PutInstallationsIDMacOK) Error

func (o *PutInstallationsIDMacOK) Error() string

func (*PutInstallationsIDMacOK) GetPayload

func (o *PutInstallationsIDMacOK) GetPayload() *models.Status

type PutInstallationsIDMacParams

type PutInstallationsIDMacParams struct {

	// Body.
	Body string

	// ID.
	ID string

	// Mac.
	Mac string

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

PutInstallationsIDMacParams contains all the parameters to send to the API endpoint

for the put installations Id mac operation.

Typically these are written to a http.Request.

func NewPutInstallationsIDMacParams

func NewPutInstallationsIDMacParams() *PutInstallationsIDMacParams

NewPutInstallationsIDMacParams creates a new PutInstallationsIDMacParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutInstallationsIDMacParamsWithContext

func NewPutInstallationsIDMacParamsWithContext(ctx context.Context) *PutInstallationsIDMacParams

NewPutInstallationsIDMacParamsWithContext creates a new PutInstallationsIDMacParams object with the ability to set a context for a request.

func NewPutInstallationsIDMacParamsWithHTTPClient

func NewPutInstallationsIDMacParamsWithHTTPClient(client *http.Client) *PutInstallationsIDMacParams

NewPutInstallationsIDMacParamsWithHTTPClient creates a new PutInstallationsIDMacParams object with the ability to set a custom HTTPClient for a request.

func NewPutInstallationsIDMacParamsWithTimeout

func NewPutInstallationsIDMacParamsWithTimeout(timeout time.Duration) *PutInstallationsIDMacParams

NewPutInstallationsIDMacParamsWithTimeout creates a new PutInstallationsIDMacParams object with the ability to set a timeout on a request.

func (*PutInstallationsIDMacParams) SetBody

func (o *PutInstallationsIDMacParams) SetBody(body string)

SetBody adds the body to the put installations Id mac params

func (*PutInstallationsIDMacParams) SetContext

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

SetContext adds the context to the put installations Id mac params

func (*PutInstallationsIDMacParams) SetDefaults

func (o *PutInstallationsIDMacParams) SetDefaults()

SetDefaults hydrates default values in the put installations Id mac params (not the query body).

All values with no default are reset to their zero value.

func (*PutInstallationsIDMacParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put installations Id mac params

func (*PutInstallationsIDMacParams) SetID

func (o *PutInstallationsIDMacParams) SetID(id string)

SetID adds the id to the put installations Id mac params

func (*PutInstallationsIDMacParams) SetMac

func (o *PutInstallationsIDMacParams) SetMac(mac string)

SetMac adds the mac to the put installations Id mac params

func (*PutInstallationsIDMacParams) SetTimeout

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

SetTimeout adds the timeout to the put installations Id mac params

func (*PutInstallationsIDMacParams) WithBody

WithBody adds the body to the put installations Id mac params

func (*PutInstallationsIDMacParams) WithContext

WithContext adds the context to the put installations Id mac params

func (*PutInstallationsIDMacParams) WithDefaults

WithDefaults hydrates default values in the put installations Id mac params (not the query body).

All values with no default are reset to their zero value.

func (*PutInstallationsIDMacParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put installations Id mac params

func (*PutInstallationsIDMacParams) WithID

WithID adds the id to the put installations Id mac params

func (*PutInstallationsIDMacParams) WithMac

WithMac adds the mac to the put installations Id mac params

func (*PutInstallationsIDMacParams) WithTimeout

WithTimeout adds the timeout to the put installations Id mac params

func (*PutInstallationsIDMacParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutInstallationsIDMacReader

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

PutInstallationsIDMacReader is a Reader for the PutInstallationsIDMac structure.

func (*PutInstallationsIDMacReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutInstallationsIDMacServiceUnavailable

type PutInstallationsIDMacServiceUnavailable struct {
	Payload *models.Error
}
PutInstallationsIDMacServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable

func NewPutInstallationsIDMacServiceUnavailable

func NewPutInstallationsIDMacServiceUnavailable() *PutInstallationsIDMacServiceUnavailable

NewPutInstallationsIDMacServiceUnavailable creates a PutInstallationsIDMacServiceUnavailable with default headers values

func (*PutInstallationsIDMacServiceUnavailable) Error

func (*PutInstallationsIDMacServiceUnavailable) GetPayload

type PutInstallationsIDMacUnauthorized

type PutInstallationsIDMacUnauthorized struct {
	Payload *models.Error
}
PutInstallationsIDMacUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPutInstallationsIDMacUnauthorized

func NewPutInstallationsIDMacUnauthorized() *PutInstallationsIDMacUnauthorized

NewPutInstallationsIDMacUnauthorized creates a PutInstallationsIDMacUnauthorized with default headers values

func (*PutInstallationsIDMacUnauthorized) Error

func (*PutInstallationsIDMacUnauthorized) GetPayload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL