switch_stacks

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 AddNetworkSwitchStackOK

type AddNetworkSwitchStackOK struct {
	Payload interface{}
}

AddNetworkSwitchStackOK handles this case with default header values.

Successful operation

func NewAddNetworkSwitchStackOK

func NewAddNetworkSwitchStackOK() *AddNetworkSwitchStackOK

NewAddNetworkSwitchStackOK creates a AddNetworkSwitchStackOK with default headers values

func (*AddNetworkSwitchStackOK) Error

func (o *AddNetworkSwitchStackOK) Error() string

func (*AddNetworkSwitchStackOK) GetPayload

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

type AddNetworkSwitchStackParams

type AddNetworkSwitchStackParams struct {

	/*AddNetworkSwitchStack*/
	AddNetworkSwitchStack *models.AddNetworkSwitchStack
	/*NetworkID*/
	NetworkID string
	/*SwitchStackID*/
	SwitchStackID string

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

AddNetworkSwitchStackParams contains all the parameters to send to the API endpoint for the add network switch stack operation typically these are written to a http.Request

func NewAddNetworkSwitchStackParams

func NewAddNetworkSwitchStackParams() *AddNetworkSwitchStackParams

NewAddNetworkSwitchStackParams creates a new AddNetworkSwitchStackParams object with the default values initialized.

func NewAddNetworkSwitchStackParamsWithContext

func NewAddNetworkSwitchStackParamsWithContext(ctx context.Context) *AddNetworkSwitchStackParams

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

func NewAddNetworkSwitchStackParamsWithHTTPClient

func NewAddNetworkSwitchStackParamsWithHTTPClient(client *http.Client) *AddNetworkSwitchStackParams

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

func NewAddNetworkSwitchStackParamsWithTimeout

func NewAddNetworkSwitchStackParamsWithTimeout(timeout time.Duration) *AddNetworkSwitchStackParams

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

func (*AddNetworkSwitchStackParams) SetAddNetworkSwitchStack

func (o *AddNetworkSwitchStackParams) SetAddNetworkSwitchStack(addNetworkSwitchStack *models.AddNetworkSwitchStack)

SetAddNetworkSwitchStack adds the addNetworkSwitchStack to the add network switch stack params

func (*AddNetworkSwitchStackParams) SetContext

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

SetContext adds the context to the add network switch stack params

func (*AddNetworkSwitchStackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add network switch stack params

func (*AddNetworkSwitchStackParams) SetNetworkID

func (o *AddNetworkSwitchStackParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the add network switch stack params

func (*AddNetworkSwitchStackParams) SetSwitchStackID

func (o *AddNetworkSwitchStackParams) SetSwitchStackID(switchStackID string)

SetSwitchStackID adds the switchStackId to the add network switch stack params

func (*AddNetworkSwitchStackParams) SetTimeout

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

SetTimeout adds the timeout to the add network switch stack params

func (*AddNetworkSwitchStackParams) WithAddNetworkSwitchStack

func (o *AddNetworkSwitchStackParams) WithAddNetworkSwitchStack(addNetworkSwitchStack *models.AddNetworkSwitchStack) *AddNetworkSwitchStackParams

WithAddNetworkSwitchStack adds the addNetworkSwitchStack to the add network switch stack params

func (*AddNetworkSwitchStackParams) WithContext

WithContext adds the context to the add network switch stack params

func (*AddNetworkSwitchStackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add network switch stack params

func (*AddNetworkSwitchStackParams) WithNetworkID

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

WithNetworkID adds the networkID to the add network switch stack params

func (*AddNetworkSwitchStackParams) WithSwitchStackID

func (o *AddNetworkSwitchStackParams) WithSwitchStackID(switchStackID string) *AddNetworkSwitchStackParams

WithSwitchStackID adds the switchStackID to the add network switch stack params

func (*AddNetworkSwitchStackParams) WithTimeout

WithTimeout adds the timeout to the add network switch stack params

func (*AddNetworkSwitchStackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddNetworkSwitchStackReader

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

AddNetworkSwitchStackReader is a Reader for the AddNetworkSwitchStack structure.

func (*AddNetworkSwitchStackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for switch stacks API

func (*Client) AddNetworkSwitchStack

func (a *Client) AddNetworkSwitchStack(params *AddNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter) (*AddNetworkSwitchStackOK, error)

AddNetworkSwitchStack adds network switch stack

Add a switch to a stack

func (*Client) CreateNetworkSwitchStack

CreateNetworkSwitchStack creates network switch stack

Create a stack

func (*Client) DeleteNetworkSwitchStack

DeleteNetworkSwitchStack deletes network switch stack

Delete a stack

func (*Client) GetNetworkSwitchStack

func (a *Client) GetNetworkSwitchStack(params *GetNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkSwitchStackOK, error)

GetNetworkSwitchStack gets network switch stack

Show a switch stack

func (*Client) GetNetworkSwitchStacks

func (a *Client) GetNetworkSwitchStacks(params *GetNetworkSwitchStacksParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkSwitchStacksOK, error)

GetNetworkSwitchStacks gets network switch stacks

List the switch stacks in a network

func (*Client) RemoveNetworkSwitchStack

func (a *Client) RemoveNetworkSwitchStack(params *RemoveNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveNetworkSwitchStackOK, error)

RemoveNetworkSwitchStack removes network switch stack

Remove a switch from a stack

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AddNetworkSwitchStack(params *AddNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter) (*AddNetworkSwitchStackOK, error)

	CreateNetworkSwitchStack(params *CreateNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNetworkSwitchStackCreated, error)

	DeleteNetworkSwitchStack(params *DeleteNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNetworkSwitchStackNoContent, error)

	GetNetworkSwitchStack(params *GetNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkSwitchStackOK, error)

	GetNetworkSwitchStacks(params *GetNetworkSwitchStacksParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkSwitchStacksOK, error)

	RemoveNetworkSwitchStack(params *RemoveNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter) (*RemoveNetworkSwitchStackOK, 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 switch stacks API client.

type CreateNetworkSwitchStackCreated

type CreateNetworkSwitchStackCreated struct {
	Payload interface{}
}

CreateNetworkSwitchStackCreated handles this case with default header values.

Successful operation

func NewCreateNetworkSwitchStackCreated

func NewCreateNetworkSwitchStackCreated() *CreateNetworkSwitchStackCreated

NewCreateNetworkSwitchStackCreated creates a CreateNetworkSwitchStackCreated with default headers values

func (*CreateNetworkSwitchStackCreated) Error

func (*CreateNetworkSwitchStackCreated) GetPayload

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

type CreateNetworkSwitchStackParams

type CreateNetworkSwitchStackParams struct {

	/*CreateNetworkSwitchStack*/
	CreateNetworkSwitchStack *models.CreateNetworkSwitchStack
	/*NetworkID*/
	NetworkID string

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

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

func NewCreateNetworkSwitchStackParams

func NewCreateNetworkSwitchStackParams() *CreateNetworkSwitchStackParams

NewCreateNetworkSwitchStackParams creates a new CreateNetworkSwitchStackParams object with the default values initialized.

func NewCreateNetworkSwitchStackParamsWithContext

func NewCreateNetworkSwitchStackParamsWithContext(ctx context.Context) *CreateNetworkSwitchStackParams

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

func NewCreateNetworkSwitchStackParamsWithHTTPClient

func NewCreateNetworkSwitchStackParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchStackParams

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

func NewCreateNetworkSwitchStackParamsWithTimeout

func NewCreateNetworkSwitchStackParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchStackParams

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

func (*CreateNetworkSwitchStackParams) SetContext

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

SetContext adds the context to the create network switch stack params

func (*CreateNetworkSwitchStackParams) SetCreateNetworkSwitchStack

func (o *CreateNetworkSwitchStackParams) SetCreateNetworkSwitchStack(createNetworkSwitchStack *models.CreateNetworkSwitchStack)

SetCreateNetworkSwitchStack adds the createNetworkSwitchStack to the create network switch stack params

func (*CreateNetworkSwitchStackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create network switch stack params

func (*CreateNetworkSwitchStackParams) SetNetworkID

func (o *CreateNetworkSwitchStackParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the create network switch stack params

func (*CreateNetworkSwitchStackParams) SetTimeout

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

SetTimeout adds the timeout to the create network switch stack params

func (*CreateNetworkSwitchStackParams) WithContext

WithContext adds the context to the create network switch stack params

func (*CreateNetworkSwitchStackParams) WithCreateNetworkSwitchStack

func (o *CreateNetworkSwitchStackParams) WithCreateNetworkSwitchStack(createNetworkSwitchStack *models.CreateNetworkSwitchStack) *CreateNetworkSwitchStackParams

WithCreateNetworkSwitchStack adds the createNetworkSwitchStack to the create network switch stack params

func (*CreateNetworkSwitchStackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create network switch stack params

func (*CreateNetworkSwitchStackParams) WithNetworkID

WithNetworkID adds the networkID to the create network switch stack params

func (*CreateNetworkSwitchStackParams) WithTimeout

WithTimeout adds the timeout to the create network switch stack params

func (*CreateNetworkSwitchStackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNetworkSwitchStackReader

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

CreateNetworkSwitchStackReader is a Reader for the CreateNetworkSwitchStack structure.

func (*CreateNetworkSwitchStackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNetworkSwitchStackNoContent

type DeleteNetworkSwitchStackNoContent struct {
}

DeleteNetworkSwitchStackNoContent handles this case with default header values.

Successful operation

func NewDeleteNetworkSwitchStackNoContent

func NewDeleteNetworkSwitchStackNoContent() *DeleteNetworkSwitchStackNoContent

NewDeleteNetworkSwitchStackNoContent creates a DeleteNetworkSwitchStackNoContent with default headers values

func (*DeleteNetworkSwitchStackNoContent) Error

type DeleteNetworkSwitchStackParams

type DeleteNetworkSwitchStackParams struct {

	/*NetworkID*/
	NetworkID string
	/*SwitchStackID*/
	SwitchStackID string

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

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

func NewDeleteNetworkSwitchStackParams

func NewDeleteNetworkSwitchStackParams() *DeleteNetworkSwitchStackParams

NewDeleteNetworkSwitchStackParams creates a new DeleteNetworkSwitchStackParams object with the default values initialized.

func NewDeleteNetworkSwitchStackParamsWithContext

func NewDeleteNetworkSwitchStackParamsWithContext(ctx context.Context) *DeleteNetworkSwitchStackParams

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

func NewDeleteNetworkSwitchStackParamsWithHTTPClient

func NewDeleteNetworkSwitchStackParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchStackParams

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

func NewDeleteNetworkSwitchStackParamsWithTimeout

func NewDeleteNetworkSwitchStackParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchStackParams

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

func (*DeleteNetworkSwitchStackParams) SetContext

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

SetContext adds the context to the delete network switch stack params

func (*DeleteNetworkSwitchStackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete network switch stack params

func (*DeleteNetworkSwitchStackParams) SetNetworkID

func (o *DeleteNetworkSwitchStackParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the delete network switch stack params

func (*DeleteNetworkSwitchStackParams) SetSwitchStackID

func (o *DeleteNetworkSwitchStackParams) SetSwitchStackID(switchStackID string)

SetSwitchStackID adds the switchStackId to the delete network switch stack params

func (*DeleteNetworkSwitchStackParams) SetTimeout

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

SetTimeout adds the timeout to the delete network switch stack params

func (*DeleteNetworkSwitchStackParams) WithContext

WithContext adds the context to the delete network switch stack params

func (*DeleteNetworkSwitchStackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete network switch stack params

func (*DeleteNetworkSwitchStackParams) WithNetworkID

WithNetworkID adds the networkID to the delete network switch stack params

func (*DeleteNetworkSwitchStackParams) WithSwitchStackID

func (o *DeleteNetworkSwitchStackParams) WithSwitchStackID(switchStackID string) *DeleteNetworkSwitchStackParams

WithSwitchStackID adds the switchStackID to the delete network switch stack params

func (*DeleteNetworkSwitchStackParams) WithTimeout

WithTimeout adds the timeout to the delete network switch stack params

func (*DeleteNetworkSwitchStackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNetworkSwitchStackReader

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

DeleteNetworkSwitchStackReader is a Reader for the DeleteNetworkSwitchStack structure.

func (*DeleteNetworkSwitchStackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNetworkSwitchStackOK

type GetNetworkSwitchStackOK struct {
	Payload interface{}
}

GetNetworkSwitchStackOK handles this case with default header values.

Successful operation

func NewGetNetworkSwitchStackOK

func NewGetNetworkSwitchStackOK() *GetNetworkSwitchStackOK

NewGetNetworkSwitchStackOK creates a GetNetworkSwitchStackOK with default headers values

func (*GetNetworkSwitchStackOK) Error

func (o *GetNetworkSwitchStackOK) Error() string

func (*GetNetworkSwitchStackOK) GetPayload

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

type GetNetworkSwitchStackParams

type GetNetworkSwitchStackParams struct {

	/*NetworkID*/
	NetworkID string
	/*SwitchStackID*/
	SwitchStackID string

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

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

func NewGetNetworkSwitchStackParams

func NewGetNetworkSwitchStackParams() *GetNetworkSwitchStackParams

NewGetNetworkSwitchStackParams creates a new GetNetworkSwitchStackParams object with the default values initialized.

func NewGetNetworkSwitchStackParamsWithContext

func NewGetNetworkSwitchStackParamsWithContext(ctx context.Context) *GetNetworkSwitchStackParams

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

func NewGetNetworkSwitchStackParamsWithHTTPClient

func NewGetNetworkSwitchStackParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStackParams

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

func NewGetNetworkSwitchStackParamsWithTimeout

func NewGetNetworkSwitchStackParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStackParams

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

func (*GetNetworkSwitchStackParams) SetContext

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

SetContext adds the context to the get network switch stack params

func (*GetNetworkSwitchStackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get network switch stack params

func (*GetNetworkSwitchStackParams) SetNetworkID

func (o *GetNetworkSwitchStackParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch stack params

func (*GetNetworkSwitchStackParams) SetSwitchStackID

func (o *GetNetworkSwitchStackParams) SetSwitchStackID(switchStackID string)

SetSwitchStackID adds the switchStackId to the get network switch stack params

func (*GetNetworkSwitchStackParams) SetTimeout

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

SetTimeout adds the timeout to the get network switch stack params

func (*GetNetworkSwitchStackParams) WithContext

WithContext adds the context to the get network switch stack params

func (*GetNetworkSwitchStackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch stack params

func (*GetNetworkSwitchStackParams) WithNetworkID

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

WithNetworkID adds the networkID to the get network switch stack params

func (*GetNetworkSwitchStackParams) WithSwitchStackID

func (o *GetNetworkSwitchStackParams) WithSwitchStackID(switchStackID string) *GetNetworkSwitchStackParams

WithSwitchStackID adds the switchStackID to the get network switch stack params

func (*GetNetworkSwitchStackParams) WithTimeout

WithTimeout adds the timeout to the get network switch stack params

func (*GetNetworkSwitchStackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchStackReader

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

GetNetworkSwitchStackReader is a Reader for the GetNetworkSwitchStack structure.

func (*GetNetworkSwitchStackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNetworkSwitchStacksOK

type GetNetworkSwitchStacksOK struct {
	Payload interface{}
}

GetNetworkSwitchStacksOK handles this case with default header values.

Successful operation

func NewGetNetworkSwitchStacksOK

func NewGetNetworkSwitchStacksOK() *GetNetworkSwitchStacksOK

NewGetNetworkSwitchStacksOK creates a GetNetworkSwitchStacksOK with default headers values

func (*GetNetworkSwitchStacksOK) Error

func (o *GetNetworkSwitchStacksOK) Error() string

func (*GetNetworkSwitchStacksOK) GetPayload

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

type GetNetworkSwitchStacksParams

type GetNetworkSwitchStacksParams struct {

	/*NetworkID*/
	NetworkID string

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

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

func NewGetNetworkSwitchStacksParams

func NewGetNetworkSwitchStacksParams() *GetNetworkSwitchStacksParams

NewGetNetworkSwitchStacksParams creates a new GetNetworkSwitchStacksParams object with the default values initialized.

func NewGetNetworkSwitchStacksParamsWithContext

func NewGetNetworkSwitchStacksParamsWithContext(ctx context.Context) *GetNetworkSwitchStacksParams

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

func NewGetNetworkSwitchStacksParamsWithHTTPClient

func NewGetNetworkSwitchStacksParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStacksParams

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

func NewGetNetworkSwitchStacksParamsWithTimeout

func NewGetNetworkSwitchStacksParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStacksParams

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

func (*GetNetworkSwitchStacksParams) SetContext

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

SetContext adds the context to the get network switch stacks params

func (*GetNetworkSwitchStacksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get network switch stacks params

func (*GetNetworkSwitchStacksParams) SetNetworkID

func (o *GetNetworkSwitchStacksParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch stacks params

func (*GetNetworkSwitchStacksParams) SetTimeout

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

SetTimeout adds the timeout to the get network switch stacks params

func (*GetNetworkSwitchStacksParams) WithContext

WithContext adds the context to the get network switch stacks params

func (*GetNetworkSwitchStacksParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch stacks params

func (*GetNetworkSwitchStacksParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch stacks params

func (*GetNetworkSwitchStacksParams) WithTimeout

WithTimeout adds the timeout to the get network switch stacks params

func (*GetNetworkSwitchStacksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchStacksReader

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

GetNetworkSwitchStacksReader is a Reader for the GetNetworkSwitchStacks structure.

func (*GetNetworkSwitchStacksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveNetworkSwitchStackOK

type RemoveNetworkSwitchStackOK struct {
	Payload interface{}
}

RemoveNetworkSwitchStackOK handles this case with default header values.

Successful operation

func NewRemoveNetworkSwitchStackOK

func NewRemoveNetworkSwitchStackOK() *RemoveNetworkSwitchStackOK

NewRemoveNetworkSwitchStackOK creates a RemoveNetworkSwitchStackOK with default headers values

func (*RemoveNetworkSwitchStackOK) Error

func (*RemoveNetworkSwitchStackOK) GetPayload

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

type RemoveNetworkSwitchStackParams

type RemoveNetworkSwitchStackParams struct {

	/*NetworkID*/
	NetworkID string
	/*RemoveNetworkSwitchStack*/
	RemoveNetworkSwitchStack *models.RemoveNetworkSwitchStack
	/*SwitchStackID*/
	SwitchStackID string

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

RemoveNetworkSwitchStackParams contains all the parameters to send to the API endpoint for the remove network switch stack operation typically these are written to a http.Request

func NewRemoveNetworkSwitchStackParams

func NewRemoveNetworkSwitchStackParams() *RemoveNetworkSwitchStackParams

NewRemoveNetworkSwitchStackParams creates a new RemoveNetworkSwitchStackParams object with the default values initialized.

func NewRemoveNetworkSwitchStackParamsWithContext

func NewRemoveNetworkSwitchStackParamsWithContext(ctx context.Context) *RemoveNetworkSwitchStackParams

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

func NewRemoveNetworkSwitchStackParamsWithHTTPClient

func NewRemoveNetworkSwitchStackParamsWithHTTPClient(client *http.Client) *RemoveNetworkSwitchStackParams

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

func NewRemoveNetworkSwitchStackParamsWithTimeout

func NewRemoveNetworkSwitchStackParamsWithTimeout(timeout time.Duration) *RemoveNetworkSwitchStackParams

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

func (*RemoveNetworkSwitchStackParams) SetContext

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

SetContext adds the context to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) SetNetworkID

func (o *RemoveNetworkSwitchStackParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) SetRemoveNetworkSwitchStack

func (o *RemoveNetworkSwitchStackParams) SetRemoveNetworkSwitchStack(removeNetworkSwitchStack *models.RemoveNetworkSwitchStack)

SetRemoveNetworkSwitchStack adds the removeNetworkSwitchStack to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) SetSwitchStackID

func (o *RemoveNetworkSwitchStackParams) SetSwitchStackID(switchStackID string)

SetSwitchStackID adds the switchStackId to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) SetTimeout

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

SetTimeout adds the timeout to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) WithContext

WithContext adds the context to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) WithNetworkID

WithNetworkID adds the networkID to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) WithRemoveNetworkSwitchStack

func (o *RemoveNetworkSwitchStackParams) WithRemoveNetworkSwitchStack(removeNetworkSwitchStack *models.RemoveNetworkSwitchStack) *RemoveNetworkSwitchStackParams

WithRemoveNetworkSwitchStack adds the removeNetworkSwitchStack to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) WithSwitchStackID

func (o *RemoveNetworkSwitchStackParams) WithSwitchStackID(switchStackID string) *RemoveNetworkSwitchStackParams

WithSwitchStackID adds the switchStackID to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) WithTimeout

WithTimeout adds the timeout to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveNetworkSwitchStackReader

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

RemoveNetworkSwitchStackReader is a Reader for the RemoveNetworkSwitchStack structure.

func (*RemoveNetworkSwitchStackReader) ReadResponse

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