Documentation
¶
Index ¶
- type AddProjectDeviceBadRequest
- type AddProjectDeviceInternalServerError
- type AddProjectDeviceNotFound
- type AddProjectDeviceOK
- type AddProjectDeviceParams
- func NewAddProjectDeviceParams() *AddProjectDeviceParams
- func NewAddProjectDeviceParamsWithContext(ctx context.Context) *AddProjectDeviceParams
- func NewAddProjectDeviceParamsWithHTTPClient(client *http.Client) *AddProjectDeviceParams
- func NewAddProjectDeviceParamsWithTimeout(timeout time.Duration) *AddProjectDeviceParams
- func (o *AddProjectDeviceParams) SetContext(ctx context.Context)
- func (o *AddProjectDeviceParams) SetDevice(device *models.Device)
- func (o *AddProjectDeviceParams) SetHTTPClient(client *http.Client)
- func (o *AddProjectDeviceParams) SetProjectID(projectID string)
- func (o *AddProjectDeviceParams) SetTimeout(timeout time.Duration)
- func (o *AddProjectDeviceParams) WithContext(ctx context.Context) *AddProjectDeviceParams
- func (o *AddProjectDeviceParams) WithDevice(device *models.Device) *AddProjectDeviceParams
- func (o *AddProjectDeviceParams) WithHTTPClient(client *http.Client) *AddProjectDeviceParams
- func (o *AddProjectDeviceParams) WithProjectID(projectID string) *AddProjectDeviceParams
- func (o *AddProjectDeviceParams) WithTimeout(timeout time.Duration) *AddProjectDeviceParams
- func (o *AddProjectDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddProjectDeviceReader
- type Client
- func (a *Client) AddProjectDevice(params *AddProjectDeviceParams, authInfo runtime.ClientAuthInfoWriter) (*AddProjectDeviceOK, error)
- func (a *Client) CreateProject(params *CreateProjectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateProjectOK, error)
- func (a *Client) DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteProjectOK, error)
- func (a *Client) DeleteProjectDevice(params *DeleteProjectDeviceParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteProjectDeviceOK, error)
- func (a *Client) GetProjectDevice(params *GetProjectDeviceParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectDeviceOK, error)
- func (a *Client) GetProjectDevices(params *GetProjectDevicesParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectDevicesOK, error)
- func (a *Client) GetProjectSummary(params *GetProjectSummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectSummaryOK, error)
- func (a *Client) GetProjects(params *GetProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectsOK, error)
- func (a *Client) GetProjectsProjectID(params *GetProjectsProjectIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectsProjectIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateProjectOK, error)
- func (a *Client) UpdateProjectDevice(params *UpdateProjectDeviceParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateProjectDeviceOK, error)
- func (a *Client) UpdateProjectDeviceStatus(params *UpdateProjectDeviceStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateProjectDeviceStatusOK, error)
- type CreateProjectBadRequest
- type CreateProjectInternalServerError
- type CreateProjectOK
- type CreateProjectParams
- func (o *CreateProjectParams) SetContext(ctx context.Context)
- func (o *CreateProjectParams) SetHTTPClient(client *http.Client)
- func (o *CreateProjectParams) SetProject(project *models.Project)
- func (o *CreateProjectParams) SetTimeout(timeout time.Duration)
- func (o *CreateProjectParams) WithContext(ctx context.Context) *CreateProjectParams
- func (o *CreateProjectParams) WithHTTPClient(client *http.Client) *CreateProjectParams
- func (o *CreateProjectParams) WithProject(project *models.Project) *CreateProjectParams
- func (o *CreateProjectParams) WithTimeout(timeout time.Duration) *CreateProjectParams
- func (o *CreateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateProjectReader
- type DeleteProjectDeviceBadRequest
- type DeleteProjectDeviceInternalServerError
- type DeleteProjectDeviceOK
- type DeleteProjectDeviceParams
- func NewDeleteProjectDeviceParams() *DeleteProjectDeviceParams
- func NewDeleteProjectDeviceParamsWithContext(ctx context.Context) *DeleteProjectDeviceParams
- func NewDeleteProjectDeviceParamsWithHTTPClient(client *http.Client) *DeleteProjectDeviceParams
- func NewDeleteProjectDeviceParamsWithTimeout(timeout time.Duration) *DeleteProjectDeviceParams
- func (o *DeleteProjectDeviceParams) SetContext(ctx context.Context)
- func (o *DeleteProjectDeviceParams) SetDeviceID(deviceID string)
- func (o *DeleteProjectDeviceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProjectDeviceParams) SetProjectID(projectID string)
- func (o *DeleteProjectDeviceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProjectDeviceParams) WithContext(ctx context.Context) *DeleteProjectDeviceParams
- func (o *DeleteProjectDeviceParams) WithDeviceID(deviceID string) *DeleteProjectDeviceParams
- func (o *DeleteProjectDeviceParams) WithHTTPClient(client *http.Client) *DeleteProjectDeviceParams
- func (o *DeleteProjectDeviceParams) WithProjectID(projectID string) *DeleteProjectDeviceParams
- func (o *DeleteProjectDeviceParams) WithTimeout(timeout time.Duration) *DeleteProjectDeviceParams
- func (o *DeleteProjectDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProjectDeviceReader
- type DeleteProjectInternalServerError
- type DeleteProjectNotFound
- type DeleteProjectOK
- type DeleteProjectParams
- func (o *DeleteProjectParams) SetContext(ctx context.Context)
- func (o *DeleteProjectParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProjectParams) SetProjectID(projectID string)
- func (o *DeleteProjectParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProjectParams) WithContext(ctx context.Context) *DeleteProjectParams
- func (o *DeleteProjectParams) WithHTTPClient(client *http.Client) *DeleteProjectParams
- func (o *DeleteProjectParams) WithProjectID(projectID string) *DeleteProjectParams
- func (o *DeleteProjectParams) WithTimeout(timeout time.Duration) *DeleteProjectParams
- func (o *DeleteProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProjectReader
- type GetProjectDeviceNotFound
- type GetProjectDeviceOK
- type GetProjectDeviceParams
- func NewGetProjectDeviceParams() *GetProjectDeviceParams
- func NewGetProjectDeviceParamsWithContext(ctx context.Context) *GetProjectDeviceParams
- func NewGetProjectDeviceParamsWithHTTPClient(client *http.Client) *GetProjectDeviceParams
- func NewGetProjectDeviceParamsWithTimeout(timeout time.Duration) *GetProjectDeviceParams
- func (o *GetProjectDeviceParams) SetContext(ctx context.Context)
- func (o *GetProjectDeviceParams) SetDeviceID(deviceID string)
- func (o *GetProjectDeviceParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectDeviceParams) SetProjectID(projectID string)
- func (o *GetProjectDeviceParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectDeviceParams) WithContext(ctx context.Context) *GetProjectDeviceParams
- func (o *GetProjectDeviceParams) WithDeviceID(deviceID string) *GetProjectDeviceParams
- func (o *GetProjectDeviceParams) WithHTTPClient(client *http.Client) *GetProjectDeviceParams
- func (o *GetProjectDeviceParams) WithProjectID(projectID string) *GetProjectDeviceParams
- func (o *GetProjectDeviceParams) WithTimeout(timeout time.Duration) *GetProjectDeviceParams
- func (o *GetProjectDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectDeviceReader
- type GetProjectDevicesNotFound
- type GetProjectDevicesOK
- type GetProjectDevicesParams
- func NewGetProjectDevicesParams() *GetProjectDevicesParams
- func NewGetProjectDevicesParamsWithContext(ctx context.Context) *GetProjectDevicesParams
- func NewGetProjectDevicesParamsWithHTTPClient(client *http.Client) *GetProjectDevicesParams
- func NewGetProjectDevicesParamsWithTimeout(timeout time.Duration) *GetProjectDevicesParams
- func (o *GetProjectDevicesParams) SetContext(ctx context.Context)
- func (o *GetProjectDevicesParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectDevicesParams) SetProjectID(projectID string)
- func (o *GetProjectDevicesParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectDevicesParams) WithContext(ctx context.Context) *GetProjectDevicesParams
- func (o *GetProjectDevicesParams) WithHTTPClient(client *http.Client) *GetProjectDevicesParams
- func (o *GetProjectDevicesParams) WithProjectID(projectID string) *GetProjectDevicesParams
- func (o *GetProjectDevicesParams) WithTimeout(timeout time.Duration) *GetProjectDevicesParams
- func (o *GetProjectDevicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectDevicesReader
- type GetProjectSummaryNotFound
- type GetProjectSummaryOK
- type GetProjectSummaryParams
- func NewGetProjectSummaryParams() *GetProjectSummaryParams
- func NewGetProjectSummaryParamsWithContext(ctx context.Context) *GetProjectSummaryParams
- func NewGetProjectSummaryParamsWithHTTPClient(client *http.Client) *GetProjectSummaryParams
- func NewGetProjectSummaryParamsWithTimeout(timeout time.Duration) *GetProjectSummaryParams
- func (o *GetProjectSummaryParams) SetContext(ctx context.Context)
- func (o *GetProjectSummaryParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectSummaryParams) SetProjectID(projectID string)
- func (o *GetProjectSummaryParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectSummaryParams) WithContext(ctx context.Context) *GetProjectSummaryParams
- func (o *GetProjectSummaryParams) WithHTTPClient(client *http.Client) *GetProjectSummaryParams
- func (o *GetProjectSummaryParams) WithProjectID(projectID string) *GetProjectSummaryParams
- func (o *GetProjectSummaryParams) WithTimeout(timeout time.Duration) *GetProjectSummaryParams
- func (o *GetProjectSummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectSummaryReader
- type GetProjectsBadRequest
- type GetProjectsInternalServerError
- type GetProjectsOK
- type GetProjectsParams
- func (o *GetProjectsParams) SetContext(ctx context.Context)
- func (o *GetProjectsParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectsParams) SetPageNumber(pageNumber *int64)
- func (o *GetProjectsParams) SetPageSize(pageSize *int64)
- func (o *GetProjectsParams) SetQ(q *string)
- func (o *GetProjectsParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectsParams) WithContext(ctx context.Context) *GetProjectsParams
- func (o *GetProjectsParams) WithHTTPClient(client *http.Client) *GetProjectsParams
- func (o *GetProjectsParams) WithPageNumber(pageNumber *int64) *GetProjectsParams
- func (o *GetProjectsParams) WithPageSize(pageSize *int64) *GetProjectsParams
- func (o *GetProjectsParams) WithQ(q *string) *GetProjectsParams
- func (o *GetProjectsParams) WithTimeout(timeout time.Duration) *GetProjectsParams
- func (o *GetProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectsProjectIDNotFound
- type GetProjectsProjectIDOK
- type GetProjectsProjectIDParams
- func NewGetProjectsProjectIDParams() *GetProjectsProjectIDParams
- func NewGetProjectsProjectIDParamsWithContext(ctx context.Context) *GetProjectsProjectIDParams
- func NewGetProjectsProjectIDParamsWithHTTPClient(client *http.Client) *GetProjectsProjectIDParams
- func NewGetProjectsProjectIDParamsWithTimeout(timeout time.Duration) *GetProjectsProjectIDParams
- func (o *GetProjectsProjectIDParams) SetContext(ctx context.Context)
- func (o *GetProjectsProjectIDParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectsProjectIDParams) SetProjectID(projectID string)
- func (o *GetProjectsProjectIDParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectsProjectIDParams) WithContext(ctx context.Context) *GetProjectsProjectIDParams
- func (o *GetProjectsProjectIDParams) WithHTTPClient(client *http.Client) *GetProjectsProjectIDParams
- func (o *GetProjectsProjectIDParams) WithProjectID(projectID string) *GetProjectsProjectIDParams
- func (o *GetProjectsProjectIDParams) WithTimeout(timeout time.Duration) *GetProjectsProjectIDParams
- func (o *GetProjectsProjectIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectsProjectIDReader
- type GetProjectsReader
- type UpdateProjectDeviceBadRequest
- type UpdateProjectDeviceInternalServerError
- type UpdateProjectDeviceOK
- type UpdateProjectDeviceParams
- func NewUpdateProjectDeviceParams() *UpdateProjectDeviceParams
- func NewUpdateProjectDeviceParamsWithContext(ctx context.Context) *UpdateProjectDeviceParams
- func NewUpdateProjectDeviceParamsWithHTTPClient(client *http.Client) *UpdateProjectDeviceParams
- func NewUpdateProjectDeviceParamsWithTimeout(timeout time.Duration) *UpdateProjectDeviceParams
- func (o *UpdateProjectDeviceParams) SetContext(ctx context.Context)
- func (o *UpdateProjectDeviceParams) SetDevice(device *models.Device)
- func (o *UpdateProjectDeviceParams) SetDeviceID(deviceID string)
- func (o *UpdateProjectDeviceParams) SetHTTPClient(client *http.Client)
- func (o *UpdateProjectDeviceParams) SetProjectID(projectID string)
- func (o *UpdateProjectDeviceParams) SetTimeout(timeout time.Duration)
- func (o *UpdateProjectDeviceParams) WithContext(ctx context.Context) *UpdateProjectDeviceParams
- func (o *UpdateProjectDeviceParams) WithDevice(device *models.Device) *UpdateProjectDeviceParams
- func (o *UpdateProjectDeviceParams) WithDeviceID(deviceID string) *UpdateProjectDeviceParams
- func (o *UpdateProjectDeviceParams) WithHTTPClient(client *http.Client) *UpdateProjectDeviceParams
- func (o *UpdateProjectDeviceParams) WithProjectID(projectID string) *UpdateProjectDeviceParams
- func (o *UpdateProjectDeviceParams) WithTimeout(timeout time.Duration) *UpdateProjectDeviceParams
- func (o *UpdateProjectDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateProjectDeviceReader
- type UpdateProjectDeviceStatusBadRequest
- type UpdateProjectDeviceStatusInternalServerError
- type UpdateProjectDeviceStatusOK
- type UpdateProjectDeviceStatusParams
- func NewUpdateProjectDeviceStatusParams() *UpdateProjectDeviceStatusParams
- func NewUpdateProjectDeviceStatusParamsWithContext(ctx context.Context) *UpdateProjectDeviceStatusParams
- func NewUpdateProjectDeviceStatusParamsWithHTTPClient(client *http.Client) *UpdateProjectDeviceStatusParams
- func NewUpdateProjectDeviceStatusParamsWithTimeout(timeout time.Duration) *UpdateProjectDeviceStatusParams
- func (o *UpdateProjectDeviceStatusParams) SetContext(ctx context.Context)
- func (o *UpdateProjectDeviceStatusParams) SetDeviceID(deviceID string)
- func (o *UpdateProjectDeviceStatusParams) SetField(field string)
- func (o *UpdateProjectDeviceStatusParams) SetHTTPClient(client *http.Client)
- func (o *UpdateProjectDeviceStatusParams) SetProjectID(projectID string)
- func (o *UpdateProjectDeviceStatusParams) SetTimeout(timeout time.Duration)
- func (o *UpdateProjectDeviceStatusParams) WithContext(ctx context.Context) *UpdateProjectDeviceStatusParams
- func (o *UpdateProjectDeviceStatusParams) WithDeviceID(deviceID string) *UpdateProjectDeviceStatusParams
- func (o *UpdateProjectDeviceStatusParams) WithField(field string) *UpdateProjectDeviceStatusParams
- func (o *UpdateProjectDeviceStatusParams) WithHTTPClient(client *http.Client) *UpdateProjectDeviceStatusParams
- func (o *UpdateProjectDeviceStatusParams) WithProjectID(projectID string) *UpdateProjectDeviceStatusParams
- func (o *UpdateProjectDeviceStatusParams) WithTimeout(timeout time.Duration) *UpdateProjectDeviceStatusParams
- func (o *UpdateProjectDeviceStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateProjectDeviceStatusReader
- type UpdateProjectInternalServerError
- type UpdateProjectNotFound
- type UpdateProjectOK
- type UpdateProjectParams
- func (o *UpdateProjectParams) SetContext(ctx context.Context)
- func (o *UpdateProjectParams) SetHTTPClient(client *http.Client)
- func (o *UpdateProjectParams) SetProject(project *models.Project)
- func (o *UpdateProjectParams) SetProjectID(projectID string)
- func (o *UpdateProjectParams) SetTimeout(timeout time.Duration)
- func (o *UpdateProjectParams) WithContext(ctx context.Context) *UpdateProjectParams
- func (o *UpdateProjectParams) WithHTTPClient(client *http.Client) *UpdateProjectParams
- func (o *UpdateProjectParams) WithProject(project *models.Project) *UpdateProjectParams
- func (o *UpdateProjectParams) WithProjectID(projectID string) *UpdateProjectParams
- func (o *UpdateProjectParams) WithTimeout(timeout time.Duration) *UpdateProjectParams
- func (o *UpdateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateProjectReader
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 ¶
func (o *AddProjectDeviceBadRequest) Error() string
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 ¶
func (o *AddProjectDeviceInternalServerError) Error() string
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 ¶
func (o *AddProjectDeviceParams) WithContext(ctx context.Context) *AddProjectDeviceParams
WithContext adds the context to the add project device params
func (*AddProjectDeviceParams) WithDevice ¶
func (o *AddProjectDeviceParams) WithDevice(device *models.Device) *AddProjectDeviceParams
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 ¶
func (o *AddProjectDeviceParams) WithTimeout(timeout time.Duration) *AddProjectDeviceParams
WithTimeout adds the timeout to the add project device params
func (*AddProjectDeviceParams) WriteToRequest ¶
func (o *AddProjectDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateProjectInternalServerError) Error() string
type CreateProjectOK ¶
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 ¶
func (o *CreateProjectParams) WithContext(ctx context.Context) *CreateProjectParams
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 ¶
func (o *DeleteProjectDeviceBadRequest) Error() string
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 ¶
func (o *DeleteProjectDeviceInternalServerError) Error() string
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 ¶
func (o *DeleteProjectDeviceParams) WithContext(ctx context.Context) *DeleteProjectDeviceParams
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 ¶
func (o *DeleteProjectDeviceParams) WithTimeout(timeout time.Duration) *DeleteProjectDeviceParams
WithTimeout adds the timeout to the delete project device params
func (*DeleteProjectDeviceParams) WriteToRequest ¶
func (o *DeleteProjectDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteProjectInternalServerError) Error() string
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 ¶
func (o *DeleteProjectParams) WithContext(ctx context.Context) *DeleteProjectParams
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 ¶
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 ¶
func (o *GetProjectDeviceParams) WithContext(ctx context.Context) *GetProjectDeviceParams
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 ¶
func (o *GetProjectDeviceParams) WithTimeout(timeout time.Duration) *GetProjectDeviceParams
WithTimeout adds the timeout to the get project device params
func (*GetProjectDeviceParams) WriteToRequest ¶
func (o *GetProjectDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetProjectDevicesParams) WithContext(ctx context.Context) *GetProjectDevicesParams
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 ¶
func (o *GetProjectDevicesParams) WithTimeout(timeout time.Duration) *GetProjectDevicesParams
WithTimeout adds the timeout to the get project devices params
func (*GetProjectDevicesParams) WriteToRequest ¶
func (o *GetProjectDevicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetProjectSummaryParams) WithContext(ctx context.Context) *GetProjectSummaryParams
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 ¶
func (o *GetProjectSummaryParams) WithTimeout(timeout time.Duration) *GetProjectSummaryParams
WithTimeout adds the timeout to the get project summary params
func (*GetProjectSummaryParams) WriteToRequest ¶
func (o *GetProjectSummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetProjectsInternalServerError) Error() string
type GetProjectsOK ¶
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 ¶
func (o *GetProjectsParams) WithQ(q *string) *GetProjectsParams
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 ¶
func (o *GetProjectsProjectIDNotFound) Error() string
type GetProjectsProjectIDOK ¶
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 ¶
func (o *GetProjectsProjectIDParams) WithContext(ctx context.Context) *GetProjectsProjectIDParams
WithContext adds the context to the get projects project ID params
func (*GetProjectsProjectIDParams) WithHTTPClient ¶
func (o *GetProjectsProjectIDParams) WithHTTPClient(client *http.Client) *GetProjectsProjectIDParams
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 ¶
func (o *GetProjectsProjectIDParams) WithTimeout(timeout time.Duration) *GetProjectsProjectIDParams
WithTimeout adds the timeout to the get projects project ID params
func (*GetProjectsProjectIDParams) WriteToRequest ¶
func (o *GetProjectsProjectIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateProjectDeviceBadRequest) Error() string
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 ¶
func (o *UpdateProjectDeviceInternalServerError) Error() string
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 ¶
func (o *UpdateProjectDeviceParams) WithContext(ctx context.Context) *UpdateProjectDeviceParams
WithContext adds the context to the update project device params
func (*UpdateProjectDeviceParams) WithDevice ¶
func (o *UpdateProjectDeviceParams) WithDevice(device *models.Device) *UpdateProjectDeviceParams
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 ¶
func (o *UpdateProjectDeviceParams) WithTimeout(timeout time.Duration) *UpdateProjectDeviceParams
WithTimeout adds the timeout to the update project device params
func (*UpdateProjectDeviceParams) WriteToRequest ¶
func (o *UpdateProjectDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateProjectDeviceStatusBadRequest) Error() string
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 ¶
func (o *UpdateProjectDeviceStatusInternalServerError) Error() string
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 ¶
func (o *UpdateProjectDeviceStatusOK) Error() string
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 ¶
func (o *UpdateProjectDeviceStatusParams) WithContext(ctx context.Context) *UpdateProjectDeviceStatusParams
WithContext adds the context to the update project device status params
func (*UpdateProjectDeviceStatusParams) WithDeviceID ¶
func (o *UpdateProjectDeviceStatusParams) WithDeviceID(deviceID string) *UpdateProjectDeviceStatusParams
WithDeviceID adds the deviceID to the update project device status params
func (*UpdateProjectDeviceStatusParams) WithField ¶
func (o *UpdateProjectDeviceStatusParams) WithField(field string) *UpdateProjectDeviceStatusParams
WithField adds the field to the update project device status params
func (*UpdateProjectDeviceStatusParams) WithHTTPClient ¶
func (o *UpdateProjectDeviceStatusParams) WithHTTPClient(client *http.Client) *UpdateProjectDeviceStatusParams
WithHTTPClient adds the HTTPClient to the update project device status params
func (*UpdateProjectDeviceStatusParams) WithProjectID ¶
func (o *UpdateProjectDeviceStatusParams) WithProjectID(projectID string) *UpdateProjectDeviceStatusParams
WithProjectID adds the projectID to the update project device status params
func (*UpdateProjectDeviceStatusParams) WithTimeout ¶
func (o *UpdateProjectDeviceStatusParams) WithTimeout(timeout time.Duration) *UpdateProjectDeviceStatusParams
WithTimeout adds the timeout to the update project device status params
func (*UpdateProjectDeviceStatusParams) WriteToRequest ¶
func (o *UpdateProjectDeviceStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateProjectInternalServerError) Error() string
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 ¶
func (o *UpdateProjectParams) WithContext(ctx context.Context) *UpdateProjectParams
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.
Source Files
¶
- add_project_device_parameters.go
- add_project_device_responses.go
- create_project_parameters.go
- create_project_responses.go
- delete_project_device_parameters.go
- delete_project_device_responses.go
- delete_project_parameters.go
- delete_project_responses.go
- get_project_device_parameters.go
- get_project_device_responses.go
- get_project_devices_parameters.go
- get_project_devices_responses.go
- get_project_summary_parameters.go
- get_project_summary_responses.go
- get_projects_parameters.go
- get_projects_project_id_parameters.go
- get_projects_project_id_responses.go
- get_projects_responses.go
- project_client.go
- update_project_device_parameters.go
- update_project_device_responses.go
- update_project_device_status_parameters.go
- update_project_device_status_responses.go
- update_project_parameters.go
- update_project_responses.go