project

package
v0.0.0-...-7077701 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddProjectDeviceBadRequest

type AddProjectDeviceBadRequest struct {
}

AddProjectDeviceBadRequest handles this case with default header values.

bad request

func NewAddProjectDeviceBadRequest

func NewAddProjectDeviceBadRequest() *AddProjectDeviceBadRequest

NewAddProjectDeviceBadRequest creates a AddProjectDeviceBadRequest with default headers values

func (*AddProjectDeviceBadRequest) Error

type AddProjectDeviceInternalServerError

type AddProjectDeviceInternalServerError struct {
}

AddProjectDeviceInternalServerError handles this case with default header values.

server internal error

func NewAddProjectDeviceInternalServerError

func NewAddProjectDeviceInternalServerError() *AddProjectDeviceInternalServerError

NewAddProjectDeviceInternalServerError creates a AddProjectDeviceInternalServerError with default headers values

func (*AddProjectDeviceInternalServerError) Error

type AddProjectDeviceNotFound

type AddProjectDeviceNotFound struct {
}

AddProjectDeviceNotFound handles this case with default header values.

project not found

func NewAddProjectDeviceNotFound

func NewAddProjectDeviceNotFound() *AddProjectDeviceNotFound

NewAddProjectDeviceNotFound creates a AddProjectDeviceNotFound with default headers values

func (*AddProjectDeviceNotFound) Error

func (o *AddProjectDeviceNotFound) Error() string

type AddProjectDeviceOK

type AddProjectDeviceOK struct {
}

AddProjectDeviceOK handles this case with default header values.

successful operation

func NewAddProjectDeviceOK

func NewAddProjectDeviceOK() *AddProjectDeviceOK

NewAddProjectDeviceOK creates a AddProjectDeviceOK with default headers values

func (*AddProjectDeviceOK) Error

func (o *AddProjectDeviceOK) Error() string

type AddProjectDeviceParams

