simulation

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: 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 simulation API

func (*Client) DeleteSimulationDevicesID

func (a *Client) DeleteSimulationDevicesID(params *DeleteSimulationDevicesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSimulationDevicesIDOK, error)

DeleteSimulationDevicesID deletes simulation device

func (*Client) GetSimulation

func (a *Client) GetSimulation(params *GetSimulationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSimulationOK, error)

GetSimulation gets simulation devices and links

func (*Client) GetSimulationDevices

func (a *Client) GetSimulationDevices(params *GetSimulationDevicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSimulationDevicesOK, error)

GetSimulationDevices gets simulation devices

func (a *Client) GetSimulationLinks(params *GetSimulationLinksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSimulationLinksOK, error)

GetSimulationLinks gets simulation links

func (*Client) PatchSimulationDevicesID

func (a *Client) PatchSimulationDevicesID(params *PatchSimulationDevicesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchSimulationDevicesIDOK, error)

PatchSimulationDevicesID patches simulation device

func (*Client) PatchSimulationLinksID

func (a *Client) PatchSimulationLinksID(params *PatchSimulationLinksIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchSimulationLinksIDOK, error)

PatchSimulationLinksID patches simulation link

func (*Client) PostSimulationDevices

func (a *Client) PostSimulationDevices(params *PostSimulationDevicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostSimulationDevicesOK, error)

PostSimulationDevices creates simulation device

func (*Client) PutSimulationDevicesID

func (a *Client) PutSimulationDevicesID(params *PutSimulationDevicesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutSimulationDevicesIDOK, error)

PutSimulationDevicesID updates simulation device

func (*Client) PutSimulationLinksID

func (a *Client) PutSimulationLinksID(params *PutSimulationLinksIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutSimulationLinksIDOK, error)

