v_l_a_ns

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 v l a ns API

func (*Client) CreateNetworkVlan

func (a *Client) CreateNetworkVlan(params *CreateNetworkVlanParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNetworkVlanCreated, error)

CreateNetworkVlan creates network vlan

Add a VLAN

func (*Client) DeleteNetworkVlan

func (a *Client) DeleteNetworkVlan(params *DeleteNetworkVlanParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNetworkVlanNoContent, error)

DeleteNetworkVlan deletes network vlan

Delete a VLAN from a network

func (*Client) GetNetworkVlan

func (a *Client) GetNetworkVlan(params *GetNetworkVlanParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkVlanOK, error)

GetNetworkVlan gets network vlan

Return a VLAN

func (*Client) GetNetworkVlans

func (a *Client) GetNetworkVlans(params *GetNetworkVlansParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkVlansOK, error)

GetNetworkVlans gets network vlans

List the VLANs for an MX network

func (*Client) GetNetworkVlansEnabledState

func (a *Client) GetNetworkVlansEnabledState(params *GetNetworkVlansEnabledStateParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkVlansEnabledStateOK, error)

GetNetworkVlansEnabledState gets network vlans enabled state

Returns the enabled status of VLANs for the network

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateNetworkVlan

func (a *Client) UpdateNetworkVlan(params *UpdateNetworkVlanParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkVlanOK, error)

UpdateNetworkVlan updates network vlan

Update a VLAN

func (*Client) UpdateNetworkVlansEnabledState

func (a *Client) UpdateNetworkVlansEnabledState(params *UpdateNetworkVlansEnabledStateParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkVlansEnabledStateOK, error)

UpdateNetworkVlansEnabledState updates network vlans enabled state

Enable/Disable VLANs for the given network

type ClientService

