Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateNetworkSwitchPortSchedule(params *CreateNetworkSwitchPortScheduleParams, ...) (*CreateNetworkSwitchPortScheduleCreated, error)
- func (a *Client) DeleteNetworkSwitchPortSchedule(params *DeleteNetworkSwitchPortScheduleParams, ...) (*DeleteNetworkSwitchPortScheduleNoContent, error)
- func (a *Client) GetNetworkSwitchPortSchedules(params *GetNetworkSwitchPortSchedulesParams, ...) (*GetNetworkSwitchPortSchedulesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNetworkSwitchPortSchedule(params *UpdateNetworkSwitchPortScheduleParams, ...) (*UpdateNetworkSwitchPortScheduleOK, error)
- type ClientService
- type CreateNetworkSwitchPortScheduleCreated
- type CreateNetworkSwitchPortScheduleParams
- func NewCreateNetworkSwitchPortScheduleParams() *CreateNetworkSwitchPortScheduleParams
- func NewCreateNetworkSwitchPortScheduleParamsWithContext(ctx context.Context) *CreateNetworkSwitchPortScheduleParams
- func NewCreateNetworkSwitchPortScheduleParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchPortScheduleParams
- func NewCreateNetworkSwitchPortScheduleParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchPortScheduleParams
- func (o *CreateNetworkSwitchPortScheduleParams) SetContext(ctx context.Context)
- func (o *CreateNetworkSwitchPortScheduleParams) SetCreateNetworkSwitchPortSchedule(createNetworkSwitchPortSchedule *models.CreateNetworkSwitchPortSchedule)
- func (o *CreateNetworkSwitchPortScheduleParams) SetHTTPClient(client *http.Client)
- func (o *CreateNetworkSwitchPortScheduleParams) SetNetworkID(networkID string)
- func (o *CreateNetworkSwitchPortScheduleParams) SetTimeout(timeout time.Duration)
- func (o *CreateNetworkSwitchPortScheduleParams) WithContext(ctx context.Context) *CreateNetworkSwitchPortScheduleParams
- func (o *CreateNetworkSwitchPortScheduleParams) WithCreateNetworkSwitchPortSchedule(createNetworkSwitchPortSchedule *models.CreateNetworkSwitchPortSchedule) *CreateNetworkSwitchPortScheduleParams
- func (o *CreateNetworkSwitchPortScheduleParams) WithHTTPClient(client *http.Client) *CreateNetworkSwitchPortScheduleParams
- func (o *CreateNetworkSwitchPortScheduleParams) WithNetworkID(networkID string) *CreateNetworkSwitchPortScheduleParams
- func (o *CreateNetworkSwitchPortScheduleParams) WithTimeout(timeout time.Duration) *CreateNetworkSwitchPortScheduleParams
- func (o *CreateNetworkSwitchPortScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNetworkSwitchPortScheduleReader
- type DeleteNetworkSwitchPortScheduleNoContent
- type DeleteNetworkSwitchPortScheduleParams
- func NewDeleteNetworkSwitchPortScheduleParams() *DeleteNetworkSwitchPortScheduleParams
- func NewDeleteNetworkSwitchPortScheduleParamsWithContext(ctx context.Context) *DeleteNetworkSwitchPortScheduleParams
- func NewDeleteNetworkSwitchPortScheduleParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchPortScheduleParams
- func NewDeleteNetworkSwitchPortScheduleParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchPortScheduleParams
- func (o *DeleteNetworkSwitchPortScheduleParams) SetContext(ctx context.Context)
- func (o *DeleteNetworkSwitchPortScheduleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNetworkSwitchPortScheduleParams) SetNetworkID(networkID string)
- func (o *DeleteNetworkSwitchPortScheduleParams) SetPortScheduleID(portScheduleID string)
- func (o *DeleteNetworkSwitchPortScheduleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNetworkSwitchPortScheduleParams) WithContext(ctx context.Context) *DeleteNetworkSwitchPortScheduleParams
- func (o *DeleteNetworkSwitchPortScheduleParams) WithHTTPClient(client *http.Client) *DeleteNetworkSwitchPortScheduleParams
- func (o *DeleteNetworkSwitchPortScheduleParams) WithNetworkID(networkID string) *DeleteNetworkSwitchPortScheduleParams
- func (o *DeleteNetworkSwitchPortScheduleParams) WithPortScheduleID(portScheduleID string) *DeleteNetworkSwitchPortScheduleParams
- func (o *DeleteNetworkSwitchPortScheduleParams) WithTimeout(timeout time.Duration) *DeleteNetworkSwitchPortScheduleParams
- func (o *DeleteNetworkSwitchPortScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNetworkSwitchPortScheduleReader
- type GetNetworkSwitchPortSchedulesOK
- type GetNetworkSwitchPortSchedulesParams
- func NewGetNetworkSwitchPortSchedulesParams() *GetNetworkSwitchPortSchedulesParams
- func NewGetNetworkSwitchPortSchedulesParamsWithContext(ctx context.Context) *GetNetworkSwitchPortSchedulesParams
- func NewGetNetworkSwitchPortSchedulesParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchPortSchedulesParams
- func NewGetNetworkSwitchPortSchedulesParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchPortSchedulesParams
- func (o *GetNetworkSwitchPortSchedulesParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchPortSchedulesParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchPortSchedulesParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchPortSchedulesParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchPortSchedulesParams) WithContext(ctx context.Context) *GetNetworkSwitchPortSchedulesParams
- func (o *GetNetworkSwitchPortSchedulesParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchPortSchedulesParams
- func (o *GetNetworkSwitchPortSchedulesParams) WithNetworkID(networkID string) *GetNetworkSwitchPortSchedulesParams
- func (o *GetNetworkSwitchPortSchedulesParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchPortSchedulesParams
- func (o *GetNetworkSwitchPortSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchPortSchedulesReader
- type UpdateNetworkSwitchPortScheduleOK
- type UpdateNetworkSwitchPortScheduleParams
- func NewUpdateNetworkSwitchPortScheduleParams() *UpdateNetworkSwitchPortScheduleParams
- func NewUpdateNetworkSwitchPortScheduleParamsWithContext(ctx context.Context) *UpdateNetworkSwitchPortScheduleParams
- func NewUpdateNetworkSwitchPortScheduleParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchPortScheduleParams
- func NewUpdateNetworkSwitchPortScheduleParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchPortScheduleParams
- func (o *UpdateNetworkSwitchPortScheduleParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSwitchPortScheduleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSwitchPortScheduleParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSwitchPortScheduleParams) SetPortScheduleID(portScheduleID string)
- func (o *UpdateNetworkSwitchPortScheduleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSwitchPortScheduleParams) SetUpdateNetworkSwitchPortSchedule(updateNetworkSwitchPortSchedule *models.UpdateNetworkSwitchPortSchedule)
- func (o *UpdateNetworkSwitchPortScheduleParams) WithContext(ctx context.Context) *UpdateNetworkSwitchPortScheduleParams
- func (o *UpdateNetworkSwitchPortScheduleParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchPortScheduleParams
- func (o *UpdateNetworkSwitchPortScheduleParams) WithNetworkID(networkID string) *UpdateNetworkSwitchPortScheduleParams
- func (o *UpdateNetworkSwitchPortScheduleParams) WithPortScheduleID(portScheduleID string) *UpdateNetworkSwitchPortScheduleParams
- func (o *UpdateNetworkSwitchPortScheduleParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchPortScheduleParams
- func (o *UpdateNetworkSwitchPortScheduleParams) WithUpdateNetworkSwitchPortSchedule(updateNetworkSwitchPortSchedule *models.UpdateNetworkSwitchPortSchedule) *UpdateNetworkSwitchPortScheduleParams
- func (o *UpdateNetworkSwitchPortScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSwitchPortScheduleReader
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 ¶
func (a *Client) CreateNetworkSwitchPortSchedule(params *CreateNetworkSwitchPortScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNetworkSwitchPortScheduleCreated, error)
CreateNetworkSwitchPortSchedule creates network switch port schedule
Add a switch port schedule
func (*Client) DeleteNetworkSwitchPortSchedule ¶
func (a *Client) DeleteNetworkSwitchPortSchedule(params *DeleteNetworkSwitchPortScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNetworkSwitchPortScheduleNoContent, error)
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 (o *CreateNetworkSwitchPortScheduleCreated) Error() string
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 ¶
func (o *CreateNetworkSwitchPortScheduleParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateNetworkSwitchPortScheduleParams) WithContext(ctx context.Context) *CreateNetworkSwitchPortScheduleParams
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 ¶
func (o *CreateNetworkSwitchPortScheduleParams) WithHTTPClient(client *http.Client) *CreateNetworkSwitchPortScheduleParams
WithHTTPClient adds the HTTPClient to the create network switch port schedule params
func (*CreateNetworkSwitchPortScheduleParams) WithNetworkID ¶
func (o *CreateNetworkSwitchPortScheduleParams) WithNetworkID(networkID string) *CreateNetworkSwitchPortScheduleParams
WithNetworkID adds the networkID to the create network switch port schedule params
func (*CreateNetworkSwitchPortScheduleParams) WithTimeout ¶
func (o *CreateNetworkSwitchPortScheduleParams) WithTimeout(timeout time.Duration) *CreateNetworkSwitchPortScheduleParams
WithTimeout adds the timeout to the create network switch port schedule params
func (*CreateNetworkSwitchPortScheduleParams) WriteToRequest ¶
func (o *CreateNetworkSwitchPortScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteNetworkSwitchPortScheduleNoContent) Error() string
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 ¶
func (o *DeleteNetworkSwitchPortScheduleParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteNetworkSwitchPortScheduleParams) WithContext(ctx context.Context) *DeleteNetworkSwitchPortScheduleParams
WithContext adds the context to the delete network switch port schedule params
func (*DeleteNetworkSwitchPortScheduleParams) WithHTTPClient ¶
func (o *DeleteNetworkSwitchPortScheduleParams) WithHTTPClient(client *http.Client) *DeleteNetworkSwitchPortScheduleParams
WithHTTPClient adds the HTTPClient to the delete network switch port schedule params
func (*DeleteNetworkSwitchPortScheduleParams) WithNetworkID ¶
func (o *DeleteNetworkSwitchPortScheduleParams) WithNetworkID(networkID string) *DeleteNetworkSwitchPortScheduleParams
WithNetworkID adds the networkID to the delete network switch port schedule params
func (*DeleteNetworkSwitchPortScheduleParams) WithPortScheduleID ¶
func (o *DeleteNetworkSwitchPortScheduleParams) WithPortScheduleID(portScheduleID string) *DeleteNetworkSwitchPortScheduleParams
WithPortScheduleID adds the portScheduleID to the delete network switch port schedule params
func (*DeleteNetworkSwitchPortScheduleParams) WithTimeout ¶
func (o *DeleteNetworkSwitchPortScheduleParams) WithTimeout(timeout time.Duration) *DeleteNetworkSwitchPortScheduleParams
WithTimeout adds the timeout to the delete network switch port schedule params
func (*DeleteNetworkSwitchPortScheduleParams) WriteToRequest ¶
func (o *DeleteNetworkSwitchPortScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetNetworkSwitchPortSchedulesOK) Error() string
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 ¶
func (o *GetNetworkSwitchPortSchedulesParams) SetContext(ctx context.Context)
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 ¶
func (o *GetNetworkSwitchPortSchedulesParams) WithContext(ctx context.Context) *GetNetworkSwitchPortSchedulesParams
WithContext adds the context to the get network switch port schedules params
func (*GetNetworkSwitchPortSchedulesParams) WithHTTPClient ¶
func (o *GetNetworkSwitchPortSchedulesParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchPortSchedulesParams
WithHTTPClient adds the HTTPClient to the get network switch port schedules params
func (*GetNetworkSwitchPortSchedulesParams) WithNetworkID ¶
func (o *GetNetworkSwitchPortSchedulesParams) WithNetworkID(networkID string) *GetNetworkSwitchPortSchedulesParams
WithNetworkID adds the networkID to the get network switch port schedules params
func (*GetNetworkSwitchPortSchedulesParams) WithTimeout ¶
func (o *GetNetworkSwitchPortSchedulesParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchPortSchedulesParams
WithTimeout adds the timeout to the get network switch port schedules params
func (*GetNetworkSwitchPortSchedulesParams) WriteToRequest ¶
func (o *GetNetworkSwitchPortSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *UpdateNetworkSwitchPortScheduleOK) Error() string
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 ¶
func (o *UpdateNetworkSwitchPortScheduleParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateNetworkSwitchPortScheduleParams) WithContext(ctx context.Context) *UpdateNetworkSwitchPortScheduleParams
WithContext adds the context to the update network switch port schedule params
func (*UpdateNetworkSwitchPortScheduleParams) WithHTTPClient ¶
func (o *UpdateNetworkSwitchPortScheduleParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchPortScheduleParams
WithHTTPClient adds the HTTPClient to the update network switch port schedule params
func (*UpdateNetworkSwitchPortScheduleParams) WithNetworkID ¶
func (o *UpdateNetworkSwitchPortScheduleParams) WithNetworkID(networkID string) *UpdateNetworkSwitchPortScheduleParams
WithNetworkID adds the networkID to the update network switch port schedule params
func (*UpdateNetworkSwitchPortScheduleParams) WithPortScheduleID ¶
func (o *UpdateNetworkSwitchPortScheduleParams) WithPortScheduleID(portScheduleID string) *UpdateNetworkSwitchPortScheduleParams
WithPortScheduleID adds the portScheduleID to the update network switch port schedule params
func (*UpdateNetworkSwitchPortScheduleParams) WithTimeout ¶
func (o *UpdateNetworkSwitchPortScheduleParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchPortScheduleParams
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 ¶
func (o *UpdateNetworkSwitchPortScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_network_switch_port_schedule_parameters.go
- create_network_switch_port_schedule_responses.go
- delete_network_switch_port_schedule_parameters.go
- delete_network_switch_port_schedule_responses.go
- get_network_switch_port_schedules_parameters.go
- get_network_switch_port_schedules_responses.go
- switch_port_schedules_client.go
- update_network_switch_port_schedule_parameters.go
- update_network_switch_port_schedule_responses.go