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) DeleteCable(params *DeleteCableParams) (*DeleteCableOK, error) + func (a *Client) GetCables(params *GetCablesParams) (*GetCablesOK, error) + func (a *Client) PostCables(params *PostCablesParams) (*PostCablesOK, error) + func (a *Client) SetTransport(transport runtime.ClientTransport) + type ClientService interface + DeleteCable func(params *DeleteCableParams) (*DeleteCableOK, error) + GetCables func(params *GetCablesParams) (*GetCablesOK, error) + PostCables func(params *PostCablesParams) (*PostCablesOK, error) + SetTransport func(transport runtime.ClientTransport) + func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService + type DeleteCableBadRequest struct + func NewDeleteCableBadRequest() *DeleteCableBadRequest + func (o *DeleteCableBadRequest) Error() string + type DeleteCableForbidden struct + func NewDeleteCableForbidden() *DeleteCableForbidden + func (o *DeleteCableForbidden) Error() string + type DeleteCableGone struct + func NewDeleteCableGone() *DeleteCableGone + func (o *DeleteCableGone) Error() string + type DeleteCableInternalServerError struct + func NewDeleteCableInternalServerError() *DeleteCableInternalServerError + func (o *DeleteCableInternalServerError) Error() string + type DeleteCableMethodNotAllowed struct + func NewDeleteCableMethodNotAllowed() *DeleteCableMethodNotAllowed + func (o *DeleteCableMethodNotAllowed) Error() string + type DeleteCableNotFound struct + func NewDeleteCableNotFound() *DeleteCableNotFound + func (o *DeleteCableNotFound) Error() string + type DeleteCableOK struct + Payload *DeleteCableOKBody + func NewDeleteCableOK() *DeleteCableOK + func (o *DeleteCableOK) Error() string + func (o *DeleteCableOK) GetPayload() *DeleteCableOKBody + type DeleteCableOKBody struct + Deleted interface{} + ID interface{} + func (o *DeleteCableOKBody) MarshalBinary() ([]byte, error) + func (o *DeleteCableOKBody) UnmarshalBinary(b []byte) error + func (o *DeleteCableOKBody) Validate(formats strfmt.Registry) error + type DeleteCableParams struct + Context context.Context + HTTPClient *http.Client + ID int64 + func NewDeleteCableParams() *DeleteCableParams + func NewDeleteCableParamsWithContext(ctx context.Context) *DeleteCableParams + func NewDeleteCableParamsWithHTTPClient(client *http.Client) *DeleteCableParams + func NewDeleteCableParamsWithTimeout(timeout time.Duration) *DeleteCableParams + func (o *DeleteCableParams) SetContext(ctx context.Context) + func (o *DeleteCableParams) SetHTTPClient(client *http.Client) + func (o *DeleteCableParams) SetID(id int64) + func (o *DeleteCableParams) SetTimeout(timeout time.Duration) + func (o *DeleteCableParams) WithContext(ctx context.Context) *DeleteCableParams + func (o *DeleteCableParams) WithHTTPClient(client *http.Client) *DeleteCableParams + func (o *DeleteCableParams) WithID(id int64) *DeleteCableParams + func (o *DeleteCableParams) WithTimeout(timeout time.Duration) *DeleteCableParams + func (o *DeleteCableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type DeleteCableReader struct + func (o *DeleteCableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type DeleteCableServiceUnavailable struct + func NewDeleteCableServiceUnavailable() *DeleteCableServiceUnavailable + func (o *DeleteCableServiceUnavailable) Error() string + type DeleteCableUnauthorized struct + func NewDeleteCableUnauthorized() *DeleteCableUnauthorized + func (o *DeleteCableUnauthorized) Error() string + type GetCablesBadRequest struct + func NewGetCablesBadRequest() *GetCablesBadRequest + func (o *GetCablesBadRequest) Error() string + type GetCablesForbidden struct + func NewGetCablesForbidden() *GetCablesForbidden + func (o *GetCablesForbidden) Error() string + type GetCablesGone struct + func NewGetCablesGone() *GetCablesGone + func (o *GetCablesGone) Error() string + type GetCablesInternalServerError struct + func NewGetCablesInternalServerError() *GetCablesInternalServerError + func (o *GetCablesInternalServerError) Error() string + type GetCablesMethodNotAllowed struct + func NewGetCablesMethodNotAllowed() *GetCablesMethodNotAllowed + func (o *GetCablesMethodNotAllowed) Error() string + type GetCablesNotFound struct + func NewGetCablesNotFound() *GetCablesNotFound + func (o *GetCablesNotFound) Error() string + type GetCablesOK struct + Payload *GetCablesOKBody + func NewGetCablesOK() *GetCablesOK + func (o *GetCablesOK) Error() string + func (o *GetCablesOK) GetPayload() *GetCablesOKBody + type GetCablesOKBody struct + Cable []*models.Cable + func (o *GetCablesOKBody) MarshalBinary() ([]byte, error) + func (o *GetCablesOKBody) UnmarshalBinary(b []byte) error + func (o *GetCablesOKBody) Validate(formats strfmt.Registry) error + type GetCablesParams struct + CableID *int64 + Context context.Context + HTTPClient *http.Client + func NewGetCablesParams() *GetCablesParams + func NewGetCablesParamsWithContext(ctx context.Context) *GetCablesParams + func NewGetCablesParamsWithHTTPClient(client *http.Client) *GetCablesParams + func NewGetCablesParamsWithTimeout(timeout time.Duration) *GetCablesParams + func (o *GetCablesParams) SetCableID(cableID *int64) + func (o *GetCablesParams) SetContext(ctx context.Context) + func (o *GetCablesParams) SetHTTPClient(client *http.Client) + func (o *GetCablesParams) SetTimeout(timeout time.Duration) + func (o *GetCablesParams) WithCableID(cableID *int64) *GetCablesParams + func (o *GetCablesParams) WithContext(ctx context.Context) *GetCablesParams + func (o *GetCablesParams) WithHTTPClient(client *http.Client) *GetCablesParams + func (o *GetCablesParams) WithTimeout(timeout time.Duration) *GetCablesParams + func (o *GetCablesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetCablesReader struct + func (o *GetCablesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetCablesServiceUnavailable struct + func NewGetCablesServiceUnavailable() *GetCablesServiceUnavailable + func (o *GetCablesServiceUnavailable) Error() string + type GetCablesUnauthorized struct + func NewGetCablesUnauthorized() *GetCablesUnauthorized + func (o *GetCablesUnauthorized) Error() string + type PostCablesBadRequest struct + func NewPostCablesBadRequest() *PostCablesBadRequest + func (o *PostCablesBadRequest) Error() string + type PostCablesForbidden struct + func NewPostCablesForbidden() *PostCablesForbidden + func (o *PostCablesForbidden) Error() string + type PostCablesGone struct + func NewPostCablesGone() *PostCablesGone + func (o *PostCablesGone) Error() string + type PostCablesInternalServerError struct + func NewPostCablesInternalServerError() *PostCablesInternalServerError + func (o *PostCablesInternalServerError) Error() string + type PostCablesMethodNotAllowed struct + func NewPostCablesMethodNotAllowed() *PostCablesMethodNotAllowed + func (o *PostCablesMethodNotAllowed) Error() string + type PostCablesNotFound struct + func NewPostCablesNotFound() *PostCablesNotFound + func (o *PostCablesNotFound) Error() string + type PostCablesOK struct + Payload *PostCablesOKBody + func NewPostCablesOK() *PostCablesOK + func (o *PostCablesOK) Error() string + func (o *PostCablesOK) GetPayload() *PostCablesOKBody + type PostCablesOKBody struct + Code interface{} + Msg interface{} + func (o *PostCablesOKBody) MarshalBinary() ([]byte, error) + func (o *PostCablesOKBody) UnmarshalBinary(b []byte) error + func (o *PostCablesOKBody) Validate(formats strfmt.Registry) error + type PostCablesParams struct + CableID string + CableLength *string + CableLengthUnits *string + Context context.Context + EndPointBackPachPanel *string + EndPointCable *string + EndPointCableColor *string + EndPointConnectorType *string + EndPointID *string + EndPointMultiple *string + EndPointOpticType *string + EndPointType *string + Groups *string + HTTPClient *http.Client + ID string + Notes *string + OriginBackPatchPanel *string + OriginCable *string + OriginCableColor *string + OriginConnectorType *string + OriginID *string + OriginOpticType *string + OriginType *string + Room *string + RoomID *string + Vendor *string + func NewPostCablesParams() *PostCablesParams + func NewPostCablesParamsWithContext(ctx context.Context) *PostCablesParams + func NewPostCablesParamsWithHTTPClient(client *http.Client) *PostCablesParams + func NewPostCablesParamsWithTimeout(timeout time.Duration) *PostCablesParams + func (o *PostCablesParams) SetCableID(cableID string) + func (o *PostCablesParams) SetCableLength(cableLength *string) + func (o *PostCablesParams) SetCableLengthUnits(cableLengthUnits *string) + func (o *PostCablesParams) SetContext(ctx context.Context) + func (o *PostCablesParams) SetEndPointBackPachPanel(endPointBackPachPanel *string) + func (o *PostCablesParams) SetEndPointCable(endPointCable *string) + func (o *PostCablesParams) SetEndPointCableColor(endPointCableColor *string) + func (o *PostCablesParams) SetEndPointConnectorType(endPointConnectorType *string) + func (o *PostCablesParams) SetEndPointID(endPointID *string) + func (o *PostCablesParams) SetEndPointMultiple(endPointMultiple *string) + func (o *PostCablesParams) SetEndPointOpticType(endPointOpticType *string) + func (o *PostCablesParams) SetEndPointType(endPointType *string) + func (o *PostCablesParams) SetGroups(groups *string) + func (o *PostCablesParams) SetHTTPClient(client *http.Client) + func (o *PostCablesParams) SetID(id string) + func (o *PostCablesParams) SetNotes(notes *string) + func (o *PostCablesParams) SetOriginBackPatchPanel(originBackPatchPanel *string) + func (o *PostCablesParams) SetOriginCable(originCable *string) + func (o *PostCablesParams) SetOriginCableColor(originCableColor *string) + func (o *PostCablesParams) SetOriginConnectorType(originConnectorType *string) + func (o *PostCablesParams) SetOriginID(originID *string) + func (o *PostCablesParams) SetOriginOpticType(originOpticType *string) + func (o *PostCablesParams) SetOriginType(originType *string) + func (o *PostCablesParams) SetRoom(room *string) + func (o *PostCablesParams) SetRoomID(roomID *string) + func (o *PostCablesParams) SetTimeout(timeout time.Duration) + func (o *PostCablesParams) SetVendor(vendor *string) + func (o *PostCablesParams) WithCableID(cableID string) *PostCablesParams + func (o *PostCablesParams) WithCableLength(cableLength *string) *PostCablesParams + func (o *PostCablesParams) WithCableLengthUnits(cableLengthUnits *string) *PostCablesParams + func (o *PostCablesParams) WithContext(ctx context.Context) *PostCablesParams + func (o *PostCablesParams) WithEndPointBackPachPanel(endPointBackPachPanel *string) *PostCablesParams + func (o *PostCablesParams) WithEndPointCable(endPointCable *string) *PostCablesParams + func (o *PostCablesParams) WithEndPointCableColor(endPointCableColor *string) *PostCablesParams + func (o *PostCablesParams) WithEndPointConnectorType(endPointConnectorType *string) *PostCablesParams + func (o *PostCablesParams) WithEndPointID(endPointID *string) *PostCablesParams + func (o *PostCablesParams) WithEndPointMultiple(endPointMultiple *string) *PostCablesParams + func (o *PostCablesParams) WithEndPointOpticType(endPointOpticType *string) *PostCablesParams + func (o *PostCablesParams) WithEndPointType(endPointType *string) *PostCablesParams + func (o *PostCablesParams) WithGroups(groups *string) *PostCablesParams + func (o *PostCablesParams) WithHTTPClient(client *http.Client) *PostCablesParams + func (o *PostCablesParams) WithID(id string) *PostCablesParams + func (o *PostCablesParams) WithNotes(notes *string) *PostCablesParams + func (o *PostCablesParams) WithOriginBackPatchPanel(originBackPatchPanel *string) *PostCablesParams + func (o *PostCablesParams) WithOriginCable(originCable *string) *PostCablesParams + func (o *PostCablesParams) WithOriginCableColor(originCableColor *string) *PostCablesParams + func (o *PostCablesParams) WithOriginConnectorType(originConnectorType *string) *PostCablesParams + func (o *PostCablesParams) WithOriginID(originID *string) *PostCablesParams + func (o *PostCablesParams) WithOriginOpticType(originOpticType *string) *PostCablesParams + func (o *PostCablesParams) WithOriginType(originType *string) *PostCablesParams + func (o *PostCablesParams) WithRoom(room *string) *PostCablesParams + func (o *PostCablesParams) WithRoomID(roomID *string) *PostCablesParams + func (o *PostCablesParams) WithTimeout(timeout time.Duration) *PostCablesParams + func (o *PostCablesParams) WithVendor(vendor *string) *PostCablesParams + func (o *PostCablesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type PostCablesReader struct + func (o *PostCablesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type PostCablesServiceUnavailable struct + func NewPostCablesServiceUnavailable() *PostCablesServiceUnavailable + func (o *PostCablesServiceUnavailable) Error() string + type PostCablesUnauthorized struct + func NewPostCablesUnauthorized() *PostCablesUnauthorized + func (o *PostCablesUnauthorized) Error() string