Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateNetworkVlan(params *CreateNetworkVlanParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNetworkVlanCreated, error)
- func (a *Client) DeleteNetworkVlan(params *DeleteNetworkVlanParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNetworkVlanNoContent, error)
- func (a *Client) GetNetworkVlan(params *GetNetworkVlanParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkVlanOK, error)
- func (a *Client) GetNetworkVlans(params *GetNetworkVlansParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkVlansOK, error)
- func (a *Client) GetNetworkVlansEnabledState(params *GetNetworkVlansEnabledStateParams, ...) (*GetNetworkVlansEnabledStateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNetworkVlan(params *UpdateNetworkVlanParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkVlanOK, error)
- func (a *Client) UpdateNetworkVlansEnabledState(params *UpdateNetworkVlansEnabledStateParams, ...) (*UpdateNetworkVlansEnabledStateOK, error)
- type ClientService
- type CreateNetworkVlanCreated
- type CreateNetworkVlanParams
- func NewCreateNetworkVlanParams() *CreateNetworkVlanParams
- func NewCreateNetworkVlanParamsWithContext(ctx context.Context) *CreateNetworkVlanParams
- func NewCreateNetworkVlanParamsWithHTTPClient(client *http.Client) *CreateNetworkVlanParams
- func NewCreateNetworkVlanParamsWithTimeout(timeout time.Duration) *CreateNetworkVlanParams
- func (o *CreateNetworkVlanParams) SetContext(ctx context.Context)
- func (o *CreateNetworkVlanParams) SetCreateNetworkVlan(createNetworkVlan *models.CreateNetworkVlan)
- func (o *CreateNetworkVlanParams) SetHTTPClient(client *http.Client)
- func (o *CreateNetworkVlanParams) SetNetworkID(networkID string)
- func (o *CreateNetworkVlanParams) SetTimeout(timeout time.Duration)
- func (o *CreateNetworkVlanParams) WithContext(ctx context.Context) *CreateNetworkVlanParams
- func (o *CreateNetworkVlanParams) WithCreateNetworkVlan(createNetworkVlan *models.CreateNetworkVlan) *CreateNetworkVlanParams
- func (o *CreateNetworkVlanParams) WithHTTPClient(client *http.Client) *CreateNetworkVlanParams
- func (o *CreateNetworkVlanParams) WithNetworkID(networkID string) *CreateNetworkVlanParams
- func (o *CreateNetworkVlanParams) WithTimeout(timeout time.Duration) *CreateNetworkVlanParams
- func (o *CreateNetworkVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNetworkVlanReader
- type DeleteNetworkVlanNoContent
- type DeleteNetworkVlanParams
- func NewDeleteNetworkVlanParams() *DeleteNetworkVlanParams
- func NewDeleteNetworkVlanParamsWithContext(ctx context.Context) *DeleteNetworkVlanParams
- func NewDeleteNetworkVlanParamsWithHTTPClient(client *http.Client) *DeleteNetworkVlanParams
- func NewDeleteNetworkVlanParamsWithTimeout(timeout time.Duration) *DeleteNetworkVlanParams
- func (o *DeleteNetworkVlanParams) SetContext(ctx context.Context)
- func (o *DeleteNetworkVlanParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNetworkVlanParams) SetNetworkID(networkID string)
- func (o *DeleteNetworkVlanParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNetworkVlanParams) SetVlanID(vlanID string)
- func (o *DeleteNetworkVlanParams) WithContext(ctx context.Context) *DeleteNetworkVlanParams
- func (o *DeleteNetworkVlanParams) WithHTTPClient(client *http.Client) *DeleteNetworkVlanParams
- func (o *DeleteNetworkVlanParams) WithNetworkID(networkID string) *DeleteNetworkVlanParams
- func (o *DeleteNetworkVlanParams) WithTimeout(timeout time.Duration) *DeleteNetworkVlanParams
- func (o *DeleteNetworkVlanParams) WithVlanID(vlanID string) *DeleteNetworkVlanParams
- func (o *DeleteNetworkVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNetworkVlanReader
- type GetNetworkVlanOK
- type GetNetworkVlanParams
- func NewGetNetworkVlanParams() *GetNetworkVlanParams
- func NewGetNetworkVlanParamsWithContext(ctx context.Context) *GetNetworkVlanParams
- func NewGetNetworkVlanParamsWithHTTPClient(client *http.Client) *GetNetworkVlanParams
- func NewGetNetworkVlanParamsWithTimeout(timeout time.Duration) *GetNetworkVlanParams
- func (o *GetNetworkVlanParams) SetContext(ctx context.Context)
- func (o *GetNetworkVlanParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkVlanParams) SetNetworkID(networkID string)
- func (o *GetNetworkVlanParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkVlanParams) SetVlanID(vlanID string)
- func (o *GetNetworkVlanParams) WithContext(ctx context.Context) *GetNetworkVlanParams
- func (o *GetNetworkVlanParams) WithHTTPClient(client *http.Client) *GetNetworkVlanParams
- func (o *GetNetworkVlanParams) WithNetworkID(networkID string) *GetNetworkVlanParams
- func (o *GetNetworkVlanParams) WithTimeout(timeout time.Duration) *GetNetworkVlanParams
- func (o *GetNetworkVlanParams) WithVlanID(vlanID string) *GetNetworkVlanParams
- func (o *GetNetworkVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkVlanReader
- type GetNetworkVlansEnabledStateOK
- type GetNetworkVlansEnabledStateParams
- func NewGetNetworkVlansEnabledStateParams() *GetNetworkVlansEnabledStateParams
- func NewGetNetworkVlansEnabledStateParamsWithContext(ctx context.Context) *GetNetworkVlansEnabledStateParams
- func NewGetNetworkVlansEnabledStateParamsWithHTTPClient(client *http.Client) *GetNetworkVlansEnabledStateParams
- func NewGetNetworkVlansEnabledStateParamsWithTimeout(timeout time.Duration) *GetNetworkVlansEnabledStateParams
- func (o *GetNetworkVlansEnabledStateParams) SetContext(ctx context.Context)
- func (o *GetNetworkVlansEnabledStateParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkVlansEnabledStateParams) SetNetworkID(networkID string)
- func (o *GetNetworkVlansEnabledStateParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkVlansEnabledStateParams) WithContext(ctx context.Context) *GetNetworkVlansEnabledStateParams
- func (o *GetNetworkVlansEnabledStateParams) WithHTTPClient(client *http.Client) *GetNetworkVlansEnabledStateParams
- func (o *GetNetworkVlansEnabledStateParams) WithNetworkID(networkID string) *GetNetworkVlansEnabledStateParams
- func (o *GetNetworkVlansEnabledStateParams) WithTimeout(timeout time.Duration) *GetNetworkVlansEnabledStateParams
- func (o *GetNetworkVlansEnabledStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkVlansEnabledStateReader
- type GetNetworkVlansOK
- type GetNetworkVlansParams
- func NewGetNetworkVlansParams() *GetNetworkVlansParams
- func NewGetNetworkVlansParamsWithContext(ctx context.Context) *GetNetworkVlansParams
- func NewGetNetworkVlansParamsWithHTTPClient(client *http.Client) *GetNetworkVlansParams
- func NewGetNetworkVlansParamsWithTimeout(timeout time.Duration) *GetNetworkVlansParams
- func (o *GetNetworkVlansParams) SetContext(ctx context.Context)
- func (o *GetNetworkVlansParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkVlansParams) SetNetworkID(networkID string)
- func (o *GetNetworkVlansParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkVlansParams) WithContext(ctx context.Context) *GetNetworkVlansParams
- func (o *GetNetworkVlansParams) WithHTTPClient(client *http.Client) *GetNetworkVlansParams
- func (o *GetNetworkVlansParams) WithNetworkID(networkID string) *GetNetworkVlansParams
- func (o *GetNetworkVlansParams) WithTimeout(timeout time.Duration) *GetNetworkVlansParams
- func (o *GetNetworkVlansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkVlansReader
- type UpdateNetworkVlanOK
- type UpdateNetworkVlanParams
- func NewUpdateNetworkVlanParams() *UpdateNetworkVlanParams
- func NewUpdateNetworkVlanParamsWithContext(ctx context.Context) *UpdateNetworkVlanParams
- func NewUpdateNetworkVlanParamsWithHTTPClient(client *http.Client) *UpdateNetworkVlanParams
- func NewUpdateNetworkVlanParamsWithTimeout(timeout time.Duration) *UpdateNetworkVlanParams
- func (o *UpdateNetworkVlanParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkVlanParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkVlanParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkVlanParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkVlanParams) SetUpdateNetworkVlan(updateNetworkVlan *models.UpdateNetworkVlan)
- func (o *UpdateNetworkVlanParams) SetVlanID(vlanID string)
- func (o *UpdateNetworkVlanParams) WithContext(ctx context.Context) *UpdateNetworkVlanParams
- func (o *UpdateNetworkVlanParams) WithHTTPClient(client *http.Client) *UpdateNetworkVlanParams
- func (o *UpdateNetworkVlanParams) WithNetworkID(networkID string) *UpdateNetworkVlanParams
- func (o *UpdateNetworkVlanParams) WithTimeout(timeout time.Duration) *UpdateNetworkVlanParams
- func (o *UpdateNetworkVlanParams) WithUpdateNetworkVlan(updateNetworkVlan *models.UpdateNetworkVlan) *UpdateNetworkVlanParams
- func (o *UpdateNetworkVlanParams) WithVlanID(vlanID string) *UpdateNetworkVlanParams
- func (o *UpdateNetworkVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkVlanReader
- type UpdateNetworkVlansEnabledStateOK
- type UpdateNetworkVlansEnabledStateParams
- func NewUpdateNetworkVlansEnabledStateParams() *UpdateNetworkVlansEnabledStateParams
- func NewUpdateNetworkVlansEnabledStateParamsWithContext(ctx context.Context) *UpdateNetworkVlansEnabledStateParams
- func NewUpdateNetworkVlansEnabledStateParamsWithHTTPClient(client *http.Client) *UpdateNetworkVlansEnabledStateParams
- func NewUpdateNetworkVlansEnabledStateParamsWithTimeout(timeout time.Duration) *UpdateNetworkVlansEnabledStateParams
- func (o *UpdateNetworkVlansEnabledStateParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkVlansEnabledStateParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkVlansEnabledStateParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkVlansEnabledStateParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkVlansEnabledStateParams) SetUpdateNetworkVlansEnabledState(updateNetworkVlansEnabledState *models.UpdateNetworkVlansEnabledState)
- func (o *UpdateNetworkVlansEnabledStateParams) WithContext(ctx context.Context) *UpdateNetworkVlansEnabledStateParams
- func (o *UpdateNetworkVlansEnabledStateParams) WithHTTPClient(client *http.Client) *UpdateNetworkVlansEnabledStateParams
- func (o *UpdateNetworkVlansEnabledStateParams) WithNetworkID(networkID string) *UpdateNetworkVlansEnabledStateParams
- func (o *UpdateNetworkVlansEnabledStateParams) WithTimeout(timeout time.Duration) *UpdateNetworkVlansEnabledStateParams
- func (o *UpdateNetworkVlansEnabledStateParams) WithUpdateNetworkVlansEnabledState(updateNetworkVlansEnabledState *models.UpdateNetworkVlansEnabledState) *UpdateNetworkVlansEnabledStateParams
- func (o *UpdateNetworkVlansEnabledStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkVlansEnabledStateReader
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 ¶
func (o *CreateNetworkVlanParams) WithContext(ctx context.Context) *CreateNetworkVlanParams
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 ¶
func (o *CreateNetworkVlanParams) WithTimeout(timeout time.Duration) *CreateNetworkVlanParams
WithTimeout adds the timeout to the create network vlan params
func (*CreateNetworkVlanParams) WriteToRequest ¶
func (o *CreateNetworkVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteNetworkVlanNoContent) Error() string
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 ¶
func (o *DeleteNetworkVlanParams) WithContext(ctx context.Context) *DeleteNetworkVlanParams
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 ¶
func (o *DeleteNetworkVlanParams) WithTimeout(timeout time.Duration) *DeleteNetworkVlanParams
WithTimeout adds the timeout to the delete network vlan params
func (*DeleteNetworkVlanParams) WithVlanID ¶
func (o *DeleteNetworkVlanParams) WithVlanID(vlanID string) *DeleteNetworkVlanParams
WithVlanID adds the vlanID to the delete network vlan params
func (*DeleteNetworkVlanParams) WriteToRequest ¶
func (o *DeleteNetworkVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetNetworkVlanParams) WithContext(ctx context.Context) *GetNetworkVlanParams
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 (o *GetNetworkVlansEnabledStateOK) Error() string
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 ¶
func (o *GetNetworkVlansEnabledStateParams) SetContext(ctx context.Context)
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 ¶
func (o *GetNetworkVlansEnabledStateParams) WithContext(ctx context.Context) *GetNetworkVlansEnabledStateParams
WithContext adds the context to the get network vlans enabled state params
func (*GetNetworkVlansEnabledStateParams) WithHTTPClient ¶
func (o *GetNetworkVlansEnabledStateParams) WithHTTPClient(client *http.Client) *GetNetworkVlansEnabledStateParams
WithHTTPClient adds the HTTPClient to the get network vlans enabled state params
func (*GetNetworkVlansEnabledStateParams) WithNetworkID ¶
func (o *GetNetworkVlansEnabledStateParams) WithNetworkID(networkID string) *GetNetworkVlansEnabledStateParams
WithNetworkID adds the networkID to the get network vlans enabled state params
func (*GetNetworkVlansEnabledStateParams) WithTimeout ¶
func (o *GetNetworkVlansEnabledStateParams) WithTimeout(timeout time.Duration) *GetNetworkVlansEnabledStateParams
WithTimeout adds the timeout to the get network vlans enabled state params
func (*GetNetworkVlansEnabledStateParams) WriteToRequest ¶
func (o *GetNetworkVlansEnabledStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetNetworkVlansParams) WithContext(ctx context.Context) *GetNetworkVlansParams
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 ¶
func (o *UpdateNetworkVlanParams) WithContext(ctx context.Context) *UpdateNetworkVlanParams
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 ¶
func (o *UpdateNetworkVlanParams) WithTimeout(timeout time.Duration) *UpdateNetworkVlanParams
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 ¶
func (o *UpdateNetworkVlanParams) WithVlanID(vlanID string) *UpdateNetworkVlanParams
WithVlanID adds the vlanID to the update network vlan params
func (*UpdateNetworkVlanParams) WriteToRequest ¶
func (o *UpdateNetworkVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *UpdateNetworkVlansEnabledStateOK) Error() string
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 ¶
func (o *UpdateNetworkVlansEnabledStateParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateNetworkVlansEnabledStateParams) WithContext(ctx context.Context) *UpdateNetworkVlansEnabledStateParams
WithContext adds the context to the update network vlans enabled state params
func (*UpdateNetworkVlansEnabledStateParams) WithHTTPClient ¶
func (o *UpdateNetworkVlansEnabledStateParams) WithHTTPClient(client *http.Client) *UpdateNetworkVlansEnabledStateParams
WithHTTPClient adds the HTTPClient to the update network vlans enabled state params
func (*UpdateNetworkVlansEnabledStateParams) WithNetworkID ¶
func (o *UpdateNetworkVlansEnabledStateParams) WithNetworkID(networkID string) *UpdateNetworkVlansEnabledStateParams
WithNetworkID adds the networkID to the update network vlans enabled state params
func (*UpdateNetworkVlansEnabledStateParams) WithTimeout ¶
func (o *UpdateNetworkVlansEnabledStateParams) WithTimeout(timeout time.Duration) *UpdateNetworkVlansEnabledStateParams
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 ¶
func (o *UpdateNetworkVlansEnabledStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- create_network_vlan_parameters.go
- create_network_vlan_responses.go
- delete_network_vlan_parameters.go
- delete_network_vlan_responses.go
- get_network_vlan_parameters.go
- get_network_vlan_responses.go
- get_network_vlans_enabled_state_parameters.go
- get_network_vlans_enabled_state_responses.go
- get_network_vlans_parameters.go
- get_network_vlans_responses.go
- update_network_vlan_parameters.go
- update_network_vlan_responses.go
- update_network_vlans_enabled_state_parameters.go
- update_network_vlans_enabled_state_responses.go
- vla_ns_client.go