PutSimulationLinksID updates simulation link

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 {
	DeleteSimulationDevicesID(params *DeleteSimulationDevicesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSimulationDevicesIDOK, error)

	GetSimulation(params *GetSimulationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSimulationOK, error)

	GetSimulationDevices(params *GetSimulationDevicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSimulationDevicesOK, error)

	GetSimulationLinks(params *GetSimulationLinksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSimulationLinksOK, error)

	PatchSimulationDevicesID(params *PatchSimulationDevicesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchSimulationDevicesIDOK, error)

	PatchSimulationLinksID(params *PatchSimulationLinksIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchSimulationLinksIDOK, error)

	PostSimulationDevices(params *PostSimulationDevicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostSimulationDevicesOK, error)

	PutSimulationDevicesID(params *PutSimulationDevicesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutSimulationDevicesIDOK, error)

	PutSimulationLinksID(params *PutSimulationLinksIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutSimulationLinksIDOK, 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 simulation API client.

type DeleteSimulationDevicesIDBadRequest

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

Bad Request

func NewDeleteSimulationDevicesIDBadRequest

func NewDeleteSimulationDevicesIDBadRequest() *DeleteSimulationDevicesIDBadRequest

NewDeleteSimulationDevicesIDBadRequest creates a DeleteSimulationDevicesIDBadRequest with default headers values

func (*DeleteSimulationDevicesIDBadRequest) Error

func (*DeleteSimulationDevicesIDBadRequest) GetPayload

type DeleteSimulationDevicesIDInternalServerError

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

Internal Server Error

func NewDeleteSimulationDevicesIDInternalServerError

func NewDeleteSimulationDevicesIDInternalServerError() *DeleteSimulationDevicesIDInternalServerError

NewDeleteSimulationDevicesIDInternalServerError creates a DeleteSimulationDevicesIDInternalServerError with default headers values

func (*DeleteSimulationDevicesIDInternalServerError) Error

func (*DeleteSimulationDevicesIDInternalServerError) GetPayload

type DeleteSimulationDevicesIDNotFound

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

Not Found

func NewDeleteSimulationDevicesIDNotFound

func NewDeleteSimulationDevicesIDNotFound() *DeleteSimulationDevicesIDNotFound

NewDeleteSimulationDevicesIDNotFound creates a DeleteSimulationDevicesIDNotFound with default headers values

func (*DeleteSimulationDevicesIDNotFound) Error

func (*DeleteSimulationDevicesIDNotFound) GetPayload

type DeleteSimulationDevicesIDOK

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

Successful

func NewDeleteSimulationDevicesIDOK

func NewDeleteSimulationDevicesIDOK() *DeleteSimulationDevicesIDOK

NewDeleteSimulationDevicesIDOK creates a DeleteSimulationDevicesIDOK with default headers values

func (*DeleteSimulationDevicesIDOK) Error

func (*DeleteSimulationDevicesIDOK) GetPayload

type DeleteSimulationDevicesIDParams

type DeleteSimulationDevicesIDParams struct {

	// ID.
	ID string

	/* XAuthToken.

	   Token for user authorization.
	*/
	XAuthToken *string

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

DeleteSimulationDevicesIDParams contains all the parameters to send to the API endpoint

for the delete simulation devices Id operation.

Typically these are written to a http.Request.

func NewDeleteSimulationDevicesIDParams

func NewDeleteSimulationDevicesIDParams() *DeleteSimulationDevicesIDParams

NewDeleteSimulationDevicesIDParams creates a new DeleteSimulationDevicesIDParams 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 NewDeleteSimulationDevicesIDParamsWithContext

func NewDeleteSimulationDevicesIDParamsWithContext(ctx context.Context) *DeleteSimulationDevicesIDParams

NewDeleteSimulationDevicesIDParamsWithContext creates a new DeleteSimulationDevicesIDParams object with the ability to set a context for a request.

func NewDeleteSimulationDevicesIDParamsWithHTTPClient

func NewDeleteSimulationDevicesIDParamsWithHTTPClient(client *http.Client) *DeleteSimulationDevicesIDParams

NewDeleteSimulationDevicesIDParamsWithHTTPClient creates a new DeleteSimulationDevicesIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteSimulationDevicesIDParamsWithTimeout

func NewDeleteSimulationDevicesIDParamsWithTimeout(timeout time.Duration) *DeleteSimulationDevicesIDParams

NewDeleteSimulationDevicesIDParamsWithTimeout creates a new DeleteSimulationDevicesIDParams object with the ability to set a timeout on a request.

func (*DeleteSimulationDevicesIDParams) SetContext

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

SetContext adds the context to the delete simulation devices Id params

func (*DeleteSimulationDevicesIDParams) SetDefaults

func (o *DeleteSimulationDevicesIDParams) SetDefaults()

SetDefaults hydrates default values in the delete simulation devices Id params (not the query body).

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

func (*DeleteSimulationDevicesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete simulation devices Id params

func (*DeleteSimulationDevicesIDParams) SetID

SetID adds the id to the delete simulation devices Id params

func (*DeleteSimulationDevicesIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete simulation devices Id params

func (*DeleteSimulationDevicesIDParams) SetXAuthToken

func (o *DeleteSimulationDevicesIDParams) SetXAuthToken(xAuthToken *string)

SetXAuthToken adds the xAuthToken to the delete simulation devices Id params

func (*DeleteSimulationDevicesIDParams) WithContext

WithContext adds the context to the delete simulation devices Id params

func (*DeleteSimulationDevicesIDParams) WithDefaults

WithDefaults hydrates default values in the delete simulation devices Id params (not the query body).

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

func (*DeleteSimulationDevicesIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete simulation devices Id params

func (*DeleteSimulationDevicesIDParams) WithID

WithID adds the id to the delete simulation devices Id params

func (*DeleteSimulationDevicesIDParams) WithTimeout

WithTimeout adds the timeout to the delete simulation devices Id params

func (*DeleteSimulationDevicesIDParams) WithXAuthToken

WithXAuthToken adds the xAuthToken to the delete simulation devices Id params

func (*DeleteSimulationDevicesIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSimulationDevicesIDReader

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

DeleteSimulationDevicesIDReader is a Reader for the DeleteSimulationDevicesID structure.

func (*DeleteSimulationDevicesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSimulationDevicesIDUnauthorized

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

Unauthorized

func NewDeleteSimulationDevicesIDUnauthorized

func NewDeleteSimulationDevicesIDUnauthorized() *DeleteSimulationDevicesIDUnauthorized

NewDeleteSimulationDevicesIDUnauthorized creates a DeleteSimulationDevicesIDUnauthorized with default headers values

func (*DeleteSimulationDevicesIDUnauthorized) Error

func (*DeleteSimulationDevicesIDUnauthorized) GetPayload

type GetSimulationBadRequest

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

Bad Request

func NewGetSimulationBadRequest

func NewGetSimulationBadRequest() *GetSimulationBadRequest

NewGetSimulationBadRequest creates a GetSimulationBadRequest with default headers values

func (*GetSimulationBadRequest) Error

func (o *GetSimulationBadRequest) Error() string

func (*GetSimulationBadRequest) GetPayload

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

type GetSimulationDevicesBadRequest

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

Bad Request

func NewGetSimulationDevicesBadRequest

func NewGetSimulationDevicesBadRequest() *GetSimulationDevicesBadRequest

NewGetSimulationDevicesBadRequest creates a GetSimulationDevicesBadRequest with default headers values

func (*GetSimulationDevicesBadRequest) Error

func (*GetSimulationDevicesBadRequest) GetPayload

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

type GetSimulationDevicesInternalServerError

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

Internal Server Error

func NewGetSimulationDevicesInternalServerError

func NewGetSimulationDevicesInternalServerError() *GetSimulationDevicesInternalServerError

NewGetSimulationDevicesInternalServerError creates a GetSimulationDevicesInternalServerError with default headers values

func (*GetSimulationDevicesInternalServerError) Error

func (*GetSimulationDevicesInternalServerError) GetPayload

type GetSimulationDevicesOK

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

Successful

func NewGetSimulationDevicesOK

func NewGetSimulationDevicesOK() *GetSimulationDevicesOK

NewGetSimulationDevicesOK creates a GetSimulationDevicesOK with default headers values

func (*GetSimulationDevicesOK) Error

func (o *GetSimulationDevicesOK) Error() string

func (*GetSimulationDevicesOK) GetPayload

type GetSimulationDevicesParams

type GetSimulationDevicesParams struct {

	/* XAuthToken.

	   Token for user authorization.
	*/
	XAuthToken *string

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

GetSimulationDevicesParams contains all the parameters to send to the API endpoint

for the get simulation devices operation.

Typically these are written to a http.Request.

func NewGetSimulationDevicesParams

func NewGetSimulationDevicesParams() *GetSimulationDevicesParams

NewGetSimulationDevicesParams creates a new GetSimulationDevicesParams 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 NewGetSimulationDevicesParamsWithContext

func NewGetSimulationDevicesParamsWithContext(ctx context.Context) *GetSimulationDevicesParams

NewGetSimulationDevicesParamsWithContext creates a new GetSimulationDevicesParams object with the ability to set a context for a request.

func NewGetSimulationDevicesParamsWithHTTPClient

func NewGetSimulationDevicesParamsWithHTTPClient(client *http.Client) *GetSimulationDevicesParams

NewGetSimulationDevicesParamsWithHTTPClient creates a new GetSimulationDevicesParams object with the ability to set a custom HTTPClient for a request.

func NewGetSimulationDevicesParamsWithTimeout

func NewGetSimulationDevicesParamsWithTimeout(timeout time.Duration) *GetSimulationDevicesParams

NewGetSimulationDevicesParamsWithTimeout creates a new GetSimulationDevicesParams object with the ability to set a timeout on a request.

func (*GetSimulationDevicesParams) SetContext

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

SetContext adds the context to the get simulation devices params

func (*GetSimulationDevicesParams) SetDefaults

func (o *GetSimulationDevicesParams) SetDefaults()

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

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

func (*GetSimulationDevicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get simulation devices params

func (*GetSimulationDevicesParams) SetTimeout

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

SetTimeout adds the timeout to the get simulation devices params

func (*GetSimulationDevicesParams) SetXAuthToken

func (o *GetSimulationDevicesParams) SetXAuthToken(xAuthToken *string)

SetXAuthToken adds the xAuthToken to the get simulation devices params

func (*GetSimulationDevicesParams) WithContext

WithContext adds the context to the get simulation devices params

func (*GetSimulationDevicesParams) WithDefaults

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

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

func (*GetSimulationDevicesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get simulation devices params

func (*GetSimulationDevicesParams) WithTimeout

WithTimeout adds the timeout to the get simulation devices params

func (*GetSimulationDevicesParams) WithXAuthToken

func (o *GetSimulationDevicesParams) WithXAuthToken(xAuthToken *string) *GetSimulationDevicesParams

WithXAuthToken adds the xAuthToken to the get simulation devices params

func (*GetSimulationDevicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSimulationDevicesReader

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

GetSimulationDevicesReader is a Reader for the GetSimulationDevices structure.

func (*GetSimulationDevicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSimulationDevicesUnauthorized

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

Unauthorized

func NewGetSimulationDevicesUnauthorized

func NewGetSimulationDevicesUnauthorized() *GetSimulationDevicesUnauthorized

NewGetSimulationDevicesUnauthorized creates a GetSimulationDevicesUnauthorized with default headers values

func (*GetSimulationDevicesUnauthorized) Error

func (*GetSimulationDevicesUnauthorized) GetPayload

type GetSimulationInternalServerError

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

Internal Server Error

func NewGetSimulationInternalServerError

func NewGetSimulationInternalServerError() *GetSimulationInternalServerError

NewGetSimulationInternalServerError creates a GetSimulationInternalServerError with default headers values

func (*GetSimulationInternalServerError) Error

func (*GetSimulationInternalServerError) GetPayload

type GetSimulationLinksBadRequest

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

Bad Request

func NewGetSimulationLinksBadRequest

func NewGetSimulationLinksBadRequest() *GetSimulationLinksBadRequest

NewGetSimulationLinksBadRequest creates a GetSimulationLinksBadRequest with default headers values

func (*GetSimulationLinksBadRequest) Error

func (*GetSimulationLinksBadRequest) GetPayload

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

type GetSimulationLinksInternalServerError

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

Internal Server Error

func NewGetSimulationLinksInternalServerError

func NewGetSimulationLinksInternalServerError() *GetSimulationLinksInternalServerError

NewGetSimulationLinksInternalServerError creates a GetSimulationLinksInternalServerError with default headers values

func (*GetSimulationLinksInternalServerError) Error

func (*GetSimulationLinksInternalServerError) GetPayload

type GetSimulationLinksOK

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

Successful

func NewGetSimulationLinksOK

func NewGetSimulationLinksOK() *GetSimulationLinksOK

NewGetSimulationLinksOK creates a GetSimulationLinksOK with default headers values

func (*GetSimulationLinksOK) Error

func (o *GetSimulationLinksOK) Error() string

func (*GetSimulationLinksOK) GetPayload

type GetSimulationLinksParams

type GetSimulationLinksParams struct {

	/* XAuthToken.

	   Token for user authorization.
	*/
	XAuthToken *string

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

GetSimulationLinksParams contains all the parameters to send to the API endpoint

for the get simulation links operation.

Typically these are written to a http.Request.

func NewGetSimulationLinksParams

func NewGetSimulationLinksParams() *GetSimulationLinksParams

NewGetSimulationLinksParams creates a new GetSimulationLinksParams 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 NewGetSimulationLinksParamsWithContext

func NewGetSimulationLinksParamsWithContext(ctx context.Context) *GetSimulationLinksParams

NewGetSimulationLinksParamsWithContext creates a new GetSimulationLinksParams object with the ability to set a context for a request.

func NewGetSimulationLinksParamsWithHTTPClient

func NewGetSimulationLinksParamsWithHTTPClient(client *http.Client) *GetSimulationLinksParams

NewGetSimulationLinksParamsWithHTTPClient creates a new GetSimulationLinksParams object with the ability to set a custom HTTPClient for a request.

func NewGetSimulationLinksParamsWithTimeout

func NewGetSimulationLinksParamsWithTimeout(timeout time.Duration) *GetSimulationLinksParams

NewGetSimulationLinksParamsWithTimeout creates a new GetSimulationLinksParams object with the ability to set a timeout on a request.

func (*GetSimulationLinksParams) SetContext

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

SetContext adds the context to the get simulation links params

func (*GetSimulationLinksParams) SetDefaults

func (o *GetSimulationLinksParams) SetDefaults()

SetDefaults hydrates default values in the get simulation links params (not the query body).

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

func (*GetSimulationLinksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get simulation links params

func (*GetSimulationLinksParams) SetTimeout

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

SetTimeout adds the timeout to the get simulation links params

func (*GetSimulationLinksParams) SetXAuthToken

func (o *GetSimulationLinksParams) SetXAuthToken(xAuthToken *string)

SetXAuthToken adds the xAuthToken to the get simulation links params

func (*GetSimulationLinksParams) WithContext

WithContext adds the context to the get simulation links params

func (*GetSimulationLinksParams) WithDefaults

WithDefaults hydrates default values in the get simulation links params (not the query body).

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

func (*GetSimulationLinksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get simulation links params

func (*GetSimulationLinksParams) WithTimeout

WithTimeout adds the timeout to the get simulation links params

func (*GetSimulationLinksParams) WithXAuthToken

func (o *GetSimulationLinksParams) WithXAuthToken(xAuthToken *string) *GetSimulationLinksParams

WithXAuthToken adds the xAuthToken to the get simulation links params

func (*GetSimulationLinksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSimulationLinksReader

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

GetSimulationLinksReader is a Reader for the GetSimulationLinks structure.

func (*GetSimulationLinksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSimulationLinksUnauthorized

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

Unauthorized

func NewGetSimulationLinksUnauthorized

func NewGetSimulationLinksUnauthorized() *GetSimulationLinksUnauthorized

NewGetSimulationLinksUnauthorized creates a GetSimulationLinksUnauthorized with default headers values

func (*GetSimulationLinksUnauthorized) Error

func (*GetSimulationLinksUnauthorized) GetPayload

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

type GetSimulationOK

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

Successful

func NewGetSimulationOK

func NewGetSimulationOK() *GetSimulationOK

NewGetSimulationOK creates a GetSimulationOK with default headers values

func (*GetSimulationOK) Error

func (o *GetSimulationOK) Error() string

func (*GetSimulationOK) GetPayload

func (o *GetSimulationOK) GetPayload() *models.Simulation

type GetSimulationParams

type GetSimulationParams struct {

	/* XAuthToken.

	   Token for user authorization.
	*/
	XAuthToken *string

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

GetSimulationParams contains all the parameters to send to the API endpoint

for the get simulation operation.

Typically these are written to a http.Request.

func NewGetSimulationParams

func NewGetSimulationParams() *GetSimulationParams

NewGetSimulationParams creates a new GetSimulationParams 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 NewGetSimulationParamsWithContext

func NewGetSimulationParamsWithContext(ctx context.Context) *GetSimulationParams

NewGetSimulationParamsWithContext creates a new GetSimulationParams object with the ability to set a context for a request.

func NewGetSimulationParamsWithHTTPClient

func NewGetSimulationParamsWithHTTPClient(client *http.Client) *GetSimulationParams

NewGetSimulationParamsWithHTTPClient creates a new GetSimulationParams object with the ability to set a custom HTTPClient for a request.

func NewGetSimulationParamsWithTimeout

func NewGetSimulationParamsWithTimeout(timeout time.Duration) *GetSimulationParams

NewGetSimulationParamsWithTimeout creates a new GetSimulationParams object with the ability to set a timeout on a request.

func (*GetSimulationParams) SetContext

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

SetContext adds the context to the get simulation params

func (*GetSimulationParams) SetDefaults

func (o *GetSimulationParams) SetDefaults()

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

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

func (*GetSimulationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get simulation params

func (*GetSimulationParams) SetTimeout

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

SetTimeout adds the timeout to the get simulation params

func (*GetSimulationParams) SetXAuthToken

func (o *GetSimulationParams) SetXAuthToken(xAuthToken *string)

SetXAuthToken adds the xAuthToken to the get simulation params

func (*GetSimulationParams) WithContext

WithContext adds the context to the get simulation params

func (*GetSimulationParams) WithDefaults

func (o *GetSimulationParams) WithDefaults() *GetSimulationParams

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

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

func (*GetSimulationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get simulation params

func (*GetSimulationParams) WithTimeout

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

WithTimeout adds the timeout to the get simulation params

func (*GetSimulationParams) WithXAuthToken

func (o *GetSimulationParams) WithXAuthToken(xAuthToken *string) *GetSimulationParams

WithXAuthToken adds the xAuthToken to the get simulation params

func (*GetSimulationParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSimulationReader

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

GetSimulationReader is a Reader for the GetSimulation structure.

func (*GetSimulationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSimulationUnauthorized

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

Unauthorized

func NewGetSimulationUnauthorized

func NewGetSimulationUnauthorized() *GetSimulationUnauthorized

NewGetSimulationUnauthorized creates a GetSimulationUnauthorized with default headers values

func (*GetSimulationUnauthorized) Error

func (o *GetSimulationUnauthorized) Error() string

func (*GetSimulationUnauthorized) GetPayload

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

type PatchSimulationDevicesIDBadRequest

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

Bad Request

func NewPatchSimulationDevicesIDBadRequest

func NewPatchSimulationDevicesIDBadRequest() *PatchSimulationDevicesIDBadRequest

NewPatchSimulationDevicesIDBadRequest creates a PatchSimulationDevicesIDBadRequest with default headers values

func (*PatchSimulationDevicesIDBadRequest) Error

func (*PatchSimulationDevicesIDBadRequest) GetPayload

type PatchSimulationDevicesIDInternalServerError

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

Internal Server Error

func NewPatchSimulationDevicesIDInternalServerError

func NewPatchSimulationDevicesIDInternalServerError() *PatchSimulationDevicesIDInternalServerError

NewPatchSimulationDevicesIDInternalServerError creates a PatchSimulationDevicesIDInternalServerError with default headers values

func (*PatchSimulationDevicesIDInternalServerError) Error

func (*PatchSimulationDevicesIDInternalServerError) GetPayload

type PatchSimulationDevicesIDNotFound

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

Not Found

func NewPatchSimulationDevicesIDNotFound

func NewPatchSimulationDevicesIDNotFound() *PatchSimulationDevicesIDNotFound

NewPatchSimulationDevicesIDNotFound creates a PatchSimulationDevicesIDNotFound with default headers values

func (*PatchSimulationDevicesIDNotFound) Error

func (*PatchSimulationDevicesIDNotFound) GetPayload

type PatchSimulationDevicesIDOK

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

Successful

func NewPatchSimulationDevicesIDOK

func NewPatchSimulationDevicesIDOK() *PatchSimulationDevicesIDOK

NewPatchSimulationDevicesIDOK creates a PatchSimulationDevicesIDOK with default headers values

func (*PatchSimulationDevicesIDOK) Error

func (*PatchSimulationDevicesIDOK) GetPayload

type PatchSimulationDevicesIDParams

type PatchSimulationDevicesIDParams struct {

	// Body.
	Body *models.SimulationDevicePartialPayload

	// ID.
	ID string

	/* XAuthToken.

	   Token for user authorization.
	*/
	XAuthToken *string

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

PatchSimulationDevicesIDParams contains all the parameters to send to the API endpoint

for the patch simulation devices Id operation.

Typically these are written to a http.Request.

func NewPatchSimulationDevicesIDParams

func NewPatchSimulationDevicesIDParams() *PatchSimulationDevicesIDParams

NewPatchSimulationDevicesIDParams creates a new PatchSimulationDevicesIDParams 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 NewPatchSimulationDevicesIDParamsWithContext

func NewPatchSimulationDevicesIDParamsWithContext(ctx context.Context) *PatchSimulationDevicesIDParams

NewPatchSimulationDevicesIDParamsWithContext creates a new PatchSimulationDevicesIDParams object with the ability to set a context for a request.

func NewPatchSimulationDevicesIDParamsWithHTTPClient

func NewPatchSimulationDevicesIDParamsWithHTTPClient(client *http.Client) *PatchSimulationDevicesIDParams

NewPatchSimulationDevicesIDParamsWithHTTPClient creates a new PatchSimulationDevicesIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchSimulationDevicesIDParamsWithTimeout

func NewPatchSimulationDevicesIDParamsWithTimeout(timeout time.Duration) *PatchSimulationDevicesIDParams

NewPatchSimulationDevicesIDParamsWithTimeout creates a new PatchSimulationDevicesIDParams object with the ability to set a timeout on a request.

func (*PatchSimulationDevicesIDParams) SetBody

SetBody adds the body to the patch simulation devices Id params

func (*PatchSimulationDevicesIDParams) SetContext

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

SetContext adds the context to the patch simulation devices Id params

func (*PatchSimulationDevicesIDParams) SetDefaults

func (o *PatchSimulationDevicesIDParams) SetDefaults()

SetDefaults hydrates default values in the patch simulation devices Id params (not the query body).

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

func (*PatchSimulationDevicesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch simulation devices Id params

func (*PatchSimulationDevicesIDParams) SetID

SetID adds the id to the patch simulation devices Id params

func (*PatchSimulationDevicesIDParams) SetTimeout

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

SetTimeout adds the timeout to the patch simulation devices Id params

func (*PatchSimulationDevicesIDParams) SetXAuthToken

func (o *PatchSimulationDevicesIDParams) SetXAuthToken(xAuthToken *string)

SetXAuthToken adds the xAuthToken to the patch simulation devices Id params

func (*PatchSimulationDevicesIDParams) WithBody

WithBody adds the body to the patch simulation devices Id params

func (*PatchSimulationDevicesIDParams) WithContext

WithContext adds the context to the patch simulation devices Id params

func (*PatchSimulationDevicesIDParams) WithDefaults

WithDefaults hydrates default values in the patch simulation devices Id params (not the query body).

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

func (*PatchSimulationDevicesIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch simulation devices Id params

func (*PatchSimulationDevicesIDParams) WithID

WithID adds the id to the patch simulation devices Id params

func (*PatchSimulationDevicesIDParams) WithTimeout

WithTimeout adds the timeout to the patch simulation devices Id params

func (*PatchSimulationDevicesIDParams) WithXAuthToken

WithXAuthToken adds the xAuthToken to the patch simulation devices Id params

func (*PatchSimulationDevicesIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchSimulationDevicesIDReader

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

PatchSimulationDevicesIDReader is a Reader for the PatchSimulationDevicesID structure.

func (*PatchSimulationDevicesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchSimulationDevicesIDUnauthorized

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

Unauthorized

func NewPatchSimulationDevicesIDUnauthorized

func NewPatchSimulationDevicesIDUnauthorized() *PatchSimulationDevicesIDUnauthorized

NewPatchSimulationDevicesIDUnauthorized creates a PatchSimulationDevicesIDUnauthorized with default headers values

func (*PatchSimulationDevicesIDUnauthorized) Error

func (*PatchSimulationDevicesIDUnauthorized) GetPayload

type PatchSimulationLinksIDBadRequest

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

Bad Request

func NewPatchSimulationLinksIDBadRequest

func NewPatchSimulationLinksIDBadRequest() *PatchSimulationLinksIDBadRequest

NewPatchSimulationLinksIDBadRequest creates a PatchSimulationLinksIDBadRequest with default headers values

func (*PatchSimulationLinksIDBadRequest) Error

func (*PatchSimulationLinksIDBadRequest) GetPayload

type PatchSimulationLinksIDInternalServerError

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

Internal Server Error

func NewPatchSimulationLinksIDInternalServerError

func NewPatchSimulationLinksIDInternalServerError() *PatchSimulationLinksIDInternalServerError

NewPatchSimulationLinksIDInternalServerError creates a PatchSimulationLinksIDInternalServerError with default headers values

func (*PatchSimulationLinksIDInternalServerError) Error

func (*PatchSimulationLinksIDInternalServerError) GetPayload

type PatchSimulationLinksIDNotFound

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

Not Found

func NewPatchSimulationLinksIDNotFound

func NewPatchSimulationLinksIDNotFound() *PatchSimulationLinksIDNotFound

NewPatchSimulationLinksIDNotFound creates a PatchSimulationLinksIDNotFound with default headers values

func (*PatchSimulationLinksIDNotFound) Error

func (*PatchSimulationLinksIDNotFound) GetPayload

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

type PatchSimulationLinksIDOK

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

Successful

func NewPatchSimulationLinksIDOK

func NewPatchSimulationLinksIDOK() *PatchSimulationLinksIDOK

NewPatchSimulationLinksIDOK creates a PatchSimulationLinksIDOK with default headers values

func (*PatchSimulationLinksIDOK) Error

func (o *PatchSimulationLinksIDOK) Error() string

func (*PatchSimulationLinksIDOK) GetPayload

type PatchSimulationLinksIDParams

type PatchSimulationLinksIDParams struct {

	// Body.
	Body *models.SimulationLinkPartialPayload

	// ID.
	ID string

	/* XAuthToken.

	   Token for user authorization.
	*/
	XAuthToken *string

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

PatchSimulationLinksIDParams contains all the parameters to send to the API endpoint

for the patch simulation links Id operation.

Typically these are written to a http.Request.

func NewPatchSimulationLinksIDParams

func NewPatchSimulationLinksIDParams() *PatchSimulationLinksIDParams

NewPatchSimulationLinksIDParams creates a new PatchSimulationLinksIDParams 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 NewPatchSimulationLinksIDParamsWithContext

func NewPatchSimulationLinksIDParamsWithContext(ctx context.Context) *PatchSimulationLinksIDParams

NewPatchSimulationLinksIDParamsWithContext creates a new PatchSimulationLinksIDParams object with the ability to set a context for a request.

func NewPatchSimulationLinksIDParamsWithHTTPClient

func NewPatchSimulationLinksIDParamsWithHTTPClient(client *http.Client) *PatchSimulationLinksIDParams

NewPatchSimulationLinksIDParamsWithHTTPClient creates a new PatchSimulationLinksIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchSimulationLinksIDParamsWithTimeout

func NewPatchSimulationLinksIDParamsWithTimeout(timeout time.Duration) *PatchSimulationLinksIDParams

NewPatchSimulationLinksIDParamsWithTimeout creates a new PatchSimulationLinksIDParams object with the ability to set a timeout on a request.

func (*PatchSimulationLinksIDParams) SetBody

SetBody adds the body to the patch simulation links Id params

func (*PatchSimulationLinksIDParams) SetContext

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

SetContext adds the context to the patch simulation links Id params

func (*PatchSimulationLinksIDParams) SetDefaults

func (o *PatchSimulationLinksIDParams) SetDefaults()

SetDefaults hydrates default values in the patch simulation links Id params (not the query body).

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

func (*PatchSimulationLinksIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch simulation links Id params

func (*PatchSimulationLinksIDParams) SetID

func (o *PatchSimulationLinksIDParams) SetID(id string)

SetID adds the id to the patch simulation links Id params

func (*PatchSimulationLinksIDParams) SetTimeout

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

SetTimeout adds the timeout to the patch simulation links Id params

func (*PatchSimulationLinksIDParams) SetXAuthToken

func (o *PatchSimulationLinksIDParams) SetXAuthToken(xAuthToken *string)

SetXAuthToken adds the xAuthToken to the patch simulation links Id params

func (*PatchSimulationLinksIDParams) WithBody

WithBody adds the body to the patch simulation links Id params

func (*PatchSimulationLinksIDParams) WithContext

WithContext adds the context to the patch simulation links Id params

func (*PatchSimulationLinksIDParams) WithDefaults

WithDefaults hydrates default values in the patch simulation links Id params (not the query body).

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

func (*PatchSimulationLinksIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch simulation links Id params

func (*PatchSimulationLinksIDParams) WithID

WithID adds the id to the patch simulation links Id params

func (*PatchSimulationLinksIDParams) WithTimeout

WithTimeout adds the timeout to the patch simulation links Id params

func (*PatchSimulationLinksIDParams) WithXAuthToken

func (o *PatchSimulationLinksIDParams) WithXAuthToken(xAuthToken *string) *PatchSimulationLinksIDParams

WithXAuthToken adds the xAuthToken to the patch simulation links Id params

func (*PatchSimulationLinksIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchSimulationLinksIDReader

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

PatchSimulationLinksIDReader is a Reader for the PatchSimulationLinksID structure.

func (*PatchSimulationLinksIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchSimulationLinksIDUnauthorized

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

Unauthorized

func NewPatchSimulationLinksIDUnauthorized

func NewPatchSimulationLinksIDUnauthorized() *PatchSimulationLinksIDUnauthorized

NewPatchSimulationLinksIDUnauthorized creates a PatchSimulationLinksIDUnauthorized with default headers values

func (*PatchSimulationLinksIDUnauthorized) Error

func (*PatchSimulationLinksIDUnauthorized) GetPayload

type PostSimulationDevicesBadRequest

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

Bad Request

func NewPostSimulationDevicesBadRequest

func NewPostSimulationDevicesBadRequest() *PostSimulationDevicesBadRequest

NewPostSimulationDevicesBadRequest creates a PostSimulationDevicesBadRequest with default headers values

func (*PostSimulationDevicesBadRequest) Error

func (*PostSimulationDevicesBadRequest) GetPayload

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

type PostSimulationDevicesInternalServerError

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

Internal Server Error

func NewPostSimulationDevicesInternalServerError

func NewPostSimulationDevicesInternalServerError() *PostSimulationDevicesInternalServerError

NewPostSimulationDevicesInternalServerError creates a PostSimulationDevicesInternalServerError with default headers values

func (*PostSimulationDevicesInternalServerError) Error

func (*PostSimulationDevicesInternalServerError) GetPayload

type PostSimulationDevicesNotFound

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

Not Found

func NewPostSimulationDevicesNotFound

func NewPostSimulationDevicesNotFound() *PostSimulationDevicesNotFound

NewPostSimulationDevicesNotFound creates a PostSimulationDevicesNotFound with default headers values

func (*PostSimulationDevicesNotFound) Error

func (*PostSimulationDevicesNotFound) GetPayload

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

type PostSimulationDevicesOK

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

Successful

func NewPostSimulationDevicesOK

func NewPostSimulationDevicesOK() *PostSimulationDevicesOK

NewPostSimulationDevicesOK creates a PostSimulationDevicesOK with default headers values

func (*PostSimulationDevicesOK) Error

func (o *PostSimulationDevicesOK) Error() string

func (*PostSimulationDevicesOK) GetPayload

type PostSimulationDevicesParams

type PostSimulationDevicesParams struct {

	// Body.
	Body *models.SimulationDevicePayload

	/* XAuthToken.

	   Token for user authorization.
	*/
	XAuthToken *string

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

PostSimulationDevicesParams contains all the parameters to send to the API endpoint

for the post simulation devices operation.

Typically these are written to a http.Request.

func NewPostSimulationDevicesParams

func NewPostSimulationDevicesParams() *PostSimulationDevicesParams

NewPostSimulationDevicesParams creates a new PostSimulationDevicesParams 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 NewPostSimulationDevicesParamsWithContext

func NewPostSimulationDevicesParamsWithContext(ctx context.Context) *PostSimulationDevicesParams

NewPostSimulationDevicesParamsWithContext creates a new PostSimulationDevicesParams object with the ability to set a context for a request.

func NewPostSimulationDevicesParamsWithHTTPClient

func NewPostSimulationDevicesParamsWithHTTPClient(client *http.Client) *PostSimulationDevicesParams

NewPostSimulationDevicesParamsWithHTTPClient creates a new PostSimulationDevicesParams object with the ability to set a custom HTTPClient for a request.

func NewPostSimulationDevicesParamsWithTimeout

func NewPostSimulationDevicesParamsWithTimeout(timeout time.Duration) *PostSimulationDevicesParams

NewPostSimulationDevicesParamsWithTimeout creates a new PostSimulationDevicesParams object with the ability to set a timeout on a request.

func (*PostSimulationDevicesParams) SetBody

SetBody adds the body to the post simulation devices params

func (*PostSimulationDevicesParams) SetContext

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

SetContext adds the context to the post simulation devices params

func (*PostSimulationDevicesParams) SetDefaults

func (o *PostSimulationDevicesParams) SetDefaults()

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

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

func (*PostSimulationDevicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post simulation devices params

func (*PostSimulationDevicesParams) SetTimeout

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

SetTimeout adds the timeout to the post simulation devices params

func (*PostSimulationDevicesParams) SetXAuthToken

func (o *PostSimulationDevicesParams) SetXAuthToken(xAuthToken *string)

SetXAuthToken adds the xAuthToken to the post simulation devices params

func (*PostSimulationDevicesParams) WithBody

WithBody adds the body to the post simulation devices params

func (*PostSimulationDevicesParams) WithContext

WithContext adds the context to the post simulation devices params

func (*PostSimulationDevicesParams) WithDefaults

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

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

func (*PostSimulationDevicesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post simulation devices params

func (*PostSimulationDevicesParams) WithTimeout

WithTimeout adds the timeout to the post simulation devices params

func (*PostSimulationDevicesParams) WithXAuthToken

func (o *PostSimulationDevicesParams) WithXAuthToken(xAuthToken *string) *PostSimulationDevicesParams

WithXAuthToken adds the xAuthToken to the post simulation devices params

func (*PostSimulationDevicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostSimulationDevicesReader

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

PostSimulationDevicesReader is a Reader for the PostSimulationDevices structure.

func (*PostSimulationDevicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostSimulationDevicesUnauthorized

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

Unauthorized

func NewPostSimulationDevicesUnauthorized

func NewPostSimulationDevicesUnauthorized() *PostSimulationDevicesUnauthorized

NewPostSimulationDevicesUnauthorized creates a PostSimulationDevicesUnauthorized with default headers values

func (*PostSimulationDevicesUnauthorized) Error

func (*PostSimulationDevicesUnauthorized) GetPayload

type PutSimulationDevicesIDBadRequest

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

Bad Request

func NewPutSimulationDevicesIDBadRequest

func NewPutSimulationDevicesIDBadRequest() *PutSimulationDevicesIDBadRequest

NewPutSimulationDevicesIDBadRequest creates a PutSimulationDevicesIDBadRequest with default headers values

func (*PutSimulationDevicesIDBadRequest) Error

func (*PutSimulationDevicesIDBadRequest) GetPayload

type PutSimulationDevicesIDInternalServerError

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

Internal Server Error

func NewPutSimulationDevicesIDInternalServerError

func NewPutSimulationDevicesIDInternalServerError() *PutSimulationDevicesIDInternalServerError

NewPutSimulationDevicesIDInternalServerError creates a PutSimulationDevicesIDInternalServerError with default headers values

func (*PutSimulationDevicesIDInternalServerError) Error

func (*PutSimulationDevicesIDInternalServerError) GetPayload

type PutSimulationDevicesIDNotFound

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

Not Found

func NewPutSimulationDevicesIDNotFound

func NewPutSimulationDevicesIDNotFound() *PutSimulationDevicesIDNotFound

NewPutSimulationDevicesIDNotFound creates a PutSimulationDevicesIDNotFound with default headers values

func (*PutSimulationDevicesIDNotFound) Error

func (*PutSimulationDevicesIDNotFound) GetPayload

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

type PutSimulationDevicesIDOK

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

Successful

func NewPutSimulationDevicesIDOK

func NewPutSimulationDevicesIDOK() *PutSimulationDevicesIDOK

NewPutSimulationDevicesIDOK creates a PutSimulationDevicesIDOK with default headers values

func (*PutSimulationDevicesIDOK) Error

func (o *PutSimulationDevicesIDOK) Error() string

func (*PutSimulationDevicesIDOK) GetPayload

type PutSimulationDevicesIDParams

type PutSimulationDevicesIDParams struct {

	// Body.
	Body *models.SimulationDevicePayload

	// ID.
	ID string

	/* XAuthToken.

	   Token for user authorization.
	*/
	XAuthToken *string

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

PutSimulationDevicesIDParams contains all the parameters to send to the API endpoint

for the put simulation devices Id operation.

Typically these are written to a http.Request.

func NewPutSimulationDevicesIDParams

func NewPutSimulationDevicesIDParams() *PutSimulationDevicesIDParams

NewPutSimulationDevicesIDParams creates a new PutSimulationDevicesIDParams 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 NewPutSimulationDevicesIDParamsWithContext

func NewPutSimulationDevicesIDParamsWithContext(ctx context.Context) *PutSimulationDevicesIDParams

NewPutSimulationDevicesIDParamsWithContext creates a new PutSimulationDevicesIDParams object with the ability to set a context for a request.

func NewPutSimulationDevicesIDParamsWithHTTPClient

func NewPutSimulationDevicesIDParamsWithHTTPClient(client *http.Client) *PutSimulationDevicesIDParams

NewPutSimulationDevicesIDParamsWithHTTPClient creates a new PutSimulationDevicesIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutSimulationDevicesIDParamsWithTimeout

func NewPutSimulationDevicesIDParamsWithTimeout(timeout time.Duration) *PutSimulationDevicesIDParams

NewPutSimulationDevicesIDParamsWithTimeout creates a new PutSimulationDevicesIDParams object with the ability to set a timeout on a request.

func (*PutSimulationDevicesIDParams) SetBody

SetBody adds the body to the put simulation devices Id params

func (*PutSimulationDevicesIDParams) SetContext

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

SetContext adds the context to the put simulation devices Id params

func (*PutSimulationDevicesIDParams) SetDefaults

func (o *PutSimulationDevicesIDParams) SetDefaults()

SetDefaults hydrates default values in the put simulation devices Id params (not the query body).

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

func (*PutSimulationDevicesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put simulation devices Id params

func (*PutSimulationDevicesIDParams) SetID

func (o *PutSimulationDevicesIDParams) SetID(id string)

SetID adds the id to the put simulation devices Id params

func (*PutSimulationDevicesIDParams) SetTimeout

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

SetTimeout adds the timeout to the put simulation devices Id params

func (*PutSimulationDevicesIDParams) SetXAuthToken

func (o *PutSimulationDevicesIDParams) SetXAuthToken(xAuthToken *string)

SetXAuthToken adds the xAuthToken to the put simulation devices Id params

func (*PutSimulationDevicesIDParams) WithBody

WithBody adds the body to the put simulation devices Id params

func (*PutSimulationDevicesIDParams) WithContext

WithContext adds the context to the put simulation devices Id params

func (*PutSimulationDevicesIDParams) WithDefaults

WithDefaults hydrates default values in the put simulation devices Id params (not the query body).

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

func (*PutSimulationDevicesIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put simulation devices Id params

func (*PutSimulationDevicesIDParams) WithID

WithID adds the id to the put simulation devices Id params

func (*PutSimulationDevicesIDParams) WithTimeout

WithTimeout adds the timeout to the put simulation devices Id params

func (*PutSimulationDevicesIDParams) WithXAuthToken

func (o *PutSimulationDevicesIDParams) WithXAuthToken(xAuthToken *string) *PutSimulationDevicesIDParams

WithXAuthToken adds the xAuthToken to the put simulation devices Id params

func (*PutSimulationDevicesIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutSimulationDevicesIDReader

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

PutSimulationDevicesIDReader is a Reader for the PutSimulationDevicesID structure.

func (*PutSimulationDevicesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutSimulationDevicesIDUnauthorized

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

Unauthorized

func NewPutSimulationDevicesIDUnauthorized

func NewPutSimulationDevicesIDUnauthorized() *PutSimulationDevicesIDUnauthorized

NewPutSimulationDevicesIDUnauthorized creates a PutSimulationDevicesIDUnauthorized with default headers values

func (*PutSimulationDevicesIDUnauthorized) Error

func (*PutSimulationDevicesIDUnauthorized) GetPayload

type PutSimulationLinksIDBadRequest

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

Bad Request

func NewPutSimulationLinksIDBadRequest

func NewPutSimulationLinksIDBadRequest() *PutSimulationLinksIDBadRequest

NewPutSimulationLinksIDBadRequest creates a PutSimulationLinksIDBadRequest with default headers values

func (*PutSimulationLinksIDBadRequest) Error

func (*PutSimulationLinksIDBadRequest) GetPayload

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

type PutSimulationLinksIDInternalServerError

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

Internal Server Error

func NewPutSimulationLinksIDInternalServerError

func NewPutSimulationLinksIDInternalServerError() *PutSimulationLinksIDInternalServerError

NewPutSimulationLinksIDInternalServerError creates a PutSimulationLinksIDInternalServerError with default headers values

func (*PutSimulationLinksIDInternalServerError) Error

func (*PutSimulationLinksIDInternalServerError) GetPayload

type PutSimulationLinksIDNotFound

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

Not Found

func NewPutSimulationLinksIDNotFound

func NewPutSimulationLinksIDNotFound() *PutSimulationLinksIDNotFound

NewPutSimulationLinksIDNotFound creates a PutSimulationLinksIDNotFound with default headers values

func (*PutSimulationLinksIDNotFound) Error

func (*PutSimulationLinksIDNotFound) GetPayload

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

type PutSimulationLinksIDOK

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

Successful

func NewPutSimulationLinksIDOK

func NewPutSimulationLinksIDOK() *PutSimulationLinksIDOK

NewPutSimulationLinksIDOK creates a PutSimulationLinksIDOK with default headers values

func (*PutSimulationLinksIDOK) Error

func (o *PutSimulationLinksIDOK) Error() string

func (*PutSimulationLinksIDOK) GetPayload

func (o *PutSimulationLinksIDOK) GetPayload() *models.SimulationLink

type PutSimulationLinksIDParams

type PutSimulationLinksIDParams struct {

	// Body.
	Body *models.SimulationLinkPayload

	// ID.
	ID string

	/* XAuthToken.

	   Token for user authorization.
	*/
	XAuthToken *string

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

PutSimulationLinksIDParams contains all the parameters to send to the API endpoint

for the put simulation links Id operation.

Typically these are written to a http.Request.

func NewPutSimulationLinksIDParams

func NewPutSimulationLinksIDParams() *PutSimulationLinksIDParams

NewPutSimulationLinksIDParams creates a new PutSimulationLinksIDParams 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 NewPutSimulationLinksIDParamsWithContext

func NewPutSimulationLinksIDParamsWithContext(ctx context.Context) *PutSimulationLinksIDParams

NewPutSimulationLinksIDParamsWithContext creates a new PutSimulationLinksIDParams object with the ability to set a context for a request.

func NewPutSimulationLinksIDParamsWithHTTPClient

func NewPutSimulationLinksIDParamsWithHTTPClient(client *http.Client) *PutSimulationLinksIDParams

NewPutSimulationLinksIDParamsWithHTTPClient creates a new PutSimulationLinksIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutSimulationLinksIDParamsWithTimeout

func NewPutSimulationLinksIDParamsWithTimeout(timeout time.Duration) *PutSimulationLinksIDParams

NewPutSimulationLinksIDParamsWithTimeout creates a new PutSimulationLinksIDParams object with the ability to set a timeout on a request.

func (*PutSimulationLinksIDParams) SetBody

SetBody adds the body to the put simulation links Id params

func (*PutSimulationLinksIDParams) SetContext

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

SetContext adds the context to the put simulation links Id params

func (*PutSimulationLinksIDParams) SetDefaults

func (o *PutSimulationLinksIDParams) SetDefaults()

SetDefaults hydrates default values in the put simulation links Id params (not the query body).

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

func (*PutSimulationLinksIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put simulation links Id params

func (*PutSimulationLinksIDParams) SetID

func (o *PutSimulationLinksIDParams) SetID(id string)

SetID adds the id to the put simulation links Id params

func (*PutSimulationLinksIDParams) SetTimeout

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

SetTimeout adds the timeout to the put simulation links Id params

func (*PutSimulationLinksIDParams) SetXAuthToken

func (o *PutSimulationLinksIDParams) SetXAuthToken(xAuthToken *string)

SetXAuthToken adds the xAuthToken to the put simulation links Id params

func (*PutSimulationLinksIDParams) WithBody

WithBody adds the body to the put simulation links Id params

func (*PutSimulationLinksIDParams) WithContext

WithContext adds the context to the put simulation links Id params

func (*PutSimulationLinksIDParams) WithDefaults

WithDefaults hydrates default values in the put simulation links Id params (not the query body).

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

func (*PutSimulationLinksIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put simulation links Id params

func (*PutSimulationLinksIDParams) WithID

WithID adds the id to the put simulation links Id params

func (*PutSimulationLinksIDParams) WithTimeout

WithTimeout adds the timeout to the put simulation links Id params

func (*PutSimulationLinksIDParams) WithXAuthToken

func (o *PutSimulationLinksIDParams) WithXAuthToken(xAuthToken *string) *PutSimulationLinksIDParams

WithXAuthToken adds the xAuthToken to the put simulation links Id params

func (*PutSimulationLinksIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutSimulationLinksIDReader

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

PutSimulationLinksIDReader is a Reader for the PutSimulationLinksID structure.

func (*PutSimulationLinksIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutSimulationLinksIDUnauthorized

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

Unauthorized

func NewPutSimulationLinksIDUnauthorized

func NewPutSimulationLinksIDUnauthorized() *PutSimulationLinksIDUnauthorized

NewPutSimulationLinksIDUnauthorized creates a PutSimulationLinksIDUnauthorized with default headers values

func (*PutSimulationLinksIDUnauthorized) Error

func (*PutSimulationLinksIDUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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