patch_panels

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

func (*GetPatchPanelModelsOKBodyItems0) Validate

Validate validates this get patch panel models o k body items0

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

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

WithName adds the name to the get patch panel models params

func (*GetPatchPanelModelsParams) WithTimeout

WithTimeout adds the timeout to the get patch panel models params

func (*GetPatchPanelModelsParams) WriteToRequest

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

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

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

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

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

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

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

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

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 (*GetPatchPanelModuleModelsOK) GetPayload

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

func (*GetPatchPanelModuleModelsOKBodyItems0) Validate

Validate validates this get patch panel module models o k body items0

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

WithContext adds the context to the get patch panel module models params

func (*GetPatchPanelModuleModelsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get patch panel module models params

func (*GetPatchPanelModuleModelsParams) WithTimeout

WithTimeout adds the timeout to the get patch panel module models params

func (*GetPatchPanelModuleModelsParams) WriteToRequest

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

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

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

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

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

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

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

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

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 (*GetPatchPanelPortsPatchPanelIDOK) GetPayload

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

func (*GetPatchPanelPortsPatchPanelIDOKBodyItems0) Validate

Validate validates this get patch panel ports patch panel ID o k body items0

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

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

WithContext adds the context to the get patch panel ports patch panel id params

func (*GetPatchPanelPortsPatchPanelIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get patch panel ports patch panel id params

func (*GetPatchPanelPortsPatchPanelIDParams) WithPatchPanelID

WithPatchPanelID adds the patchPanelID to the get patch panel ports patch panel id params

func (*GetPatchPanelPortsPatchPanelIDParams) WithTimeout

WithTimeout adds the timeout to the get patch panel ports patch panel id params

func (*GetPatchPanelPortsPatchPanelIDParams) WriteToRequest

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

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

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

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

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

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

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

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

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

func (*PostPatchPanelModelsOKBody) Validate

func (o *PostPatchPanelModelsOKBody) Validate(formats strfmt.Registry) error

Validate validates this post patch panel models o k body

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

WithContext adds the context to the post patch panel models params

func (*PostPatchPanelModelsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post patch panel models params

func (*PostPatchPanelModelsParams) WithImgfile

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

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

WithTimeout adds the timeout to the post patch panel models params

func (*PostPatchPanelModelsParams) WithType

WithType adds the typeVar to the post patch panel models params

func (*PostPatchPanelModelsParams) WriteToRequest

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

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

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

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

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

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

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

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

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 (*PostPatchPanelModuleModelsOK) GetPayload

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

func (*PostPatchPanelModuleModelsOKBody) Validate

Validate validates this post patch panel module models o k body

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

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

WithContext adds the context to the post patch panel module models params

func (*PostPatchPanelModuleModelsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post patch panel module models params

func (*PostPatchPanelModuleModelsParams) WithName

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

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

WithPortType adds the portType to the post patch panel module models params

func (*PostPatchPanelModuleModelsParams) WithTimeout

WithTimeout adds the timeout to the post patch panel module models params

func (*PostPatchPanelModuleModelsParams) WriteToRequest

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

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

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

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

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

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

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

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

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 (*PostPatchPanelPortsPatchPanelIDOK) GetPayload

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

func (*PostPatchPanelPortsPatchPanelIDOKBodyItems0) Validate

Validate validates this post patch panel ports patch panel ID o k body items0

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

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

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

WithBackPort adds the backPort to the post patch panel ports patch panel id params

func (*PostPatchPanelPortsPatchPanelIDParams) WithBackSwitch

WithBackSwitch adds the backSwitch to the post patch panel ports patch panel id params

func (*PostPatchPanelPortsPatchPanelIDParams) WithBackSwitchport

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

WithCableType adds the cableType to the post patch panel ports patch panel id params

func (*PostPatchPanelPortsPatchPanelIDParams) WithClearBack

WithClearBack adds the clearBack to the post patch panel ports patch panel id params

func (*PostPatchPanelPortsPatchPanelIDParams) WithClearFront

WithClearFront adds the clearFront to the post patch panel ports patch panel id params

func (*PostPatchPanelPortsPatchPanelIDParams) WithContext

WithContext adds the context to the post patch panel ports patch panel id params

func (*PostPatchPanelPortsPatchPanelIDParams) WithFrontPatchPanel

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

WithFrontPort adds the frontPort to the post patch panel ports patch panel id params

func (*PostPatchPanelPortsPatchPanelIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post patch panel ports patch panel id params

func (*PostPatchPanelPortsPatchPanelIDParams) WithLabel

WithLabel adds the label to the post patch panel ports patch panel id params

func (*PostPatchPanelPortsPatchPanelIDParams) WithMacAddress

WithMacAddress adds the macAddress to the post patch panel ports patch panel id params

func (*PostPatchPanelPortsPatchPanelIDParams) WithMacID

WithMacID adds the macID to the post patch panel ports patch panel id params

func (*PostPatchPanelPortsPatchPanelIDParams) WithModuleSlot

WithModuleSlot adds the moduleSlot to the post patch panel ports patch panel id params

func (*PostPatchPanelPortsPatchPanelIDParams) WithNumber

WithNumber adds the number to the post patch panel ports patch panel id params

func (*PostPatchPanelPortsPatchPanelIDParams) WithObjLabel1

WithObjLabel1 adds the objLabel1 to the post patch panel ports patch panel id params

func (*PostPatchPanelPortsPatchPanelIDParams) WithObjLabel2

WithObjLabel2 adds the objLabel2 to the post patch panel ports patch panel id params

func (*PostPatchPanelPortsPatchPanelIDParams) WithPatchPanel

WithPatchPanel adds the patchPanel to the post patch panel ports patch panel id params

func (*PostPatchPanelPortsPatchPanelIDParams) WithPatchPanelID

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

WithSwitch adds the switchVar to the post patch panel ports patch panel id params

func (*PostPatchPanelPortsPatchPanelIDParams) WithSwitchport

WithSwitchport adds the switchport to the post patch panel ports patch panel id params

func (*PostPatchPanelPortsPatchPanelIDParams) WithSwitchportID

WithSwitchportID adds the switchportID to the post patch panel ports patch panel id params

func (*PostPatchPanelPortsPatchPanelIDParams) WithTimeout

WithTimeout adds the timeout to the post patch panel ports patch panel id params

func (*PostPatchPanelPortsPatchPanelIDParams) WriteToRequest

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

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

Jump to

Keyboard shortcuts

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