telco_circuits

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 12 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 telco circuits API

func (*Client) DeleteCircuit

func (a *Client) DeleteCircuit(params *DeleteCircuitParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCircuitOK, error)

DeleteCircuit deletes circuit

This API is used to delete the circuit with the circuit id supplied as the required argument.

func (*Client) GetCircuits

func (a *Client) GetCircuits(params *GetCircuitsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCircuitsOK, error)

GetCircuits gets all circuits

Get all Circuits

func (*Client) PostUpdateCircuits

func (a *Client) PostUpdateCircuits(params *PostUpdateCircuitsParams, authInfo runtime.ClientAuthInfoWriter) (*PostUpdateCircuitsOK, error)

PostUpdateCircuits creates update circuits

Create / Update Circuits

func (*Client) PutCustomFields

func (a *Client) PutCustomFields(params *PutCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter) (*PutCustomFieldsOK, error)

PutCustomFields creates update custom fields for circuits added in v5 9 3

Custom Fields for circuits. Either ID or circuit_id is required.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteCircuit(params *DeleteCircuitParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCircuitOK, error)

	GetCircuits(params *GetCircuitsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCircuitsOK, error)

	PostUpdateCircuits(params *PostUpdateCircuitsParams, authInfo runtime.ClientAuthInfoWriter) (*PostUpdateCircuitsOK, error)

	PutCustomFields(params *PutCustomFieldsParams, authInfo runtime.ClientAuthInfoWriter) (*PutCustomFieldsOK, 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 telco circuits API client.

type DeleteCircuitBadRequest

type DeleteCircuitBadRequest struct {
}

DeleteCircuitBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewDeleteCircuitBadRequest

func NewDeleteCircuitBadRequest() *DeleteCircuitBadRequest

NewDeleteCircuitBadRequest creates a DeleteCircuitBadRequest with default headers values

func (*DeleteCircuitBadRequest) Error

func (o *DeleteCircuitBadRequest) Error() string

type DeleteCircuitForbidden

type DeleteCircuitForbidden struct {
}

DeleteCircuitForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewDeleteCircuitForbidden

func NewDeleteCircuitForbidden() *DeleteCircuitForbidden

NewDeleteCircuitForbidden creates a DeleteCircuitForbidden with default headers values

func (*DeleteCircuitForbidden) Error

func (o *DeleteCircuitForbidden) Error() string

type DeleteCircuitGone

type DeleteCircuitGone struct {
}

DeleteCircuitGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewDeleteCircuitGone

func NewDeleteCircuitGone() *DeleteCircuitGone

NewDeleteCircuitGone creates a DeleteCircuitGone with default headers values

func (*DeleteCircuitGone) Error

func (o *DeleteCircuitGone) Error() string

type DeleteCircuitInternalServerError

type DeleteCircuitInternalServerError struct {
}

DeleteCircuitInternalServerError 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 NewDeleteCircuitInternalServerError

func NewDeleteCircuitInternalServerError() *DeleteCircuitInternalServerError

NewDeleteCircuitInternalServerError creates a DeleteCircuitInternalServerError with default headers values

func (*DeleteCircuitInternalServerError) Error

type DeleteCircuitMethodNotAllowed

type DeleteCircuitMethodNotAllowed struct {
}

DeleteCircuitMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewDeleteCircuitMethodNotAllowed

func NewDeleteCircuitMethodNotAllowed() *DeleteCircuitMethodNotAllowed

NewDeleteCircuitMethodNotAllowed creates a DeleteCircuitMethodNotAllowed with default headers values

func (*DeleteCircuitMethodNotAllowed) Error

type DeleteCircuitNotFound

type DeleteCircuitNotFound struct {
}

DeleteCircuitNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewDeleteCircuitNotFound

func NewDeleteCircuitNotFound() *DeleteCircuitNotFound

NewDeleteCircuitNotFound creates a DeleteCircuitNotFound with default headers values

func (*DeleteCircuitNotFound) Error

func (o *DeleteCircuitNotFound) Error() string

type DeleteCircuitOK

type DeleteCircuitOK struct {
	Payload *DeleteCircuitOKBody
}

DeleteCircuitOK handles this case with default header values.

The above command returns results like this:

func NewDeleteCircuitOK

func NewDeleteCircuitOK() *DeleteCircuitOK

NewDeleteCircuitOK creates a DeleteCircuitOK with default headers values

func (*DeleteCircuitOK) Error

func (o *DeleteCircuitOK) Error() string

func (*DeleteCircuitOK) GetPayload

func (o *DeleteCircuitOK) GetPayload() *DeleteCircuitOKBody

type DeleteCircuitOKBody

type DeleteCircuitOKBody struct {

	// deleted
	Deleted interface{} `json:"deleted,omitempty"`

	// id
	ID interface{} `json:"id,omitempty"`
}

DeleteCircuitOKBody delete circuit o k body swagger:model DeleteCircuitOKBody

func (*DeleteCircuitOKBody) MarshalBinary

func (o *DeleteCircuitOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteCircuitOKBody) UnmarshalBinary

func (o *DeleteCircuitOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteCircuitOKBody) Validate

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

Validate validates this delete circuit o k body

type DeleteCircuitParams

type DeleteCircuitParams struct {

	/*ID
	  circuit id

	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteCircuitParams contains all the parameters to send to the API endpoint for the delete circuit operation typically these are written to a http.Request

func NewDeleteCircuitParams

func NewDeleteCircuitParams() *DeleteCircuitParams

NewDeleteCircuitParams creates a new DeleteCircuitParams object with the default values initialized.

func NewDeleteCircuitParamsWithContext

func NewDeleteCircuitParamsWithContext(ctx context.Context) *DeleteCircuitParams

NewDeleteCircuitParamsWithContext creates a new DeleteCircuitParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteCircuitParamsWithHTTPClient

func NewDeleteCircuitParamsWithHTTPClient(client *http.Client) *DeleteCircuitParams

NewDeleteCircuitParamsWithHTTPClient creates a new DeleteCircuitParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteCircuitParamsWithTimeout

func NewDeleteCircuitParamsWithTimeout(timeout time.Duration) *DeleteCircuitParams

NewDeleteCircuitParamsWithTimeout creates a new DeleteCircuitParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteCircuitParams) SetContext

func (o *DeleteCircuitParams) SetContext(ctx context.Context)

SetContext adds the context to the delete circuit params

func (*DeleteCircuitParams) SetHTTPClient

func (o *DeleteCircuitParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete circuit params

func (*DeleteCircuitParams) SetID

func (o *DeleteCircuitParams) SetID(id int64)

SetID adds the id to the delete circuit params

func (*DeleteCircuitParams) SetTimeout

func (o *DeleteCircuitParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete circuit params

func (*DeleteCircuitParams) WithContext

WithContext adds the context to the delete circuit params

func (*DeleteCircuitParams) WithHTTPClient

func (o *DeleteCircuitParams) WithHTTPClient(client *http.Client) *DeleteCircuitParams

WithHTTPClient adds the HTTPClient to the delete circuit params

func (*DeleteCircuitParams) WithID

WithID adds the id to the delete circuit params

func (*DeleteCircuitParams) WithTimeout

func (o *DeleteCircuitParams) WithTimeout(timeout time.Duration) *DeleteCircuitParams

WithTimeout adds the timeout to the delete circuit params

func (*DeleteCircuitParams) WriteToRequest

func (o *DeleteCircuitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteCircuitReader

type DeleteCircuitReader struct {
	// contains filtered or unexported fields
}

DeleteCircuitReader is a Reader for the DeleteCircuit structure.

func (*DeleteCircuitReader) ReadResponse

func (o *DeleteCircuitReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteCircuitServiceUnavailable

type DeleteCircuitServiceUnavailable struct {
}

DeleteCircuitServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewDeleteCircuitServiceUnavailable

func NewDeleteCircuitServiceUnavailable() *DeleteCircuitServiceUnavailable

NewDeleteCircuitServiceUnavailable creates a DeleteCircuitServiceUnavailable with default headers values

func (*DeleteCircuitServiceUnavailable) Error

type DeleteCircuitUnauthorized

type DeleteCircuitUnauthorized struct {
}

DeleteCircuitUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewDeleteCircuitUnauthorized

func NewDeleteCircuitUnauthorized() *DeleteCircuitUnauthorized

NewDeleteCircuitUnauthorized creates a DeleteCircuitUnauthorized with default headers values

func (*DeleteCircuitUnauthorized) Error

func (o *DeleteCircuitUnauthorized) Error() string

type GetCircuitsBadRequest

type GetCircuitsBadRequest struct {
}

GetCircuitsBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewGetCircuitsBadRequest

func NewGetCircuitsBadRequest() *GetCircuitsBadRequest

NewGetCircuitsBadRequest creates a GetCircuitsBadRequest with default headers values

func (*GetCircuitsBadRequest) Error

func (o *GetCircuitsBadRequest) Error() string

type GetCircuitsForbidden

type GetCircuitsForbidden struct {
}

GetCircuitsForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewGetCircuitsForbidden

func NewGetCircuitsForbidden() *GetCircuitsForbidden

NewGetCircuitsForbidden creates a GetCircuitsForbidden with default headers values

func (*GetCircuitsForbidden) Error

func (o *GetCircuitsForbidden) Error() string

type GetCircuitsGone

type GetCircuitsGone struct {
}

GetCircuitsGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewGetCircuitsGone

func NewGetCircuitsGone() *GetCircuitsGone

NewGetCircuitsGone creates a GetCircuitsGone with default headers values

func (*GetCircuitsGone) Error

func (o *GetCircuitsGone) Error() string

type GetCircuitsInternalServerError

type GetCircuitsInternalServerError struct {
}

GetCircuitsInternalServerError 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 NewGetCircuitsInternalServerError

func NewGetCircuitsInternalServerError() *GetCircuitsInternalServerError

NewGetCircuitsInternalServerError creates a GetCircuitsInternalServerError with default headers values

func (*GetCircuitsInternalServerError) Error

type GetCircuitsMethodNotAllowed

type GetCircuitsMethodNotAllowed struct {
}

GetCircuitsMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewGetCircuitsMethodNotAllowed

func NewGetCircuitsMethodNotAllowed() *GetCircuitsMethodNotAllowed

NewGetCircuitsMethodNotAllowed creates a GetCircuitsMethodNotAllowed with default headers values

func (*GetCircuitsMethodNotAllowed) Error

type GetCircuitsNotFound

type GetCircuitsNotFound struct {
}

GetCircuitsNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewGetCircuitsNotFound

func NewGetCircuitsNotFound() *GetCircuitsNotFound

NewGetCircuitsNotFound creates a GetCircuitsNotFound with default headers values

func (*GetCircuitsNotFound) Error

func (o *GetCircuitsNotFound) Error() string

type GetCircuitsOK

type GetCircuitsOK struct {
	Payload *GetCircuitsOKBody
}

GetCircuitsOK handles this case with default header values.

The above command returns results like this:

func NewGetCircuitsOK

func NewGetCircuitsOK() *GetCircuitsOK

NewGetCircuitsOK creates a GetCircuitsOK with default headers values

func (*GetCircuitsOK) Error

func (o *GetCircuitsOK) Error() string

func (*GetCircuitsOK) GetPayload

func (o *GetCircuitsOK) GetPayload() *GetCircuitsOKBody

type GetCircuitsOKBody

type GetCircuitsOKBody struct {

	// circuits
	Circuits []*models.GetAllCircuits `json:"circuits"`
}

GetCircuitsOKBody get circuits o k body swagger:model GetCircuitsOKBody

func (*GetCircuitsOKBody) MarshalBinary

func (o *GetCircuitsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetCircuitsOKBody) UnmarshalBinary

func (o *GetCircuitsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetCircuitsOKBody) Validate

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

Validate validates this get circuits o k body

type GetCircuitsParams

type GetCircuitsParams struct {

	/*ID
	  ID for the cricuit (D42 ID)

	*/
	ID *string
	/*Bandwidth
	  bandwidth in kbps (mutiply factor of 1024)

	*/
	Bandwidth *string
	/*CircuitID
	  circuit id

	*/
	CircuitID *string
	/*Customer
	  filter by customer name

	*/
	Customer *string
	/*Dmarc
	  DMARC name

	*/
	Dmarc *string
	/*DramcID
	  ID of the DMARC

	*/
	DramcID *string
	/*EndPointCircuitID
	  if end_point type is circuit, this is circuit_id of the circuit. Absent otherwise

	*/
	EndPointCircuitID *string
	/*EndPointDevice
	  if end_point type is device, this is name of the device. Absent otherwise

	*/
	EndPointDevice *string
	/*EndPointID
	  ID of the end point

	*/
	EndPointID *string
	/*EndPointPatchPanel
	  if end_point type is patch_panel_port, this is name of the patch panel. Absent otherwise

	*/
	EndPointPatchPanel *string
	/*EndPointPatchPanelID
	  if end_point type is patch_panel_port, this is ID of the patch panel. Absent otherwise

	*/
	EndPointPatchPanelID *string
	/*EndPointPatchPanelPort
	  if end_point type is patch_panel_port, this is name of the patch panel port. Absent otherwise

	*/
	EndPointPatchPanelPort *string
	/*EndPointSwitch
	  if end_point type is switchport, this is name of the switch. Absent otherwise

	*/
	EndPointSwitch *string
	/*EndPointSwitchport
	  if end_point type is switchport, this is name of the switch port. Absent otherwise

	*/
	EndPointSwitchport *string
	/*EndPointType
	  Type of end point.

	*/
	EndPointType *string
	/*EndPointVendor
	  if end_point type is vendofr, this is name of the vendor. Absent otherwise

	*/
	EndPointVendor *string
	/*Notes
	  Any additional notes

	*/
	Notes *string
	/*OrderDate
	  Order number

	*/
	OrderDate *string
	/*OriginCircuitID
	  if origin type is circuit, this is circuit_id of the circuit. Absent otherwise

	*/
	OriginCircuitID *string
	/*OriginDevice
	  if origin type is device, this is name of the device. Absent otherwise

	*/
	OriginDevice *string
	/*OriginID
	  ID of the origin point

	*/
	OriginID *string
	/*OriginPatchPanel
	  if origin type is patch_panel_port, this is name of the patch panel. Absent otherwise

	*/
	OriginPatchPanel *string
	/*OriginPatchPanelID
	  if origin type is patch_panel_port, this is ID of the patch panel. Absent otherwise

	*/
	OriginPatchPanelID *string
	/*OriginPatchPanelPort
	  if origin type is patch_panel_port, this is name of the patch panel port. Absent otherwise

	*/
	OriginPatchPanelPort *string
	/*OriginSwitch
	  if origin type is switchport, this is name of the switch. Absent otherwise

	*/
	OriginSwitch *string
	/*OriginSwitchport
	  if origin type is switchport, this is name of the switch port. Absent otherwise

	*/
	OriginSwitchport *string
	/*OriginType
	  Type of origin point.

	*/
	OriginType *string
	/*OriginVendor
	  if origin type is vendor, this is name of the vendor. Absent otherwise

	*/
	OriginVendor *string
	/*ProvisionDate
	  Text field.

	*/
	ProvisionDate *string
	/*TurnOnDate*/
	TurnOnDate *string
	/*Type*/
	Type *string
	/*Vendor
	  The cloud vendor

	*/
	Vendor *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCircuitsParams contains all the parameters to send to the API endpoint for the get circuits operation typically these are written to a http.Request

func NewGetCircuitsParams

func NewGetCircuitsParams() *GetCircuitsParams

NewGetCircuitsParams creates a new GetCircuitsParams object with the default values initialized.

func NewGetCircuitsParamsWithContext

func NewGetCircuitsParamsWithContext(ctx context.Context) *GetCircuitsParams

NewGetCircuitsParamsWithContext creates a new GetCircuitsParams object with the default values initialized, and the ability to set a context for a request

func NewGetCircuitsParamsWithHTTPClient

func NewGetCircuitsParamsWithHTTPClient(client *http.Client) *GetCircuitsParams

NewGetCircuitsParamsWithHTTPClient creates a new GetCircuitsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetCircuitsParamsWithTimeout

func NewGetCircuitsParamsWithTimeout(timeout time.Duration) *GetCircuitsParams

NewGetCircuitsParamsWithTimeout creates a new GetCircuitsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetCircuitsParams) SetBandwidth

func (o *GetCircuitsParams) SetBandwidth(bandwidth *string)

SetBandwidth adds the bandwidth to the get circuits params

func (*GetCircuitsParams) SetCircuitID

func (o *GetCircuitsParams) SetCircuitID(circuitID *string)

SetCircuitID adds the circuitId to the get circuits params

func (*GetCircuitsParams) SetContext

func (o *GetCircuitsParams) SetContext(ctx context.Context)

SetContext adds the context to the get circuits params

func (*GetCircuitsParams) SetCustomer

func (o *GetCircuitsParams) SetCustomer(customer *string)

SetCustomer adds the customer to the get circuits params

func (*GetCircuitsParams) SetDmarc

func (o *GetCircuitsParams) SetDmarc(dmarc *string)

SetDmarc adds the dmarc to the get circuits params

func (*GetCircuitsParams) SetDramcID

func (o *GetCircuitsParams) SetDramcID(dramcID *string)

SetDramcID adds the dramcId to the get circuits params

func (*GetCircuitsParams) SetEndPointCircuitID

func (o *GetCircuitsParams) SetEndPointCircuitID(endPointCircuitID *string)

SetEndPointCircuitID adds the endPointCircuitId to the get circuits params

func (*GetCircuitsParams) SetEndPointDevice

func (o *GetCircuitsParams) SetEndPointDevice(endPointDevice *string)

SetEndPointDevice adds the endPointDevice to the get circuits params

func (*GetCircuitsParams) SetEndPointID

func (o *GetCircuitsParams) SetEndPointID(endPointID *string)

SetEndPointID adds the endPointId to the get circuits params

func (*GetCircuitsParams) SetEndPointPatchPanel

func (o *GetCircuitsParams) SetEndPointPatchPanel(endPointPatchPanel *string)

SetEndPointPatchPanel adds the endPointPatchPanel to the get circuits params

func (*GetCircuitsParams) SetEndPointPatchPanelID

func (o *GetCircuitsParams) SetEndPointPatchPanelID(endPointPatchPanelID *string)

SetEndPointPatchPanelID adds the endPointPatchPanelId to the get circuits params

func (*GetCircuitsParams) SetEndPointPatchPanelPort

func (o *GetCircuitsParams) SetEndPointPatchPanelPort(endPointPatchPanelPort *string)

SetEndPointPatchPanelPort adds the endPointPatchPanelPort to the get circuits params

func (*GetCircuitsParams) SetEndPointSwitch

func (o *GetCircuitsParams) SetEndPointSwitch(endPointSwitch *string)

SetEndPointSwitch adds the endPointSwitch to the get circuits params

func (*GetCircuitsParams) SetEndPointSwitchport

func (o *GetCircuitsParams) SetEndPointSwitchport(endPointSwitchport *string)

SetEndPointSwitchport adds the endPointSwitchport to the get circuits params

func (*GetCircuitsParams) SetEndPointType

func (o *GetCircuitsParams) SetEndPointType(endPointType *string)

SetEndPointType adds the endPointType to the get circuits params

func (*GetCircuitsParams) SetEndPointVendor

func (o *GetCircuitsParams) SetEndPointVendor(endPointVendor *string)

SetEndPointVendor adds the endPointVendor to the get circuits params

func (*GetCircuitsParams) SetHTTPClient

func (o *GetCircuitsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get circuits params

func (*GetCircuitsParams) SetID

func (o *GetCircuitsParams) SetID(id *string)

SetID adds the id to the get circuits params

func (*GetCircuitsParams) SetNotes

func (o *GetCircuitsParams) SetNotes(notes *string)

SetNotes adds the notes to the get circuits params

func (*GetCircuitsParams) SetOrderDate

func (o *GetCircuitsParams) SetOrderDate(orderDate *string)

SetOrderDate adds the orderDate to the get circuits params

func (*GetCircuitsParams) SetOriginCircuitID

func (o *GetCircuitsParams) SetOriginCircuitID(originCircuitID *string)

SetOriginCircuitID adds the originCircuitId to the get circuits params

func (*GetCircuitsParams) SetOriginDevice

func (o *GetCircuitsParams) SetOriginDevice(originDevice *string)

SetOriginDevice adds the originDevice to the get circuits params

func (*GetCircuitsParams) SetOriginID

func (o *GetCircuitsParams) SetOriginID(originID *string)

SetOriginID adds the originId to the get circuits params

func (*GetCircuitsParams) SetOriginPatchPanel

func (o *GetCircuitsParams) SetOriginPatchPanel(originPatchPanel *string)

SetOriginPatchPanel adds the originPatchPanel to the get circuits params

func (*GetCircuitsParams) SetOriginPatchPanelID

func (o *GetCircuitsParams) SetOriginPatchPanelID(originPatchPanelID *string)

SetOriginPatchPanelID adds the originPatchPanelId to the get circuits params

func (*GetCircuitsParams) SetOriginPatchPanelPort

func (o *GetCircuitsParams) SetOriginPatchPanelPort(originPatchPanelPort *string)

SetOriginPatchPanelPort adds the originPatchPanelPort to the get circuits params

func (*GetCircuitsParams) SetOriginSwitch

func (o *GetCircuitsParams) SetOriginSwitch(originSwitch *string)

SetOriginSwitch adds the originSwitch to the get circuits params

func (*GetCircuitsParams) SetOriginSwitchport

func (o *GetCircuitsParams) SetOriginSwitchport(originSwitchport *string)

SetOriginSwitchport adds the originSwitchport to the get circuits params

func (*GetCircuitsParams) SetOriginType

func (o *GetCircuitsParams) SetOriginType(originType *string)

SetOriginType adds the originType to the get circuits params

func (*GetCircuitsParams) SetOriginVendor

func (o *GetCircuitsParams) SetOriginVendor(originVendor *string)

SetOriginVendor adds the originVendor to the get circuits params

func (*GetCircuitsParams) SetProvisionDate

func (o *GetCircuitsParams) SetProvisionDate(provisionDate *string)

SetProvisionDate adds the provisionDate to the get circuits params

func (*GetCircuitsParams) SetTimeout

func (o *GetCircuitsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get circuits params

func (*GetCircuitsParams) SetTurnOnDate

func (o *GetCircuitsParams) SetTurnOnDate(turnOnDate *string)

SetTurnOnDate adds the turnOnDate to the get circuits params

func (*GetCircuitsParams) SetType

func (o *GetCircuitsParams) SetType(typeVar *string)

SetType adds the type to the get circuits params

func (*GetCircuitsParams) SetVendor

func (o *GetCircuitsParams) SetVendor(vendor *string)

SetVendor adds the vendor to the get circuits params

func (*GetCircuitsParams) WithBandwidth

func (o *GetCircuitsParams) WithBandwidth(bandwidth *string) *GetCircuitsParams

WithBandwidth adds the bandwidth to the get circuits params

func (*GetCircuitsParams) WithCircuitID

func (o *GetCircuitsParams) WithCircuitID(circuitID *string) *GetCircuitsParams

WithCircuitID adds the circuitID to the get circuits params

func (*GetCircuitsParams) WithContext

func (o *GetCircuitsParams) WithContext(ctx context.Context) *GetCircuitsParams

WithContext adds the context to the get circuits params

func (*GetCircuitsParams) WithCustomer

func (o *GetCircuitsParams) WithCustomer(customer *string) *GetCircuitsParams

WithCustomer adds the customer to the get circuits params

func (*GetCircuitsParams) WithDmarc

func (o *GetCircuitsParams) WithDmarc(dmarc *string) *GetCircuitsParams

WithDmarc adds the dmarc to the get circuits params

func (*GetCircuitsParams) WithDramcID

func (o *GetCircuitsParams) WithDramcID(dramcID *string) *GetCircuitsParams

WithDramcID adds the dramcID to the get circuits params

func (*GetCircuitsParams) WithEndPointCircuitID

func (o *GetCircuitsParams) WithEndPointCircuitID(endPointCircuitID *string) *GetCircuitsParams

WithEndPointCircuitID adds the endPointCircuitID to the get circuits params

func (*GetCircuitsParams) WithEndPointDevice

func (o *GetCircuitsParams) WithEndPointDevice(endPointDevice *string) *GetCircuitsParams

WithEndPointDevice adds the endPointDevice to the get circuits params

func (*GetCircuitsParams) WithEndPointID

func (o *GetCircuitsParams) WithEndPointID(endPointID *string) *GetCircuitsParams

WithEndPointID adds the endPointID to the get circuits params

func (*GetCircuitsParams) WithEndPointPatchPanel

func (o *GetCircuitsParams) WithEndPointPatchPanel(endPointPatchPanel *string) *GetCircuitsParams

WithEndPointPatchPanel adds the endPointPatchPanel to the get circuits params

func (*GetCircuitsParams) WithEndPointPatchPanelID

func (o *GetCircuitsParams) WithEndPointPatchPanelID(endPointPatchPanelID *string) *GetCircuitsParams

WithEndPointPatchPanelID adds the endPointPatchPanelID to the get circuits params

func (*GetCircuitsParams) WithEndPointPatchPanelPort

func (o *GetCircuitsParams) WithEndPointPatchPanelPort(endPointPatchPanelPort *string) *GetCircuitsParams

WithEndPointPatchPanelPort adds the endPointPatchPanelPort to the get circuits params

func (*GetCircuitsParams) WithEndPointSwitch

func (o *GetCircuitsParams) WithEndPointSwitch(endPointSwitch *string) *GetCircuitsParams

WithEndPointSwitch adds the endPointSwitch to the get circuits params

func (*GetCircuitsParams) WithEndPointSwitchport

func (o *GetCircuitsParams) WithEndPointSwitchport(endPointSwitchport *string) *GetCircuitsParams

WithEndPointSwitchport adds the endPointSwitchport to the get circuits params

func (*GetCircuitsParams) WithEndPointType

func (o *GetCircuitsParams) WithEndPointType(endPointType *string) *GetCircuitsParams

WithEndPointType adds the endPointType to the get circuits params

func (*GetCircuitsParams) WithEndPointVendor

func (o *GetCircuitsParams) WithEndPointVendor(endPointVendor *string) *GetCircuitsParams

WithEndPointVendor adds the endPointVendor to the get circuits params

func (*GetCircuitsParams) WithHTTPClient

func (o *GetCircuitsParams) WithHTTPClient(client *http.Client) *GetCircuitsParams

WithHTTPClient adds the HTTPClient to the get circuits params

func (*GetCircuitsParams) WithID

func (o *GetCircuitsParams) WithID(id *string) *GetCircuitsParams

WithID adds the id to the get circuits params

func (*GetCircuitsParams) WithNotes

func (o *GetCircuitsParams) WithNotes(notes *string) *GetCircuitsParams

WithNotes adds the notes to the get circuits params

func (*GetCircuitsParams) WithOrderDate

func (o *GetCircuitsParams) WithOrderDate(orderDate *string) *GetCircuitsParams

WithOrderDate adds the orderDate to the get circuits params

func (*GetCircuitsParams) WithOriginCircuitID

func (o *GetCircuitsParams) WithOriginCircuitID(originCircuitID *string) *GetCircuitsParams

WithOriginCircuitID adds the originCircuitID to the get circuits params

func (*GetCircuitsParams) WithOriginDevice

func (o *GetCircuitsParams) WithOriginDevice(originDevice *string) *GetCircuitsParams

WithOriginDevice adds the originDevice to the get circuits params

func (*GetCircuitsParams) WithOriginID

func (o *GetCircuitsParams) WithOriginID(originID *string) *GetCircuitsParams

WithOriginID adds the originID to the get circuits params

func (*GetCircuitsParams) WithOriginPatchPanel

func (o *GetCircuitsParams) WithOriginPatchPanel(originPatchPanel *string) *GetCircuitsParams

WithOriginPatchPanel adds the originPatchPanel to the get circuits params

func (*GetCircuitsParams) WithOriginPatchPanelID

func (o *GetCircuitsParams) WithOriginPatchPanelID(originPatchPanelID *string) *GetCircuitsParams

WithOriginPatchPanelID adds the originPatchPanelID to the get circuits params

func (*GetCircuitsParams) WithOriginPatchPanelPort

func (o *GetCircuitsParams) WithOriginPatchPanelPort(originPatchPanelPort *string) *GetCircuitsParams

WithOriginPatchPanelPort adds the originPatchPanelPort to the get circuits params

func (*GetCircuitsParams) WithOriginSwitch

func (o *GetCircuitsParams) WithOriginSwitch(originSwitch *string) *GetCircuitsParams

WithOriginSwitch adds the originSwitch to the get circuits params

func (*GetCircuitsParams) WithOriginSwitchport

func (o *GetCircuitsParams) WithOriginSwitchport(originSwitchport *string) *GetCircuitsParams

WithOriginSwitchport adds the originSwitchport to the get circuits params

func (*GetCircuitsParams) WithOriginType

func (o *GetCircuitsParams) WithOriginType(originType *string) *GetCircuitsParams

WithOriginType adds the originType to the get circuits params

func (*GetCircuitsParams) WithOriginVendor

func (o *GetCircuitsParams) WithOriginVendor(originVendor *string) *GetCircuitsParams

WithOriginVendor adds the originVendor to the get circuits params

func (*GetCircuitsParams) WithProvisionDate

func (o *GetCircuitsParams) WithProvisionDate(provisionDate *string) *GetCircuitsParams

WithProvisionDate adds the provisionDate to the get circuits params

func (*GetCircuitsParams) WithTimeout

func (o *GetCircuitsParams) WithTimeout(timeout time.Duration) *GetCircuitsParams

WithTimeout adds the timeout to the get circuits params

func (*GetCircuitsParams) WithTurnOnDate

func (o *GetCircuitsParams) WithTurnOnDate(turnOnDate *string) *GetCircuitsParams

WithTurnOnDate adds the turnOnDate to the get circuits params

func (*GetCircuitsParams) WithType

func (o *GetCircuitsParams) WithType(typeVar *string) *GetCircuitsParams

WithType adds the typeVar to the get circuits params

func (*GetCircuitsParams) WithVendor

func (o *GetCircuitsParams) WithVendor(vendor *string) *GetCircuitsParams

WithVendor adds the vendor to the get circuits params

func (*GetCircuitsParams) WriteToRequest

func (o *GetCircuitsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetCircuitsReader

type GetCircuitsReader struct {
	// contains filtered or unexported fields
}

GetCircuitsReader is a Reader for the GetCircuits structure.

func (*GetCircuitsReader) ReadResponse

func (o *GetCircuitsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCircuitsServiceUnavailable

type GetCircuitsServiceUnavailable struct {
}

GetCircuitsServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewGetCircuitsServiceUnavailable

func NewGetCircuitsServiceUnavailable() *GetCircuitsServiceUnavailable

NewGetCircuitsServiceUnavailable creates a GetCircuitsServiceUnavailable with default headers values

func (*GetCircuitsServiceUnavailable) Error

type GetCircuitsUnauthorized

type GetCircuitsUnauthorized struct {
}

GetCircuitsUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewGetCircuitsUnauthorized

func NewGetCircuitsUnauthorized() *GetCircuitsUnauthorized

NewGetCircuitsUnauthorized creates a GetCircuitsUnauthorized with default headers values

func (*GetCircuitsUnauthorized) Error

func (o *GetCircuitsUnauthorized) Error() string

type PostUpdateCircuitsBadRequest

type PostUpdateCircuitsBadRequest struct {
}

PostUpdateCircuitsBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPostUpdateCircuitsBadRequest

func NewPostUpdateCircuitsBadRequest() *PostUpdateCircuitsBadRequest

NewPostUpdateCircuitsBadRequest creates a PostUpdateCircuitsBadRequest with default headers values

func (*PostUpdateCircuitsBadRequest) Error

type PostUpdateCircuitsForbidden

type PostUpdateCircuitsForbidden struct {
}

PostUpdateCircuitsForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPostUpdateCircuitsForbidden

func NewPostUpdateCircuitsForbidden() *PostUpdateCircuitsForbidden

NewPostUpdateCircuitsForbidden creates a PostUpdateCircuitsForbidden with default headers values

func (*PostUpdateCircuitsForbidden) Error

type PostUpdateCircuitsGone

type PostUpdateCircuitsGone struct {
}

PostUpdateCircuitsGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewPostUpdateCircuitsGone

func NewPostUpdateCircuitsGone() *PostUpdateCircuitsGone

NewPostUpdateCircuitsGone creates a PostUpdateCircuitsGone with default headers values

func (*PostUpdateCircuitsGone) Error

func (o *PostUpdateCircuitsGone) Error() string

type PostUpdateCircuitsInternalServerError

type PostUpdateCircuitsInternalServerError struct {
}

PostUpdateCircuitsInternalServerError 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 NewPostUpdateCircuitsInternalServerError

func NewPostUpdateCircuitsInternalServerError() *PostUpdateCircuitsInternalServerError

NewPostUpdateCircuitsInternalServerError creates a PostUpdateCircuitsInternalServerError with default headers values

func (*PostUpdateCircuitsInternalServerError) Error

type PostUpdateCircuitsMethodNotAllowed

type PostUpdateCircuitsMethodNotAllowed struct {
}

PostUpdateCircuitsMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewPostUpdateCircuitsMethodNotAllowed

func NewPostUpdateCircuitsMethodNotAllowed() *PostUpdateCircuitsMethodNotAllowed

NewPostUpdateCircuitsMethodNotAllowed creates a PostUpdateCircuitsMethodNotAllowed with default headers values

func (*PostUpdateCircuitsMethodNotAllowed) Error

type PostUpdateCircuitsNotFound

type PostUpdateCircuitsNotFound struct {
}

PostUpdateCircuitsNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPostUpdateCircuitsNotFound

func NewPostUpdateCircuitsNotFound() *PostUpdateCircuitsNotFound

NewPostUpdateCircuitsNotFound creates a PostUpdateCircuitsNotFound with default headers values

func (*PostUpdateCircuitsNotFound) Error

type PostUpdateCircuitsOK

type PostUpdateCircuitsOK struct {
	Payload *PostUpdateCircuitsOKBody
}

PostUpdateCircuitsOK handles this case with default header values.

The above command returns results like this:

func NewPostUpdateCircuitsOK

func NewPostUpdateCircuitsOK() *PostUpdateCircuitsOK

NewPostUpdateCircuitsOK creates a PostUpdateCircuitsOK with default headers values

func (*PostUpdateCircuitsOK) Error

func (o *PostUpdateCircuitsOK) Error() string

func (*PostUpdateCircuitsOK) GetPayload

type PostUpdateCircuitsOKBody

type PostUpdateCircuitsOKBody struct {

	// code
	Code interface{} `json:"code,omitempty"`

	// msg
	Msg interface{} `json:"msg,omitempty"`
}

PostUpdateCircuitsOKBody post update circuits o k body swagger:model PostUpdateCircuitsOKBody

func (*PostUpdateCircuitsOKBody) MarshalBinary

func (o *PostUpdateCircuitsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostUpdateCircuitsOKBody) UnmarshalBinary

func (o *PostUpdateCircuitsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostUpdateCircuitsOKBody) Validate

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

Validate validates this post update circuits o k body

type PostUpdateCircuitsParams

type PostUpdateCircuitsParams struct {

	/*ID
	  ID for the specific circuit (D42 ID)

	*/
	ID *string
	/*Bandwidth
	  bandwidth in kbps (multiply factor of 1024)

	*/
	Bandwidth *string
	/*CircuitID
	  general circuit ID

	*/
	CircuitID *string
	/*Customer
	  customer name

	*/
	Customer *string
	/*Dmarc
	  name of the DMARC

	*/
	Dmarc *string
	/*DmarcID
	  ID of the DMARC

	*/
	DmarcID *string
	/*EndPointCircuitID
	  if end_point type is circuit, this is circuit_id of the circuit. Absent otherwise

	*/
	EndPointCircuitID *string
	/*EndPointDevice
	  if end_point type is device, this is name of the device. Absent otherwise

	*/
	EndPointDevice *string
	/*EndPointID
	  ID of the end point

	*/
	EndPointID *string
	/*EndPointPatchPanel
	  if end_point type is patch_panel_port, this is name of the patch panel. Absent otherwise

	*/
	EndPointPatchPanel *string
	/*EndPointPatchPanelID
	  if end_point type is patch_panel_port, this is ID of the patch panel. Absent otherwise

	*/
	EndPointPatchPanelID *string
	/*EndPointPatchPanelPort
	  if end_point type is patch_panel_port, this is name of the patch panel port. Absent otherwise

	*/
	EndPointPatchPanelPort *string
	/*EndPointSwitch
	  if end_point type is switchport, this is name of the switch. Absent otherwise

	*/
	EndPointSwitch *string
	/*EndPointSwitchport
	  if end_point type is switchport, this is name of the switch port. Absent otherwise

	*/
	EndPointSwitchport *string
	/*EndPointType
	  Type of end point.

	*/
	EndPointType *string
	/*EndPointVendor
	  if end_point type is vendofr, this is name of the vendor. Absent otherwise

	*/
	EndPointVendor *string
	/*Notes
	  Any additional notes

	*/
	Notes *string
	/*OrderDate*/
	OrderDate *string
	/*OriginCircuitID
	  if origin type is circuit, this is circuit_id of the circuit. Absent otherwise

	*/
	OriginCircuitID *string
	/*OriginDevice
	  if origin type is device, this is name of the device. Absent otherwise

	*/
	OriginDevice *string
	/*OriginID
	  ID of the origin point

	*/
	OriginID *string
	/*OriginPatchPanel
	  if origin type is patch_panel_port, this is name of the patch panel. Absent otherwise

	*/
	OriginPatchPanel *string
	/*OriginPatchPanelID
	  if origin type is patch_panel_port, this is ID of the patch panel. Absent otherwise

	*/
	OriginPatchPanelID *string
	/*OriginPatchPanelPort
	  if origin type is patch_panel_port, this is name of the patch panel port. Absent otherwise

	*/
	OriginPatchPanelPort *string
	/*OriginSwitch
	  if origin type is switchport, this is name of the switch. Absent otherwise

	*/
	OriginSwitch *string
	/*OriginSwitchport
	  if origin type is switchport, this is name of the switch port. Absent otherwise

	*/
	OriginSwitchport *string
	/*OriginType
	  Type of origin point.

	*/
	OriginType *string
	/*OriginVendor
	  if origin type is vendor, this is name of the vendor. Absent otherwise

	*/
	OriginVendor *string
	/*ProvisionDate*/
	ProvisionDate *string
	/*TurnOnDate*/
	TurnOnDate *string
	/*Type
	  Required for new circuits

	*/
	Type *string
	/*Vendor
	  The cloud vendor

	*/
	Vendor *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostUpdateCircuitsParams contains all the parameters to send to the API endpoint for the post update circuits operation typically these are written to a http.Request

func NewPostUpdateCircuitsParams

func NewPostUpdateCircuitsParams() *PostUpdateCircuitsParams

NewPostUpdateCircuitsParams creates a new PostUpdateCircuitsParams object with the default values initialized.

func NewPostUpdateCircuitsParamsWithContext

func NewPostUpdateCircuitsParamsWithContext(ctx context.Context) *PostUpdateCircuitsParams

NewPostUpdateCircuitsParamsWithContext creates a new PostUpdateCircuitsParams object with the default values initialized, and the ability to set a context for a request

func NewPostUpdateCircuitsParamsWithHTTPClient

func NewPostUpdateCircuitsParamsWithHTTPClient(client *http.Client) *PostUpdateCircuitsParams

NewPostUpdateCircuitsParamsWithHTTPClient creates a new PostUpdateCircuitsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostUpdateCircuitsParamsWithTimeout

func NewPostUpdateCircuitsParamsWithTimeout(timeout time.Duration) *PostUpdateCircuitsParams

NewPostUpdateCircuitsParamsWithTimeout creates a new PostUpdateCircuitsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostUpdateCircuitsParams) SetBandwidth

func (o *PostUpdateCircuitsParams) SetBandwidth(bandwidth *string)

SetBandwidth adds the bandwidth to the post update circuits params

func (*PostUpdateCircuitsParams) SetCircuitID

func (o *PostUpdateCircuitsParams) SetCircuitID(circuitID *string)

SetCircuitID adds the circuitId to the post update circuits params

func (*PostUpdateCircuitsParams) SetContext

func (o *PostUpdateCircuitsParams) SetContext(ctx context.Context)

SetContext adds the context to the post update circuits params

func (*PostUpdateCircuitsParams) SetCustomer

func (o *PostUpdateCircuitsParams) SetCustomer(customer *string)

SetCustomer adds the customer to the post update circuits params

func (*PostUpdateCircuitsParams) SetDmarc

func (o *PostUpdateCircuitsParams) SetDmarc(dmarc *string)

SetDmarc adds the dmarc to the post update circuits params

func (*PostUpdateCircuitsParams) SetDmarcID

func (o *PostUpdateCircuitsParams) SetDmarcID(dmarcID *string)

SetDmarcID adds the dmarcId to the post update circuits params

func (*PostUpdateCircuitsParams) SetEndPointCircuitID

func (o *PostUpdateCircuitsParams) SetEndPointCircuitID(endPointCircuitID *string)

SetEndPointCircuitID adds the endPointCircuitId to the post update circuits params

func (*PostUpdateCircuitsParams) SetEndPointDevice

func (o *PostUpdateCircuitsParams) SetEndPointDevice(endPointDevice *string)

SetEndPointDevice adds the endPointDevice to the post update circuits params

func (*PostUpdateCircuitsParams) SetEndPointID

func (o *PostUpdateCircuitsParams) SetEndPointID(endPointID *string)

SetEndPointID adds the endPointId to the post update circuits params

func (*PostUpdateCircuitsParams) SetEndPointPatchPanel

func (o *PostUpdateCircuitsParams) SetEndPointPatchPanel(endPointPatchPanel *string)

SetEndPointPatchPanel adds the endPointPatchPanel to the post update circuits params

func (*PostUpdateCircuitsParams) SetEndPointPatchPanelID

func (o *PostUpdateCircuitsParams) SetEndPointPatchPanelID(endPointPatchPanelID *string)

SetEndPointPatchPanelID adds the endPointPatchPanelId to the post update circuits params

func (*PostUpdateCircuitsParams) SetEndPointPatchPanelPort

func (o *PostUpdateCircuitsParams) SetEndPointPatchPanelPort(endPointPatchPanelPort *string)

SetEndPointPatchPanelPort adds the endPointPatchPanelPort to the post update circuits params

func (*PostUpdateCircuitsParams) SetEndPointSwitch

func (o *PostUpdateCircuitsParams) SetEndPointSwitch(endPointSwitch *string)

SetEndPointSwitch adds the endPointSwitch to the post update circuits params

func (*PostUpdateCircuitsParams) SetEndPointSwitchport

func (o *PostUpdateCircuitsParams) SetEndPointSwitchport(endPointSwitchport *string)

SetEndPointSwitchport adds the endPointSwitchport to the post update circuits params

func (*PostUpdateCircuitsParams) SetEndPointType

func (o *PostUpdateCircuitsParams) SetEndPointType(endPointType *string)

SetEndPointType adds the endPointType to the post update circuits params

func (*PostUpdateCircuitsParams) SetEndPointVendor

func (o *PostUpdateCircuitsParams) SetEndPointVendor(endPointVendor *string)

SetEndPointVendor adds the endPointVendor to the post update circuits params

func (*PostUpdateCircuitsParams) SetHTTPClient

func (o *PostUpdateCircuitsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post update circuits params

func (*PostUpdateCircuitsParams) SetID

func (o *PostUpdateCircuitsParams) SetID(id *string)

SetID adds the id to the post update circuits params

func (*PostUpdateCircuitsParams) SetNotes

func (o *PostUpdateCircuitsParams) SetNotes(notes *string)

SetNotes adds the notes to the post update circuits params

func (*PostUpdateCircuitsParams) SetOrderDate

func (o *PostUpdateCircuitsParams) SetOrderDate(orderDate *string)

SetOrderDate adds the orderDate to the post update circuits params

func (*PostUpdateCircuitsParams) SetOriginCircuitID

func (o *PostUpdateCircuitsParams) SetOriginCircuitID(originCircuitID *string)

SetOriginCircuitID adds the originCircuitId to the post update circuits params

func (*PostUpdateCircuitsParams) SetOriginDevice

func (o *PostUpdateCircuitsParams) SetOriginDevice(originDevice *string)

SetOriginDevice adds the originDevice to the post update circuits params

func (*PostUpdateCircuitsParams) SetOriginID

func (o *PostUpdateCircuitsParams) SetOriginID(originID *string)

SetOriginID adds the originId to the post update circuits params

func (*PostUpdateCircuitsParams) SetOriginPatchPanel

func (o *PostUpdateCircuitsParams) SetOriginPatchPanel(originPatchPanel *string)

SetOriginPatchPanel adds the originPatchPanel to the post update circuits params

func (*PostUpdateCircuitsParams) SetOriginPatchPanelID

func (o *PostUpdateCircuitsParams) SetOriginPatchPanelID(originPatchPanelID *string)

SetOriginPatchPanelID adds the originPatchPanelId to the post update circuits params

func (*PostUpdateCircuitsParams) SetOriginPatchPanelPort

func (o *PostUpdateCircuitsParams) SetOriginPatchPanelPort(originPatchPanelPort *string)

SetOriginPatchPanelPort adds the originPatchPanelPort to the post update circuits params

func (*PostUpdateCircuitsParams) SetOriginSwitch

func (o *PostUpdateCircuitsParams) SetOriginSwitch(originSwitch *string)

SetOriginSwitch adds the originSwitch to the post update circuits params

func (*PostUpdateCircuitsParams) SetOriginSwitchport

func (o *PostUpdateCircuitsParams) SetOriginSwitchport(originSwitchport *string)

SetOriginSwitchport adds the originSwitchport to the post update circuits params

func (*PostUpdateCircuitsParams) SetOriginType

func (o *PostUpdateCircuitsParams) SetOriginType(originType *string)

SetOriginType adds the originType to the post update circuits params

func (*PostUpdateCircuitsParams) SetOriginVendor

func (o *PostUpdateCircuitsParams) SetOriginVendor(originVendor *string)

SetOriginVendor adds the originVendor to the post update circuits params

func (*PostUpdateCircuitsParams) SetProvisionDate

func (o *PostUpdateCircuitsParams) SetProvisionDate(provisionDate *string)

SetProvisionDate adds the provisionDate to the post update circuits params

func (*PostUpdateCircuitsParams) SetTimeout

func (o *PostUpdateCircuitsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post update circuits params

func (*PostUpdateCircuitsParams) SetTurnOnDate

func (o *PostUpdateCircuitsParams) SetTurnOnDate(turnOnDate *string)

SetTurnOnDate adds the turnOnDate to the post update circuits params

func (*PostUpdateCircuitsParams) SetType

func (o *PostUpdateCircuitsParams) SetType(typeVar *string)

SetType adds the type to the post update circuits params

func (*PostUpdateCircuitsParams) SetVendor

func (o *PostUpdateCircuitsParams) SetVendor(vendor *string)

SetVendor adds the vendor to the post update circuits params

func (*PostUpdateCircuitsParams) WithBandwidth

func (o *PostUpdateCircuitsParams) WithBandwidth(bandwidth *string) *PostUpdateCircuitsParams

WithBandwidth adds the bandwidth to the post update circuits params

func (*PostUpdateCircuitsParams) WithCircuitID

func (o *PostUpdateCircuitsParams) WithCircuitID(circuitID *string) *PostUpdateCircuitsParams

WithCircuitID adds the circuitID to the post update circuits params

func (*PostUpdateCircuitsParams) WithContext

WithContext adds the context to the post update circuits params

func (*PostUpdateCircuitsParams) WithCustomer

func (o *PostUpdateCircuitsParams) WithCustomer(customer *string) *PostUpdateCircuitsParams

WithCustomer adds the customer to the post update circuits params

func (*PostUpdateCircuitsParams) WithDmarc

WithDmarc adds the dmarc to the post update circuits params

func (*PostUpdateCircuitsParams) WithDmarcID

func (o *PostUpdateCircuitsParams) WithDmarcID(dmarcID *string) *PostUpdateCircuitsParams

WithDmarcID adds the dmarcID to the post update circuits params

func (*PostUpdateCircuitsParams) WithEndPointCircuitID

func (o *PostUpdateCircuitsParams) WithEndPointCircuitID(endPointCircuitID *string) *PostUpdateCircuitsParams

WithEndPointCircuitID adds the endPointCircuitID to the post update circuits params

func (*PostUpdateCircuitsParams) WithEndPointDevice

func (o *PostUpdateCircuitsParams) WithEndPointDevice(endPointDevice *string) *PostUpdateCircuitsParams

WithEndPointDevice adds the endPointDevice to the post update circuits params

func (*PostUpdateCircuitsParams) WithEndPointID

func (o *PostUpdateCircuitsParams) WithEndPointID(endPointID *string) *PostUpdateCircuitsParams

WithEndPointID adds the endPointID to the post update circuits params

func (*PostUpdateCircuitsParams) WithEndPointPatchPanel

func (o *PostUpdateCircuitsParams) WithEndPointPatchPanel(endPointPatchPanel *string) *PostUpdateCircuitsParams

WithEndPointPatchPanel adds the endPointPatchPanel to the post update circuits params

func (*PostUpdateCircuitsParams) WithEndPointPatchPanelID

func (o *PostUpdateCircuitsParams) WithEndPointPatchPanelID(endPointPatchPanelID *string) *PostUpdateCircuitsParams

WithEndPointPatchPanelID adds the endPointPatchPanelID to the post update circuits params

func (*PostUpdateCircuitsParams) WithEndPointPatchPanelPort

func (o *PostUpdateCircuitsParams) WithEndPointPatchPanelPort(endPointPatchPanelPort *string) *PostUpdateCircuitsParams

WithEndPointPatchPanelPort adds the endPointPatchPanelPort to the post update circuits params

func (*PostUpdateCircuitsParams) WithEndPointSwitch

func (o *PostUpdateCircuitsParams) WithEndPointSwitch(endPointSwitch *string) *PostUpdateCircuitsParams

WithEndPointSwitch adds the endPointSwitch to the post update circuits params

func (*PostUpdateCircuitsParams) WithEndPointSwitchport

func (o *PostUpdateCircuitsParams) WithEndPointSwitchport(endPointSwitchport *string) *PostUpdateCircuitsParams

WithEndPointSwitchport adds the endPointSwitchport to the post update circuits params

func (*PostUpdateCircuitsParams) WithEndPointType

func (o *PostUpdateCircuitsParams) WithEndPointType(endPointType *string) *PostUpdateCircuitsParams

WithEndPointType adds the endPointType to the post update circuits params

func (*PostUpdateCircuitsParams) WithEndPointVendor

func (o *PostUpdateCircuitsParams) WithEndPointVendor(endPointVendor *string) *PostUpdateCircuitsParams

WithEndPointVendor adds the endPointVendor to the post update circuits params

func (*PostUpdateCircuitsParams) WithHTTPClient

func (o *PostUpdateCircuitsParams) WithHTTPClient(client *http.Client) *PostUpdateCircuitsParams

WithHTTPClient adds the HTTPClient to the post update circuits params

func (*PostUpdateCircuitsParams) WithID

WithID adds the id to the post update circuits params

func (*PostUpdateCircuitsParams) WithNotes

WithNotes adds the notes to the post update circuits params

func (*PostUpdateCircuitsParams) WithOrderDate

func (o *PostUpdateCircuitsParams) WithOrderDate(orderDate *string) *PostUpdateCircuitsParams

WithOrderDate adds the orderDate to the post update circuits params

func (*PostUpdateCircuitsParams) WithOriginCircuitID

func (o *PostUpdateCircuitsParams) WithOriginCircuitID(originCircuitID *string) *PostUpdateCircuitsParams

WithOriginCircuitID adds the originCircuitID to the post update circuits params

func (*PostUpdateCircuitsParams) WithOriginDevice

func (o *PostUpdateCircuitsParams) WithOriginDevice(originDevice *string) *PostUpdateCircuitsParams

WithOriginDevice adds the originDevice to the post update circuits params

func (*PostUpdateCircuitsParams) WithOriginID

func (o *PostUpdateCircuitsParams) WithOriginID(originID *string) *PostUpdateCircuitsParams

WithOriginID adds the originID to the post update circuits params

func (*PostUpdateCircuitsParams) WithOriginPatchPanel

func (o *PostUpdateCircuitsParams) WithOriginPatchPanel(originPatchPanel *string) *PostUpdateCircuitsParams

WithOriginPatchPanel adds the originPatchPanel to the post update circuits params

func (*PostUpdateCircuitsParams) WithOriginPatchPanelID

func (o *PostUpdateCircuitsParams) WithOriginPatchPanelID(originPatchPanelID *string) *PostUpdateCircuitsParams

WithOriginPatchPanelID adds the originPatchPanelID to the post update circuits params

func (*PostUpdateCircuitsParams) WithOriginPatchPanelPort

func (o *PostUpdateCircuitsParams) WithOriginPatchPanelPort(originPatchPanelPort *string) *PostUpdateCircuitsParams

WithOriginPatchPanelPort adds the originPatchPanelPort to the post update circuits params

func (*PostUpdateCircuitsParams) WithOriginSwitch

func (o *PostUpdateCircuitsParams) WithOriginSwitch(originSwitch *string) *PostUpdateCircuitsParams

WithOriginSwitch adds the originSwitch to the post update circuits params

func (*PostUpdateCircuitsParams) WithOriginSwitchport

func (o *PostUpdateCircuitsParams) WithOriginSwitchport(originSwitchport *string) *PostUpdateCircuitsParams

WithOriginSwitchport adds the originSwitchport to the post update circuits params

func (*PostUpdateCircuitsParams) WithOriginType

func (o *PostUpdateCircuitsParams) WithOriginType(originType *string) *PostUpdateCircuitsParams

WithOriginType adds the originType to the post update circuits params

func (*PostUpdateCircuitsParams) WithOriginVendor

func (o *PostUpdateCircuitsParams) WithOriginVendor(originVendor *string) *PostUpdateCircuitsParams

WithOriginVendor adds the originVendor to the post update circuits params

func (*PostUpdateCircuitsParams) WithProvisionDate

func (o *PostUpdateCircuitsParams) WithProvisionDate(provisionDate *string) *PostUpdateCircuitsParams

WithProvisionDate adds the provisionDate to the post update circuits params

func (*PostUpdateCircuitsParams) WithTimeout

WithTimeout adds the timeout to the post update circuits params

func (*PostUpdateCircuitsParams) WithTurnOnDate

func (o *PostUpdateCircuitsParams) WithTurnOnDate(turnOnDate *string) *PostUpdateCircuitsParams

WithTurnOnDate adds the turnOnDate to the post update circuits params

func (*PostUpdateCircuitsParams) WithType

WithType adds the typeVar to the post update circuits params

func (*PostUpdateCircuitsParams) WithVendor

WithVendor adds the vendor to the post update circuits params

func (*PostUpdateCircuitsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostUpdateCircuitsReader

type PostUpdateCircuitsReader struct {
	// contains filtered or unexported fields
}

PostUpdateCircuitsReader is a Reader for the PostUpdateCircuits structure.

func (*PostUpdateCircuitsReader) ReadResponse

func (o *PostUpdateCircuitsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostUpdateCircuitsServiceUnavailable

type PostUpdateCircuitsServiceUnavailable struct {
}

PostUpdateCircuitsServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewPostUpdateCircuitsServiceUnavailable

func NewPostUpdateCircuitsServiceUnavailable() *PostUpdateCircuitsServiceUnavailable

NewPostUpdateCircuitsServiceUnavailable creates a PostUpdateCircuitsServiceUnavailable with default headers values

func (*PostUpdateCircuitsServiceUnavailable) Error

type PostUpdateCircuitsUnauthorized

type PostUpdateCircuitsUnauthorized struct {
}

PostUpdateCircuitsUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPostUpdateCircuitsUnauthorized

func NewPostUpdateCircuitsUnauthorized() *PostUpdateCircuitsUnauthorized

NewPostUpdateCircuitsUnauthorized creates a PostUpdateCircuitsUnauthorized with default headers values

func (*PostUpdateCircuitsUnauthorized) Error

type PutCustomFieldsBadRequest

type PutCustomFieldsBadRequest struct {
}

PutCustomFieldsBadRequest handles this case with default header values.

Bad Request (A validation exception has occurred.)

func NewPutCustomFieldsBadRequest

func NewPutCustomFieldsBadRequest() *PutCustomFieldsBadRequest

NewPutCustomFieldsBadRequest creates a PutCustomFieldsBadRequest with default headers values

func (*PutCustomFieldsBadRequest) Error

func (o *PutCustomFieldsBadRequest) Error() string

type PutCustomFieldsForbidden

type PutCustomFieldsForbidden struct {
}

PutCustomFieldsForbidden handles this case with default header values.

Forbidden (The resource requested is hidden)

func NewPutCustomFieldsForbidden

func NewPutCustomFieldsForbidden() *PutCustomFieldsForbidden

NewPutCustomFieldsForbidden creates a PutCustomFieldsForbidden with default headers values

func (*PutCustomFieldsForbidden) Error

func (o *PutCustomFieldsForbidden) Error() string

type PutCustomFieldsGone

type PutCustomFieldsGone struct {
}

PutCustomFieldsGone handles this case with default header values.

Gone (The resource requested has been removed from our servers)

func NewPutCustomFieldsGone

func NewPutCustomFieldsGone() *PutCustomFieldsGone

NewPutCustomFieldsGone creates a PutCustomFieldsGone with default headers values

func (*PutCustomFieldsGone) Error

func (o *PutCustomFieldsGone) Error() string

type PutCustomFieldsInternalServerError

type PutCustomFieldsInternalServerError struct {
}

PutCustomFieldsInternalServerError 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 NewPutCustomFieldsInternalServerError

func NewPutCustomFieldsInternalServerError() *PutCustomFieldsInternalServerError

NewPutCustomFieldsInternalServerError creates a PutCustomFieldsInternalServerError with default headers values

func (*PutCustomFieldsInternalServerError) Error

type PutCustomFieldsMethodNotAllowed

type PutCustomFieldsMethodNotAllowed struct {
}

PutCustomFieldsMethodNotAllowed handles this case with default header values.

Method Not Allowed (You tried to access a resource with an invalid method)

func NewPutCustomFieldsMethodNotAllowed

func NewPutCustomFieldsMethodNotAllowed() *PutCustomFieldsMethodNotAllowed

NewPutCustomFieldsMethodNotAllowed creates a PutCustomFieldsMethodNotAllowed with default headers values

func (*PutCustomFieldsMethodNotAllowed) Error

type PutCustomFieldsNotFound

type PutCustomFieldsNotFound struct {
}

PutCustomFieldsNotFound handles this case with default header values.

Not Found (The specified resource could not be found)

func NewPutCustomFieldsNotFound

func NewPutCustomFieldsNotFound() *PutCustomFieldsNotFound

NewPutCustomFieldsNotFound creates a PutCustomFieldsNotFound with default headers values

func (*PutCustomFieldsNotFound) Error

func (o *PutCustomFieldsNotFound) Error() string

type PutCustomFieldsOK

type PutCustomFieldsOK struct {
	Payload *PutCustomFieldsOKBody
}

PutCustomFieldsOK handles this case with default header values.

The above command returns results like this:

func NewPutCustomFieldsOK

func NewPutCustomFieldsOK() *PutCustomFieldsOK

NewPutCustomFieldsOK creates a PutCustomFieldsOK with default headers values

func (*PutCustomFieldsOK) Error

func (o *PutCustomFieldsOK) Error() string

func (*PutCustomFieldsOK) GetPayload

func (o *PutCustomFieldsOK) GetPayload() *PutCustomFieldsOKBody

type PutCustomFieldsOKBody

type PutCustomFieldsOKBody struct {

	// code
	Code interface{} `json:"code,omitempty"`

	// msg
	Msg interface{} `json:"msg,omitempty"`
}

PutCustomFieldsOKBody put custom fields o k body swagger:model PutCustomFieldsOKBody

func (*PutCustomFieldsOKBody) MarshalBinary

func (o *PutCustomFieldsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PutCustomFieldsOKBody) UnmarshalBinary

func (o *PutCustomFieldsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PutCustomFieldsOKBody) Validate

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

Validate validates this put custom fields o k body

type PutCustomFieldsParams

type PutCustomFieldsParams struct {

	/*ID
	  ID for the cricuit (D42 ID)

	*/
	ID *string
	/*AddToPicklist
	  Comma separated values to add to picklist. If type is picklist and custom field is new, this is a required field. Duplicates will be ignored.

	*/
	AddToPicklist *string
	/*BulkFields
	  comma separated key value pairs, with key and value separated by colon. e.g.key1:value1, key2:value2

	*/
	BulkFields *string
	/*CircuitID
	  circuit_id for the circuit

	*/
	CircuitID *string
	/*ClearValue
	  yes to clear existing value for that field

	*/
	ClearValue *string
	/*Key
	  Can be new or existing. This is the custom field name.

	*/
	Key string
	/*Notes
	  Any additional notes

	*/
	Notes *string
	/*RelatedFieldName
	  Required if type = related field.

	*/
	RelatedFieldName *string
	/*Type
	  this is the custom field type. If left blank, default is text. Date should be formatted as YYYY-MM-DD

	*/
	Type *string
	/*Value
	  This will set the value of the custom field for the specific object.

	*/
	Value *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutCustomFieldsParams contains all the parameters to send to the API endpoint for the put custom fields operation typically these are written to a http.Request

func NewPutCustomFieldsParams

func NewPutCustomFieldsParams() *PutCustomFieldsParams

NewPutCustomFieldsParams creates a new PutCustomFieldsParams object with the default values initialized.

func NewPutCustomFieldsParamsWithContext

func NewPutCustomFieldsParamsWithContext(ctx context.Context) *PutCustomFieldsParams

NewPutCustomFieldsParamsWithContext creates a new PutCustomFieldsParams object with the default values initialized, and the ability to set a context for a request

func NewPutCustomFieldsParamsWithHTTPClient

func NewPutCustomFieldsParamsWithHTTPClient(client *http.Client) *PutCustomFieldsParams

NewPutCustomFieldsParamsWithHTTPClient creates a new PutCustomFieldsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutCustomFieldsParamsWithTimeout

func NewPutCustomFieldsParamsWithTimeout(timeout time.Duration) *PutCustomFieldsParams

NewPutCustomFieldsParamsWithTimeout creates a new PutCustomFieldsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutCustomFieldsParams) SetAddToPicklist

func (o *PutCustomFieldsParams) SetAddToPicklist(addToPicklist *string)

SetAddToPicklist adds the addToPicklist to the put custom fields params

func (*PutCustomFieldsParams) SetBulkFields

func (o *PutCustomFieldsParams) SetBulkFields(bulkFields *string)

SetBulkFields adds the bulkFields to the put custom fields params

func (*PutCustomFieldsParams) SetCircuitID

func (o *PutCustomFieldsParams) SetCircuitID(circuitID *string)

SetCircuitID adds the circuitId to the put custom fields params

func (*PutCustomFieldsParams) SetClearValue

func (o *PutCustomFieldsParams) SetClearValue(clearValue *string)

SetClearValue adds the clearValue to the put custom fields params

func (*PutCustomFieldsParams) SetContext

func (o *PutCustomFieldsParams) SetContext(ctx context.Context)

SetContext adds the context to the put custom fields params

func (*PutCustomFieldsParams) SetHTTPClient

func (o *PutCustomFieldsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put custom fields params

func (*PutCustomFieldsParams) SetID

func (o *PutCustomFieldsParams) SetID(id *string)

SetID adds the id to the put custom fields params

func (*PutCustomFieldsParams) SetKey

func (o *PutCustomFieldsParams) SetKey(key string)

SetKey adds the key to the put custom fields params

func (*PutCustomFieldsParams) SetNotes

func (o *PutCustomFieldsParams) SetNotes(notes *string)

SetNotes adds the notes to the put custom fields params

func (*PutCustomFieldsParams) SetRelatedFieldName

func (o *PutCustomFieldsParams) SetRelatedFieldName(relatedFieldName *string)

SetRelatedFieldName adds the relatedFieldName to the put custom fields params

func (*PutCustomFieldsParams) SetTimeout

func (o *PutCustomFieldsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put custom fields params

func (*PutCustomFieldsParams) SetType

func (o *PutCustomFieldsParams) SetType(typeVar *string)

SetType adds the type to the put custom fields params

func (*PutCustomFieldsParams) SetValue

func (o *PutCustomFieldsParams) SetValue(value *string)

SetValue adds the value to the put custom fields params

func (*PutCustomFieldsParams) WithAddToPicklist

func (o *PutCustomFieldsParams) WithAddToPicklist(addToPicklist *string) *PutCustomFieldsParams

WithAddToPicklist adds the addToPicklist to the put custom fields params

func (*PutCustomFieldsParams) WithBulkFields

func (o *PutCustomFieldsParams) WithBulkFields(bulkFields *string) *PutCustomFieldsParams

WithBulkFields adds the bulkFields to the put custom fields params

func (*PutCustomFieldsParams) WithCircuitID

func (o *PutCustomFieldsParams) WithCircuitID(circuitID *string) *PutCustomFieldsParams

WithCircuitID adds the circuitID to the put custom fields params

func (*PutCustomFieldsParams) WithClearValue

func (o *PutCustomFieldsParams) WithClearValue(clearValue *string) *PutCustomFieldsParams

WithClearValue adds the clearValue to the put custom fields params

func (*PutCustomFieldsParams) WithContext

WithContext adds the context to the put custom fields params

func (*PutCustomFieldsParams) WithHTTPClient

func (o *PutCustomFieldsParams) WithHTTPClient(client *http.Client) *PutCustomFieldsParams

WithHTTPClient adds the HTTPClient to the put custom fields params

func (*PutCustomFieldsParams) WithID

WithID adds the id to the put custom fields params

func (*PutCustomFieldsParams) WithKey

WithKey adds the key to the put custom fields params

func (*PutCustomFieldsParams) WithNotes

func (o *PutCustomFieldsParams) WithNotes(notes *string) *PutCustomFieldsParams

WithNotes adds the notes to the put custom fields params

func (*PutCustomFieldsParams) WithRelatedFieldName

func (o *PutCustomFieldsParams) WithRelatedFieldName(relatedFieldName *string) *PutCustomFieldsParams

WithRelatedFieldName adds the relatedFieldName to the put custom fields params

func (*PutCustomFieldsParams) WithTimeout

func (o *PutCustomFieldsParams) WithTimeout(timeout time.Duration) *PutCustomFieldsParams

WithTimeout adds the timeout to the put custom fields params

func (*PutCustomFieldsParams) WithType

func (o *PutCustomFieldsParams) WithType(typeVar *string) *PutCustomFieldsParams

WithType adds the typeVar to the put custom fields params

func (*PutCustomFieldsParams) WithValue

func (o *PutCustomFieldsParams) WithValue(value *string) *PutCustomFieldsParams

WithValue adds the value to the put custom fields params

func (*PutCustomFieldsParams) WriteToRequest

func (o *PutCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutCustomFieldsReader

type PutCustomFieldsReader struct {
	// contains filtered or unexported fields
}

PutCustomFieldsReader is a Reader for the PutCustomFields structure.

func (*PutCustomFieldsReader) ReadResponse

func (o *PutCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutCustomFieldsServiceUnavailable

type PutCustomFieldsServiceUnavailable struct {
}

PutCustomFieldsServiceUnavailable handles this case with default header values.

Service Unavailable (Please check if your Device42 instance is working normally.)

func NewPutCustomFieldsServiceUnavailable

func NewPutCustomFieldsServiceUnavailable() *PutCustomFieldsServiceUnavailable

NewPutCustomFieldsServiceUnavailable creates a PutCustomFieldsServiceUnavailable with default headers values

func (*PutCustomFieldsServiceUnavailable) Error

type PutCustomFieldsUnauthorized

type PutCustomFieldsUnauthorized struct {
}

PutCustomFieldsUnauthorized handles this case with default header values.

Unauthorized (Your credentials suck)

func NewPutCustomFieldsUnauthorized

func NewPutCustomFieldsUnauthorized() *PutCustomFieldsUnauthorized

NewPutCustomFieldsUnauthorized creates a PutCustomFieldsUnauthorized with default headers values

func (*PutCustomFieldsUnauthorized) Error

Jump to

Keyboard shortcuts

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