ethernet_switch

package
v0.0.0-...-1a3ccaa Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 License: Apache-2.0 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 ethernet switch API

func (*Client) DeleteEthernetSwitchID

func (a *Client) DeleteEthernetSwitchID(params *DeleteEthernetSwitchIDParams, opts ...ClientOption) (*DeleteEthernetSwitchIDNoContent, error)

DeleteEthernetSwitchID deletes ethernet switch by id

func (*Client) DeleteEthernetSwitchIDPortPortID

func (a *Client) DeleteEthernetSwitchIDPortPortID(params *DeleteEthernetSwitchIDPortPortIDParams, opts ...ClientOption) (*DeleteEthernetSwitchIDPortPortIDNoContent, error)

DeleteEthernetSwitchIDPortPortID deletes ethernet switch port by id

func (*Client) DeleteEthernetSwitchIDVlanVlanUUID

func (a *Client) DeleteEthernetSwitchIDVlanVlanUUID(params *DeleteEthernetSwitchIDVlanVlanUUIDParams, opts ...ClientOption) (*DeleteEthernetSwitchIDVlanVlanUUIDNoContent, error)

DeleteEthernetSwitchIDVlanVlanUUID deletes ethernet switch v l a n by id

func (*Client) GetEthernetSwitch

func (a *Client) GetEthernetSwitch(params *GetEthernetSwitchParams, opts ...ClientOption) (*GetEthernetSwitchOK, error)

GetEthernetSwitch gets paginated list of switches

func (*Client) GetEthernetSwitchID

func (a *Client) GetEthernetSwitchID(params *GetEthernetSwitchIDParams, opts ...ClientOption) (*GetEthernetSwitchIDOK, error)

GetEthernetSwitchID gets ethernet switch by id

func (*Client) GetEthernetSwitchIDPort

func (a *Client) GetEthernetSwitchIDPort(params *GetEthernetSwitchIDPortParams, opts ...ClientOption) (*GetEthernetSwitchIDPortOK, error)

GetEthernetSwitchIDPort gets paginated list of ethernet switch ports

func (*Client) GetEthernetSwitchIDPortPortID

func (a *Client) GetEthernetSwitchIDPortPortID(params *GetEthernetSwitchIDPortPortIDParams, opts ...ClientOption) (*GetEthernetSwitchIDPortPortIDOK, error)

GetEthernetSwitchIDPortPortID gets ethernet switch port by id

func (*Client) GetEthernetSwitchIDVlan

func (a *Client) GetEthernetSwitchIDVlan(params *GetEthernetSwitchIDVlanParams, opts ...ClientOption) (*GetEthernetSwitchIDVlanOK, error)

GetEthernetSwitchIDVlan gets paginated list of switch v l a ns

func (*Client) GetEthernetSwitchIDVlanVlanUUID

func (a *Client) GetEthernetSwitchIDVlanVlanUUID(params *GetEthernetSwitchIDVlanVlanUUIDParams, opts ...ClientOption) (*GetEthernetSwitchIDVlanVlanUUIDOK, error)

GetEthernetSwitchIDVlanVlanUUID gets ethernet switch v l a n by id

func (*Client) GetEthernetSwitchModels

func (a *Client) GetEthernetSwitchModels(params *GetEthernetSwitchModelsParams, opts ...ClientOption) (*GetEthernetSwitchModelsOK, error)

GetEthernetSwitchModels gets ethernet switch supported models

func (*Client) PostEthernetSwitch

func (a *Client) PostEthernetSwitch(params *PostEthernetSwitchParams, opts ...ClientOption) (*PostEthernetSwitchOK, error)

PostEthernetSwitch creates new ethernet switch

func (*Client) PostEthernetSwitchIDPort

func (a *Client) PostEthernetSwitchIDPort(params *PostEthernetSwitchIDPortParams, opts ...ClientOption) (*PostEthernetSwitchIDPortOK, error)

PostEthernetSwitchIDPort creates new ethernet switch port

func (*Client) PostEthernetSwitchIDVlan

func (a *Client) PostEthernetSwitchIDVlan(params *PostEthernetSwitchIDVlanParams, opts ...ClientOption) (*PostEthernetSwitchIDVlanOK, error)

PostEthernetSwitchIDVlan creates new ethernet switch v l a n

func (*Client) PutEthernetSwitchID

func (a *Client) PutEthernetSwitchID(params *PutEthernetSwitchIDParams, opts ...ClientOption) (*PutEthernetSwitchIDOK, error)

PutEthernetSwitchID updates ethernet switch by id

func (*Client) PutEthernetSwitchIDPortPortID

func (a *Client) PutEthernetSwitchIDPortPortID(params *PutEthernetSwitchIDPortPortIDParams, opts ...ClientOption) (*PutEthernetSwitchIDPortPortIDOK, error)

PutEthernetSwitchIDPortPortID updates ethernet switch port by id

func (*Client) PutEthernetSwitchIDVlanVlanUUID

func (a *Client) PutEthernetSwitchIDVlanVlanUUID(params *PutEthernetSwitchIDVlanVlanUUIDParams, opts ...ClientOption) (*PutEthernetSwitchIDVlanVlanUUIDOK, error)

