switch_port_schedules

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 switch port schedules API

func (*Client) CreateNetworkSwitchPortSchedule

CreateNetworkSwitchPortSchedule creates network switch port schedule

Add a switch port schedule

func (*Client) DeleteNetworkSwitchPortSchedule

DeleteNetworkSwitchPortSchedule deletes network switch port schedule

Delete a switch port schedule

func (*Client) GetNetworkSwitchPortSchedules

func (a *Client) GetNetworkSwitchPortSchedules(params *GetNetworkSwitchPortSchedulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkSwitchPortSchedulesOK, error)

GetNetworkSwitchPortSchedules gets network switch port schedules

List switch port schedules

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateNetworkSwitchPortSchedule

func (a *Client) UpdateNetworkSwitchPortSchedule(params *UpdateNetworkSwitchPortScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkSwitchPortScheduleOK, error)

UpdateNetworkSwitchPortSchedule updates network switch port schedule

Update a switch port schedule

type ClientService

type ClientService interface {
	CreateNetworkSwitchPortSchedule(params *CreateNetworkSwitchPortScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNetworkSwitchPortScheduleCreated, error)

	DeleteNetworkSwitchPortSchedule(params *DeleteNetworkSwitchPortScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNetworkSwitchPortScheduleNoContent, error)

	GetNetworkSwitchPortSchedules(params *GetNetworkSwitchPortSchedulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkSwitchPortSchedulesOK, error)

	UpdateNetworkSwitchPortSchedule(params *UpdateNetworkSwitchPortScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkSwitchPortScheduleOK, 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 port schedules API client.

type CreateNetworkSwitchPortScheduleCreated

type CreateNetworkSwitchPortScheduleCreated struct {
	Payload interface{}
}

CreateNetworkSwitchPortScheduleCreated handles this case with default header values.

Successful operation

func NewCreateNetworkSwitchPortScheduleCreated

func NewCreateNetworkSwitchPortScheduleCreated() *CreateNetworkSwitchPortScheduleCreated

NewCreateNetworkSwitchPortScheduleCreated creates a CreateNetworkSwitchPortScheduleCreated with default headers values

func (*CreateNetworkSwitchPortScheduleCreated) Error

func (*CreateNetworkSwitchPortScheduleCreated) GetPayload

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

type CreateNetworkSwitchPortScheduleParams

type CreateNetworkSwitchPortScheduleParams struct {

	/*CreateNetworkSwitchPortSchedule*/
	CreateNetworkSwitchPortSchedule *models.CreateNetworkSwitchPortSchedule
	/*NetworkID*/
	NetworkID string

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

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

func NewCreateNetworkSwitchPortScheduleParams

func NewCreateNetworkSwitchPortScheduleParams() *CreateNetworkSwitchPortScheduleParams

NewCreateNetworkSwitchPortScheduleParams creates a new CreateNetworkSwitchPortScheduleParams object with the default values initialized.

func NewCreateNetworkSwitchPortScheduleParamsWithContext

func NewCreateNetworkSwitchPortScheduleParamsWithContext(ctx context.Context) *CreateNetworkSwitchPortScheduleParams

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

func NewCreateNetworkSwitchPortScheduleParamsWithHTTPClient

func NewCreateNetworkSwitchPortScheduleParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchPortScheduleParams

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

func NewCreateNetworkSwitchPortScheduleParamsWithTimeout

func NewCreateNetworkSwitchPortScheduleParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchPortScheduleParams

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

func (*CreateNetworkSwitchPortScheduleParams) SetContext

SetContext adds the context to the create network switch port schedule params

func (*CreateNetworkSwitchPortScheduleParams) SetCreateNetworkSwitchPortSchedule

func (o *CreateNetworkSwitchPortScheduleParams) SetCreateNetworkSwitchPortSchedule(createNetworkSwitchPortSchedule *models.CreateNetworkSwitchPortSchedule)

SetCreateNetworkSwitchPortSchedule adds the createNetworkSwitchPortSchedule to the create network switch port schedule params

func (*CreateNetworkSwitchPortScheduleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create network switch port schedule params

func (*CreateNetworkSwitchPortScheduleParams) SetNetworkID

func (o *CreateNetworkSwitchPortScheduleParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the create network switch port schedule params

func (*CreateNetworkSwitchPortScheduleParams) SetTimeout

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

SetTimeout adds the timeout to the create network switch port schedule params

func (*CreateNetworkSwitchPortScheduleParams) WithContext

WithContext adds the context to the create network switch port schedule params

func (*CreateNetworkSwitchPortScheduleParams) WithCreateNetworkSwitchPortSchedule

func (o *CreateNetworkSwitchPortScheduleParams) WithCreateNetworkSwitchPortSchedule(createNetworkSwitchPortSchedule *models.CreateNetworkSwitchPortSchedule) *CreateNetworkSwitchPortScheduleParams

WithCreateNetworkSwitchPortSchedule adds the createNetworkSwitchPortSchedule to the create network switch port schedule params

func (*CreateNetworkSwitchPortScheduleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create network switch port schedule params

func (*CreateNetworkSwitchPortScheduleParams) WithNetworkID

WithNetworkID adds the networkID to the create network switch port schedule params

func (*CreateNetworkSwitchPortScheduleParams) WithTimeout

WithTimeout adds the timeout to the create network switch port schedule params

func (*CreateNetworkSwitchPortScheduleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNetworkSwitchPortScheduleReader

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

CreateNetworkSwitchPortScheduleReader is a Reader for the CreateNetworkSwitchPortSchedule structure.

func (*CreateNetworkSwitchPortScheduleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNetworkSwitchPortScheduleNoContent

type DeleteNetworkSwitchPortScheduleNoContent struct {
}

DeleteNetworkSwitchPortScheduleNoContent handles this case with default header values.

Successful operation

func NewDeleteNetworkSwitchPortScheduleNoContent

func NewDeleteNetworkSwitchPortScheduleNoContent() *DeleteNetworkSwitchPortScheduleNoContent

NewDeleteNetworkSwitchPortScheduleNoContent creates a DeleteNetworkSwitchPortScheduleNoContent with default headers values

func (*DeleteNetworkSwitchPortScheduleNoContent) Error

type DeleteNetworkSwitchPortScheduleParams

type DeleteNetworkSwitchPortScheduleParams struct {

	/*NetworkID*/
	NetworkID string
	/*PortScheduleID*/
	PortScheduleID string

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

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

func NewDeleteNetworkSwitchPortScheduleParams

func NewDeleteNetworkSwitchPortScheduleParams() *DeleteNetworkSwitchPortScheduleParams

NewDeleteNetworkSwitchPortScheduleParams creates a new DeleteNetworkSwitchPortScheduleParams object with the default values initialized.

func NewDeleteNetworkSwitchPortScheduleParamsWithContext

func NewDeleteNetworkSwitchPortScheduleParamsWithContext(ctx context.Context) *DeleteNetworkSwitchPortScheduleParams

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

func NewDeleteNetworkSwitchPortScheduleParamsWithHTTPClient

func NewDeleteNetworkSwitchPortScheduleParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchPortScheduleParams

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

func NewDeleteNetworkSwitchPortScheduleParamsWithTimeout

func NewDeleteNetworkSwitchPortScheduleParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchPortScheduleParams

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

func (*DeleteNetworkSwitchPortScheduleParams) SetContext

SetContext adds the context to the delete network switch port schedule params

func (*DeleteNetworkSwitchPortScheduleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete network switch port schedule params

func (*DeleteNetworkSwitchPortScheduleParams) SetNetworkID

func (o *DeleteNetworkSwitchPortScheduleParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the delete network switch port schedule params

func (*DeleteNetworkSwitchPortScheduleParams) SetPortScheduleID

func (o *DeleteNetworkSwitchPortScheduleParams) SetPortScheduleID(portScheduleID string)

SetPortScheduleID adds the portScheduleId to the delete network switch port schedule params

func (*DeleteNetworkSwitchPortScheduleParams) SetTimeout

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

SetTimeout adds the timeout to the delete network switch port schedule params

func (*DeleteNetworkSwitchPortScheduleParams) WithContext

WithContext adds the context to the delete network switch port schedule params

func (*DeleteNetworkSwitchPortScheduleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete network switch port schedule params

func (*DeleteNetworkSwitchPortScheduleParams) WithNetworkID

WithNetworkID adds the networkID to the delete network switch port schedule params

func (*DeleteNetworkSwitchPortScheduleParams) WithPortScheduleID

WithPortScheduleID adds the portScheduleID to the delete network switch port schedule params

func (*DeleteNetworkSwitchPortScheduleParams) WithTimeout

WithTimeout adds the timeout to the delete network switch port schedule params

func (*DeleteNetworkSwitchPortScheduleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNetworkSwitchPortScheduleReader

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

DeleteNetworkSwitchPortScheduleReader is a Reader for the DeleteNetworkSwitchPortSchedule structure.

func (*DeleteNetworkSwitchPortScheduleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNetworkSwitchPortSchedulesOK

type GetNetworkSwitchPortSchedulesOK struct {
	Payload interface{}
}

GetNetworkSwitchPortSchedulesOK handles this case with default header values.

Successful operation

func NewGetNetworkSwitchPortSchedulesOK

func NewGetNetworkSwitchPortSchedulesOK() *GetNetworkSwitchPortSchedulesOK

NewGetNetworkSwitchPortSchedulesOK creates a GetNetworkSwitchPortSchedulesOK with default headers values

func (*GetNetworkSwitchPortSchedulesOK) Error

func (*GetNetworkSwitchPortSchedulesOK) GetPayload

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

type GetNetworkSwitchPortSchedulesParams

type GetNetworkSwitchPortSchedulesParams struct {

	/*NetworkID*/
	NetworkID string

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

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

func NewGetNetworkSwitchPortSchedulesParams

func NewGetNetworkSwitchPortSchedulesParams() *GetNetworkSwitchPortSchedulesParams

NewGetNetworkSwitchPortSchedulesParams creates a new GetNetworkSwitchPortSchedulesParams object with the default values initialized.

func NewGetNetworkSwitchPortSchedulesParamsWithContext

func NewGetNetworkSwitchPortSchedulesParamsWithContext(ctx context.Context) *GetNetworkSwitchPortSchedulesParams

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

func NewGetNetworkSwitchPortSchedulesParamsWithHTTPClient

func NewGetNetworkSwitchPortSchedulesParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchPortSchedulesParams

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

func NewGetNetworkSwitchPortSchedulesParamsWithTimeout

func NewGetNetworkSwitchPortSchedulesParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchPortSchedulesParams

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

func (*GetNetworkSwitchPortSchedulesParams) SetContext

SetContext adds the context to the get network switch port schedules params

func (*GetNetworkSwitchPortSchedulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get network switch port schedules params

func (*GetNetworkSwitchPortSchedulesParams) SetNetworkID

func (o *GetNetworkSwitchPortSchedulesParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch port schedules params

func (*GetNetworkSwitchPortSchedulesParams) SetTimeout

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

SetTimeout adds the timeout to the get network switch port schedules params

func (*GetNetworkSwitchPortSchedulesParams) WithContext

WithContext adds the context to the get network switch port schedules params

func (*GetNetworkSwitchPortSchedulesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch port schedules params

func (*GetNetworkSwitchPortSchedulesParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch port schedules params

func (*GetNetworkSwitchPortSchedulesParams) WithTimeout

WithTimeout adds the timeout to the get network switch port schedules params

func (*GetNetworkSwitchPortSchedulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchPortSchedulesReader

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

GetNetworkSwitchPortSchedulesReader is a Reader for the GetNetworkSwitchPortSchedules structure.

func (*GetNetworkSwitchPortSchedulesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNetworkSwitchPortScheduleOK

type UpdateNetworkSwitchPortScheduleOK struct {
	Payload interface{}
}

UpdateNetworkSwitchPortScheduleOK handles this case with default header values.

Successful operation

func NewUpdateNetworkSwitchPortScheduleOK

func NewUpdateNetworkSwitchPortScheduleOK() *UpdateNetworkSwitchPortScheduleOK

NewUpdateNetworkSwitchPortScheduleOK creates a UpdateNetworkSwitchPortScheduleOK with default headers values

func (*UpdateNetworkSwitchPortScheduleOK) Error

func (*UpdateNetworkSwitchPortScheduleOK) GetPayload

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

type UpdateNetworkSwitchPortScheduleParams

type UpdateNetworkSwitchPortScheduleParams struct {

	/*NetworkID*/
	NetworkID string
	/*PortScheduleID*/
	PortScheduleID string
	/*UpdateNetworkSwitchPortSchedule*/
	UpdateNetworkSwitchPortSchedule *models.UpdateNetworkSwitchPortSchedule

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

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

func NewUpdateNetworkSwitchPortScheduleParams

func NewUpdateNetworkSwitchPortScheduleParams() *UpdateNetworkSwitchPortScheduleParams

NewUpdateNetworkSwitchPortScheduleParams creates a new UpdateNetworkSwitchPortScheduleParams object with the default values initialized.

func NewUpdateNetworkSwitchPortScheduleParamsWithContext

func NewUpdateNetworkSwitchPortScheduleParamsWithContext(ctx context.Context) *UpdateNetworkSwitchPortScheduleParams

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

func NewUpdateNetworkSwitchPortScheduleParamsWithHTTPClient

func NewUpdateNetworkSwitchPortScheduleParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchPortScheduleParams

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

func NewUpdateNetworkSwitchPortScheduleParamsWithTimeout

func NewUpdateNetworkSwitchPortScheduleParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchPortScheduleParams

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

func (*UpdateNetworkSwitchPortScheduleParams) SetContext

SetContext adds the context to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) SetNetworkID

func (o *UpdateNetworkSwitchPortScheduleParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) SetPortScheduleID

func (o *UpdateNetworkSwitchPortScheduleParams) SetPortScheduleID(portScheduleID string)

SetPortScheduleID adds the portScheduleId to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) SetTimeout

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

SetTimeout adds the timeout to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) SetUpdateNetworkSwitchPortSchedule

func (o *UpdateNetworkSwitchPortScheduleParams) SetUpdateNetworkSwitchPortSchedule(updateNetworkSwitchPortSchedule *models.UpdateNetworkSwitchPortSchedule)

SetUpdateNetworkSwitchPortSchedule adds the updateNetworkSwitchPortSchedule to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) WithContext

WithContext adds the context to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) WithNetworkID

WithNetworkID adds the networkID to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) WithPortScheduleID

WithPortScheduleID adds the portScheduleID to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) WithTimeout

WithTimeout adds the timeout to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) WithUpdateNetworkSwitchPortSchedule

func (o *UpdateNetworkSwitchPortScheduleParams) WithUpdateNetworkSwitchPortSchedule(updateNetworkSwitchPortSchedule *models.UpdateNetworkSwitchPortSchedule) *UpdateNetworkSwitchPortScheduleParams

WithUpdateNetworkSwitchPortSchedule adds the updateNetworkSwitchPortSchedule to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkSwitchPortScheduleReader

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

UpdateNetworkSwitchPortScheduleReader is a Reader for the UpdateNetworkSwitchPortSchedule structure.

func (*UpdateNetworkSwitchPortScheduleReader) ReadResponse

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