Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteEthernetSwitchID(params *DeleteEthernetSwitchIDParams, opts ...ClientOption) (*DeleteEthernetSwitchIDNoContent, error)
- func (a *Client) DeleteEthernetSwitchIDPortPortID(params *DeleteEthernetSwitchIDPortPortIDParams, opts ...ClientOption) (*DeleteEthernetSwitchIDPortPortIDNoContent, error)
- func (a *Client) DeleteEthernetSwitchIDVlanVlanUUID(params *DeleteEthernetSwitchIDVlanVlanUUIDParams, opts ...ClientOption) (*DeleteEthernetSwitchIDVlanVlanUUIDNoContent, error)
- func (a *Client) GetEthernetSwitch(params *GetEthernetSwitchParams, opts ...ClientOption) (*GetEthernetSwitchOK, error)
- func (a *Client) GetEthernetSwitchID(params *GetEthernetSwitchIDParams, opts ...ClientOption) (*GetEthernetSwitchIDOK, error)
- func (a *Client) GetEthernetSwitchIDPort(params *GetEthernetSwitchIDPortParams, opts ...ClientOption) (*GetEthernetSwitchIDPortOK, error)
- func (a *Client) GetEthernetSwitchIDPortPortID(params *GetEthernetSwitchIDPortPortIDParams, opts ...ClientOption) (*GetEthernetSwitchIDPortPortIDOK, error)
- func (a *Client) GetEthernetSwitchIDVlan(params *GetEthernetSwitchIDVlanParams, opts ...ClientOption) (*GetEthernetSwitchIDVlanOK, error)
- func (a *Client) GetEthernetSwitchIDVlanVlanUUID(params *GetEthernetSwitchIDVlanVlanUUIDParams, opts ...ClientOption) (*GetEthernetSwitchIDVlanVlanUUIDOK, error)
- func (a *Client) GetEthernetSwitchModels(params *GetEthernetSwitchModelsParams, opts ...ClientOption) (*GetEthernetSwitchModelsOK, error)
- func (a *Client) PostEthernetSwitch(params *PostEthernetSwitchParams, opts ...ClientOption) (*PostEthernetSwitchOK, error)
- func (a *Client) PostEthernetSwitchIDPort(params *PostEthernetSwitchIDPortParams, opts ...ClientOption) (*PostEthernetSwitchIDPortOK, error)
- func (a *Client) PostEthernetSwitchIDVlan(params *PostEthernetSwitchIDVlanParams, opts ...ClientOption) (*PostEthernetSwitchIDVlanOK, error)
- func (a *Client) PutEthernetSwitchID(params *PutEthernetSwitchIDParams, opts ...ClientOption) (*PutEthernetSwitchIDOK, error)
- func (a *Client) PutEthernetSwitchIDPortPortID(params *PutEthernetSwitchIDPortPortIDParams, opts ...ClientOption) (*PutEthernetSwitchIDPortPortIDOK, error)
- func (a *Client) PutEthernetSwitchIDVlanVlanUUID(params *PutEthernetSwitchIDVlanVlanUUIDParams, opts ...ClientOption) (*PutEthernetSwitchIDVlanVlanUUIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteEthernetSwitchIDInternalServerError
- func (o *DeleteEthernetSwitchIDInternalServerError) Error() string
- func (o *DeleteEthernetSwitchIDInternalServerError) IsClientError() bool
- func (o *DeleteEthernetSwitchIDInternalServerError) IsCode(code int) bool
- func (o *DeleteEthernetSwitchIDInternalServerError) IsRedirect() bool
- func (o *DeleteEthernetSwitchIDInternalServerError) IsServerError() bool
- func (o *DeleteEthernetSwitchIDInternalServerError) IsSuccess() bool
- func (o *DeleteEthernetSwitchIDInternalServerError) String() string
- type DeleteEthernetSwitchIDNoContent
- func (o *DeleteEthernetSwitchIDNoContent) Error() string
- func (o *DeleteEthernetSwitchIDNoContent) IsClientError() bool
- func (o *DeleteEthernetSwitchIDNoContent) IsCode(code int) bool
- func (o *DeleteEthernetSwitchIDNoContent) IsRedirect() bool
- func (o *DeleteEthernetSwitchIDNoContent) IsServerError() bool
- func (o *DeleteEthernetSwitchIDNoContent) IsSuccess() bool
- func (o *DeleteEthernetSwitchIDNoContent) String() string
- type DeleteEthernetSwitchIDNotFound
- func (o *DeleteEthernetSwitchIDNotFound) Error() string
- func (o *DeleteEthernetSwitchIDNotFound) IsClientError() bool
- func (o *DeleteEthernetSwitchIDNotFound) IsCode(code int) bool
- func (o *DeleteEthernetSwitchIDNotFound) IsRedirect() bool
- func (o *DeleteEthernetSwitchIDNotFound) IsServerError() bool
- func (o *DeleteEthernetSwitchIDNotFound) IsSuccess() bool
- func (o *DeleteEthernetSwitchIDNotFound) String() string
- type DeleteEthernetSwitchIDParams
- func NewDeleteEthernetSwitchIDParams() *DeleteEthernetSwitchIDParams
- func NewDeleteEthernetSwitchIDParamsWithContext(ctx context.Context) *DeleteEthernetSwitchIDParams
- func NewDeleteEthernetSwitchIDParamsWithHTTPClient(client *http.Client) *DeleteEthernetSwitchIDParams
- func NewDeleteEthernetSwitchIDParamsWithTimeout(timeout time.Duration) *DeleteEthernetSwitchIDParams
- func (o *DeleteEthernetSwitchIDParams) SetContext(ctx context.Context)
- func (o *DeleteEthernetSwitchIDParams) SetDefaults()
- func (o *DeleteEthernetSwitchIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteEthernetSwitchIDParams) SetID(id string)
- func (o *DeleteEthernetSwitchIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteEthernetSwitchIDParams) WithContext(ctx context.Context) *DeleteEthernetSwitchIDParams
- func (o *DeleteEthernetSwitchIDParams) WithDefaults() *DeleteEthernetSwitchIDParams
- func (o *DeleteEthernetSwitchIDParams) WithHTTPClient(client *http.Client) *DeleteEthernetSwitchIDParams
- func (o *DeleteEthernetSwitchIDParams) WithID(id string) *DeleteEthernetSwitchIDParams
- func (o *DeleteEthernetSwitchIDParams) WithTimeout(timeout time.Duration) *DeleteEthernetSwitchIDParams
- func (o *DeleteEthernetSwitchIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteEthernetSwitchIDPortPortIDInternalServerError
- func (o *DeleteEthernetSwitchIDPortPortIDInternalServerError) Error() string
- func (o *DeleteEthernetSwitchIDPortPortIDInternalServerError) IsClientError() bool
- func (o *DeleteEthernetSwitchIDPortPortIDInternalServerError) IsCode(code int) bool
- func (o *DeleteEthernetSwitchIDPortPortIDInternalServerError) IsRedirect() bool
- func (o *DeleteEthernetSwitchIDPortPortIDInternalServerError) IsServerError() bool
- func (o *DeleteEthernetSwitchIDPortPortIDInternalServerError) IsSuccess() bool
- func (o *DeleteEthernetSwitchIDPortPortIDInternalServerError) String() string
- type DeleteEthernetSwitchIDPortPortIDNoContent
- func (o *DeleteEthernetSwitchIDPortPortIDNoContent) Error() string
- func (o *DeleteEthernetSwitchIDPortPortIDNoContent) IsClientError() bool
- func (o *DeleteEthernetSwitchIDPortPortIDNoContent) IsCode(code int) bool
- func (o *DeleteEthernetSwitchIDPortPortIDNoContent) IsRedirect() bool
- func (o *DeleteEthernetSwitchIDPortPortIDNoContent) IsServerError() bool
- func (o *DeleteEthernetSwitchIDPortPortIDNoContent) IsSuccess() bool
- func (o *DeleteEthernetSwitchIDPortPortIDNoContent) String() string
- type DeleteEthernetSwitchIDPortPortIDNotFound
- func (o *DeleteEthernetSwitchIDPortPortIDNotFound) Error() string
- func (o *DeleteEthernetSwitchIDPortPortIDNotFound) IsClientError() bool
- func (o *DeleteEthernetSwitchIDPortPortIDNotFound) IsCode(code int) bool
- func (o *DeleteEthernetSwitchIDPortPortIDNotFound) IsRedirect() bool
- func (o *DeleteEthernetSwitchIDPortPortIDNotFound) IsServerError() bool
- func (o *DeleteEthernetSwitchIDPortPortIDNotFound) IsSuccess() bool
- func (o *DeleteEthernetSwitchIDPortPortIDNotFound) String() string
- type DeleteEthernetSwitchIDPortPortIDParams
- func NewDeleteEthernetSwitchIDPortPortIDParams() *DeleteEthernetSwitchIDPortPortIDParams
- func NewDeleteEthernetSwitchIDPortPortIDParamsWithContext(ctx context.Context) *DeleteEthernetSwitchIDPortPortIDParams
- func NewDeleteEthernetSwitchIDPortPortIDParamsWithHTTPClient(client *http.Client) *DeleteEthernetSwitchIDPortPortIDParams
- func NewDeleteEthernetSwitchIDPortPortIDParamsWithTimeout(timeout time.Duration) *DeleteEthernetSwitchIDPortPortIDParams
- func (o *DeleteEthernetSwitchIDPortPortIDParams) SetContext(ctx context.Context)
- func (o *DeleteEthernetSwitchIDPortPortIDParams) SetDefaults()
- func (o *DeleteEthernetSwitchIDPortPortIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteEthernetSwitchIDPortPortIDParams) SetID(id string)
- func (o *DeleteEthernetSwitchIDPortPortIDParams) SetPortID(portID string)
- func (o *DeleteEthernetSwitchIDPortPortIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteEthernetSwitchIDPortPortIDParams) WithContext(ctx context.Context) *DeleteEthernetSwitchIDPortPortIDParams
- func (o *DeleteEthernetSwitchIDPortPortIDParams) WithDefaults() *DeleteEthernetSwitchIDPortPortIDParams
- func (o *DeleteEthernetSwitchIDPortPortIDParams) WithHTTPClient(client *http.Client) *DeleteEthernetSwitchIDPortPortIDParams
- func (o *DeleteEthernetSwitchIDPortPortIDParams) WithID(id string) *DeleteEthernetSwitchIDPortPortIDParams
- func (o *DeleteEthernetSwitchIDPortPortIDParams) WithPortID(portID string) *DeleteEthernetSwitchIDPortPortIDParams
- func (o *DeleteEthernetSwitchIDPortPortIDParams) WithTimeout(timeout time.Duration) *DeleteEthernetSwitchIDPortPortIDParams
- func (o *DeleteEthernetSwitchIDPortPortIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteEthernetSwitchIDPortPortIDReader
- type DeleteEthernetSwitchIDReader
- type DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) Error() string
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) IsClientError() bool
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) IsCode(code int) bool
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) IsRedirect() bool
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) IsServerError() bool
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) IsSuccess() bool
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) String() string
- type DeleteEthernetSwitchIDVlanVlanUUIDNoContent
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDNoContent) Error() string
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDNoContent) IsClientError() bool
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDNoContent) IsCode(code int) bool
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDNoContent) IsRedirect() bool
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDNoContent) IsServerError() bool
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDNoContent) IsSuccess() bool
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDNoContent) String() string
- type DeleteEthernetSwitchIDVlanVlanUUIDNotFound
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDNotFound) Error() string
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDNotFound) IsClientError() bool
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDNotFound) IsCode(code int) bool
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDNotFound) IsRedirect() bool
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDNotFound) IsServerError() bool
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDNotFound) IsSuccess() bool
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDNotFound) String() string
- type DeleteEthernetSwitchIDVlanVlanUUIDParams
- func NewDeleteEthernetSwitchIDVlanVlanUUIDParams() *DeleteEthernetSwitchIDVlanVlanUUIDParams
- func NewDeleteEthernetSwitchIDVlanVlanUUIDParamsWithContext(ctx context.Context) *DeleteEthernetSwitchIDVlanVlanUUIDParams
- func NewDeleteEthernetSwitchIDVlanVlanUUIDParamsWithHTTPClient(client *http.Client) *DeleteEthernetSwitchIDVlanVlanUUIDParams
- func NewDeleteEthernetSwitchIDVlanVlanUUIDParamsWithTimeout(timeout time.Duration) *DeleteEthernetSwitchIDVlanVlanUUIDParams
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) SetContext(ctx context.Context)
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) SetDefaults()
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) SetID(id string)
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) SetVlanUUID(vlanUUID string)
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) WithContext(ctx context.Context) *DeleteEthernetSwitchIDVlanVlanUUIDParams
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) WithDefaults() *DeleteEthernetSwitchIDVlanVlanUUIDParams
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) WithHTTPClient(client *http.Client) *DeleteEthernetSwitchIDVlanVlanUUIDParams
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) WithID(id string) *DeleteEthernetSwitchIDVlanVlanUUIDParams
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) WithTimeout(timeout time.Duration) *DeleteEthernetSwitchIDVlanVlanUUIDParams
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) WithVlanUUID(vlanUUID string) *DeleteEthernetSwitchIDVlanVlanUUIDParams
- func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteEthernetSwitchIDVlanVlanUUIDReader
- type GetEthernetSwitchIDInternalServerError
- func (o *GetEthernetSwitchIDInternalServerError) Error() string
- func (o *GetEthernetSwitchIDInternalServerError) IsClientError() bool
- func (o *GetEthernetSwitchIDInternalServerError) IsCode(code int) bool
- func (o *GetEthernetSwitchIDInternalServerError) IsRedirect() bool
- func (o *GetEthernetSwitchIDInternalServerError) IsServerError() bool
- func (o *GetEthernetSwitchIDInternalServerError) IsSuccess() bool
- func (o *GetEthernetSwitchIDInternalServerError) String() string
- type GetEthernetSwitchIDNotFound
- func (o *GetEthernetSwitchIDNotFound) Error() string
- func (o *GetEthernetSwitchIDNotFound) IsClientError() bool
- func (o *GetEthernetSwitchIDNotFound) IsCode(code int) bool
- func (o *GetEthernetSwitchIDNotFound) IsRedirect() bool
- func (o *GetEthernetSwitchIDNotFound) IsServerError() bool
- func (o *GetEthernetSwitchIDNotFound) IsSuccess() bool
- func (o *GetEthernetSwitchIDNotFound) String() string
- type GetEthernetSwitchIDOK
- func (o *GetEthernetSwitchIDOK) Error() string
- func (o *GetEthernetSwitchIDOK) GetPayload() *models.DtosEthernetSwitchDto
- func (o *GetEthernetSwitchIDOK) IsClientError() bool
- func (o *GetEthernetSwitchIDOK) IsCode(code int) bool
- func (o *GetEthernetSwitchIDOK) IsRedirect() bool
- func (o *GetEthernetSwitchIDOK) IsServerError() bool
- func (o *GetEthernetSwitchIDOK) IsSuccess() bool
- func (o *GetEthernetSwitchIDOK) String() string
- type GetEthernetSwitchIDParams
- func NewGetEthernetSwitchIDParams() *GetEthernetSwitchIDParams
- func NewGetEthernetSwitchIDParamsWithContext(ctx context.Context) *GetEthernetSwitchIDParams
- func NewGetEthernetSwitchIDParamsWithHTTPClient(client *http.Client) *GetEthernetSwitchIDParams
- func NewGetEthernetSwitchIDParamsWithTimeout(timeout time.Duration) *GetEthernetSwitchIDParams
- func (o *GetEthernetSwitchIDParams) SetContext(ctx context.Context)
- func (o *GetEthernetSwitchIDParams) SetDefaults()
- func (o *GetEthernetSwitchIDParams) SetHTTPClient(client *http.Client)
- func (o *GetEthernetSwitchIDParams) SetID(id string)
- func (o *GetEthernetSwitchIDParams) SetTimeout(timeout time.Duration)
- func (o *GetEthernetSwitchIDParams) WithContext(ctx context.Context) *GetEthernetSwitchIDParams
- func (o *GetEthernetSwitchIDParams) WithDefaults() *GetEthernetSwitchIDParams
- func (o *GetEthernetSwitchIDParams) WithHTTPClient(client *http.Client) *GetEthernetSwitchIDParams
- func (o *GetEthernetSwitchIDParams) WithID(id string) *GetEthernetSwitchIDParams
- func (o *GetEthernetSwitchIDParams) WithTimeout(timeout time.Duration) *GetEthernetSwitchIDParams
- func (o *GetEthernetSwitchIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEthernetSwitchIDPortInternalServerError
- func (o *GetEthernetSwitchIDPortInternalServerError) Error() string
- func (o *GetEthernetSwitchIDPortInternalServerError) IsClientError() bool
- func (o *GetEthernetSwitchIDPortInternalServerError) IsCode(code int) bool
- func (o *GetEthernetSwitchIDPortInternalServerError) IsRedirect() bool
- func (o *GetEthernetSwitchIDPortInternalServerError) IsServerError() bool
- func (o *GetEthernetSwitchIDPortInternalServerError) IsSuccess() bool
- func (o *GetEthernetSwitchIDPortInternalServerError) String() string
- type GetEthernetSwitchIDPortNotFound
- func (o *GetEthernetSwitchIDPortNotFound) Error() string
- func (o *GetEthernetSwitchIDPortNotFound) IsClientError() bool
- func (o *GetEthernetSwitchIDPortNotFound) IsCode(code int) bool
- func (o *GetEthernetSwitchIDPortNotFound) IsRedirect() bool
- func (o *GetEthernetSwitchIDPortNotFound) IsServerError() bool
- func (o *GetEthernetSwitchIDPortNotFound) IsSuccess() bool
- func (o *GetEthernetSwitchIDPortNotFound) String() string
- type GetEthernetSwitchIDPortOK
- func (o *GetEthernetSwitchIDPortOK) Error() string
- func (o *GetEthernetSwitchIDPortOK) GetPayload() *models.DtosPaginatedItemsDtoDtosEthernetSwitchPortDto
- func (o *GetEthernetSwitchIDPortOK) IsClientError() bool
- func (o *GetEthernetSwitchIDPortOK) IsCode(code int) bool
- func (o *GetEthernetSwitchIDPortOK) IsRedirect() bool
- func (o *GetEthernetSwitchIDPortOK) IsServerError() bool
- func (o *GetEthernetSwitchIDPortOK) IsSuccess() bool
- func (o *GetEthernetSwitchIDPortOK) String() string
- type GetEthernetSwitchIDPortParams
- func NewGetEthernetSwitchIDPortParams() *GetEthernetSwitchIDPortParams
- func NewGetEthernetSwitchIDPortParamsWithContext(ctx context.Context) *GetEthernetSwitchIDPortParams
- func NewGetEthernetSwitchIDPortParamsWithHTTPClient(client *http.Client) *GetEthernetSwitchIDPortParams
- func NewGetEthernetSwitchIDPortParamsWithTimeout(timeout time.Duration) *GetEthernetSwitchIDPortParams
- func (o *GetEthernetSwitchIDPortParams) SetContext(ctx context.Context)
- func (o *GetEthernetSwitchIDPortParams) SetDefaults()
- func (o *GetEthernetSwitchIDPortParams) SetHTTPClient(client *http.Client)
- func (o *GetEthernetSwitchIDPortParams) SetID(id string)
- func (o *GetEthernetSwitchIDPortParams) SetOrderBy(orderBy *string)
- func (o *GetEthernetSwitchIDPortParams) SetOrderDirection(orderDirection *string)
- func (o *GetEthernetSwitchIDPortParams) SetPage(page *int64)
- func (o *GetEthernetSwitchIDPortParams) SetPageSize(pageSize *int64)
- func (o *GetEthernetSwitchIDPortParams) SetSearch(search *string)
- func (o *GetEthernetSwitchIDPortParams) SetTimeout(timeout time.Duration)
- func (o *GetEthernetSwitchIDPortParams) WithContext(ctx context.Context) *GetEthernetSwitchIDPortParams
- func (o *GetEthernetSwitchIDPortParams) WithDefaults() *GetEthernetSwitchIDPortParams
- func (o *GetEthernetSwitchIDPortParams) WithHTTPClient(client *http.Client) *GetEthernetSwitchIDPortParams
- func (o *GetEthernetSwitchIDPortParams) WithID(id string) *GetEthernetSwitchIDPortParams
- func (o *GetEthernetSwitchIDPortParams) WithOrderBy(orderBy *string) *GetEthernetSwitchIDPortParams
- func (o *GetEthernetSwitchIDPortParams) WithOrderDirection(orderDirection *string) *GetEthernetSwitchIDPortParams
- func (o *GetEthernetSwitchIDPortParams) WithPage(page *int64) *GetEthernetSwitchIDPortParams
- func (o *GetEthernetSwitchIDPortParams) WithPageSize(pageSize *int64) *GetEthernetSwitchIDPortParams
- func (o *GetEthernetSwitchIDPortParams) WithSearch(search *string) *GetEthernetSwitchIDPortParams
- func (o *GetEthernetSwitchIDPortParams) WithTimeout(timeout time.Duration) *GetEthernetSwitchIDPortParams
- func (o *GetEthernetSwitchIDPortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEthernetSwitchIDPortPortIDInternalServerError
- func (o *GetEthernetSwitchIDPortPortIDInternalServerError) Error() string
- func (o *GetEthernetSwitchIDPortPortIDInternalServerError) IsClientError() bool
- func (o *GetEthernetSwitchIDPortPortIDInternalServerError) IsCode(code int) bool
- func (o *GetEthernetSwitchIDPortPortIDInternalServerError) IsRedirect() bool
- func (o *GetEthernetSwitchIDPortPortIDInternalServerError) IsServerError() bool
- func (o *GetEthernetSwitchIDPortPortIDInternalServerError) IsSuccess() bool
- func (o *GetEthernetSwitchIDPortPortIDInternalServerError) String() string
- type GetEthernetSwitchIDPortPortIDNotFound
- func (o *GetEthernetSwitchIDPortPortIDNotFound) Error() string
- func (o *GetEthernetSwitchIDPortPortIDNotFound) IsClientError() bool
- func (o *GetEthernetSwitchIDPortPortIDNotFound) IsCode(code int) bool
- func (o *GetEthernetSwitchIDPortPortIDNotFound) IsRedirect() bool
- func (o *GetEthernetSwitchIDPortPortIDNotFound) IsServerError() bool
- func (o *GetEthernetSwitchIDPortPortIDNotFound) IsSuccess() bool
- func (o *GetEthernetSwitchIDPortPortIDNotFound) String() string
- type GetEthernetSwitchIDPortPortIDOK
- func (o *GetEthernetSwitchIDPortPortIDOK) Error() string
- func (o *GetEthernetSwitchIDPortPortIDOK) GetPayload() *models.DtosEthernetSwitchPortDto
- func (o *GetEthernetSwitchIDPortPortIDOK) IsClientError() bool
- func (o *GetEthernetSwitchIDPortPortIDOK) IsCode(code int) bool
- func (o *GetEthernetSwitchIDPortPortIDOK) IsRedirect() bool
- func (o *GetEthernetSwitchIDPortPortIDOK) IsServerError() bool
- func (o *GetEthernetSwitchIDPortPortIDOK) IsSuccess() bool
- func (o *GetEthernetSwitchIDPortPortIDOK) String() string
- type GetEthernetSwitchIDPortPortIDParams
- func NewGetEthernetSwitchIDPortPortIDParams() *GetEthernetSwitchIDPortPortIDParams
- func NewGetEthernetSwitchIDPortPortIDParamsWithContext(ctx context.Context) *GetEthernetSwitchIDPortPortIDParams
- func NewGetEthernetSwitchIDPortPortIDParamsWithHTTPClient(client *http.Client) *GetEthernetSwitchIDPortPortIDParams
- func NewGetEthernetSwitchIDPortPortIDParamsWithTimeout(timeout time.Duration) *GetEthernetSwitchIDPortPortIDParams
- func (o *GetEthernetSwitchIDPortPortIDParams) SetContext(ctx context.Context)
- func (o *GetEthernetSwitchIDPortPortIDParams) SetDefaults()
- func (o *GetEthernetSwitchIDPortPortIDParams) SetHTTPClient(client *http.Client)
- func (o *GetEthernetSwitchIDPortPortIDParams) SetID(id string)
- func (o *GetEthernetSwitchIDPortPortIDParams) SetPortID(portID string)
- func (o *GetEthernetSwitchIDPortPortIDParams) SetTimeout(timeout time.Duration)
- func (o *GetEthernetSwitchIDPortPortIDParams) WithContext(ctx context.Context) *GetEthernetSwitchIDPortPortIDParams
- func (o *GetEthernetSwitchIDPortPortIDParams) WithDefaults() *GetEthernetSwitchIDPortPortIDParams
- func (o *GetEthernetSwitchIDPortPortIDParams) WithHTTPClient(client *http.Client) *GetEthernetSwitchIDPortPortIDParams
- func (o *GetEthernetSwitchIDPortPortIDParams) WithID(id string) *GetEthernetSwitchIDPortPortIDParams
- func (o *GetEthernetSwitchIDPortPortIDParams) WithPortID(portID string) *GetEthernetSwitchIDPortPortIDParams
- func (o *GetEthernetSwitchIDPortPortIDParams) WithTimeout(timeout time.Duration) *GetEthernetSwitchIDPortPortIDParams
- func (o *GetEthernetSwitchIDPortPortIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEthernetSwitchIDPortPortIDReader
- type GetEthernetSwitchIDPortReader
- type GetEthernetSwitchIDReader
- type GetEthernetSwitchIDVlanInternalServerError
- func (o *GetEthernetSwitchIDVlanInternalServerError) Error() string
- func (o *GetEthernetSwitchIDVlanInternalServerError) IsClientError() bool
- func (o *GetEthernetSwitchIDVlanInternalServerError) IsCode(code int) bool
- func (o *GetEthernetSwitchIDVlanInternalServerError) IsRedirect() bool
- func (o *GetEthernetSwitchIDVlanInternalServerError) IsServerError() bool
- func (o *GetEthernetSwitchIDVlanInternalServerError) IsSuccess() bool
- func (o *GetEthernetSwitchIDVlanInternalServerError) String() string
- type GetEthernetSwitchIDVlanOK
- func (o *GetEthernetSwitchIDVlanOK) Error() string
- func (o *GetEthernetSwitchIDVlanOK) GetPayload() *models.DtosPaginatedItemsDtoDtosEthernetSwitchVLANDto
- func (o *GetEthernetSwitchIDVlanOK) IsClientError() bool
- func (o *GetEthernetSwitchIDVlanOK) IsCode(code int) bool
- func (o *GetEthernetSwitchIDVlanOK) IsRedirect() bool
- func (o *GetEthernetSwitchIDVlanOK) IsServerError() bool
- func (o *GetEthernetSwitchIDVlanOK) IsSuccess() bool
- func (o *GetEthernetSwitchIDVlanOK) String() string
- type GetEthernetSwitchIDVlanParams
- func NewGetEthernetSwitchIDVlanParams() *GetEthernetSwitchIDVlanParams
- func NewGetEthernetSwitchIDVlanParamsWithContext(ctx context.Context) *GetEthernetSwitchIDVlanParams
- func NewGetEthernetSwitchIDVlanParamsWithHTTPClient(client *http.Client) *GetEthernetSwitchIDVlanParams
- func NewGetEthernetSwitchIDVlanParamsWithTimeout(timeout time.Duration) *GetEthernetSwitchIDVlanParams
- func (o *GetEthernetSwitchIDVlanParams) SetContext(ctx context.Context)
- func (o *GetEthernetSwitchIDVlanParams) SetDefaults()
- func (o *GetEthernetSwitchIDVlanParams) SetHTTPClient(client *http.Client)
- func (o *GetEthernetSwitchIDVlanParams) SetID(id string)
- func (o *GetEthernetSwitchIDVlanParams) SetOrderBy(orderBy *string)
- func (o *GetEthernetSwitchIDVlanParams) SetOrderDirection(orderDirection *string)
- func (o *GetEthernetSwitchIDVlanParams) SetPage(page *int64)
- func (o *GetEthernetSwitchIDVlanParams) SetPageSize(pageSize *int64)
- func (o *GetEthernetSwitchIDVlanParams) SetSearch(search *string)
- func (o *GetEthernetSwitchIDVlanParams) SetTimeout(timeout time.Duration)
- func (o *GetEthernetSwitchIDVlanParams) WithContext(ctx context.Context) *GetEthernetSwitchIDVlanParams
- func (o *GetEthernetSwitchIDVlanParams) WithDefaults() *GetEthernetSwitchIDVlanParams
- func (o *GetEthernetSwitchIDVlanParams) WithHTTPClient(client *http.Client) *GetEthernetSwitchIDVlanParams
- func (o *GetEthernetSwitchIDVlanParams) WithID(id string) *GetEthernetSwitchIDVlanParams
- func (o *GetEthernetSwitchIDVlanParams) WithOrderBy(orderBy *string) *GetEthernetSwitchIDVlanParams
- func (o *GetEthernetSwitchIDVlanParams) WithOrderDirection(orderDirection *string) *GetEthernetSwitchIDVlanParams
- func (o *GetEthernetSwitchIDVlanParams) WithPage(page *int64) *GetEthernetSwitchIDVlanParams
- func (o *GetEthernetSwitchIDVlanParams) WithPageSize(pageSize *int64) *GetEthernetSwitchIDVlanParams
- func (o *GetEthernetSwitchIDVlanParams) WithSearch(search *string) *GetEthernetSwitchIDVlanParams
- func (o *GetEthernetSwitchIDVlanParams) WithTimeout(timeout time.Duration) *GetEthernetSwitchIDVlanParams
- func (o *GetEthernetSwitchIDVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEthernetSwitchIDVlanReader
- type GetEthernetSwitchIDVlanVlanUUIDInternalServerError
- func (o *GetEthernetSwitchIDVlanVlanUUIDInternalServerError) Error() string
- func (o *GetEthernetSwitchIDVlanVlanUUIDInternalServerError) IsClientError() bool
- func (o *GetEthernetSwitchIDVlanVlanUUIDInternalServerError) IsCode(code int) bool
- func (o *GetEthernetSwitchIDVlanVlanUUIDInternalServerError) IsRedirect() bool
- func (o *GetEthernetSwitchIDVlanVlanUUIDInternalServerError) IsServerError() bool
- func (o *GetEthernetSwitchIDVlanVlanUUIDInternalServerError) IsSuccess() bool
- func (o *GetEthernetSwitchIDVlanVlanUUIDInternalServerError) String() string
- type GetEthernetSwitchIDVlanVlanUUIDNotFound
- func (o *GetEthernetSwitchIDVlanVlanUUIDNotFound) Error() string
- func (o *GetEthernetSwitchIDVlanVlanUUIDNotFound) IsClientError() bool
- func (o *GetEthernetSwitchIDVlanVlanUUIDNotFound) IsCode(code int) bool
- func (o *GetEthernetSwitchIDVlanVlanUUIDNotFound) IsRedirect() bool
- func (o *GetEthernetSwitchIDVlanVlanUUIDNotFound) IsServerError() bool
- func (o *GetEthernetSwitchIDVlanVlanUUIDNotFound) IsSuccess() bool
- func (o *GetEthernetSwitchIDVlanVlanUUIDNotFound) String() string
- type GetEthernetSwitchIDVlanVlanUUIDOK
- func (o *GetEthernetSwitchIDVlanVlanUUIDOK) Error() string
- func (o *GetEthernetSwitchIDVlanVlanUUIDOK) GetPayload() *models.DtosEthernetSwitchVLANDto
- func (o *GetEthernetSwitchIDVlanVlanUUIDOK) IsClientError() bool
- func (o *GetEthernetSwitchIDVlanVlanUUIDOK) IsCode(code int) bool
- func (o *GetEthernetSwitchIDVlanVlanUUIDOK) IsRedirect() bool
- func (o *GetEthernetSwitchIDVlanVlanUUIDOK) IsServerError() bool
- func (o *GetEthernetSwitchIDVlanVlanUUIDOK) IsSuccess() bool
- func (o *GetEthernetSwitchIDVlanVlanUUIDOK) String() string
- type GetEthernetSwitchIDVlanVlanUUIDParams
- func NewGetEthernetSwitchIDVlanVlanUUIDParams() *GetEthernetSwitchIDVlanVlanUUIDParams
- func NewGetEthernetSwitchIDVlanVlanUUIDParamsWithContext(ctx context.Context) *GetEthernetSwitchIDVlanVlanUUIDParams
- func NewGetEthernetSwitchIDVlanVlanUUIDParamsWithHTTPClient(client *http.Client) *GetEthernetSwitchIDVlanVlanUUIDParams
- func NewGetEthernetSwitchIDVlanVlanUUIDParamsWithTimeout(timeout time.Duration) *GetEthernetSwitchIDVlanVlanUUIDParams
- func (o *GetEthernetSwitchIDVlanVlanUUIDParams) SetContext(ctx context.Context)
- func (o *GetEthernetSwitchIDVlanVlanUUIDParams) SetDefaults()
- func (o *GetEthernetSwitchIDVlanVlanUUIDParams) SetHTTPClient(client *http.Client)
- func (o *GetEthernetSwitchIDVlanVlanUUIDParams) SetID(id string)
- func (o *GetEthernetSwitchIDVlanVlanUUIDParams) SetTimeout(timeout time.Duration)
- func (o *GetEthernetSwitchIDVlanVlanUUIDParams) SetVlanUUID(vlanUUID string)
- func (o *GetEthernetSwitchIDVlanVlanUUIDParams) WithContext(ctx context.Context) *GetEthernetSwitchIDVlanVlanUUIDParams
- func (o *GetEthernetSwitchIDVlanVlanUUIDParams) WithDefaults() *GetEthernetSwitchIDVlanVlanUUIDParams
- func (o *GetEthernetSwitchIDVlanVlanUUIDParams) WithHTTPClient(client *http.Client) *GetEthernetSwitchIDVlanVlanUUIDParams
- func (o *GetEthernetSwitchIDVlanVlanUUIDParams) WithID(id string) *GetEthernetSwitchIDVlanVlanUUIDParams
- func (o *GetEthernetSwitchIDVlanVlanUUIDParams) WithTimeout(timeout time.Duration) *GetEthernetSwitchIDVlanVlanUUIDParams
- func (o *GetEthernetSwitchIDVlanVlanUUIDParams) WithVlanUUID(vlanUUID string) *GetEthernetSwitchIDVlanVlanUUIDParams
- func (o *GetEthernetSwitchIDVlanVlanUUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEthernetSwitchIDVlanVlanUUIDReader
- type GetEthernetSwitchInternalServerError
- func (o *GetEthernetSwitchInternalServerError) Error() string
- func (o *GetEthernetSwitchInternalServerError) IsClientError() bool
- func (o *GetEthernetSwitchInternalServerError) IsCode(code int) bool
- func (o *GetEthernetSwitchInternalServerError) IsRedirect() bool
- func (o *GetEthernetSwitchInternalServerError) IsServerError() bool
- func (o *GetEthernetSwitchInternalServerError) IsSuccess() bool
- func (o *GetEthernetSwitchInternalServerError) String() string
- type GetEthernetSwitchModelsOK
- func (o *GetEthernetSwitchModelsOK) Error() string
- func (o *GetEthernetSwitchModelsOK) GetPayload() []*models.DtosEthernetSwitchModelDto
- func (o *GetEthernetSwitchModelsOK) IsClientError() bool
- func (o *GetEthernetSwitchModelsOK) IsCode(code int) bool
- func (o *GetEthernetSwitchModelsOK) IsRedirect() bool
- func (o *GetEthernetSwitchModelsOK) IsServerError() bool
- func (o *GetEthernetSwitchModelsOK) IsSuccess() bool
- func (o *GetEthernetSwitchModelsOK) String() string
- type GetEthernetSwitchModelsParams
- func NewGetEthernetSwitchModelsParams() *GetEthernetSwitchModelsParams
- func NewGetEthernetSwitchModelsParamsWithContext(ctx context.Context) *GetEthernetSwitchModelsParams
- func NewGetEthernetSwitchModelsParamsWithHTTPClient(client *http.Client) *GetEthernetSwitchModelsParams
- func NewGetEthernetSwitchModelsParamsWithTimeout(timeout time.Duration) *GetEthernetSwitchModelsParams
- func (o *GetEthernetSwitchModelsParams) SetContext(ctx context.Context)
- func (o *GetEthernetSwitchModelsParams) SetDefaults()
- func (o *GetEthernetSwitchModelsParams) SetHTTPClient(client *http.Client)
- func (o *GetEthernetSwitchModelsParams) SetTimeout(timeout time.Duration)
- func (o *GetEthernetSwitchModelsParams) WithContext(ctx context.Context) *GetEthernetSwitchModelsParams
- func (o *GetEthernetSwitchModelsParams) WithDefaults() *GetEthernetSwitchModelsParams
- func (o *GetEthernetSwitchModelsParams) WithHTTPClient(client *http.Client) *GetEthernetSwitchModelsParams
- func (o *GetEthernetSwitchModelsParams) WithTimeout(timeout time.Duration) *GetEthernetSwitchModelsParams
- func (o *GetEthernetSwitchModelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEthernetSwitchModelsReader
- type GetEthernetSwitchOK
- func (o *GetEthernetSwitchOK) Error() string
- func (o *GetEthernetSwitchOK) GetPayload() *models.DtosPaginatedItemsDtoDtosEthernetSwitchDto
- func (o *GetEthernetSwitchOK) IsClientError() bool
- func (o *GetEthernetSwitchOK) IsCode(code int) bool
- func (o *GetEthernetSwitchOK) IsRedirect() bool
- func (o *GetEthernetSwitchOK) IsServerError() bool
- func (o *GetEthernetSwitchOK) IsSuccess() bool
- func (o *GetEthernetSwitchOK) String() string
- type GetEthernetSwitchParams
- func NewGetEthernetSwitchParams() *GetEthernetSwitchParams
- func NewGetEthernetSwitchParamsWithContext(ctx context.Context) *GetEthernetSwitchParams
- func NewGetEthernetSwitchParamsWithHTTPClient(client *http.Client) *GetEthernetSwitchParams
- func NewGetEthernetSwitchParamsWithTimeout(timeout time.Duration) *GetEthernetSwitchParams
- func (o *GetEthernetSwitchParams) SetContext(ctx context.Context)
- func (o *GetEthernetSwitchParams) SetDefaults()
- func (o *GetEthernetSwitchParams) SetHTTPClient(client *http.Client)
- func (o *GetEthernetSwitchParams) SetOrderBy(orderBy *string)
- func (o *GetEthernetSwitchParams) SetOrderDirection(orderDirection *string)
- func (o *GetEthernetSwitchParams) SetPage(page *int64)
- func (o *GetEthernetSwitchParams) SetPageSize(pageSize *int64)
- func (o *GetEthernetSwitchParams) SetSearch(search *string)
- func (o *GetEthernetSwitchParams) SetTimeout(timeout time.Duration)
- func (o *GetEthernetSwitchParams) WithContext(ctx context.Context) *GetEthernetSwitchParams
- func (o *GetEthernetSwitchParams) WithDefaults() *GetEthernetSwitchParams
- func (o *GetEthernetSwitchParams) WithHTTPClient(client *http.Client) *GetEthernetSwitchParams
- func (o *GetEthernetSwitchParams) WithOrderBy(orderBy *string) *GetEthernetSwitchParams
- func (o *GetEthernetSwitchParams) WithOrderDirection(orderDirection *string) *GetEthernetSwitchParams
- func (o *GetEthernetSwitchParams) WithPage(page *int64) *GetEthernetSwitchParams
- func (o *GetEthernetSwitchParams) WithPageSize(pageSize *int64) *GetEthernetSwitchParams
- func (o *GetEthernetSwitchParams) WithSearch(search *string) *GetEthernetSwitchParams
- func (o *GetEthernetSwitchParams) WithTimeout(timeout time.Duration) *GetEthernetSwitchParams
- func (o *GetEthernetSwitchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEthernetSwitchReader
- type PostEthernetSwitchBadRequest
- func (o *PostEthernetSwitchBadRequest) Error() string
- func (o *PostEthernetSwitchBadRequest) GetPayload() *models.DtosValidationErrorDto
- func (o *PostEthernetSwitchBadRequest) IsClientError() bool
- func (o *PostEthernetSwitchBadRequest) IsCode(code int) bool
- func (o *PostEthernetSwitchBadRequest) IsRedirect() bool
- func (o *PostEthernetSwitchBadRequest) IsServerError() bool
- func (o *PostEthernetSwitchBadRequest) IsSuccess() bool
- func (o *PostEthernetSwitchBadRequest) String() string
- type PostEthernetSwitchIDPortBadRequest
- func (o *PostEthernetSwitchIDPortBadRequest) Error() string
- func (o *PostEthernetSwitchIDPortBadRequest) GetPayload() *models.DtosValidationErrorDto
- func (o *PostEthernetSwitchIDPortBadRequest) IsClientError() bool
- func (o *PostEthernetSwitchIDPortBadRequest) IsCode(code int) bool
- func (o *PostEthernetSwitchIDPortBadRequest) IsRedirect() bool
- func (o *PostEthernetSwitchIDPortBadRequest) IsServerError() bool
- func (o *PostEthernetSwitchIDPortBadRequest) IsSuccess() bool
- func (o *PostEthernetSwitchIDPortBadRequest) String() string
- type PostEthernetSwitchIDPortInternalServerError
- func (o *PostEthernetSwitchIDPortInternalServerError) Error() string
- func (o *PostEthernetSwitchIDPortInternalServerError) IsClientError() bool
- func (o *PostEthernetSwitchIDPortInternalServerError) IsCode(code int) bool
- func (o *PostEthernetSwitchIDPortInternalServerError) IsRedirect() bool
- func (o *PostEthernetSwitchIDPortInternalServerError) IsServerError() bool
- func (o *PostEthernetSwitchIDPortInternalServerError) IsSuccess() bool
- func (o *PostEthernetSwitchIDPortInternalServerError) String() string
- type PostEthernetSwitchIDPortNotFound
- func (o *PostEthernetSwitchIDPortNotFound) Error() string
- func (o *PostEthernetSwitchIDPortNotFound) IsClientError() bool
- func (o *PostEthernetSwitchIDPortNotFound) IsCode(code int) bool
- func (o *PostEthernetSwitchIDPortNotFound) IsRedirect() bool
- func (o *PostEthernetSwitchIDPortNotFound) IsServerError() bool
- func (o *PostEthernetSwitchIDPortNotFound) IsSuccess() bool
- func (o *PostEthernetSwitchIDPortNotFound) String() string
- type PostEthernetSwitchIDPortOK
- func (o *PostEthernetSwitchIDPortOK) Error() string
- func (o *PostEthernetSwitchIDPortOK) GetPayload() *models.DtosEthernetSwitchPortDto
- func (o *PostEthernetSwitchIDPortOK) IsClientError() bool
- func (o *PostEthernetSwitchIDPortOK) IsCode(code int) bool
- func (o *PostEthernetSwitchIDPortOK) IsRedirect() bool
- func (o *PostEthernetSwitchIDPortOK) IsServerError() bool
- func (o *PostEthernetSwitchIDPortOK) IsSuccess() bool
- func (o *PostEthernetSwitchIDPortOK) String() string
- type PostEthernetSwitchIDPortParams
- func NewPostEthernetSwitchIDPortParams() *PostEthernetSwitchIDPortParams
- func NewPostEthernetSwitchIDPortParamsWithContext(ctx context.Context) *PostEthernetSwitchIDPortParams
- func NewPostEthernetSwitchIDPortParamsWithHTTPClient(client *http.Client) *PostEthernetSwitchIDPortParams
- func NewPostEthernetSwitchIDPortParamsWithTimeout(timeout time.Duration) *PostEthernetSwitchIDPortParams
- func (o *PostEthernetSwitchIDPortParams) SetContext(ctx context.Context)
- func (o *PostEthernetSwitchIDPortParams) SetDefaults()
- func (o *PostEthernetSwitchIDPortParams) SetHTTPClient(client *http.Client)
- func (o *PostEthernetSwitchIDPortParams) SetID(id string)
- func (o *PostEthernetSwitchIDPortParams) SetRequest(request *models.DtosEthernetSwitchPortCreateDto)
- func (o *PostEthernetSwitchIDPortParams) SetTimeout(timeout time.Duration)
- func (o *PostEthernetSwitchIDPortParams) WithContext(ctx context.Context) *PostEthernetSwitchIDPortParams
- func (o *PostEthernetSwitchIDPortParams) WithDefaults() *PostEthernetSwitchIDPortParams
- func (o *PostEthernetSwitchIDPortParams) WithHTTPClient(client *http.Client) *PostEthernetSwitchIDPortParams
- func (o *PostEthernetSwitchIDPortParams) WithID(id string) *PostEthernetSwitchIDPortParams
- func (o *PostEthernetSwitchIDPortParams) WithRequest(request *models.DtosEthernetSwitchPortCreateDto) *PostEthernetSwitchIDPortParams
- func (o *PostEthernetSwitchIDPortParams) WithTimeout(timeout time.Duration) *PostEthernetSwitchIDPortParams
- func (o *PostEthernetSwitchIDPortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostEthernetSwitchIDPortReader
- type PostEthernetSwitchIDVlanBadRequest
- func (o *PostEthernetSwitchIDVlanBadRequest) Error() string
- func (o *PostEthernetSwitchIDVlanBadRequest) GetPayload() *models.DtosValidationErrorDto
- func (o *PostEthernetSwitchIDVlanBadRequest) IsClientError() bool
- func (o *PostEthernetSwitchIDVlanBadRequest) IsCode(code int) bool
- func (o *PostEthernetSwitchIDVlanBadRequest) IsRedirect() bool
- func (o *PostEthernetSwitchIDVlanBadRequest) IsServerError() bool
- func (o *PostEthernetSwitchIDVlanBadRequest) IsSuccess() bool
- func (o *PostEthernetSwitchIDVlanBadRequest) String() string
- type PostEthernetSwitchIDVlanInternalServerError
- func (o *PostEthernetSwitchIDVlanInternalServerError) Error() string
- func (o *PostEthernetSwitchIDVlanInternalServerError) IsClientError() bool
- func (o *PostEthernetSwitchIDVlanInternalServerError) IsCode(code int) bool
- func (o *PostEthernetSwitchIDVlanInternalServerError) IsRedirect() bool
- func (o *PostEthernetSwitchIDVlanInternalServerError) IsServerError() bool
- func (o *PostEthernetSwitchIDVlanInternalServerError) IsSuccess() bool
- func (o *PostEthernetSwitchIDVlanInternalServerError) String() string
- type PostEthernetSwitchIDVlanOK
- func (o *PostEthernetSwitchIDVlanOK) Error() string
- func (o *PostEthernetSwitchIDVlanOK) GetPayload() *models.DtosEthernetSwitchVLANDto
- func (o *PostEthernetSwitchIDVlanOK) IsClientError() bool
- func (o *PostEthernetSwitchIDVlanOK) IsCode(code int) bool
- func (o *PostEthernetSwitchIDVlanOK) IsRedirect() bool
- func (o *PostEthernetSwitchIDVlanOK) IsServerError() bool
- func (o *PostEthernetSwitchIDVlanOK) IsSuccess() bool
- func (o *PostEthernetSwitchIDVlanOK) String() string
- type PostEthernetSwitchIDVlanParams
- func NewPostEthernetSwitchIDVlanParams() *PostEthernetSwitchIDVlanParams
- func NewPostEthernetSwitchIDVlanParamsWithContext(ctx context.Context) *PostEthernetSwitchIDVlanParams
- func NewPostEthernetSwitchIDVlanParamsWithHTTPClient(client *http.Client) *PostEthernetSwitchIDVlanParams
- func NewPostEthernetSwitchIDVlanParamsWithTimeout(timeout time.Duration) *PostEthernetSwitchIDVlanParams
- func (o *PostEthernetSwitchIDVlanParams) SetContext(ctx context.Context)
- func (o *PostEthernetSwitchIDVlanParams) SetDefaults()
- func (o *PostEthernetSwitchIDVlanParams) SetHTTPClient(client *http.Client)
- func (o *PostEthernetSwitchIDVlanParams) SetID(id string)
- func (o *PostEthernetSwitchIDVlanParams) SetRequest(request *models.DtosEthernetSwitchVLANCreateDto)
- func (o *PostEthernetSwitchIDVlanParams) SetTimeout(timeout time.Duration)
- func (o *PostEthernetSwitchIDVlanParams) WithContext(ctx context.Context) *PostEthernetSwitchIDVlanParams
- func (o *PostEthernetSwitchIDVlanParams) WithDefaults() *PostEthernetSwitchIDVlanParams
- func (o *PostEthernetSwitchIDVlanParams) WithHTTPClient(client *http.Client) *PostEthernetSwitchIDVlanParams
- func (o *PostEthernetSwitchIDVlanParams) WithID(id string) *PostEthernetSwitchIDVlanParams
- func (o *PostEthernetSwitchIDVlanParams) WithRequest(request *models.DtosEthernetSwitchVLANCreateDto) *PostEthernetSwitchIDVlanParams
- func (o *PostEthernetSwitchIDVlanParams) WithTimeout(timeout time.Duration) *PostEthernetSwitchIDVlanParams
- func (o *PostEthernetSwitchIDVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostEthernetSwitchIDVlanReader
- type PostEthernetSwitchInternalServerError
- func (o *PostEthernetSwitchInternalServerError) Error() string
- func (o *PostEthernetSwitchInternalServerError) IsClientError() bool
- func (o *PostEthernetSwitchInternalServerError) IsCode(code int) bool
- func (o *PostEthernetSwitchInternalServerError) IsRedirect() bool
- func (o *PostEthernetSwitchInternalServerError) IsServerError() bool
- func (o *PostEthernetSwitchInternalServerError) IsSuccess() bool
- func (o *PostEthernetSwitchInternalServerError) String() string
- type PostEthernetSwitchOK
- func (o *PostEthernetSwitchOK) Error() string
- func (o *PostEthernetSwitchOK) GetPayload() *models.DtosEthernetSwitchDto
- func (o *PostEthernetSwitchOK) IsClientError() bool
- func (o *PostEthernetSwitchOK) IsCode(code int) bool
- func (o *PostEthernetSwitchOK) IsRedirect() bool
- func (o *PostEthernetSwitchOK) IsServerError() bool
- func (o *PostEthernetSwitchOK) IsSuccess() bool
- func (o *PostEthernetSwitchOK) String() string
- type PostEthernetSwitchParams
- func NewPostEthernetSwitchParams() *PostEthernetSwitchParams
- func NewPostEthernetSwitchParamsWithContext(ctx context.Context) *PostEthernetSwitchParams
- func NewPostEthernetSwitchParamsWithHTTPClient(client *http.Client) *PostEthernetSwitchParams
- func NewPostEthernetSwitchParamsWithTimeout(timeout time.Duration) *PostEthernetSwitchParams
- func (o *PostEthernetSwitchParams) SetContext(ctx context.Context)
- func (o *PostEthernetSwitchParams) SetDefaults()
- func (o *PostEthernetSwitchParams) SetHTTPClient(client *http.Client)
- func (o *PostEthernetSwitchParams) SetRequest(request *models.DtosEthernetSwitchCreateDto)
- func (o *PostEthernetSwitchParams) SetTimeout(timeout time.Duration)
- func (o *PostEthernetSwitchParams) WithContext(ctx context.Context) *PostEthernetSwitchParams
- func (o *PostEthernetSwitchParams) WithDefaults() *PostEthernetSwitchParams
- func (o *PostEthernetSwitchParams) WithHTTPClient(client *http.Client) *PostEthernetSwitchParams
- func (o *PostEthernetSwitchParams) WithRequest(request *models.DtosEthernetSwitchCreateDto) *PostEthernetSwitchParams
- func (o *PostEthernetSwitchParams) WithTimeout(timeout time.Duration) *PostEthernetSwitchParams
- func (o *PostEthernetSwitchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostEthernetSwitchReader
- type PutEthernetSwitchIDBadRequest
- func (o *PutEthernetSwitchIDBadRequest) Error() string
- func (o *PutEthernetSwitchIDBadRequest) GetPayload() *models.DtosValidationErrorDto
- func (o *PutEthernetSwitchIDBadRequest) IsClientError() bool
- func (o *PutEthernetSwitchIDBadRequest) IsCode(code int) bool
- func (o *PutEthernetSwitchIDBadRequest) IsRedirect() bool
- func (o *PutEthernetSwitchIDBadRequest) IsServerError() bool
- func (o *PutEthernetSwitchIDBadRequest) IsSuccess() bool
- func (o *PutEthernetSwitchIDBadRequest) String() string
- type PutEthernetSwitchIDInternalServerError
- func (o *PutEthernetSwitchIDInternalServerError) Error() string
- func (o *PutEthernetSwitchIDInternalServerError) IsClientError() bool
- func (o *PutEthernetSwitchIDInternalServerError) IsCode(code int) bool
- func (o *PutEthernetSwitchIDInternalServerError) IsRedirect() bool
- func (o *PutEthernetSwitchIDInternalServerError) IsServerError() bool
- func (o *PutEthernetSwitchIDInternalServerError) IsSuccess() bool
- func (o *PutEthernetSwitchIDInternalServerError) String() string
- type PutEthernetSwitchIDNotFound
- func (o *PutEthernetSwitchIDNotFound) Error() string
- func (o *PutEthernetSwitchIDNotFound) IsClientError() bool
- func (o *PutEthernetSwitchIDNotFound) IsCode(code int) bool
- func (o *PutEthernetSwitchIDNotFound) IsRedirect() bool
- func (o *PutEthernetSwitchIDNotFound) IsServerError() bool
- func (o *PutEthernetSwitchIDNotFound) IsSuccess() bool
- func (o *PutEthernetSwitchIDNotFound) String() string
- type PutEthernetSwitchIDOK
- func (o *PutEthernetSwitchIDOK) Error() string
- func (o *PutEthernetSwitchIDOK) GetPayload() *models.DtosEthernetSwitchDto
- func (o *PutEthernetSwitchIDOK) IsClientError() bool
- func (o *PutEthernetSwitchIDOK) IsCode(code int) bool
- func (o *PutEthernetSwitchIDOK) IsRedirect() bool
- func (o *PutEthernetSwitchIDOK) IsServerError() bool
- func (o *PutEthernetSwitchIDOK) IsSuccess() bool
- func (o *PutEthernetSwitchIDOK) String() string
- type PutEthernetSwitchIDParams
- func NewPutEthernetSwitchIDParams() *PutEthernetSwitchIDParams
- func NewPutEthernetSwitchIDParamsWithContext(ctx context.Context) *PutEthernetSwitchIDParams
- func NewPutEthernetSwitchIDParamsWithHTTPClient(client *http.Client) *PutEthernetSwitchIDParams
- func NewPutEthernetSwitchIDParamsWithTimeout(timeout time.Duration) *PutEthernetSwitchIDParams
- func (o *PutEthernetSwitchIDParams) SetContext(ctx context.Context)
- func (o *PutEthernetSwitchIDParams) SetDefaults()
- func (o *PutEthernetSwitchIDParams) SetHTTPClient(client *http.Client)
- func (o *PutEthernetSwitchIDParams) SetID(id string)
- func (o *PutEthernetSwitchIDParams) SetRequest(request *models.DtosEthernetSwitchUpdateDto)
- func (o *PutEthernetSwitchIDParams) SetTimeout(timeout time.Duration)
- func (o *PutEthernetSwitchIDParams) WithContext(ctx context.Context) *PutEthernetSwitchIDParams
- func (o *PutEthernetSwitchIDParams) WithDefaults() *PutEthernetSwitchIDParams
- func (o *PutEthernetSwitchIDParams) WithHTTPClient(client *http.Client) *PutEthernetSwitchIDParams
- func (o *PutEthernetSwitchIDParams) WithID(id string) *PutEthernetSwitchIDParams
- func (o *PutEthernetSwitchIDParams) WithRequest(request *models.DtosEthernetSwitchUpdateDto) *PutEthernetSwitchIDParams
- func (o *PutEthernetSwitchIDParams) WithTimeout(timeout time.Duration) *PutEthernetSwitchIDParams
- func (o *PutEthernetSwitchIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutEthernetSwitchIDPortPortIDBadRequest
- func (o *PutEthernetSwitchIDPortPortIDBadRequest) Error() string
- func (o *PutEthernetSwitchIDPortPortIDBadRequest) GetPayload() *models.DtosValidationErrorDto
- func (o *PutEthernetSwitchIDPortPortIDBadRequest) IsClientError() bool
- func (o *PutEthernetSwitchIDPortPortIDBadRequest) IsCode(code int) bool
- func (o *PutEthernetSwitchIDPortPortIDBadRequest) IsRedirect() bool
- func (o *PutEthernetSwitchIDPortPortIDBadRequest) IsServerError() bool
- func (o *PutEthernetSwitchIDPortPortIDBadRequest) IsSuccess() bool
- func (o *PutEthernetSwitchIDPortPortIDBadRequest) String() string
- type PutEthernetSwitchIDPortPortIDInternalServerError
- func (o *PutEthernetSwitchIDPortPortIDInternalServerError) Error() string
- func (o *PutEthernetSwitchIDPortPortIDInternalServerError) IsClientError() bool
- func (o *PutEthernetSwitchIDPortPortIDInternalServerError) IsCode(code int) bool
- func (o *PutEthernetSwitchIDPortPortIDInternalServerError) IsRedirect() bool
- func (o *PutEthernetSwitchIDPortPortIDInternalServerError) IsServerError() bool
- func (o *PutEthernetSwitchIDPortPortIDInternalServerError) IsSuccess() bool
- func (o *PutEthernetSwitchIDPortPortIDInternalServerError) String() string
- type PutEthernetSwitchIDPortPortIDNotFound
- func (o *PutEthernetSwitchIDPortPortIDNotFound) Error() string
- func (o *PutEthernetSwitchIDPortPortIDNotFound) IsClientError() bool
- func (o *PutEthernetSwitchIDPortPortIDNotFound) IsCode(code int) bool
- func (o *PutEthernetSwitchIDPortPortIDNotFound) IsRedirect() bool
- func (o *PutEthernetSwitchIDPortPortIDNotFound) IsServerError() bool
- func (o *PutEthernetSwitchIDPortPortIDNotFound) IsSuccess() bool
- func (o *PutEthernetSwitchIDPortPortIDNotFound) String() string
- type PutEthernetSwitchIDPortPortIDOK
- func (o *PutEthernetSwitchIDPortPortIDOK) Error() string
- func (o *PutEthernetSwitchIDPortPortIDOK) GetPayload() *models.DtosEthernetSwitchPortDto
- func (o *PutEthernetSwitchIDPortPortIDOK) IsClientError() bool
- func (o *PutEthernetSwitchIDPortPortIDOK) IsCode(code int) bool
- func (o *PutEthernetSwitchIDPortPortIDOK) IsRedirect() bool
- func (o *PutEthernetSwitchIDPortPortIDOK) IsServerError() bool
- func (o *PutEthernetSwitchIDPortPortIDOK) IsSuccess() bool
- func (o *PutEthernetSwitchIDPortPortIDOK) String() string
- type PutEthernetSwitchIDPortPortIDParams
- func NewPutEthernetSwitchIDPortPortIDParams() *PutEthernetSwitchIDPortPortIDParams
- func NewPutEthernetSwitchIDPortPortIDParamsWithContext(ctx context.Context) *PutEthernetSwitchIDPortPortIDParams
- func NewPutEthernetSwitchIDPortPortIDParamsWithHTTPClient(client *http.Client) *PutEthernetSwitchIDPortPortIDParams
- func NewPutEthernetSwitchIDPortPortIDParamsWithTimeout(timeout time.Duration) *PutEthernetSwitchIDPortPortIDParams
- func (o *PutEthernetSwitchIDPortPortIDParams) SetContext(ctx context.Context)
- func (o *PutEthernetSwitchIDPortPortIDParams) SetDefaults()
- func (o *PutEthernetSwitchIDPortPortIDParams) SetHTTPClient(client *http.Client)
- func (o *PutEthernetSwitchIDPortPortIDParams) SetID(id string)
- func (o *PutEthernetSwitchIDPortPortIDParams) SetPortID(portID string)
- func (o *PutEthernetSwitchIDPortPortIDParams) SetRequest(request *models.DtosEthernetSwitchPortUpdateDto)
- func (o *PutEthernetSwitchIDPortPortIDParams) SetTimeout(timeout time.Duration)
- func (o *PutEthernetSwitchIDPortPortIDParams) WithContext(ctx context.Context) *PutEthernetSwitchIDPortPortIDParams
- func (o *PutEthernetSwitchIDPortPortIDParams) WithDefaults() *PutEthernetSwitchIDPortPortIDParams
- func (o *PutEthernetSwitchIDPortPortIDParams) WithHTTPClient(client *http.Client) *PutEthernetSwitchIDPortPortIDParams
- func (o *PutEthernetSwitchIDPortPortIDParams) WithID(id string) *PutEthernetSwitchIDPortPortIDParams
- func (o *PutEthernetSwitchIDPortPortIDParams) WithPortID(portID string) *PutEthernetSwitchIDPortPortIDParams
- func (o *PutEthernetSwitchIDPortPortIDParams) WithRequest(request *models.DtosEthernetSwitchPortUpdateDto) *PutEthernetSwitchIDPortPortIDParams
- func (o *PutEthernetSwitchIDPortPortIDParams) WithTimeout(timeout time.Duration) *PutEthernetSwitchIDPortPortIDParams
- func (o *PutEthernetSwitchIDPortPortIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutEthernetSwitchIDPortPortIDReader
- type PutEthernetSwitchIDReader
- type PutEthernetSwitchIDVlanVlanUUIDBadRequest
- func (o *PutEthernetSwitchIDVlanVlanUUIDBadRequest) Error() string
- func (o *PutEthernetSwitchIDVlanVlanUUIDBadRequest) GetPayload() *models.DtosValidationErrorDto
- func (o *PutEthernetSwitchIDVlanVlanUUIDBadRequest) IsClientError() bool
- func (o *PutEthernetSwitchIDVlanVlanUUIDBadRequest) IsCode(code int) bool
- func (o *PutEthernetSwitchIDVlanVlanUUIDBadRequest) IsRedirect() bool
- func (o *PutEthernetSwitchIDVlanVlanUUIDBadRequest) IsServerError() bool
- func (o *PutEthernetSwitchIDVlanVlanUUIDBadRequest) IsSuccess() bool
- func (o *PutEthernetSwitchIDVlanVlanUUIDBadRequest) String() string
- type PutEthernetSwitchIDVlanVlanUUIDInternalServerError
- func (o *PutEthernetSwitchIDVlanVlanUUIDInternalServerError) Error() string
- func (o *PutEthernetSwitchIDVlanVlanUUIDInternalServerError) IsClientError() bool
- func (o *PutEthernetSwitchIDVlanVlanUUIDInternalServerError) IsCode(code int) bool
- func (o *PutEthernetSwitchIDVlanVlanUUIDInternalServerError) IsRedirect() bool
- func (o *PutEthernetSwitchIDVlanVlanUUIDInternalServerError) IsServerError() bool
- func (o *PutEthernetSwitchIDVlanVlanUUIDInternalServerError) IsSuccess() bool
- func (o *PutEthernetSwitchIDVlanVlanUUIDInternalServerError) String() string
- type PutEthernetSwitchIDVlanVlanUUIDNotFound
- func (o *PutEthernetSwitchIDVlanVlanUUIDNotFound) Error() string
- func (o *PutEthernetSwitchIDVlanVlanUUIDNotFound) IsClientError() bool
- func (o *PutEthernetSwitchIDVlanVlanUUIDNotFound) IsCode(code int) bool
- func (o *PutEthernetSwitchIDVlanVlanUUIDNotFound) IsRedirect() bool
- func (o *PutEthernetSwitchIDVlanVlanUUIDNotFound) IsServerError() bool
- func (o *PutEthernetSwitchIDVlanVlanUUIDNotFound) IsSuccess() bool
- func (o *PutEthernetSwitchIDVlanVlanUUIDNotFound) String() string
- type PutEthernetSwitchIDVlanVlanUUIDOK
- func (o *PutEthernetSwitchIDVlanVlanUUIDOK) Error() string
- func (o *PutEthernetSwitchIDVlanVlanUUIDOK) GetPayload() *models.DtosEthernetSwitchVLANDto
- func (o *PutEthernetSwitchIDVlanVlanUUIDOK) IsClientError() bool
- func (o *PutEthernetSwitchIDVlanVlanUUIDOK) IsCode(code int) bool
- func (o *PutEthernetSwitchIDVlanVlanUUIDOK) IsRedirect() bool
- func (o *PutEthernetSwitchIDVlanVlanUUIDOK) IsServerError() bool
- func (o *PutEthernetSwitchIDVlanVlanUUIDOK) IsSuccess() bool
- func (o *PutEthernetSwitchIDVlanVlanUUIDOK) String() string
- type PutEthernetSwitchIDVlanVlanUUIDParams
- func NewPutEthernetSwitchIDVlanVlanUUIDParams() *PutEthernetSwitchIDVlanVlanUUIDParams
- func NewPutEthernetSwitchIDVlanVlanUUIDParamsWithContext(ctx context.Context) *PutEthernetSwitchIDVlanVlanUUIDParams
- func NewPutEthernetSwitchIDVlanVlanUUIDParamsWithHTTPClient(client *http.Client) *PutEthernetSwitchIDVlanVlanUUIDParams
- func NewPutEthernetSwitchIDVlanVlanUUIDParamsWithTimeout(timeout time.Duration) *PutEthernetSwitchIDVlanVlanUUIDParams
- func (o *PutEthernetSwitchIDVlanVlanUUIDParams) SetContext(ctx context.Context)
- func (o *PutEthernetSwitchIDVlanVlanUUIDParams) SetDefaults()
- func (o *PutEthernetSwitchIDVlanVlanUUIDParams) SetHTTPClient(client *http.Client)
- func (o *PutEthernetSwitchIDVlanVlanUUIDParams) SetID(id string)
- func (o *PutEthernetSwitchIDVlanVlanUUIDParams) SetRequest(request *models.DtosEthernetSwitchVLANUpdateDto)
- func (o *PutEthernetSwitchIDVlanVlanUUIDParams) SetTimeout(timeout time.Duration)
- func (o *PutEthernetSwitchIDVlanVlanUUIDParams) SetVlanUUID(vlanUUID string)
- func (o *PutEthernetSwitchIDVlanVlanUUIDParams) WithContext(ctx context.Context) *PutEthernetSwitchIDVlanVlanUUIDParams
- func (o *PutEthernetSwitchIDVlanVlanUUIDParams) WithDefaults() *PutEthernetSwitchIDVlanVlanUUIDParams
- func (o *PutEthernetSwitchIDVlanVlanUUIDParams) WithHTTPClient(client *http.Client) *PutEthernetSwitchIDVlanVlanUUIDParams
- func (o *PutEthernetSwitchIDVlanVlanUUIDParams) WithID(id string) *PutEthernetSwitchIDVlanVlanUUIDParams
- func (o *PutEthernetSwitchIDVlanVlanUUIDParams) WithRequest(request *models.DtosEthernetSwitchVLANUpdateDto) *PutEthernetSwitchIDVlanVlanUUIDParams
- func (o *PutEthernetSwitchIDVlanVlanUUIDParams) WithTimeout(timeout time.Duration) *PutEthernetSwitchIDVlanVlanUUIDParams
- func (o *PutEthernetSwitchIDVlanVlanUUIDParams) WithVlanUUID(vlanUUID string) *PutEthernetSwitchIDVlanVlanUUIDParams
- func (o *PutEthernetSwitchIDVlanVlanUUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutEthernetSwitchIDVlanVlanUUIDReader
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 (o *DeleteEthernetSwitchIDInternalServerError) Error() string
func (*DeleteEthernetSwitchIDInternalServerError) IsClientError ¶
func (o *DeleteEthernetSwitchIDInternalServerError) IsClientError() bool
IsClientError returns true when this delete ethernet switch Id internal server error response has a 4xx status code
func (*DeleteEthernetSwitchIDInternalServerError) IsCode ¶
func (o *DeleteEthernetSwitchIDInternalServerError) IsCode(code int) bool
IsCode returns true when this delete ethernet switch Id internal server error response a status code equal to that given
func (*DeleteEthernetSwitchIDInternalServerError) IsRedirect ¶
func (o *DeleteEthernetSwitchIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete ethernet switch Id internal server error response has a 3xx status code
func (*DeleteEthernetSwitchIDInternalServerError) IsServerError ¶
func (o *DeleteEthernetSwitchIDInternalServerError) IsServerError() bool
IsServerError returns true when this delete ethernet switch Id internal server error response has a 5xx status code
func (*DeleteEthernetSwitchIDInternalServerError) IsSuccess ¶
func (o *DeleteEthernetSwitchIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete ethernet switch Id internal server error response has a 2xx status code
func (*DeleteEthernetSwitchIDInternalServerError) String ¶
func (o *DeleteEthernetSwitchIDInternalServerError) String() 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 (o *DeleteEthernetSwitchIDNoContent) Error() string
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 ¶
func (o *DeleteEthernetSwitchIDNoContent) String() 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 (o *DeleteEthernetSwitchIDNotFound) Error() string
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 ¶
func (o *DeleteEthernetSwitchIDNotFound) String() 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 ¶
func (o *DeleteEthernetSwitchIDParams) WithContext(ctx context.Context) *DeleteEthernetSwitchIDParams
WithContext adds the context to the delete ethernet switch ID params
func (*DeleteEthernetSwitchIDParams) WithDefaults ¶
func (o *DeleteEthernetSwitchIDParams) WithDefaults() *DeleteEthernetSwitchIDParams
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 ¶
func (o *DeleteEthernetSwitchIDParams) WithHTTPClient(client *http.Client) *DeleteEthernetSwitchIDParams
WithHTTPClient adds the HTTPClient to the delete ethernet switch ID params
func (*DeleteEthernetSwitchIDParams) WithID ¶
func (o *DeleteEthernetSwitchIDParams) WithID(id string) *DeleteEthernetSwitchIDParams
WithID adds the id to the delete ethernet switch ID params
func (*DeleteEthernetSwitchIDParams) WithTimeout ¶
func (o *DeleteEthernetSwitchIDParams) WithTimeout(timeout time.Duration) *DeleteEthernetSwitchIDParams
WithTimeout adds the timeout to the delete ethernet switch ID params
func (*DeleteEthernetSwitchIDParams) WriteToRequest ¶
func (o *DeleteEthernetSwitchIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *DeleteEthernetSwitchIDPortPortIDInternalServerError) Error() string
func (*DeleteEthernetSwitchIDPortPortIDInternalServerError) IsClientError ¶
func (o *DeleteEthernetSwitchIDPortPortIDInternalServerError) IsClientError() bool
IsClientError returns true when this delete ethernet switch Id port port Id internal server error response has a 4xx status code
func (*DeleteEthernetSwitchIDPortPortIDInternalServerError) IsCode ¶
func (o *DeleteEthernetSwitchIDPortPortIDInternalServerError) IsCode(code int) bool
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 ¶
func (o *DeleteEthernetSwitchIDPortPortIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete ethernet switch Id port port Id internal server error response has a 3xx status code
func (*DeleteEthernetSwitchIDPortPortIDInternalServerError) IsServerError ¶
func (o *DeleteEthernetSwitchIDPortPortIDInternalServerError) IsServerError() bool
IsServerError returns true when this delete ethernet switch Id port port Id internal server error response has a 5xx status code
func (*DeleteEthernetSwitchIDPortPortIDInternalServerError) IsSuccess ¶
func (o *DeleteEthernetSwitchIDPortPortIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete ethernet switch Id port port Id internal server error response has a 2xx status code
func (*DeleteEthernetSwitchIDPortPortIDInternalServerError) String ¶
func (o *DeleteEthernetSwitchIDPortPortIDInternalServerError) String() 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 (o *DeleteEthernetSwitchIDPortPortIDNoContent) Error() string
func (*DeleteEthernetSwitchIDPortPortIDNoContent) IsClientError ¶
func (o *DeleteEthernetSwitchIDPortPortIDNoContent) IsClientError() bool
IsClientError returns true when this delete ethernet switch Id port port Id no content response has a 4xx status code
func (*DeleteEthernetSwitchIDPortPortIDNoContent) IsCode ¶
func (o *DeleteEthernetSwitchIDPortPortIDNoContent) IsCode(code int) bool
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 ¶
func (o *DeleteEthernetSwitchIDPortPortIDNoContent) IsRedirect() bool
IsRedirect returns true when this delete ethernet switch Id port port Id no content response has a 3xx status code
func (*DeleteEthernetSwitchIDPortPortIDNoContent) IsServerError ¶
func (o *DeleteEthernetSwitchIDPortPortIDNoContent) IsServerError() bool
IsServerError returns true when this delete ethernet switch Id port port Id no content response has a 5xx status code
func (*DeleteEthernetSwitchIDPortPortIDNoContent) IsSuccess ¶
func (o *DeleteEthernetSwitchIDPortPortIDNoContent) IsSuccess() bool
IsSuccess returns true when this delete ethernet switch Id port port Id no content response has a 2xx status code
func (*DeleteEthernetSwitchIDPortPortIDNoContent) String ¶
func (o *DeleteEthernetSwitchIDPortPortIDNoContent) String() 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 (o *DeleteEthernetSwitchIDPortPortIDNotFound) Error() string
func (*DeleteEthernetSwitchIDPortPortIDNotFound) IsClientError ¶
func (o *DeleteEthernetSwitchIDPortPortIDNotFound) IsClientError() bool
IsClientError returns true when this delete ethernet switch Id port port Id not found response has a 4xx status code
func (*DeleteEthernetSwitchIDPortPortIDNotFound) IsCode ¶
func (o *DeleteEthernetSwitchIDPortPortIDNotFound) IsCode(code int) bool
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 ¶
func (o *DeleteEthernetSwitchIDPortPortIDNotFound) IsRedirect() bool
IsRedirect returns true when this delete ethernet switch Id port port Id not found response has a 3xx status code
func (*DeleteEthernetSwitchIDPortPortIDNotFound) IsServerError ¶
func (o *DeleteEthernetSwitchIDPortPortIDNotFound) IsServerError() bool
IsServerError returns true when this delete ethernet switch Id port port Id not found response has a 5xx status code
func (*DeleteEthernetSwitchIDPortPortIDNotFound) IsSuccess ¶
func (o *DeleteEthernetSwitchIDPortPortIDNotFound) IsSuccess() bool
IsSuccess returns true when this delete ethernet switch Id port port Id not found response has a 2xx status code
func (*DeleteEthernetSwitchIDPortPortIDNotFound) String ¶
func (o *DeleteEthernetSwitchIDPortPortIDNotFound) String() 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 ¶
func (o *DeleteEthernetSwitchIDPortPortIDParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteEthernetSwitchIDPortPortIDParams) SetID(id string)
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 ¶
func (o *DeleteEthernetSwitchIDPortPortIDParams) WithContext(ctx context.Context) *DeleteEthernetSwitchIDPortPortIDParams
WithContext adds the context to the delete ethernet switch ID port port ID params
func (*DeleteEthernetSwitchIDPortPortIDParams) WithDefaults ¶
func (o *DeleteEthernetSwitchIDPortPortIDParams) WithDefaults() *DeleteEthernetSwitchIDPortPortIDParams
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 ¶
func (o *DeleteEthernetSwitchIDPortPortIDParams) WithHTTPClient(client *http.Client) *DeleteEthernetSwitchIDPortPortIDParams
WithHTTPClient adds the HTTPClient to the delete ethernet switch ID port port ID params
func (*DeleteEthernetSwitchIDPortPortIDParams) WithID ¶
func (o *DeleteEthernetSwitchIDPortPortIDParams) WithID(id string) *DeleteEthernetSwitchIDPortPortIDParams
WithID adds the id to the delete ethernet switch ID port port ID params
func (*DeleteEthernetSwitchIDPortPortIDParams) WithPortID ¶
func (o *DeleteEthernetSwitchIDPortPortIDParams) WithPortID(portID string) *DeleteEthernetSwitchIDPortPortIDParams
WithPortID adds the portID to the delete ethernet switch ID port port ID params
func (*DeleteEthernetSwitchIDPortPortIDParams) WithTimeout ¶
func (o *DeleteEthernetSwitchIDPortPortIDParams) WithTimeout(timeout time.Duration) *DeleteEthernetSwitchIDPortPortIDParams
WithTimeout adds the timeout to the delete ethernet switch ID port port ID params
func (*DeleteEthernetSwitchIDPortPortIDParams) WriteToRequest ¶
func (o *DeleteEthernetSwitchIDPortPortIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) Error() string
func (*DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) IsClientError ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) IsClientError() bool
IsClientError returns true when this delete ethernet switch Id vlan vlan Uuid internal server error response has a 4xx status code
func (*DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) IsCode ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) IsCode(code int) bool
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 ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete ethernet switch Id vlan vlan Uuid internal server error response has a 3xx status code
func (*DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) IsServerError ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) IsServerError() bool
IsServerError returns true when this delete ethernet switch Id vlan vlan Uuid internal server error response has a 5xx status code
func (*DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) IsSuccess ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete ethernet switch Id vlan vlan Uuid internal server error response has a 2xx status code
func (*DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) String ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDInternalServerError) String() 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 (o *DeleteEthernetSwitchIDVlanVlanUUIDNoContent) Error() string
func (*DeleteEthernetSwitchIDVlanVlanUUIDNoContent) IsClientError ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDNoContent) IsClientError() bool
IsClientError returns true when this delete ethernet switch Id vlan vlan Uuid no content response has a 4xx status code
func (*DeleteEthernetSwitchIDVlanVlanUUIDNoContent) IsCode ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDNoContent) IsCode(code int) bool
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 ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDNoContent) IsRedirect() bool
IsRedirect returns true when this delete ethernet switch Id vlan vlan Uuid no content response has a 3xx status code
func (*DeleteEthernetSwitchIDVlanVlanUUIDNoContent) IsServerError ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDNoContent) IsServerError() bool
IsServerError returns true when this delete ethernet switch Id vlan vlan Uuid no content response has a 5xx status code
func (*DeleteEthernetSwitchIDVlanVlanUUIDNoContent) IsSuccess ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDNoContent) IsSuccess() bool
IsSuccess returns true when this delete ethernet switch Id vlan vlan Uuid no content response has a 2xx status code
func (*DeleteEthernetSwitchIDVlanVlanUUIDNoContent) String ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDNoContent) String() 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 (o *DeleteEthernetSwitchIDVlanVlanUUIDNotFound) Error() string
func (*DeleteEthernetSwitchIDVlanVlanUUIDNotFound) IsClientError ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDNotFound) IsClientError() bool
IsClientError returns true when this delete ethernet switch Id vlan vlan Uuid not found response has a 4xx status code
func (*DeleteEthernetSwitchIDVlanVlanUUIDNotFound) IsCode ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDNotFound) IsCode(code int) bool
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 ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDNotFound) IsRedirect() bool
IsRedirect returns true when this delete ethernet switch Id vlan vlan Uuid not found response has a 3xx status code
func (*DeleteEthernetSwitchIDVlanVlanUUIDNotFound) IsServerError ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDNotFound) IsServerError() bool
IsServerError returns true when this delete ethernet switch Id vlan vlan Uuid not found response has a 5xx status code
func (*DeleteEthernetSwitchIDVlanVlanUUIDNotFound) IsSuccess ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDNotFound) IsSuccess() bool
IsSuccess returns true when this delete ethernet switch Id vlan vlan Uuid not found response has a 2xx status code
func (*DeleteEthernetSwitchIDVlanVlanUUIDNotFound) String ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDNotFound) String() 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 ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete ethernet switch ID vlan vlan UUID params
func (*DeleteEthernetSwitchIDVlanVlanUUIDParams) SetDefaults ¶
func (o *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 ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) SetID(id string)
SetID adds the id to the delete ethernet switch ID vlan vlan UUID params
func (*DeleteEthernetSwitchIDVlanVlanUUIDParams) SetTimeout ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) WithContext(ctx context.Context) *DeleteEthernetSwitchIDVlanVlanUUIDParams
WithContext adds the context to the delete ethernet switch ID vlan vlan UUID params
func (*DeleteEthernetSwitchIDVlanVlanUUIDParams) WithDefaults ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) WithDefaults() *DeleteEthernetSwitchIDVlanVlanUUIDParams
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 ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) WithHTTPClient(client *http.Client) *DeleteEthernetSwitchIDVlanVlanUUIDParams
WithHTTPClient adds the HTTPClient to the delete ethernet switch ID vlan vlan UUID params
func (*DeleteEthernetSwitchIDVlanVlanUUIDParams) WithID ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) WithID(id string) *DeleteEthernetSwitchIDVlanVlanUUIDParams
WithID adds the id to the delete ethernet switch ID vlan vlan UUID params
func (*DeleteEthernetSwitchIDVlanVlanUUIDParams) WithTimeout ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) WithTimeout(timeout time.Duration) *DeleteEthernetSwitchIDVlanVlanUUIDParams
WithTimeout adds the timeout to the delete ethernet switch ID vlan vlan UUID params
func (*DeleteEthernetSwitchIDVlanVlanUUIDParams) WithVlanUUID ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) WithVlanUUID(vlanUUID string) *DeleteEthernetSwitchIDVlanVlanUUIDParams
WithVlanUUID adds the vlanUUID to the delete ethernet switch ID vlan vlan UUID params
func (*DeleteEthernetSwitchIDVlanVlanUUIDParams) WriteToRequest ¶
func (o *DeleteEthernetSwitchIDVlanVlanUUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetEthernetSwitchIDInternalServerError) Error() string
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 ¶
func (o *GetEthernetSwitchIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get ethernet switch Id internal server error response a status code equal to that given
func (*GetEthernetSwitchIDInternalServerError) IsRedirect ¶
func (o *GetEthernetSwitchIDInternalServerError) IsRedirect() bool
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 ¶
func (o *GetEthernetSwitchIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get ethernet switch Id internal server error response has a 2xx status code
func (*GetEthernetSwitchIDInternalServerError) String ¶
func (o *GetEthernetSwitchIDInternalServerError) String() 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 (o *GetEthernetSwitchIDNotFound) Error() string
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 (o *GetEthernetSwitchIDOK) GetPayload() *models.DtosEthernetSwitchDto
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 ¶
func (o *GetEthernetSwitchIDParams) WithContext(ctx context.Context) *GetEthernetSwitchIDParams
WithContext adds the context to the get ethernet switch ID params
func (*GetEthernetSwitchIDParams) WithDefaults ¶
func (o *GetEthernetSwitchIDParams) WithDefaults() *GetEthernetSwitchIDParams
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 ¶
func (o *GetEthernetSwitchIDParams) WithID(id string) *GetEthernetSwitchIDParams
WithID adds the id to the get ethernet switch ID params
func (*GetEthernetSwitchIDParams) WithTimeout ¶
func (o *GetEthernetSwitchIDParams) WithTimeout(timeout time.Duration) *GetEthernetSwitchIDParams
WithTimeout adds the timeout to the get ethernet switch ID params
func (*GetEthernetSwitchIDParams) WriteToRequest ¶
func (o *GetEthernetSwitchIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetEthernetSwitchIDPortInternalServerError) Error() string
func (*GetEthernetSwitchIDPortInternalServerError) IsClientError ¶
func (o *GetEthernetSwitchIDPortInternalServerError) IsClientError() bool
IsClientError returns true when this get ethernet switch Id port internal server error response has a 4xx status code
func (*GetEthernetSwitchIDPortInternalServerError) IsCode ¶
func (o *GetEthernetSwitchIDPortInternalServerError) IsCode(code int) bool
IsCode returns true when this get ethernet switch Id port internal server error response a status code equal to that given
func (*GetEthernetSwitchIDPortInternalServerError) IsRedirect ¶
func (o *GetEthernetSwitchIDPortInternalServerError) IsRedirect() bool
IsRedirect returns true when this get ethernet switch Id port internal server error response has a 3xx status code
func (*GetEthernetSwitchIDPortInternalServerError) IsServerError ¶
func (o *GetEthernetSwitchIDPortInternalServerError) IsServerError() bool
IsServerError returns true when this get ethernet switch Id port internal server error response has a 5xx status code
func (*GetEthernetSwitchIDPortInternalServerError) IsSuccess ¶
func (o *GetEthernetSwitchIDPortInternalServerError) IsSuccess() bool
IsSuccess returns true when this get ethernet switch Id port internal server error response has a 2xx status code
func (*GetEthernetSwitchIDPortInternalServerError) String ¶
func (o *GetEthernetSwitchIDPortInternalServerError) String() 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 (o *GetEthernetSwitchIDPortNotFound) Error() string
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 ¶
func (o *GetEthernetSwitchIDPortNotFound) String() 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 (o *GetEthernetSwitchIDPortOK) GetPayload() *models.DtosPaginatedItemsDtoDtosEthernetSwitchPortDto
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 ¶
func (o *GetEthernetSwitchIDPortParams) SetID(id string)
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 ¶
func (o *GetEthernetSwitchIDPortParams) WithContext(ctx context.Context) *GetEthernetSwitchIDPortParams
WithContext adds the context to the get ethernet switch ID port params
func (*GetEthernetSwitchIDPortParams) WithDefaults ¶
func (o *GetEthernetSwitchIDPortParams) WithDefaults() *GetEthernetSwitchIDPortParams
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 ¶
func (o *GetEthernetSwitchIDPortParams) WithHTTPClient(client *http.Client) *GetEthernetSwitchIDPortParams
WithHTTPClient adds the HTTPClient to the get ethernet switch ID port params
func (*GetEthernetSwitchIDPortParams) WithID ¶
func (o *GetEthernetSwitchIDPortParams) WithID(id string) *GetEthernetSwitchIDPortParams
WithID adds the id to the get ethernet switch ID port params
func (*GetEthernetSwitchIDPortParams) WithOrderBy ¶
func (o *GetEthernetSwitchIDPortParams) WithOrderBy(orderBy *string) *GetEthernetSwitchIDPortParams
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 ¶
func (o *GetEthernetSwitchIDPortParams) WithPage(page *int64) *GetEthernetSwitchIDPortParams
WithPage adds the page to the get ethernet switch ID port params
func (*GetEthernetSwitchIDPortParams) WithPageSize ¶
func (o *GetEthernetSwitchIDPortParams) WithPageSize(pageSize *int64) *GetEthernetSwitchIDPortParams
WithPageSize adds the pageSize to the get ethernet switch ID port params
func (*GetEthernetSwitchIDPortParams) WithSearch ¶
func (o *GetEthernetSwitchIDPortParams) WithSearch(search *string) *GetEthernetSwitchIDPortParams
WithSearch adds the search to the get ethernet switch ID port params
func (*GetEthernetSwitchIDPortParams) WithTimeout ¶
func (o *GetEthernetSwitchIDPortParams) WithTimeout(timeout time.Duration) *GetEthernetSwitchIDPortParams
WithTimeout adds the timeout to the get ethernet switch ID port params
func (*GetEthernetSwitchIDPortParams) WriteToRequest ¶
func (o *GetEthernetSwitchIDPortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetEthernetSwitchIDPortPortIDInternalServerError) Error() string
func (*GetEthernetSwitchIDPortPortIDInternalServerError) IsClientError ¶
func (o *GetEthernetSwitchIDPortPortIDInternalServerError) IsClientError() bool
IsClientError returns true when this get ethernet switch Id port port Id internal server error response has a 4xx status code
func (*GetEthernetSwitchIDPortPortIDInternalServerError) IsCode ¶
func (o *GetEthernetSwitchIDPortPortIDInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetEthernetSwitchIDPortPortIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get ethernet switch Id port port Id internal server error response has a 3xx status code
func (*GetEthernetSwitchIDPortPortIDInternalServerError) IsServerError ¶
func (o *GetEthernetSwitchIDPortPortIDInternalServerError) IsServerError() bool
IsServerError returns true when this get ethernet switch Id port port Id internal server error response has a 5xx status code
func (*GetEthernetSwitchIDPortPortIDInternalServerError) IsSuccess ¶
func (o *GetEthernetSwitchIDPortPortIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get ethernet switch Id port port Id internal server error response has a 2xx status code
func (*GetEthernetSwitchIDPortPortIDInternalServerError) String ¶
func (o *GetEthernetSwitchIDPortPortIDInternalServerError) String() 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 (o *GetEthernetSwitchIDPortPortIDNotFound) Error() string
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 ¶
func (o *GetEthernetSwitchIDPortPortIDNotFound) IsCode(code int) bool
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 ¶
func (o *GetEthernetSwitchIDPortPortIDNotFound) IsRedirect() bool
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 ¶
func (o *GetEthernetSwitchIDPortPortIDNotFound) IsSuccess() bool
IsSuccess returns true when this get ethernet switch Id port port Id not found response has a 2xx status code
func (*GetEthernetSwitchIDPortPortIDNotFound) String ¶
func (o *GetEthernetSwitchIDPortPortIDNotFound) String() 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 (o *GetEthernetSwitchIDPortPortIDOK) Error() string
func (*GetEthernetSwitchIDPortPortIDOK) GetPayload ¶
func (o *GetEthernetSwitchIDPortPortIDOK) GetPayload() *models.DtosEthernetSwitchPortDto
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 ¶
func (o *GetEthernetSwitchIDPortPortIDOK) String() 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 ¶
func (o *GetEthernetSwitchIDPortPortIDParams) SetContext(ctx context.Context)
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 ¶
func (o *GetEthernetSwitchIDPortPortIDParams) SetID(id string)
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 ¶
func (o *GetEthernetSwitchIDPortPortIDParams) WithContext(ctx context.Context) *GetEthernetSwitchIDPortPortIDParams
WithContext adds the context to the get ethernet switch ID port port ID params
func (*GetEthernetSwitchIDPortPortIDParams) WithDefaults ¶
func (o *GetEthernetSwitchIDPortPortIDParams) WithDefaults() *GetEthernetSwitchIDPortPortIDParams
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 ¶
func (o *GetEthernetSwitchIDPortPortIDParams) WithHTTPClient(client *http.Client) *GetEthernetSwitchIDPortPortIDParams
WithHTTPClient adds the HTTPClient to the get ethernet switch ID port port ID params
func (*GetEthernetSwitchIDPortPortIDParams) WithID ¶
func (o *GetEthernetSwitchIDPortPortIDParams) WithID(id string) *GetEthernetSwitchIDPortPortIDParams
WithID adds the id to the get ethernet switch ID port port ID params
func (*GetEthernetSwitchIDPortPortIDParams) WithPortID ¶
func (o *GetEthernetSwitchIDPortPortIDParams) WithPortID(portID string) *GetEthernetSwitchIDPortPortIDParams
WithPortID adds the portID to the get ethernet switch ID port port ID params
func (*GetEthernetSwitchIDPortPortIDParams) WithTimeout ¶
func (o *GetEthernetSwitchIDPortPortIDParams) WithTimeout(timeout time.Duration) *GetEthernetSwitchIDPortPortIDParams
WithTimeout adds the timeout to the get ethernet switch ID port port ID params
func (*GetEthernetSwitchIDPortPortIDParams) WriteToRequest ¶
func (o *GetEthernetSwitchIDPortPortIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetEthernetSwitchIDVlanInternalServerError) Error() string
func (*GetEthernetSwitchIDVlanInternalServerError) IsClientError ¶
func (o *GetEthernetSwitchIDVlanInternalServerError) IsClientError() bool
IsClientError returns true when this get ethernet switch Id vlan internal server error response has a 4xx status code
func (*GetEthernetSwitchIDVlanInternalServerError) IsCode ¶
func (o *GetEthernetSwitchIDVlanInternalServerError) IsCode(code int) bool
IsCode returns true when this get ethernet switch Id vlan internal server error response a status code equal to that given
func (*GetEthernetSwitchIDVlanInternalServerError) IsRedirect ¶
func (o *GetEthernetSwitchIDVlanInternalServerError) IsRedirect() bool
IsRedirect returns true when this get ethernet switch Id vlan internal server error response has a 3xx status code
func (*GetEthernetSwitchIDVlanInternalServerError) IsServerError ¶
func (o *GetEthernetSwitchIDVlanInternalServerError) IsServerError() bool
IsServerError returns true when this get ethernet switch Id vlan internal server error response has a 5xx status code
func (*GetEthernetSwitchIDVlanInternalServerError) IsSuccess ¶
func (o *GetEthernetSwitchIDVlanInternalServerError) IsSuccess() bool
IsSuccess returns true when this get ethernet switch Id vlan internal server error response has a 2xx status code
func (*GetEthernetSwitchIDVlanInternalServerError) String ¶
func (o *GetEthernetSwitchIDVlanInternalServerError) String() 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 (o *GetEthernetSwitchIDVlanOK) GetPayload() *models.DtosPaginatedItemsDtoDtosEthernetSwitchVLANDto
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 ¶
func (o *GetEthernetSwitchIDVlanParams) SetID(id string)
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 ¶
func (o *GetEthernetSwitchIDVlanParams) WithContext(ctx context.Context) *GetEthernetSwitchIDVlanParams
WithContext adds the context to the get ethernet switch ID vlan params
func (*GetEthernetSwitchIDVlanParams) WithDefaults ¶
func (o *GetEthernetSwitchIDVlanParams) WithDefaults() *GetEthernetSwitchIDVlanParams
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 ¶
func (o *GetEthernetSwitchIDVlanParams) WithHTTPClient(client *http.Client) *GetEthernetSwitchIDVlanParams
WithHTTPClient adds the HTTPClient to the get ethernet switch ID vlan params
func (*GetEthernetSwitchIDVlanParams) WithID ¶
func (o *GetEthernetSwitchIDVlanParams) WithID(id string) *GetEthernetSwitchIDVlanParams
WithID adds the id to the get ethernet switch ID vlan params
func (*GetEthernetSwitchIDVlanParams) WithOrderBy ¶
func (o *GetEthernetSwitchIDVlanParams) WithOrderBy(orderBy *string) *GetEthernetSwitchIDVlanParams
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 ¶
func (o *GetEthernetSwitchIDVlanParams) WithPage(page *int64) *GetEthernetSwitchIDVlanParams
WithPage adds the page to the get ethernet switch ID vlan params
func (*GetEthernetSwitchIDVlanParams) WithPageSize ¶
func (o *GetEthernetSwitchIDVlanParams) WithPageSize(pageSize *int64) *GetEthernetSwitchIDVlanParams
WithPageSize adds the pageSize to the get ethernet switch ID vlan params
func (*GetEthernetSwitchIDVlanParams) WithSearch ¶
func (o *GetEthernetSwitchIDVlanParams) WithSearch(search *string) *GetEthernetSwitchIDVlanParams
WithSearch adds the search to the get ethernet switch ID vlan params
func (*GetEthernetSwitchIDVlanParams) WithTimeout ¶
func (o *GetEthernetSwitchIDVlanParams) WithTimeout(timeout time.Duration) *GetEthernetSwitchIDVlanParams
WithTimeout adds the timeout to the get ethernet switch ID vlan params
func (*GetEthernetSwitchIDVlanParams) WriteToRequest ¶
func (o *GetEthernetSwitchIDVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetEthernetSwitchIDVlanVlanUUIDInternalServerError) Error() string
func (*GetEthernetSwitchIDVlanVlanUUIDInternalServerError) IsClientError ¶
func (o *GetEthernetSwitchIDVlanVlanUUIDInternalServerError) IsClientError() bool
IsClientError returns true when this get ethernet switch Id vlan vlan Uuid internal server error response has a 4xx status code
func (*GetEthernetSwitchIDVlanVlanUUIDInternalServerError) IsCode ¶
func (o *GetEthernetSwitchIDVlanVlanUUIDInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetEthernetSwitchIDVlanVlanUUIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get ethernet switch Id vlan vlan Uuid internal server error response has a 3xx status code
func (*GetEthernetSwitchIDVlanVlanUUIDInternalServerError) IsServerError ¶
func (o *GetEthernetSwitchIDVlanVlanUUIDInternalServerError) IsServerError() bool
IsServerError returns true when this get ethernet switch Id vlan vlan Uuid internal server error response has a 5xx status code
func (*GetEthernetSwitchIDVlanVlanUUIDInternalServerError) IsSuccess ¶
func (o *GetEthernetSwitchIDVlanVlanUUIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get ethernet switch Id vlan vlan Uuid internal server error response has a 2xx status code
func (*GetEthernetSwitchIDVlanVlanUUIDInternalServerError) String ¶
func (o *GetEthernetSwitchIDVlanVlanUUIDInternalServerError) String() 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 (o *GetEthernetSwitchIDVlanVlanUUIDNotFound) Error() string
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 ¶
func (o *GetEthernetSwitchIDVlanVlanUUIDNotFound) IsCode(code int) bool
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 ¶
func (o *GetEthernetSwitchIDVlanVlanUUIDNotFound) IsRedirect() bool
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 ¶
func (o *GetEthernetSwitchIDVlanVlanUUIDNotFound) IsSuccess() bool
IsSuccess returns true when this get ethernet switch Id vlan vlan Uuid not found response has a 2xx status code
func (*GetEthernetSwitchIDVlanVlanUUIDNotFound) String ¶
func (o *GetEthernetSwitchIDVlanVlanUUIDNotFound) String() 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 (o *GetEthernetSwitchIDVlanVlanUUIDOK) Error() string
func (*GetEthernetSwitchIDVlanVlanUUIDOK) GetPayload ¶
func (o *GetEthernetSwitchIDVlanVlanUUIDOK) GetPayload() *models.DtosEthernetSwitchVLANDto
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 ¶
func (o *GetEthernetSwitchIDVlanVlanUUIDOK) String() 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 ¶
func (o *GetEthernetSwitchIDVlanVlanUUIDParams) SetContext(ctx context.Context)
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 ¶
func (o *GetEthernetSwitchIDVlanVlanUUIDParams) SetID(id string)
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 ¶
func (o *GetEthernetSwitchIDVlanVlanUUIDParams) WithContext(ctx context.Context) *GetEthernetSwitchIDVlanVlanUUIDParams
WithContext adds the context to the get ethernet switch ID vlan vlan UUID params
func (*GetEthernetSwitchIDVlanVlanUUIDParams) WithDefaults ¶
func (o *GetEthernetSwitchIDVlanVlanUUIDParams) WithDefaults() *GetEthernetSwitchIDVlanVlanUUIDParams
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 ¶
func (o *GetEthernetSwitchIDVlanVlanUUIDParams) WithHTTPClient(client *http.Client) *GetEthernetSwitchIDVlanVlanUUIDParams
WithHTTPClient adds the HTTPClient to the get ethernet switch ID vlan vlan UUID params
func (*GetEthernetSwitchIDVlanVlanUUIDParams) WithID ¶
func (o *GetEthernetSwitchIDVlanVlanUUIDParams) WithID(id string) *GetEthernetSwitchIDVlanVlanUUIDParams
WithID adds the id to the get ethernet switch ID vlan vlan UUID params
func (*GetEthernetSwitchIDVlanVlanUUIDParams) WithTimeout ¶
func (o *GetEthernetSwitchIDVlanVlanUUIDParams) WithTimeout(timeout time.Duration) *GetEthernetSwitchIDVlanVlanUUIDParams
WithTimeout adds the timeout to the get ethernet switch ID vlan vlan UUID params
func (*GetEthernetSwitchIDVlanVlanUUIDParams) WithVlanUUID ¶
func (o *GetEthernetSwitchIDVlanVlanUUIDParams) WithVlanUUID(vlanUUID string) *GetEthernetSwitchIDVlanVlanUUIDParams
WithVlanUUID adds the vlanUUID to the get ethernet switch ID vlan vlan UUID params
func (*GetEthernetSwitchIDVlanVlanUUIDParams) WriteToRequest ¶
func (o *GetEthernetSwitchIDVlanVlanUUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetEthernetSwitchInternalServerError) Error() string
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 ¶
func (o *GetEthernetSwitchInternalServerError) IsCode(code int) bool
IsCode returns true when this get ethernet switch internal server error response a status code equal to that given
func (*GetEthernetSwitchInternalServerError) IsRedirect ¶
func (o *GetEthernetSwitchInternalServerError) IsRedirect() bool
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 ¶
func (o *GetEthernetSwitchInternalServerError) IsSuccess() bool
IsSuccess returns true when this get ethernet switch internal server error response has a 2xx status code
func (*GetEthernetSwitchInternalServerError) String ¶
func (o *GetEthernetSwitchInternalServerError) String() 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 (o *GetEthernetSwitchModelsOK) GetPayload() []*models.DtosEthernetSwitchModelDto
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 ¶
func (o *GetEthernetSwitchModelsParams) WithContext(ctx context.Context) *GetEthernetSwitchModelsParams
WithContext adds the context to the get ethernet switch models params
func (*GetEthernetSwitchModelsParams) WithDefaults ¶
func (o *GetEthernetSwitchModelsParams) WithDefaults() *GetEthernetSwitchModelsParams
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 ¶
func (o *GetEthernetSwitchModelsParams) WithHTTPClient(client *http.Client) *GetEthernetSwitchModelsParams
WithHTTPClient adds the HTTPClient to the get ethernet switch models params
func (*GetEthernetSwitchModelsParams) WithTimeout ¶
func (o *GetEthernetSwitchModelsParams) WithTimeout(timeout time.Duration) *GetEthernetSwitchModelsParams
WithTimeout adds the timeout to the get ethernet switch models params
func (*GetEthernetSwitchModelsParams) WriteToRequest ¶
func (o *GetEthernetSwitchModelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetEthernetSwitchOK) GetPayload() *models.DtosPaginatedItemsDtoDtosEthernetSwitchDto
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 ¶
func (o *GetEthernetSwitchParams) WithContext(ctx context.Context) *GetEthernetSwitchParams
WithContext adds the context to the get ethernet switch params
func (*GetEthernetSwitchParams) WithDefaults ¶
func (o *GetEthernetSwitchParams) WithDefaults() *GetEthernetSwitchParams
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 ¶
func (o *GetEthernetSwitchParams) WithPage(page *int64) *GetEthernetSwitchParams
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 ¶
func (o *GetEthernetSwitchParams) WithTimeout(timeout time.Duration) *GetEthernetSwitchParams
WithTimeout adds the timeout to the get ethernet switch params
func (*GetEthernetSwitchParams) WriteToRequest ¶
func (o *GetEthernetSwitchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PostEthernetSwitchBadRequest) Error() string
func (*PostEthernetSwitchBadRequest) GetPayload ¶
func (o *PostEthernetSwitchBadRequest) GetPayload() *models.DtosValidationErrorDto
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 ¶
func (o *PostEthernetSwitchBadRequest) String() 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 (o *PostEthernetSwitchIDPortBadRequest) Error() string
func (*PostEthernetSwitchIDPortBadRequest) GetPayload ¶
func (o *PostEthernetSwitchIDPortBadRequest) GetPayload() *models.DtosValidationErrorDto
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 ¶
func (o *PostEthernetSwitchIDPortBadRequest) IsCode(code int) bool
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 ¶
func (o *PostEthernetSwitchIDPortBadRequest) IsSuccess() bool
IsSuccess returns true when this post ethernet switch Id port bad request response has a 2xx status code
func (*PostEthernetSwitchIDPortBadRequest) String ¶
func (o *PostEthernetSwitchIDPortBadRequest) String() 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 (o *PostEthernetSwitchIDPortInternalServerError) Error() string
func (*PostEthernetSwitchIDPortInternalServerError) IsClientError ¶
func (o *PostEthernetSwitchIDPortInternalServerError) IsClientError() bool
IsClientError returns true when this post ethernet switch Id port internal server error response has a 4xx status code
func (*PostEthernetSwitchIDPortInternalServerError) IsCode ¶
func (o *PostEthernetSwitchIDPortInternalServerError) IsCode(code int) bool
IsCode returns true when this post ethernet switch Id port internal server error response a status code equal to that given
func (*PostEthernetSwitchIDPortInternalServerError) IsRedirect ¶
func (o *PostEthernetSwitchIDPortInternalServerError) IsRedirect() bool
IsRedirect returns true when this post ethernet switch Id port internal server error response has a 3xx status code
func (*PostEthernetSwitchIDPortInternalServerError) IsServerError ¶
func (o *PostEthernetSwitchIDPortInternalServerError) IsServerError() bool
IsServerError returns true when this post ethernet switch Id port internal server error response has a 5xx status code
func (*PostEthernetSwitchIDPortInternalServerError) IsSuccess ¶
func (o *PostEthernetSwitchIDPortInternalServerError) IsSuccess() bool
IsSuccess returns true when this post ethernet switch Id port internal server error response has a 2xx status code
func (*PostEthernetSwitchIDPortInternalServerError) String ¶
func (o *PostEthernetSwitchIDPortInternalServerError) String() 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 (o *PostEthernetSwitchIDPortNotFound) Error() string
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 ¶
func (o *PostEthernetSwitchIDPortNotFound) String() 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 (o *PostEthernetSwitchIDPortOK) Error() string
func (*PostEthernetSwitchIDPortOK) GetPayload ¶
func (o *PostEthernetSwitchIDPortOK) GetPayload() *models.DtosEthernetSwitchPortDto
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 ¶
func (o *PostEthernetSwitchIDPortParams) SetID(id string)
SetID adds the id to the post ethernet switch ID port params
func (*PostEthernetSwitchIDPortParams) SetRequest ¶
func (o *PostEthernetSwitchIDPortParams) SetRequest(request *models.DtosEthernetSwitchPortCreateDto)
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 ¶
func (o *PostEthernetSwitchIDPortParams) WithContext(ctx context.Context) *PostEthernetSwitchIDPortParams
WithContext adds the context to the post ethernet switch ID port params
func (*PostEthernetSwitchIDPortParams) WithDefaults ¶
func (o *PostEthernetSwitchIDPortParams) WithDefaults() *PostEthernetSwitchIDPortParams
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 ¶
func (o *PostEthernetSwitchIDPortParams) WithHTTPClient(client *http.Client) *PostEthernetSwitchIDPortParams
WithHTTPClient adds the HTTPClient to the post ethernet switch ID port params
func (*PostEthernetSwitchIDPortParams) WithID ¶
func (o *PostEthernetSwitchIDPortParams) WithID(id string) *PostEthernetSwitchIDPortParams
WithID adds the id to the post ethernet switch ID port params
func (*PostEthernetSwitchIDPortParams) WithRequest ¶
func (o *PostEthernetSwitchIDPortParams) WithRequest(request *models.DtosEthernetSwitchPortCreateDto) *PostEthernetSwitchIDPortParams
WithRequest adds the request to the post ethernet switch ID port params
func (*PostEthernetSwitchIDPortParams) WithTimeout ¶
func (o *PostEthernetSwitchIDPortParams) WithTimeout(timeout time.Duration) *PostEthernetSwitchIDPortParams
WithTimeout adds the timeout to the post ethernet switch ID port params
func (*PostEthernetSwitchIDPortParams) WriteToRequest ¶
func (o *PostEthernetSwitchIDPortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PostEthernetSwitchIDVlanBadRequest) Error() string
func (*PostEthernetSwitchIDVlanBadRequest) GetPayload ¶
func (o *PostEthernetSwitchIDVlanBadRequest) GetPayload() *models.DtosValidationErrorDto
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 ¶
func (o *PostEthernetSwitchIDVlanBadRequest) IsCode(code int) bool
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 ¶
func (o *PostEthernetSwitchIDVlanBadRequest) IsSuccess() bool
IsSuccess returns true when this post ethernet switch Id vlan bad request response has a 2xx status code
func (*PostEthernetSwitchIDVlanBadRequest) String ¶
func (o *PostEthernetSwitchIDVlanBadRequest) String() 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 (o *PostEthernetSwitchIDVlanInternalServerError) Error() string
func (*PostEthernetSwitchIDVlanInternalServerError) IsClientError ¶
func (o *PostEthernetSwitchIDVlanInternalServerError) IsClientError() bool
IsClientError returns true when this post ethernet switch Id vlan internal server error response has a 4xx status code
func (*PostEthernetSwitchIDVlanInternalServerError) IsCode ¶
func (o *PostEthernetSwitchIDVlanInternalServerError) IsCode(code int) bool
IsCode returns true when this post ethernet switch Id vlan internal server error response a status code equal to that given
func (*PostEthernetSwitchIDVlanInternalServerError) IsRedirect ¶
func (o *PostEthernetSwitchIDVlanInternalServerError) IsRedirect() bool
IsRedirect returns true when this post ethernet switch Id vlan internal server error response has a 3xx status code
func (*PostEthernetSwitchIDVlanInternalServerError) IsServerError ¶
func (o *PostEthernetSwitchIDVlanInternalServerError) IsServerError() bool
IsServerError returns true when this post ethernet switch Id vlan internal server error response has a 5xx status code
func (*PostEthernetSwitchIDVlanInternalServerError) IsSuccess ¶
func (o *PostEthernetSwitchIDVlanInternalServerError) IsSuccess() bool
IsSuccess returns true when this post ethernet switch Id vlan internal server error response has a 2xx status code
func (*PostEthernetSwitchIDVlanInternalServerError) String ¶
func (o *PostEthernetSwitchIDVlanInternalServerError) String() 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 (o *PostEthernetSwitchIDVlanOK) Error() string
func (*PostEthernetSwitchIDVlanOK) GetPayload ¶
func (o *PostEthernetSwitchIDVlanOK) GetPayload() *models.DtosEthernetSwitchVLANDto
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 ¶
func (o *PostEthernetSwitchIDVlanParams) SetID(id string)
SetID adds the id to the post ethernet switch ID vlan params
func (*PostEthernetSwitchIDVlanParams) SetRequest ¶
func (o *PostEthernetSwitchIDVlanParams) SetRequest(request *models.DtosEthernetSwitchVLANCreateDto)
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 ¶
func (o *PostEthernetSwitchIDVlanParams) WithContext(ctx context.Context) *PostEthernetSwitchIDVlanParams
WithContext adds the context to the post ethernet switch ID vlan params
func (*PostEthernetSwitchIDVlanParams) WithDefaults ¶
func (o *PostEthernetSwitchIDVlanParams) WithDefaults() *PostEthernetSwitchIDVlanParams
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 ¶
func (o *PostEthernetSwitchIDVlanParams) WithHTTPClient(client *http.Client) *PostEthernetSwitchIDVlanParams
WithHTTPClient adds the HTTPClient to the post ethernet switch ID vlan params
func (*PostEthernetSwitchIDVlanParams) WithID ¶
func (o *PostEthernetSwitchIDVlanParams) WithID(id string) *PostEthernetSwitchIDVlanParams
WithID adds the id to the post ethernet switch ID vlan params
func (*PostEthernetSwitchIDVlanParams) WithRequest ¶
func (o *PostEthernetSwitchIDVlanParams) WithRequest(request *models.DtosEthernetSwitchVLANCreateDto) *PostEthernetSwitchIDVlanParams
WithRequest adds the request to the post ethernet switch ID vlan params
func (*PostEthernetSwitchIDVlanParams) WithTimeout ¶
func (o *PostEthernetSwitchIDVlanParams) WithTimeout(timeout time.Duration) *PostEthernetSwitchIDVlanParams
WithTimeout adds the timeout to the post ethernet switch ID vlan params
func (*PostEthernetSwitchIDVlanParams) WriteToRequest ¶
func (o *PostEthernetSwitchIDVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PostEthernetSwitchInternalServerError) Error() string
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 ¶
func (o *PostEthernetSwitchInternalServerError) IsCode(code int) bool
IsCode returns true when this post ethernet switch internal server error response a status code equal to that given
func (*PostEthernetSwitchInternalServerError) IsRedirect ¶
func (o *PostEthernetSwitchInternalServerError) IsRedirect() bool
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 ¶
func (o *PostEthernetSwitchInternalServerError) IsSuccess() bool
IsSuccess returns true when this post ethernet switch internal server error response has a 2xx status code
func (*PostEthernetSwitchInternalServerError) String ¶
func (o *PostEthernetSwitchInternalServerError) String() 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 (o *PostEthernetSwitchOK) GetPayload() *models.DtosEthernetSwitchDto
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 ¶
func (o *PostEthernetSwitchParams) SetRequest(request *models.DtosEthernetSwitchCreateDto)
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 ¶
func (o *PostEthernetSwitchParams) WithContext(ctx context.Context) *PostEthernetSwitchParams
WithContext adds the context to the post ethernet switch params
func (*PostEthernetSwitchParams) WithDefaults ¶
func (o *PostEthernetSwitchParams) WithDefaults() *PostEthernetSwitchParams
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 ¶
func (o *PostEthernetSwitchParams) WithRequest(request *models.DtosEthernetSwitchCreateDto) *PostEthernetSwitchParams
WithRequest adds the request to the post ethernet switch params
func (*PostEthernetSwitchParams) WithTimeout ¶
func (o *PostEthernetSwitchParams) WithTimeout(timeout time.Duration) *PostEthernetSwitchParams
WithTimeout adds the timeout to the post ethernet switch params
func (*PostEthernetSwitchParams) WriteToRequest ¶
func (o *PostEthernetSwitchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PutEthernetSwitchIDBadRequest) Error() string
func (*PutEthernetSwitchIDBadRequest) GetPayload ¶
func (o *PutEthernetSwitchIDBadRequest) GetPayload() *models.DtosValidationErrorDto
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 ¶
func (o *PutEthernetSwitchIDBadRequest) String() 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 (o *PutEthernetSwitchIDInternalServerError) Error() string
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 ¶
func (o *PutEthernetSwitchIDInternalServerError) IsCode(code int) bool
IsCode returns true when this put ethernet switch Id internal server error response a status code equal to that given
func (*PutEthernetSwitchIDInternalServerError) IsRedirect ¶
func (o *PutEthernetSwitchIDInternalServerError) IsRedirect() bool
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 ¶
func (o *PutEthernetSwitchIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this put ethernet switch Id internal server error response has a 2xx status code
func (*PutEthernetSwitchIDInternalServerError) String ¶
func (o *PutEthernetSwitchIDInternalServerError) String() 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 (o *PutEthernetSwitchIDNotFound) Error() string
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 (o *PutEthernetSwitchIDOK) GetPayload() *models.DtosEthernetSwitchDto
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 ¶
func (o *PutEthernetSwitchIDParams) SetRequest(request *models.DtosEthernetSwitchUpdateDto)
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 ¶
func (o *PutEthernetSwitchIDParams) WithContext(ctx context.Context) *PutEthernetSwitchIDParams
WithContext adds the context to the put ethernet switch ID params
func (*PutEthernetSwitchIDParams) WithDefaults ¶
func (o *PutEthernetSwitchIDParams) WithDefaults() *PutEthernetSwitchIDParams
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 ¶
func (o *PutEthernetSwitchIDParams) WithID(id string) *PutEthernetSwitchIDParams
WithID adds the id to the put ethernet switch ID params
func (*PutEthernetSwitchIDParams) WithRequest ¶
func (o *PutEthernetSwitchIDParams) WithRequest(request *models.DtosEthernetSwitchUpdateDto) *PutEthernetSwitchIDParams
WithRequest adds the request to the put ethernet switch ID params
func (*PutEthernetSwitchIDParams) WithTimeout ¶
func (o *PutEthernetSwitchIDParams) WithTimeout(timeout time.Duration) *PutEthernetSwitchIDParams
WithTimeout adds the timeout to the put ethernet switch ID params
func (*PutEthernetSwitchIDParams) WriteToRequest ¶
func (o *PutEthernetSwitchIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PutEthernetSwitchIDPortPortIDBadRequest) Error() string
func (*PutEthernetSwitchIDPortPortIDBadRequest) GetPayload ¶
func (o *PutEthernetSwitchIDPortPortIDBadRequest) GetPayload() *models.DtosValidationErrorDto
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 ¶
func (o *PutEthernetSwitchIDPortPortIDBadRequest) IsCode(code int) bool
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 ¶
func (o *PutEthernetSwitchIDPortPortIDBadRequest) IsRedirect() bool
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 ¶
func (o *PutEthernetSwitchIDPortPortIDBadRequest) IsSuccess() bool
IsSuccess returns true when this put ethernet switch Id port port Id bad request response has a 2xx status code
func (*PutEthernetSwitchIDPortPortIDBadRequest) String ¶
func (o *PutEthernetSwitchIDPortPortIDBadRequest) String() 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 (o *PutEthernetSwitchIDPortPortIDInternalServerError) Error() string
func (*PutEthernetSwitchIDPortPortIDInternalServerError) IsClientError ¶
func (o *PutEthernetSwitchIDPortPortIDInternalServerError) IsClientError() bool
IsClientError returns true when this put ethernet switch Id port port Id internal server error response has a 4xx status code
func (*PutEthernetSwitchIDPortPortIDInternalServerError) IsCode ¶
func (o *PutEthernetSwitchIDPortPortIDInternalServerError) IsCode(code int) bool
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 ¶
func (o *PutEthernetSwitchIDPortPortIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this put ethernet switch Id port port Id internal server error response has a 3xx status code
func (*PutEthernetSwitchIDPortPortIDInternalServerError) IsServerError ¶
func (o *PutEthernetSwitchIDPortPortIDInternalServerError) IsServerError() bool
IsServerError returns true when this put ethernet switch Id port port Id internal server error response has a 5xx status code
func (*PutEthernetSwitchIDPortPortIDInternalServerError) IsSuccess ¶
func (o *PutEthernetSwitchIDPortPortIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this put ethernet switch Id port port Id internal server error response has a 2xx status code
func (*PutEthernetSwitchIDPortPortIDInternalServerError) String ¶
func (o *PutEthernetSwitchIDPortPortIDInternalServerError) String() 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 (o *PutEthernetSwitchIDPortPortIDNotFound) Error() string
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 ¶
func (o *PutEthernetSwitchIDPortPortIDNotFound) IsCode(code int) bool
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 ¶
func (o *PutEthernetSwitchIDPortPortIDNotFound) IsRedirect() bool
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 ¶
func (o *PutEthernetSwitchIDPortPortIDNotFound) IsSuccess() bool
IsSuccess returns true when this put ethernet switch Id port port Id not found response has a 2xx status code
func (*PutEthernetSwitchIDPortPortIDNotFound) String ¶
func (o *PutEthernetSwitchIDPortPortIDNotFound) String() 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 (o *PutEthernetSwitchIDPortPortIDOK) Error() string
func (*PutEthernetSwitchIDPortPortIDOK) GetPayload ¶
func (o *PutEthernetSwitchIDPortPortIDOK) GetPayload() *models.DtosEthernetSwitchPortDto
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 ¶
func (o *PutEthernetSwitchIDPortPortIDOK) String() 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 ¶
func (o *PutEthernetSwitchIDPortPortIDParams) SetContext(ctx context.Context)
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 ¶
func (o *PutEthernetSwitchIDPortPortIDParams) SetID(id string)
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 ¶
func (o *PutEthernetSwitchIDPortPortIDParams) SetRequest(request *models.DtosEthernetSwitchPortUpdateDto)
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 ¶
func (o *PutEthernetSwitchIDPortPortIDParams) WithContext(ctx context.Context) *PutEthernetSwitchIDPortPortIDParams
WithContext adds the context to the put ethernet switch ID port port ID params
func (*PutEthernetSwitchIDPortPortIDParams) WithDefaults ¶
func (o *PutEthernetSwitchIDPortPortIDParams) WithDefaults() *PutEthernetSwitchIDPortPortIDParams
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 ¶
func (o *PutEthernetSwitchIDPortPortIDParams) WithHTTPClient(client *http.Client) *PutEthernetSwitchIDPortPortIDParams
WithHTTPClient adds the HTTPClient to the put ethernet switch ID port port ID params
func (*PutEthernetSwitchIDPortPortIDParams) WithID ¶
func (o *PutEthernetSwitchIDPortPortIDParams) WithID(id string) *PutEthernetSwitchIDPortPortIDParams
WithID adds the id to the put ethernet switch ID port port ID params
func (*PutEthernetSwitchIDPortPortIDParams) WithPortID ¶
func (o *PutEthernetSwitchIDPortPortIDParams) WithPortID(portID string) *PutEthernetSwitchIDPortPortIDParams
WithPortID adds the portID to the put ethernet switch ID port port ID params
func (*PutEthernetSwitchIDPortPortIDParams) WithRequest ¶
func (o *PutEthernetSwitchIDPortPortIDParams) WithRequest(request *models.DtosEthernetSwitchPortUpdateDto) *PutEthernetSwitchIDPortPortIDParams
WithRequest adds the request to the put ethernet switch ID port port ID params
func (*PutEthernetSwitchIDPortPortIDParams) WithTimeout ¶
func (o *PutEthernetSwitchIDPortPortIDParams) WithTimeout(timeout time.Duration) *PutEthernetSwitchIDPortPortIDParams
WithTimeout adds the timeout to the put ethernet switch ID port port ID params
func (*PutEthernetSwitchIDPortPortIDParams) WriteToRequest ¶
func (o *PutEthernetSwitchIDPortPortIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PutEthernetSwitchIDVlanVlanUUIDBadRequest) Error() string
func (*PutEthernetSwitchIDVlanVlanUUIDBadRequest) GetPayload ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDBadRequest) GetPayload() *models.DtosValidationErrorDto
func (*PutEthernetSwitchIDVlanVlanUUIDBadRequest) IsClientError ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDBadRequest) IsClientError() bool
IsClientError returns true when this put ethernet switch Id vlan vlan Uuid bad request response has a 4xx status code
func (*PutEthernetSwitchIDVlanVlanUUIDBadRequest) IsCode ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDBadRequest) IsCode(code int) bool
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 ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDBadRequest) IsRedirect() bool
IsRedirect returns true when this put ethernet switch Id vlan vlan Uuid bad request response has a 3xx status code
func (*PutEthernetSwitchIDVlanVlanUUIDBadRequest) IsServerError ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDBadRequest) IsServerError() bool
IsServerError returns true when this put ethernet switch Id vlan vlan Uuid bad request response has a 5xx status code
func (*PutEthernetSwitchIDVlanVlanUUIDBadRequest) IsSuccess ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDBadRequest) IsSuccess() bool
IsSuccess returns true when this put ethernet switch Id vlan vlan Uuid bad request response has a 2xx status code
func (*PutEthernetSwitchIDVlanVlanUUIDBadRequest) String ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDBadRequest) String() 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 (o *PutEthernetSwitchIDVlanVlanUUIDInternalServerError) Error() string
func (*PutEthernetSwitchIDVlanVlanUUIDInternalServerError) IsClientError ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDInternalServerError) IsClientError() bool
IsClientError returns true when this put ethernet switch Id vlan vlan Uuid internal server error response has a 4xx status code
func (*PutEthernetSwitchIDVlanVlanUUIDInternalServerError) IsCode ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDInternalServerError) IsCode(code int) bool
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 ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this put ethernet switch Id vlan vlan Uuid internal server error response has a 3xx status code
func (*PutEthernetSwitchIDVlanVlanUUIDInternalServerError) IsServerError ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDInternalServerError) IsServerError() bool
IsServerError returns true when this put ethernet switch Id vlan vlan Uuid internal server error response has a 5xx status code
func (*PutEthernetSwitchIDVlanVlanUUIDInternalServerError) IsSuccess ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this put ethernet switch Id vlan vlan Uuid internal server error response has a 2xx status code
func (*PutEthernetSwitchIDVlanVlanUUIDInternalServerError) String ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDInternalServerError) String() 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 (o *PutEthernetSwitchIDVlanVlanUUIDNotFound) Error() string
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 ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDNotFound) IsCode(code int) bool
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 ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDNotFound) IsRedirect() bool
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 ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDNotFound) IsSuccess() bool
IsSuccess returns true when this put ethernet switch Id vlan vlan Uuid not found response has a 2xx status code
func (*PutEthernetSwitchIDVlanVlanUUIDNotFound) String ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDNotFound) String() 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 (o *PutEthernetSwitchIDVlanVlanUUIDOK) Error() string
func (*PutEthernetSwitchIDVlanVlanUUIDOK) GetPayload ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDOK) GetPayload() *models.DtosEthernetSwitchVLANDto
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 ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDOK) String() 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 ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDParams) SetContext(ctx context.Context)
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 ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDParams) SetID(id string)
SetID adds the id to the put ethernet switch ID vlan vlan UUID params
func (*PutEthernetSwitchIDVlanVlanUUIDParams) SetRequest ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDParams) SetRequest(request *models.DtosEthernetSwitchVLANUpdateDto)
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 ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDParams) WithContext(ctx context.Context) *PutEthernetSwitchIDVlanVlanUUIDParams
WithContext adds the context to the put ethernet switch ID vlan vlan UUID params
func (*PutEthernetSwitchIDVlanVlanUUIDParams) WithDefaults ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDParams) WithDefaults() *PutEthernetSwitchIDVlanVlanUUIDParams
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 ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDParams) WithHTTPClient(client *http.Client) *PutEthernetSwitchIDVlanVlanUUIDParams
WithHTTPClient adds the HTTPClient to the put ethernet switch ID vlan vlan UUID params
func (*PutEthernetSwitchIDVlanVlanUUIDParams) WithID ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDParams) WithID(id string) *PutEthernetSwitchIDVlanVlanUUIDParams
WithID adds the id to the put ethernet switch ID vlan vlan UUID params
func (*PutEthernetSwitchIDVlanVlanUUIDParams) WithRequest ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDParams) WithRequest(request *models.DtosEthernetSwitchVLANUpdateDto) *PutEthernetSwitchIDVlanVlanUUIDParams
WithRequest adds the request to the put ethernet switch ID vlan vlan UUID params
func (*PutEthernetSwitchIDVlanVlanUUIDParams) WithTimeout ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDParams) WithTimeout(timeout time.Duration) *PutEthernetSwitchIDVlanVlanUUIDParams
WithTimeout adds the timeout to the put ethernet switch ID vlan vlan UUID params
func (*PutEthernetSwitchIDVlanVlanUUIDParams) WithVlanUUID ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDParams) WithVlanUUID(vlanUUID string) *PutEthernetSwitchIDVlanVlanUUIDParams
WithVlanUUID adds the vlanUUID to the put ethernet switch ID vlan vlan UUID params
func (*PutEthernetSwitchIDVlanVlanUUIDParams) WriteToRequest ¶
func (o *PutEthernetSwitchIDVlanVlanUUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- delete_ethernet_switch_id_parameters.go
- delete_ethernet_switch_id_port_port_id_parameters.go
- delete_ethernet_switch_id_port_port_id_responses.go
- delete_ethernet_switch_id_responses.go
- delete_ethernet_switch_id_vlan_vlan_uuid_parameters.go
- delete_ethernet_switch_id_vlan_vlan_uuid_responses.go
- ethernet_switch_client.go
- get_ethernet_switch_id_parameters.go
- get_ethernet_switch_id_port_parameters.go
- get_ethernet_switch_id_port_port_id_parameters.go
- get_ethernet_switch_id_port_port_id_responses.go
- get_ethernet_switch_id_port_responses.go
- get_ethernet_switch_id_responses.go
- get_ethernet_switch_id_vlan_parameters.go
- get_ethernet_switch_id_vlan_responses.go
- get_ethernet_switch_id_vlan_vlan_uuid_parameters.go
- get_ethernet_switch_id_vlan_vlan_uuid_responses.go
- get_ethernet_switch_models_parameters.go
- get_ethernet_switch_models_responses.go
- get_ethernet_switch_parameters.go
- get_ethernet_switch_responses.go
- post_ethernet_switch_id_port_parameters.go
- post_ethernet_switch_id_port_responses.go
- post_ethernet_switch_id_vlan_parameters.go
- post_ethernet_switch_id_vlan_responses.go
- post_ethernet_switch_parameters.go
- post_ethernet_switch_responses.go
- put_ethernet_switch_id_parameters.go
- put_ethernet_switch_id_port_port_id_parameters.go
- put_ethernet_switch_id_port_port_id_responses.go
- put_ethernet_switch_id_responses.go
- put_ethernet_switch_id_vlan_vlan_uuid_parameters.go
- put_ethernet_switch_id_vlan_vlan_uuid_responses.go