PutEthernetSwitchIDVlanVlanUUID updates ethernet switch v l a n by id

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteEthernetSwitchID(params *DeleteEthernetSwitchIDParams, opts ...ClientOption) (*DeleteEthernetSwitchIDNoContent, error)

	DeleteEthernetSwitchIDPortPortID(params *DeleteEthernetSwitchIDPortPortIDParams, opts ...ClientOption) (*DeleteEthernetSwitchIDPortPortIDNoContent, error)

	DeleteEthernetSwitchIDVlanVlanUUID(params *DeleteEthernetSwitchIDVlanVlanUUIDParams, opts ...ClientOption) (*DeleteEthernetSwitchIDVlanVlanUUIDNoContent, error)

	GetEthernetSwitch(params *GetEthernetSwitchParams, opts ...ClientOption) (*GetEthernetSwitchOK, error)

	GetEthernetSwitchID(params *GetEthernetSwitchIDParams, opts ...ClientOption) (*GetEthernetSwitchIDOK, error)

	GetEthernetSwitchIDPort(params *GetEthernetSwitchIDPortParams, opts ...ClientOption) (*GetEthernetSwitchIDPortOK, error)

	GetEthernetSwitchIDPortPortID(params *GetEthernetSwitchIDPortPortIDParams, opts ...ClientOption) (*GetEthernetSwitchIDPortPortIDOK, error)

	GetEthernetSwitchIDVlan(params *GetEthernetSwitchIDVlanParams, opts ...ClientOption) (*GetEthernetSwitchIDVlanOK, error)

	GetEthernetSwitchIDVlanVlanUUID(params *GetEthernetSwitchIDVlanVlanUUIDParams, opts ...ClientOption) (*GetEthernetSwitchIDVlanVlanUUIDOK, error)

	GetEthernetSwitchModels(params *GetEthernetSwitchModelsParams, opts ...ClientOption) (*GetEthernetSwitchModelsOK, error)

	PostEthernetSwitch(params *PostEthernetSwitchParams, opts ...ClientOption) (*PostEthernetSwitchOK, error)

	PostEthernetSwitchIDPort(params *PostEthernetSwitchIDPortParams, opts ...ClientOption) (*PostEthernetSwitchIDPortOK, error)

	PostEthernetSwitchIDVlan(params *PostEthernetSwitchIDVlanParams, opts ...ClientOption) (*PostEthernetSwitchIDVlanOK, error)

	PutEthernetSwitchID(params *PutEthernetSwitchIDParams, opts ...ClientOption) (*PutEthernetSwitchIDOK, error)

	PutEthernetSwitchIDPortPortID(params *PutEthernetSwitchIDPortPortIDParams, opts ...ClientOption) (*PutEthernetSwitchIDPortPortIDOK, error)

	PutEthernetSwitchIDVlanVlanUUID(params *PutEthernetSwitchIDVlanVlanUUIDParams, opts ...ClientOption) (*PutEthernetSwitchIDVlanVlanUUIDOK, 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 ethernet switch API client.

type DeleteEthernetSwitchIDInternalServerError

type DeleteEthernetSwitchIDInternalServerError struct {
}

DeleteEthernetSwitchIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteEthernetSwitchIDInternalServerError

func NewDeleteEthernetSwitchIDInternalServerError() *DeleteEthernetSwitchIDInternalServerError

NewDeleteEthernetSwitchIDInternalServerError creates a DeleteEthernetSwitchIDInternalServerError with default headers values

func (*DeleteEthernetSwitchIDInternalServerError) Error

func (*DeleteEthernetSwitchIDInternalServerError) IsClientError

IsClientError returns true when this delete ethernet switch Id internal server error response has a 4xx status code

func (*DeleteEthernetSwitchIDInternalServerError) IsCode

IsCode returns true when this delete ethernet switch Id internal server error response a status code equal to that given

func (*DeleteEthernetSwitchIDInternalServerError) IsRedirect

IsRedirect returns true when this delete ethernet switch Id internal server error response has a 3xx status code

func (*DeleteEthernetSwitchIDInternalServerError) IsServerError

IsServerError returns true when this delete ethernet switch Id internal server error response has a 5xx status code

func (*DeleteEthernetSwitchIDInternalServerError) IsSuccess

IsSuccess returns true when this delete ethernet switch Id internal server error response has a 2xx status code

func (*DeleteEthernetSwitchIDInternalServerError) String

type DeleteEthernetSwitchIDNoContent

type DeleteEthernetSwitchIDNoContent struct {
}

DeleteEthernetSwitchIDNoContent describes a response with status code 204, with default header values.

OK, but No Content

func NewDeleteEthernetSwitchIDNoContent

func NewDeleteEthernetSwitchIDNoContent() *DeleteEthernetSwitchIDNoContent

NewDeleteEthernetSwitchIDNoContent creates a DeleteEthernetSwitchIDNoContent with default headers values

func (*DeleteEthernetSwitchIDNoContent) Error

func (*DeleteEthernetSwitchIDNoContent) IsClientError

func (o *DeleteEthernetSwitchIDNoContent) IsClientError() bool

IsClientError returns true when this delete ethernet switch Id no content response has a 4xx status code

func (*DeleteEthernetSwitchIDNoContent) IsCode

func (o *DeleteEthernetSwitchIDNoContent) IsCode(code int) bool

IsCode returns true when this delete ethernet switch Id no content response a status code equal to that given

func (*DeleteEthernetSwitchIDNoContent) IsRedirect

func (o *DeleteEthernetSwitchIDNoContent) IsRedirect() bool

IsRedirect returns true when this delete ethernet switch Id no content response has a 3xx status code

func (*DeleteEthernetSwitchIDNoContent) IsServerError

func (o *DeleteEthernetSwitchIDNoContent) IsServerError() bool

IsServerError returns true when this delete ethernet switch Id no content response has a 5xx status code

func (*DeleteEthernetSwitchIDNoContent) IsSuccess

func (o *DeleteEthernetSwitchIDNoContent) IsSuccess() bool

IsSuccess returns true when this delete ethernet switch Id no content response has a 2xx status code

func (*DeleteEthernetSwitchIDNoContent) String

type DeleteEthernetSwitchIDNotFound

type DeleteEthernetSwitchIDNotFound struct {
}

DeleteEthernetSwitchIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteEthernetSwitchIDNotFound

func NewDeleteEthernetSwitchIDNotFound() *DeleteEthernetSwitchIDNotFound

NewDeleteEthernetSwitchIDNotFound creates a DeleteEthernetSwitchIDNotFound with default headers values

func (*DeleteEthernetSwitchIDNotFound) Error

func (*DeleteEthernetSwitchIDNotFound) IsClientError

func (o *DeleteEthernetSwitchIDNotFound) IsClientError() bool

IsClientError returns true when this delete ethernet switch Id not found response has a 4xx status code

func (*DeleteEthernetSwitchIDNotFound) IsCode

func (o *DeleteEthernetSwitchIDNotFound) IsCode(code int) bool

IsCode returns true when this delete ethernet switch Id not found response a status code equal to that given

func (*DeleteEthernetSwitchIDNotFound) IsRedirect

func (o *DeleteEthernetSwitchIDNotFound) IsRedirect() bool

IsRedirect returns true when this delete ethernet switch Id not found response has a 3xx status code

func (*DeleteEthernetSwitchIDNotFound) IsServerError

func (o *DeleteEthernetSwitchIDNotFound) IsServerError() bool

IsServerError returns true when this delete ethernet switch Id not found response has a 5xx status code

func (*DeleteEthernetSwitchIDNotFound) IsSuccess

func (o *DeleteEthernetSwitchIDNotFound) IsSuccess() bool

IsSuccess returns true when this delete ethernet switch Id not found response has a 2xx status code

func (*DeleteEthernetSwitchIDNotFound) String

type DeleteEthernetSwitchIDParams

type DeleteEthernetSwitchIDParams struct {

	/* ID.

	   Ethernet switch ID
	*/
	ID string

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

DeleteEthernetSwitchIDParams contains all the parameters to send to the API endpoint

for the delete ethernet switch ID operation.

Typically these are written to a http.Request.

func NewDeleteEthernetSwitchIDParams

func NewDeleteEthernetSwitchIDParams() *DeleteEthernetSwitchIDParams

NewDeleteEthernetSwitchIDParams creates a new DeleteEthernetSwitchIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteEthernetSwitchIDParamsWithContext

func NewDeleteEthernetSwitchIDParamsWithContext(ctx context.Context) *DeleteEthernetSwitchIDParams

NewDeleteEthernetSwitchIDParamsWithContext creates a new DeleteEthernetSwitchIDParams object with the ability to set a context for a request.

func NewDeleteEthernetSwitchIDParamsWithHTTPClient

func NewDeleteEthernetSwitchIDParamsWithHTTPClient(client *http.Client) *DeleteEthernetSwitchIDParams

NewDeleteEthernetSwitchIDParamsWithHTTPClient creates a new DeleteEthernetSwitchIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteEthernetSwitchIDParamsWithTimeout

func NewDeleteEthernetSwitchIDParamsWithTimeout(timeout time.Duration) *DeleteEthernetSwitchIDParams

NewDeleteEthernetSwitchIDParamsWithTimeout creates a new DeleteEthernetSwitchIDParams object with the ability to set a timeout on a request.

func (*DeleteEthernetSwitchIDParams) SetContext

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

SetContext adds the context to the delete ethernet switch ID params

func (*DeleteEthernetSwitchIDParams) SetDefaults

func (o *DeleteEthernetSwitchIDParams) SetDefaults()

SetDefaults hydrates default values in the delete ethernet switch ID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteEthernetSwitchIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete ethernet switch ID params

func (*DeleteEthernetSwitchIDParams) SetID

func (o *DeleteEthernetSwitchIDParams) SetID(id string)

SetID adds the id to the delete ethernet switch ID params

func (*DeleteEthernetSwitchIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete ethernet switch ID params

func (*DeleteEthernetSwitchIDParams) WithContext

WithContext adds the context to the delete ethernet switch ID params

func (*DeleteEthernetSwitchIDParams) WithDefaults

WithDefaults hydrates default values in the delete ethernet switch ID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteEthernetSwitchIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete ethernet switch ID params

func (*DeleteEthernetSwitchIDParams) WithID

WithID adds the id to the delete ethernet switch ID params

func (*DeleteEthernetSwitchIDParams) WithTimeout

WithTimeout adds the timeout to the delete ethernet switch ID params

func (*DeleteEthernetSwitchIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteEthernetSwitchIDPortPortIDInternalServerError

type DeleteEthernetSwitchIDPortPortIDInternalServerError struct {
}

DeleteEthernetSwitchIDPortPortIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteEthernetSwitchIDPortPortIDInternalServerError

func NewDeleteEthernetSwitchIDPortPortIDInternalServerError() *DeleteEthernetSwitchIDPortPortIDInternalServerError

NewDeleteEthernetSwitchIDPortPortIDInternalServerError creates a DeleteEthernetSwitchIDPortPortIDInternalServerError with default headers values

func (*DeleteEthernetSwitchIDPortPortIDInternalServerError) Error

func (*DeleteEthernetSwitchIDPortPortIDInternalServerError) IsClientError

IsClientError returns true when this delete ethernet switch Id port port Id internal server error response has a 4xx status code

func (*DeleteEthernetSwitchIDPortPortIDInternalServerError) IsCode

IsCode returns true when this delete ethernet switch Id port port Id internal server error response a status code equal to that given

func (*DeleteEthernetSwitchIDPortPortIDInternalServerError) IsRedirect

IsRedirect returns true when this delete ethernet switch Id port port Id internal server error response has a 3xx status code

func (*DeleteEthernetSwitchIDPortPortIDInternalServerError) IsServerError

IsServerError returns true when this delete ethernet switch Id port port Id internal server error response has a 5xx status code

func (*DeleteEthernetSwitchIDPortPortIDInternalServerError) IsSuccess

IsSuccess returns true when this delete ethernet switch Id port port Id internal server error response has a 2xx status code

func (*DeleteEthernetSwitchIDPortPortIDInternalServerError) String

type DeleteEthernetSwitchIDPortPortIDNoContent

type DeleteEthernetSwitchIDPortPortIDNoContent struct {
}

DeleteEthernetSwitchIDPortPortIDNoContent describes a response with status code 204, with default header values.

OK, but No Content

func NewDeleteEthernetSwitchIDPortPortIDNoContent

func NewDeleteEthernetSwitchIDPortPortIDNoContent() *DeleteEthernetSwitchIDPortPortIDNoContent

NewDeleteEthernetSwitchIDPortPortIDNoContent creates a DeleteEthernetSwitchIDPortPortIDNoContent with default headers values

func (*DeleteEthernetSwitchIDPortPortIDNoContent) Error

func (*DeleteEthernetSwitchIDPortPortIDNoContent) IsClientError

IsClientError returns true when this delete ethernet switch Id port port Id no content response has a 4xx status code

func (*DeleteEthernetSwitchIDPortPortIDNoContent) IsCode

IsCode returns true when this delete ethernet switch Id port port Id no content response a status code equal to that given

func (*DeleteEthernetSwitchIDPortPortIDNoContent) IsRedirect

IsRedirect returns true when this delete ethernet switch Id port port Id no content response has a 3xx status code

func (*DeleteEthernetSwitchIDPortPortIDNoContent) IsServerError

IsServerError returns true when this delete ethernet switch Id port port Id no content response has a 5xx status code

func (*DeleteEthernetSwitchIDPortPortIDNoContent) IsSuccess

IsSuccess returns true when this delete ethernet switch Id port port Id no content response has a 2xx status code

func (*DeleteEthernetSwitchIDPortPortIDNoContent) String

type DeleteEthernetSwitchIDPortPortIDNotFound

type DeleteEthernetSwitchIDPortPortIDNotFound struct {
}

DeleteEthernetSwitchIDPortPortIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteEthernetSwitchIDPortPortIDNotFound

func NewDeleteEthernetSwitchIDPortPortIDNotFound() *DeleteEthernetSwitchIDPortPortIDNotFound

NewDeleteEthernetSwitchIDPortPortIDNotFound creates a DeleteEthernetSwitchIDPortPortIDNotFound with default headers values

func (*DeleteEthernetSwitchIDPortPortIDNotFound) Error

func (*DeleteEthernetSwitchIDPortPortIDNotFound) IsClientError

IsClientError returns true when this delete ethernet switch Id port port Id not found response has a 4xx status code

func (*DeleteEthernetSwitchIDPortPortIDNotFound) IsCode

IsCode returns true when this delete ethernet switch Id port port Id not found response a status code equal to that given

func (*DeleteEthernetSwitchIDPortPortIDNotFound) IsRedirect

IsRedirect returns true when this delete ethernet switch Id port port Id not found response has a 3xx status code

func (*DeleteEthernetSwitchIDPortPortIDNotFound) IsServerError

IsServerError returns true when this delete ethernet switch Id port port Id not found response has a 5xx status code

func (*DeleteEthernetSwitchIDPortPortIDNotFound) IsSuccess

IsSuccess returns true when this delete ethernet switch Id port port Id not found response has a 2xx status code

func (*DeleteEthernetSwitchIDPortPortIDNotFound) String

type DeleteEthernetSwitchIDPortPortIDParams

type DeleteEthernetSwitchIDPortPortIDParams struct {

	/* ID.

	   Ethernet switch ID
	*/
	ID string

	/* PortID.

	   Ethernet switch port ID
	*/
	PortID string

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

DeleteEthernetSwitchIDPortPortIDParams contains all the parameters to send to the API endpoint

for the delete ethernet switch ID port port ID operation.

Typically these are written to a http.Request.

func NewDeleteEthernetSwitchIDPortPortIDParams

func NewDeleteEthernetSwitchIDPortPortIDParams() *DeleteEthernetSwitchIDPortPortIDParams

NewDeleteEthernetSwitchIDPortPortIDParams creates a new DeleteEthernetSwitchIDPortPortIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteEthernetSwitchIDPortPortIDParamsWithContext

func NewDeleteEthernetSwitchIDPortPortIDParamsWithContext(ctx context.Context) *DeleteEthernetSwitchIDPortPortIDParams

NewDeleteEthernetSwitchIDPortPortIDParamsWithContext creates a new DeleteEthernetSwitchIDPortPortIDParams object with the ability to set a context for a request.

func NewDeleteEthernetSwitchIDPortPortIDParamsWithHTTPClient

func NewDeleteEthernetSwitchIDPortPortIDParamsWithHTTPClient(client *http.Client) *DeleteEthernetSwitchIDPortPortIDParams

NewDeleteEthernetSwitchIDPortPortIDParamsWithHTTPClient creates a new DeleteEthernetSwitchIDPortPortIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteEthernetSwitchIDPortPortIDParamsWithTimeout

func NewDeleteEthernetSwitchIDPortPortIDParamsWithTimeout(timeout time.Duration) *DeleteEthernetSwitchIDPortPortIDParams

NewDeleteEthernetSwitchIDPortPortIDParamsWithTimeout creates a new DeleteEthernetSwitchIDPortPortIDParams object with the ability to set a timeout on a request.

func (*DeleteEthernetSwitchIDPortPortIDParams) SetContext

SetContext adds the context to the delete ethernet switch ID port port ID params

func (*DeleteEthernetSwitchIDPortPortIDParams) SetDefaults

func (o *DeleteEthernetSwitchIDPortPortIDParams) SetDefaults()

SetDefaults hydrates default values in the delete ethernet switch ID port port ID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteEthernetSwitchIDPortPortIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete ethernet switch ID port port ID params

func (*DeleteEthernetSwitchIDPortPortIDParams) SetID

SetID adds the id to the delete ethernet switch ID port port ID params

func (*DeleteEthernetSwitchIDPortPortIDParams) SetPortID

func (o *DeleteEthernetSwitchIDPortPortIDParams) SetPortID(portID string)

SetPortID adds the portId to the delete ethernet switch ID port port ID params

func (*DeleteEthernetSwitchIDPortPortIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete ethernet switch ID port port ID params

func (*DeleteEthernetSwitchIDPortPortIDParams) WithContext

WithContext adds the context to the delete ethernet switch ID port port ID params

func (*DeleteEthernetSwitchIDPortPortIDParams) WithDefaults

WithDefaults hydrates default values in the delete ethernet switch ID port port ID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteEthernetSwitchIDPortPortIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete ethernet switch ID port port ID params

func (*DeleteEthernetSwitchIDPortPortIDParams) WithID

WithID adds the id to the delete ethernet switch ID port port ID params

func (*DeleteEthernetSwitchIDPortPortIDParams) WithPortID

WithPortID adds the portID to the delete ethernet switch ID port port ID params

func (*DeleteEthernetSwitchIDPortPortIDParams) WithTimeout

WithTimeout adds the timeout to the delete ethernet switch ID port port ID params

func (*DeleteEthernetSwitchIDPortPortIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteEthernetSwitchIDPortPortIDReader

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

DeleteEthernetSwitchIDPortPortIDReader is a Reader for the DeleteEthernetSwitchIDPortPortID structure.

func (*DeleteEthernetSwitchIDPortPortIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteEthernetSwitchIDReader

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

DeleteEthernetSwitchIDReader is a Reader for the DeleteEthernetSwitchID structure.

func (*DeleteEthernetSwitchIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError

type DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError struct {
}

DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteEthernetSwitchIDVlanVlanUUIDInternalServerError

func NewDeleteEthernetSwitchIDVlanVlanUUIDInternalServerError() *DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError

NewDeleteEthernetSwitchIDVlanVlanUUIDInternalServerError creates a DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError with default headers values

func (*DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) Error

func (*DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) IsClientError

IsClientError returns true when this delete ethernet switch Id vlan vlan Uuid internal server error response has a 4xx status code

func (*DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) IsCode

IsCode returns true when this delete ethernet switch Id vlan vlan Uuid internal server error response a status code equal to that given

func (*DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) IsRedirect

IsRedirect returns true when this delete ethernet switch Id vlan vlan Uuid internal server error response has a 3xx status code

func (*DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) IsServerError

IsServerError returns true when this delete ethernet switch Id vlan vlan Uuid internal server error response has a 5xx status code

func (*DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) IsSuccess

IsSuccess returns true when this delete ethernet switch Id vlan vlan Uuid internal server error response has a 2xx status code

func (*DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) String

type DeleteEthernetSwitchIDVlanVlanUUIDNoContent

type DeleteEthernetSwitchIDVlanVlanUUIDNoContent struct {
}

DeleteEthernetSwitchIDVlanVlanUUIDNoContent describes a response with status code 204, with default header values.

OK, but No Content

func NewDeleteEthernetSwitchIDVlanVlanUUIDNoContent

func NewDeleteEthernetSwitchIDVlanVlanUUIDNoContent() *DeleteEthernetSwitchIDVlanVlanUUIDNoContent

NewDeleteEthernetSwitchIDVlanVlanUUIDNoContent creates a DeleteEthernetSwitchIDVlanVlanUUIDNoContent with default headers values

func (*DeleteEthernetSwitchIDVlanVlanUUIDNoContent) Error

func (*DeleteEthernetSwitchIDVlanVlanUUIDNoContent) IsClientError

IsClientError returns true when this delete ethernet switch Id vlan vlan Uuid no content response has a 4xx status code

func (*DeleteEthernetSwitchIDVlanVlanUUIDNoContent) IsCode

IsCode returns true when this delete ethernet switch Id vlan vlan Uuid no content response a status code equal to that given

func (*DeleteEthernetSwitchIDVlanVlanUUIDNoContent) IsRedirect

IsRedirect returns true when this delete ethernet switch Id vlan vlan Uuid no content response has a 3xx status code

func (*DeleteEthernetSwitchIDVlanVlanUUIDNoContent) IsServerError

IsServerError returns true when this delete ethernet switch Id vlan vlan Uuid no content response has a 5xx status code

func (*DeleteEthernetSwitchIDVlanVlanUUIDNoContent) IsSuccess

IsSuccess returns true when this delete ethernet switch Id vlan vlan Uuid no content response has a 2xx status code

func (*DeleteEthernetSwitchIDVlanVlanUUIDNoContent) String

type DeleteEthernetSwitchIDVlanVlanUUIDNotFound

type DeleteEthernetSwitchIDVlanVlanUUIDNotFound struct {
}

DeleteEthernetSwitchIDVlanVlanUUIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteEthernetSwitchIDVlanVlanUUIDNotFound

func NewDeleteEthernetSwitchIDVlanVlanUUIDNotFound() *DeleteEthernetSwitchIDVlanVlanUUIDNotFound

NewDeleteEthernetSwitchIDVlanVlanUUIDNotFound creates a DeleteEthernetSwitchIDVlanVlanUUIDNotFound with default headers values

func (*DeleteEthernetSwitchIDVlanVlanUUIDNotFound) Error

func (*DeleteEthernetSwitchIDVlanVlanUUIDNotFound) IsClientError

IsClientError returns true when this delete ethernet switch Id vlan vlan Uuid not found response has a 4xx status code

func (*DeleteEthernetSwitchIDVlanVlanUUIDNotFound) IsCode

IsCode returns true when this delete ethernet switch Id vlan vlan Uuid not found response a status code equal to that given

func (*DeleteEthernetSwitchIDVlanVlanUUIDNotFound) IsRedirect

IsRedirect returns true when this delete ethernet switch Id vlan vlan Uuid not found response has a 3xx status code

func (*DeleteEthernetSwitchIDVlanVlanUUIDNotFound) IsServerError

IsServerError returns true when this delete ethernet switch Id vlan vlan Uuid not found response has a 5xx status code

func (*DeleteEthernetSwitchIDVlanVlanUUIDNotFound) IsSuccess

IsSuccess returns true when this delete ethernet switch Id vlan vlan Uuid not found response has a 2xx status code

func (*DeleteEthernetSwitchIDVlanVlanUUIDNotFound) String

type DeleteEthernetSwitchIDVlanVlanUUIDParams

type DeleteEthernetSwitchIDVlanVlanUUIDParams struct {

	/* ID.

	   Ethernet switch ID
	*/
	ID string

	/* VlanUUID.

	   Ethernet switch VLAN UUID
	*/
	VlanUUID string

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

DeleteEthernetSwitchIDVlanVlanUUIDParams contains all the parameters to send to the API endpoint

for the delete ethernet switch ID vlan vlan UUID operation.

Typically these are written to a http.Request.

func NewDeleteEthernetSwitchIDVlanVlanUUIDParams

func NewDeleteEthernetSwitchIDVlanVlanUUIDParams() *DeleteEthernetSwitchIDVlanVlanUUIDParams

NewDeleteEthernetSwitchIDVlanVlanUUIDParams creates a new DeleteEthernetSwitchIDVlanVlanUUIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteEthernetSwitchIDVlanVlanUUIDParamsWithContext

func NewDeleteEthernetSwitchIDVlanVlanUUIDParamsWithContext(ctx context.Context) *DeleteEthernetSwitchIDVlanVlanUUIDParams

NewDeleteEthernetSwitchIDVlanVlanUUIDParamsWithContext creates a new DeleteEthernetSwitchIDVlanVlanUUIDParams object with the ability to set a context for a request.

func NewDeleteEthernetSwitchIDVlanVlanUUIDParamsWithHTTPClient

func NewDeleteEthernetSwitchIDVlanVlanUUIDParamsWithHTTPClient(client *http.Client) *DeleteEthernetSwitchIDVlanVlanUUIDParams

NewDeleteEthernetSwitchIDVlanVlanUUIDParamsWithHTTPClient creates a new DeleteEthernetSwitchIDVlanVlanUUIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteEthernetSwitchIDVlanVlanUUIDParamsWithTimeout

func NewDeleteEthernetSwitchIDVlanVlanUUIDParamsWithTimeout(timeout time.Duration) *DeleteEthernetSwitchIDVlanVlanUUIDParams

NewDeleteEthernetSwitchIDVlanVlanUUIDParamsWithTimeout creates a new DeleteEthernetSwitchIDVlanVlanUUIDParams object with the ability to set a timeout on a request.

func (*DeleteEthernetSwitchIDVlanVlanUUIDParams) SetContext

SetContext adds the context to the delete ethernet switch ID vlan vlan UUID params

func (*DeleteEthernetSwitchIDVlanVlanUUIDParams) SetDefaults

SetDefaults hydrates default values in the delete ethernet switch ID vlan vlan UUID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteEthernetSwitchIDVlanVlanUUIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete ethernet switch ID vlan vlan UUID params

func (*DeleteEthernetSwitchIDVlanVlanUUIDParams) SetID

SetID adds the id to the delete ethernet switch ID vlan vlan UUID params

func (*DeleteEthernetSwitchIDVlanVlanUUIDParams) SetTimeout

SetTimeout adds the timeout to the delete ethernet switch ID vlan vlan UUID params

func (*DeleteEthernetSwitchIDVlanVlanUUIDParams) SetVlanUUID

func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) SetVlanUUID(vlanUUID string)

SetVlanUUID adds the vlanUuid to the delete ethernet switch ID vlan vlan UUID params

func (*DeleteEthernetSwitchIDVlanVlanUUIDParams) WithContext

WithContext adds the context to the delete ethernet switch ID vlan vlan UUID params

func (*DeleteEthernetSwitchIDVlanVlanUUIDParams) WithDefaults

WithDefaults hydrates default values in the delete ethernet switch ID vlan vlan UUID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteEthernetSwitchIDVlanVlanUUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete ethernet switch ID vlan vlan UUID params

func (*DeleteEthernetSwitchIDVlanVlanUUIDParams) WithID

WithID adds the id to the delete ethernet switch ID vlan vlan UUID params

func (*DeleteEthernetSwitchIDVlanVlanUUIDParams) WithTimeout

WithTimeout adds the timeout to the delete ethernet switch ID vlan vlan UUID params

func (*DeleteEthernetSwitchIDVlanVlanUUIDParams) WithVlanUUID

WithVlanUUID adds the vlanUUID to the delete ethernet switch ID vlan vlan UUID params

func (*DeleteEthernetSwitchIDVlanVlanUUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteEthernetSwitchIDVlanVlanUUIDReader

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

DeleteEthernetSwitchIDVlanVlanUUIDReader is a Reader for the DeleteEthernetSwitchIDVlanVlanUUID structure.

func (*DeleteEthernetSwitchIDVlanVlanUUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEthernetSwitchIDInternalServerError

type GetEthernetSwitchIDInternalServerError struct {
}

GetEthernetSwitchIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetEthernetSwitchIDInternalServerError

func NewGetEthernetSwitchIDInternalServerError() *GetEthernetSwitchIDInternalServerError

NewGetEthernetSwitchIDInternalServerError creates a GetEthernetSwitchIDInternalServerError with default headers values

func (*GetEthernetSwitchIDInternalServerError) Error

func (*GetEthernetSwitchIDInternalServerError) IsClientError

func (o *GetEthernetSwitchIDInternalServerError) IsClientError() bool

IsClientError returns true when this get ethernet switch Id internal server error response has a 4xx status code

func (*GetEthernetSwitchIDInternalServerError) IsCode

IsCode returns true when this get ethernet switch Id internal server error response a status code equal to that given

func (*GetEthernetSwitchIDInternalServerError) IsRedirect

IsRedirect returns true when this get ethernet switch Id internal server error response has a 3xx status code

func (*GetEthernetSwitchIDInternalServerError) IsServerError

func (o *GetEthernetSwitchIDInternalServerError) IsServerError() bool

IsServerError returns true when this get ethernet switch Id internal server error response has a 5xx status code

func (*GetEthernetSwitchIDInternalServerError) IsSuccess

IsSuccess returns true when this get ethernet switch Id internal server error response has a 2xx status code

func (*GetEthernetSwitchIDInternalServerError) String

type GetEthernetSwitchIDNotFound

type GetEthernetSwitchIDNotFound struct {
}

GetEthernetSwitchIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetEthernetSwitchIDNotFound

func NewGetEthernetSwitchIDNotFound() *GetEthernetSwitchIDNotFound

NewGetEthernetSwitchIDNotFound creates a GetEthernetSwitchIDNotFound with default headers values

func (*GetEthernetSwitchIDNotFound) Error

func (*GetEthernetSwitchIDNotFound) IsClientError

func (o *GetEthernetSwitchIDNotFound) IsClientError() bool

IsClientError returns true when this get ethernet switch Id not found response has a 4xx status code

func (*GetEthernetSwitchIDNotFound) IsCode

func (o *GetEthernetSwitchIDNotFound) IsCode(code int) bool

IsCode returns true when this get ethernet switch Id not found response a status code equal to that given

func (*GetEthernetSwitchIDNotFound) IsRedirect

func (o *GetEthernetSwitchIDNotFound) IsRedirect() bool

IsRedirect returns true when this get ethernet switch Id not found response has a 3xx status code

func (*GetEthernetSwitchIDNotFound) IsServerError

func (o *GetEthernetSwitchIDNotFound) IsServerError() bool

IsServerError returns true when this get ethernet switch Id not found response has a 5xx status code

func (*GetEthernetSwitchIDNotFound) IsSuccess

func (o *GetEthernetSwitchIDNotFound) IsSuccess() bool

IsSuccess returns true when this get ethernet switch Id not found response has a 2xx status code

func (*GetEthernetSwitchIDNotFound) String

func (o *GetEthernetSwitchIDNotFound) String() string

type GetEthernetSwitchIDOK

type GetEthernetSwitchIDOK struct {
	Payload *models.DtosEthernetSwitchDto
}

GetEthernetSwitchIDOK describes a response with status code 200, with default header values.

OK

func NewGetEthernetSwitchIDOK

func NewGetEthernetSwitchIDOK() *GetEthernetSwitchIDOK

NewGetEthernetSwitchIDOK creates a GetEthernetSwitchIDOK with default headers values

func (*GetEthernetSwitchIDOK) Error

func (o *GetEthernetSwitchIDOK) Error() string

func (*GetEthernetSwitchIDOK) GetPayload

func (*GetEthernetSwitchIDOK) IsClientError

func (o *GetEthernetSwitchIDOK) IsClientError() bool

IsClientError returns true when this get ethernet switch Id o k response has a 4xx status code

func (*GetEthernetSwitchIDOK) IsCode

func (o *GetEthernetSwitchIDOK) IsCode(code int) bool

IsCode returns true when this get ethernet switch Id o k response a status code equal to that given

func (*GetEthernetSwitchIDOK) IsRedirect

func (o *GetEthernetSwitchIDOK) IsRedirect() bool

IsRedirect returns true when this get ethernet switch Id o k response has a 3xx status code

func (*GetEthernetSwitchIDOK) IsServerError

func (o *GetEthernetSwitchIDOK) IsServerError() bool

IsServerError returns true when this get ethernet switch Id o k response has a 5xx status code

func (*GetEthernetSwitchIDOK) IsSuccess

func (o *GetEthernetSwitchIDOK) IsSuccess() bool

IsSuccess returns true when this get ethernet switch Id o k response has a 2xx status code

func (*GetEthernetSwitchIDOK) String

func (o *GetEthernetSwitchIDOK) String() string

type GetEthernetSwitchIDParams

type GetEthernetSwitchIDParams struct {

	/* ID.

	   Ethernet switch ID
	*/
	ID string

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

GetEthernetSwitchIDParams contains all the parameters to send to the API endpoint

for the get ethernet switch ID operation.

Typically these are written to a http.Request.

func NewGetEthernetSwitchIDParams

func NewGetEthernetSwitchIDParams() *GetEthernetSwitchIDParams

NewGetEthernetSwitchIDParams creates a new GetEthernetSwitchIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEthernetSwitchIDParamsWithContext

func NewGetEthernetSwitchIDParamsWithContext(ctx context.Context) *GetEthernetSwitchIDParams

NewGetEthernetSwitchIDParamsWithContext creates a new GetEthernetSwitchIDParams object with the ability to set a context for a request.

func NewGetEthernetSwitchIDParamsWithHTTPClient

func NewGetEthernetSwitchIDParamsWithHTTPClient(client *http.Client) *GetEthernetSwitchIDParams

NewGetEthernetSwitchIDParamsWithHTTPClient creates a new GetEthernetSwitchIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetEthernetSwitchIDParamsWithTimeout

func NewGetEthernetSwitchIDParamsWithTimeout(timeout time.Duration) *GetEthernetSwitchIDParams

NewGetEthernetSwitchIDParamsWithTimeout creates a new GetEthernetSwitchIDParams object with the ability to set a timeout on a request.

func (*GetEthernetSwitchIDParams) SetContext

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

SetContext adds the context to the get ethernet switch ID params

func (*GetEthernetSwitchIDParams) SetDefaults

func (o *GetEthernetSwitchIDParams) SetDefaults()

SetDefaults hydrates default values in the get ethernet switch ID params (not the query body).

All values with no default are reset to their zero value.

func (*GetEthernetSwitchIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get ethernet switch ID params

func (*GetEthernetSwitchIDParams) SetID

func (o *GetEthernetSwitchIDParams) SetID(id string)

SetID adds the id to the get ethernet switch ID params

func (*GetEthernetSwitchIDParams) SetTimeout

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

SetTimeout adds the timeout to the get ethernet switch ID params

func (*GetEthernetSwitchIDParams) WithContext

WithContext adds the context to the get ethernet switch ID params

func (*GetEthernetSwitchIDParams) WithDefaults

WithDefaults hydrates default values in the get ethernet switch ID params (not the query body).

All values with no default are reset to their zero value.

func (*GetEthernetSwitchIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get ethernet switch ID params

func (*GetEthernetSwitchIDParams) WithID

WithID adds the id to the get ethernet switch ID params

func (*GetEthernetSwitchIDParams) WithTimeout

WithTimeout adds the timeout to the get ethernet switch ID params

func (*GetEthernetSwitchIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEthernetSwitchIDPortInternalServerError

type GetEthernetSwitchIDPortInternalServerError struct {
}

GetEthernetSwitchIDPortInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetEthernetSwitchIDPortInternalServerError

func NewGetEthernetSwitchIDPortInternalServerError() *GetEthernetSwitchIDPortInternalServerError

NewGetEthernetSwitchIDPortInternalServerError creates a GetEthernetSwitchIDPortInternalServerError with default headers values

func (*GetEthernetSwitchIDPortInternalServerError) Error

func (*GetEthernetSwitchIDPortInternalServerError) IsClientError

IsClientError returns true when this get ethernet switch Id port internal server error response has a 4xx status code

func (*GetEthernetSwitchIDPortInternalServerError) IsCode

IsCode returns true when this get ethernet switch Id port internal server error response a status code equal to that given

func (*GetEthernetSwitchIDPortInternalServerError) IsRedirect

IsRedirect returns true when this get ethernet switch Id port internal server error response has a 3xx status code

func (*GetEthernetSwitchIDPortInternalServerError) IsServerError

IsServerError returns true when this get ethernet switch Id port internal server error response has a 5xx status code

func (*GetEthernetSwitchIDPortInternalServerError) IsSuccess

IsSuccess returns true when this get ethernet switch Id port internal server error response has a 2xx status code

func (*GetEthernetSwitchIDPortInternalServerError) String

type GetEthernetSwitchIDPortNotFound

type GetEthernetSwitchIDPortNotFound struct {
}

GetEthernetSwitchIDPortNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetEthernetSwitchIDPortNotFound

func NewGetEthernetSwitchIDPortNotFound() *GetEthernetSwitchIDPortNotFound

NewGetEthernetSwitchIDPortNotFound creates a GetEthernetSwitchIDPortNotFound with default headers values

func (*GetEthernetSwitchIDPortNotFound) Error

func (*GetEthernetSwitchIDPortNotFound) IsClientError

func (o *GetEthernetSwitchIDPortNotFound) IsClientError() bool

IsClientError returns true when this get ethernet switch Id port not found response has a 4xx status code

func (*GetEthernetSwitchIDPortNotFound) IsCode

func (o *GetEthernetSwitchIDPortNotFound) IsCode(code int) bool

IsCode returns true when this get ethernet switch Id port not found response a status code equal to that given

func (*GetEthernetSwitchIDPortNotFound) IsRedirect

func (o *GetEthernetSwitchIDPortNotFound) IsRedirect() bool

IsRedirect returns true when this get ethernet switch Id port not found response has a 3xx status code

func (*GetEthernetSwitchIDPortNotFound) IsServerError

func (o *GetEthernetSwitchIDPortNotFound) IsServerError() bool

IsServerError returns true when this get ethernet switch Id port not found response has a 5xx status code

func (*GetEthernetSwitchIDPortNotFound) IsSuccess

func (o *GetEthernetSwitchIDPortNotFound) IsSuccess() bool

IsSuccess returns true when this get ethernet switch Id port not found response has a 2xx status code

func (*GetEthernetSwitchIDPortNotFound) String

type GetEthernetSwitchIDPortOK

type GetEthernetSwitchIDPortOK struct {
	Payload *models.DtosPaginatedItemsDtoDtosEthernetSwitchPortDto
}

GetEthernetSwitchIDPortOK describes a response with status code 200, with default header values.

OK

func NewGetEthernetSwitchIDPortOK

func NewGetEthernetSwitchIDPortOK() *GetEthernetSwitchIDPortOK

NewGetEthernetSwitchIDPortOK creates a GetEthernetSwitchIDPortOK with default headers values

func (*GetEthernetSwitchIDPortOK) Error

func (o *GetEthernetSwitchIDPortOK) Error() string

func (*GetEthernetSwitchIDPortOK) GetPayload

func (*GetEthernetSwitchIDPortOK) IsClientError

func (o *GetEthernetSwitchIDPortOK) IsClientError() bool

IsClientError returns true when this get ethernet switch Id port o k response has a 4xx status code

func (*GetEthernetSwitchIDPortOK) IsCode

func (o *GetEthernetSwitchIDPortOK) IsCode(code int) bool

IsCode returns true when this get ethernet switch Id port o k response a status code equal to that given

func (*GetEthernetSwitchIDPortOK) IsRedirect

func (o *GetEthernetSwitchIDPortOK) IsRedirect() bool

IsRedirect returns true when this get ethernet switch Id port o k response has a 3xx status code

func (*GetEthernetSwitchIDPortOK) IsServerError

func (o *GetEthernetSwitchIDPortOK) IsServerError() bool

IsServerError returns true when this get ethernet switch Id port o k response has a 5xx status code

func (*GetEthernetSwitchIDPortOK) IsSuccess

func (o *GetEthernetSwitchIDPortOK) IsSuccess() bool

IsSuccess returns true when this get ethernet switch Id port o k response has a 2xx status code

func (*GetEthernetSwitchIDPortOK) String

func (o *GetEthernetSwitchIDPortOK) String() string

type GetEthernetSwitchIDPortParams

type GetEthernetSwitchIDPortParams struct {

	/* ID.

	   Ethernet switch ID
	*/
	ID string

	/* OrderBy.

	   Order by field, default - Name
	*/
	OrderBy *string

	/* OrderDirection.

	   'asc' or 'desc' for ascending or descending order, default - asc
	*/
	OrderDirection *string

	/* Page.

	   Page number, default - 1
	*/
	Page *int64

	/* PageSize.

	   Number of entities per page, default - 10
	*/
	PageSize *int64

	/* Search.

	   Searchable value in entity, default -
	*/
	Search *string

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

GetEthernetSwitchIDPortParams contains all the parameters to send to the API endpoint

for the get ethernet switch ID port operation.

Typically these are written to a http.Request.

func NewGetEthernetSwitchIDPortParams

func NewGetEthernetSwitchIDPortParams() *GetEthernetSwitchIDPortParams

NewGetEthernetSwitchIDPortParams creates a new GetEthernetSwitchIDPortParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEthernetSwitchIDPortParamsWithContext

func NewGetEthernetSwitchIDPortParamsWithContext(ctx context.Context) *GetEthernetSwitchIDPortParams

NewGetEthernetSwitchIDPortParamsWithContext creates a new GetEthernetSwitchIDPortParams object with the ability to set a context for a request.

func NewGetEthernetSwitchIDPortParamsWithHTTPClient

func NewGetEthernetSwitchIDPortParamsWithHTTPClient(client *http.Client) *GetEthernetSwitchIDPortParams

NewGetEthernetSwitchIDPortParamsWithHTTPClient creates a new GetEthernetSwitchIDPortParams object with the ability to set a custom HTTPClient for a request.

func NewGetEthernetSwitchIDPortParamsWithTimeout

func NewGetEthernetSwitchIDPortParamsWithTimeout(timeout time.Duration) *GetEthernetSwitchIDPortParams

NewGetEthernetSwitchIDPortParamsWithTimeout creates a new GetEthernetSwitchIDPortParams object with the ability to set a timeout on a request.

func (*GetEthernetSwitchIDPortParams) SetContext

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

SetContext adds the context to the get ethernet switch ID port params

func (*GetEthernetSwitchIDPortParams) SetDefaults

func (o *GetEthernetSwitchIDPortParams) SetDefaults()

SetDefaults hydrates default values in the get ethernet switch ID port params (not the query body).

All values with no default are reset to their zero value.

func (*GetEthernetSwitchIDPortParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get ethernet switch ID port params

func (*GetEthernetSwitchIDPortParams) SetID

SetID adds the id to the get ethernet switch ID port params

func (*GetEthernetSwitchIDPortParams) SetOrderBy

func (o *GetEthernetSwitchIDPortParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the get ethernet switch ID port params

func (*GetEthernetSwitchIDPortParams) SetOrderDirection

func (o *GetEthernetSwitchIDPortParams) SetOrderDirection(orderDirection *string)

SetOrderDirection adds the orderDirection to the get ethernet switch ID port params

func (*GetEthernetSwitchIDPortParams) SetPage

func (o *GetEthernetSwitchIDPortParams) SetPage(page *int64)

SetPage adds the page to the get ethernet switch ID port params

func (*GetEthernetSwitchIDPortParams) SetPageSize

func (o *GetEthernetSwitchIDPortParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the get ethernet switch ID port params

func (*GetEthernetSwitchIDPortParams) SetSearch

func (o *GetEthernetSwitchIDPortParams) SetSearch(search *string)

SetSearch adds the search to the get ethernet switch ID port params

func (*GetEthernetSwitchIDPortParams) SetTimeout

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

SetTimeout adds the timeout to the get ethernet switch ID port params

func (*GetEthernetSwitchIDPortParams) WithContext

WithContext adds the context to the get ethernet switch ID port params

func (*GetEthernetSwitchIDPortParams) WithDefaults

WithDefaults hydrates default values in the get ethernet switch ID port params (not the query body).

All values with no default are reset to their zero value.

func (*GetEthernetSwitchIDPortParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get ethernet switch ID port params

func (*GetEthernetSwitchIDPortParams) WithID

WithID adds the id to the get ethernet switch ID port params

func (*GetEthernetSwitchIDPortParams) WithOrderBy

WithOrderBy adds the orderBy to the get ethernet switch ID port params

func (*GetEthernetSwitchIDPortParams) WithOrderDirection

func (o *GetEthernetSwitchIDPortParams) WithOrderDirection(orderDirection *string) *GetEthernetSwitchIDPortParams

WithOrderDirection adds the orderDirection to the get ethernet switch ID port params

func (*GetEthernetSwitchIDPortParams) WithPage

WithPage adds the page to the get ethernet switch ID port params

func (*GetEthernetSwitchIDPortParams) WithPageSize

WithPageSize adds the pageSize to the get ethernet switch ID port params

func (*GetEthernetSwitchIDPortParams) WithSearch

WithSearch adds the search to the get ethernet switch ID port params

func (*GetEthernetSwitchIDPortParams) WithTimeout

WithTimeout adds the timeout to the get ethernet switch ID port params

func (*GetEthernetSwitchIDPortParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEthernetSwitchIDPortPortIDInternalServerError

type GetEthernetSwitchIDPortPortIDInternalServerError struct {
}

GetEthernetSwitchIDPortPortIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetEthernetSwitchIDPortPortIDInternalServerError

func NewGetEthernetSwitchIDPortPortIDInternalServerError() *GetEthernetSwitchIDPortPortIDInternalServerError

NewGetEthernetSwitchIDPortPortIDInternalServerError creates a GetEthernetSwitchIDPortPortIDInternalServerError with default headers values

func (*GetEthernetSwitchIDPortPortIDInternalServerError) Error

func (*GetEthernetSwitchIDPortPortIDInternalServerError) IsClientError

IsClientError returns true when this get ethernet switch Id port port Id internal server error response has a 4xx status code

func (*GetEthernetSwitchIDPortPortIDInternalServerError) IsCode

IsCode returns true when this get ethernet switch Id port port Id internal server error response a status code equal to that given

func (*GetEthernetSwitchIDPortPortIDInternalServerError) IsRedirect

IsRedirect returns true when this get ethernet switch Id port port Id internal server error response has a 3xx status code

func (*GetEthernetSwitchIDPortPortIDInternalServerError) IsServerError

IsServerError returns true when this get ethernet switch Id port port Id internal server error response has a 5xx status code

func (*GetEthernetSwitchIDPortPortIDInternalServerError) IsSuccess

IsSuccess returns true when this get ethernet switch Id port port Id internal server error response has a 2xx status code

func (*GetEthernetSwitchIDPortPortIDInternalServerError) String

type GetEthernetSwitchIDPortPortIDNotFound

type GetEthernetSwitchIDPortPortIDNotFound struct {
}

GetEthernetSwitchIDPortPortIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetEthernetSwitchIDPortPortIDNotFound

func NewGetEthernetSwitchIDPortPortIDNotFound() *GetEthernetSwitchIDPortPortIDNotFound

NewGetEthernetSwitchIDPortPortIDNotFound creates a GetEthernetSwitchIDPortPortIDNotFound with default headers values

func (*GetEthernetSwitchIDPortPortIDNotFound) Error

func (*GetEthernetSwitchIDPortPortIDNotFound) IsClientError

func (o *GetEthernetSwitchIDPortPortIDNotFound) IsClientError() bool

IsClientError returns true when this get ethernet switch Id port port Id not found response has a 4xx status code

func (*GetEthernetSwitchIDPortPortIDNotFound) IsCode

IsCode returns true when this get ethernet switch Id port port Id not found response a status code equal to that given

func (*GetEthernetSwitchIDPortPortIDNotFound) IsRedirect

IsRedirect returns true when this get ethernet switch Id port port Id not found response has a 3xx status code

func (*GetEthernetSwitchIDPortPortIDNotFound) IsServerError

func (o *GetEthernetSwitchIDPortPortIDNotFound) IsServerError() bool

IsServerError returns true when this get ethernet switch Id port port Id not found response has a 5xx status code

func (*GetEthernetSwitchIDPortPortIDNotFound) IsSuccess

IsSuccess returns true when this get ethernet switch Id port port Id not found response has a 2xx status code

func (*GetEthernetSwitchIDPortPortIDNotFound) String

type GetEthernetSwitchIDPortPortIDOK

type GetEthernetSwitchIDPortPortIDOK struct {
	Payload *models.DtosEthernetSwitchPortDto
}

GetEthernetSwitchIDPortPortIDOK describes a response with status code 200, with default header values.

OK

func NewGetEthernetSwitchIDPortPortIDOK

func NewGetEthernetSwitchIDPortPortIDOK() *GetEthernetSwitchIDPortPortIDOK

NewGetEthernetSwitchIDPortPortIDOK creates a GetEthernetSwitchIDPortPortIDOK with default headers values

func (*GetEthernetSwitchIDPortPortIDOK) Error

func (*GetEthernetSwitchIDPortPortIDOK) GetPayload

func (*GetEthernetSwitchIDPortPortIDOK) IsClientError

func (o *GetEthernetSwitchIDPortPortIDOK) IsClientError() bool

IsClientError returns true when this get ethernet switch Id port port Id o k response has a 4xx status code

func (*GetEthernetSwitchIDPortPortIDOK) IsCode

func (o *GetEthernetSwitchIDPortPortIDOK) IsCode(code int) bool

IsCode returns true when this get ethernet switch Id port port Id o k response a status code equal to that given

func (*GetEthernetSwitchIDPortPortIDOK) IsRedirect

func (o *GetEthernetSwitchIDPortPortIDOK) IsRedirect() bool

IsRedirect returns true when this get ethernet switch Id port port Id o k response has a 3xx status code

func (*GetEthernetSwitchIDPortPortIDOK) IsServerError

func (o *GetEthernetSwitchIDPortPortIDOK) IsServerError() bool

IsServerError returns true when this get ethernet switch Id port port Id o k response has a 5xx status code

func (*GetEthernetSwitchIDPortPortIDOK) IsSuccess

func (o *GetEthernetSwitchIDPortPortIDOK) IsSuccess() bool

IsSuccess returns true when this get ethernet switch Id port port Id o k response has a 2xx status code

func (*GetEthernetSwitchIDPortPortIDOK) String

type GetEthernetSwitchIDPortPortIDParams

type GetEthernetSwitchIDPortPortIDParams struct {

	/* ID.

	   Ethernet switch ID
	*/
	ID string

	/* PortID.

	   Ethernet switch port ID
	*/
	PortID string

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

GetEthernetSwitchIDPortPortIDParams contains all the parameters to send to the API endpoint

for the get ethernet switch ID port port ID operation.

Typically these are written to a http.Request.

func NewGetEthernetSwitchIDPortPortIDParams

func NewGetEthernetSwitchIDPortPortIDParams() *GetEthernetSwitchIDPortPortIDParams

NewGetEthernetSwitchIDPortPortIDParams creates a new GetEthernetSwitchIDPortPortIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEthernetSwitchIDPortPortIDParamsWithContext

func NewGetEthernetSwitchIDPortPortIDParamsWithContext(ctx context.Context) *GetEthernetSwitchIDPortPortIDParams

NewGetEthernetSwitchIDPortPortIDParamsWithContext creates a new GetEthernetSwitchIDPortPortIDParams object with the ability to set a context for a request.

func NewGetEthernetSwitchIDPortPortIDParamsWithHTTPClient

func NewGetEthernetSwitchIDPortPortIDParamsWithHTTPClient(client *http.Client) *GetEthernetSwitchIDPortPortIDParams

NewGetEthernetSwitchIDPortPortIDParamsWithHTTPClient creates a new GetEthernetSwitchIDPortPortIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetEthernetSwitchIDPortPortIDParamsWithTimeout

func NewGetEthernetSwitchIDPortPortIDParamsWithTimeout(timeout time.Duration) *GetEthernetSwitchIDPortPortIDParams

NewGetEthernetSwitchIDPortPortIDParamsWithTimeout creates a new GetEthernetSwitchIDPortPortIDParams object with the ability to set a timeout on a request.

func (*GetEthernetSwitchIDPortPortIDParams) SetContext

SetContext adds the context to the get ethernet switch ID port port ID params

func (*GetEthernetSwitchIDPortPortIDParams) SetDefaults

func (o *GetEthernetSwitchIDPortPortIDParams) SetDefaults()

SetDefaults hydrates default values in the get ethernet switch ID port port ID params (not the query body).

All values with no default are reset to their zero value.

func (*GetEthernetSwitchIDPortPortIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get ethernet switch ID port port ID params

func (*GetEthernetSwitchIDPortPortIDParams) SetID

SetID adds the id to the get ethernet switch ID port port ID params

func (*GetEthernetSwitchIDPortPortIDParams) SetPortID

func (o *GetEthernetSwitchIDPortPortIDParams) SetPortID(portID string)

SetPortID adds the portId to the get ethernet switch ID port port ID params

func (*GetEthernetSwitchIDPortPortIDParams) SetTimeout

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

SetTimeout adds the timeout to the get ethernet switch ID port port ID params

func (*GetEthernetSwitchIDPortPortIDParams) WithContext

WithContext adds the context to the get ethernet switch ID port port ID params

func (*GetEthernetSwitchIDPortPortIDParams) WithDefaults

WithDefaults hydrates default values in the get ethernet switch ID port port ID params (not the query body).

All values with no default are reset to their zero value.

func (*GetEthernetSwitchIDPortPortIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get ethernet switch ID port port ID params

func (*GetEthernetSwitchIDPortPortIDParams) WithID

WithID adds the id to the get ethernet switch ID port port ID params

func (*GetEthernetSwitchIDPortPortIDParams) WithPortID

WithPortID adds the portID to the get ethernet switch ID port port ID params

func (*GetEthernetSwitchIDPortPortIDParams) WithTimeout

WithTimeout adds the timeout to the get ethernet switch ID port port ID params

func (*GetEthernetSwitchIDPortPortIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEthernetSwitchIDPortPortIDReader

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

GetEthernetSwitchIDPortPortIDReader is a Reader for the GetEthernetSwitchIDPortPortID structure.

func (*GetEthernetSwitchIDPortPortIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEthernetSwitchIDPortReader

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

GetEthernetSwitchIDPortReader is a Reader for the GetEthernetSwitchIDPort structure.

func (*GetEthernetSwitchIDPortReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEthernetSwitchIDReader

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

GetEthernetSwitchIDReader is a Reader for the GetEthernetSwitchID structure.

func (*GetEthernetSwitchIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEthernetSwitchIDVlanInternalServerError

type GetEthernetSwitchIDVlanInternalServerError struct {
}

GetEthernetSwitchIDVlanInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetEthernetSwitchIDVlanInternalServerError

func NewGetEthernetSwitchIDVlanInternalServerError() *GetEthernetSwitchIDVlanInternalServerError

NewGetEthernetSwitchIDVlanInternalServerError creates a GetEthernetSwitchIDVlanInternalServerError with default headers values

func (*GetEthernetSwitchIDVlanInternalServerError) Error

func (*GetEthernetSwitchIDVlanInternalServerError) IsClientError

IsClientError returns true when this get ethernet switch Id vlan internal server error response has a 4xx status code

func (*GetEthernetSwitchIDVlanInternalServerError) IsCode

IsCode returns true when this get ethernet switch Id vlan internal server error response a status code equal to that given

func (*GetEthernetSwitchIDVlanInternalServerError) IsRedirect

IsRedirect returns true when this get ethernet switch Id vlan internal server error response has a 3xx status code

func (*GetEthernetSwitchIDVlanInternalServerError) IsServerError

IsServerError returns true when this get ethernet switch Id vlan internal server error response has a 5xx status code

func (*GetEthernetSwitchIDVlanInternalServerError) IsSuccess

IsSuccess returns true when this get ethernet switch Id vlan internal server error response has a 2xx status code

func (*GetEthernetSwitchIDVlanInternalServerError) String

type GetEthernetSwitchIDVlanOK

type GetEthernetSwitchIDVlanOK struct {
	Payload *models.DtosPaginatedItemsDtoDtosEthernetSwitchVLANDto
}

GetEthernetSwitchIDVlanOK describes a response with status code 200, with default header values.

OK

func NewGetEthernetSwitchIDVlanOK

func NewGetEthernetSwitchIDVlanOK() *GetEthernetSwitchIDVlanOK

NewGetEthernetSwitchIDVlanOK creates a GetEthernetSwitchIDVlanOK with default headers values

func (*GetEthernetSwitchIDVlanOK) Error

func (o *GetEthernetSwitchIDVlanOK) Error() string

func (*GetEthernetSwitchIDVlanOK) GetPayload

func (*GetEthernetSwitchIDVlanOK) IsClientError

func (o *GetEthernetSwitchIDVlanOK) IsClientError() bool

IsClientError returns true when this get ethernet switch Id vlan o k response has a 4xx status code

func (*GetEthernetSwitchIDVlanOK) IsCode

func (o *GetEthernetSwitchIDVlanOK) IsCode(code int) bool

IsCode returns true when this get ethernet switch Id vlan o k response a status code equal to that given

func (*GetEthernetSwitchIDVlanOK) IsRedirect

func (o *GetEthernetSwitchIDVlanOK) IsRedirect() bool

IsRedirect returns true when this get ethernet switch Id vlan o k response has a 3xx status code

func (*GetEthernetSwitchIDVlanOK) IsServerError

func (o *GetEthernetSwitchIDVlanOK) IsServerError() bool

IsServerError returns true when this get ethernet switch Id vlan o k response has a 5xx status code

func (*GetEthernetSwitchIDVlanOK) IsSuccess

func (o *GetEthernetSwitchIDVlanOK) IsSuccess() bool

IsSuccess returns true when this get ethernet switch Id vlan o k response has a 2xx status code

func (*GetEthernetSwitchIDVlanOK) String

func (o *GetEthernetSwitchIDVlanOK) String() string

type GetEthernetSwitchIDVlanParams

type GetEthernetSwitchIDVlanParams struct {

	/* ID.

	   Ethernet switch ID
	*/
	ID string

	/* OrderBy.

	   Order by field
	*/
	OrderBy *string

	/* OrderDirection.

	   'asc' or 'desc' for ascending or descending order
	*/
	OrderDirection *string

	/* Page.

	   Page number
	*/
	Page *int64

	/* PageSize.

	   Number of entities per page
	*/
	PageSize *int64

	/* Search.

	   Searchable value in entity
	*/
	Search *string

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

GetEthernetSwitchIDVlanParams contains all the parameters to send to the API endpoint

for the get ethernet switch ID vlan operation.

Typically these are written to a http.Request.

func NewGetEthernetSwitchIDVlanParams

func NewGetEthernetSwitchIDVlanParams() *GetEthernetSwitchIDVlanParams

NewGetEthernetSwitchIDVlanParams creates a new GetEthernetSwitchIDVlanParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEthernetSwitchIDVlanParamsWithContext

func NewGetEthernetSwitchIDVlanParamsWithContext(ctx context.Context) *GetEthernetSwitchIDVlanParams

NewGetEthernetSwitchIDVlanParamsWithContext creates a new GetEthernetSwitchIDVlanParams object with the ability to set a context for a request.

func NewGetEthernetSwitchIDVlanParamsWithHTTPClient

func NewGetEthernetSwitchIDVlanParamsWithHTTPClient(client *http.Client) *GetEthernetSwitchIDVlanParams

NewGetEthernetSwitchIDVlanParamsWithHTTPClient creates a new GetEthernetSwitchIDVlanParams object with the ability to set a custom HTTPClient for a request.

func NewGetEthernetSwitchIDVlanParamsWithTimeout

func NewGetEthernetSwitchIDVlanParamsWithTimeout(timeout time.Duration) *GetEthernetSwitchIDVlanParams

NewGetEthernetSwitchIDVlanParamsWithTimeout creates a new GetEthernetSwitchIDVlanParams object with the ability to set a timeout on a request.

func (*GetEthernetSwitchIDVlanParams) SetContext

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

SetContext adds the context to the get ethernet switch ID vlan params

func (*GetEthernetSwitchIDVlanParams) SetDefaults

func (o *GetEthernetSwitchIDVlanParams) SetDefaults()

SetDefaults hydrates default values in the get ethernet switch ID vlan params (not the query body).

All values with no default are reset to their zero value.

func (*GetEthernetSwitchIDVlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get ethernet switch ID vlan params

func (*GetEthernetSwitchIDVlanParams) SetID

SetID adds the id to the get ethernet switch ID vlan params

func (*GetEthernetSwitchIDVlanParams) SetOrderBy

func (o *GetEthernetSwitchIDVlanParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the get ethernet switch ID vlan params

func (*GetEthernetSwitchIDVlanParams) SetOrderDirection

func (o *GetEthernetSwitchIDVlanParams) SetOrderDirection(orderDirection *string)

SetOrderDirection adds the orderDirection to the get ethernet switch ID vlan params

func (*GetEthernetSwitchIDVlanParams) SetPage

func (o *GetEthernetSwitchIDVlanParams) SetPage(page *int64)

SetPage adds the page to the get ethernet switch ID vlan params

func (*GetEthernetSwitchIDVlanParams) SetPageSize

func (o *GetEthernetSwitchIDVlanParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the get ethernet switch ID vlan params

func (*GetEthernetSwitchIDVlanParams) SetSearch

func (o *GetEthernetSwitchIDVlanParams) SetSearch(search *string)

SetSearch adds the search to the get ethernet switch ID vlan params

func (*GetEthernetSwitchIDVlanParams) SetTimeout

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

SetTimeout adds the timeout to the get ethernet switch ID vlan params

func (*GetEthernetSwitchIDVlanParams) WithContext

WithContext adds the context to the get ethernet switch ID vlan params

func (*GetEthernetSwitchIDVlanParams) WithDefaults

WithDefaults hydrates default values in the get ethernet switch ID vlan params (not the query body).

All values with no default are reset to their zero value.

func (*GetEthernetSwitchIDVlanParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get ethernet switch ID vlan params

func (*GetEthernetSwitchIDVlanParams) WithID

WithID adds the id to the get ethernet switch ID vlan params

func (*GetEthernetSwitchIDVlanParams) WithOrderBy

WithOrderBy adds the orderBy to the get ethernet switch ID vlan params

func (*GetEthernetSwitchIDVlanParams) WithOrderDirection

func (o *GetEthernetSwitchIDVlanParams) WithOrderDirection(orderDirection *string) *GetEthernetSwitchIDVlanParams

WithOrderDirection adds the orderDirection to the get ethernet switch ID vlan params

func (*GetEthernetSwitchIDVlanParams) WithPage

WithPage adds the page to the get ethernet switch ID vlan params

func (*GetEthernetSwitchIDVlanParams) WithPageSize

WithPageSize adds the pageSize to the get ethernet switch ID vlan params

func (*GetEthernetSwitchIDVlanParams) WithSearch

WithSearch adds the search to the get ethernet switch ID vlan params

func (*GetEthernetSwitchIDVlanParams) WithTimeout

WithTimeout adds the timeout to the get ethernet switch ID vlan params

func (*GetEthernetSwitchIDVlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEthernetSwitchIDVlanReader

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

GetEthernetSwitchIDVlanReader is a Reader for the GetEthernetSwitchIDVlan structure.

func (*GetEthernetSwitchIDVlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEthernetSwitchIDVlanVlanUUIDInternalServerError

type GetEthernetSwitchIDVlanVlanUUIDInternalServerError struct {
}

GetEthernetSwitchIDVlanVlanUUIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetEthernetSwitchIDVlanVlanUUIDInternalServerError

func NewGetEthernetSwitchIDVlanVlanUUIDInternalServerError() *GetEthernetSwitchIDVlanVlanUUIDInternalServerError

NewGetEthernetSwitchIDVlanVlanUUIDInternalServerError creates a GetEthernetSwitchIDVlanVlanUUIDInternalServerError with default headers values

func (*GetEthernetSwitchIDVlanVlanUUIDInternalServerError) Error

func (*GetEthernetSwitchIDVlanVlanUUIDInternalServerError) IsClientError

IsClientError returns true when this get ethernet switch Id vlan vlan Uuid internal server error response has a 4xx status code

func (*GetEthernetSwitchIDVlanVlanUUIDInternalServerError) IsCode

IsCode returns true when this get ethernet switch Id vlan vlan Uuid internal server error response a status code equal to that given

func (*GetEthernetSwitchIDVlanVlanUUIDInternalServerError) IsRedirect

IsRedirect returns true when this get ethernet switch Id vlan vlan Uuid internal server error response has a 3xx status code

func (*GetEthernetSwitchIDVlanVlanUUIDInternalServerError) IsServerError

IsServerError returns true when this get ethernet switch Id vlan vlan Uuid internal server error response has a 5xx status code

func (*GetEthernetSwitchIDVlanVlanUUIDInternalServerError) IsSuccess

IsSuccess returns true when this get ethernet switch Id vlan vlan Uuid internal server error response has a 2xx status code

func (*GetEthernetSwitchIDVlanVlanUUIDInternalServerError) String

type GetEthernetSwitchIDVlanVlanUUIDNotFound

type GetEthernetSwitchIDVlanVlanUUIDNotFound struct {
}

GetEthernetSwitchIDVlanVlanUUIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetEthernetSwitchIDVlanVlanUUIDNotFound

func NewGetEthernetSwitchIDVlanVlanUUIDNotFound() *GetEthernetSwitchIDVlanVlanUUIDNotFound

NewGetEthernetSwitchIDVlanVlanUUIDNotFound creates a GetEthernetSwitchIDVlanVlanUUIDNotFound with default headers values

func (*GetEthernetSwitchIDVlanVlanUUIDNotFound) Error

func (*GetEthernetSwitchIDVlanVlanUUIDNotFound) IsClientError

func (o *GetEthernetSwitchIDVlanVlanUUIDNotFound) IsClientError() bool

IsClientError returns true when this get ethernet switch Id vlan vlan Uuid not found response has a 4xx status code

func (*GetEthernetSwitchIDVlanVlanUUIDNotFound) IsCode

IsCode returns true when this get ethernet switch Id vlan vlan Uuid not found response a status code equal to that given

func (*GetEthernetSwitchIDVlanVlanUUIDNotFound) IsRedirect

IsRedirect returns true when this get ethernet switch Id vlan vlan Uuid not found response has a 3xx status code

func (*GetEthernetSwitchIDVlanVlanUUIDNotFound) IsServerError

func (o *GetEthernetSwitchIDVlanVlanUUIDNotFound) IsServerError() bool

IsServerError returns true when this get ethernet switch Id vlan vlan Uuid not found response has a 5xx status code

func (*GetEthernetSwitchIDVlanVlanUUIDNotFound) IsSuccess

IsSuccess returns true when this get ethernet switch Id vlan vlan Uuid not found response has a 2xx status code

func (*GetEthernetSwitchIDVlanVlanUUIDNotFound) String

type GetEthernetSwitchIDVlanVlanUUIDOK

type GetEthernetSwitchIDVlanVlanUUIDOK struct {
	Payload *models.DtosEthernetSwitchVLANDto
}

GetEthernetSwitchIDVlanVlanUUIDOK describes a response with status code 200, with default header values.

OK

func NewGetEthernetSwitchIDVlanVlanUUIDOK

func NewGetEthernetSwitchIDVlanVlanUUIDOK() *GetEthernetSwitchIDVlanVlanUUIDOK

NewGetEthernetSwitchIDVlanVlanUUIDOK creates a GetEthernetSwitchIDVlanVlanUUIDOK with default headers values

func (*GetEthernetSwitchIDVlanVlanUUIDOK) Error

func (*GetEthernetSwitchIDVlanVlanUUIDOK) GetPayload

func (*GetEthernetSwitchIDVlanVlanUUIDOK) IsClientError

func (o *GetEthernetSwitchIDVlanVlanUUIDOK) IsClientError() bool

IsClientError returns true when this get ethernet switch Id vlan vlan Uuid o k response has a 4xx status code

func (*GetEthernetSwitchIDVlanVlanUUIDOK) IsCode

func (o *GetEthernetSwitchIDVlanVlanUUIDOK) IsCode(code int) bool

IsCode returns true when this get ethernet switch Id vlan vlan Uuid o k response a status code equal to that given

func (*GetEthernetSwitchIDVlanVlanUUIDOK) IsRedirect

func (o *GetEthernetSwitchIDVlanVlanUUIDOK) IsRedirect() bool

IsRedirect returns true when this get ethernet switch Id vlan vlan Uuid o k response has a 3xx status code

func (*GetEthernetSwitchIDVlanVlanUUIDOK) IsServerError

func (o *GetEthernetSwitchIDVlanVlanUUIDOK) IsServerError() bool

IsServerError returns true when this get ethernet switch Id vlan vlan Uuid o k response has a 5xx status code

func (*GetEthernetSwitchIDVlanVlanUUIDOK) IsSuccess

func (o *GetEthernetSwitchIDVlanVlanUUIDOK) IsSuccess() bool

IsSuccess returns true when this get ethernet switch Id vlan vlan Uuid o k response has a 2xx status code

func (*GetEthernetSwitchIDVlanVlanUUIDOK) String

type GetEthernetSwitchIDVlanVlanUUIDParams

type GetEthernetSwitchIDVlanVlanUUIDParams struct {

	/* ID.

	   Ethernet switch ID
	*/
	ID string

	/* VlanUUID.

	   Ethernet switch VLAN UUID
	*/
	VlanUUID string

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

GetEthernetSwitchIDVlanVlanUUIDParams contains all the parameters to send to the API endpoint

for the get ethernet switch ID vlan vlan UUID operation.

Typically these are written to a http.Request.

func NewGetEthernetSwitchIDVlanVlanUUIDParams

func NewGetEthernetSwitchIDVlanVlanUUIDParams() *GetEthernetSwitchIDVlanVlanUUIDParams

NewGetEthernetSwitchIDVlanVlanUUIDParams creates a new GetEthernetSwitchIDVlanVlanUUIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEthernetSwitchIDVlanVlanUUIDParamsWithContext

func NewGetEthernetSwitchIDVlanVlanUUIDParamsWithContext(ctx context.Context) *GetEthernetSwitchIDVlanVlanUUIDParams

NewGetEthernetSwitchIDVlanVlanUUIDParamsWithContext creates a new GetEthernetSwitchIDVlanVlanUUIDParams object with the ability to set a context for a request.

func NewGetEthernetSwitchIDVlanVlanUUIDParamsWithHTTPClient

func NewGetEthernetSwitchIDVlanVlanUUIDParamsWithHTTPClient(client *http.Client) *GetEthernetSwitchIDVlanVlanUUIDParams

NewGetEthernetSwitchIDVlanVlanUUIDParamsWithHTTPClient creates a new GetEthernetSwitchIDVlanVlanUUIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetEthernetSwitchIDVlanVlanUUIDParamsWithTimeout

func NewGetEthernetSwitchIDVlanVlanUUIDParamsWithTimeout(timeout time.Duration) *GetEthernetSwitchIDVlanVlanUUIDParams

NewGetEthernetSwitchIDVlanVlanUUIDParamsWithTimeout creates a new GetEthernetSwitchIDVlanVlanUUIDParams object with the ability to set a timeout on a request.

func (*GetEthernetSwitchIDVlanVlanUUIDParams) SetContext

SetContext adds the context to the get ethernet switch ID vlan vlan UUID params

func (*GetEthernetSwitchIDVlanVlanUUIDParams) SetDefaults

func (o *GetEthernetSwitchIDVlanVlanUUIDParams) SetDefaults()

SetDefaults hydrates default values in the get ethernet switch ID vlan vlan UUID params (not the query body).

All values with no default are reset to their zero value.

func (*GetEthernetSwitchIDVlanVlanUUIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get ethernet switch ID vlan vlan UUID params

func (*GetEthernetSwitchIDVlanVlanUUIDParams) SetID

SetID adds the id to the get ethernet switch ID vlan vlan UUID params

func (*GetEthernetSwitchIDVlanVlanUUIDParams) SetTimeout

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

SetTimeout adds the timeout to the get ethernet switch ID vlan vlan UUID params

func (*GetEthernetSwitchIDVlanVlanUUIDParams) SetVlanUUID

func (o *GetEthernetSwitchIDVlanVlanUUIDParams) SetVlanUUID(vlanUUID string)

SetVlanUUID adds the vlanUuid to the get ethernet switch ID vlan vlan UUID params

func (*GetEthernetSwitchIDVlanVlanUUIDParams) WithContext

WithContext adds the context to the get ethernet switch ID vlan vlan UUID params

func (*GetEthernetSwitchIDVlanVlanUUIDParams) WithDefaults

WithDefaults hydrates default values in the get ethernet switch ID vlan vlan UUID params (not the query body).

All values with no default are reset to their zero value.

func (*GetEthernetSwitchIDVlanVlanUUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get ethernet switch ID vlan vlan UUID params

func (*GetEthernetSwitchIDVlanVlanUUIDParams) WithID

WithID adds the id to the get ethernet switch ID vlan vlan UUID params

func (*GetEthernetSwitchIDVlanVlanUUIDParams) WithTimeout

WithTimeout adds the timeout to the get ethernet switch ID vlan vlan UUID params

func (*GetEthernetSwitchIDVlanVlanUUIDParams) WithVlanUUID

WithVlanUUID adds the vlanUUID to the get ethernet switch ID vlan vlan UUID params

func (*GetEthernetSwitchIDVlanVlanUUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEthernetSwitchIDVlanVlanUUIDReader

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

GetEthernetSwitchIDVlanVlanUUIDReader is a Reader for the GetEthernetSwitchIDVlanVlanUUID structure.

func (*GetEthernetSwitchIDVlanVlanUUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEthernetSwitchInternalServerError

type GetEthernetSwitchInternalServerError struct {
}

GetEthernetSwitchInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetEthernetSwitchInternalServerError

func NewGetEthernetSwitchInternalServerError() *GetEthernetSwitchInternalServerError

NewGetEthernetSwitchInternalServerError creates a GetEthernetSwitchInternalServerError with default headers values

func (*GetEthernetSwitchInternalServerError) Error

func (*GetEthernetSwitchInternalServerError) IsClientError

func (o *GetEthernetSwitchInternalServerError) IsClientError() bool

IsClientError returns true when this get ethernet switch internal server error response has a 4xx status code

func (*GetEthernetSwitchInternalServerError) IsCode

IsCode returns true when this get ethernet switch internal server error response a status code equal to that given

func (*GetEthernetSwitchInternalServerError) IsRedirect

IsRedirect returns true when this get ethernet switch internal server error response has a 3xx status code

func (*GetEthernetSwitchInternalServerError) IsServerError

func (o *GetEthernetSwitchInternalServerError) IsServerError() bool

IsServerError returns true when this get ethernet switch internal server error response has a 5xx status code

func (*GetEthernetSwitchInternalServerError) IsSuccess

IsSuccess returns true when this get ethernet switch internal server error response has a 2xx status code

func (*GetEthernetSwitchInternalServerError) String

type GetEthernetSwitchModelsOK

type GetEthernetSwitchModelsOK struct {
	Payload []*models.DtosEthernetSwitchModelDto
}

GetEthernetSwitchModelsOK describes a response with status code 200, with default header values.

OK

func NewGetEthernetSwitchModelsOK

func NewGetEthernetSwitchModelsOK() *GetEthernetSwitchModelsOK

NewGetEthernetSwitchModelsOK creates a GetEthernetSwitchModelsOK with default headers values

func (*GetEthernetSwitchModelsOK) Error

func (o *GetEthernetSwitchModelsOK) Error() string

func (*GetEthernetSwitchModelsOK) GetPayload

func (*GetEthernetSwitchModelsOK) IsClientError

func (o *GetEthernetSwitchModelsOK) IsClientError() bool

IsClientError returns true when this get ethernet switch models o k response has a 4xx status code

func (*GetEthernetSwitchModelsOK) IsCode

func (o *GetEthernetSwitchModelsOK) IsCode(code int) bool

IsCode returns true when this get ethernet switch models o k response a status code equal to that given

func (*GetEthernetSwitchModelsOK) IsRedirect

func (o *GetEthernetSwitchModelsOK) IsRedirect() bool

IsRedirect returns true when this get ethernet switch models o k response has a 3xx status code

func (*GetEthernetSwitchModelsOK) IsServerError

func (o *GetEthernetSwitchModelsOK) IsServerError() bool

IsServerError returns true when this get ethernet switch models o k response has a 5xx status code

func (*GetEthernetSwitchModelsOK) IsSuccess

func (o *GetEthernetSwitchModelsOK) IsSuccess() bool

IsSuccess returns true when this get ethernet switch models o k response has a 2xx status code

func (*GetEthernetSwitchModelsOK) String

func (o *GetEthernetSwitchModelsOK) String() string

type GetEthernetSwitchModelsParams

type GetEthernetSwitchModelsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEthernetSwitchModelsParams contains all the parameters to send to the API endpoint

for the get ethernet switch models operation.

Typically these are written to a http.Request.

func NewGetEthernetSwitchModelsParams

func NewGetEthernetSwitchModelsParams() *GetEthernetSwitchModelsParams

NewGetEthernetSwitchModelsParams creates a new GetEthernetSwitchModelsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEthernetSwitchModelsParamsWithContext

func NewGetEthernetSwitchModelsParamsWithContext(ctx context.Context) *GetEthernetSwitchModelsParams

NewGetEthernetSwitchModelsParamsWithContext creates a new GetEthernetSwitchModelsParams object with the ability to set a context for a request.

func NewGetEthernetSwitchModelsParamsWithHTTPClient

func NewGetEthernetSwitchModelsParamsWithHTTPClient(client *http.Client) *GetEthernetSwitchModelsParams

NewGetEthernetSwitchModelsParamsWithHTTPClient creates a new GetEthernetSwitchModelsParams object with the ability to set a custom HTTPClient for a request.

func NewGetEthernetSwitchModelsParamsWithTimeout

func NewGetEthernetSwitchModelsParamsWithTimeout(timeout time.Duration) *GetEthernetSwitchModelsParams

NewGetEthernetSwitchModelsParamsWithTimeout creates a new GetEthernetSwitchModelsParams object with the ability to set a timeout on a request.

func (*GetEthernetSwitchModelsParams) SetContext

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

SetContext adds the context to the get ethernet switch models params

func (*GetEthernetSwitchModelsParams) SetDefaults

func (o *GetEthernetSwitchModelsParams) SetDefaults()

SetDefaults hydrates default values in the get ethernet switch models params (not the query body).

All values with no default are reset to their zero value.

func (*GetEthernetSwitchModelsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get ethernet switch models params

func (*GetEthernetSwitchModelsParams) SetTimeout

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

SetTimeout adds the timeout to the get ethernet switch models params

func (*GetEthernetSwitchModelsParams) WithContext

WithContext adds the context to the get ethernet switch models params

func (*GetEthernetSwitchModelsParams) WithDefaults

WithDefaults hydrates default values in the get ethernet switch models params (not the query body).

All values with no default are reset to their zero value.

func (*GetEthernetSwitchModelsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get ethernet switch models params

func (*GetEthernetSwitchModelsParams) WithTimeout

WithTimeout adds the timeout to the get ethernet switch models params

func (*GetEthernetSwitchModelsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEthernetSwitchModelsReader

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

GetEthernetSwitchModelsReader is a Reader for the GetEthernetSwitchModels structure.

func (*GetEthernetSwitchModelsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEthernetSwitchOK

type GetEthernetSwitchOK struct {
	Payload *models.DtosPaginatedItemsDtoDtosEthernetSwitchDto
}

GetEthernetSwitchOK describes a response with status code 200, with default header values.

OK

func NewGetEthernetSwitchOK

func NewGetEthernetSwitchOK() *GetEthernetSwitchOK

NewGetEthernetSwitchOK creates a GetEthernetSwitchOK with default headers values

func (*GetEthernetSwitchOK) Error

func (o *GetEthernetSwitchOK) Error() string

func (*GetEthernetSwitchOK) GetPayload

func (*GetEthernetSwitchOK) IsClientError

func (o *GetEthernetSwitchOK) IsClientError() bool

IsClientError returns true when this get ethernet switch o k response has a 4xx status code

func (*GetEthernetSwitchOK) IsCode

func (o *GetEthernetSwitchOK) IsCode(code int) bool

IsCode returns true when this get ethernet switch o k response a status code equal to that given

func (*GetEthernetSwitchOK) IsRedirect

func (o *GetEthernetSwitchOK) IsRedirect() bool

IsRedirect returns true when this get ethernet switch o k response has a 3xx status code

func (*GetEthernetSwitchOK) IsServerError

func (o *GetEthernetSwitchOK) IsServerError() bool

IsServerError returns true when this get ethernet switch o k response has a 5xx status code

func (*GetEthernetSwitchOK) IsSuccess

func (o *GetEthernetSwitchOK) IsSuccess() bool

IsSuccess returns true when this get ethernet switch o k response has a 2xx status code

func (*GetEthernetSwitchOK) String

func (o *GetEthernetSwitchOK) String() string

type GetEthernetSwitchParams

type GetEthernetSwitchParams struct {

	/* OrderBy.

	   Order by field, default value - Name
	*/
	OrderBy *string

	/* OrderDirection.

	   'asc' or 'desc' for ascending or descending order, asc by default
	*/
	OrderDirection *string

	/* Page.

	   Page number
	*/
	Page *int64

	/* PageSize.

	   Number of entities per page
	*/
	PageSize *int64

	/* Search.

	   Searchable value in entity
	*/
	Search *string

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

GetEthernetSwitchParams contains all the parameters to send to the API endpoint

for the get ethernet switch operation.

Typically these are written to a http.Request.

func NewGetEthernetSwitchParams

func NewGetEthernetSwitchParams() *GetEthernetSwitchParams

NewGetEthernetSwitchParams creates a new GetEthernetSwitchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEthernetSwitchParamsWithContext

func NewGetEthernetSwitchParamsWithContext(ctx context.Context) *GetEthernetSwitchParams

NewGetEthernetSwitchParamsWithContext creates a new GetEthernetSwitchParams object with the ability to set a context for a request.

func NewGetEthernetSwitchParamsWithHTTPClient

func NewGetEthernetSwitchParamsWithHTTPClient(client *http.Client) *GetEthernetSwitchParams

NewGetEthernetSwitchParamsWithHTTPClient creates a new GetEthernetSwitchParams object with the ability to set a custom HTTPClient for a request.

func NewGetEthernetSwitchParamsWithTimeout

func NewGetEthernetSwitchParamsWithTimeout(timeout time.Duration) *GetEthernetSwitchParams

NewGetEthernetSwitchParamsWithTimeout creates a new GetEthernetSwitchParams object with the ability to set a timeout on a request.

func (*GetEthernetSwitchParams) SetContext

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

SetContext adds the context to the get ethernet switch params

func (*GetEthernetSwitchParams) SetDefaults

func (o *GetEthernetSwitchParams) SetDefaults()

SetDefaults hydrates default values in the get ethernet switch params (not the query body).

All values with no default are reset to their zero value.

func (*GetEthernetSwitchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get ethernet switch params

func (*GetEthernetSwitchParams) SetOrderBy

func (o *GetEthernetSwitchParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the get ethernet switch params

func (*GetEthernetSwitchParams) SetOrderDirection

func (o *GetEthernetSwitchParams) SetOrderDirection(orderDirection *string)

SetOrderDirection adds the orderDirection to the get ethernet switch params

func (*GetEthernetSwitchParams) SetPage

func (o *GetEthernetSwitchParams) SetPage(page *int64)

SetPage adds the page to the get ethernet switch params

func (*GetEthernetSwitchParams) SetPageSize

func (o *GetEthernetSwitchParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the get ethernet switch params

func (*GetEthernetSwitchParams) SetSearch

func (o *GetEthernetSwitchParams) SetSearch(search *string)

SetSearch adds the search to the get ethernet switch params

func (*GetEthernetSwitchParams) SetTimeout

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

SetTimeout adds the timeout to the get ethernet switch params

func (*GetEthernetSwitchParams) WithContext

WithContext adds the context to the get ethernet switch params

func (*GetEthernetSwitchParams) WithDefaults

WithDefaults hydrates default values in the get ethernet switch params (not the query body).

All values with no default are reset to their zero value.

func (*GetEthernetSwitchParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get ethernet switch params

func (*GetEthernetSwitchParams) WithOrderBy

func (o *GetEthernetSwitchParams) WithOrderBy(orderBy *string) *GetEthernetSwitchParams

WithOrderBy adds the orderBy to the get ethernet switch params

func (*GetEthernetSwitchParams) WithOrderDirection

func (o *GetEthernetSwitchParams) WithOrderDirection(orderDirection *string) *GetEthernetSwitchParams

WithOrderDirection adds the orderDirection to the get ethernet switch params

func (*GetEthernetSwitchParams) WithPage

WithPage adds the page to the get ethernet switch params

func (*GetEthernetSwitchParams) WithPageSize

func (o *GetEthernetSwitchParams) WithPageSize(pageSize *int64) *GetEthernetSwitchParams

WithPageSize adds the pageSize to the get ethernet switch params

func (*GetEthernetSwitchParams) WithSearch

func (o *GetEthernetSwitchParams) WithSearch(search *string) *GetEthernetSwitchParams

WithSearch adds the search to the get ethernet switch params

func (*GetEthernetSwitchParams) WithTimeout

WithTimeout adds the timeout to the get ethernet switch params

func (*GetEthernetSwitchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEthernetSwitchReader

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

GetEthernetSwitchReader is a Reader for the GetEthernetSwitch structure.

func (*GetEthernetSwitchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostEthernetSwitchBadRequest

type PostEthernetSwitchBadRequest struct {
	Payload *models.DtosValidationErrorDto
}

PostEthernetSwitchBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostEthernetSwitchBadRequest

func NewPostEthernetSwitchBadRequest() *PostEthernetSwitchBadRequest

NewPostEthernetSwitchBadRequest creates a PostEthernetSwitchBadRequest with default headers values

func (*PostEthernetSwitchBadRequest) Error

func (*PostEthernetSwitchBadRequest) GetPayload

func (*PostEthernetSwitchBadRequest) IsClientError

func (o *PostEthernetSwitchBadRequest) IsClientError() bool

IsClientError returns true when this post ethernet switch bad request response has a 4xx status code

func (*PostEthernetSwitchBadRequest) IsCode

func (o *PostEthernetSwitchBadRequest) IsCode(code int) bool

IsCode returns true when this post ethernet switch bad request response a status code equal to that given

func (*PostEthernetSwitchBadRequest) IsRedirect

func (o *PostEthernetSwitchBadRequest) IsRedirect() bool

IsRedirect returns true when this post ethernet switch bad request response has a 3xx status code

func (*PostEthernetSwitchBadRequest) IsServerError

func (o *PostEthernetSwitchBadRequest) IsServerError() bool

IsServerError returns true when this post ethernet switch bad request response has a 5xx status code

func (*PostEthernetSwitchBadRequest) IsSuccess

func (o *PostEthernetSwitchBadRequest) IsSuccess() bool

IsSuccess returns true when this post ethernet switch bad request response has a 2xx status code

func (*PostEthernetSwitchBadRequest) String

type PostEthernetSwitchIDPortBadRequest

type PostEthernetSwitchIDPortBadRequest struct {
	Payload *models.DtosValidationErrorDto
}

PostEthernetSwitchIDPortBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostEthernetSwitchIDPortBadRequest

func NewPostEthernetSwitchIDPortBadRequest() *PostEthernetSwitchIDPortBadRequest

NewPostEthernetSwitchIDPortBadRequest creates a PostEthernetSwitchIDPortBadRequest with default headers values

func (*PostEthernetSwitchIDPortBadRequest) Error

func (*PostEthernetSwitchIDPortBadRequest) GetPayload

func (*PostEthernetSwitchIDPortBadRequest) IsClientError

func (o *PostEthernetSwitchIDPortBadRequest) IsClientError() bool

IsClientError returns true when this post ethernet switch Id port bad request response has a 4xx status code

func (*PostEthernetSwitchIDPortBadRequest) IsCode

IsCode returns true when this post ethernet switch Id port bad request response a status code equal to that given

func (*PostEthernetSwitchIDPortBadRequest) IsRedirect

func (o *PostEthernetSwitchIDPortBadRequest) IsRedirect() bool

IsRedirect returns true when this post ethernet switch Id port bad request response has a 3xx status code

func (*PostEthernetSwitchIDPortBadRequest) IsServerError

func (o *PostEthernetSwitchIDPortBadRequest) IsServerError() bool

IsServerError returns true when this post ethernet switch Id port bad request response has a 5xx status code

func (*PostEthernetSwitchIDPortBadRequest) IsSuccess

IsSuccess returns true when this post ethernet switch Id port bad request response has a 2xx status code

func (*PostEthernetSwitchIDPortBadRequest) String

type PostEthernetSwitchIDPortInternalServerError

type PostEthernetSwitchIDPortInternalServerError struct {
}

PostEthernetSwitchIDPortInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostEthernetSwitchIDPortInternalServerError

func NewPostEthernetSwitchIDPortInternalServerError() *PostEthernetSwitchIDPortInternalServerError

NewPostEthernetSwitchIDPortInternalServerError creates a PostEthernetSwitchIDPortInternalServerError with default headers values

func (*PostEthernetSwitchIDPortInternalServerError) Error

func (*PostEthernetSwitchIDPortInternalServerError) IsClientError

IsClientError returns true when this post ethernet switch Id port internal server error response has a 4xx status code

func (*PostEthernetSwitchIDPortInternalServerError) IsCode

IsCode returns true when this post ethernet switch Id port internal server error response a status code equal to that given

func (*PostEthernetSwitchIDPortInternalServerError) IsRedirect

IsRedirect returns true when this post ethernet switch Id port internal server error response has a 3xx status code

func (*PostEthernetSwitchIDPortInternalServerError) IsServerError

IsServerError returns true when this post ethernet switch Id port internal server error response has a 5xx status code

func (*PostEthernetSwitchIDPortInternalServerError) IsSuccess

IsSuccess returns true when this post ethernet switch Id port internal server error response has a 2xx status code

func (*PostEthernetSwitchIDPortInternalServerError) String

type PostEthernetSwitchIDPortNotFound

type PostEthernetSwitchIDPortNotFound struct {
}

PostEthernetSwitchIDPortNotFound describes a response with status code 404, with default header values.

Not Found

func NewPostEthernetSwitchIDPortNotFound

func NewPostEthernetSwitchIDPortNotFound() *PostEthernetSwitchIDPortNotFound

NewPostEthernetSwitchIDPortNotFound creates a PostEthernetSwitchIDPortNotFound with default headers values

func (*PostEthernetSwitchIDPortNotFound) Error

func (*PostEthernetSwitchIDPortNotFound) IsClientError

func (o *PostEthernetSwitchIDPortNotFound) IsClientError() bool

IsClientError returns true when this post ethernet switch Id port not found response has a 4xx status code

func (*PostEthernetSwitchIDPortNotFound) IsCode

func (o *PostEthernetSwitchIDPortNotFound) IsCode(code int) bool

IsCode returns true when this post ethernet switch Id port not found response a status code equal to that given

func (*PostEthernetSwitchIDPortNotFound) IsRedirect

func (o *PostEthernetSwitchIDPortNotFound) IsRedirect() bool

IsRedirect returns true when this post ethernet switch Id port not found response has a 3xx status code

func (*PostEthernetSwitchIDPortNotFound) IsServerError

func (o *PostEthernetSwitchIDPortNotFound) IsServerError() bool

IsServerError returns true when this post ethernet switch Id port not found response has a 5xx status code

func (*PostEthernetSwitchIDPortNotFound) IsSuccess

func (o *PostEthernetSwitchIDPortNotFound) IsSuccess() bool

IsSuccess returns true when this post ethernet switch Id port not found response has a 2xx status code

func (*PostEthernetSwitchIDPortNotFound) String

type PostEthernetSwitchIDPortOK

type PostEthernetSwitchIDPortOK struct {
	Payload *models.DtosEthernetSwitchPortDto
}

PostEthernetSwitchIDPortOK describes a response with status code 200, with default header values.

OK

func NewPostEthernetSwitchIDPortOK

func NewPostEthernetSwitchIDPortOK() *PostEthernetSwitchIDPortOK

NewPostEthernetSwitchIDPortOK creates a PostEthernetSwitchIDPortOK with default headers values

func (*PostEthernetSwitchIDPortOK) Error

func (*PostEthernetSwitchIDPortOK) GetPayload

func (*PostEthernetSwitchIDPortOK) IsClientError

func (o *PostEthernetSwitchIDPortOK) IsClientError() bool

IsClientError returns true when this post ethernet switch Id port o k response has a 4xx status code

func (*PostEthernetSwitchIDPortOK) IsCode

func (o *PostEthernetSwitchIDPortOK) IsCode(code int) bool

IsCode returns true when this post ethernet switch Id port o k response a status code equal to that given

func (*PostEthernetSwitchIDPortOK) IsRedirect

func (o *PostEthernetSwitchIDPortOK) IsRedirect() bool

IsRedirect returns true when this post ethernet switch Id port o k response has a 3xx status code

func (*PostEthernetSwitchIDPortOK) IsServerError

func (o *PostEthernetSwitchIDPortOK) IsServerError() bool

IsServerError returns true when this post ethernet switch Id port o k response has a 5xx status code

func (*PostEthernetSwitchIDPortOK) IsSuccess

func (o *PostEthernetSwitchIDPortOK) IsSuccess() bool

IsSuccess returns true when this post ethernet switch Id port o k response has a 2xx status code

func (*PostEthernetSwitchIDPortOK) String

func (o *PostEthernetSwitchIDPortOK) String() string

type PostEthernetSwitchIDPortParams

type PostEthernetSwitchIDPortParams struct {

	/* ID.

	   Ethernet switch ID
	*/
	ID string

	/* Request.

	   Ethernet switch port fields
	*/
	Request *models.DtosEthernetSwitchPortCreateDto

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

PostEthernetSwitchIDPortParams contains all the parameters to send to the API endpoint

for the post ethernet switch ID port operation.

Typically these are written to a http.Request.

func NewPostEthernetSwitchIDPortParams

func NewPostEthernetSwitchIDPortParams() *PostEthernetSwitchIDPortParams

NewPostEthernetSwitchIDPortParams creates a new PostEthernetSwitchIDPortParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostEthernetSwitchIDPortParamsWithContext

func NewPostEthernetSwitchIDPortParamsWithContext(ctx context.Context) *PostEthernetSwitchIDPortParams

NewPostEthernetSwitchIDPortParamsWithContext creates a new PostEthernetSwitchIDPortParams object with the ability to set a context for a request.

func NewPostEthernetSwitchIDPortParamsWithHTTPClient

func NewPostEthernetSwitchIDPortParamsWithHTTPClient(client *http.Client) *PostEthernetSwitchIDPortParams

NewPostEthernetSwitchIDPortParamsWithHTTPClient creates a new PostEthernetSwitchIDPortParams object with the ability to set a custom HTTPClient for a request.

func NewPostEthernetSwitchIDPortParamsWithTimeout

func NewPostEthernetSwitchIDPortParamsWithTimeout(timeout time.Duration) *PostEthernetSwitchIDPortParams

NewPostEthernetSwitchIDPortParamsWithTimeout creates a new PostEthernetSwitchIDPortParams object with the ability to set a timeout on a request.

func (*PostEthernetSwitchIDPortParams) SetContext

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

SetContext adds the context to the post ethernet switch ID port params

func (*PostEthernetSwitchIDPortParams) SetDefaults

func (o *PostEthernetSwitchIDPortParams) SetDefaults()

SetDefaults hydrates default values in the post ethernet switch ID port params (not the query body).

All values with no default are reset to their zero value.

func (*PostEthernetSwitchIDPortParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post ethernet switch ID port params

func (*PostEthernetSwitchIDPortParams) SetID

SetID adds the id to the post ethernet switch ID port params

func (*PostEthernetSwitchIDPortParams) SetRequest

SetRequest adds the request to the post ethernet switch ID port params

func (*PostEthernetSwitchIDPortParams) SetTimeout

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

SetTimeout adds the timeout to the post ethernet switch ID port params

func (*PostEthernetSwitchIDPortParams) WithContext

WithContext adds the context to the post ethernet switch ID port params

func (*PostEthernetSwitchIDPortParams) WithDefaults

WithDefaults hydrates default values in the post ethernet switch ID port params (not the query body).

All values with no default are reset to their zero value.

func (*PostEthernetSwitchIDPortParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post ethernet switch ID port params

func (*PostEthernetSwitchIDPortParams) WithID

WithID adds the id to the post ethernet switch ID port params

func (*PostEthernetSwitchIDPortParams) WithRequest

WithRequest adds the request to the post ethernet switch ID port params

func (*PostEthernetSwitchIDPortParams) WithTimeout

WithTimeout adds the timeout to the post ethernet switch ID port params

func (*PostEthernetSwitchIDPortParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostEthernetSwitchIDPortReader

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

PostEthernetSwitchIDPortReader is a Reader for the PostEthernetSwitchIDPort structure.

func (*PostEthernetSwitchIDPortReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostEthernetSwitchIDVlanBadRequest

type PostEthernetSwitchIDVlanBadRequest struct {
	Payload *models.DtosValidationErrorDto
}

PostEthernetSwitchIDVlanBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostEthernetSwitchIDVlanBadRequest

func NewPostEthernetSwitchIDVlanBadRequest() *PostEthernetSwitchIDVlanBadRequest

NewPostEthernetSwitchIDVlanBadRequest creates a PostEthernetSwitchIDVlanBadRequest with default headers values

func (*PostEthernetSwitchIDVlanBadRequest) Error

func (*PostEthernetSwitchIDVlanBadRequest) GetPayload

func (*PostEthernetSwitchIDVlanBadRequest) IsClientError

func (o *PostEthernetSwitchIDVlanBadRequest) IsClientError() bool

IsClientError returns true when this post ethernet switch Id vlan bad request response has a 4xx status code

func (*PostEthernetSwitchIDVlanBadRequest) IsCode

IsCode returns true when this post ethernet switch Id vlan bad request response a status code equal to that given

func (*PostEthernetSwitchIDVlanBadRequest) IsRedirect

func (o *PostEthernetSwitchIDVlanBadRequest) IsRedirect() bool

IsRedirect returns true when this post ethernet switch Id vlan bad request response has a 3xx status code

func (*PostEthernetSwitchIDVlanBadRequest) IsServerError

func (o *PostEthernetSwitchIDVlanBadRequest) IsServerError() bool

IsServerError returns true when this post ethernet switch Id vlan bad request response has a 5xx status code

func (*PostEthernetSwitchIDVlanBadRequest) IsSuccess

IsSuccess returns true when this post ethernet switch Id vlan bad request response has a 2xx status code

func (*PostEthernetSwitchIDVlanBadRequest) String

type PostEthernetSwitchIDVlanInternalServerError

type PostEthernetSwitchIDVlanInternalServerError struct {
}

PostEthernetSwitchIDVlanInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostEthernetSwitchIDVlanInternalServerError

func NewPostEthernetSwitchIDVlanInternalServerError() *PostEthernetSwitchIDVlanInternalServerError

NewPostEthernetSwitchIDVlanInternalServerError creates a PostEthernetSwitchIDVlanInternalServerError with default headers values

func (*PostEthernetSwitchIDVlanInternalServerError) Error

func (*PostEthernetSwitchIDVlanInternalServerError) IsClientError

IsClientError returns true when this post ethernet switch Id vlan internal server error response has a 4xx status code

func (*PostEthernetSwitchIDVlanInternalServerError) IsCode

IsCode returns true when this post ethernet switch Id vlan internal server error response a status code equal to that given

func (*PostEthernetSwitchIDVlanInternalServerError) IsRedirect

IsRedirect returns true when this post ethernet switch Id vlan internal server error response has a 3xx status code

func (*PostEthernetSwitchIDVlanInternalServerError) IsServerError

IsServerError returns true when this post ethernet switch Id vlan internal server error response has a 5xx status code

func (*PostEthernetSwitchIDVlanInternalServerError) IsSuccess

IsSuccess returns true when this post ethernet switch Id vlan internal server error response has a 2xx status code

func (*PostEthernetSwitchIDVlanInternalServerError) String

type PostEthernetSwitchIDVlanOK

type PostEthernetSwitchIDVlanOK struct {
	Payload *models.DtosEthernetSwitchVLANDto
}

PostEthernetSwitchIDVlanOK describes a response with status code 200, with default header values.

OK

func NewPostEthernetSwitchIDVlanOK

func NewPostEthernetSwitchIDVlanOK() *PostEthernetSwitchIDVlanOK

NewPostEthernetSwitchIDVlanOK creates a PostEthernetSwitchIDVlanOK with default headers values

func (*PostEthernetSwitchIDVlanOK) Error

func (*PostEthernetSwitchIDVlanOK) GetPayload

func (*PostEthernetSwitchIDVlanOK) IsClientError

func (o *PostEthernetSwitchIDVlanOK) IsClientError() bool

IsClientError returns true when this post ethernet switch Id vlan o k response has a 4xx status code

func (*PostEthernetSwitchIDVlanOK) IsCode

func (o *PostEthernetSwitchIDVlanOK) IsCode(code int) bool

IsCode returns true when this post ethernet switch Id vlan o k response a status code equal to that given

func (*PostEthernetSwitchIDVlanOK) IsRedirect

func (o *PostEthernetSwitchIDVlanOK) IsRedirect() bool

IsRedirect returns true when this post ethernet switch Id vlan o k response has a 3xx status code

func (*PostEthernetSwitchIDVlanOK) IsServerError

func (o *PostEthernetSwitchIDVlanOK) IsServerError() bool

IsServerError returns true when this post ethernet switch Id vlan o k response has a 5xx status code

func (*PostEthernetSwitchIDVlanOK) IsSuccess

func (o *PostEthernetSwitchIDVlanOK) IsSuccess() bool

IsSuccess returns true when this post ethernet switch Id vlan o k response has a 2xx status code

func (*PostEthernetSwitchIDVlanOK) String

func (o *PostEthernetSwitchIDVlanOK) String() string

type PostEthernetSwitchIDVlanParams

type PostEthernetSwitchIDVlanParams struct {

	/* ID.

	   Ethernet switch ID
	*/
	ID string

	/* Request.

	   Ethernet switch VLAN fields
	*/
	Request *models.DtosEthernetSwitchVLANCreateDto

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

PostEthernetSwitchIDVlanParams contains all the parameters to send to the API endpoint

for the post ethernet switch ID vlan operation.

Typically these are written to a http.Request.

func NewPostEthernetSwitchIDVlanParams

func NewPostEthernetSwitchIDVlanParams() *PostEthernetSwitchIDVlanParams

NewPostEthernetSwitchIDVlanParams creates a new PostEthernetSwitchIDVlanParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostEthernetSwitchIDVlanParamsWithContext

func NewPostEthernetSwitchIDVlanParamsWithContext(ctx context.Context) *PostEthernetSwitchIDVlanParams

NewPostEthernetSwitchIDVlanParamsWithContext creates a new PostEthernetSwitchIDVlanParams object with the ability to set a context for a request.

func NewPostEthernetSwitchIDVlanParamsWithHTTPClient

func NewPostEthernetSwitchIDVlanParamsWithHTTPClient(client *http.Client) *PostEthernetSwitchIDVlanParams

NewPostEthernetSwitchIDVlanParamsWithHTTPClient creates a new PostEthernetSwitchIDVlanParams object with the ability to set a custom HTTPClient for a request.

func NewPostEthernetSwitchIDVlanParamsWithTimeout

func NewPostEthernetSwitchIDVlanParamsWithTimeout(timeout time.Duration) *PostEthernetSwitchIDVlanParams

NewPostEthernetSwitchIDVlanParamsWithTimeout creates a new PostEthernetSwitchIDVlanParams object with the ability to set a timeout on a request.

func (*PostEthernetSwitchIDVlanParams) SetContext

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

SetContext adds the context to the post ethernet switch ID vlan params

func (*PostEthernetSwitchIDVlanParams) SetDefaults

func (o *PostEthernetSwitchIDVlanParams) SetDefaults()

SetDefaults hydrates default values in the post ethernet switch ID vlan params (not the query body).

All values with no default are reset to their zero value.

func (*PostEthernetSwitchIDVlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post ethernet switch ID vlan params

func (*PostEthernetSwitchIDVlanParams) SetID

SetID adds the id to the post ethernet switch ID vlan params

func (*PostEthernetSwitchIDVlanParams) SetRequest

SetRequest adds the request to the post ethernet switch ID vlan params

func (*PostEthernetSwitchIDVlanParams) SetTimeout

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

SetTimeout adds the timeout to the post ethernet switch ID vlan params

func (*PostEthernetSwitchIDVlanParams) WithContext

WithContext adds the context to the post ethernet switch ID vlan params

func (*PostEthernetSwitchIDVlanParams) WithDefaults

WithDefaults hydrates default values in the post ethernet switch ID vlan params (not the query body).

All values with no default are reset to their zero value.

func (*PostEthernetSwitchIDVlanParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post ethernet switch ID vlan params

func (*PostEthernetSwitchIDVlanParams) WithID

WithID adds the id to the post ethernet switch ID vlan params

func (*PostEthernetSwitchIDVlanParams) WithRequest

WithRequest adds the request to the post ethernet switch ID vlan params

func (*PostEthernetSwitchIDVlanParams) WithTimeout

WithTimeout adds the timeout to the post ethernet switch ID vlan params

func (*PostEthernetSwitchIDVlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostEthernetSwitchIDVlanReader

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

PostEthernetSwitchIDVlanReader is a Reader for the PostEthernetSwitchIDVlan structure.

func (*PostEthernetSwitchIDVlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostEthernetSwitchInternalServerError

type PostEthernetSwitchInternalServerError struct {
}

PostEthernetSwitchInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostEthernetSwitchInternalServerError

func NewPostEthernetSwitchInternalServerError() *PostEthernetSwitchInternalServerError

NewPostEthernetSwitchInternalServerError creates a PostEthernetSwitchInternalServerError with default headers values

func (*PostEthernetSwitchInternalServerError) Error

func (*PostEthernetSwitchInternalServerError) IsClientError

func (o *PostEthernetSwitchInternalServerError) IsClientError() bool

IsClientError returns true when this post ethernet switch internal server error response has a 4xx status code

func (*PostEthernetSwitchInternalServerError) IsCode

IsCode returns true when this post ethernet switch internal server error response a status code equal to that given

func (*PostEthernetSwitchInternalServerError) IsRedirect

IsRedirect returns true when this post ethernet switch internal server error response has a 3xx status code

func (*PostEthernetSwitchInternalServerError) IsServerError

func (o *PostEthernetSwitchInternalServerError) IsServerError() bool

IsServerError returns true when this post ethernet switch internal server error response has a 5xx status code

func (*PostEthernetSwitchInternalServerError) IsSuccess

IsSuccess returns true when this post ethernet switch internal server error response has a 2xx status code

func (*PostEthernetSwitchInternalServerError) String

type PostEthernetSwitchOK

type PostEthernetSwitchOK struct {
	Payload *models.DtosEthernetSwitchDto
}

PostEthernetSwitchOK describes a response with status code 200, with default header values.

OK

func NewPostEthernetSwitchOK

func NewPostEthernetSwitchOK() *PostEthernetSwitchOK

NewPostEthernetSwitchOK creates a PostEthernetSwitchOK with default headers values

func (*PostEthernetSwitchOK) Error

func (o *PostEthernetSwitchOK) Error() string

func (*PostEthernetSwitchOK) GetPayload

func (*PostEthernetSwitchOK) IsClientError

func (o *PostEthernetSwitchOK) IsClientError() bool

IsClientError returns true when this post ethernet switch o k response has a 4xx status code

func (*PostEthernetSwitchOK) IsCode

func (o *PostEthernetSwitchOK) IsCode(code int) bool

IsCode returns true when this post ethernet switch o k response a status code equal to that given

func (*PostEthernetSwitchOK) IsRedirect

func (o *PostEthernetSwitchOK) IsRedirect() bool

IsRedirect returns true when this post ethernet switch o k response has a 3xx status code

func (*PostEthernetSwitchOK) IsServerError

func (o *PostEthernetSwitchOK) IsServerError() bool

IsServerError returns true when this post ethernet switch o k response has a 5xx status code

func (*PostEthernetSwitchOK) IsSuccess

func (o *PostEthernetSwitchOK) IsSuccess() bool

IsSuccess returns true when this post ethernet switch o k response has a 2xx status code

func (*PostEthernetSwitchOK) String

func (o *PostEthernetSwitchOK) String() string

type PostEthernetSwitchParams

type PostEthernetSwitchParams struct {

	/* Request.

	   Ethernet switch fields
	*/
	Request *models.DtosEthernetSwitchCreateDto

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

PostEthernetSwitchParams contains all the parameters to send to the API endpoint

for the post ethernet switch operation.

Typically these are written to a http.Request.

func NewPostEthernetSwitchParams

func NewPostEthernetSwitchParams() *PostEthernetSwitchParams

NewPostEthernetSwitchParams creates a new PostEthernetSwitchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostEthernetSwitchParamsWithContext

func NewPostEthernetSwitchParamsWithContext(ctx context.Context) *PostEthernetSwitchParams

NewPostEthernetSwitchParamsWithContext creates a new PostEthernetSwitchParams object with the ability to set a context for a request.

func NewPostEthernetSwitchParamsWithHTTPClient

func NewPostEthernetSwitchParamsWithHTTPClient(client *http.Client) *PostEthernetSwitchParams

NewPostEthernetSwitchParamsWithHTTPClient creates a new PostEthernetSwitchParams object with the ability to set a custom HTTPClient for a request.

func NewPostEthernetSwitchParamsWithTimeout

func NewPostEthernetSwitchParamsWithTimeout(timeout time.Duration) *PostEthernetSwitchParams

NewPostEthernetSwitchParamsWithTimeout creates a new PostEthernetSwitchParams object with the ability to set a timeout on a request.

func (*PostEthernetSwitchParams) SetContext

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

SetContext adds the context to the post ethernet switch params

func (*PostEthernetSwitchParams) SetDefaults

func (o *PostEthernetSwitchParams) SetDefaults()

SetDefaults hydrates default values in the post ethernet switch params (not the query body).

All values with no default are reset to their zero value.

func (*PostEthernetSwitchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post ethernet switch params

func (*PostEthernetSwitchParams) SetRequest

SetRequest adds the request to the post ethernet switch params

func (*PostEthernetSwitchParams) SetTimeout

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

SetTimeout adds the timeout to the post ethernet switch params

func (*PostEthernetSwitchParams) WithContext

WithContext adds the context to the post ethernet switch params

func (*PostEthernetSwitchParams) WithDefaults

WithDefaults hydrates default values in the post ethernet switch params (not the query body).

All values with no default are reset to their zero value.

func (*PostEthernetSwitchParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post ethernet switch params

func (*PostEthernetSwitchParams) WithRequest

WithRequest adds the request to the post ethernet switch params

func (*PostEthernetSwitchParams) WithTimeout

WithTimeout adds the timeout to the post ethernet switch params

func (*PostEthernetSwitchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostEthernetSwitchReader

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

PostEthernetSwitchReader is a Reader for the PostEthernetSwitch structure.

func (*PostEthernetSwitchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutEthernetSwitchIDBadRequest

type PutEthernetSwitchIDBadRequest struct {
	Payload *models.DtosValidationErrorDto
}

PutEthernetSwitchIDBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPutEthernetSwitchIDBadRequest

func NewPutEthernetSwitchIDBadRequest() *PutEthernetSwitchIDBadRequest

NewPutEthernetSwitchIDBadRequest creates a PutEthernetSwitchIDBadRequest with default headers values

func (*PutEthernetSwitchIDBadRequest) Error

func (*PutEthernetSwitchIDBadRequest) GetPayload

func (*PutEthernetSwitchIDBadRequest) IsClientError

func (o *PutEthernetSwitchIDBadRequest) IsClientError() bool

IsClientError returns true when this put ethernet switch Id bad request response has a 4xx status code

func (*PutEthernetSwitchIDBadRequest) IsCode

func (o *PutEthernetSwitchIDBadRequest) IsCode(code int) bool

IsCode returns true when this put ethernet switch Id bad request response a status code equal to that given

func (*PutEthernetSwitchIDBadRequest) IsRedirect

func (o *PutEthernetSwitchIDBadRequest) IsRedirect() bool

IsRedirect returns true when this put ethernet switch Id bad request response has a 3xx status code

func (*PutEthernetSwitchIDBadRequest) IsServerError

func (o *PutEthernetSwitchIDBadRequest) IsServerError() bool

IsServerError returns true when this put ethernet switch Id bad request response has a 5xx status code

func (*PutEthernetSwitchIDBadRequest) IsSuccess

func (o *PutEthernetSwitchIDBadRequest) IsSuccess() bool

IsSuccess returns true when this put ethernet switch Id bad request response has a 2xx status code

func (*PutEthernetSwitchIDBadRequest) String

type PutEthernetSwitchIDInternalServerError

type PutEthernetSwitchIDInternalServerError struct {
}

PutEthernetSwitchIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPutEthernetSwitchIDInternalServerError

func NewPutEthernetSwitchIDInternalServerError() *PutEthernetSwitchIDInternalServerError

NewPutEthernetSwitchIDInternalServerError creates a PutEthernetSwitchIDInternalServerError with default headers values

func (*PutEthernetSwitchIDInternalServerError) Error

func (*PutEthernetSwitchIDInternalServerError) IsClientError

func (o *PutEthernetSwitchIDInternalServerError) IsClientError() bool

IsClientError returns true when this put ethernet switch Id internal server error response has a 4xx status code

func (*PutEthernetSwitchIDInternalServerError) IsCode

IsCode returns true when this put ethernet switch Id internal server error response a status code equal to that given

func (*PutEthernetSwitchIDInternalServerError) IsRedirect

IsRedirect returns true when this put ethernet switch Id internal server error response has a 3xx status code

func (*PutEthernetSwitchIDInternalServerError) IsServerError

func (o *PutEthernetSwitchIDInternalServerError) IsServerError() bool

IsServerError returns true when this put ethernet switch Id internal server error response has a 5xx status code

func (*PutEthernetSwitchIDInternalServerError) IsSuccess

IsSuccess returns true when this put ethernet switch Id internal server error response has a 2xx status code

func (*PutEthernetSwitchIDInternalServerError) String

type PutEthernetSwitchIDNotFound

type PutEthernetSwitchIDNotFound struct {
}

PutEthernetSwitchIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewPutEthernetSwitchIDNotFound

func NewPutEthernetSwitchIDNotFound() *PutEthernetSwitchIDNotFound

NewPutEthernetSwitchIDNotFound creates a PutEthernetSwitchIDNotFound with default headers values

func (*PutEthernetSwitchIDNotFound) Error

func (*PutEthernetSwitchIDNotFound) IsClientError

func (o *PutEthernetSwitchIDNotFound) IsClientError() bool

IsClientError returns true when this put ethernet switch Id not found response has a 4xx status code

func (*PutEthernetSwitchIDNotFound) IsCode

func (o *PutEthernetSwitchIDNotFound) IsCode(code int) bool

IsCode returns true when this put ethernet switch Id not found response a status code equal to that given

func (*PutEthernetSwitchIDNotFound) IsRedirect

func (o *PutEthernetSwitchIDNotFound) IsRedirect() bool

IsRedirect returns true when this put ethernet switch Id not found response has a 3xx status code

func (*PutEthernetSwitchIDNotFound) IsServerError

func (o *PutEthernetSwitchIDNotFound) IsServerError() bool

IsServerError returns true when this put ethernet switch Id not found response has a 5xx status code

func (*PutEthernetSwitchIDNotFound) IsSuccess

func (o *PutEthernetSwitchIDNotFound) IsSuccess() bool

IsSuccess returns true when this put ethernet switch Id not found response has a 2xx status code

func (*PutEthernetSwitchIDNotFound) String

func (o *PutEthernetSwitchIDNotFound) String() string

type PutEthernetSwitchIDOK

type PutEthernetSwitchIDOK struct {
	Payload *models.DtosEthernetSwitchDto
}

PutEthernetSwitchIDOK describes a response with status code 200, with default header values.

OK

func NewPutEthernetSwitchIDOK

func NewPutEthernetSwitchIDOK() *PutEthernetSwitchIDOK

NewPutEthernetSwitchIDOK creates a PutEthernetSwitchIDOK with default headers values

func (*PutEthernetSwitchIDOK) Error

func (o *PutEthernetSwitchIDOK) Error() string

func (*PutEthernetSwitchIDOK) GetPayload

func (*PutEthernetSwitchIDOK) IsClientError

func (o *PutEthernetSwitchIDOK) IsClientError() bool

IsClientError returns true when this put ethernet switch Id o k response has a 4xx status code

func (*PutEthernetSwitchIDOK) IsCode

func (o *PutEthernetSwitchIDOK) IsCode(code int) bool

IsCode returns true when this put ethernet switch Id o k response a status code equal to that given

func (*PutEthernetSwitchIDOK) IsRedirect

func (o *PutEthernetSwitchIDOK) IsRedirect() bool

IsRedirect returns true when this put ethernet switch Id o k response has a 3xx status code

func (*PutEthernetSwitchIDOK) IsServerError

func (o *PutEthernetSwitchIDOK) IsServerError() bool

IsServerError returns true when this put ethernet switch Id o k response has a 5xx status code

func (*PutEthernetSwitchIDOK) IsSuccess

func (o *PutEthernetSwitchIDOK) IsSuccess() bool

IsSuccess returns true when this put ethernet switch Id o k response has a 2xx status code

func (*PutEthernetSwitchIDOK) String

func (o *PutEthernetSwitchIDOK) String() string

type PutEthernetSwitchIDParams

type PutEthernetSwitchIDParams struct {

	/* ID.

	   Ethernet switch ID
	*/
	ID string

	/* Request.

	   Ethernet switch fields
	*/
	Request *models.DtosEthernetSwitchUpdateDto

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

PutEthernetSwitchIDParams contains all the parameters to send to the API endpoint

for the put ethernet switch ID operation.

Typically these are written to a http.Request.

func NewPutEthernetSwitchIDParams

func NewPutEthernetSwitchIDParams() *PutEthernetSwitchIDParams

NewPutEthernetSwitchIDParams creates a new PutEthernetSwitchIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutEthernetSwitchIDParamsWithContext

func NewPutEthernetSwitchIDParamsWithContext(ctx context.Context) *PutEthernetSwitchIDParams

NewPutEthernetSwitchIDParamsWithContext creates a new PutEthernetSwitchIDParams object with the ability to set a context for a request.

func NewPutEthernetSwitchIDParamsWithHTTPClient

func NewPutEthernetSwitchIDParamsWithHTTPClient(client *http.Client) *PutEthernetSwitchIDParams

NewPutEthernetSwitchIDParamsWithHTTPClient creates a new PutEthernetSwitchIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutEthernetSwitchIDParamsWithTimeout

func NewPutEthernetSwitchIDParamsWithTimeout(timeout time.Duration) *PutEthernetSwitchIDParams

NewPutEthernetSwitchIDParamsWithTimeout creates a new PutEthernetSwitchIDParams object with the ability to set a timeout on a request.

func (*PutEthernetSwitchIDParams) SetContext

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

SetContext adds the context to the put ethernet switch ID params

func (*PutEthernetSwitchIDParams) SetDefaults

func (o *PutEthernetSwitchIDParams) SetDefaults()

SetDefaults hydrates default values in the put ethernet switch ID params (not the query body).

All values with no default are reset to their zero value.

func (*PutEthernetSwitchIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put ethernet switch ID params

func (*PutEthernetSwitchIDParams) SetID

func (o *PutEthernetSwitchIDParams) SetID(id string)

SetID adds the id to the put ethernet switch ID params

func (*PutEthernetSwitchIDParams) SetRequest

SetRequest adds the request to the put ethernet switch ID params

func (*PutEthernetSwitchIDParams) SetTimeout

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

SetTimeout adds the timeout to the put ethernet switch ID params

func (*PutEthernetSwitchIDParams) WithContext

WithContext adds the context to the put ethernet switch ID params

func (*PutEthernetSwitchIDParams) WithDefaults

WithDefaults hydrates default values in the put ethernet switch ID params (not the query body).

All values with no default are reset to their zero value.

func (*PutEthernetSwitchIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put ethernet switch ID params

func (*PutEthernetSwitchIDParams) WithID

WithID adds the id to the put ethernet switch ID params

func (*PutEthernetSwitchIDParams) WithRequest

WithRequest adds the request to the put ethernet switch ID params

func (*PutEthernetSwitchIDParams) WithTimeout

WithTimeout adds the timeout to the put ethernet switch ID params

func (*PutEthernetSwitchIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutEthernetSwitchIDPortPortIDBadRequest

type PutEthernetSwitchIDPortPortIDBadRequest struct {
	Payload *models.DtosValidationErrorDto
}

PutEthernetSwitchIDPortPortIDBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPutEthernetSwitchIDPortPortIDBadRequest

func NewPutEthernetSwitchIDPortPortIDBadRequest() *PutEthernetSwitchIDPortPortIDBadRequest

NewPutEthernetSwitchIDPortPortIDBadRequest creates a PutEthernetSwitchIDPortPortIDBadRequest with default headers values

func (*PutEthernetSwitchIDPortPortIDBadRequest) Error

func (*PutEthernetSwitchIDPortPortIDBadRequest) GetPayload

func (*PutEthernetSwitchIDPortPortIDBadRequest) IsClientError

func (o *PutEthernetSwitchIDPortPortIDBadRequest) IsClientError() bool

IsClientError returns true when this put ethernet switch Id port port Id bad request response has a 4xx status code

func (*PutEthernetSwitchIDPortPortIDBadRequest) IsCode

IsCode returns true when this put ethernet switch Id port port Id bad request response a status code equal to that given

func (*PutEthernetSwitchIDPortPortIDBadRequest) IsRedirect

IsRedirect returns true when this put ethernet switch Id port port Id bad request response has a 3xx status code

func (*PutEthernetSwitchIDPortPortIDBadRequest) IsServerError

func (o *PutEthernetSwitchIDPortPortIDBadRequest) IsServerError() bool

IsServerError returns true when this put ethernet switch Id port port Id bad request response has a 5xx status code

func (*PutEthernetSwitchIDPortPortIDBadRequest) IsSuccess

IsSuccess returns true when this put ethernet switch Id port port Id bad request response has a 2xx status code

func (*PutEthernetSwitchIDPortPortIDBadRequest) String

type PutEthernetSwitchIDPortPortIDInternalServerError

type PutEthernetSwitchIDPortPortIDInternalServerError struct {
}

PutEthernetSwitchIDPortPortIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPutEthernetSwitchIDPortPortIDInternalServerError

func NewPutEthernetSwitchIDPortPortIDInternalServerError() *PutEthernetSwitchIDPortPortIDInternalServerError

NewPutEthernetSwitchIDPortPortIDInternalServerError creates a PutEthernetSwitchIDPortPortIDInternalServerError with default headers values

func (*PutEthernetSwitchIDPortPortIDInternalServerError) Error

func (*PutEthernetSwitchIDPortPortIDInternalServerError) IsClientError

IsClientError returns true when this put ethernet switch Id port port Id internal server error response has a 4xx status code

func (*PutEthernetSwitchIDPortPortIDInternalServerError) IsCode

IsCode returns true when this put ethernet switch Id port port Id internal server error response a status code equal to that given

func (*PutEthernetSwitchIDPortPortIDInternalServerError) IsRedirect

IsRedirect returns true when this put ethernet switch Id port port Id internal server error response has a 3xx status code

func (*PutEthernetSwitchIDPortPortIDInternalServerError) IsServerError

IsServerError returns true when this put ethernet switch Id port port Id internal server error response has a 5xx status code

func (*PutEthernetSwitchIDPortPortIDInternalServerError) IsSuccess

IsSuccess returns true when this put ethernet switch Id port port Id internal server error response has a 2xx status code

func (*PutEthernetSwitchIDPortPortIDInternalServerError) String

type PutEthernetSwitchIDPortPortIDNotFound

type PutEthernetSwitchIDPortPortIDNotFound struct {
}

PutEthernetSwitchIDPortPortIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewPutEthernetSwitchIDPortPortIDNotFound

func NewPutEthernetSwitchIDPortPortIDNotFound() *PutEthernetSwitchIDPortPortIDNotFound

NewPutEthernetSwitchIDPortPortIDNotFound creates a PutEthernetSwitchIDPortPortIDNotFound with default headers values

func (*PutEthernetSwitchIDPortPortIDNotFound) Error

func (*PutEthernetSwitchIDPortPortIDNotFound) IsClientError

func (o *PutEthernetSwitchIDPortPortIDNotFound) IsClientError() bool

IsClientError returns true when this put ethernet switch Id port port Id not found response has a 4xx status code

func (*PutEthernetSwitchIDPortPortIDNotFound) IsCode

IsCode returns true when this put ethernet switch Id port port Id not found response a status code equal to that given

func (*PutEthernetSwitchIDPortPortIDNotFound) IsRedirect

IsRedirect returns true when this put ethernet switch Id port port Id not found response has a 3xx status code

func (*PutEthernetSwitchIDPortPortIDNotFound) IsServerError

func (o *PutEthernetSwitchIDPortPortIDNotFound) IsServerError() bool

IsServerError returns true when this put ethernet switch Id port port Id not found response has a 5xx status code

func (*PutEthernetSwitchIDPortPortIDNotFound) IsSuccess

IsSuccess returns true when this put ethernet switch Id port port Id not found response has a 2xx status code

func (*PutEthernetSwitchIDPortPortIDNotFound) String

type PutEthernetSwitchIDPortPortIDOK

type PutEthernetSwitchIDPortPortIDOK struct {
	Payload *models.DtosEthernetSwitchPortDto
}

PutEthernetSwitchIDPortPortIDOK describes a response with status code 200, with default header values.

OK

func NewPutEthernetSwitchIDPortPortIDOK

func NewPutEthernetSwitchIDPortPortIDOK() *PutEthernetSwitchIDPortPortIDOK

NewPutEthernetSwitchIDPortPortIDOK creates a PutEthernetSwitchIDPortPortIDOK with default headers values

func (*PutEthernetSwitchIDPortPortIDOK) Error

func (*PutEthernetSwitchIDPortPortIDOK) GetPayload

func (*PutEthernetSwitchIDPortPortIDOK) IsClientError

func (o *PutEthernetSwitchIDPortPortIDOK) IsClientError() bool

IsClientError returns true when this put ethernet switch Id port port Id o k response has a 4xx status code

func (*PutEthernetSwitchIDPortPortIDOK) IsCode

func (o *PutEthernetSwitchIDPortPortIDOK) IsCode(code int) bool

IsCode returns true when this put ethernet switch Id port port Id o k response a status code equal to that given

func (*PutEthernetSwitchIDPortPortIDOK) IsRedirect

func (o *PutEthernetSwitchIDPortPortIDOK) IsRedirect() bool

IsRedirect returns true when this put ethernet switch Id port port Id o k response has a 3xx status code

func (*PutEthernetSwitchIDPortPortIDOK) IsServerError

func (o *PutEthernetSwitchIDPortPortIDOK) IsServerError() bool

IsServerError returns true when this put ethernet switch Id port port Id o k response has a 5xx status code

func (*PutEthernetSwitchIDPortPortIDOK) IsSuccess

func (o *PutEthernetSwitchIDPortPortIDOK) IsSuccess() bool

IsSuccess returns true when this put ethernet switch Id port port Id o k response has a 2xx status code

func (*PutEthernetSwitchIDPortPortIDOK) String

type PutEthernetSwitchIDPortPortIDParams

type PutEthernetSwitchIDPortPortIDParams struct {

	/* ID.

	   Ethernet switch ID
	*/
	ID string

	/* PortID.

	   Ethernet switch port ID
	*/
	PortID string

	/* Request.

	   Ethernet switch port fields
	*/
	Request *models.DtosEthernetSwitchPortUpdateDto

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

PutEthernetSwitchIDPortPortIDParams contains all the parameters to send to the API endpoint

for the put ethernet switch ID port port ID operation.

Typically these are written to a http.Request.

func NewPutEthernetSwitchIDPortPortIDParams

func NewPutEthernetSwitchIDPortPortIDParams() *PutEthernetSwitchIDPortPortIDParams

NewPutEthernetSwitchIDPortPortIDParams creates a new PutEthernetSwitchIDPortPortIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutEthernetSwitchIDPortPortIDParamsWithContext

func NewPutEthernetSwitchIDPortPortIDParamsWithContext(ctx context.Context) *PutEthernetSwitchIDPortPortIDParams

NewPutEthernetSwitchIDPortPortIDParamsWithContext creates a new PutEthernetSwitchIDPortPortIDParams object with the ability to set a context for a request.

func NewPutEthernetSwitchIDPortPortIDParamsWithHTTPClient

func NewPutEthernetSwitchIDPortPortIDParamsWithHTTPClient(client *http.Client) *PutEthernetSwitchIDPortPortIDParams

NewPutEthernetSwitchIDPortPortIDParamsWithHTTPClient creates a new PutEthernetSwitchIDPortPortIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutEthernetSwitchIDPortPortIDParamsWithTimeout

func NewPutEthernetSwitchIDPortPortIDParamsWithTimeout(timeout time.Duration) *PutEthernetSwitchIDPortPortIDParams

NewPutEthernetSwitchIDPortPortIDParamsWithTimeout creates a new PutEthernetSwitchIDPortPortIDParams object with the ability to set a timeout on a request.

func (*PutEthernetSwitchIDPortPortIDParams) SetContext

SetContext adds the context to the put ethernet switch ID port port ID params

func (*PutEthernetSwitchIDPortPortIDParams) SetDefaults

func (o *PutEthernetSwitchIDPortPortIDParams) SetDefaults()

SetDefaults hydrates default values in the put ethernet switch ID port port ID params (not the query body).

All values with no default are reset to their zero value.

func (*PutEthernetSwitchIDPortPortIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put ethernet switch ID port port ID params

func (*PutEthernetSwitchIDPortPortIDParams) SetID

SetID adds the id to the put ethernet switch ID port port ID params

func (*PutEthernetSwitchIDPortPortIDParams) SetPortID

func (o *PutEthernetSwitchIDPortPortIDParams) SetPortID(portID string)

SetPortID adds the portId to the put ethernet switch ID port port ID params

func (*PutEthernetSwitchIDPortPortIDParams) SetRequest

SetRequest adds the request to the put ethernet switch ID port port ID params

func (*PutEthernetSwitchIDPortPortIDParams) SetTimeout

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

SetTimeout adds the timeout to the put ethernet switch ID port port ID params

func (*PutEthernetSwitchIDPortPortIDParams) WithContext

WithContext adds the context to the put ethernet switch ID port port ID params

func (*PutEthernetSwitchIDPortPortIDParams) WithDefaults

WithDefaults hydrates default values in the put ethernet switch ID port port ID params (not the query body).

All values with no default are reset to their zero value.

func (*PutEthernetSwitchIDPortPortIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put ethernet switch ID port port ID params

func (*PutEthernetSwitchIDPortPortIDParams) WithID

WithID adds the id to the put ethernet switch ID port port ID params

func (*PutEthernetSwitchIDPortPortIDParams) WithPortID

WithPortID adds the portID to the put ethernet switch ID port port ID params

func (*PutEthernetSwitchIDPortPortIDParams) WithRequest

WithRequest adds the request to the put ethernet switch ID port port ID params

func (*PutEthernetSwitchIDPortPortIDParams) WithTimeout

WithTimeout adds the timeout to the put ethernet switch ID port port ID params

func (*PutEthernetSwitchIDPortPortIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutEthernetSwitchIDPortPortIDReader

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

PutEthernetSwitchIDPortPortIDReader is a Reader for the PutEthernetSwitchIDPortPortID structure.

func (*PutEthernetSwitchIDPortPortIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutEthernetSwitchIDReader

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

PutEthernetSwitchIDReader is a Reader for the PutEthernetSwitchID structure.

func (*PutEthernetSwitchIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutEthernetSwitchIDVlanVlanUUIDBadRequest

type PutEthernetSwitchIDVlanVlanUUIDBadRequest struct {
	Payload *models.DtosValidationErrorDto
}

PutEthernetSwitchIDVlanVlanUUIDBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPutEthernetSwitchIDVlanVlanUUIDBadRequest

func NewPutEthernetSwitchIDVlanVlanUUIDBadRequest() *PutEthernetSwitchIDVlanVlanUUIDBadRequest

NewPutEthernetSwitchIDVlanVlanUUIDBadRequest creates a PutEthernetSwitchIDVlanVlanUUIDBadRequest with default headers values

func (*PutEthernetSwitchIDVlanVlanUUIDBadRequest) Error

func (*PutEthernetSwitchIDVlanVlanUUIDBadRequest) GetPayload

func (*PutEthernetSwitchIDVlanVlanUUIDBadRequest) IsClientError

IsClientError returns true when this put ethernet switch Id vlan vlan Uuid bad request response has a 4xx status code

func (*PutEthernetSwitchIDVlanVlanUUIDBadRequest) IsCode

IsCode returns true when this put ethernet switch Id vlan vlan Uuid bad request response a status code equal to that given

func (*PutEthernetSwitchIDVlanVlanUUIDBadRequest) IsRedirect

IsRedirect returns true when this put ethernet switch Id vlan vlan Uuid bad request response has a 3xx status code

func (*PutEthernetSwitchIDVlanVlanUUIDBadRequest) IsServerError

IsServerError returns true when this put ethernet switch Id vlan vlan Uuid bad request response has a 5xx status code

func (*PutEthernetSwitchIDVlanVlanUUIDBadRequest) IsSuccess

IsSuccess returns true when this put ethernet switch Id vlan vlan Uuid bad request response has a 2xx status code

func (*PutEthernetSwitchIDVlanVlanUUIDBadRequest) String

type PutEthernetSwitchIDVlanVlanUUIDInternalServerError

type PutEthernetSwitchIDVlanVlanUUIDInternalServerError struct {
}

PutEthernetSwitchIDVlanVlanUUIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPutEthernetSwitchIDVlanVlanUUIDInternalServerError

func NewPutEthernetSwitchIDVlanVlanUUIDInternalServerError() *PutEthernetSwitchIDVlanVlanUUIDInternalServerError

NewPutEthernetSwitchIDVlanVlanUUIDInternalServerError creates a PutEthernetSwitchIDVlanVlanUUIDInternalServerError with default headers values

func (*PutEthernetSwitchIDVlanVlanUUIDInternalServerError) Error

func (*PutEthernetSwitchIDVlanVlanUUIDInternalServerError) IsClientError

IsClientError returns true when this put ethernet switch Id vlan vlan Uuid internal server error response has a 4xx status code

func (*PutEthernetSwitchIDVlanVlanUUIDInternalServerError) IsCode

IsCode returns true when this put ethernet switch Id vlan vlan Uuid internal server error response a status code equal to that given

func (*PutEthernetSwitchIDVlanVlanUUIDInternalServerError) IsRedirect

IsRedirect returns true when this put ethernet switch Id vlan vlan Uuid internal server error response has a 3xx status code

func (*PutEthernetSwitchIDVlanVlanUUIDInternalServerError) IsServerError

IsServerError returns true when this put ethernet switch Id vlan vlan Uuid internal server error response has a 5xx status code

func (*PutEthernetSwitchIDVlanVlanUUIDInternalServerError) IsSuccess

IsSuccess returns true when this put ethernet switch Id vlan vlan Uuid internal server error response has a 2xx status code

func (*PutEthernetSwitchIDVlanVlanUUIDInternalServerError) String

type PutEthernetSwitchIDVlanVlanUUIDNotFound

type PutEthernetSwitchIDVlanVlanUUIDNotFound struct {
}

PutEthernetSwitchIDVlanVlanUUIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewPutEthernetSwitchIDVlanVlanUUIDNotFound

func NewPutEthernetSwitchIDVlanVlanUUIDNotFound() *PutEthernetSwitchIDVlanVlanUUIDNotFound

NewPutEthernetSwitchIDVlanVlanUUIDNotFound creates a PutEthernetSwitchIDVlanVlanUUIDNotFound with default headers values

func (*PutEthernetSwitchIDVlanVlanUUIDNotFound) Error

func (*PutEthernetSwitchIDVlanVlanUUIDNotFound) IsClientError

func (o *PutEthernetSwitchIDVlanVlanUUIDNotFound) IsClientError() bool

IsClientError returns true when this put ethernet switch Id vlan vlan Uuid not found response has a 4xx status code

func (*PutEthernetSwitchIDVlanVlanUUIDNotFound) IsCode

IsCode returns true when this put ethernet switch Id vlan vlan Uuid not found response a status code equal to that given

func (*PutEthernetSwitchIDVlanVlanUUIDNotFound) IsRedirect

IsRedirect returns true when this put ethernet switch Id vlan vlan Uuid not found response has a 3xx status code

func (*PutEthernetSwitchIDVlanVlanUUIDNotFound) IsServerError

func (o *PutEthernetSwitchIDVlanVlanUUIDNotFound) IsServerError() bool

IsServerError returns true when this put ethernet switch Id vlan vlan Uuid not found response has a 5xx status code

func (*PutEthernetSwitchIDVlanVlanUUIDNotFound) IsSuccess

IsSuccess returns true when this put ethernet switch Id vlan vlan Uuid not found response has a 2xx status code

func (*PutEthernetSwitchIDVlanVlanUUIDNotFound) String

type PutEthernetSwitchIDVlanVlanUUIDOK

type PutEthernetSwitchIDVlanVlanUUIDOK struct {
	Payload *models.DtosEthernetSwitchVLANDto
}

PutEthernetSwitchIDVlanVlanUUIDOK describes a response with status code 200, with default header values.

OK

func NewPutEthernetSwitchIDVlanVlanUUIDOK

func NewPutEthernetSwitchIDVlanVlanUUIDOK() *PutEthernetSwitchIDVlanVlanUUIDOK

NewPutEthernetSwitchIDVlanVlanUUIDOK creates a PutEthernetSwitchIDVlanVlanUUIDOK with default headers values

func (*PutEthernetSwitchIDVlanVlanUUIDOK) Error

func (*PutEthernetSwitchIDVlanVlanUUIDOK) GetPayload

func (*PutEthernetSwitchIDVlanVlanUUIDOK) IsClientError

func (o *PutEthernetSwitchIDVlanVlanUUIDOK) IsClientError() bool

IsClientError returns true when this put ethernet switch Id vlan vlan Uuid o k response has a 4xx status code

func (*PutEthernetSwitchIDVlanVlanUUIDOK) IsCode

func (o *PutEthernetSwitchIDVlanVlanUUIDOK) IsCode(code int) bool

IsCode returns true when this put ethernet switch Id vlan vlan Uuid o k response a status code equal to that given

func (*PutEthernetSwitchIDVlanVlanUUIDOK) IsRedirect

func (o *PutEthernetSwitchIDVlanVlanUUIDOK) IsRedirect() bool

IsRedirect returns true when this put ethernet switch Id vlan vlan Uuid o k response has a 3xx status code

func (*PutEthernetSwitchIDVlanVlanUUIDOK) IsServerError

func (o *PutEthernetSwitchIDVlanVlanUUIDOK) IsServerError() bool

IsServerError returns true when this put ethernet switch Id vlan vlan Uuid o k response has a 5xx status code

func (*PutEthernetSwitchIDVlanVlanUUIDOK) IsSuccess

func (o *PutEthernetSwitchIDVlanVlanUUIDOK) IsSuccess() bool

IsSuccess returns true when this put ethernet switch Id vlan vlan Uuid o k response has a 2xx status code

func (*PutEthernetSwitchIDVlanVlanUUIDOK) String

type PutEthernetSwitchIDVlanVlanUUIDParams

type PutEthernetSwitchIDVlanVlanUUIDParams struct {

	/* ID.

	   Ethernet switch ID
	*/
	ID string

	/* Request.

	   Ethernet switch fields
	*/
	Request *models.DtosEthernetSwitchVLANUpdateDto

	/* VlanUUID.

	   Ethernet switch VLAN UUID
	*/
	VlanUUID string

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

PutEthernetSwitchIDVlanVlanUUIDParams contains all the parameters to send to the API endpoint

for the put ethernet switch ID vlan vlan UUID operation.

Typically these are written to a http.Request.

func NewPutEthernetSwitchIDVlanVlanUUIDParams

func NewPutEthernetSwitchIDVlanVlanUUIDParams() *PutEthernetSwitchIDVlanVlanUUIDParams

NewPutEthernetSwitchIDVlanVlanUUIDParams creates a new PutEthernetSwitchIDVlanVlanUUIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutEthernetSwitchIDVlanVlanUUIDParamsWithContext

func NewPutEthernetSwitchIDVlanVlanUUIDParamsWithContext(ctx context.Context) *PutEthernetSwitchIDVlanVlanUUIDParams

NewPutEthernetSwitchIDVlanVlanUUIDParamsWithContext creates a new PutEthernetSwitchIDVlanVlanUUIDParams object with the ability to set a context for a request.

func NewPutEthernetSwitchIDVlanVlanUUIDParamsWithHTTPClient

func NewPutEthernetSwitchIDVlanVlanUUIDParamsWithHTTPClient(client *http.Client) *PutEthernetSwitchIDVlanVlanUUIDParams

NewPutEthernetSwitchIDVlanVlanUUIDParamsWithHTTPClient creates a new PutEthernetSwitchIDVlanVlanUUIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutEthernetSwitchIDVlanVlanUUIDParamsWithTimeout

func NewPutEthernetSwitchIDVlanVlanUUIDParamsWithTimeout(timeout time.Duration) *PutEthernetSwitchIDVlanVlanUUIDParams

NewPutEthernetSwitchIDVlanVlanUUIDParamsWithTimeout creates a new PutEthernetSwitchIDVlanVlanUUIDParams object with the ability to set a timeout on a request.

func (*PutEthernetSwitchIDVlanVlanUUIDParams) SetContext

SetContext adds the context to the put ethernet switch ID vlan vlan UUID params

func (*PutEthernetSwitchIDVlanVlanUUIDParams) SetDefaults

func (o *PutEthernetSwitchIDVlanVlanUUIDParams) SetDefaults()

SetDefaults hydrates default values in the put ethernet switch ID vlan vlan UUID params (not the query body).

All values with no default are reset to their zero value.

func (*PutEthernetSwitchIDVlanVlanUUIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put ethernet switch ID vlan vlan UUID params

func (*PutEthernetSwitchIDVlanVlanUUIDParams) SetID

SetID adds the id to the put ethernet switch ID vlan vlan UUID params

func (*PutEthernetSwitchIDVlanVlanUUIDParams) SetRequest

SetRequest adds the request to the put ethernet switch ID vlan vlan UUID params

func (*PutEthernetSwitchIDVlanVlanUUIDParams) SetTimeout

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

SetTimeout adds the timeout to the put ethernet switch ID vlan vlan UUID params

func (*PutEthernetSwitchIDVlanVlanUUIDParams) SetVlanUUID

func (o *PutEthernetSwitchIDVlanVlanUUIDParams) SetVlanUUID(vlanUUID string)

SetVlanUUID adds the vlanUuid to the put ethernet switch ID vlan vlan UUID params

func (*PutEthernetSwitchIDVlanVlanUUIDParams) WithContext

WithContext adds the context to the put ethernet switch ID vlan vlan UUID params

func (*PutEthernetSwitchIDVlanVlanUUIDParams) WithDefaults

WithDefaults hydrates default values in the put ethernet switch ID vlan vlan UUID params (not the query body).

All values with no default are reset to their zero value.

func (*PutEthernetSwitchIDVlanVlanUUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put ethernet switch ID vlan vlan UUID params

func (*PutEthernetSwitchIDVlanVlanUUIDParams) WithID

WithID adds the id to the put ethernet switch ID vlan vlan UUID params

func (*PutEthernetSwitchIDVlanVlanUUIDParams) WithRequest

WithRequest adds the request to the put ethernet switch ID vlan vlan UUID params

func (*PutEthernetSwitchIDVlanVlanUUIDParams) WithTimeout

WithTimeout adds the timeout to the put ethernet switch ID vlan vlan UUID params

func (*PutEthernetSwitchIDVlanVlanUUIDParams) WithVlanUUID

WithVlanUUID adds the vlanUUID to the put ethernet switch ID vlan vlan UUID params

func (*PutEthernetSwitchIDVlanVlanUUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutEthernetSwitchIDVlanVlanUUIDReader

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

PutEthernetSwitchIDVlanVlanUUIDReader is a Reader for the PutEthernetSwitchIDVlanVlanUUID structure.

func (*PutEthernetSwitchIDVlanVlanUUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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