Documentation ¶
Index ¶
- type Client
- func (a *Client) GetPatchPanelID(params *GetPatchPanelIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetPatchPanelIDOK, error)
- func (a *Client) GetPatchPanelModels(params *GetPatchPanelModelsParams, authInfo runtime.ClientAuthInfoWriter) (*GetPatchPanelModelsOK, error)
- func (a *Client) GetPatchPanelModuleModels(params *GetPatchPanelModuleModelsParams, authInfo runtime.ClientAuthInfoWriter) (*GetPatchPanelModuleModelsOK, error)
- func (a *Client) GetPatchPanelPortsPatchPanelID(params *GetPatchPanelPortsPatchPanelIDParams, ...) (*GetPatchPanelPortsPatchPanelIDOK, error)
- func (a *Client) PostPatchPanelModels(params *PostPatchPanelModelsParams, authInfo runtime.ClientAuthInfoWriter) (*PostPatchPanelModelsOK, error)
- func (a *Client) PostPatchPanelModuleModels(params *PostPatchPanelModuleModelsParams, ...) (*PostPatchPanelModuleModelsOK, error)
- func (a *Client) PostPatchPanelPortsPatchPanelID(params *PostPatchPanelPortsPatchPanelIDParams, ...) (*PostPatchPanelPortsPatchPanelIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetPatchPanelIDBadRequest
- type GetPatchPanelIDForbidden
- type GetPatchPanelIDGone
- type GetPatchPanelIDInternalServerError
- type GetPatchPanelIDMethodNotAllowed
- type GetPatchPanelIDNotFound
- type GetPatchPanelIDOK
- type GetPatchPanelIDParams
- func NewGetPatchPanelIDParams() *GetPatchPanelIDParams
- func NewGetPatchPanelIDParamsWithContext(ctx context.Context) *GetPatchPanelIDParams
- func NewGetPatchPanelIDParamsWithHTTPClient(client *http.Client) *GetPatchPanelIDParams
- func NewGetPatchPanelIDParamsWithTimeout(timeout time.Duration) *GetPatchPanelIDParams
- func (o *GetPatchPanelIDParams) SetContext(ctx context.Context)
- func (o *GetPatchPanelIDParams) SetHTTPClient(client *http.Client)
- func (o *GetPatchPanelIDParams) SetID(id int64)
- func (o *GetPatchPanelIDParams) SetTimeout(timeout time.Duration)
- func (o *GetPatchPanelIDParams) WithContext(ctx context.Context) *GetPatchPanelIDParams
- func (o *GetPatchPanelIDParams) WithHTTPClient(client *http.Client) *GetPatchPanelIDParams
- func (o *GetPatchPanelIDParams) WithID(id int64) *GetPatchPanelIDParams
- func (o *GetPatchPanelIDParams) WithTimeout(timeout time.Duration) *GetPatchPanelIDParams
- func (o *GetPatchPanelIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPatchPanelIDReader
- type GetPatchPanelIDServiceUnavailable
- type GetPatchPanelIDUnauthorized
- type GetPatchPanelModelsBadRequest
- type GetPatchPanelModelsForbidden
- type GetPatchPanelModelsGone
- type GetPatchPanelModelsInternalServerError
- type GetPatchPanelModelsMethodNotAllowed
- type GetPatchPanelModelsNotFound
- type GetPatchPanelModelsOK
- type GetPatchPanelModelsOKBodyItems0
- type GetPatchPanelModelsParams
- func NewGetPatchPanelModelsParams() *GetPatchPanelModelsParams
- func NewGetPatchPanelModelsParamsWithContext(ctx context.Context) *GetPatchPanelModelsParams
- func NewGetPatchPanelModelsParamsWithHTTPClient(client *http.Client) *GetPatchPanelModelsParams
- func NewGetPatchPanelModelsParamsWithTimeout(timeout time.Duration) *GetPatchPanelModelsParams
- func (o *GetPatchPanelModelsParams) SetContext(ctx context.Context)
- func (o *GetPatchPanelModelsParams) SetHTTPClient(client *http.Client)
- func (o *GetPatchPanelModelsParams) SetName(name *string)
- func (o *GetPatchPanelModelsParams) SetTimeout(timeout time.Duration)
- func (o *GetPatchPanelModelsParams) WithContext(ctx context.Context) *GetPatchPanelModelsParams
- func (o *GetPatchPanelModelsParams) WithHTTPClient(client *http.Client) *GetPatchPanelModelsParams
- func (o *GetPatchPanelModelsParams) WithName(name *string) *GetPatchPanelModelsParams
- func (o *GetPatchPanelModelsParams) WithTimeout(timeout time.Duration) *GetPatchPanelModelsParams
- func (o *GetPatchPanelModelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPatchPanelModelsReader
- type GetPatchPanelModelsServiceUnavailable
- type GetPatchPanelModelsUnauthorized
- type GetPatchPanelModuleModelsBadRequest
- type GetPatchPanelModuleModelsForbidden
- type GetPatchPanelModuleModelsGone
- type GetPatchPanelModuleModelsInternalServerError
- type GetPatchPanelModuleModelsMethodNotAllowed
- type GetPatchPanelModuleModelsNotFound
- type GetPatchPanelModuleModelsOK
- type GetPatchPanelModuleModelsOKBodyItems0
- type GetPatchPanelModuleModelsParams
- func NewGetPatchPanelModuleModelsParams() *GetPatchPanelModuleModelsParams
- func NewGetPatchPanelModuleModelsParamsWithContext(ctx context.Context) *GetPatchPanelModuleModelsParams
- func NewGetPatchPanelModuleModelsParamsWithHTTPClient(client *http.Client) *GetPatchPanelModuleModelsParams
- func NewGetPatchPanelModuleModelsParamsWithTimeout(timeout time.Duration) *GetPatchPanelModuleModelsParams
- func (o *GetPatchPanelModuleModelsParams) SetContext(ctx context.Context)
- func (o *GetPatchPanelModuleModelsParams) SetHTTPClient(client *http.Client)
- func (o *GetPatchPanelModuleModelsParams) SetTimeout(timeout time.Duration)
- func (o *GetPatchPanelModuleModelsParams) WithContext(ctx context.Context) *GetPatchPanelModuleModelsParams
- func (o *GetPatchPanelModuleModelsParams) WithHTTPClient(client *http.Client) *GetPatchPanelModuleModelsParams
- func (o *GetPatchPanelModuleModelsParams) WithTimeout(timeout time.Duration) *GetPatchPanelModuleModelsParams
- func (o *GetPatchPanelModuleModelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPatchPanelModuleModelsReader
- type GetPatchPanelModuleModelsServiceUnavailable
- type GetPatchPanelModuleModelsUnauthorized
- type GetPatchPanelPortsPatchPanelIDBadRequest
- type GetPatchPanelPortsPatchPanelIDForbidden
- type GetPatchPanelPortsPatchPanelIDGone
- type GetPatchPanelPortsPatchPanelIDInternalServerError
- type GetPatchPanelPortsPatchPanelIDMethodNotAllowed
- type GetPatchPanelPortsPatchPanelIDNotFound
- type GetPatchPanelPortsPatchPanelIDOK
- type GetPatchPanelPortsPatchPanelIDOKBodyItems0
- type GetPatchPanelPortsPatchPanelIDParams
- func NewGetPatchPanelPortsPatchPanelIDParams() *GetPatchPanelPortsPatchPanelIDParams
- func NewGetPatchPanelPortsPatchPanelIDParamsWithContext(ctx context.Context) *GetPatchPanelPortsPatchPanelIDParams
- func NewGetPatchPanelPortsPatchPanelIDParamsWithHTTPClient(client *http.Client) *GetPatchPanelPortsPatchPanelIDParams
- func NewGetPatchPanelPortsPatchPanelIDParamsWithTimeout(timeout time.Duration) *GetPatchPanelPortsPatchPanelIDParams
- func (o *GetPatchPanelPortsPatchPanelIDParams) SetContext(ctx context.Context)
- func (o *GetPatchPanelPortsPatchPanelIDParams) SetHTTPClient(client *http.Client)
- func (o *GetPatchPanelPortsPatchPanelIDParams) SetPatchPanelID(patchPanelID int64)
- func (o *GetPatchPanelPortsPatchPanelIDParams) SetTimeout(timeout time.Duration)
- func (o *GetPatchPanelPortsPatchPanelIDParams) WithContext(ctx context.Context) *GetPatchPanelPortsPatchPanelIDParams
- func (o *GetPatchPanelPortsPatchPanelIDParams) WithHTTPClient(client *http.Client) *GetPatchPanelPortsPatchPanelIDParams
- func (o *GetPatchPanelPortsPatchPanelIDParams) WithPatchPanelID(patchPanelID int64) *GetPatchPanelPortsPatchPanelIDParams
- func (o *GetPatchPanelPortsPatchPanelIDParams) WithTimeout(timeout time.Duration) *GetPatchPanelPortsPatchPanelIDParams
- func (o *GetPatchPanelPortsPatchPanelIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPatchPanelPortsPatchPanelIDReader
- type GetPatchPanelPortsPatchPanelIDServiceUnavailable
- type GetPatchPanelPortsPatchPanelIDUnauthorized
- type PostPatchPanelModelsBadRequest
- type PostPatchPanelModelsForbidden
- type PostPatchPanelModelsGone
- type PostPatchPanelModelsInternalServerError
- type PostPatchPanelModelsMethodNotAllowed
- type PostPatchPanelModelsNotFound
- type PostPatchPanelModelsOK
- type PostPatchPanelModelsOKBody
- type PostPatchPanelModelsParams
- func NewPostPatchPanelModelsParams() *PostPatchPanelModelsParams
- func NewPostPatchPanelModelsParamsWithContext(ctx context.Context) *PostPatchPanelModelsParams
- func NewPostPatchPanelModelsParamsWithHTTPClient(client *http.Client) *PostPatchPanelModelsParams
- func NewPostPatchPanelModelsParamsWithTimeout(timeout time.Duration) *PostPatchPanelModelsParams
- func (o *PostPatchPanelModelsParams) SetContext(ctx context.Context)
- func (o *PostPatchPanelModelsParams) SetHTTPClient(client *http.Client)
- func (o *PostPatchPanelModelsParams) SetImgfile(imgfile *string)
- func (o *PostPatchPanelModelsParams) SetImgfileID(imgfileID *string)
- func (o *PostPatchPanelModelsParams) SetManufacturer(manufacturer *string)
- func (o *PostPatchPanelModelsParams) SetModulePosition(modulePosition *string)
- func (o *PostPatchPanelModelsParams) SetName(name *string)
- func (o *PostPatchPanelModelsParams) SetNumberOfPorts(numberOfPorts *string)
- func (o *PostPatchPanelModelsParams) SetNumberOfPortsInRow(numberOfPortsInRow *string)
- func (o *PostPatchPanelModelsParams) SetPairedPorts(pairedPorts *string)
- func (o *PostPatchPanelModelsParams) SetPatchPanelModelID(patchPanelModelID *string)
- func (o *PostPatchPanelModelsParams) SetPortType(portType *string)
- func (o *PostPatchPanelModelsParams) SetTimeout(timeout time.Duration)
- func (o *PostPatchPanelModelsParams) SetType(typeVar *string)
- func (o *PostPatchPanelModelsParams) WithContext(ctx context.Context) *PostPatchPanelModelsParams
- func (o *PostPatchPanelModelsParams) WithHTTPClient(client *http.Client) *PostPatchPanelModelsParams
- func (o *PostPatchPanelModelsParams) WithImgfile(imgfile *string) *PostPatchPanelModelsParams
- func (o *PostPatchPanelModelsParams) WithImgfileID(imgfileID *string) *PostPatchPanelModelsParams
- func (o *PostPatchPanelModelsParams) WithManufacturer(manufacturer *string) *PostPatchPanelModelsParams
- func (o *PostPatchPanelModelsParams) WithModulePosition(modulePosition *string) *PostPatchPanelModelsParams
- func (o *PostPatchPanelModelsParams) WithName(name *string) *PostPatchPanelModelsParams
- func (o *PostPatchPanelModelsParams) WithNumberOfPorts(numberOfPorts *string) *PostPatchPanelModelsParams
- func (o *PostPatchPanelModelsParams) WithNumberOfPortsInRow(numberOfPortsInRow *string) *PostPatchPanelModelsParams
- func (o *PostPatchPanelModelsParams) WithPairedPorts(pairedPorts *string) *PostPatchPanelModelsParams
- func (o *PostPatchPanelModelsParams) WithPatchPanelModelID(patchPanelModelID *string) *PostPatchPanelModelsParams
- func (o *PostPatchPanelModelsParams) WithPortType(portType *string) *PostPatchPanelModelsParams
- func (o *PostPatchPanelModelsParams) WithTimeout(timeout time.Duration) *PostPatchPanelModelsParams
- func (o *PostPatchPanelModelsParams) WithType(typeVar *string) *PostPatchPanelModelsParams
- func (o *PostPatchPanelModelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPatchPanelModelsReader
- type PostPatchPanelModelsServiceUnavailable
- type PostPatchPanelModelsUnauthorized
- type PostPatchPanelModuleModelsBadRequest
- type PostPatchPanelModuleModelsForbidden
- type PostPatchPanelModuleModelsGone
- type PostPatchPanelModuleModelsInternalServerError
- type PostPatchPanelModuleModelsMethodNotAllowed
- type PostPatchPanelModuleModelsNotFound
- type PostPatchPanelModuleModelsOK
- type PostPatchPanelModuleModelsOKBody
- type PostPatchPanelModuleModelsParams
- func NewPostPatchPanelModuleModelsParams() *PostPatchPanelModuleModelsParams
- func NewPostPatchPanelModuleModelsParamsWithContext(ctx context.Context) *PostPatchPanelModuleModelsParams
- func NewPostPatchPanelModuleModelsParamsWithHTTPClient(client *http.Client) *PostPatchPanelModuleModelsParams
- func NewPostPatchPanelModuleModelsParamsWithTimeout(timeout time.Duration) *PostPatchPanelModuleModelsParams
- func (o *PostPatchPanelModuleModelsParams) SetContext(ctx context.Context)
- func (o *PostPatchPanelModuleModelsParams) SetHTTPClient(client *http.Client)
- func (o *PostPatchPanelModuleModelsParams) SetName(name *string)
- func (o *PostPatchPanelModuleModelsParams) SetNumberOfPorts(numberOfPorts *string)
- func (o *PostPatchPanelModuleModelsParams) SetNumberOfPortsInRow(numberOfPortsInRow *string)
- func (o *PostPatchPanelModuleModelsParams) SetPairedPorts(pairedPorts *string)
- func (o *PostPatchPanelModuleModelsParams) SetPatchPanelModuleModelID(patchPanelModuleModelID *string)
- func (o *PostPatchPanelModuleModelsParams) SetPortType(portType *string)
- func (o *PostPatchPanelModuleModelsParams) SetTimeout(timeout time.Duration)
- func (o *PostPatchPanelModuleModelsParams) WithContext(ctx context.Context) *PostPatchPanelModuleModelsParams
- func (o *PostPatchPanelModuleModelsParams) WithHTTPClient(client *http.Client) *PostPatchPanelModuleModelsParams
- func (o *PostPatchPanelModuleModelsParams) WithName(name *string) *PostPatchPanelModuleModelsParams
- func (o *PostPatchPanelModuleModelsParams) WithNumberOfPorts(numberOfPorts *string) *PostPatchPanelModuleModelsParams
- func (o *PostPatchPanelModuleModelsParams) WithNumberOfPortsInRow(numberOfPortsInRow *string) *PostPatchPanelModuleModelsParams
- func (o *PostPatchPanelModuleModelsParams) WithPairedPorts(pairedPorts *string) *PostPatchPanelModuleModelsParams
- func (o *PostPatchPanelModuleModelsParams) WithPatchPanelModuleModelID(patchPanelModuleModelID *string) *PostPatchPanelModuleModelsParams
- func (o *PostPatchPanelModuleModelsParams) WithPortType(portType *string) *PostPatchPanelModuleModelsParams
- func (o *PostPatchPanelModuleModelsParams) WithTimeout(timeout time.Duration) *PostPatchPanelModuleModelsParams
- func (o *PostPatchPanelModuleModelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPatchPanelModuleModelsReader
- type PostPatchPanelModuleModelsServiceUnavailable
- type PostPatchPanelModuleModelsUnauthorized
- type PostPatchPanelPortsPatchPanelIDBadRequest
- type PostPatchPanelPortsPatchPanelIDForbidden
- type PostPatchPanelPortsPatchPanelIDGone
- type PostPatchPanelPortsPatchPanelIDInternalServerError
- type PostPatchPanelPortsPatchPanelIDMethodNotAllowed
- type PostPatchPanelPortsPatchPanelIDNotFound
- type PostPatchPanelPortsPatchPanelIDOK
- type PostPatchPanelPortsPatchPanelIDOKBodyItems0
- type PostPatchPanelPortsPatchPanelIDParams
- func NewPostPatchPanelPortsPatchPanelIDParams() *PostPatchPanelPortsPatchPanelIDParams
- func NewPostPatchPanelPortsPatchPanelIDParamsWithContext(ctx context.Context) *PostPatchPanelPortsPatchPanelIDParams
- func NewPostPatchPanelPortsPatchPanelIDParamsWithHTTPClient(client *http.Client) *PostPatchPanelPortsPatchPanelIDParams
- func NewPostPatchPanelPortsPatchPanelIDParamsWithTimeout(timeout time.Duration) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetBackConnectionID(backConnectionID *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetBackPatchPanel(backPatchPanel *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetBackPatchPanelID(backPatchPanelID *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetBackPort(backPort *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetBackSwitch(backSwitch *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetBackSwitchport(backSwitchport *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetBackSwitchportID(backSwitchportID *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetCableType(cableType *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetClearBack(clearBack *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetClearFront(clearFront *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetContext(ctx context.Context)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetFrontPatchPanel(frontPatchPanel *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetFrontPatchPanelID(frontPatchPanelID *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetFrontPort(frontPort *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetHTTPClient(client *http.Client)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetLabel(label *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetMacAddress(macAddress *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetMacID(macID *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetModuleSlot(moduleSlot *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetNumber(number string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetObjLabel1(objLabel1 *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetObjLabel2(objLabel2 *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetPatchPanel(patchPanel *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetPatchPanelID(patchPanelID *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetPatchPanelPortID(patchPanelPortID *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetSwitch(switchVar *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetSwitchport(switchport *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetSwitchportID(switchportID *string)
- func (o *PostPatchPanelPortsPatchPanelIDParams) SetTimeout(timeout time.Duration)
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithBackConnectionID(backConnectionID *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithBackPatchPanel(backPatchPanel *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithBackPatchPanelID(backPatchPanelID *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithBackPort(backPort *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithBackSwitch(backSwitch *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithBackSwitchport(backSwitchport *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithBackSwitchportID(backSwitchportID *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithCableType(cableType *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithClearBack(clearBack *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithClearFront(clearFront *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithContext(ctx context.Context) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithFrontPatchPanel(frontPatchPanel *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithFrontPatchPanelID(frontPatchPanelID *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithFrontPort(frontPort *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithHTTPClient(client *http.Client) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithLabel(label *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithMacAddress(macAddress *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithMacID(macID *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithModuleSlot(moduleSlot *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithNumber(number string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithObjLabel1(objLabel1 *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithObjLabel2(objLabel2 *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithPatchPanel(patchPanel *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithPatchPanelID(patchPanelID *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithPatchPanelPortID(patchPanelPortID *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithSwitch(switchVar *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithSwitchport(switchport *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithSwitchportID(switchportID *string) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WithTimeout(timeout time.Duration) *PostPatchPanelPortsPatchPanelIDParams
- func (o *PostPatchPanelPortsPatchPanelIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPatchPanelPortsPatchPanelIDReader
- type PostPatchPanelPortsPatchPanelIDServiceUnavailable
- type PostPatchPanelPortsPatchPanelIDUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for patch panels API
func (*Client) GetPatchPanelID ¶
func (a *Client) GetPatchPanelID(params *GetPatchPanelIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetPatchPanelIDOK, error)
GetPatchPanelID gets patch panel details by ID
Retrieve detailed information about a specific Patch Panel by Patch Panel ID. This also includes end point connections.
func (*Client) GetPatchPanelModels ¶
func (a *Client) GetPatchPanelModels(params *GetPatchPanelModelsParams, authInfo runtime.ClientAuthInfoWriter) (*GetPatchPanelModelsOK, error)
GetPatchPanelModels retrieves all patch panel models
Get all Patch Panel Models
func (*Client) GetPatchPanelModuleModels ¶
func (a *Client) GetPatchPanelModuleModels(params *GetPatchPanelModuleModelsParams, authInfo runtime.ClientAuthInfoWriter) (*GetPatchPanelModuleModelsOK, error)
GetPatchPanelModuleModels retrieves all patch panel module models
Get all Patch Panel Module Models
func (*Client) GetPatchPanelPortsPatchPanelID ¶
func (a *Client) GetPatchPanelPortsPatchPanelID(params *GetPatchPanelPortsPatchPanelIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetPatchPanelPortsPatchPanelIDOK, error)
GetPatchPanelPortsPatchPanelID retrieves patch panel ports for specified patch panel
Get all Patch Panel Ports
func (*Client) PostPatchPanelModels ¶
func (a *Client) PostPatchPanelModels(params *PostPatchPanelModelsParams, authInfo runtime.ClientAuthInfoWriter) (*PostPatchPanelModelsOK, error)
PostPatchPanelModels creates patch panel model
Create/Update Patch Panel Model. Required parameters: <ul><li>patch_panel_model_id <b>OR</b> name</li>
func (*Client) PostPatchPanelModuleModels ¶
func (a *Client) PostPatchPanelModuleModels(params *PostPatchPanelModuleModelsParams, authInfo runtime.ClientAuthInfoWriter) (*PostPatchPanelModuleModelsOK, error)
PostPatchPanelModuleModels creates update patch panel module model
Create/Update Patch Panel Module Model. Required parameters: <ul><li>patch_panel_module_model_id <b>OR</b> name</li>
func (*Client) PostPatchPanelPortsPatchPanelID ¶
func (a *Client) PostPatchPanelPortsPatchPanelID(params *PostPatchPanelPortsPatchPanelIDParams, authInfo runtime.ClientAuthInfoWriter) (*PostPatchPanelPortsPatchPanelIDOK, error)
PostPatchPanelPortsPatchPanelID updates patch panel ports
Update Patch Panel Ports. Requires the following parameters: <ul><li>patch_panel_id <b>OR</b> patch_panel</li> <li>number</li>
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetPatchPanelID(params *GetPatchPanelIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetPatchPanelIDOK, error) GetPatchPanelModels(params *GetPatchPanelModelsParams, authInfo runtime.ClientAuthInfoWriter) (*GetPatchPanelModelsOK, error) GetPatchPanelModuleModels(params *GetPatchPanelModuleModelsParams, authInfo runtime.ClientAuthInfoWriter) (*GetPatchPanelModuleModelsOK, error) GetPatchPanelPortsPatchPanelID(params *GetPatchPanelPortsPatchPanelIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetPatchPanelPortsPatchPanelIDOK, error) PostPatchPanelModels(params *PostPatchPanelModelsParams, authInfo runtime.ClientAuthInfoWriter) (*PostPatchPanelModelsOK, error) PostPatchPanelModuleModels(params *PostPatchPanelModuleModelsParams, authInfo runtime.ClientAuthInfoWriter) (*PostPatchPanelModuleModelsOK, error) PostPatchPanelPortsPatchPanelID(params *PostPatchPanelPortsPatchPanelIDParams, authInfo runtime.ClientAuthInfoWriter) (*PostPatchPanelPortsPatchPanelIDOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new patch panels API client.
type GetPatchPanelIDBadRequest ¶
type GetPatchPanelIDBadRequest struct { }
GetPatchPanelIDBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewGetPatchPanelIDBadRequest ¶
func NewGetPatchPanelIDBadRequest() *GetPatchPanelIDBadRequest
NewGetPatchPanelIDBadRequest creates a GetPatchPanelIDBadRequest with default headers values
func (*GetPatchPanelIDBadRequest) Error ¶
func (o *GetPatchPanelIDBadRequest) Error() string
type GetPatchPanelIDForbidden ¶
type GetPatchPanelIDForbidden struct { }
GetPatchPanelIDForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewGetPatchPanelIDForbidden ¶
func NewGetPatchPanelIDForbidden() *GetPatchPanelIDForbidden
NewGetPatchPanelIDForbidden creates a GetPatchPanelIDForbidden with default headers values
func (*GetPatchPanelIDForbidden) Error ¶
func (o *GetPatchPanelIDForbidden) Error() string
type GetPatchPanelIDGone ¶
type GetPatchPanelIDGone struct { }
GetPatchPanelIDGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewGetPatchPanelIDGone ¶
func NewGetPatchPanelIDGone() *GetPatchPanelIDGone
NewGetPatchPanelIDGone creates a GetPatchPanelIDGone with default headers values
func (*GetPatchPanelIDGone) Error ¶
func (o *GetPatchPanelIDGone) Error() string
type GetPatchPanelIDInternalServerError ¶
type GetPatchPanelIDInternalServerError struct { }
GetPatchPanelIDInternalServerError handles this case with default header values.
Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)
func NewGetPatchPanelIDInternalServerError ¶
func NewGetPatchPanelIDInternalServerError() *GetPatchPanelIDInternalServerError
NewGetPatchPanelIDInternalServerError creates a GetPatchPanelIDInternalServerError with default headers values
func (*GetPatchPanelIDInternalServerError) Error ¶
func (o *GetPatchPanelIDInternalServerError) Error() string
type GetPatchPanelIDMethodNotAllowed ¶
type GetPatchPanelIDMethodNotAllowed struct { }
GetPatchPanelIDMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewGetPatchPanelIDMethodNotAllowed ¶
func NewGetPatchPanelIDMethodNotAllowed() *GetPatchPanelIDMethodNotAllowed
NewGetPatchPanelIDMethodNotAllowed creates a GetPatchPanelIDMethodNotAllowed with default headers values
func (*GetPatchPanelIDMethodNotAllowed) Error ¶
func (o *GetPatchPanelIDMethodNotAllowed) Error() string
type GetPatchPanelIDNotFound ¶
type GetPatchPanelIDNotFound struct { }
GetPatchPanelIDNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewGetPatchPanelIDNotFound ¶
func NewGetPatchPanelIDNotFound() *GetPatchPanelIDNotFound
NewGetPatchPanelIDNotFound creates a GetPatchPanelIDNotFound with default headers values
func (*GetPatchPanelIDNotFound) Error ¶
func (o *GetPatchPanelIDNotFound) Error() string
type GetPatchPanelIDOK ¶
type GetPatchPanelIDOK struct {
Payload *models.PatchPanel
}
GetPatchPanelIDOK handles this case with default header values.
The above command returns results like this:
func NewGetPatchPanelIDOK ¶
func NewGetPatchPanelIDOK() *GetPatchPanelIDOK
NewGetPatchPanelIDOK creates a GetPatchPanelIDOK with default headers values
func (*GetPatchPanelIDOK) Error ¶
func (o *GetPatchPanelIDOK) Error() string
func (*GetPatchPanelIDOK) GetPayload ¶
func (o *GetPatchPanelIDOK) GetPayload() *models.PatchPanel
type GetPatchPanelIDParams ¶
type GetPatchPanelIDParams struct { /*ID The ID of the Patch Panel to retrieve */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPatchPanelIDParams contains all the parameters to send to the API endpoint for the get patch panel ID operation typically these are written to a http.Request
func NewGetPatchPanelIDParams ¶
func NewGetPatchPanelIDParams() *GetPatchPanelIDParams
NewGetPatchPanelIDParams creates a new GetPatchPanelIDParams object with the default values initialized.
func NewGetPatchPanelIDParamsWithContext ¶
func NewGetPatchPanelIDParamsWithContext(ctx context.Context) *GetPatchPanelIDParams
NewGetPatchPanelIDParamsWithContext creates a new GetPatchPanelIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetPatchPanelIDParamsWithHTTPClient ¶
func NewGetPatchPanelIDParamsWithHTTPClient(client *http.Client) *GetPatchPanelIDParams
NewGetPatchPanelIDParamsWithHTTPClient creates a new GetPatchPanelIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPatchPanelIDParamsWithTimeout ¶
func NewGetPatchPanelIDParamsWithTimeout(timeout time.Duration) *GetPatchPanelIDParams
NewGetPatchPanelIDParamsWithTimeout creates a new GetPatchPanelIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPatchPanelIDParams) SetContext ¶
func (o *GetPatchPanelIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get patch panel ID params
func (*GetPatchPanelIDParams) SetHTTPClient ¶
func (o *GetPatchPanelIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get patch panel ID params
func (*GetPatchPanelIDParams) SetID ¶
func (o *GetPatchPanelIDParams) SetID(id int64)
SetID adds the id to the get patch panel ID params
func (*GetPatchPanelIDParams) SetTimeout ¶
func (o *GetPatchPanelIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get patch panel ID params
func (*GetPatchPanelIDParams) WithContext ¶
func (o *GetPatchPanelIDParams) WithContext(ctx context.Context) *GetPatchPanelIDParams
WithContext adds the context to the get patch panel ID params
func (*GetPatchPanelIDParams) WithHTTPClient ¶
func (o *GetPatchPanelIDParams) WithHTTPClient(client *http.Client) *GetPatchPanelIDParams
WithHTTPClient adds the HTTPClient to the get patch panel ID params
func (*GetPatchPanelIDParams) WithID ¶
func (o *GetPatchPanelIDParams) WithID(id int64) *GetPatchPanelIDParams
WithID adds the id to the get patch panel ID params
func (*GetPatchPanelIDParams) WithTimeout ¶
func (o *GetPatchPanelIDParams) WithTimeout(timeout time.Duration) *GetPatchPanelIDParams
WithTimeout adds the timeout to the get patch panel ID params
func (*GetPatchPanelIDParams) WriteToRequest ¶
func (o *GetPatchPanelIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPatchPanelIDReader ¶
type GetPatchPanelIDReader struct {
// contains filtered or unexported fields
}
GetPatchPanelIDReader is a Reader for the GetPatchPanelID structure.
func (*GetPatchPanelIDReader) ReadResponse ¶
func (o *GetPatchPanelIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPatchPanelIDServiceUnavailable ¶
type GetPatchPanelIDServiceUnavailable struct { }
GetPatchPanelIDServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewGetPatchPanelIDServiceUnavailable ¶
func NewGetPatchPanelIDServiceUnavailable() *GetPatchPanelIDServiceUnavailable
NewGetPatchPanelIDServiceUnavailable creates a GetPatchPanelIDServiceUnavailable with default headers values
func (*GetPatchPanelIDServiceUnavailable) Error ¶
func (o *GetPatchPanelIDServiceUnavailable) Error() string
type GetPatchPanelIDUnauthorized ¶
type GetPatchPanelIDUnauthorized struct { }
GetPatchPanelIDUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewGetPatchPanelIDUnauthorized ¶
func NewGetPatchPanelIDUnauthorized() *GetPatchPanelIDUnauthorized
NewGetPatchPanelIDUnauthorized creates a GetPatchPanelIDUnauthorized with default headers values
func (*GetPatchPanelIDUnauthorized) Error ¶
func (o *GetPatchPanelIDUnauthorized) Error() string
type GetPatchPanelModelsBadRequest ¶
type GetPatchPanelModelsBadRequest struct { }
GetPatchPanelModelsBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewGetPatchPanelModelsBadRequest ¶
func NewGetPatchPanelModelsBadRequest() *GetPatchPanelModelsBadRequest
NewGetPatchPanelModelsBadRequest creates a GetPatchPanelModelsBadRequest with default headers values
func (*GetPatchPanelModelsBadRequest) Error ¶
func (o *GetPatchPanelModelsBadRequest) Error() string
type GetPatchPanelModelsForbidden ¶
type GetPatchPanelModelsForbidden struct { }
GetPatchPanelModelsForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewGetPatchPanelModelsForbidden ¶
func NewGetPatchPanelModelsForbidden() *GetPatchPanelModelsForbidden
NewGetPatchPanelModelsForbidden creates a GetPatchPanelModelsForbidden with default headers values
func (*GetPatchPanelModelsForbidden) Error ¶
func (o *GetPatchPanelModelsForbidden) Error() string
type GetPatchPanelModelsGone ¶
type GetPatchPanelModelsGone struct { }
GetPatchPanelModelsGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewGetPatchPanelModelsGone ¶
func NewGetPatchPanelModelsGone() *GetPatchPanelModelsGone
NewGetPatchPanelModelsGone creates a GetPatchPanelModelsGone with default headers values
func (*GetPatchPanelModelsGone) Error ¶
func (o *GetPatchPanelModelsGone) Error() string
type GetPatchPanelModelsInternalServerError ¶
type GetPatchPanelModelsInternalServerError struct { }
GetPatchPanelModelsInternalServerError handles this case with default header values.
Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)
func NewGetPatchPanelModelsInternalServerError ¶
func NewGetPatchPanelModelsInternalServerError() *GetPatchPanelModelsInternalServerError
NewGetPatchPanelModelsInternalServerError creates a GetPatchPanelModelsInternalServerError with default headers values
func (*GetPatchPanelModelsInternalServerError) Error ¶
func (o *GetPatchPanelModelsInternalServerError) Error() string
type GetPatchPanelModelsMethodNotAllowed ¶
type GetPatchPanelModelsMethodNotAllowed struct { }
GetPatchPanelModelsMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewGetPatchPanelModelsMethodNotAllowed ¶
func NewGetPatchPanelModelsMethodNotAllowed() *GetPatchPanelModelsMethodNotAllowed
NewGetPatchPanelModelsMethodNotAllowed creates a GetPatchPanelModelsMethodNotAllowed with default headers values
func (*GetPatchPanelModelsMethodNotAllowed) Error ¶
func (o *GetPatchPanelModelsMethodNotAllowed) Error() string
type GetPatchPanelModelsNotFound ¶
type GetPatchPanelModelsNotFound struct { }
GetPatchPanelModelsNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewGetPatchPanelModelsNotFound ¶
func NewGetPatchPanelModelsNotFound() *GetPatchPanelModelsNotFound
NewGetPatchPanelModelsNotFound creates a GetPatchPanelModelsNotFound with default headers values
func (*GetPatchPanelModelsNotFound) Error ¶
func (o *GetPatchPanelModelsNotFound) Error() string
type GetPatchPanelModelsOK ¶
type GetPatchPanelModelsOK struct {
Payload []*GetPatchPanelModelsOKBodyItems0
}
GetPatchPanelModelsOK handles this case with default header values.
The above command returns results like this:
func NewGetPatchPanelModelsOK ¶
func NewGetPatchPanelModelsOK() *GetPatchPanelModelsOK
NewGetPatchPanelModelsOK creates a GetPatchPanelModelsOK with default headers values
func (*GetPatchPanelModelsOK) Error ¶
func (o *GetPatchPanelModelsOK) Error() string
func (*GetPatchPanelModelsOK) GetPayload ¶
func (o *GetPatchPanelModelsOK) GetPayload() []*GetPatchPanelModelsOKBodyItems0
type GetPatchPanelModelsOKBodyItems0 ¶
type GetPatchPanelModelsOKBodyItems0 struct { // module position ModulePosition interface{} `json:"module_position,omitempty"` // name Name interface{} `json:"name,omitempty"` // numbering direction NumberingDirection interface{} `json:"numbering_direction,omitempty"` // numbering start location NumberingStartLocation interface{} `json:"numbering_start_location,omitempty"` // patch panel model id PatchPanelModelID interface{} `json:"patch_panel_model_id,omitempty"` // type Type interface{} `json:"type,omitempty"` // type id TypeID interface{} `json:"type_id,omitempty"` }
GetPatchPanelModelsOKBodyItems0 get patch panel models o k body items0 swagger:model GetPatchPanelModelsOKBodyItems0
func (*GetPatchPanelModelsOKBodyItems0) MarshalBinary ¶
func (o *GetPatchPanelModelsOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPatchPanelModelsOKBodyItems0) UnmarshalBinary ¶
func (o *GetPatchPanelModelsOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPatchPanelModelsParams ¶
type GetPatchPanelModelsParams struct { /*Name filter by name */ Name *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPatchPanelModelsParams contains all the parameters to send to the API endpoint for the get patch panel models operation typically these are written to a http.Request
func NewGetPatchPanelModelsParams ¶
func NewGetPatchPanelModelsParams() *GetPatchPanelModelsParams
NewGetPatchPanelModelsParams creates a new GetPatchPanelModelsParams object with the default values initialized.
func NewGetPatchPanelModelsParamsWithContext ¶
func NewGetPatchPanelModelsParamsWithContext(ctx context.Context) *GetPatchPanelModelsParams
NewGetPatchPanelModelsParamsWithContext creates a new GetPatchPanelModelsParams object with the default values initialized, and the ability to set a context for a request
func NewGetPatchPanelModelsParamsWithHTTPClient ¶
func NewGetPatchPanelModelsParamsWithHTTPClient(client *http.Client) *GetPatchPanelModelsParams
NewGetPatchPanelModelsParamsWithHTTPClient creates a new GetPatchPanelModelsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPatchPanelModelsParamsWithTimeout ¶
func NewGetPatchPanelModelsParamsWithTimeout(timeout time.Duration) *GetPatchPanelModelsParams
NewGetPatchPanelModelsParamsWithTimeout creates a new GetPatchPanelModelsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPatchPanelModelsParams) SetContext ¶
func (o *GetPatchPanelModelsParams) SetContext(ctx context.Context)
SetContext adds the context to the get patch panel models params
func (*GetPatchPanelModelsParams) SetHTTPClient ¶
func (o *GetPatchPanelModelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get patch panel models params
func (*GetPatchPanelModelsParams) SetName ¶
func (o *GetPatchPanelModelsParams) SetName(name *string)
SetName adds the name to the get patch panel models params
func (*GetPatchPanelModelsParams) SetTimeout ¶
func (o *GetPatchPanelModelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get patch panel models params
func (*GetPatchPanelModelsParams) WithContext ¶
func (o *GetPatchPanelModelsParams) WithContext(ctx context.Context) *GetPatchPanelModelsParams
WithContext adds the context to the get patch panel models params
func (*GetPatchPanelModelsParams) WithHTTPClient ¶
func (o *GetPatchPanelModelsParams) WithHTTPClient(client *http.Client) *GetPatchPanelModelsParams
WithHTTPClient adds the HTTPClient to the get patch panel models params
func (*GetPatchPanelModelsParams) WithName ¶
func (o *GetPatchPanelModelsParams) WithName(name *string) *GetPatchPanelModelsParams
WithName adds the name to the get patch panel models params
func (*GetPatchPanelModelsParams) WithTimeout ¶
func (o *GetPatchPanelModelsParams) WithTimeout(timeout time.Duration) *GetPatchPanelModelsParams
WithTimeout adds the timeout to the get patch panel models params
func (*GetPatchPanelModelsParams) WriteToRequest ¶
func (o *GetPatchPanelModelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPatchPanelModelsReader ¶
type GetPatchPanelModelsReader struct {
// contains filtered or unexported fields
}
GetPatchPanelModelsReader is a Reader for the GetPatchPanelModels structure.
func (*GetPatchPanelModelsReader) ReadResponse ¶
func (o *GetPatchPanelModelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPatchPanelModelsServiceUnavailable ¶
type GetPatchPanelModelsServiceUnavailable struct { }
GetPatchPanelModelsServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewGetPatchPanelModelsServiceUnavailable ¶
func NewGetPatchPanelModelsServiceUnavailable() *GetPatchPanelModelsServiceUnavailable
NewGetPatchPanelModelsServiceUnavailable creates a GetPatchPanelModelsServiceUnavailable with default headers values
func (*GetPatchPanelModelsServiceUnavailable) Error ¶
func (o *GetPatchPanelModelsServiceUnavailable) Error() string
type GetPatchPanelModelsUnauthorized ¶
type GetPatchPanelModelsUnauthorized struct { }
GetPatchPanelModelsUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewGetPatchPanelModelsUnauthorized ¶
func NewGetPatchPanelModelsUnauthorized() *GetPatchPanelModelsUnauthorized
NewGetPatchPanelModelsUnauthorized creates a GetPatchPanelModelsUnauthorized with default headers values
func (*GetPatchPanelModelsUnauthorized) Error ¶
func (o *GetPatchPanelModelsUnauthorized) Error() string
type GetPatchPanelModuleModelsBadRequest ¶
type GetPatchPanelModuleModelsBadRequest struct { }
GetPatchPanelModuleModelsBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewGetPatchPanelModuleModelsBadRequest ¶
func NewGetPatchPanelModuleModelsBadRequest() *GetPatchPanelModuleModelsBadRequest
NewGetPatchPanelModuleModelsBadRequest creates a GetPatchPanelModuleModelsBadRequest with default headers values
func (*GetPatchPanelModuleModelsBadRequest) Error ¶
func (o *GetPatchPanelModuleModelsBadRequest) Error() string
type GetPatchPanelModuleModelsForbidden ¶
type GetPatchPanelModuleModelsForbidden struct { }
GetPatchPanelModuleModelsForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewGetPatchPanelModuleModelsForbidden ¶
func NewGetPatchPanelModuleModelsForbidden() *GetPatchPanelModuleModelsForbidden
NewGetPatchPanelModuleModelsForbidden creates a GetPatchPanelModuleModelsForbidden with default headers values
func (*GetPatchPanelModuleModelsForbidden) Error ¶
func (o *GetPatchPanelModuleModelsForbidden) Error() string
type GetPatchPanelModuleModelsGone ¶
type GetPatchPanelModuleModelsGone struct { }
GetPatchPanelModuleModelsGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewGetPatchPanelModuleModelsGone ¶
func NewGetPatchPanelModuleModelsGone() *GetPatchPanelModuleModelsGone
NewGetPatchPanelModuleModelsGone creates a GetPatchPanelModuleModelsGone with default headers values
func (*GetPatchPanelModuleModelsGone) Error ¶
func (o *GetPatchPanelModuleModelsGone) Error() string
type GetPatchPanelModuleModelsInternalServerError ¶
type GetPatchPanelModuleModelsInternalServerError struct { }
GetPatchPanelModuleModelsInternalServerError handles this case with default header values.
Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)
func NewGetPatchPanelModuleModelsInternalServerError ¶
func NewGetPatchPanelModuleModelsInternalServerError() *GetPatchPanelModuleModelsInternalServerError
NewGetPatchPanelModuleModelsInternalServerError creates a GetPatchPanelModuleModelsInternalServerError with default headers values
func (*GetPatchPanelModuleModelsInternalServerError) Error ¶
func (o *GetPatchPanelModuleModelsInternalServerError) Error() string
type GetPatchPanelModuleModelsMethodNotAllowed ¶
type GetPatchPanelModuleModelsMethodNotAllowed struct { }
GetPatchPanelModuleModelsMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewGetPatchPanelModuleModelsMethodNotAllowed ¶
func NewGetPatchPanelModuleModelsMethodNotAllowed() *GetPatchPanelModuleModelsMethodNotAllowed
NewGetPatchPanelModuleModelsMethodNotAllowed creates a GetPatchPanelModuleModelsMethodNotAllowed with default headers values
func (*GetPatchPanelModuleModelsMethodNotAllowed) Error ¶
func (o *GetPatchPanelModuleModelsMethodNotAllowed) Error() string
type GetPatchPanelModuleModelsNotFound ¶
type GetPatchPanelModuleModelsNotFound struct { }
GetPatchPanelModuleModelsNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewGetPatchPanelModuleModelsNotFound ¶
func NewGetPatchPanelModuleModelsNotFound() *GetPatchPanelModuleModelsNotFound
NewGetPatchPanelModuleModelsNotFound creates a GetPatchPanelModuleModelsNotFound with default headers values
func (*GetPatchPanelModuleModelsNotFound) Error ¶
func (o *GetPatchPanelModuleModelsNotFound) Error() string
type GetPatchPanelModuleModelsOK ¶
type GetPatchPanelModuleModelsOK struct {
Payload []*GetPatchPanelModuleModelsOKBodyItems0
}
GetPatchPanelModuleModelsOK handles this case with default header values.
The above command returns results like this:
func NewGetPatchPanelModuleModelsOK ¶
func NewGetPatchPanelModuleModelsOK() *GetPatchPanelModuleModelsOK
NewGetPatchPanelModuleModelsOK creates a GetPatchPanelModuleModelsOK with default headers values
func (*GetPatchPanelModuleModelsOK) Error ¶
func (o *GetPatchPanelModuleModelsOK) Error() string
func (*GetPatchPanelModuleModelsOK) GetPayload ¶
func (o *GetPatchPanelModuleModelsOK) GetPayload() []*GetPatchPanelModuleModelsOKBodyItems0
type GetPatchPanelModuleModelsOKBodyItems0 ¶
type GetPatchPanelModuleModelsOKBodyItems0 struct { // name Name interface{} `json:"name,omitempty"` // number of ports NumberOfPorts interface{} `json:"number_of_ports,omitempty"` // number of ports in row NumberOfPortsInRow interface{} `json:"number_of_ports_in_row,omitempty"` // patch panel module model id PatchPanelModuleModelID interface{} `json:"patch_panel_module_model_id,omitempty"` // port type PortType interface{} `json:"port_type,omitempty"` }
GetPatchPanelModuleModelsOKBodyItems0 get patch panel module models o k body items0 swagger:model GetPatchPanelModuleModelsOKBodyItems0
func (*GetPatchPanelModuleModelsOKBodyItems0) MarshalBinary ¶
func (o *GetPatchPanelModuleModelsOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPatchPanelModuleModelsOKBodyItems0) UnmarshalBinary ¶
func (o *GetPatchPanelModuleModelsOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPatchPanelModuleModelsParams ¶
type GetPatchPanelModuleModelsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPatchPanelModuleModelsParams contains all the parameters to send to the API endpoint for the get patch panel module models operation typically these are written to a http.Request
func NewGetPatchPanelModuleModelsParams ¶
func NewGetPatchPanelModuleModelsParams() *GetPatchPanelModuleModelsParams
NewGetPatchPanelModuleModelsParams creates a new GetPatchPanelModuleModelsParams object with the default values initialized.
func NewGetPatchPanelModuleModelsParamsWithContext ¶
func NewGetPatchPanelModuleModelsParamsWithContext(ctx context.Context) *GetPatchPanelModuleModelsParams
NewGetPatchPanelModuleModelsParamsWithContext creates a new GetPatchPanelModuleModelsParams object with the default values initialized, and the ability to set a context for a request
func NewGetPatchPanelModuleModelsParamsWithHTTPClient ¶
func NewGetPatchPanelModuleModelsParamsWithHTTPClient(client *http.Client) *GetPatchPanelModuleModelsParams
NewGetPatchPanelModuleModelsParamsWithHTTPClient creates a new GetPatchPanelModuleModelsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPatchPanelModuleModelsParamsWithTimeout ¶
func NewGetPatchPanelModuleModelsParamsWithTimeout(timeout time.Duration) *GetPatchPanelModuleModelsParams
NewGetPatchPanelModuleModelsParamsWithTimeout creates a new GetPatchPanelModuleModelsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPatchPanelModuleModelsParams) SetContext ¶
func (o *GetPatchPanelModuleModelsParams) SetContext(ctx context.Context)
SetContext adds the context to the get patch panel module models params
func (*GetPatchPanelModuleModelsParams) SetHTTPClient ¶
func (o *GetPatchPanelModuleModelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get patch panel module models params
func (*GetPatchPanelModuleModelsParams) SetTimeout ¶
func (o *GetPatchPanelModuleModelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get patch panel module models params
func (*GetPatchPanelModuleModelsParams) WithContext ¶
func (o *GetPatchPanelModuleModelsParams) WithContext(ctx context.Context) *GetPatchPanelModuleModelsParams
WithContext adds the context to the get patch panel module models params
func (*GetPatchPanelModuleModelsParams) WithHTTPClient ¶
func (o *GetPatchPanelModuleModelsParams) WithHTTPClient(client *http.Client) *GetPatchPanelModuleModelsParams
WithHTTPClient adds the HTTPClient to the get patch panel module models params
func (*GetPatchPanelModuleModelsParams) WithTimeout ¶
func (o *GetPatchPanelModuleModelsParams) WithTimeout(timeout time.Duration) *GetPatchPanelModuleModelsParams
WithTimeout adds the timeout to the get patch panel module models params
func (*GetPatchPanelModuleModelsParams) WriteToRequest ¶
func (o *GetPatchPanelModuleModelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPatchPanelModuleModelsReader ¶
type GetPatchPanelModuleModelsReader struct {
// contains filtered or unexported fields
}
GetPatchPanelModuleModelsReader is a Reader for the GetPatchPanelModuleModels structure.
func (*GetPatchPanelModuleModelsReader) ReadResponse ¶
func (o *GetPatchPanelModuleModelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPatchPanelModuleModelsServiceUnavailable ¶
type GetPatchPanelModuleModelsServiceUnavailable struct { }
GetPatchPanelModuleModelsServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewGetPatchPanelModuleModelsServiceUnavailable ¶
func NewGetPatchPanelModuleModelsServiceUnavailable() *GetPatchPanelModuleModelsServiceUnavailable
NewGetPatchPanelModuleModelsServiceUnavailable creates a GetPatchPanelModuleModelsServiceUnavailable with default headers values
func (*GetPatchPanelModuleModelsServiceUnavailable) Error ¶
func (o *GetPatchPanelModuleModelsServiceUnavailable) Error() string
type GetPatchPanelModuleModelsUnauthorized ¶
type GetPatchPanelModuleModelsUnauthorized struct { }
GetPatchPanelModuleModelsUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewGetPatchPanelModuleModelsUnauthorized ¶
func NewGetPatchPanelModuleModelsUnauthorized() *GetPatchPanelModuleModelsUnauthorized
NewGetPatchPanelModuleModelsUnauthorized creates a GetPatchPanelModuleModelsUnauthorized with default headers values
func (*GetPatchPanelModuleModelsUnauthorized) Error ¶
func (o *GetPatchPanelModuleModelsUnauthorized) Error() string
type GetPatchPanelPortsPatchPanelIDBadRequest ¶
type GetPatchPanelPortsPatchPanelIDBadRequest struct { }
GetPatchPanelPortsPatchPanelIDBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewGetPatchPanelPortsPatchPanelIDBadRequest ¶
func NewGetPatchPanelPortsPatchPanelIDBadRequest() *GetPatchPanelPortsPatchPanelIDBadRequest
NewGetPatchPanelPortsPatchPanelIDBadRequest creates a GetPatchPanelPortsPatchPanelIDBadRequest with default headers values
func (*GetPatchPanelPortsPatchPanelIDBadRequest) Error ¶
func (o *GetPatchPanelPortsPatchPanelIDBadRequest) Error() string
type GetPatchPanelPortsPatchPanelIDForbidden ¶
type GetPatchPanelPortsPatchPanelIDForbidden struct { }
GetPatchPanelPortsPatchPanelIDForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewGetPatchPanelPortsPatchPanelIDForbidden ¶
func NewGetPatchPanelPortsPatchPanelIDForbidden() *GetPatchPanelPortsPatchPanelIDForbidden
NewGetPatchPanelPortsPatchPanelIDForbidden creates a GetPatchPanelPortsPatchPanelIDForbidden with default headers values
func (*GetPatchPanelPortsPatchPanelIDForbidden) Error ¶
func (o *GetPatchPanelPortsPatchPanelIDForbidden) Error() string
type GetPatchPanelPortsPatchPanelIDGone ¶
type GetPatchPanelPortsPatchPanelIDGone struct { }
GetPatchPanelPortsPatchPanelIDGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewGetPatchPanelPortsPatchPanelIDGone ¶
func NewGetPatchPanelPortsPatchPanelIDGone() *GetPatchPanelPortsPatchPanelIDGone
NewGetPatchPanelPortsPatchPanelIDGone creates a GetPatchPanelPortsPatchPanelIDGone with default headers values
func (*GetPatchPanelPortsPatchPanelIDGone) Error ¶
func (o *GetPatchPanelPortsPatchPanelIDGone) Error() string
type GetPatchPanelPortsPatchPanelIDInternalServerError ¶
type GetPatchPanelPortsPatchPanelIDInternalServerError struct { }
GetPatchPanelPortsPatchPanelIDInternalServerError handles this case with default header values.
Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)
func NewGetPatchPanelPortsPatchPanelIDInternalServerError ¶
func NewGetPatchPanelPortsPatchPanelIDInternalServerError() *GetPatchPanelPortsPatchPanelIDInternalServerError
NewGetPatchPanelPortsPatchPanelIDInternalServerError creates a GetPatchPanelPortsPatchPanelIDInternalServerError with default headers values
func (*GetPatchPanelPortsPatchPanelIDInternalServerError) Error ¶
func (o *GetPatchPanelPortsPatchPanelIDInternalServerError) Error() string
type GetPatchPanelPortsPatchPanelIDMethodNotAllowed ¶
type GetPatchPanelPortsPatchPanelIDMethodNotAllowed struct { }
GetPatchPanelPortsPatchPanelIDMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewGetPatchPanelPortsPatchPanelIDMethodNotAllowed ¶
func NewGetPatchPanelPortsPatchPanelIDMethodNotAllowed() *GetPatchPanelPortsPatchPanelIDMethodNotAllowed
NewGetPatchPanelPortsPatchPanelIDMethodNotAllowed creates a GetPatchPanelPortsPatchPanelIDMethodNotAllowed with default headers values
func (*GetPatchPanelPortsPatchPanelIDMethodNotAllowed) Error ¶
func (o *GetPatchPanelPortsPatchPanelIDMethodNotAllowed) Error() string
type GetPatchPanelPortsPatchPanelIDNotFound ¶
type GetPatchPanelPortsPatchPanelIDNotFound struct { }
GetPatchPanelPortsPatchPanelIDNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewGetPatchPanelPortsPatchPanelIDNotFound ¶
func NewGetPatchPanelPortsPatchPanelIDNotFound() *GetPatchPanelPortsPatchPanelIDNotFound
NewGetPatchPanelPortsPatchPanelIDNotFound creates a GetPatchPanelPortsPatchPanelIDNotFound with default headers values
func (*GetPatchPanelPortsPatchPanelIDNotFound) Error ¶
func (o *GetPatchPanelPortsPatchPanelIDNotFound) Error() string
type GetPatchPanelPortsPatchPanelIDOK ¶
type GetPatchPanelPortsPatchPanelIDOK struct {
Payload []*GetPatchPanelPortsPatchPanelIDOKBodyItems0
}
GetPatchPanelPortsPatchPanelIDOK handles this case with default header values.
The above command returns results like this:
func NewGetPatchPanelPortsPatchPanelIDOK ¶
func NewGetPatchPanelPortsPatchPanelIDOK() *GetPatchPanelPortsPatchPanelIDOK
NewGetPatchPanelPortsPatchPanelIDOK creates a GetPatchPanelPortsPatchPanelIDOK with default headers values
func (*GetPatchPanelPortsPatchPanelIDOK) Error ¶
func (o *GetPatchPanelPortsPatchPanelIDOK) Error() string
func (*GetPatchPanelPortsPatchPanelIDOK) GetPayload ¶
func (o *GetPatchPanelPortsPatchPanelIDOK) GetPayload() []*GetPatchPanelPortsPatchPanelIDOKBodyItems0
type GetPatchPanelPortsPatchPanelIDOKBodyItems0 ¶
type GetPatchPanelPortsPatchPanelIDOKBodyItems0 struct { // name Name interface{} `json:"name,omitempty"` // ppport id PpportID interface{} `json:"ppport_id,omitempty"` }
GetPatchPanelPortsPatchPanelIDOKBodyItems0 get patch panel ports patch panel ID o k body items0 swagger:model GetPatchPanelPortsPatchPanelIDOKBodyItems0
func (*GetPatchPanelPortsPatchPanelIDOKBodyItems0) MarshalBinary ¶
func (o *GetPatchPanelPortsPatchPanelIDOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPatchPanelPortsPatchPanelIDOKBodyItems0) UnmarshalBinary ¶
func (o *GetPatchPanelPortsPatchPanelIDOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPatchPanelPortsPatchPanelIDParams ¶
type GetPatchPanelPortsPatchPanelIDParams struct { /*PatchPanelID Patch panel id */ PatchPanelID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPatchPanelPortsPatchPanelIDParams contains all the parameters to send to the API endpoint for the get patch panel ports patch panel id operation typically these are written to a http.Request
func NewGetPatchPanelPortsPatchPanelIDParams ¶
func NewGetPatchPanelPortsPatchPanelIDParams() *GetPatchPanelPortsPatchPanelIDParams
NewGetPatchPanelPortsPatchPanelIDParams creates a new GetPatchPanelPortsPatchPanelIDParams object with the default values initialized.
func NewGetPatchPanelPortsPatchPanelIDParamsWithContext ¶
func NewGetPatchPanelPortsPatchPanelIDParamsWithContext(ctx context.Context) *GetPatchPanelPortsPatchPanelIDParams
NewGetPatchPanelPortsPatchPanelIDParamsWithContext creates a new GetPatchPanelPortsPatchPanelIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetPatchPanelPortsPatchPanelIDParamsWithHTTPClient ¶
func NewGetPatchPanelPortsPatchPanelIDParamsWithHTTPClient(client *http.Client) *GetPatchPanelPortsPatchPanelIDParams
NewGetPatchPanelPortsPatchPanelIDParamsWithHTTPClient creates a new GetPatchPanelPortsPatchPanelIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPatchPanelPortsPatchPanelIDParamsWithTimeout ¶
func NewGetPatchPanelPortsPatchPanelIDParamsWithTimeout(timeout time.Duration) *GetPatchPanelPortsPatchPanelIDParams
NewGetPatchPanelPortsPatchPanelIDParamsWithTimeout creates a new GetPatchPanelPortsPatchPanelIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPatchPanelPortsPatchPanelIDParams) SetContext ¶
func (o *GetPatchPanelPortsPatchPanelIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get patch panel ports patch panel id params
func (*GetPatchPanelPortsPatchPanelIDParams) SetHTTPClient ¶
func (o *GetPatchPanelPortsPatchPanelIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get patch panel ports patch panel id params
func (*GetPatchPanelPortsPatchPanelIDParams) SetPatchPanelID ¶
func (o *GetPatchPanelPortsPatchPanelIDParams) SetPatchPanelID(patchPanelID int64)
SetPatchPanelID adds the patchPanelId to the get patch panel ports patch panel id params
func (*GetPatchPanelPortsPatchPanelIDParams) SetTimeout ¶
func (o *GetPatchPanelPortsPatchPanelIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get patch panel ports patch panel id params
func (*GetPatchPanelPortsPatchPanelIDParams) WithContext ¶
func (o *GetPatchPanelPortsPatchPanelIDParams) WithContext(ctx context.Context) *GetPatchPanelPortsPatchPanelIDParams
WithContext adds the context to the get patch panel ports patch panel id params
func (*GetPatchPanelPortsPatchPanelIDParams) WithHTTPClient ¶
func (o *GetPatchPanelPortsPatchPanelIDParams) WithHTTPClient(client *http.Client) *GetPatchPanelPortsPatchPanelIDParams
WithHTTPClient adds the HTTPClient to the get patch panel ports patch panel id params
func (*GetPatchPanelPortsPatchPanelIDParams) WithPatchPanelID ¶
func (o *GetPatchPanelPortsPatchPanelIDParams) WithPatchPanelID(patchPanelID int64) *GetPatchPanelPortsPatchPanelIDParams
WithPatchPanelID adds the patchPanelID to the get patch panel ports patch panel id params
func (*GetPatchPanelPortsPatchPanelIDParams) WithTimeout ¶
func (o *GetPatchPanelPortsPatchPanelIDParams) WithTimeout(timeout time.Duration) *GetPatchPanelPortsPatchPanelIDParams
WithTimeout adds the timeout to the get patch panel ports patch panel id params
func (*GetPatchPanelPortsPatchPanelIDParams) WriteToRequest ¶
func (o *GetPatchPanelPortsPatchPanelIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPatchPanelPortsPatchPanelIDReader ¶
type GetPatchPanelPortsPatchPanelIDReader struct {
// contains filtered or unexported fields
}
GetPatchPanelPortsPatchPanelIDReader is a Reader for the GetPatchPanelPortsPatchPanelID structure.
func (*GetPatchPanelPortsPatchPanelIDReader) ReadResponse ¶
func (o *GetPatchPanelPortsPatchPanelIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPatchPanelPortsPatchPanelIDServiceUnavailable ¶
type GetPatchPanelPortsPatchPanelIDServiceUnavailable struct { }
GetPatchPanelPortsPatchPanelIDServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewGetPatchPanelPortsPatchPanelIDServiceUnavailable ¶
func NewGetPatchPanelPortsPatchPanelIDServiceUnavailable() *GetPatchPanelPortsPatchPanelIDServiceUnavailable
NewGetPatchPanelPortsPatchPanelIDServiceUnavailable creates a GetPatchPanelPortsPatchPanelIDServiceUnavailable with default headers values
func (*GetPatchPanelPortsPatchPanelIDServiceUnavailable) Error ¶
func (o *GetPatchPanelPortsPatchPanelIDServiceUnavailable) Error() string
type GetPatchPanelPortsPatchPanelIDUnauthorized ¶
type GetPatchPanelPortsPatchPanelIDUnauthorized struct { }
GetPatchPanelPortsPatchPanelIDUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewGetPatchPanelPortsPatchPanelIDUnauthorized ¶
func NewGetPatchPanelPortsPatchPanelIDUnauthorized() *GetPatchPanelPortsPatchPanelIDUnauthorized
NewGetPatchPanelPortsPatchPanelIDUnauthorized creates a GetPatchPanelPortsPatchPanelIDUnauthorized with default headers values
func (*GetPatchPanelPortsPatchPanelIDUnauthorized) Error ¶
func (o *GetPatchPanelPortsPatchPanelIDUnauthorized) Error() string
type PostPatchPanelModelsBadRequest ¶
type PostPatchPanelModelsBadRequest struct { }
PostPatchPanelModelsBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewPostPatchPanelModelsBadRequest ¶
func NewPostPatchPanelModelsBadRequest() *PostPatchPanelModelsBadRequest
NewPostPatchPanelModelsBadRequest creates a PostPatchPanelModelsBadRequest with default headers values
func (*PostPatchPanelModelsBadRequest) Error ¶
func (o *PostPatchPanelModelsBadRequest) Error() string
type PostPatchPanelModelsForbidden ¶
type PostPatchPanelModelsForbidden struct { }
PostPatchPanelModelsForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewPostPatchPanelModelsForbidden ¶
func NewPostPatchPanelModelsForbidden() *PostPatchPanelModelsForbidden
NewPostPatchPanelModelsForbidden creates a PostPatchPanelModelsForbidden with default headers values
func (*PostPatchPanelModelsForbidden) Error ¶
func (o *PostPatchPanelModelsForbidden) Error() string
type PostPatchPanelModelsGone ¶
type PostPatchPanelModelsGone struct { }
PostPatchPanelModelsGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewPostPatchPanelModelsGone ¶
func NewPostPatchPanelModelsGone() *PostPatchPanelModelsGone
NewPostPatchPanelModelsGone creates a PostPatchPanelModelsGone with default headers values
func (*PostPatchPanelModelsGone) Error ¶
func (o *PostPatchPanelModelsGone) Error() string
type PostPatchPanelModelsInternalServerError ¶
type PostPatchPanelModelsInternalServerError struct { }
PostPatchPanelModelsInternalServerError handles this case with default header values.
Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)
func NewPostPatchPanelModelsInternalServerError ¶
func NewPostPatchPanelModelsInternalServerError() *PostPatchPanelModelsInternalServerError
NewPostPatchPanelModelsInternalServerError creates a PostPatchPanelModelsInternalServerError with default headers values
func (*PostPatchPanelModelsInternalServerError) Error ¶
func (o *PostPatchPanelModelsInternalServerError) Error() string
type PostPatchPanelModelsMethodNotAllowed ¶
type PostPatchPanelModelsMethodNotAllowed struct { }
PostPatchPanelModelsMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewPostPatchPanelModelsMethodNotAllowed ¶
func NewPostPatchPanelModelsMethodNotAllowed() *PostPatchPanelModelsMethodNotAllowed
NewPostPatchPanelModelsMethodNotAllowed creates a PostPatchPanelModelsMethodNotAllowed with default headers values
func (*PostPatchPanelModelsMethodNotAllowed) Error ¶
func (o *PostPatchPanelModelsMethodNotAllowed) Error() string
type PostPatchPanelModelsNotFound ¶
type PostPatchPanelModelsNotFound struct { }
PostPatchPanelModelsNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewPostPatchPanelModelsNotFound ¶
func NewPostPatchPanelModelsNotFound() *PostPatchPanelModelsNotFound
NewPostPatchPanelModelsNotFound creates a PostPatchPanelModelsNotFound with default headers values
func (*PostPatchPanelModelsNotFound) Error ¶
func (o *PostPatchPanelModelsNotFound) Error() string
type PostPatchPanelModelsOK ¶
type PostPatchPanelModelsOK struct {
Payload *PostPatchPanelModelsOKBody
}
PostPatchPanelModelsOK handles this case with default header values.
The above command returns results like this:
func NewPostPatchPanelModelsOK ¶
func NewPostPatchPanelModelsOK() *PostPatchPanelModelsOK
NewPostPatchPanelModelsOK creates a PostPatchPanelModelsOK with default headers values
func (*PostPatchPanelModelsOK) Error ¶
func (o *PostPatchPanelModelsOK) Error() string
func (*PostPatchPanelModelsOK) GetPayload ¶
func (o *PostPatchPanelModelsOK) GetPayload() *PostPatchPanelModelsOKBody
type PostPatchPanelModelsOKBody ¶
type PostPatchPanelModelsOKBody struct { // code Code interface{} `json:"code,omitempty"` // msg Msg interface{} `json:"msg,omitempty"` }
PostPatchPanelModelsOKBody post patch panel models o k body swagger:model PostPatchPanelModelsOKBody
func (*PostPatchPanelModelsOKBody) MarshalBinary ¶
func (o *PostPatchPanelModelsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostPatchPanelModelsOKBody) UnmarshalBinary ¶
func (o *PostPatchPanelModelsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostPatchPanelModelsParams ¶
type PostPatchPanelModelsParams struct { /*Imgfile name of the image file (Added in v5.8.2). Use instead of imgfile_id */ Imgfile *string /*ImgfileID image file id. You can see these from Tools > Import > Hardware Import for now. */ ImgfileID *string /*Manufacturer name of the hardware/software manufacturer. */ Manufacturer *string /*ModulePosition for Modular Patch Panel Models. Possible values are horizontal or vertical (Added in v5.8.2) */ ModulePosition *string /*Name Name of the patch panel model you want to edit or create. */ Name *string /*NumberOfPorts number of ports. required for creating a new patch panel type singular. Ignored for patch panel type modular */ NumberOfPorts *string /*NumberOfPortsInRow number of ports in a row. required for creating a new patch panel type singular. Ignored for patch panel type modular */ NumberOfPortsInRow *string /*PairedPorts*/ PairedPorts *string /*PatchPanelModelID Patch Panel Model ID or UI Tools > Export > Patch Panel Model */ PatchPanelModelID *string /*PortType name of the port type. created if it doesn't exist already */ PortType *string /*Type*/ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostPatchPanelModelsParams contains all the parameters to send to the API endpoint for the post patch panel models operation typically these are written to a http.Request
func NewPostPatchPanelModelsParams ¶
func NewPostPatchPanelModelsParams() *PostPatchPanelModelsParams
NewPostPatchPanelModelsParams creates a new PostPatchPanelModelsParams object with the default values initialized.
func NewPostPatchPanelModelsParamsWithContext ¶
func NewPostPatchPanelModelsParamsWithContext(ctx context.Context) *PostPatchPanelModelsParams
NewPostPatchPanelModelsParamsWithContext creates a new PostPatchPanelModelsParams object with the default values initialized, and the ability to set a context for a request
func NewPostPatchPanelModelsParamsWithHTTPClient ¶
func NewPostPatchPanelModelsParamsWithHTTPClient(client *http.Client) *PostPatchPanelModelsParams
NewPostPatchPanelModelsParamsWithHTTPClient creates a new PostPatchPanelModelsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostPatchPanelModelsParamsWithTimeout ¶
func NewPostPatchPanelModelsParamsWithTimeout(timeout time.Duration) *PostPatchPanelModelsParams
NewPostPatchPanelModelsParamsWithTimeout creates a new PostPatchPanelModelsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostPatchPanelModelsParams) SetContext ¶
func (o *PostPatchPanelModelsParams) SetContext(ctx context.Context)
SetContext adds the context to the post patch panel models params
func (*PostPatchPanelModelsParams) SetHTTPClient ¶
func (o *PostPatchPanelModelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post patch panel models params
func (*PostPatchPanelModelsParams) SetImgfile ¶
func (o *PostPatchPanelModelsParams) SetImgfile(imgfile *string)
SetImgfile adds the imgfile to the post patch panel models params
func (*PostPatchPanelModelsParams) SetImgfileID ¶
func (o *PostPatchPanelModelsParams) SetImgfileID(imgfileID *string)
SetImgfileID adds the imgfileId to the post patch panel models params
func (*PostPatchPanelModelsParams) SetManufacturer ¶
func (o *PostPatchPanelModelsParams) SetManufacturer(manufacturer *string)
SetManufacturer adds the manufacturer to the post patch panel models params
func (*PostPatchPanelModelsParams) SetModulePosition ¶
func (o *PostPatchPanelModelsParams) SetModulePosition(modulePosition *string)
SetModulePosition adds the modulePosition to the post patch panel models params
func (*PostPatchPanelModelsParams) SetName ¶
func (o *PostPatchPanelModelsParams) SetName(name *string)
SetName adds the name to the post patch panel models params
func (*PostPatchPanelModelsParams) SetNumberOfPorts ¶
func (o *PostPatchPanelModelsParams) SetNumberOfPorts(numberOfPorts *string)
SetNumberOfPorts adds the numberOfPorts to the post patch panel models params
func (*PostPatchPanelModelsParams) SetNumberOfPortsInRow ¶
func (o *PostPatchPanelModelsParams) SetNumberOfPortsInRow(numberOfPortsInRow *string)
SetNumberOfPortsInRow adds the numberOfPortsInRow to the post patch panel models params
func (*PostPatchPanelModelsParams) SetPairedPorts ¶
func (o *PostPatchPanelModelsParams) SetPairedPorts(pairedPorts *string)
SetPairedPorts adds the pairedPorts to the post patch panel models params
func (*PostPatchPanelModelsParams) SetPatchPanelModelID ¶
func (o *PostPatchPanelModelsParams) SetPatchPanelModelID(patchPanelModelID *string)
SetPatchPanelModelID adds the patchPanelModelId to the post patch panel models params
func (*PostPatchPanelModelsParams) SetPortType ¶
func (o *PostPatchPanelModelsParams) SetPortType(portType *string)
SetPortType adds the portType to the post patch panel models params
func (*PostPatchPanelModelsParams) SetTimeout ¶
func (o *PostPatchPanelModelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post patch panel models params
func (*PostPatchPanelModelsParams) SetType ¶
func (o *PostPatchPanelModelsParams) SetType(typeVar *string)
SetType adds the type to the post patch panel models params
func (*PostPatchPanelModelsParams) WithContext ¶
func (o *PostPatchPanelModelsParams) WithContext(ctx context.Context) *PostPatchPanelModelsParams
WithContext adds the context to the post patch panel models params
func (*PostPatchPanelModelsParams) WithHTTPClient ¶
func (o *PostPatchPanelModelsParams) WithHTTPClient(client *http.Client) *PostPatchPanelModelsParams
WithHTTPClient adds the HTTPClient to the post patch panel models params
func (*PostPatchPanelModelsParams) WithImgfile ¶
func (o *PostPatchPanelModelsParams) WithImgfile(imgfile *string) *PostPatchPanelModelsParams
WithImgfile adds the imgfile to the post patch panel models params
func (*PostPatchPanelModelsParams) WithImgfileID ¶
func (o *PostPatchPanelModelsParams) WithImgfileID(imgfileID *string) *PostPatchPanelModelsParams
WithImgfileID adds the imgfileID to the post patch panel models params
func (*PostPatchPanelModelsParams) WithManufacturer ¶
func (o *PostPatchPanelModelsParams) WithManufacturer(manufacturer *string) *PostPatchPanelModelsParams
WithManufacturer adds the manufacturer to the post patch panel models params
func (*PostPatchPanelModelsParams) WithModulePosition ¶
func (o *PostPatchPanelModelsParams) WithModulePosition(modulePosition *string) *PostPatchPanelModelsParams
WithModulePosition adds the modulePosition to the post patch panel models params
func (*PostPatchPanelModelsParams) WithName ¶
func (o *PostPatchPanelModelsParams) WithName(name *string) *PostPatchPanelModelsParams
WithName adds the name to the post patch panel models params
func (*PostPatchPanelModelsParams) WithNumberOfPorts ¶
func (o *PostPatchPanelModelsParams) WithNumberOfPorts(numberOfPorts *string) *PostPatchPanelModelsParams
WithNumberOfPorts adds the numberOfPorts to the post patch panel models params
func (*PostPatchPanelModelsParams) WithNumberOfPortsInRow ¶
func (o *PostPatchPanelModelsParams) WithNumberOfPortsInRow(numberOfPortsInRow *string) *PostPatchPanelModelsParams
WithNumberOfPortsInRow adds the numberOfPortsInRow to the post patch panel models params
func (*PostPatchPanelModelsParams) WithPairedPorts ¶
func (o *PostPatchPanelModelsParams) WithPairedPorts(pairedPorts *string) *PostPatchPanelModelsParams
WithPairedPorts adds the pairedPorts to the post patch panel models params
func (*PostPatchPanelModelsParams) WithPatchPanelModelID ¶
func (o *PostPatchPanelModelsParams) WithPatchPanelModelID(patchPanelModelID *string) *PostPatchPanelModelsParams
WithPatchPanelModelID adds the patchPanelModelID to the post patch panel models params
func (*PostPatchPanelModelsParams) WithPortType ¶
func (o *PostPatchPanelModelsParams) WithPortType(portType *string) *PostPatchPanelModelsParams
WithPortType adds the portType to the post patch panel models params
func (*PostPatchPanelModelsParams) WithTimeout ¶
func (o *PostPatchPanelModelsParams) WithTimeout(timeout time.Duration) *PostPatchPanelModelsParams
WithTimeout adds the timeout to the post patch panel models params
func (*PostPatchPanelModelsParams) WithType ¶
func (o *PostPatchPanelModelsParams) WithType(typeVar *string) *PostPatchPanelModelsParams
WithType adds the typeVar to the post patch panel models params
func (*PostPatchPanelModelsParams) WriteToRequest ¶
func (o *PostPatchPanelModelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostPatchPanelModelsReader ¶
type PostPatchPanelModelsReader struct {
// contains filtered or unexported fields
}
PostPatchPanelModelsReader is a Reader for the PostPatchPanelModels structure.
func (*PostPatchPanelModelsReader) ReadResponse ¶
func (o *PostPatchPanelModelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostPatchPanelModelsServiceUnavailable ¶
type PostPatchPanelModelsServiceUnavailable struct { }
PostPatchPanelModelsServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewPostPatchPanelModelsServiceUnavailable ¶
func NewPostPatchPanelModelsServiceUnavailable() *PostPatchPanelModelsServiceUnavailable
NewPostPatchPanelModelsServiceUnavailable creates a PostPatchPanelModelsServiceUnavailable with default headers values
func (*PostPatchPanelModelsServiceUnavailable) Error ¶
func (o *PostPatchPanelModelsServiceUnavailable) Error() string
type PostPatchPanelModelsUnauthorized ¶
type PostPatchPanelModelsUnauthorized struct { }
PostPatchPanelModelsUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewPostPatchPanelModelsUnauthorized ¶
func NewPostPatchPanelModelsUnauthorized() *PostPatchPanelModelsUnauthorized
NewPostPatchPanelModelsUnauthorized creates a PostPatchPanelModelsUnauthorized with default headers values
func (*PostPatchPanelModelsUnauthorized) Error ¶
func (o *PostPatchPanelModelsUnauthorized) Error() string
type PostPatchPanelModuleModelsBadRequest ¶
type PostPatchPanelModuleModelsBadRequest struct { }
PostPatchPanelModuleModelsBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewPostPatchPanelModuleModelsBadRequest ¶
func NewPostPatchPanelModuleModelsBadRequest() *PostPatchPanelModuleModelsBadRequest
NewPostPatchPanelModuleModelsBadRequest creates a PostPatchPanelModuleModelsBadRequest with default headers values
func (*PostPatchPanelModuleModelsBadRequest) Error ¶
func (o *PostPatchPanelModuleModelsBadRequest) Error() string
type PostPatchPanelModuleModelsForbidden ¶
type PostPatchPanelModuleModelsForbidden struct { }
PostPatchPanelModuleModelsForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewPostPatchPanelModuleModelsForbidden ¶
func NewPostPatchPanelModuleModelsForbidden() *PostPatchPanelModuleModelsForbidden
NewPostPatchPanelModuleModelsForbidden creates a PostPatchPanelModuleModelsForbidden with default headers values
func (*PostPatchPanelModuleModelsForbidden) Error ¶
func (o *PostPatchPanelModuleModelsForbidden) Error() string
type PostPatchPanelModuleModelsGone ¶
type PostPatchPanelModuleModelsGone struct { }
PostPatchPanelModuleModelsGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewPostPatchPanelModuleModelsGone ¶
func NewPostPatchPanelModuleModelsGone() *PostPatchPanelModuleModelsGone
NewPostPatchPanelModuleModelsGone creates a PostPatchPanelModuleModelsGone with default headers values
func (*PostPatchPanelModuleModelsGone) Error ¶
func (o *PostPatchPanelModuleModelsGone) Error() string
type PostPatchPanelModuleModelsInternalServerError ¶
type PostPatchPanelModuleModelsInternalServerError struct { }
PostPatchPanelModuleModelsInternalServerError handles this case with default header values.
Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)
func NewPostPatchPanelModuleModelsInternalServerError ¶
func NewPostPatchPanelModuleModelsInternalServerError() *PostPatchPanelModuleModelsInternalServerError
NewPostPatchPanelModuleModelsInternalServerError creates a PostPatchPanelModuleModelsInternalServerError with default headers values
func (*PostPatchPanelModuleModelsInternalServerError) Error ¶
func (o *PostPatchPanelModuleModelsInternalServerError) Error() string
type PostPatchPanelModuleModelsMethodNotAllowed ¶
type PostPatchPanelModuleModelsMethodNotAllowed struct { }
PostPatchPanelModuleModelsMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewPostPatchPanelModuleModelsMethodNotAllowed ¶
func NewPostPatchPanelModuleModelsMethodNotAllowed() *PostPatchPanelModuleModelsMethodNotAllowed
NewPostPatchPanelModuleModelsMethodNotAllowed creates a PostPatchPanelModuleModelsMethodNotAllowed with default headers values
func (*PostPatchPanelModuleModelsMethodNotAllowed) Error ¶
func (o *PostPatchPanelModuleModelsMethodNotAllowed) Error() string
type PostPatchPanelModuleModelsNotFound ¶
type PostPatchPanelModuleModelsNotFound struct { }
PostPatchPanelModuleModelsNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewPostPatchPanelModuleModelsNotFound ¶
func NewPostPatchPanelModuleModelsNotFound() *PostPatchPanelModuleModelsNotFound
NewPostPatchPanelModuleModelsNotFound creates a PostPatchPanelModuleModelsNotFound with default headers values
func (*PostPatchPanelModuleModelsNotFound) Error ¶
func (o *PostPatchPanelModuleModelsNotFound) Error() string
type PostPatchPanelModuleModelsOK ¶
type PostPatchPanelModuleModelsOK struct {
Payload *PostPatchPanelModuleModelsOKBody
}
PostPatchPanelModuleModelsOK handles this case with default header values.
The above command returns results like this:
func NewPostPatchPanelModuleModelsOK ¶
func NewPostPatchPanelModuleModelsOK() *PostPatchPanelModuleModelsOK
NewPostPatchPanelModuleModelsOK creates a PostPatchPanelModuleModelsOK with default headers values
func (*PostPatchPanelModuleModelsOK) Error ¶
func (o *PostPatchPanelModuleModelsOK) Error() string
func (*PostPatchPanelModuleModelsOK) GetPayload ¶
func (o *PostPatchPanelModuleModelsOK) GetPayload() *PostPatchPanelModuleModelsOKBody
type PostPatchPanelModuleModelsOKBody ¶
type PostPatchPanelModuleModelsOKBody struct { // code Code interface{} `json:"code,omitempty"` // msg Msg interface{} `json:"msg,omitempty"` }
PostPatchPanelModuleModelsOKBody post patch panel module models o k body swagger:model PostPatchPanelModuleModelsOKBody
func (*PostPatchPanelModuleModelsOKBody) MarshalBinary ¶
func (o *PostPatchPanelModuleModelsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostPatchPanelModuleModelsOKBody) UnmarshalBinary ¶
func (o *PostPatchPanelModuleModelsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostPatchPanelModuleModelsParams ¶
type PostPatchPanelModuleModelsParams struct { /*Name Name of the patch panel module model you want to edit or create. */ Name *string /*NumberOfPorts number of ports. required for creating a new patch panel type singular. Ignored for patch panel type modular */ NumberOfPorts *string /*NumberOfPortsInRow number of ports in a row. required for creating a new patch panel type singular. Ignored for patch panel type modular */ NumberOfPortsInRow *string /*PairedPorts*/ PairedPorts *string /*PatchPanelModuleModelID*/ PatchPanelModuleModelID *string /*PortType name of the port type. created if it doesn't exist already */ PortType *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostPatchPanelModuleModelsParams contains all the parameters to send to the API endpoint for the post patch panel module models operation typically these are written to a http.Request
func NewPostPatchPanelModuleModelsParams ¶
func NewPostPatchPanelModuleModelsParams() *PostPatchPanelModuleModelsParams
NewPostPatchPanelModuleModelsParams creates a new PostPatchPanelModuleModelsParams object with the default values initialized.
func NewPostPatchPanelModuleModelsParamsWithContext ¶
func NewPostPatchPanelModuleModelsParamsWithContext(ctx context.Context) *PostPatchPanelModuleModelsParams
NewPostPatchPanelModuleModelsParamsWithContext creates a new PostPatchPanelModuleModelsParams object with the default values initialized, and the ability to set a context for a request
func NewPostPatchPanelModuleModelsParamsWithHTTPClient ¶
func NewPostPatchPanelModuleModelsParamsWithHTTPClient(client *http.Client) *PostPatchPanelModuleModelsParams
NewPostPatchPanelModuleModelsParamsWithHTTPClient creates a new PostPatchPanelModuleModelsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostPatchPanelModuleModelsParamsWithTimeout ¶
func NewPostPatchPanelModuleModelsParamsWithTimeout(timeout time.Duration) *PostPatchPanelModuleModelsParams
NewPostPatchPanelModuleModelsParamsWithTimeout creates a new PostPatchPanelModuleModelsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostPatchPanelModuleModelsParams) SetContext ¶
func (o *PostPatchPanelModuleModelsParams) SetContext(ctx context.Context)
SetContext adds the context to the post patch panel module models params
func (*PostPatchPanelModuleModelsParams) SetHTTPClient ¶
func (o *PostPatchPanelModuleModelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post patch panel module models params
func (*PostPatchPanelModuleModelsParams) SetName ¶
func (o *PostPatchPanelModuleModelsParams) SetName(name *string)
SetName adds the name to the post patch panel module models params
func (*PostPatchPanelModuleModelsParams) SetNumberOfPorts ¶
func (o *PostPatchPanelModuleModelsParams) SetNumberOfPorts(numberOfPorts *string)
SetNumberOfPorts adds the numberOfPorts to the post patch panel module models params
func (*PostPatchPanelModuleModelsParams) SetNumberOfPortsInRow ¶
func (o *PostPatchPanelModuleModelsParams) SetNumberOfPortsInRow(numberOfPortsInRow *string)
SetNumberOfPortsInRow adds the numberOfPortsInRow to the post patch panel module models params
func (*PostPatchPanelModuleModelsParams) SetPairedPorts ¶
func (o *PostPatchPanelModuleModelsParams) SetPairedPorts(pairedPorts *string)
SetPairedPorts adds the pairedPorts to the post patch panel module models params
func (*PostPatchPanelModuleModelsParams) SetPatchPanelModuleModelID ¶
func (o *PostPatchPanelModuleModelsParams) SetPatchPanelModuleModelID(patchPanelModuleModelID *string)
SetPatchPanelModuleModelID adds the patchPanelModuleModelId to the post patch panel module models params
func (*PostPatchPanelModuleModelsParams) SetPortType ¶
func (o *PostPatchPanelModuleModelsParams) SetPortType(portType *string)
SetPortType adds the portType to the post patch panel module models params
func (*PostPatchPanelModuleModelsParams) SetTimeout ¶
func (o *PostPatchPanelModuleModelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post patch panel module models params
func (*PostPatchPanelModuleModelsParams) WithContext ¶
func (o *PostPatchPanelModuleModelsParams) WithContext(ctx context.Context) *PostPatchPanelModuleModelsParams
WithContext adds the context to the post patch panel module models params
func (*PostPatchPanelModuleModelsParams) WithHTTPClient ¶
func (o *PostPatchPanelModuleModelsParams) WithHTTPClient(client *http.Client) *PostPatchPanelModuleModelsParams
WithHTTPClient adds the HTTPClient to the post patch panel module models params
func (*PostPatchPanelModuleModelsParams) WithName ¶
func (o *PostPatchPanelModuleModelsParams) WithName(name *string) *PostPatchPanelModuleModelsParams
WithName adds the name to the post patch panel module models params
func (*PostPatchPanelModuleModelsParams) WithNumberOfPorts ¶
func (o *PostPatchPanelModuleModelsParams) WithNumberOfPorts(numberOfPorts *string) *PostPatchPanelModuleModelsParams
WithNumberOfPorts adds the numberOfPorts to the post patch panel module models params
func (*PostPatchPanelModuleModelsParams) WithNumberOfPortsInRow ¶
func (o *PostPatchPanelModuleModelsParams) WithNumberOfPortsInRow(numberOfPortsInRow *string) *PostPatchPanelModuleModelsParams
WithNumberOfPortsInRow adds the numberOfPortsInRow to the post patch panel module models params
func (*PostPatchPanelModuleModelsParams) WithPairedPorts ¶
func (o *PostPatchPanelModuleModelsParams) WithPairedPorts(pairedPorts *string) *PostPatchPanelModuleModelsParams
WithPairedPorts adds the pairedPorts to the post patch panel module models params
func (*PostPatchPanelModuleModelsParams) WithPatchPanelModuleModelID ¶
func (o *PostPatchPanelModuleModelsParams) WithPatchPanelModuleModelID(patchPanelModuleModelID *string) *PostPatchPanelModuleModelsParams
WithPatchPanelModuleModelID adds the patchPanelModuleModelID to the post patch panel module models params
func (*PostPatchPanelModuleModelsParams) WithPortType ¶
func (o *PostPatchPanelModuleModelsParams) WithPortType(portType *string) *PostPatchPanelModuleModelsParams
WithPortType adds the portType to the post patch panel module models params
func (*PostPatchPanelModuleModelsParams) WithTimeout ¶
func (o *PostPatchPanelModuleModelsParams) WithTimeout(timeout time.Duration) *PostPatchPanelModuleModelsParams
WithTimeout adds the timeout to the post patch panel module models params
func (*PostPatchPanelModuleModelsParams) WriteToRequest ¶
func (o *PostPatchPanelModuleModelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostPatchPanelModuleModelsReader ¶
type PostPatchPanelModuleModelsReader struct {
// contains filtered or unexported fields
}
PostPatchPanelModuleModelsReader is a Reader for the PostPatchPanelModuleModels structure.
func (*PostPatchPanelModuleModelsReader) ReadResponse ¶
func (o *PostPatchPanelModuleModelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostPatchPanelModuleModelsServiceUnavailable ¶
type PostPatchPanelModuleModelsServiceUnavailable struct { }
PostPatchPanelModuleModelsServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewPostPatchPanelModuleModelsServiceUnavailable ¶
func NewPostPatchPanelModuleModelsServiceUnavailable() *PostPatchPanelModuleModelsServiceUnavailable
NewPostPatchPanelModuleModelsServiceUnavailable creates a PostPatchPanelModuleModelsServiceUnavailable with default headers values
func (*PostPatchPanelModuleModelsServiceUnavailable) Error ¶
func (o *PostPatchPanelModuleModelsServiceUnavailable) Error() string
type PostPatchPanelModuleModelsUnauthorized ¶
type PostPatchPanelModuleModelsUnauthorized struct { }
PostPatchPanelModuleModelsUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewPostPatchPanelModuleModelsUnauthorized ¶
func NewPostPatchPanelModuleModelsUnauthorized() *PostPatchPanelModuleModelsUnauthorized
NewPostPatchPanelModuleModelsUnauthorized creates a PostPatchPanelModuleModelsUnauthorized with default headers values
func (*PostPatchPanelModuleModelsUnauthorized) Error ¶
func (o *PostPatchPanelModuleModelsUnauthorized) Error() string
type PostPatchPanelPortsPatchPanelIDBadRequest ¶
type PostPatchPanelPortsPatchPanelIDBadRequest struct { }
PostPatchPanelPortsPatchPanelIDBadRequest handles this case with default header values.
Bad Request (A validation exception has occurred.)
func NewPostPatchPanelPortsPatchPanelIDBadRequest ¶
func NewPostPatchPanelPortsPatchPanelIDBadRequest() *PostPatchPanelPortsPatchPanelIDBadRequest
NewPostPatchPanelPortsPatchPanelIDBadRequest creates a PostPatchPanelPortsPatchPanelIDBadRequest with default headers values
func (*PostPatchPanelPortsPatchPanelIDBadRequest) Error ¶
func (o *PostPatchPanelPortsPatchPanelIDBadRequest) Error() string
type PostPatchPanelPortsPatchPanelIDForbidden ¶
type PostPatchPanelPortsPatchPanelIDForbidden struct { }
PostPatchPanelPortsPatchPanelIDForbidden handles this case with default header values.
Forbidden (The resource requested is hidden)
func NewPostPatchPanelPortsPatchPanelIDForbidden ¶
func NewPostPatchPanelPortsPatchPanelIDForbidden() *PostPatchPanelPortsPatchPanelIDForbidden
NewPostPatchPanelPortsPatchPanelIDForbidden creates a PostPatchPanelPortsPatchPanelIDForbidden with default headers values
func (*PostPatchPanelPortsPatchPanelIDForbidden) Error ¶
func (o *PostPatchPanelPortsPatchPanelIDForbidden) Error() string
type PostPatchPanelPortsPatchPanelIDGone ¶
type PostPatchPanelPortsPatchPanelIDGone struct { }
PostPatchPanelPortsPatchPanelIDGone handles this case with default header values.
Gone (The resource requested has been removed from our servers)
func NewPostPatchPanelPortsPatchPanelIDGone ¶
func NewPostPatchPanelPortsPatchPanelIDGone() *PostPatchPanelPortsPatchPanelIDGone
NewPostPatchPanelPortsPatchPanelIDGone creates a PostPatchPanelPortsPatchPanelIDGone with default headers values
func (*PostPatchPanelPortsPatchPanelIDGone) Error ¶
func (o *PostPatchPanelPortsPatchPanelIDGone) Error() string
type PostPatchPanelPortsPatchPanelIDInternalServerError ¶
type PostPatchPanelPortsPatchPanelIDInternalServerError struct { }
PostPatchPanelPortsPatchPanelIDInternalServerError handles this case with default header values.
Internal Server Error (Some parameter missing or issue with the server. Check with returned “msg” from the call.)
func NewPostPatchPanelPortsPatchPanelIDInternalServerError ¶
func NewPostPatchPanelPortsPatchPanelIDInternalServerError() *PostPatchPanelPortsPatchPanelIDInternalServerError
NewPostPatchPanelPortsPatchPanelIDInternalServerError creates a PostPatchPanelPortsPatchPanelIDInternalServerError with default headers values
func (*PostPatchPanelPortsPatchPanelIDInternalServerError) Error ¶
func (o *PostPatchPanelPortsPatchPanelIDInternalServerError) Error() string
type PostPatchPanelPortsPatchPanelIDMethodNotAllowed ¶
type PostPatchPanelPortsPatchPanelIDMethodNotAllowed struct { }
PostPatchPanelPortsPatchPanelIDMethodNotAllowed handles this case with default header values.
Method Not Allowed (You tried to access a resource with an invalid method)
func NewPostPatchPanelPortsPatchPanelIDMethodNotAllowed ¶
func NewPostPatchPanelPortsPatchPanelIDMethodNotAllowed() *PostPatchPanelPortsPatchPanelIDMethodNotAllowed
NewPostPatchPanelPortsPatchPanelIDMethodNotAllowed creates a PostPatchPanelPortsPatchPanelIDMethodNotAllowed with default headers values
func (*PostPatchPanelPortsPatchPanelIDMethodNotAllowed) Error ¶
func (o *PostPatchPanelPortsPatchPanelIDMethodNotAllowed) Error() string
type PostPatchPanelPortsPatchPanelIDNotFound ¶
type PostPatchPanelPortsPatchPanelIDNotFound struct { }
PostPatchPanelPortsPatchPanelIDNotFound handles this case with default header values.
Not Found (The specified resource could not be found)
func NewPostPatchPanelPortsPatchPanelIDNotFound ¶
func NewPostPatchPanelPortsPatchPanelIDNotFound() *PostPatchPanelPortsPatchPanelIDNotFound
NewPostPatchPanelPortsPatchPanelIDNotFound creates a PostPatchPanelPortsPatchPanelIDNotFound with default headers values
func (*PostPatchPanelPortsPatchPanelIDNotFound) Error ¶
func (o *PostPatchPanelPortsPatchPanelIDNotFound) Error() string
type PostPatchPanelPortsPatchPanelIDOK ¶
type PostPatchPanelPortsPatchPanelIDOK struct {
Payload []*PostPatchPanelPortsPatchPanelIDOKBodyItems0
}
PostPatchPanelPortsPatchPanelIDOK handles this case with default header values.
The above command returns results like this:
func NewPostPatchPanelPortsPatchPanelIDOK ¶
func NewPostPatchPanelPortsPatchPanelIDOK() *PostPatchPanelPortsPatchPanelIDOK
NewPostPatchPanelPortsPatchPanelIDOK creates a PostPatchPanelPortsPatchPanelIDOK with default headers values
func (*PostPatchPanelPortsPatchPanelIDOK) Error ¶
func (o *PostPatchPanelPortsPatchPanelIDOK) Error() string
func (*PostPatchPanelPortsPatchPanelIDOK) GetPayload ¶
func (o *PostPatchPanelPortsPatchPanelIDOK) GetPayload() []*PostPatchPanelPortsPatchPanelIDOKBodyItems0
type PostPatchPanelPortsPatchPanelIDOKBodyItems0 ¶
type PostPatchPanelPortsPatchPanelIDOKBodyItems0 struct { // code Code interface{} `json:"code,omitempty"` // msg Msg interface{} `json:"msg,omitempty"` }
PostPatchPanelPortsPatchPanelIDOKBodyItems0 post patch panel ports patch panel ID o k body items0 swagger:model PostPatchPanelPortsPatchPanelIDOKBodyItems0
func (*PostPatchPanelPortsPatchPanelIDOKBodyItems0) MarshalBinary ¶
func (o *PostPatchPanelPortsPatchPanelIDOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostPatchPanelPortsPatchPanelIDOKBodyItems0) UnmarshalBinary ¶
func (o *PostPatchPanelPortsPatchPanelIDOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostPatchPanelPortsPatchPanelIDParams ¶
type PostPatchPanelPortsPatchPanelIDParams struct { /*BackConnectionID ID for the back connection port. Available via GET at /api/api/1.0/patch_panel_ports// or Tools > Export > Patch Panel Port */ BackConnectionID *string /*BackPatchPanel Name of the back patch panel - if a patch panel port is connected in back (Added in v5.8.2) */ BackPatchPanel *string /*BackPatchPanelID ID of the back patch panel - if a patch panel port is connected in back (Added in v5.8.2) */ BackPatchPanelID *string /*BackPort Number of the port on the back patch panel - if a patch panel port is connected in back (Added in v5.8.2) */ BackPort *string /*BackSwitch If back connection type is switch, use switch and switchport names in combination. */ BackSwitch *string /*BackSwitchport Use if back connection type is switch - use in combination with back_switch. */ BackSwitchport *string /*BackSwitchportID Used if back connection type is switch. */ BackSwitchportID *string /*CableType named value of the cable type. Must already exist. */ CableType *string /*ClearBack “yes” will clear back connection on port */ ClearBack *string /*ClearFront “yes” will clear front connection for port */ ClearFront *string /*FrontPatchPanel Name of the front patch panel - if a patch panel port is connected in front (Added in v5.8.2) */ FrontPatchPanel *string /*FrontPatchPanelID Name of the front patch panel - if a patch panel port is connected in front (Added in v5.8.2) */ FrontPatchPanelID *string /*FrontPort Number of the port on the front patch panel - if a patch panel port is connected in front (Added in v5.8.2) */ FrontPort *string /*Label*/ Label *string /*MacAddress mac_address or hwaddress */ MacAddress *string /*MacID mac_id references port_id value. mac_id available via GET at /api/api/1.0/macs/ or Tools > Export > MAC Address * Please see note below */ MacID *string /*ModuleSlot change patch panel port for a certain module slot # (Added in v5.8.2) */ ModuleSlot *string /*Number Port number for the patch panel */ Number string /*ObjLabel1 object label 1 */ ObjLabel1 *string /*ObjLabel2 object label 2 */ ObjLabel2 *string /*PatchPanel Must be a unique asset name for this to work (Added in v5.8.2) */ PatchPanel *string /*PatchPanelID Patch panel id */ PatchPanelID *string /*PatchPanelPortID Or use front_patch_panel and front_port combination */ PatchPanelPortID *string /*Switch Must be used with switchport if switchport_id is not used. */ Switch *string /*Switchport Must be used with switch if switchport_id is not used. */ Switchport *string /*SwitchportID ID for the switch port. Available via GET at /api/api/1.0/switchports/ or Tools > Export > Switch Port */ SwitchportID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostPatchPanelPortsPatchPanelIDParams contains all the parameters to send to the API endpoint for the post patch panel ports patch panel id operation typically these are written to a http.Request
func NewPostPatchPanelPortsPatchPanelIDParams ¶
func NewPostPatchPanelPortsPatchPanelIDParams() *PostPatchPanelPortsPatchPanelIDParams
NewPostPatchPanelPortsPatchPanelIDParams creates a new PostPatchPanelPortsPatchPanelIDParams object with the default values initialized.
func NewPostPatchPanelPortsPatchPanelIDParamsWithContext ¶
func NewPostPatchPanelPortsPatchPanelIDParamsWithContext(ctx context.Context) *PostPatchPanelPortsPatchPanelIDParams
NewPostPatchPanelPortsPatchPanelIDParamsWithContext creates a new PostPatchPanelPortsPatchPanelIDParams object with the default values initialized, and the ability to set a context for a request
func NewPostPatchPanelPortsPatchPanelIDParamsWithHTTPClient ¶
func NewPostPatchPanelPortsPatchPanelIDParamsWithHTTPClient(client *http.Client) *PostPatchPanelPortsPatchPanelIDParams
NewPostPatchPanelPortsPatchPanelIDParamsWithHTTPClient creates a new PostPatchPanelPortsPatchPanelIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostPatchPanelPortsPatchPanelIDParamsWithTimeout ¶
func NewPostPatchPanelPortsPatchPanelIDParamsWithTimeout(timeout time.Duration) *PostPatchPanelPortsPatchPanelIDParams
NewPostPatchPanelPortsPatchPanelIDParamsWithTimeout creates a new PostPatchPanelPortsPatchPanelIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostPatchPanelPortsPatchPanelIDParams) SetBackConnectionID ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetBackConnectionID(backConnectionID *string)
SetBackConnectionID adds the backConnectionId to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetBackPatchPanel ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetBackPatchPanel(backPatchPanel *string)
SetBackPatchPanel adds the backPatchPanel to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetBackPatchPanelID ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetBackPatchPanelID(backPatchPanelID *string)
SetBackPatchPanelID adds the backPatchPanelId to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetBackPort ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetBackPort(backPort *string)
SetBackPort adds the backPort to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetBackSwitch ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetBackSwitch(backSwitch *string)
SetBackSwitch adds the backSwitch to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetBackSwitchport ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetBackSwitchport(backSwitchport *string)
SetBackSwitchport adds the backSwitchport to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetBackSwitchportID ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetBackSwitchportID(backSwitchportID *string)
SetBackSwitchportID adds the backSwitchportId to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetCableType ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetCableType(cableType *string)
SetCableType adds the cableType to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetClearBack ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetClearBack(clearBack *string)
SetClearBack adds the clearBack to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetClearFront ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetClearFront(clearFront *string)
SetClearFront adds the clearFront to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetContext ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetContext(ctx context.Context)
SetContext adds the context to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetFrontPatchPanel ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetFrontPatchPanel(frontPatchPanel *string)
SetFrontPatchPanel adds the frontPatchPanel to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetFrontPatchPanelID ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetFrontPatchPanelID(frontPatchPanelID *string)
SetFrontPatchPanelID adds the frontPatchPanelId to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetFrontPort ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetFrontPort(frontPort *string)
SetFrontPort adds the frontPort to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetHTTPClient ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetLabel ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetLabel(label *string)
SetLabel adds the label to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetMacAddress ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetMacAddress(macAddress *string)
SetMacAddress adds the macAddress to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetMacID ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetMacID(macID *string)
SetMacID adds the macId to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetModuleSlot ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetModuleSlot(moduleSlot *string)
SetModuleSlot adds the moduleSlot to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetNumber ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetNumber(number string)
SetNumber adds the number to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetObjLabel1 ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetObjLabel1(objLabel1 *string)
SetObjLabel1 adds the objLabel1 to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetObjLabel2 ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetObjLabel2(objLabel2 *string)
SetObjLabel2 adds the objLabel2 to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetPatchPanel ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetPatchPanel(patchPanel *string)
SetPatchPanel adds the patchPanel to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetPatchPanelID ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetPatchPanelID(patchPanelID *string)
SetPatchPanelID adds the patchPanelId to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetPatchPanelPortID ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetPatchPanelPortID(patchPanelPortID *string)
SetPatchPanelPortID adds the patchPanelPortId to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetSwitch ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetSwitch(switchVar *string)
SetSwitch adds the switch to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetSwitchport ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetSwitchport(switchport *string)
SetSwitchport adds the switchport to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetSwitchportID ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetSwitchportID(switchportID *string)
SetSwitchportID adds the switchportId to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) SetTimeout ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithBackConnectionID ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithBackConnectionID(backConnectionID *string) *PostPatchPanelPortsPatchPanelIDParams
WithBackConnectionID adds the backConnectionID to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithBackPatchPanel ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithBackPatchPanel(backPatchPanel *string) *PostPatchPanelPortsPatchPanelIDParams
WithBackPatchPanel adds the backPatchPanel to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithBackPatchPanelID ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithBackPatchPanelID(backPatchPanelID *string) *PostPatchPanelPortsPatchPanelIDParams
WithBackPatchPanelID adds the backPatchPanelID to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithBackPort ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithBackPort(backPort *string) *PostPatchPanelPortsPatchPanelIDParams
WithBackPort adds the backPort to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithBackSwitch ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithBackSwitch(backSwitch *string) *PostPatchPanelPortsPatchPanelIDParams
WithBackSwitch adds the backSwitch to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithBackSwitchport ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithBackSwitchport(backSwitchport *string) *PostPatchPanelPortsPatchPanelIDParams
WithBackSwitchport adds the backSwitchport to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithBackSwitchportID ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithBackSwitchportID(backSwitchportID *string) *PostPatchPanelPortsPatchPanelIDParams
WithBackSwitchportID adds the backSwitchportID to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithCableType ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithCableType(cableType *string) *PostPatchPanelPortsPatchPanelIDParams
WithCableType adds the cableType to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithClearBack ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithClearBack(clearBack *string) *PostPatchPanelPortsPatchPanelIDParams
WithClearBack adds the clearBack to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithClearFront ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithClearFront(clearFront *string) *PostPatchPanelPortsPatchPanelIDParams
WithClearFront adds the clearFront to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithContext ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithContext(ctx context.Context) *PostPatchPanelPortsPatchPanelIDParams
WithContext adds the context to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithFrontPatchPanel ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithFrontPatchPanel(frontPatchPanel *string) *PostPatchPanelPortsPatchPanelIDParams
WithFrontPatchPanel adds the frontPatchPanel to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithFrontPatchPanelID ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithFrontPatchPanelID(frontPatchPanelID *string) *PostPatchPanelPortsPatchPanelIDParams
WithFrontPatchPanelID adds the frontPatchPanelID to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithFrontPort ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithFrontPort(frontPort *string) *PostPatchPanelPortsPatchPanelIDParams
WithFrontPort adds the frontPort to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithHTTPClient ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithHTTPClient(client *http.Client) *PostPatchPanelPortsPatchPanelIDParams
WithHTTPClient adds the HTTPClient to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithLabel ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithLabel(label *string) *PostPatchPanelPortsPatchPanelIDParams
WithLabel adds the label to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithMacAddress ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithMacAddress(macAddress *string) *PostPatchPanelPortsPatchPanelIDParams
WithMacAddress adds the macAddress to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithMacID ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithMacID(macID *string) *PostPatchPanelPortsPatchPanelIDParams
WithMacID adds the macID to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithModuleSlot ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithModuleSlot(moduleSlot *string) *PostPatchPanelPortsPatchPanelIDParams
WithModuleSlot adds the moduleSlot to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithNumber ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithNumber(number string) *PostPatchPanelPortsPatchPanelIDParams
WithNumber adds the number to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithObjLabel1 ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithObjLabel1(objLabel1 *string) *PostPatchPanelPortsPatchPanelIDParams
WithObjLabel1 adds the objLabel1 to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithObjLabel2 ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithObjLabel2(objLabel2 *string) *PostPatchPanelPortsPatchPanelIDParams
WithObjLabel2 adds the objLabel2 to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithPatchPanel ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithPatchPanel(patchPanel *string) *PostPatchPanelPortsPatchPanelIDParams
WithPatchPanel adds the patchPanel to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithPatchPanelID ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithPatchPanelID(patchPanelID *string) *PostPatchPanelPortsPatchPanelIDParams
WithPatchPanelID adds the patchPanelID to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithPatchPanelPortID ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithPatchPanelPortID(patchPanelPortID *string) *PostPatchPanelPortsPatchPanelIDParams
WithPatchPanelPortID adds the patchPanelPortID to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithSwitch ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithSwitch(switchVar *string) *PostPatchPanelPortsPatchPanelIDParams
WithSwitch adds the switchVar to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithSwitchport ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithSwitchport(switchport *string) *PostPatchPanelPortsPatchPanelIDParams
WithSwitchport adds the switchport to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithSwitchportID ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithSwitchportID(switchportID *string) *PostPatchPanelPortsPatchPanelIDParams
WithSwitchportID adds the switchportID to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WithTimeout ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WithTimeout(timeout time.Duration) *PostPatchPanelPortsPatchPanelIDParams
WithTimeout adds the timeout to the post patch panel ports patch panel id params
func (*PostPatchPanelPortsPatchPanelIDParams) WriteToRequest ¶
func (o *PostPatchPanelPortsPatchPanelIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostPatchPanelPortsPatchPanelIDReader ¶
type PostPatchPanelPortsPatchPanelIDReader struct {
// contains filtered or unexported fields
}
PostPatchPanelPortsPatchPanelIDReader is a Reader for the PostPatchPanelPortsPatchPanelID structure.
func (*PostPatchPanelPortsPatchPanelIDReader) ReadResponse ¶
func (o *PostPatchPanelPortsPatchPanelIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostPatchPanelPortsPatchPanelIDServiceUnavailable ¶
type PostPatchPanelPortsPatchPanelIDServiceUnavailable struct { }
PostPatchPanelPortsPatchPanelIDServiceUnavailable handles this case with default header values.
Service Unavailable (Please check if your Device42 instance is working normally.)
func NewPostPatchPanelPortsPatchPanelIDServiceUnavailable ¶
func NewPostPatchPanelPortsPatchPanelIDServiceUnavailable() *PostPatchPanelPortsPatchPanelIDServiceUnavailable
NewPostPatchPanelPortsPatchPanelIDServiceUnavailable creates a PostPatchPanelPortsPatchPanelIDServiceUnavailable with default headers values
func (*PostPatchPanelPortsPatchPanelIDServiceUnavailable) Error ¶
func (o *PostPatchPanelPortsPatchPanelIDServiceUnavailable) Error() string
type PostPatchPanelPortsPatchPanelIDUnauthorized ¶
type PostPatchPanelPortsPatchPanelIDUnauthorized struct { }
PostPatchPanelPortsPatchPanelIDUnauthorized handles this case with default header values.
Unauthorized (Your credentials suck)
func NewPostPatchPanelPortsPatchPanelIDUnauthorized ¶
func NewPostPatchPanelPortsPatchPanelIDUnauthorized() *PostPatchPanelPortsPatchPanelIDUnauthorized
NewPostPatchPanelPortsPatchPanelIDUnauthorized creates a PostPatchPanelPortsPatchPanelIDUnauthorized with default headers values
func (*PostPatchPanelPortsPatchPanelIDUnauthorized) Error ¶
func (o *PostPatchPanelPortsPatchPanelIDUnauthorized) Error() string
Source Files ¶
- get_patch_panel_id_parameters.go
- get_patch_panel_id_responses.go
- get_patch_panel_models_parameters.go
- get_patch_panel_models_responses.go
- get_patch_panel_module_models_parameters.go
- get_patch_panel_module_models_responses.go
- get_patch_panel_ports_patch_panel_id_parameters.go
- get_patch_panel_ports_patch_panel_id_responses.go
- patch_panels_client.go
- post_patch_panel_models_parameters.go
- post_patch_panel_models_responses.go
- post_patch_panel_module_models_parameters.go
- post_patch_panel_module_models_responses.go
- post_patch_panel_ports_patch_panel_id_parameters.go
- post_patch_panel_ports_patch_panel_id_responses.go