m_x_v_l_a_n_ports

package
v0.0.0-...-b7c797c Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for m x v l a n ports API

func (*Client) GetNetworkAppliancePort

func (a *Client) GetNetworkAppliancePort(params *GetNetworkAppliancePortParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkAppliancePortOK, error)

GetNetworkAppliancePort gets network appliance port

Return per-port VLAN settings for a single MX port.

func (*Client) GetNetworkAppliancePorts

func (a *Client) GetNetworkAppliancePorts(params *GetNetworkAppliancePortsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkAppliancePortsOK, error)

GetNetworkAppliancePorts gets network appliance ports

List per-port VLAN settings for all ports of a MX.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateNetworkAppliancePort

func (a *Client) UpdateNetworkAppliancePort(params *UpdateNetworkAppliancePortParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkAppliancePortOK, error)

UpdateNetworkAppliancePort updates network appliance port

Update the per-port VLAN settings for a single MX port.

type ClientService

type ClientService interface {
	GetNetworkAppliancePort(params *GetNetworkAppliancePortParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkAppliancePortOK, error)

	GetNetworkAppliancePorts(params *GetNetworkAppliancePortsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkAppliancePortsOK, error)

	UpdateNetworkAppliancePort(params *UpdateNetworkAppliancePortParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkAppliancePortOK, 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 m x v l a n ports API client.

type GetNetworkAppliancePortOK

type GetNetworkAppliancePortOK struct {
	Payload interface{}
}

GetNetworkAppliancePortOK handles this case with default header values.

Successful operation

func NewGetNetworkAppliancePortOK

func NewGetNetworkAppliancePortOK() *GetNetworkAppliancePortOK

NewGetNetworkAppliancePortOK creates a GetNetworkAppliancePortOK with default headers values

func (*GetNetworkAppliancePortOK) Error

func (o *GetNetworkAppliancePortOK) Error() string

func (*GetNetworkAppliancePortOK) GetPayload

func (o *GetNetworkAppliancePortOK) GetPayload() interface{}

type GetNetworkAppliancePortParams

type GetNetworkAppliancePortParams struct {

	/*AppliancePortID*/
	AppliancePortID string
	/*NetworkID*/
	NetworkID string

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

GetNetworkAppliancePortParams contains all the parameters to send to the API endpoint for the get network appliance port operation typically these are written to a http.Request

func NewGetNetworkAppliancePortParams

func NewGetNetworkAppliancePortParams() *GetNetworkAppliancePortParams

NewGetNetworkAppliancePortParams creates a new GetNetworkAppliancePortParams object with the default values initialized.

func NewGetNetworkAppliancePortParamsWithContext

func NewGetNetworkAppliancePortParamsWithContext(ctx context.Context) *GetNetworkAppliancePortParams

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

func NewGetNetworkAppliancePortParamsWithHTTPClient

func NewGetNetworkAppliancePortParamsWithHTTPClient(client *http.Client) *GetNetworkAppliancePortParams

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

func NewGetNetworkAppliancePortParamsWithTimeout

func NewGetNetworkAppliancePortParamsWithTimeout(timeout time.Duration) *GetNetworkAppliancePortParams

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

func (*GetNetworkAppliancePortParams) SetAppliancePortID

func (o *GetNetworkAppliancePortParams) SetAppliancePortID(appliancePortID string)

SetAppliancePortID adds the appliancePortId to the get network appliance port params

func (*GetNetworkAppliancePortParams) SetContext

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

SetContext adds the context to the get network appliance port params

func (*GetNetworkAppliancePortParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get network appliance port params

func (*GetNetworkAppliancePortParams) SetNetworkID

func (o *GetNetworkAppliancePortParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network appliance port params

func (*GetNetworkAppliancePortParams) SetTimeout

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

SetTimeout adds the timeout to the get network appliance port params

func (*GetNetworkAppliancePortParams) WithAppliancePortID

func (o *GetNetworkAppliancePortParams) WithAppliancePortID(appliancePortID string) *GetNetworkAppliancePortParams

WithAppliancePortID adds the appliancePortID to the get network appliance port params

func (*GetNetworkAppliancePortParams) WithContext

WithContext adds the context to the get network appliance port params

func (*GetNetworkAppliancePortParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network appliance port params

func (*GetNetworkAppliancePortParams) WithNetworkID

WithNetworkID adds the networkID to the get network appliance port params

func (*GetNetworkAppliancePortParams) WithTimeout

WithTimeout adds the timeout to the get network appliance port params

func (*GetNetworkAppliancePortParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkAppliancePortReader

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

GetNetworkAppliancePortReader is a Reader for the GetNetworkAppliancePort structure.

func (*GetNetworkAppliancePortReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNetworkAppliancePortsOK

type GetNetworkAppliancePortsOK struct {
	Payload interface{}
}

GetNetworkAppliancePortsOK handles this case with default header values.

Successful operation

func NewGetNetworkAppliancePortsOK

func NewGetNetworkAppliancePortsOK() *GetNetworkAppliancePortsOK

NewGetNetworkAppliancePortsOK creates a GetNetworkAppliancePortsOK with default headers values

func (*GetNetworkAppliancePortsOK) Error

func (*GetNetworkAppliancePortsOK) GetPayload

func (o *GetNetworkAppliancePortsOK) GetPayload() interface{}

type GetNetworkAppliancePortsParams

type GetNetworkAppliancePortsParams struct {

	/*NetworkID*/
	NetworkID string

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

GetNetworkAppliancePortsParams contains all the parameters to send to the API endpoint for the get network appliance ports operation typically these are written to a http.Request

func NewGetNetworkAppliancePortsParams

func NewGetNetworkAppliancePortsParams() *GetNetworkAppliancePortsParams

NewGetNetworkAppliancePortsParams creates a new GetNetworkAppliancePortsParams object with the default values initialized.

func NewGetNetworkAppliancePortsParamsWithContext

func NewGetNetworkAppliancePortsParamsWithContext(ctx context.Context) *GetNetworkAppliancePortsParams

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

func NewGetNetworkAppliancePortsParamsWithHTTPClient

func NewGetNetworkAppliancePortsParamsWithHTTPClient(client *http.Client) *GetNetworkAppliancePortsParams

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

func NewGetNetworkAppliancePortsParamsWithTimeout

func NewGetNetworkAppliancePortsParamsWithTimeout(timeout time.Duration) *GetNetworkAppliancePortsParams

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

func (*GetNetworkAppliancePortsParams) SetContext

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

SetContext adds the context to the get network appliance ports params

func (*GetNetworkAppliancePortsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get network appliance ports params

func (*GetNetworkAppliancePortsParams) SetNetworkID

func (o *GetNetworkAppliancePortsParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network appliance ports params

func (*GetNetworkAppliancePortsParams) SetTimeout

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

SetTimeout adds the timeout to the get network appliance ports params

func (*GetNetworkAppliancePortsParams) WithContext

WithContext adds the context to the get network appliance ports params

func (*GetNetworkAppliancePortsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network appliance ports params

func (*GetNetworkAppliancePortsParams) WithNetworkID

WithNetworkID adds the networkID to the get network appliance ports params

func (*GetNetworkAppliancePortsParams) WithTimeout

WithTimeout adds the timeout to the get network appliance ports params

func (*GetNetworkAppliancePortsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkAppliancePortsReader

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

GetNetworkAppliancePortsReader is a Reader for the GetNetworkAppliancePorts structure.

func (*GetNetworkAppliancePortsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNetworkAppliancePortOK

type UpdateNetworkAppliancePortOK struct {
	Payload interface{}
}

UpdateNetworkAppliancePortOK handles this case with default header values.

Successful operation

func NewUpdateNetworkAppliancePortOK

func NewUpdateNetworkAppliancePortOK() *UpdateNetworkAppliancePortOK

NewUpdateNetworkAppliancePortOK creates a UpdateNetworkAppliancePortOK with default headers values

func (*UpdateNetworkAppliancePortOK) Error

func (*UpdateNetworkAppliancePortOK) GetPayload

func (o *UpdateNetworkAppliancePortOK) GetPayload() interface{}

type UpdateNetworkAppliancePortParams

type UpdateNetworkAppliancePortParams struct {

	/*AppliancePortID*/
	AppliancePortID string
	/*NetworkID*/
	NetworkID string
	/*UpdateNetworkAppliancePort*/
	UpdateNetworkAppliancePort *models.UpdateNetworkAppliancePort

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

UpdateNetworkAppliancePortParams contains all the parameters to send to the API endpoint for the update network appliance port operation typically these are written to a http.Request

func NewUpdateNetworkAppliancePortParams

func NewUpdateNetworkAppliancePortParams() *UpdateNetworkAppliancePortParams

NewUpdateNetworkAppliancePortParams creates a new UpdateNetworkAppliancePortParams object with the default values initialized.

func NewUpdateNetworkAppliancePortParamsWithContext

func NewUpdateNetworkAppliancePortParamsWithContext(ctx context.Context) *UpdateNetworkAppliancePortParams

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

func NewUpdateNetworkAppliancePortParamsWithHTTPClient

func NewUpdateNetworkAppliancePortParamsWithHTTPClient(client *http.Client) *UpdateNetworkAppliancePortParams

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

func NewUpdateNetworkAppliancePortParamsWithTimeout

func NewUpdateNetworkAppliancePortParamsWithTimeout(timeout time.Duration) *UpdateNetworkAppliancePortParams

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

func (*UpdateNetworkAppliancePortParams) SetAppliancePortID

func (o *UpdateNetworkAppliancePortParams) SetAppliancePortID(appliancePortID string)

SetAppliancePortID adds the appliancePortId to the update network appliance port params

func (*UpdateNetworkAppliancePortParams) SetContext

SetContext adds the context to the update network appliance port params

func (*UpdateNetworkAppliancePortParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update network appliance port params

func (*UpdateNetworkAppliancePortParams) SetNetworkID

func (o *UpdateNetworkAppliancePortParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network appliance port params

func (*UpdateNetworkAppliancePortParams) SetTimeout

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

SetTimeout adds the timeout to the update network appliance port params

func (*UpdateNetworkAppliancePortParams) SetUpdateNetworkAppliancePort

func (o *UpdateNetworkAppliancePortParams) SetUpdateNetworkAppliancePort(updateNetworkAppliancePort *models.UpdateNetworkAppliancePort)

SetUpdateNetworkAppliancePort adds the updateNetworkAppliancePort to the update network appliance port params

func (*UpdateNetworkAppliancePortParams) WithAppliancePortID

func (o *UpdateNetworkAppliancePortParams) WithAppliancePortID(appliancePortID string) *UpdateNetworkAppliancePortParams

WithAppliancePortID adds the appliancePortID to the update network appliance port params

func (*UpdateNetworkAppliancePortParams) WithContext

WithContext adds the context to the update network appliance port params

func (*UpdateNetworkAppliancePortParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network appliance port params

func (*UpdateNetworkAppliancePortParams) WithNetworkID

WithNetworkID adds the networkID to the update network appliance port params

func (*UpdateNetworkAppliancePortParams) WithTimeout

WithTimeout adds the timeout to the update network appliance port params

func (*UpdateNetworkAppliancePortParams) WithUpdateNetworkAppliancePort

func (o *UpdateNetworkAppliancePortParams) WithUpdateNetworkAppliancePort(updateNetworkAppliancePort *models.UpdateNetworkAppliancePort) *UpdateNetworkAppliancePortParams

WithUpdateNetworkAppliancePort adds the updateNetworkAppliancePort to the update network appliance port params

func (*UpdateNetworkAppliancePortParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkAppliancePortReader

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

UpdateNetworkAppliancePortReader is a Reader for the UpdateNetworkAppliancePort structure.

func (*UpdateNetworkAppliancePortReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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