type AddProjectDeviceParams struct {

	/*Device*/
	Device *models.Device
	/*ProjectID
	  specified project

	*/
	ProjectID string

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

AddProjectDeviceParams contains all the parameters to send to the API endpoint for the add project device operation typically these are written to a http.Request

func NewAddProjectDeviceParams

func NewAddProjectDeviceParams() *AddProjectDeviceParams

NewAddProjectDeviceParams creates a new AddProjectDeviceParams object with the default values initialized.

func NewAddProjectDeviceParamsWithContext

func NewAddProjectDeviceParamsWithContext(ctx context.Context) *AddProjectDeviceParams

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

func NewAddProjectDeviceParamsWithHTTPClient

func NewAddProjectDeviceParamsWithHTTPClient(client *http.Client) *AddProjectDeviceParams

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

func NewAddProjectDeviceParamsWithTimeout

func NewAddProjectDeviceParamsWithTimeout(timeout time.Duration) *AddProjectDeviceParams

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

func (*AddProjectDeviceParams) SetContext

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

SetContext adds the context to the add project device params

func (*AddProjectDeviceParams) SetDevice

func (o *AddProjectDeviceParams) SetDevice(device *models.Device)

SetDevice adds the device to the add project device params

func (*AddProjectDeviceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add project device params

func (*AddProjectDeviceParams) SetProjectID

func (o *AddProjectDeviceParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the add project device params

func (*AddProjectDeviceParams) SetTimeout

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

SetTimeout adds the timeout to the add project device params

func (*AddProjectDeviceParams) WithContext

WithContext adds the context to the add project device params

func (*AddProjectDeviceParams) WithDevice

WithDevice adds the device to the add project device params

func (*AddProjectDeviceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add project device params

func (*AddProjectDeviceParams) WithProjectID

func (o *AddProjectDeviceParams) WithProjectID(projectID string) *AddProjectDeviceParams

WithProjectID adds the projectID to the add project device params

func (*AddProjectDeviceParams) WithTimeout

WithTimeout adds the timeout to the add project device params

func (*AddProjectDeviceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddProjectDeviceReader

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

AddProjectDeviceReader is a Reader for the AddProjectDevice structure.

func (*AddProjectDeviceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for project API

func New

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

New creates a new project API client.

func (*Client) AddProjectDevice

func (a *Client) AddProjectDevice(params *AddProjectDeviceParams, authInfo runtime.ClientAuthInfoWriter) (*AddProjectDeviceOK, error)

AddProjectDevice adds device instance to project

add device instance to project

func (*Client) CreateProject

func (a *Client) CreateProject(params *CreateProjectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateProjectOK, error)

CreateProject create new project

func (*Client) DeleteProject

func (a *Client) DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteProjectOK, error)

DeleteProject deletes project

delete specifed project

func (*Client) DeleteProjectDevice

func (a *Client) DeleteProjectDevice(params *DeleteProjectDeviceParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteProjectDeviceOK, error)

DeleteProjectDevice deletes project s specified device

delete project's specified device

func (*Client) GetProjectDevice

func (a *Client) GetProjectDevice(params *GetProjectDeviceParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectDeviceOK, error)

GetProjectDevice geets project s specified device

get project's specified device

func (*Client) GetProjectDevices

func (a *Client) GetProjectDevices(params *GetProjectDevicesParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectDevicesOK, error)

GetProjectDevices gets project s all devices

get project's devices

func (*Client) GetProjectSummary

func (a *Client) GetProjectSummary(params *GetProjectSummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectSummaryOK, error)

GetProjectSummary gets project s summary

get project's summary

func (*Client) GetProjects

func (a *Client) GetProjects(params *GetProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectsOK, error)

GetProjects retrieves all projects

func (*Client) GetProjectsProjectID

func (a *Client) GetProjectsProjectID(params *GetProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectsProjectIDOK, error)

GetProjectsProjectID gets specified project

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateProject

func (a *Client) UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateProjectOK, error)

UpdateProject updates specified project

func (*Client) UpdateProjectDevice

func (a *Client) UpdateProjectDevice(params *UpdateProjectDeviceParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateProjectDeviceOK, error)

UpdateProjectDevice updates project s specified device

update project's specified device

func (*Client) UpdateProjectDeviceStatus

func (a *Client) UpdateProjectDeviceStatus(params *UpdateProjectDeviceStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateProjectDeviceStatusOK, error)

UpdateProjectDeviceStatus updates project s specified device s status

type CreateProjectBadRequest

type CreateProjectBadRequest struct {
}

CreateProjectBadRequest handles this case with default header values.

Bad request

func NewCreateProjectBadRequest

func NewCreateProjectBadRequest() *CreateProjectBadRequest

NewCreateProjectBadRequest creates a CreateProjectBadRequest with default headers values

func (*CreateProjectBadRequest) Error

func (o *CreateProjectBadRequest) Error() string

type CreateProjectInternalServerError

type CreateProjectInternalServerError struct {
}

CreateProjectInternalServerError handles this case with default header values.

Server internal error

func NewCreateProjectInternalServerError

func NewCreateProjectInternalServerError() *CreateProjectInternalServerError

NewCreateProjectInternalServerError creates a CreateProjectInternalServerError with default headers values

func (*CreateProjectInternalServerError) Error

type CreateProjectOK

type CreateProjectOK struct {
	Payload *models.Project
}

CreateProjectOK handles this case with default header values.

Successful operation

func NewCreateProjectOK

func NewCreateProjectOK() *CreateProjectOK

NewCreateProjectOK creates a CreateProjectOK with default headers values

func (*CreateProjectOK) Error

func (o *CreateProjectOK) Error() string

func (*CreateProjectOK) GetPayload

func (o *CreateProjectOK) GetPayload() *models.Project

type CreateProjectParams

type CreateProjectParams struct {

	/*Project
	  new created project

	*/
	Project *models.Project

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

CreateProjectParams contains all the parameters to send to the API endpoint for the create project operation typically these are written to a http.Request

func NewCreateProjectParams

func NewCreateProjectParams() *CreateProjectParams

NewCreateProjectParams creates a new CreateProjectParams object with the default values initialized.

func NewCreateProjectParamsWithContext

func NewCreateProjectParamsWithContext(ctx context.Context) *CreateProjectParams

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

func NewCreateProjectParamsWithHTTPClient

func NewCreateProjectParamsWithHTTPClient(client *http.Client) *CreateProjectParams

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

func NewCreateProjectParamsWithTimeout

func NewCreateProjectParamsWithTimeout(timeout time.Duration) *CreateProjectParams

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

func (*CreateProjectParams) SetContext

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

SetContext adds the context to the create project params

func (*CreateProjectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create project params

func (*CreateProjectParams) SetProject

func (o *CreateProjectParams) SetProject(project *models.Project)

SetProject adds the project to the create project params

func (*CreateProjectParams) SetTimeout

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

SetTimeout adds the timeout to the create project params

func (*CreateProjectParams) WithContext

WithContext adds the context to the create project params

func (*CreateProjectParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create project params

func (*CreateProjectParams) WithProject

func (o *CreateProjectParams) WithProject(project *models.Project) *CreateProjectParams

WithProject adds the project to the create project params

func (*CreateProjectParams) WithTimeout

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

WithTimeout adds the timeout to the create project params

func (*CreateProjectParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateProjectReader

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

CreateProjectReader is a Reader for the CreateProject structure.

func (*CreateProjectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteProjectDeviceBadRequest

type DeleteProjectDeviceBadRequest struct {
}

DeleteProjectDeviceBadRequest handles this case with default header values.

Bad request

func NewDeleteProjectDeviceBadRequest

func NewDeleteProjectDeviceBadRequest() *DeleteProjectDeviceBadRequest

NewDeleteProjectDeviceBadRequest creates a DeleteProjectDeviceBadRequest with default headers values

func (*DeleteProjectDeviceBadRequest) Error

type DeleteProjectDeviceInternalServerError

type DeleteProjectDeviceInternalServerError struct {
}

DeleteProjectDeviceInternalServerError handles this case with default header values.

server internal error

func NewDeleteProjectDeviceInternalServerError

func NewDeleteProjectDeviceInternalServerError() *DeleteProjectDeviceInternalServerError

NewDeleteProjectDeviceInternalServerError creates a DeleteProjectDeviceInternalServerError with default headers values

func (*DeleteProjectDeviceInternalServerError) Error

type DeleteProjectDeviceOK

type DeleteProjectDeviceOK struct {
}

DeleteProjectDeviceOK handles this case with default header values.

successful operation

func NewDeleteProjectDeviceOK

func NewDeleteProjectDeviceOK() *DeleteProjectDeviceOK

NewDeleteProjectDeviceOK creates a DeleteProjectDeviceOK with default headers values

func (*DeleteProjectDeviceOK) Error

func (o *DeleteProjectDeviceOK) Error() string

type DeleteProjectDeviceParams

type DeleteProjectDeviceParams struct {

	/*DeviceID
	  deviceId

	*/
	DeviceID string
	/*ProjectID
	  projectId

	*/
	ProjectID string

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

DeleteProjectDeviceParams contains all the parameters to send to the API endpoint for the delete project device operation typically these are written to a http.Request

func NewDeleteProjectDeviceParams

func NewDeleteProjectDeviceParams() *DeleteProjectDeviceParams

NewDeleteProjectDeviceParams creates a new DeleteProjectDeviceParams object with the default values initialized.

func NewDeleteProjectDeviceParamsWithContext

func NewDeleteProjectDeviceParamsWithContext(ctx context.Context) *DeleteProjectDeviceParams

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

func NewDeleteProjectDeviceParamsWithHTTPClient

func NewDeleteProjectDeviceParamsWithHTTPClient(client *http.Client) *DeleteProjectDeviceParams

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

func NewDeleteProjectDeviceParamsWithTimeout

func NewDeleteProjectDeviceParamsWithTimeout(timeout time.Duration) *DeleteProjectDeviceParams

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

func (*DeleteProjectDeviceParams) SetContext

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

SetContext adds the context to the delete project device params

func (*DeleteProjectDeviceParams) SetDeviceID

func (o *DeleteProjectDeviceParams) SetDeviceID(deviceID string)

SetDeviceID adds the deviceId to the delete project device params

func (*DeleteProjectDeviceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete project device params

func (*DeleteProjectDeviceParams) SetProjectID

func (o *DeleteProjectDeviceParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the delete project device params

func (*DeleteProjectDeviceParams) SetTimeout

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

SetTimeout adds the timeout to the delete project device params

func (*DeleteProjectDeviceParams) WithContext

WithContext adds the context to the delete project device params

func (*DeleteProjectDeviceParams) WithDeviceID

func (o *DeleteProjectDeviceParams) WithDeviceID(deviceID string) *DeleteProjectDeviceParams

WithDeviceID adds the deviceID to the delete project device params

func (*DeleteProjectDeviceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete project device params

func (*DeleteProjectDeviceParams) WithProjectID

func (o *DeleteProjectDeviceParams) WithProjectID(projectID string) *DeleteProjectDeviceParams

WithProjectID adds the projectID to the delete project device params

func (*DeleteProjectDeviceParams) WithTimeout

WithTimeout adds the timeout to the delete project device params

func (*DeleteProjectDeviceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteProjectDeviceReader

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

DeleteProjectDeviceReader is a Reader for the DeleteProjectDevice structure.

func (*DeleteProjectDeviceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteProjectInternalServerError

type DeleteProjectInternalServerError struct {
}

DeleteProjectInternalServerError handles this case with default header values.

server internal error

func NewDeleteProjectInternalServerError

func NewDeleteProjectInternalServerError() *DeleteProjectInternalServerError

NewDeleteProjectInternalServerError creates a DeleteProjectInternalServerError with default headers values

func (*DeleteProjectInternalServerError) Error

type DeleteProjectNotFound

type DeleteProjectNotFound struct {
}

DeleteProjectNotFound handles this case with default header values.

project not found

func NewDeleteProjectNotFound

func NewDeleteProjectNotFound() *DeleteProjectNotFound

NewDeleteProjectNotFound creates a DeleteProjectNotFound with default headers values

func (*DeleteProjectNotFound) Error

func (o *DeleteProjectNotFound) Error() string

type DeleteProjectOK

type DeleteProjectOK struct {
}

DeleteProjectOK handles this case with default header values.

OK

func NewDeleteProjectOK

func NewDeleteProjectOK() *DeleteProjectOK

NewDeleteProjectOK creates a DeleteProjectOK with default headers values

func (*DeleteProjectOK) Error

func (o *DeleteProjectOK) Error() string

type DeleteProjectParams

type DeleteProjectParams struct {

	/*ProjectID
	  project id

	*/
	ProjectID string

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

DeleteProjectParams contains all the parameters to send to the API endpoint for the delete project operation typically these are written to a http.Request

func NewDeleteProjectParams

func NewDeleteProjectParams() *DeleteProjectParams

NewDeleteProjectParams creates a new DeleteProjectParams object with the default values initialized.

func NewDeleteProjectParamsWithContext

func NewDeleteProjectParamsWithContext(ctx context.Context) *DeleteProjectParams

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

func NewDeleteProjectParamsWithHTTPClient

func NewDeleteProjectParamsWithHTTPClient(client *http.Client) *DeleteProjectParams

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

func NewDeleteProjectParamsWithTimeout

func NewDeleteProjectParamsWithTimeout(timeout time.Duration) *DeleteProjectParams

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

func (*DeleteProjectParams) SetContext

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

SetContext adds the context to the delete project params

func (*DeleteProjectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete project params

func (*DeleteProjectParams) SetProjectID

func (o *DeleteProjectParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the delete project params

func (*DeleteProjectParams) SetTimeout

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

SetTimeout adds the timeout to the delete project params

func (*DeleteProjectParams) WithContext

WithContext adds the context to the delete project params

func (*DeleteProjectParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete project params

func (*DeleteProjectParams) WithProjectID

func (o *DeleteProjectParams) WithProjectID(projectID string) *DeleteProjectParams

WithProjectID adds the projectID to the delete project params

func (*DeleteProjectParams) WithTimeout

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

WithTimeout adds the timeout to the delete project params

func (*DeleteProjectParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteProjectReader

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

DeleteProjectReader is a Reader for the DeleteProject structure.

func (*DeleteProjectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetProjectDeviceNotFound

type GetProjectDeviceNotFound struct {
}

GetProjectDeviceNotFound handles this case with default header values.

project or device not found

func NewGetProjectDeviceNotFound

func NewGetProjectDeviceNotFound() *GetProjectDeviceNotFound

NewGetProjectDeviceNotFound creates a GetProjectDeviceNotFound with default headers values

func (*GetProjectDeviceNotFound) Error

func (o *GetProjectDeviceNotFound) Error() string

type GetProjectDeviceOK

type GetProjectDeviceOK struct {
	Payload *models.Device
}

GetProjectDeviceOK handles this case with default header values.

successful operation

func NewGetProjectDeviceOK

func NewGetProjectDeviceOK() *GetProjectDeviceOK

NewGetProjectDeviceOK creates a GetProjectDeviceOK with default headers values

func (*GetProjectDeviceOK) Error

func (o *GetProjectDeviceOK) Error() string

func (*GetProjectDeviceOK) GetPayload

func (o *GetProjectDeviceOK) GetPayload() *models.Device

type GetProjectDeviceParams

type GetProjectDeviceParams struct {

	/*DeviceID
	  deviceId

	*/
	DeviceID string
	/*ProjectID
	  projectId

	*/
	ProjectID string

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

GetProjectDeviceParams contains all the parameters to send to the API endpoint for the get project device operation typically these are written to a http.Request

func NewGetProjectDeviceParams

func NewGetProjectDeviceParams() *GetProjectDeviceParams

NewGetProjectDeviceParams creates a new GetProjectDeviceParams object with the default values initialized.

func NewGetProjectDeviceParamsWithContext

func NewGetProjectDeviceParamsWithContext(ctx context.Context) *GetProjectDeviceParams

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

func NewGetProjectDeviceParamsWithHTTPClient

func NewGetProjectDeviceParamsWithHTTPClient(client *http.Client) *GetProjectDeviceParams

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

func NewGetProjectDeviceParamsWithTimeout

func NewGetProjectDeviceParamsWithTimeout(timeout time.Duration) *GetProjectDeviceParams

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

func (*GetProjectDeviceParams) SetContext

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

SetContext adds the context to the get project device params

func (*GetProjectDeviceParams) SetDeviceID

func (o *GetProjectDeviceParams) SetDeviceID(deviceID string)

SetDeviceID adds the deviceId to the get project device params

func (*GetProjectDeviceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get project device params

func (*GetProjectDeviceParams) SetProjectID

func (o *GetProjectDeviceParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the get project device params

func (*GetProjectDeviceParams) SetTimeout

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

SetTimeout adds the timeout to the get project device params

func (*GetProjectDeviceParams) WithContext

WithContext adds the context to the get project device params

func (*GetProjectDeviceParams) WithDeviceID

func (o *GetProjectDeviceParams) WithDeviceID(deviceID string) *GetProjectDeviceParams

WithDeviceID adds the deviceID to the get project device params

func (*GetProjectDeviceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get project device params

func (*GetProjectDeviceParams) WithProjectID

func (o *GetProjectDeviceParams) WithProjectID(projectID string) *GetProjectDeviceParams

WithProjectID adds the projectID to the get project device params

func (*GetProjectDeviceParams) WithTimeout

WithTimeout adds the timeout to the get project device params

func (*GetProjectDeviceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetProjectDeviceReader

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

GetProjectDeviceReader is a Reader for the GetProjectDevice structure.

func (*GetProjectDeviceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetProjectDevicesNotFound

type GetProjectDevicesNotFound struct {
}

GetProjectDevicesNotFound handles this case with default header values.

project not found

func NewGetProjectDevicesNotFound

func NewGetProjectDevicesNotFound() *GetProjectDevicesNotFound

NewGetProjectDevicesNotFound creates a GetProjectDevicesNotFound with default headers values

func (*GetProjectDevicesNotFound) Error

func (o *GetProjectDevicesNotFound) Error() string

type GetProjectDevicesOK

type GetProjectDevicesOK struct {
	Payload []*models.Device
}

GetProjectDevicesOK handles this case with default header values.

successful operation

func NewGetProjectDevicesOK

func NewGetProjectDevicesOK() *GetProjectDevicesOK

NewGetProjectDevicesOK creates a GetProjectDevicesOK with default headers values

func (*GetProjectDevicesOK) Error

func (o *GetProjectDevicesOK) Error() string

func (*GetProjectDevicesOK) GetPayload

func (o *GetProjectDevicesOK) GetPayload() []*models.Device

type GetProjectDevicesParams

type GetProjectDevicesParams struct {

	/*ProjectID
	  projectId

	*/
	ProjectID string

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

GetProjectDevicesParams contains all the parameters to send to the API endpoint for the get project devices operation typically these are written to a http.Request

func NewGetProjectDevicesParams

func NewGetProjectDevicesParams() *GetProjectDevicesParams

NewGetProjectDevicesParams creates a new GetProjectDevicesParams object with the default values initialized.

func NewGetProjectDevicesParamsWithContext

func NewGetProjectDevicesParamsWithContext(ctx context.Context) *GetProjectDevicesParams

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

func NewGetProjectDevicesParamsWithHTTPClient

func NewGetProjectDevicesParamsWithHTTPClient(client *http.Client) *GetProjectDevicesParams

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

func NewGetProjectDevicesParamsWithTimeout

func NewGetProjectDevicesParamsWithTimeout(timeout time.Duration) *GetProjectDevicesParams

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

func (*GetProjectDevicesParams) SetContext

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

SetContext adds the context to the get project devices params

func (*GetProjectDevicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get project devices params

func (*GetProjectDevicesParams) SetProjectID

func (o *GetProjectDevicesParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the get project devices params

func (*GetProjectDevicesParams) SetTimeout

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

SetTimeout adds the timeout to the get project devices params

func (*GetProjectDevicesParams) WithContext

WithContext adds the context to the get project devices params

func (*GetProjectDevicesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get project devices params

func (*GetProjectDevicesParams) WithProjectID

func (o *GetProjectDevicesParams) WithProjectID(projectID string) *GetProjectDevicesParams

WithProjectID adds the projectID to the get project devices params

func (*GetProjectDevicesParams) WithTimeout

WithTimeout adds the timeout to the get project devices params

func (*GetProjectDevicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetProjectDevicesReader

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

GetProjectDevicesReader is a Reader for the GetProjectDevices structure.

func (*GetProjectDevicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetProjectSummaryNotFound

type GetProjectSummaryNotFound struct {
}

GetProjectSummaryNotFound handles this case with default header values.

project not found

func NewGetProjectSummaryNotFound

func NewGetProjectSummaryNotFound() *GetProjectSummaryNotFound

NewGetProjectSummaryNotFound creates a GetProjectSummaryNotFound with default headers values

func (*GetProjectSummaryNotFound) Error

func (o *GetProjectSummaryNotFound) Error() string

type GetProjectSummaryOK

type GetProjectSummaryOK struct {
	Payload models.ProjectSummary
}

GetProjectSummaryOK handles this case with default header values.

successful operation

func NewGetProjectSummaryOK

func NewGetProjectSummaryOK() *GetProjectSummaryOK

NewGetProjectSummaryOK creates a GetProjectSummaryOK with default headers values

func (*GetProjectSummaryOK) Error

func (o *GetProjectSummaryOK) Error() string

func (*GetProjectSummaryOK) GetPayload

func (o *GetProjectSummaryOK) GetPayload() models.ProjectSummary

type GetProjectSummaryParams

type GetProjectSummaryParams struct {

	/*ProjectID
	  projectId

	*/
	ProjectID string

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

GetProjectSummaryParams contains all the parameters to send to the API endpoint for the get project summary operation typically these are written to a http.Request

func NewGetProjectSummaryParams

func NewGetProjectSummaryParams() *GetProjectSummaryParams

NewGetProjectSummaryParams creates a new GetProjectSummaryParams object with the default values initialized.

func NewGetProjectSummaryParamsWithContext

func NewGetProjectSummaryParamsWithContext(ctx context.Context) *GetProjectSummaryParams

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

func NewGetProjectSummaryParamsWithHTTPClient

func NewGetProjectSummaryParamsWithHTTPClient(client *http.Client) *GetProjectSummaryParams

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

func NewGetProjectSummaryParamsWithTimeout

func NewGetProjectSummaryParamsWithTimeout(timeout time.Duration) *GetProjectSummaryParams

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

func (*GetProjectSummaryParams) SetContext

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

SetContext adds the context to the get project summary params

func (*GetProjectSummaryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get project summary params

func (*GetProjectSummaryParams) SetProjectID

func (o *GetProjectSummaryParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the get project summary params

func (*GetProjectSummaryParams) SetTimeout

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

SetTimeout adds the timeout to the get project summary params

func (*GetProjectSummaryParams) WithContext

WithContext adds the context to the get project summary params

func (*GetProjectSummaryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get project summary params

func (*GetProjectSummaryParams) WithProjectID

func (o *GetProjectSummaryParams) WithProjectID(projectID string) *GetProjectSummaryParams

WithProjectID adds the projectID to the get project summary params

func (*GetProjectSummaryParams) WithTimeout

WithTimeout adds the timeout to the get project summary params

func (*GetProjectSummaryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetProjectSummaryReader

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

GetProjectSummaryReader is a Reader for the GetProjectSummary structure.

func (*GetProjectSummaryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetProjectsBadRequest

type GetProjectsBadRequest struct {
}

GetProjectsBadRequest handles this case with default header values.

Bad request

func NewGetProjectsBadRequest

func NewGetProjectsBadRequest() *GetProjectsBadRequest

NewGetProjectsBadRequest creates a GetProjectsBadRequest with default headers values

func (*GetProjectsBadRequest) Error

func (o *GetProjectsBadRequest) Error() string

type GetProjectsInternalServerError

type GetProjectsInternalServerError struct {
}

GetProjectsInternalServerError handles this case with default header values.

Internal error

func NewGetProjectsInternalServerError

func NewGetProjectsInternalServerError() *GetProjectsInternalServerError

NewGetProjectsInternalServerError creates a GetProjectsInternalServerError with default headers values

func (*GetProjectsInternalServerError) Error

type GetProjectsOK

type GetProjectsOK struct {
	Payload []*models.Project
}

GetProjectsOK handles this case with default header values.

successfully operation

func NewGetProjectsOK

func NewGetProjectsOK() *GetProjectsOK

NewGetProjectsOK creates a GetProjectsOK with default headers values

func (*GetProjectsOK) Error

func (o *GetProjectsOK) Error() string

func (*GetProjectsOK) GetPayload

func (o *GetProjectsOK) GetPayload() []*models.Project

type GetProjectsParams

type GetProjectsParams struct {

	/*PageNumber
	  Page number

	*/
	PageNumber *int64
	/*PageSize
	  Number of persons returned

	*/
	PageSize *int64
	/*Q
	  query object for.You can get query key from rulechain object. This is a json string. For example:
	  * 模糊检索name,description,category
	  {"name": "product"}
	  {"description": "abcd"}
	  {"category": "abcd"}
	  * 多条件模糊检索(and)
	  {"name": "product", "description": "abcd"}
	  * (deprecated) 模糊检索created_at,updated_at
	  {"created_at": "2018-10-11T09:13:26Z"}
	  {"updated_at": "2018-10-11T09:13:26Z"}
	  * 精确检索user_id,id,template_id,key,secret,status,data_format
	  {"user_id": "bevh8dkvr53g2n6u9l70"}
	  {"id": "bevh8dkvr53g2n6u9l70"}
	  {"template_id": "bevh8dkvr53g2n6u9l70"}
	  {"key": "bevh8dkvr53g2n6u9l70"}
	  {"secret": "bevh8dkvr53g2n6u9l70"}
	  {"data_format": "JSON"}
	  {"data_format": "XML"}


	*/
	Q *string

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

GetProjectsParams contains all the parameters to send to the API endpoint for the get projects operation typically these are written to a http.Request

func NewGetProjectsParams

func NewGetProjectsParams() *GetProjectsParams

NewGetProjectsParams creates a new GetProjectsParams object with the default values initialized.

func NewGetProjectsParamsWithContext

func NewGetProjectsParamsWithContext(ctx context.Context) *GetProjectsParams

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

func NewGetProjectsParamsWithHTTPClient

func NewGetProjectsParamsWithHTTPClient(client *http.Client) *GetProjectsParams

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

func NewGetProjectsParamsWithTimeout

func NewGetProjectsParamsWithTimeout(timeout time.Duration) *GetProjectsParams

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

func (*GetProjectsParams) SetContext

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

SetContext adds the context to the get projects params

func (*GetProjectsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get projects params

func (*GetProjectsParams) SetPageNumber

func (o *GetProjectsParams) SetPageNumber(pageNumber *int64)

SetPageNumber adds the pageNumber to the get projects params

func (*GetProjectsParams) SetPageSize

func (o *GetProjectsParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the get projects params

func (*GetProjectsParams) SetQ

func (o *GetProjectsParams) SetQ(q *string)

SetQ adds the q to the get projects params

func (*GetProjectsParams) SetTimeout

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

SetTimeout adds the timeout to the get projects params

func (*GetProjectsParams) WithContext

func (o *GetProjectsParams) WithContext(ctx context.Context) *GetProjectsParams

WithContext adds the context to the get projects params

func (*GetProjectsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get projects params

func (*GetProjectsParams) WithPageNumber

func (o *GetProjectsParams) WithPageNumber(pageNumber *int64) *GetProjectsParams

WithPageNumber adds the pageNumber to the get projects params

func (*GetProjectsParams) WithPageSize

func (o *GetProjectsParams) WithPageSize(pageSize *int64) *GetProjectsParams

WithPageSize adds the pageSize to the get projects params

func (*GetProjectsParams) WithQ

WithQ adds the q to the get projects params

func (*GetProjectsParams) WithTimeout

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

WithTimeout adds the timeout to the get projects params

func (*GetProjectsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetProjectsProjectIDNotFound

type GetProjectsProjectIDNotFound struct {
}

GetProjectsProjectIDNotFound handles this case with default header values.

Bad request

func NewGetProjectsProjectIDNotFound

func NewGetProjectsProjectIDNotFound() *GetProjectsProjectIDNotFound

NewGetProjectsProjectIDNotFound creates a GetProjectsProjectIDNotFound with default headers values

func (*GetProjectsProjectIDNotFound) Error

type GetProjectsProjectIDOK

type GetProjectsProjectIDOK struct {
	Payload *models.Project
}

GetProjectsProjectIDOK handles this case with default header values.

successful operation

func NewGetProjectsProjectIDOK

func NewGetProjectsProjectIDOK() *GetProjectsProjectIDOK

NewGetProjectsProjectIDOK creates a GetProjectsProjectIDOK with default headers values

func (*GetProjectsProjectIDOK) Error

func (o *GetProjectsProjectIDOK) Error() string

func (*GetProjectsProjectIDOK) GetPayload

func (o *GetProjectsProjectIDOK) GetPayload() *models.Project

type GetProjectsProjectIDParams

type GetProjectsProjectIDParams struct {

	/*ProjectID
	  project id

	*/
	ProjectID string

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

GetProjectsProjectIDParams contains all the parameters to send to the API endpoint for the get projects project ID operation typically these are written to a http.Request

func NewGetProjectsProjectIDParams

func NewGetProjectsProjectIDParams() *GetProjectsProjectIDParams

NewGetProjectsProjectIDParams creates a new GetProjectsProjectIDParams object with the default values initialized.

func NewGetProjectsProjectIDParamsWithContext

func NewGetProjectsProjectIDParamsWithContext(ctx context.Context) *GetProjectsProjectIDParams

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

func NewGetProjectsProjectIDParamsWithHTTPClient

func NewGetProjectsProjectIDParamsWithHTTPClient(client *http.Client) *GetProjectsProjectIDParams

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

func NewGetProjectsProjectIDParamsWithTimeout

func NewGetProjectsProjectIDParamsWithTimeout(timeout time.Duration) *GetProjectsProjectIDParams

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

func (*GetProjectsProjectIDParams) SetContext

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

SetContext adds the context to the get projects project ID params

func (*GetProjectsProjectIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get projects project ID params

func (*GetProjectsProjectIDParams) SetProjectID

func (o *GetProjectsProjectIDParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the get projects project ID params

func (*GetProjectsProjectIDParams) SetTimeout

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

SetTimeout adds the timeout to the get projects project ID params

func (*GetProjectsProjectIDParams) WithContext

WithContext adds the context to the get projects project ID params

func (*GetProjectsProjectIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get projects project ID params

func (*GetProjectsProjectIDParams) WithProjectID

func (o *GetProjectsProjectIDParams) WithProjectID(projectID string) *GetProjectsProjectIDParams

WithProjectID adds the projectID to the get projects project ID params

func (*GetProjectsProjectIDParams) WithTimeout

WithTimeout adds the timeout to the get projects project ID params

func (*GetProjectsProjectIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetProjectsProjectIDReader

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

GetProjectsProjectIDReader is a Reader for the GetProjectsProjectID structure.

func (*GetProjectsProjectIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetProjectsReader

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

GetProjectsReader is a Reader for the GetProjects structure.

func (*GetProjectsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateProjectDeviceBadRequest

type UpdateProjectDeviceBadRequest struct {
}

UpdateProjectDeviceBadRequest handles this case with default header values.

Bad request

func NewUpdateProjectDeviceBadRequest

func NewUpdateProjectDeviceBadRequest() *UpdateProjectDeviceBadRequest

NewUpdateProjectDeviceBadRequest creates a UpdateProjectDeviceBadRequest with default headers values

func (*UpdateProjectDeviceBadRequest) Error

type UpdateProjectDeviceInternalServerError

type UpdateProjectDeviceInternalServerError struct {
}

UpdateProjectDeviceInternalServerError handles this case with default header values.

server internal error

func NewUpdateProjectDeviceInternalServerError

func NewUpdateProjectDeviceInternalServerError() *UpdateProjectDeviceInternalServerError

NewUpdateProjectDeviceInternalServerError creates a UpdateProjectDeviceInternalServerError with default headers values

func (*UpdateProjectDeviceInternalServerError) Error

type UpdateProjectDeviceOK

type UpdateProjectDeviceOK struct {
}

UpdateProjectDeviceOK handles this case with default header values.

successful operation

func NewUpdateProjectDeviceOK

func NewUpdateProjectDeviceOK() *UpdateProjectDeviceOK

NewUpdateProjectDeviceOK creates a UpdateProjectDeviceOK with default headers values

func (*UpdateProjectDeviceOK) Error

func (o *UpdateProjectDeviceOK) Error() string

type UpdateProjectDeviceParams

type UpdateProjectDeviceParams struct {

	/*Device*/
	Device *models.Device
	/*DeviceID
	  device id

	*/
	DeviceID string
	/*ProjectID
	  project id

	*/
	ProjectID string

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

UpdateProjectDeviceParams contains all the parameters to send to the API endpoint for the update project device operation typically these are written to a http.Request

func NewUpdateProjectDeviceParams

func NewUpdateProjectDeviceParams() *UpdateProjectDeviceParams

NewUpdateProjectDeviceParams creates a new UpdateProjectDeviceParams object with the default values initialized.

func NewUpdateProjectDeviceParamsWithContext

func NewUpdateProjectDeviceParamsWithContext(ctx context.Context) *UpdateProjectDeviceParams

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

func NewUpdateProjectDeviceParamsWithHTTPClient

func NewUpdateProjectDeviceParamsWithHTTPClient(client *http.Client) *UpdateProjectDeviceParams

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

func NewUpdateProjectDeviceParamsWithTimeout

func NewUpdateProjectDeviceParamsWithTimeout(timeout time.Duration) *UpdateProjectDeviceParams

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

func (*UpdateProjectDeviceParams) SetContext

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

SetContext adds the context to the update project device params

func (*UpdateProjectDeviceParams) SetDevice

func (o *UpdateProjectDeviceParams) SetDevice(device *models.Device)

SetDevice adds the device to the update project device params

func (*UpdateProjectDeviceParams) SetDeviceID

func (o *UpdateProjectDeviceParams) SetDeviceID(deviceID string)

SetDeviceID adds the deviceId to the update project device params

func (*UpdateProjectDeviceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update project device params

func (*UpdateProjectDeviceParams) SetProjectID

func (o *UpdateProjectDeviceParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the update project device params

func (*UpdateProjectDeviceParams) SetTimeout

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

SetTimeout adds the timeout to the update project device params

func (*UpdateProjectDeviceParams) WithContext

WithContext adds the context to the update project device params

func (*UpdateProjectDeviceParams) WithDevice

WithDevice adds the device to the update project device params

func (*UpdateProjectDeviceParams) WithDeviceID

func (o *UpdateProjectDeviceParams) WithDeviceID(deviceID string) *UpdateProjectDeviceParams

WithDeviceID adds the deviceID to the update project device params

func (*UpdateProjectDeviceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update project device params

func (*UpdateProjectDeviceParams) WithProjectID

func (o *UpdateProjectDeviceParams) WithProjectID(projectID string) *UpdateProjectDeviceParams

WithProjectID adds the projectID to the update project device params

func (*UpdateProjectDeviceParams) WithTimeout

WithTimeout adds the timeout to the update project device params

func (*UpdateProjectDeviceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateProjectDeviceReader

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

UpdateProjectDeviceReader is a Reader for the UpdateProjectDevice structure.

func (*UpdateProjectDeviceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateProjectDeviceStatusBadRequest

type UpdateProjectDeviceStatusBadRequest struct {
}

UpdateProjectDeviceStatusBadRequest handles this case with default header values.

Bad request

func NewUpdateProjectDeviceStatusBadRequest

func NewUpdateProjectDeviceStatusBadRequest() *UpdateProjectDeviceStatusBadRequest

NewUpdateProjectDeviceStatusBadRequest creates a UpdateProjectDeviceStatusBadRequest with default headers values

func (*UpdateProjectDeviceStatusBadRequest) Error

type UpdateProjectDeviceStatusInternalServerError

type UpdateProjectDeviceStatusInternalServerError struct {
}

UpdateProjectDeviceStatusInternalServerError handles this case with default header values.

server internal error

func NewUpdateProjectDeviceStatusInternalServerError

func NewUpdateProjectDeviceStatusInternalServerError() *UpdateProjectDeviceStatusInternalServerError

NewUpdateProjectDeviceStatusInternalServerError creates a UpdateProjectDeviceStatusInternalServerError with default headers values

func (*UpdateProjectDeviceStatusInternalServerError) Error

type UpdateProjectDeviceStatusOK

type UpdateProjectDeviceStatusOK struct {
}

UpdateProjectDeviceStatusOK handles this case with default header values.

successful operation

func NewUpdateProjectDeviceStatusOK

func NewUpdateProjectDeviceStatusOK() *UpdateProjectDeviceStatusOK

NewUpdateProjectDeviceStatusOK creates a UpdateProjectDeviceStatusOK with default headers values

func (*UpdateProjectDeviceStatusOK) Error

type UpdateProjectDeviceStatusParams

type UpdateProjectDeviceStatusParams struct {

	/*DeviceID
	  device id

	*/
	DeviceID string
	/*Field
	  update device's field

	*/
	Field string
	/*ProjectID
	  project id

	*/
	ProjectID string

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

UpdateProjectDeviceStatusParams contains all the parameters to send to the API endpoint for the update project device status operation typically these are written to a http.Request

func NewUpdateProjectDeviceStatusParams

func NewUpdateProjectDeviceStatusParams() *UpdateProjectDeviceStatusParams

NewUpdateProjectDeviceStatusParams creates a new UpdateProjectDeviceStatusParams object with the default values initialized.

func NewUpdateProjectDeviceStatusParamsWithContext

func NewUpdateProjectDeviceStatusParamsWithContext(ctx context.Context) *UpdateProjectDeviceStatusParams

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

func NewUpdateProjectDeviceStatusParamsWithHTTPClient

func NewUpdateProjectDeviceStatusParamsWithHTTPClient(client *http.Client) *UpdateProjectDeviceStatusParams

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

func NewUpdateProjectDeviceStatusParamsWithTimeout

func NewUpdateProjectDeviceStatusParamsWithTimeout(timeout time.Duration) *UpdateProjectDeviceStatusParams

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

func (*UpdateProjectDeviceStatusParams) SetContext

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

SetContext adds the context to the update project device status params

func (*UpdateProjectDeviceStatusParams) SetDeviceID

func (o *UpdateProjectDeviceStatusParams) SetDeviceID(deviceID string)

SetDeviceID adds the deviceId to the update project device status params

func (*UpdateProjectDeviceStatusParams) SetField

func (o *UpdateProjectDeviceStatusParams) SetField(field string)

SetField adds the field to the update project device status params

func (*UpdateProjectDeviceStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update project device status params

func (*UpdateProjectDeviceStatusParams) SetProjectID

func (o *UpdateProjectDeviceStatusParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the update project device status params

func (*UpdateProjectDeviceStatusParams) SetTimeout

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

SetTimeout adds the timeout to the update project device status params

func (*UpdateProjectDeviceStatusParams) WithContext

WithContext adds the context to the update project device status params

func (*UpdateProjectDeviceStatusParams) WithDeviceID

WithDeviceID adds the deviceID to the update project device status params

func (*UpdateProjectDeviceStatusParams) WithField

WithField adds the field to the update project device status params

func (*UpdateProjectDeviceStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update project device status params

func (*UpdateProjectDeviceStatusParams) WithProjectID

WithProjectID adds the projectID to the update project device status params

func (*UpdateProjectDeviceStatusParams) WithTimeout

WithTimeout adds the timeout to the update project device status params

func (*UpdateProjectDeviceStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateProjectDeviceStatusReader

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

UpdateProjectDeviceStatusReader is a Reader for the UpdateProjectDeviceStatus structure.

func (*UpdateProjectDeviceStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateProjectInternalServerError

type UpdateProjectInternalServerError struct {
}

UpdateProjectInternalServerError handles this case with default header values.

server internal error

func NewUpdateProjectInternalServerError

func NewUpdateProjectInternalServerError() *UpdateProjectInternalServerError

NewUpdateProjectInternalServerError creates a UpdateProjectInternalServerError with default headers values

func (*UpdateProjectInternalServerError) Error

type UpdateProjectNotFound

type UpdateProjectNotFound struct {
}

UpdateProjectNotFound handles this case with default header values.

project not found

func NewUpdateProjectNotFound

func NewUpdateProjectNotFound() *UpdateProjectNotFound

NewUpdateProjectNotFound creates a UpdateProjectNotFound with default headers values

func (*UpdateProjectNotFound) Error

func (o *UpdateProjectNotFound) Error() string

type UpdateProjectOK

type UpdateProjectOK struct {
}

UpdateProjectOK handles this case with default header values.

successfully operation

func NewUpdateProjectOK

func NewUpdateProjectOK() *UpdateProjectOK

NewUpdateProjectOK creates a UpdateProjectOK with default headers values

func (*UpdateProjectOK) Error

func (o *UpdateProjectOK) Error() string

type UpdateProjectParams

type UpdateProjectParams struct {

	/*Project
	  updated project

	*/
	Project *models.Project
	/*ProjectID
	  project identifier

	*/
	ProjectID string

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

UpdateProjectParams contains all the parameters to send to the API endpoint for the update project operation typically these are written to a http.Request

func NewUpdateProjectParams

func NewUpdateProjectParams() *UpdateProjectParams

NewUpdateProjectParams creates a new UpdateProjectParams object with the default values initialized.

func NewUpdateProjectParamsWithContext

func NewUpdateProjectParamsWithContext(ctx context.Context) *UpdateProjectParams

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

func NewUpdateProjectParamsWithHTTPClient

func NewUpdateProjectParamsWithHTTPClient(client *http.Client) *UpdateProjectParams

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

func NewUpdateProjectParamsWithTimeout

func NewUpdateProjectParamsWithTimeout(timeout time.Duration) *UpdateProjectParams

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

func (*UpdateProjectParams) SetContext

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

SetContext adds the context to the update project params

func (*UpdateProjectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update project params

func (*UpdateProjectParams) SetProject

func (o *UpdateProjectParams) SetProject(project *models.Project)

SetProject adds the project to the update project params

func (*UpdateProjectParams) SetProjectID

func (o *UpdateProjectParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the update project params

func (*UpdateProjectParams) SetTimeout

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

SetTimeout adds the timeout to the update project params

func (*UpdateProjectParams) WithContext

WithContext adds the context to the update project params

func (*UpdateProjectParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update project params

func (*UpdateProjectParams) WithProject

func (o *UpdateProjectParams) WithProject(project *models.Project) *UpdateProjectParams

WithProject adds the project to the update project params

func (*UpdateProjectParams) WithProjectID

func (o *UpdateProjectParams) WithProjectID(projectID string) *UpdateProjectParams

WithProjectID adds the projectID to the update project params

func (*UpdateProjectParams) WithTimeout

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

WithTimeout adds the timeout to the update project params

func (*UpdateProjectParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateProjectReader

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

UpdateProjectReader is a Reader for the UpdateProject structure.

func (*UpdateProjectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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