type ClientService interface {
	CreateNetworkVlan(params *CreateNetworkVlanParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNetworkVlanCreated, error)

	DeleteNetworkVlan(params *DeleteNetworkVlanParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNetworkVlanNoContent, error)

	GetNetworkVlan(params *GetNetworkVlanParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkVlanOK, error)

	GetNetworkVlans(params *GetNetworkVlansParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkVlansOK, error)

	GetNetworkVlansEnabledState(params *GetNetworkVlansEnabledStateParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkVlansEnabledStateOK, error)

	UpdateNetworkVlan(params *UpdateNetworkVlanParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkVlanOK, error)

	UpdateNetworkVlansEnabledState(params *UpdateNetworkVlansEnabledStateParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkVlansEnabledStateOK, 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 v l a ns API client.

type CreateNetworkVlanCreated

type CreateNetworkVlanCreated struct {
	Payload interface{}
}

CreateNetworkVlanCreated handles this case with default header values.

Successful operation

func NewCreateNetworkVlanCreated

func NewCreateNetworkVlanCreated() *CreateNetworkVlanCreated

NewCreateNetworkVlanCreated creates a CreateNetworkVlanCreated with default headers values

func (*CreateNetworkVlanCreated) Error

func (o *CreateNetworkVlanCreated) Error() string

func (*CreateNetworkVlanCreated) GetPayload

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

type CreateNetworkVlanParams

type CreateNetworkVlanParams struct {

	/*CreateNetworkVlan*/
	CreateNetworkVlan *models.CreateNetworkVlan
	/*NetworkID*/
	NetworkID string

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

CreateNetworkVlanParams contains all the parameters to send to the API endpoint for the create network vlan operation typically these are written to a http.Request

func NewCreateNetworkVlanParams

func NewCreateNetworkVlanParams() *CreateNetworkVlanParams

NewCreateNetworkVlanParams creates a new CreateNetworkVlanParams object with the default values initialized.

func NewCreateNetworkVlanParamsWithContext

func NewCreateNetworkVlanParamsWithContext(ctx context.Context) *CreateNetworkVlanParams

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

func NewCreateNetworkVlanParamsWithHTTPClient

func NewCreateNetworkVlanParamsWithHTTPClient(client *http.Client) *CreateNetworkVlanParams

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

func NewCreateNetworkVlanParamsWithTimeout

func NewCreateNetworkVlanParamsWithTimeout(timeout time.Duration) *CreateNetworkVlanParams

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

func (*CreateNetworkVlanParams) SetContext

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

SetContext adds the context to the create network vlan params

func (*CreateNetworkVlanParams) SetCreateNetworkVlan

func (o *CreateNetworkVlanParams) SetCreateNetworkVlan(createNetworkVlan *models.CreateNetworkVlan)

SetCreateNetworkVlan adds the createNetworkVlan to the create network vlan params

func (*CreateNetworkVlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create network vlan params

func (*CreateNetworkVlanParams) SetNetworkID

func (o *CreateNetworkVlanParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the create network vlan params

func (*CreateNetworkVlanParams) SetTimeout

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

SetTimeout adds the timeout to the create network vlan params

func (*CreateNetworkVlanParams) WithContext

WithContext adds the context to the create network vlan params

func (*CreateNetworkVlanParams) WithCreateNetworkVlan

func (o *CreateNetworkVlanParams) WithCreateNetworkVlan(createNetworkVlan *models.CreateNetworkVlan) *CreateNetworkVlanParams

WithCreateNetworkVlan adds the createNetworkVlan to the create network vlan params

func (*CreateNetworkVlanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create network vlan params

func (*CreateNetworkVlanParams) WithNetworkID

func (o *CreateNetworkVlanParams) WithNetworkID(networkID string) *CreateNetworkVlanParams

WithNetworkID adds the networkID to the create network vlan params

func (*CreateNetworkVlanParams) WithTimeout

WithTimeout adds the timeout to the create network vlan params

func (*CreateNetworkVlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNetworkVlanReader

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

CreateNetworkVlanReader is a Reader for the CreateNetworkVlan structure.

func (*CreateNetworkVlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNetworkVlanNoContent

type DeleteNetworkVlanNoContent struct {
}

DeleteNetworkVlanNoContent handles this case with default header values.

Successful operation

func NewDeleteNetworkVlanNoContent

func NewDeleteNetworkVlanNoContent() *DeleteNetworkVlanNoContent

NewDeleteNetworkVlanNoContent creates a DeleteNetworkVlanNoContent with default headers values

func (*DeleteNetworkVlanNoContent) Error

type DeleteNetworkVlanParams

type DeleteNetworkVlanParams struct {

	/*NetworkID*/
	NetworkID string
	/*VlanID*/
	VlanID string

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

DeleteNetworkVlanParams contains all the parameters to send to the API endpoint for the delete network vlan operation typically these are written to a http.Request

func NewDeleteNetworkVlanParams

func NewDeleteNetworkVlanParams() *DeleteNetworkVlanParams

NewDeleteNetworkVlanParams creates a new DeleteNetworkVlanParams object with the default values initialized.

func NewDeleteNetworkVlanParamsWithContext

func NewDeleteNetworkVlanParamsWithContext(ctx context.Context) *DeleteNetworkVlanParams

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

func NewDeleteNetworkVlanParamsWithHTTPClient

func NewDeleteNetworkVlanParamsWithHTTPClient(client *http.Client) *DeleteNetworkVlanParams

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

func NewDeleteNetworkVlanParamsWithTimeout

func NewDeleteNetworkVlanParamsWithTimeout(timeout time.Duration) *DeleteNetworkVlanParams

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

func (*DeleteNetworkVlanParams) SetContext

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

SetContext adds the context to the delete network vlan params

func (*DeleteNetworkVlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete network vlan params

func (*DeleteNetworkVlanParams) SetNetworkID

func (o *DeleteNetworkVlanParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the delete network vlan params

func (*DeleteNetworkVlanParams) SetTimeout

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

SetTimeout adds the timeout to the delete network vlan params

func (*DeleteNetworkVlanParams) SetVlanID

func (o *DeleteNetworkVlanParams) SetVlanID(vlanID string)

SetVlanID adds the vlanId to the delete network vlan params

func (*DeleteNetworkVlanParams) WithContext

WithContext adds the context to the delete network vlan params

func (*DeleteNetworkVlanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete network vlan params

func (*DeleteNetworkVlanParams) WithNetworkID

func (o *DeleteNetworkVlanParams) WithNetworkID(networkID string) *DeleteNetworkVlanParams

WithNetworkID adds the networkID to the delete network vlan params

func (*DeleteNetworkVlanParams) WithTimeout

WithTimeout adds the timeout to the delete network vlan params

func (*DeleteNetworkVlanParams) WithVlanID

WithVlanID adds the vlanID to the delete network vlan params

func (*DeleteNetworkVlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNetworkVlanReader

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

DeleteNetworkVlanReader is a Reader for the DeleteNetworkVlan structure.

func (*DeleteNetworkVlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNetworkVlanOK

type GetNetworkVlanOK struct {
	Payload interface{}
}

GetNetworkVlanOK handles this case with default header values.

Successful operation

func NewGetNetworkVlanOK

func NewGetNetworkVlanOK() *GetNetworkVlanOK

NewGetNetworkVlanOK creates a GetNetworkVlanOK with default headers values

func (*GetNetworkVlanOK) Error

func (o *GetNetworkVlanOK) Error() string

func (*GetNetworkVlanOK) GetPayload

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

type GetNetworkVlanParams

type GetNetworkVlanParams struct {

	/*NetworkID*/
	NetworkID string
	/*VlanID*/
	VlanID string

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

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

func NewGetNetworkVlanParams

func NewGetNetworkVlanParams() *GetNetworkVlanParams

NewGetNetworkVlanParams creates a new GetNetworkVlanParams object with the default values initialized.

func NewGetNetworkVlanParamsWithContext

func NewGetNetworkVlanParamsWithContext(ctx context.Context) *GetNetworkVlanParams

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

func NewGetNetworkVlanParamsWithHTTPClient

func NewGetNetworkVlanParamsWithHTTPClient(client *http.Client) *GetNetworkVlanParams

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

func NewGetNetworkVlanParamsWithTimeout

func NewGetNetworkVlanParamsWithTimeout(timeout time.Duration) *GetNetworkVlanParams

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

func (*GetNetworkVlanParams) SetContext

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

SetContext adds the context to the get network vlan params

func (*GetNetworkVlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get network vlan params

func (*GetNetworkVlanParams) SetNetworkID

func (o *GetNetworkVlanParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network vlan params

func (*GetNetworkVlanParams) SetTimeout

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

SetTimeout adds the timeout to the get network vlan params

func (*GetNetworkVlanParams) SetVlanID

func (o *GetNetworkVlanParams) SetVlanID(vlanID string)

SetVlanID adds the vlanId to the get network vlan params

func (*GetNetworkVlanParams) WithContext

WithContext adds the context to the get network vlan params

func (*GetNetworkVlanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get network vlan params

func (*GetNetworkVlanParams) WithNetworkID

func (o *GetNetworkVlanParams) WithNetworkID(networkID string) *GetNetworkVlanParams

WithNetworkID adds the networkID to the get network vlan params

func (*GetNetworkVlanParams) WithTimeout

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

WithTimeout adds the timeout to the get network vlan params

func (*GetNetworkVlanParams) WithVlanID

func (o *GetNetworkVlanParams) WithVlanID(vlanID string) *GetNetworkVlanParams

WithVlanID adds the vlanID to the get network vlan params

func (*GetNetworkVlanParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetNetworkVlanReader

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

GetNetworkVlanReader is a Reader for the GetNetworkVlan structure.

func (*GetNetworkVlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNetworkVlansEnabledStateOK

type GetNetworkVlansEnabledStateOK struct {
	Payload interface{}
}

GetNetworkVlansEnabledStateOK handles this case with default header values.

Successful operation

func NewGetNetworkVlansEnabledStateOK

func NewGetNetworkVlansEnabledStateOK() *GetNetworkVlansEnabledStateOK

NewGetNetworkVlansEnabledStateOK creates a GetNetworkVlansEnabledStateOK with default headers values

func (*GetNetworkVlansEnabledStateOK) Error

func (*GetNetworkVlansEnabledStateOK) GetPayload

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

type GetNetworkVlansEnabledStateParams

type GetNetworkVlansEnabledStateParams struct {

	/*NetworkID*/
	NetworkID string

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

GetNetworkVlansEnabledStateParams contains all the parameters to send to the API endpoint for the get network vlans enabled state operation typically these are written to a http.Request

func NewGetNetworkVlansEnabledStateParams

func NewGetNetworkVlansEnabledStateParams() *GetNetworkVlansEnabledStateParams

NewGetNetworkVlansEnabledStateParams creates a new GetNetworkVlansEnabledStateParams object with the default values initialized.

func NewGetNetworkVlansEnabledStateParamsWithContext

func NewGetNetworkVlansEnabledStateParamsWithContext(ctx context.Context) *GetNetworkVlansEnabledStateParams

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

func NewGetNetworkVlansEnabledStateParamsWithHTTPClient

func NewGetNetworkVlansEnabledStateParamsWithHTTPClient(client *http.Client) *GetNetworkVlansEnabledStateParams

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

func NewGetNetworkVlansEnabledStateParamsWithTimeout

func NewGetNetworkVlansEnabledStateParamsWithTimeout(timeout time.Duration) *GetNetworkVlansEnabledStateParams

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

func (*GetNetworkVlansEnabledStateParams) SetContext

SetContext adds the context to the get network vlans enabled state params

func (*GetNetworkVlansEnabledStateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get network vlans enabled state params

func (*GetNetworkVlansEnabledStateParams) SetNetworkID

func (o *GetNetworkVlansEnabledStateParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network vlans enabled state params

func (*GetNetworkVlansEnabledStateParams) SetTimeout

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

SetTimeout adds the timeout to the get network vlans enabled state params

func (*GetNetworkVlansEnabledStateParams) WithContext

WithContext adds the context to the get network vlans enabled state params

func (*GetNetworkVlansEnabledStateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network vlans enabled state params

func (*GetNetworkVlansEnabledStateParams) WithNetworkID

WithNetworkID adds the networkID to the get network vlans enabled state params

func (*GetNetworkVlansEnabledStateParams) WithTimeout

WithTimeout adds the timeout to the get network vlans enabled state params

func (*GetNetworkVlansEnabledStateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkVlansEnabledStateReader

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

GetNetworkVlansEnabledStateReader is a Reader for the GetNetworkVlansEnabledState structure.

func (*GetNetworkVlansEnabledStateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNetworkVlansOK

type GetNetworkVlansOK struct {
	Payload interface{}
}

GetNetworkVlansOK handles this case with default header values.

Successful operation

func NewGetNetworkVlansOK

func NewGetNetworkVlansOK() *GetNetworkVlansOK

NewGetNetworkVlansOK creates a GetNetworkVlansOK with default headers values

func (*GetNetworkVlansOK) Error

func (o *GetNetworkVlansOK) Error() string

func (*GetNetworkVlansOK) GetPayload

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

type GetNetworkVlansParams

type GetNetworkVlansParams struct {

	/*NetworkID*/
	NetworkID string

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

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

func NewGetNetworkVlansParams

func NewGetNetworkVlansParams() *GetNetworkVlansParams

NewGetNetworkVlansParams creates a new GetNetworkVlansParams object with the default values initialized.

func NewGetNetworkVlansParamsWithContext

func NewGetNetworkVlansParamsWithContext(ctx context.Context) *GetNetworkVlansParams

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

func NewGetNetworkVlansParamsWithHTTPClient

func NewGetNetworkVlansParamsWithHTTPClient(client *http.Client) *GetNetworkVlansParams

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

func NewGetNetworkVlansParamsWithTimeout

func NewGetNetworkVlansParamsWithTimeout(timeout time.Duration) *GetNetworkVlansParams

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

func (*GetNetworkVlansParams) SetContext

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

SetContext adds the context to the get network vlans params

func (*GetNetworkVlansParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get network vlans params

func (*GetNetworkVlansParams) SetNetworkID

func (o *GetNetworkVlansParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network vlans params

func (*GetNetworkVlansParams) SetTimeout

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

SetTimeout adds the timeout to the get network vlans params

func (*GetNetworkVlansParams) WithContext

WithContext adds the context to the get network vlans params

func (*GetNetworkVlansParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get network vlans params

func (*GetNetworkVlansParams) WithNetworkID

func (o *GetNetworkVlansParams) WithNetworkID(networkID string) *GetNetworkVlansParams

WithNetworkID adds the networkID to the get network vlans params

func (*GetNetworkVlansParams) WithTimeout

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

WithTimeout adds the timeout to the get network vlans params

func (*GetNetworkVlansParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetNetworkVlansReader

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

GetNetworkVlansReader is a Reader for the GetNetworkVlans structure.

func (*GetNetworkVlansReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNetworkVlanOK

type UpdateNetworkVlanOK struct {
	Payload interface{}
}

UpdateNetworkVlanOK handles this case with default header values.

Successful operation

func NewUpdateNetworkVlanOK

func NewUpdateNetworkVlanOK() *UpdateNetworkVlanOK

NewUpdateNetworkVlanOK creates a UpdateNetworkVlanOK with default headers values

func (*UpdateNetworkVlanOK) Error

func (o *UpdateNetworkVlanOK) Error() string

func (*UpdateNetworkVlanOK) GetPayload

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

type UpdateNetworkVlanParams

type UpdateNetworkVlanParams struct {

	/*NetworkID*/
	NetworkID string
	/*UpdateNetworkVlan*/
	UpdateNetworkVlan *models.UpdateNetworkVlan
	/*VlanID*/
	VlanID string

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

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

func NewUpdateNetworkVlanParams

func NewUpdateNetworkVlanParams() *UpdateNetworkVlanParams

NewUpdateNetworkVlanParams creates a new UpdateNetworkVlanParams object with the default values initialized.

func NewUpdateNetworkVlanParamsWithContext

func NewUpdateNetworkVlanParamsWithContext(ctx context.Context) *UpdateNetworkVlanParams

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

func NewUpdateNetworkVlanParamsWithHTTPClient

func NewUpdateNetworkVlanParamsWithHTTPClient(client *http.Client) *UpdateNetworkVlanParams

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

func NewUpdateNetworkVlanParamsWithTimeout

func NewUpdateNetworkVlanParamsWithTimeout(timeout time.Duration) *UpdateNetworkVlanParams

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

func (*UpdateNetworkVlanParams) SetContext

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

SetContext adds the context to the update network vlan params

func (*UpdateNetworkVlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update network vlan params

func (*UpdateNetworkVlanParams) SetNetworkID

func (o *UpdateNetworkVlanParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network vlan params

func (*UpdateNetworkVlanParams) SetTimeout

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

SetTimeout adds the timeout to the update network vlan params

func (*UpdateNetworkVlanParams) SetUpdateNetworkVlan

func (o *UpdateNetworkVlanParams) SetUpdateNetworkVlan(updateNetworkVlan *models.UpdateNetworkVlan)

SetUpdateNetworkVlan adds the updateNetworkVlan to the update network vlan params

func (*UpdateNetworkVlanParams) SetVlanID

func (o *UpdateNetworkVlanParams) SetVlanID(vlanID string)

SetVlanID adds the vlanId to the update network vlan params

func (*UpdateNetworkVlanParams) WithContext

WithContext adds the context to the update network vlan params

func (*UpdateNetworkVlanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update network vlan params

func (*UpdateNetworkVlanParams) WithNetworkID

func (o *UpdateNetworkVlanParams) WithNetworkID(networkID string) *UpdateNetworkVlanParams

WithNetworkID adds the networkID to the update network vlan params

func (*UpdateNetworkVlanParams) WithTimeout

WithTimeout adds the timeout to the update network vlan params

func (*UpdateNetworkVlanParams) WithUpdateNetworkVlan

func (o *UpdateNetworkVlanParams) WithUpdateNetworkVlan(updateNetworkVlan *models.UpdateNetworkVlan) *UpdateNetworkVlanParams

WithUpdateNetworkVlan adds the updateNetworkVlan to the update network vlan params

func (*UpdateNetworkVlanParams) WithVlanID

WithVlanID adds the vlanID to the update network vlan params

func (*UpdateNetworkVlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkVlanReader

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

UpdateNetworkVlanReader is a Reader for the UpdateNetworkVlan structure.

func (*UpdateNetworkVlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNetworkVlansEnabledStateOK

type UpdateNetworkVlansEnabledStateOK struct {
	Payload interface{}
}

UpdateNetworkVlansEnabledStateOK handles this case with default header values.

Successful operation

func NewUpdateNetworkVlansEnabledStateOK

func NewUpdateNetworkVlansEnabledStateOK() *UpdateNetworkVlansEnabledStateOK

NewUpdateNetworkVlansEnabledStateOK creates a UpdateNetworkVlansEnabledStateOK with default headers values

func (*UpdateNetworkVlansEnabledStateOK) Error

func (*UpdateNetworkVlansEnabledStateOK) GetPayload

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

type UpdateNetworkVlansEnabledStateParams

type UpdateNetworkVlansEnabledStateParams struct {

	/*NetworkID*/
	NetworkID string
	/*UpdateNetworkVlansEnabledState*/
	UpdateNetworkVlansEnabledState *models.UpdateNetworkVlansEnabledState

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

UpdateNetworkVlansEnabledStateParams contains all the parameters to send to the API endpoint for the update network vlans enabled state operation typically these are written to a http.Request

func NewUpdateNetworkVlansEnabledStateParams

func NewUpdateNetworkVlansEnabledStateParams() *UpdateNetworkVlansEnabledStateParams

NewUpdateNetworkVlansEnabledStateParams creates a new UpdateNetworkVlansEnabledStateParams object with the default values initialized.

func NewUpdateNetworkVlansEnabledStateParamsWithContext

func NewUpdateNetworkVlansEnabledStateParamsWithContext(ctx context.Context) *UpdateNetworkVlansEnabledStateParams

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

func NewUpdateNetworkVlansEnabledStateParamsWithHTTPClient

func NewUpdateNetworkVlansEnabledStateParamsWithHTTPClient(client *http.Client) *UpdateNetworkVlansEnabledStateParams

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

func NewUpdateNetworkVlansEnabledStateParamsWithTimeout

func NewUpdateNetworkVlansEnabledStateParamsWithTimeout(timeout time.Duration) *UpdateNetworkVlansEnabledStateParams

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

func (*UpdateNetworkVlansEnabledStateParams) SetContext

SetContext adds the context to the update network vlans enabled state params

func (*UpdateNetworkVlansEnabledStateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update network vlans enabled state params

func (*UpdateNetworkVlansEnabledStateParams) SetNetworkID

func (o *UpdateNetworkVlansEnabledStateParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network vlans enabled state params

func (*UpdateNetworkVlansEnabledStateParams) SetTimeout

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

SetTimeout adds the timeout to the update network vlans enabled state params

func (*UpdateNetworkVlansEnabledStateParams) SetUpdateNetworkVlansEnabledState

func (o *UpdateNetworkVlansEnabledStateParams) SetUpdateNetworkVlansEnabledState(updateNetworkVlansEnabledState *models.UpdateNetworkVlansEnabledState)

SetUpdateNetworkVlansEnabledState adds the updateNetworkVlansEnabledState to the update network vlans enabled state params

func (*UpdateNetworkVlansEnabledStateParams) WithContext

WithContext adds the context to the update network vlans enabled state params

func (*UpdateNetworkVlansEnabledStateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network vlans enabled state params

func (*UpdateNetworkVlansEnabledStateParams) WithNetworkID

WithNetworkID adds the networkID to the update network vlans enabled state params

func (*UpdateNetworkVlansEnabledStateParams) WithTimeout

WithTimeout adds the timeout to the update network vlans enabled state params

func (*UpdateNetworkVlansEnabledStateParams) WithUpdateNetworkVlansEnabledState

func (o *UpdateNetworkVlansEnabledStateParams) WithUpdateNetworkVlansEnabledState(updateNetworkVlansEnabledState *models.UpdateNetworkVlansEnabledState) *UpdateNetworkVlansEnabledStateParams

WithUpdateNetworkVlansEnabledState adds the updateNetworkVlansEnabledState to the update network vlans enabled state params

func (*UpdateNetworkVlansEnabledStateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkVlansEnabledStateReader

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

UpdateNetworkVlansEnabledStateReader is a Reader for the UpdateNetworkVlansEnabledState structure.

func (*UpdateNetworkVlansEnabledStateReader) ReadResponse

func (o *UpdateNetworkVlansEnabledStateReader) 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