Versions in this module Expand all Collapse all v0 v0.0.3 Jul 1, 2020 v0.0.2 Jul 1, 2020 Changes in this version + type Client struct + func (a *Client) DeleteHardwares(params *DeleteHardwaresParams) (*DeleteHardwaresOK, error) + func (a *Client) GetHardwares(params *GetHardwaresParams) (*GetHardwaresOK, error) + func (a *Client) PostHardwares(params *PostHardwaresParams) (*PostHardwaresOK, error) + func (a *Client) SetTransport(transport runtime.ClientTransport) + type ClientService interface + DeleteHardwares func(params *DeleteHardwaresParams) (*DeleteHardwaresOK, error) + GetHardwares func(params *GetHardwaresParams) (*GetHardwaresOK, error) + PostHardwares func(params *PostHardwaresParams) (*PostHardwaresOK, error) + SetTransport func(transport runtime.ClientTransport) + func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService + type DeleteHardwaresBadRequest struct + func NewDeleteHardwaresBadRequest() *DeleteHardwaresBadRequest + func (o *DeleteHardwaresBadRequest) Error() string + type DeleteHardwaresForbidden struct + func NewDeleteHardwaresForbidden() *DeleteHardwaresForbidden + func (o *DeleteHardwaresForbidden) Error() string + type DeleteHardwaresGone struct + func NewDeleteHardwaresGone() *DeleteHardwaresGone + func (o *DeleteHardwaresGone) Error() string + type DeleteHardwaresInternalServerError struct + func NewDeleteHardwaresInternalServerError() *DeleteHardwaresInternalServerError + func (o *DeleteHardwaresInternalServerError) Error() string + type DeleteHardwaresMethodNotAllowed struct + func NewDeleteHardwaresMethodNotAllowed() *DeleteHardwaresMethodNotAllowed + func (o *DeleteHardwaresMethodNotAllowed) Error() string + type DeleteHardwaresNotFound struct + func NewDeleteHardwaresNotFound() *DeleteHardwaresNotFound + func (o *DeleteHardwaresNotFound) Error() string + type DeleteHardwaresOK struct + Payload *DeleteHardwaresOKBody + func NewDeleteHardwaresOK() *DeleteHardwaresOK + func (o *DeleteHardwaresOK) Error() string + func (o *DeleteHardwaresOK) GetPayload() *DeleteHardwaresOKBody + type DeleteHardwaresOKBody struct + Deleted interface{} + ID interface{} + func (o *DeleteHardwaresOKBody) MarshalBinary() ([]byte, error) + func (o *DeleteHardwaresOKBody) UnmarshalBinary(b []byte) error + func (o *DeleteHardwaresOKBody) Validate(formats strfmt.Registry) error + type DeleteHardwaresParams struct + Context context.Context + HTTPClient *http.Client + ID int64 + func NewDeleteHardwaresParams() *DeleteHardwaresParams + func NewDeleteHardwaresParamsWithContext(ctx context.Context) *DeleteHardwaresParams + func NewDeleteHardwaresParamsWithHTTPClient(client *http.Client) *DeleteHardwaresParams + func NewDeleteHardwaresParamsWithTimeout(timeout time.Duration) *DeleteHardwaresParams + func (o *DeleteHardwaresParams) SetContext(ctx context.Context) + func (o *DeleteHardwaresParams) SetHTTPClient(client *http.Client) + func (o *DeleteHardwaresParams) SetID(id int64) + func (o *DeleteHardwaresParams) SetTimeout(timeout time.Duration) + func (o *DeleteHardwaresParams) WithContext(ctx context.Context) *DeleteHardwaresParams + func (o *DeleteHardwaresParams) WithHTTPClient(client *http.Client) *DeleteHardwaresParams + func (o *DeleteHardwaresParams) WithID(id int64) *DeleteHardwaresParams + func (o *DeleteHardwaresParams) WithTimeout(timeout time.Duration) *DeleteHardwaresParams + func (o *DeleteHardwaresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type DeleteHardwaresReader struct + func (o *DeleteHardwaresReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type DeleteHardwaresServiceUnavailable struct + func NewDeleteHardwaresServiceUnavailable() *DeleteHardwaresServiceUnavailable + func (o *DeleteHardwaresServiceUnavailable) Error() string + type DeleteHardwaresUnauthorized struct + func NewDeleteHardwaresUnauthorized() *DeleteHardwaresUnauthorized + func (o *DeleteHardwaresUnauthorized) Error() string + type GetHardwaresBadRequest struct + func NewGetHardwaresBadRequest() *GetHardwaresBadRequest + func (o *GetHardwaresBadRequest) Error() string + type GetHardwaresForbidden struct + func NewGetHardwaresForbidden() *GetHardwaresForbidden + func (o *GetHardwaresForbidden) Error() string + type GetHardwaresGone struct + func NewGetHardwaresGone() *GetHardwaresGone + func (o *GetHardwaresGone) Error() string + type GetHardwaresInternalServerError struct + func NewGetHardwaresInternalServerError() *GetHardwaresInternalServerError + func (o *GetHardwaresInternalServerError) Error() string + type GetHardwaresMethodNotAllowed struct + func NewGetHardwaresMethodNotAllowed() *GetHardwaresMethodNotAllowed + func (o *GetHardwaresMethodNotAllowed) Error() string + type GetHardwaresNotFound struct + func NewGetHardwaresNotFound() *GetHardwaresNotFound + func (o *GetHardwaresNotFound) Error() string + type GetHardwaresOK struct + Payload *GetHardwaresOKBody + func NewGetHardwaresOK() *GetHardwaresOK + func (o *GetHardwaresOK) Error() string + func (o *GetHardwaresOK) GetPayload() *GetHardwaresOKBody + type GetHardwaresOKBody struct + Models []*models.HardwareModels + func (o *GetHardwaresOKBody) MarshalBinary() ([]byte, error) + func (o *GetHardwaresOKBody) UnmarshalBinary(b []byte) error + func (o *GetHardwaresOKBody) Validate(formats strfmt.Registry) error + type GetHardwaresParams struct + Context context.Context + Depth *string + DeviceSubType *string + HTTPClient *http.Client + Manufacturer *string + Name *string + PartNo *string + Size *string + Type *string + Watts *string + func NewGetHardwaresParams() *GetHardwaresParams + func NewGetHardwaresParamsWithContext(ctx context.Context) *GetHardwaresParams + func NewGetHardwaresParamsWithHTTPClient(client *http.Client) *GetHardwaresParams + func NewGetHardwaresParamsWithTimeout(timeout time.Duration) *GetHardwaresParams + func (o *GetHardwaresParams) SetContext(ctx context.Context) + func (o *GetHardwaresParams) SetDepth(depth *string) + func (o *GetHardwaresParams) SetDeviceSubType(deviceSubType *string) + func (o *GetHardwaresParams) SetHTTPClient(client *http.Client) + func (o *GetHardwaresParams) SetManufacturer(manufacturer *string) + func (o *GetHardwaresParams) SetName(name *string) + func (o *GetHardwaresParams) SetPartNo(partNo *string) + func (o *GetHardwaresParams) SetSize(size *string) + func (o *GetHardwaresParams) SetTimeout(timeout time.Duration) + func (o *GetHardwaresParams) SetType(typeVar *string) + func (o *GetHardwaresParams) SetWatts(watts *string) + func (o *GetHardwaresParams) WithContext(ctx context.Context) *GetHardwaresParams + func (o *GetHardwaresParams) WithDepth(depth *string) *GetHardwaresParams + func (o *GetHardwaresParams) WithDeviceSubType(deviceSubType *string) *GetHardwaresParams + func (o *GetHardwaresParams) WithHTTPClient(client *http.Client) *GetHardwaresParams + func (o *GetHardwaresParams) WithManufacturer(manufacturer *string) *GetHardwaresParams + func (o *GetHardwaresParams) WithName(name *string) *GetHardwaresParams + func (o *GetHardwaresParams) WithPartNo(partNo *string) *GetHardwaresParams + func (o *GetHardwaresParams) WithSize(size *string) *GetHardwaresParams + func (o *GetHardwaresParams) WithTimeout(timeout time.Duration) *GetHardwaresParams + func (o *GetHardwaresParams) WithType(typeVar *string) *GetHardwaresParams + func (o *GetHardwaresParams) WithWatts(watts *string) *GetHardwaresParams + func (o *GetHardwaresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetHardwaresReader struct + func (o *GetHardwaresReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetHardwaresServiceUnavailable struct + func NewGetHardwaresServiceUnavailable() *GetHardwaresServiceUnavailable + func (o *GetHardwaresServiceUnavailable) Error() string + type GetHardwaresUnauthorized struct + func NewGetHardwaresUnauthorized() *GetHardwaresUnauthorized + func (o *GetHardwaresUnauthorized) Error() string + type PostHardwaresBadRequest struct + func NewPostHardwaresBadRequest() *PostHardwaresBadRequest + func (o *PostHardwaresBadRequest) Error() string + type PostHardwaresForbidden struct + func NewPostHardwaresForbidden() *PostHardwaresForbidden + func (o *PostHardwaresForbidden) Error() string + type PostHardwaresGone struct + func NewPostHardwaresGone() *PostHardwaresGone + func (o *PostHardwaresGone) Error() string + type PostHardwaresInternalServerError struct + func NewPostHardwaresInternalServerError() *PostHardwaresInternalServerError + func (o *PostHardwaresInternalServerError) Error() string + type PostHardwaresMethodNotAllowed struct + func NewPostHardwaresMethodNotAllowed() *PostHardwaresMethodNotAllowed + func (o *PostHardwaresMethodNotAllowed) Error() string + type PostHardwaresNotFound struct + func NewPostHardwaresNotFound() *PostHardwaresNotFound + func (o *PostHardwaresNotFound) Error() string + type PostHardwaresOK struct + Payload *PostHardwaresOKBody + func NewPostHardwaresOK() *PostHardwaresOK + func (o *PostHardwaresOK) Error() string + func (o *PostHardwaresOK) GetPayload() *PostHardwaresOKBody + type PostHardwaresOKBody struct + Code interface{} + Msg interface{} + func (o *PostHardwaresOKBody) MarshalBinary() ([]byte, error) + func (o *PostHardwaresOKBody) UnmarshalBinary(b []byte) error + func (o *PostHardwaresOKBody) Validate(formats strfmt.Registry) error + type PostHardwaresParams struct + BackImage *string + BackImageID *string + BladeSize *int64 + Context context.Context + Depth *string + DeviceSubType *string + FrontImage *string + FrontImageID *string + HTTPClient *http.Client + Manufacturer *string + MaxBladesPerRow *string + ModulePos *string + Name string + NewName *string + Notes *string + PartNo *string + Size *string + SlotNumbering *string + SpecURL *string + Type *int64 + Watts *string + WidthRatio *string + func NewPostHardwaresParams() *PostHardwaresParams + func NewPostHardwaresParamsWithContext(ctx context.Context) *PostHardwaresParams + func NewPostHardwaresParamsWithHTTPClient(client *http.Client) *PostHardwaresParams + func NewPostHardwaresParamsWithTimeout(timeout time.Duration) *PostHardwaresParams + func (o *PostHardwaresParams) SetBackImage(backImage *string) + func (o *PostHardwaresParams) SetBackImageID(backImageID *string) + func (o *PostHardwaresParams) SetBladeSize(bladeSize *int64) + func (o *PostHardwaresParams) SetContext(ctx context.Context) + func (o *PostHardwaresParams) SetDepth(depth *string) + func (o *PostHardwaresParams) SetDeviceSubType(deviceSubType *string) + func (o *PostHardwaresParams) SetFrontImage(frontImage *string) + func (o *PostHardwaresParams) SetFrontImageID(frontImageID *string) + func (o *PostHardwaresParams) SetHTTPClient(client *http.Client) + func (o *PostHardwaresParams) SetManufacturer(manufacturer *string) + func (o *PostHardwaresParams) SetMaxBladesPerRow(maxBladesPerRow *string) + func (o *PostHardwaresParams) SetModulePos(modulePos *string) + func (o *PostHardwaresParams) SetName(name string) + func (o *PostHardwaresParams) SetNewName(newName *string) + func (o *PostHardwaresParams) SetNotes(notes *string) + func (o *PostHardwaresParams) SetPartNo(partNo *string) + func (o *PostHardwaresParams) SetSize(size *string) + func (o *PostHardwaresParams) SetSlotNumbering(slotNumbering *string) + func (o *PostHardwaresParams) SetSpecURL(specURL *string) + func (o *PostHardwaresParams) SetTimeout(timeout time.Duration) + func (o *PostHardwaresParams) SetType(typeVar *int64) + func (o *PostHardwaresParams) SetWatts(watts *string) + func (o *PostHardwaresParams) SetWidthRatio(widthRatio *string) + func (o *PostHardwaresParams) WithBackImage(backImage *string) *PostHardwaresParams + func (o *PostHardwaresParams) WithBackImageID(backImageID *string) *PostHardwaresParams + func (o *PostHardwaresParams) WithBladeSize(bladeSize *int64) *PostHardwaresParams + func (o *PostHardwaresParams) WithContext(ctx context.Context) *PostHardwaresParams + func (o *PostHardwaresParams) WithDepth(depth *string) *PostHardwaresParams + func (o *PostHardwaresParams) WithDeviceSubType(deviceSubType *string) *PostHardwaresParams + func (o *PostHardwaresParams) WithFrontImage(frontImage *string) *PostHardwaresParams + func (o *PostHardwaresParams) WithFrontImageID(frontImageID *string) *PostHardwaresParams + func (o *PostHardwaresParams) WithHTTPClient(client *http.Client) *PostHardwaresParams + func (o *PostHardwaresParams) WithManufacturer(manufacturer *string) *PostHardwaresParams + func (o *PostHardwaresParams) WithMaxBladesPerRow(maxBladesPerRow *string) *PostHardwaresParams + func (o *PostHardwaresParams) WithModulePos(modulePos *string) *PostHardwaresParams + func (o *PostHardwaresParams) WithName(name string) *PostHardwaresParams + func (o *PostHardwaresParams) WithNewName(newName *string) *PostHardwaresParams + func (o *PostHardwaresParams) WithNotes(notes *string) *PostHardwaresParams + func (o *PostHardwaresParams) WithPartNo(partNo *string) *PostHardwaresParams + func (o *PostHardwaresParams) WithSize(size *string) *PostHardwaresParams + func (o *PostHardwaresParams) WithSlotNumbering(slotNumbering *string) *PostHardwaresParams + func (o *PostHardwaresParams) WithSpecURL(specURL *string) *PostHardwaresParams + func (o *PostHardwaresParams) WithTimeout(timeout time.Duration) *PostHardwaresParams + func (o *PostHardwaresParams) WithType(typeVar *int64) *PostHardwaresParams + func (o *PostHardwaresParams) WithWatts(watts *string) *PostHardwaresParams + func (o *PostHardwaresParams) WithWidthRatio(widthRatio *string) *PostHardwaresParams + func (o *PostHardwaresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type PostHardwaresReader struct + func (o *PostHardwaresReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type PostHardwaresServiceUnavailable struct + func NewPostHardwaresServiceUnavailable() *PostHardwaresServiceUnavailable + func (o *PostHardwaresServiceUnavailable) Error() string + type PostHardwaresUnauthorized struct + func NewPostHardwaresUnauthorized() *PostHardwaresUnauthorized + func (o *PostHardwaresUnauthorized) Error() string