network_interfaces

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 11 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 network interfaces API

func (*Client) DeleteAPI24NetworkInterfaces

func (a *Client) DeleteAPI24NetworkInterfaces(params *DeleteAPI24NetworkInterfacesParams) (*DeleteApi24NetworkInterfacesOK, error)

DeleteAPI24NetworkInterfaces deletes network interface

Deletes a network interface on a controller.

func (*Client) GetAPI24NetworkInterfaces

func (a *Client) GetAPI24NetworkInterfaces(params *GetAPI24NetworkInterfacesParams) (*GetApi24NetworkInterfacesOK, error)

GetAPI24NetworkInterfaces lists network interfaces

Displays all network interfaces for all controllers on the array.

func (*Client) GetAPI24NetworkInterfacesPerformance

func (a *Client) GetAPI24NetworkInterfacesPerformance(params *GetAPI24NetworkInterfacesPerformanceParams) (*GetApi24NetworkInterfacesPerformanceOK, error)

GetAPI24NetworkInterfacesPerformance lists network performance statistics

Displays network statistics, historical bandwidth, and error reporting for all specified network interfaces.

func (*Client) PatchAPI24NetworkInterfaces

func (a *Client) PatchAPI24NetworkInterfaces(params *PatchAPI24NetworkInterfacesParams) (*PatchApi24NetworkInterfacesOK, error)

PatchAPI24NetworkInterfaces modifies network interface

Modifies a network interface on a controller.

func (*Client) PostAPI24NetworkInterfaces

func (a *Client) PostAPI24NetworkInterfaces(params *PostAPI24NetworkInterfacesParams) (*PostApi24NetworkInterfacesOK, error)

PostAPI24NetworkInterfaces creates network interface

Creates a network interface on a controller on the array.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteAPI24NetworkInterfaces(params *DeleteAPI24NetworkInterfacesParams) (*DeleteApi24NetworkInterfacesOK, error)

	GetAPI24NetworkInterfaces(params *GetAPI24NetworkInterfacesParams) (*GetApi24NetworkInterfacesOK, error)

	GetAPI24NetworkInterfacesPerformance(params *GetAPI24NetworkInterfacesPerformanceParams) (*GetApi24NetworkInterfacesPerformanceOK, error)

	PatchAPI24NetworkInterfaces(params *PatchAPI24NetworkInterfacesParams) (*PatchApi24NetworkInterfacesOK, error)

	PostAPI24NetworkInterfaces(params *PostAPI24NetworkInterfacesParams) (*PostApi24NetworkInterfacesOK, 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 network interfaces API client.

type DeleteAPI24NetworkInterfacesParams

type DeleteAPI24NetworkInterfacesParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*Names
	  Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.

	*/
	Names []string

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

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

func NewDeleteAPI24NetworkInterfacesParams

func NewDeleteAPI24NetworkInterfacesParams() *DeleteAPI24NetworkInterfacesParams

NewDeleteAPI24NetworkInterfacesParams creates a new DeleteAPI24NetworkInterfacesParams object with the default values initialized.

func NewDeleteAPI24NetworkInterfacesParamsWithContext

func NewDeleteAPI24NetworkInterfacesParamsWithContext(ctx context.Context) *DeleteAPI24NetworkInterfacesParams

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

func NewDeleteAPI24NetworkInterfacesParamsWithHTTPClient

func NewDeleteAPI24NetworkInterfacesParamsWithHTTPClient(client *http.Client) *DeleteAPI24NetworkInterfacesParams

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

func NewDeleteAPI24NetworkInterfacesParamsWithTimeout

func NewDeleteAPI24NetworkInterfacesParamsWithTimeout(timeout time.Duration) *DeleteAPI24NetworkInterfacesParams

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

func (*DeleteAPI24NetworkInterfacesParams) SetAuthorization

func (o *DeleteAPI24NetworkInterfacesParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the delete API 24 network interfaces params

func (*DeleteAPI24NetworkInterfacesParams) SetContext

SetContext adds the context to the delete API 24 network interfaces params

func (*DeleteAPI24NetworkInterfacesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API 24 network interfaces params

func (*DeleteAPI24NetworkInterfacesParams) SetNames

func (o *DeleteAPI24NetworkInterfacesParams) SetNames(names []string)

SetNames adds the names to the delete API 24 network interfaces params

func (*DeleteAPI24NetworkInterfacesParams) SetTimeout

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

SetTimeout adds the timeout to the delete API 24 network interfaces params

func (*DeleteAPI24NetworkInterfacesParams) SetXRequestID

func (o *DeleteAPI24NetworkInterfacesParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the delete API 24 network interfaces params

func (*DeleteAPI24NetworkInterfacesParams) WithAuthorization

WithAuthorization adds the authorization to the delete API 24 network interfaces params

func (*DeleteAPI24NetworkInterfacesParams) WithContext

WithContext adds the context to the delete API 24 network interfaces params

func (*DeleteAPI24NetworkInterfacesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API 24 network interfaces params

func (*DeleteAPI24NetworkInterfacesParams) WithNames

WithNames adds the names to the delete API 24 network interfaces params

func (*DeleteAPI24NetworkInterfacesParams) WithTimeout

WithTimeout adds the timeout to the delete API 24 network interfaces params

func (*DeleteAPI24NetworkInterfacesParams) WithXRequestID

WithXRequestID adds the xRequestID to the delete API 24 network interfaces params

func (*DeleteAPI24NetworkInterfacesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPI24NetworkInterfacesReader

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

DeleteAPI24NetworkInterfacesReader is a Reader for the DeleteAPI24NetworkInterfaces structure.

func (*DeleteAPI24NetworkInterfacesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteApi24NetworkInterfacesBadRequest

type DeleteApi24NetworkInterfacesBadRequest struct {
	Payload *models.Error
}

DeleteApi24NetworkInterfacesBadRequest handles this case with default header values.

BadRequest

func NewDeleteApi24NetworkInterfacesBadRequest

func NewDeleteApi24NetworkInterfacesBadRequest() *DeleteApi24NetworkInterfacesBadRequest

NewDeleteApi24NetworkInterfacesBadRequest creates a DeleteApi24NetworkInterfacesBadRequest with default headers values

func (*DeleteApi24NetworkInterfacesBadRequest) Error

func (*DeleteApi24NetworkInterfacesBadRequest) GetPayload

type DeleteApi24NetworkInterfacesOK

type DeleteApi24NetworkInterfacesOK struct {
}

DeleteApi24NetworkInterfacesOK handles this case with default header values.

OK

func NewDeleteApi24NetworkInterfacesOK

func NewDeleteApi24NetworkInterfacesOK() *DeleteApi24NetworkInterfacesOK

NewDeleteApi24NetworkInterfacesOK creates a DeleteApi24NetworkInterfacesOK with default headers values

func (*DeleteApi24NetworkInterfacesOK) Error

type GetAPI24NetworkInterfacesParams

type GetAPI24NetworkInterfacesParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*ContinuationToken
	  A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set `continuation_token` to the system-generated token taken from the `x-next-token` header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the `limit` and `continuation_token` query parameters.

	*/
	ContinuationToken *string
	/*Filter
	  Narrows down the results to only the response objects that satisfy the filter criteria.

	*/
	Filter *string
	/*Limit
	  Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

	*/
	Limit *int32
	/*Names
	  Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.

	*/
	Names []string
	/*Offset
	  The starting position based on the results of the query in relation to the full set of response objects returned.

	*/
	Offset *int32
	/*Sort
	  Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values.

	*/
	Sort []string
	/*TotalItemCount
	  If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`.

	*/
	TotalItemCount *bool

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

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

func NewGetAPI24NetworkInterfacesParams

func NewGetAPI24NetworkInterfacesParams() *GetAPI24NetworkInterfacesParams

NewGetAPI24NetworkInterfacesParams creates a new GetAPI24NetworkInterfacesParams object with the default values initialized.

func NewGetAPI24NetworkInterfacesParamsWithContext

func NewGetAPI24NetworkInterfacesParamsWithContext(ctx context.Context) *GetAPI24NetworkInterfacesParams

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

func NewGetAPI24NetworkInterfacesParamsWithHTTPClient

func NewGetAPI24NetworkInterfacesParamsWithHTTPClient(client *http.Client) *GetAPI24NetworkInterfacesParams

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

func NewGetAPI24NetworkInterfacesParamsWithTimeout

func NewGetAPI24NetworkInterfacesParamsWithTimeout(timeout time.Duration) *GetAPI24NetworkInterfacesParams

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

func (*GetAPI24NetworkInterfacesParams) SetAuthorization

func (o *GetAPI24NetworkInterfacesParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) SetContext

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

SetContext adds the context to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) SetContinuationToken

func (o *GetAPI24NetworkInterfacesParams) SetContinuationToken(continuationToken *string)

SetContinuationToken adds the continuationToken to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) SetFilter

func (o *GetAPI24NetworkInterfacesParams) SetFilter(filter *string)

SetFilter adds the filter to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) SetLimit

func (o *GetAPI24NetworkInterfacesParams) SetLimit(limit *int32)

SetLimit adds the limit to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) SetNames

func (o *GetAPI24NetworkInterfacesParams) SetNames(names []string)

SetNames adds the names to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) SetOffset

func (o *GetAPI24NetworkInterfacesParams) SetOffset(offset *int32)

SetOffset adds the offset to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) SetSort

func (o *GetAPI24NetworkInterfacesParams) SetSort(sort []string)

SetSort adds the sort to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) SetTimeout

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

SetTimeout adds the timeout to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) SetTotalItemCount

func (o *GetAPI24NetworkInterfacesParams) SetTotalItemCount(totalItemCount *bool)

SetTotalItemCount adds the totalItemCount to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) SetXRequestID

func (o *GetAPI24NetworkInterfacesParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) WithAuthorization

func (o *GetAPI24NetworkInterfacesParams) WithAuthorization(authorization *string) *GetAPI24NetworkInterfacesParams

WithAuthorization adds the authorization to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) WithContext

WithContext adds the context to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) WithContinuationToken

func (o *GetAPI24NetworkInterfacesParams) WithContinuationToken(continuationToken *string) *GetAPI24NetworkInterfacesParams

WithContinuationToken adds the continuationToken to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) WithFilter

WithFilter adds the filter to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) WithLimit

WithLimit adds the limit to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) WithNames

WithNames adds the names to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) WithOffset

WithOffset adds the offset to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) WithSort

WithSort adds the sort to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) WithTimeout

WithTimeout adds the timeout to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) WithTotalItemCount

func (o *GetAPI24NetworkInterfacesParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24NetworkInterfacesParams

WithTotalItemCount adds the totalItemCount to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) WithXRequestID

WithXRequestID adds the xRequestID to the get API 24 network interfaces params

func (*GetAPI24NetworkInterfacesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPI24NetworkInterfacesPerformanceParams

type GetAPI24NetworkInterfacesPerformanceParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*EndTime
	  Displays historical performance data for the specified time window, where `start_time` is the beginning of the time window, and `end_time` is the end of the time window. The `start_time` and `end_time` parameters are specified in milliseconds since the UNIX epoch. If `start_time` is not specified, the start time will default to one resolution before the end time, meaning that the most recent sample of performance data will be displayed. If `end_time`is not specified, the end time will default to the current time. Include the `resolution` parameter to display the performance data at the specified resolution. If not specified, `resolution` defaults to the lowest valid resolution.

	*/
	EndTime *int64
	/*Filter
	  Narrows down the results to only the response objects that satisfy the filter criteria.

	*/
	Filter *string
	/*Limit
	  Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

	*/
	Limit *int32
	/*Names
	  Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.

	*/
	Names []string
	/*Offset
	  The starting position based on the results of the query in relation to the full set of response objects returned.

	*/
	Offset *int32
	/*Resolution
	  The number of milliseconds between samples of historical data. For array-wide performance metrics (`/arrays/performance` endpoint), valid values are `1000` (1 second), `30000` (30 seconds), `300000` (5 minutes), `1800000` (30 minutes), `7200000` (2 hours), `28800000` (8 hours), and `86400000` (24 hours). For performance metrics on storage objects (`<object name>/performance` endpoint), such as volumes, valid values are `30000` (30 seconds), `300000` (5 minutes), `1800000` (30 minutes), `7200000` (2 hours), `28800000` (8 hours), and `86400000` (24 hours). For space metrics, (`<object name>/space` endpoint), valid values are `300000` (5 minutes), `1800000` (30 minutes), `7200000` (2 hours), `28800000` (8 hours), and `86400000` (24 hours). Include the `start_time` parameter to display the performance data starting at the specified start time. If `start_time` is not specified, the start time will default to one resolution before the end time, meaning that the most recent sample of performance data will be displayed. Include the `end_time` parameter to display the performance data until the specified end time. If `end_time`is not specified, the end time will default to the current time. If the `resolution` parameter is not specified but either the `start_time` or `end_time` parameter is, then `resolution` will default to the lowest valid resolution.

	*/
	Resolution *int64
	/*Sort
	  Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values.

	*/
	Sort []string
	/*StartTime
	  Displays historical performance data for the specified time window, where `start_time` is the beginning of the time window, and `end_time` is the end of the time window. The `start_time` and `end_time` parameters are specified in milliseconds since the UNIX epoch. If `start_time` is not specified, the start time will default to one resolution before the end time, meaning that the most recent sample of performance data will be displayed. If `end_time`is not specified, the end time will default to the current time. Include the `resolution` parameter to display the performance data at the specified resolution. If not specified, `resolution` defaults to the lowest valid resolution.

	*/
	StartTime *int64
	/*TotalItemCount
	  If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`.

	*/
	TotalItemCount *bool
	/*TotalOnly
	  If set to `true`, returns the aggregate value of all items after filtering. Where it makes more sense, the average value is displayed instead. The values are displayed for each name where meaningful. If `total_only=true`, the `items` list will be empty.

	*/
	TotalOnly *bool

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

GetAPI24NetworkInterfacesPerformanceParams contains all the parameters to send to the API endpoint for the get API 24 network interfaces performance operation typically these are written to a http.Request

func NewGetAPI24NetworkInterfacesPerformanceParams

func NewGetAPI24NetworkInterfacesPerformanceParams() *GetAPI24NetworkInterfacesPerformanceParams

NewGetAPI24NetworkInterfacesPerformanceParams creates a new GetAPI24NetworkInterfacesPerformanceParams object with the default values initialized.

func NewGetAPI24NetworkInterfacesPerformanceParamsWithContext

func NewGetAPI24NetworkInterfacesPerformanceParamsWithContext(ctx context.Context) *GetAPI24NetworkInterfacesPerformanceParams

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

func NewGetAPI24NetworkInterfacesPerformanceParamsWithHTTPClient

func NewGetAPI24NetworkInterfacesPerformanceParamsWithHTTPClient(client *http.Client) *GetAPI24NetworkInterfacesPerformanceParams

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

func NewGetAPI24NetworkInterfacesPerformanceParamsWithTimeout

func NewGetAPI24NetworkInterfacesPerformanceParamsWithTimeout(timeout time.Duration) *GetAPI24NetworkInterfacesPerformanceParams

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

func (*GetAPI24NetworkInterfacesPerformanceParams) SetAuthorization

func (o *GetAPI24NetworkInterfacesPerformanceParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) SetContext

SetContext adds the context to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) SetEndTime

func (o *GetAPI24NetworkInterfacesPerformanceParams) SetEndTime(endTime *int64)

SetEndTime adds the endTime to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) SetFilter

func (o *GetAPI24NetworkInterfacesPerformanceParams) SetFilter(filter *string)

SetFilter adds the filter to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) SetLimit

SetLimit adds the limit to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) SetNames

SetNames adds the names to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) SetOffset

func (o *GetAPI24NetworkInterfacesPerformanceParams) SetOffset(offset *int32)

SetOffset adds the offset to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) SetResolution

func (o *GetAPI24NetworkInterfacesPerformanceParams) SetResolution(resolution *int64)

SetResolution adds the resolution to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) SetSort

SetSort adds the sort to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) SetStartTime

func (o *GetAPI24NetworkInterfacesPerformanceParams) SetStartTime(startTime *int64)

SetStartTime adds the startTime to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) SetTimeout

SetTimeout adds the timeout to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) SetTotalItemCount

func (o *GetAPI24NetworkInterfacesPerformanceParams) SetTotalItemCount(totalItemCount *bool)

SetTotalItemCount adds the totalItemCount to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) SetTotalOnly

func (o *GetAPI24NetworkInterfacesPerformanceParams) SetTotalOnly(totalOnly *bool)

SetTotalOnly adds the totalOnly to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) SetXRequestID

func (o *GetAPI24NetworkInterfacesPerformanceParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) WithAuthorization

WithAuthorization adds the authorization to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) WithContext

WithContext adds the context to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) WithEndTime

WithEndTime adds the endTime to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) WithFilter

WithFilter adds the filter to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) WithLimit

WithLimit adds the limit to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) WithNames

WithNames adds the names to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) WithOffset

WithOffset adds the offset to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) WithResolution

WithResolution adds the resolution to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) WithSort

WithSort adds the sort to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) WithStartTime

WithStartTime adds the startTime to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) WithTimeout

WithTimeout adds the timeout to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) WithTotalItemCount

WithTotalItemCount adds the totalItemCount to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) WithTotalOnly

WithTotalOnly adds the totalOnly to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) WithXRequestID

WithXRequestID adds the xRequestID to the get API 24 network interfaces performance params

func (*GetAPI24NetworkInterfacesPerformanceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPI24NetworkInterfacesPerformanceReader

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

GetAPI24NetworkInterfacesPerformanceReader is a Reader for the GetAPI24NetworkInterfacesPerformance structure.

func (*GetAPI24NetworkInterfacesPerformanceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPI24NetworkInterfacesReader

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

GetAPI24NetworkInterfacesReader is a Reader for the GetAPI24NetworkInterfaces structure.

func (*GetAPI24NetworkInterfacesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetApi24NetworkInterfacesBadRequest

type GetApi24NetworkInterfacesBadRequest struct {
	Payload *models.Error
}

GetApi24NetworkInterfacesBadRequest handles this case with default header values.

BadRequest

func NewGetApi24NetworkInterfacesBadRequest

func NewGetApi24NetworkInterfacesBadRequest() *GetApi24NetworkInterfacesBadRequest

NewGetApi24NetworkInterfacesBadRequest creates a GetApi24NetworkInterfacesBadRequest with default headers values

func (*GetApi24NetworkInterfacesBadRequest) Error

func (*GetApi24NetworkInterfacesBadRequest) GetPayload

type GetApi24NetworkInterfacesOK

type GetApi24NetworkInterfacesOK struct {
	Payload *models.NetworkInterfaceGetResponse
}

GetApi24NetworkInterfacesOK handles this case with default header values.

OK

func NewGetApi24NetworkInterfacesOK

func NewGetApi24NetworkInterfacesOK() *GetApi24NetworkInterfacesOK

NewGetApi24NetworkInterfacesOK creates a GetApi24NetworkInterfacesOK with default headers values

func (*GetApi24NetworkInterfacesOK) Error

func (*GetApi24NetworkInterfacesOK) GetPayload

type GetApi24NetworkInterfacesPerformanceBadRequest

type GetApi24NetworkInterfacesPerformanceBadRequest struct {
	Payload *models.Error
}

GetApi24NetworkInterfacesPerformanceBadRequest handles this case with default header values.

BadRequest

func NewGetApi24NetworkInterfacesPerformanceBadRequest

func NewGetApi24NetworkInterfacesPerformanceBadRequest() *GetApi24NetworkInterfacesPerformanceBadRequest

NewGetApi24NetworkInterfacesPerformanceBadRequest creates a GetApi24NetworkInterfacesPerformanceBadRequest with default headers values

func (*GetApi24NetworkInterfacesPerformanceBadRequest) Error

func (*GetApi24NetworkInterfacesPerformanceBadRequest) GetPayload

type GetApi24NetworkInterfacesPerformanceOK

type GetApi24NetworkInterfacesPerformanceOK struct {
	Payload *models.NetworkInterfacePerformanceGetResponse
}

GetApi24NetworkInterfacesPerformanceOK handles this case with default header values.

OK

func NewGetApi24NetworkInterfacesPerformanceOK

func NewGetApi24NetworkInterfacesPerformanceOK() *GetApi24NetworkInterfacesPerformanceOK

NewGetApi24NetworkInterfacesPerformanceOK creates a GetApi24NetworkInterfacesPerformanceOK with default headers values

func (*GetApi24NetworkInterfacesPerformanceOK) Error

func (*GetApi24NetworkInterfacesPerformanceOK) GetPayload

type PatchAPI24NetworkInterfacesParams

type PatchAPI24NetworkInterfacesParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*Names
	  Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.

	*/
	Names []string
	/*Network*/
	Network *models.NetworkInterfacePatch

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

PatchAPI24NetworkInterfacesParams contains all the parameters to send to the API endpoint for the patch API 24 network interfaces operation typically these are written to a http.Request

func NewPatchAPI24NetworkInterfacesParams

func NewPatchAPI24NetworkInterfacesParams() *PatchAPI24NetworkInterfacesParams

NewPatchAPI24NetworkInterfacesParams creates a new PatchAPI24NetworkInterfacesParams object with the default values initialized.

func NewPatchAPI24NetworkInterfacesParamsWithContext

func NewPatchAPI24NetworkInterfacesParamsWithContext(ctx context.Context) *PatchAPI24NetworkInterfacesParams

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

func NewPatchAPI24NetworkInterfacesParamsWithHTTPClient

func NewPatchAPI24NetworkInterfacesParamsWithHTTPClient(client *http.Client) *PatchAPI24NetworkInterfacesParams

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

func NewPatchAPI24NetworkInterfacesParamsWithTimeout

func NewPatchAPI24NetworkInterfacesParamsWithTimeout(timeout time.Duration) *PatchAPI24NetworkInterfacesParams

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

func (*PatchAPI24NetworkInterfacesParams) SetAuthorization

func (o *PatchAPI24NetworkInterfacesParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the patch API 24 network interfaces params

func (*PatchAPI24NetworkInterfacesParams) SetContext

SetContext adds the context to the patch API 24 network interfaces params

func (*PatchAPI24NetworkInterfacesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch API 24 network interfaces params

func (*PatchAPI24NetworkInterfacesParams) SetNames

func (o *PatchAPI24NetworkInterfacesParams) SetNames(names []string)

SetNames adds the names to the patch API 24 network interfaces params

func (*PatchAPI24NetworkInterfacesParams) SetNetwork

SetNetwork adds the network to the patch API 24 network interfaces params

func (*PatchAPI24NetworkInterfacesParams) SetTimeout

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

SetTimeout adds the timeout to the patch API 24 network interfaces params

func (*PatchAPI24NetworkInterfacesParams) SetXRequestID

func (o *PatchAPI24NetworkInterfacesParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the patch API 24 network interfaces params

func (*PatchAPI24NetworkInterfacesParams) WithAuthorization

func (o *PatchAPI24NetworkInterfacesParams) WithAuthorization(authorization *string) *PatchAPI24NetworkInterfacesParams

WithAuthorization adds the authorization to the patch API 24 network interfaces params

func (*PatchAPI24NetworkInterfacesParams) WithContext

WithContext adds the context to the patch API 24 network interfaces params

func (*PatchAPI24NetworkInterfacesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch API 24 network interfaces params

func (*PatchAPI24NetworkInterfacesParams) WithNames

WithNames adds the names to the patch API 24 network interfaces params

func (*PatchAPI24NetworkInterfacesParams) WithNetwork

WithNetwork adds the network to the patch API 24 network interfaces params

func (*PatchAPI24NetworkInterfacesParams) WithTimeout

WithTimeout adds the timeout to the patch API 24 network interfaces params

func (*PatchAPI24NetworkInterfacesParams) WithXRequestID

WithXRequestID adds the xRequestID to the patch API 24 network interfaces params

func (*PatchAPI24NetworkInterfacesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPI24NetworkInterfacesReader

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

PatchAPI24NetworkInterfacesReader is a Reader for the PatchAPI24NetworkInterfaces structure.

func (*PatchAPI24NetworkInterfacesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchApi24NetworkInterfacesBadRequest

type PatchApi24NetworkInterfacesBadRequest struct {
	Payload *models.Error
}

PatchApi24NetworkInterfacesBadRequest handles this case with default header values.

BadRequest

func NewPatchApi24NetworkInterfacesBadRequest

func NewPatchApi24NetworkInterfacesBadRequest() *PatchApi24NetworkInterfacesBadRequest

NewPatchApi24NetworkInterfacesBadRequest creates a PatchApi24NetworkInterfacesBadRequest with default headers values

func (*PatchApi24NetworkInterfacesBadRequest) Error

func (*PatchApi24NetworkInterfacesBadRequest) GetPayload

type PatchApi24NetworkInterfacesOK

type PatchApi24NetworkInterfacesOK struct {
	Payload *models.NetworkInterfaceResponse
}

PatchApi24NetworkInterfacesOK handles this case with default header values.

OK

func NewPatchApi24NetworkInterfacesOK

func NewPatchApi24NetworkInterfacesOK() *PatchApi24NetworkInterfacesOK

NewPatchApi24NetworkInterfacesOK creates a PatchApi24NetworkInterfacesOK with default headers values

func (*PatchApi24NetworkInterfacesOK) Error

func (*PatchApi24NetworkInterfacesOK) GetPayload

type PostAPI24NetworkInterfacesParams

type PostAPI24NetworkInterfacesParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*Names
	  Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.

	*/
	Names []string
	/*Network*/
	Network *models.NetworkInterfacePost

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

PostAPI24NetworkInterfacesParams contains all the parameters to send to the API endpoint for the post API 24 network interfaces operation typically these are written to a http.Request

func NewPostAPI24NetworkInterfacesParams

func NewPostAPI24NetworkInterfacesParams() *PostAPI24NetworkInterfacesParams

NewPostAPI24NetworkInterfacesParams creates a new PostAPI24NetworkInterfacesParams object with the default values initialized.

func NewPostAPI24NetworkInterfacesParamsWithContext

func NewPostAPI24NetworkInterfacesParamsWithContext(ctx context.Context) *PostAPI24NetworkInterfacesParams

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

func NewPostAPI24NetworkInterfacesParamsWithHTTPClient

func NewPostAPI24NetworkInterfacesParamsWithHTTPClient(client *http.Client) *PostAPI24NetworkInterfacesParams

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

func NewPostAPI24NetworkInterfacesParamsWithTimeout

func NewPostAPI24NetworkInterfacesParamsWithTimeout(timeout time.Duration) *PostAPI24NetworkInterfacesParams

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

func (*PostAPI24NetworkInterfacesParams) SetAuthorization

func (o *PostAPI24NetworkInterfacesParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the post API 24 network interfaces params

func (*PostAPI24NetworkInterfacesParams) SetContext

SetContext adds the context to the post API 24 network interfaces params

func (*PostAPI24NetworkInterfacesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API 24 network interfaces params

func (*PostAPI24NetworkInterfacesParams) SetNames

func (o *PostAPI24NetworkInterfacesParams) SetNames(names []string)

SetNames adds the names to the post API 24 network interfaces params

func (*PostAPI24NetworkInterfacesParams) SetNetwork

SetNetwork adds the network to the post API 24 network interfaces params

func (*PostAPI24NetworkInterfacesParams) SetTimeout

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

SetTimeout adds the timeout to the post API 24 network interfaces params

func (*PostAPI24NetworkInterfacesParams) SetXRequestID

func (o *PostAPI24NetworkInterfacesParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the post API 24 network interfaces params

func (*PostAPI24NetworkInterfacesParams) WithAuthorization

func (o *PostAPI24NetworkInterfacesParams) WithAuthorization(authorization *string) *PostAPI24NetworkInterfacesParams

WithAuthorization adds the authorization to the post API 24 network interfaces params

func (*PostAPI24NetworkInterfacesParams) WithContext

WithContext adds the context to the post API 24 network interfaces params

func (*PostAPI24NetworkInterfacesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API 24 network interfaces params

func (*PostAPI24NetworkInterfacesParams) WithNames

WithNames adds the names to the post API 24 network interfaces params

func (*PostAPI24NetworkInterfacesParams) WithNetwork

WithNetwork adds the network to the post API 24 network interfaces params

func (*PostAPI24NetworkInterfacesParams) WithTimeout

WithTimeout adds the timeout to the post API 24 network interfaces params

func (*PostAPI24NetworkInterfacesParams) WithXRequestID

WithXRequestID adds the xRequestID to the post API 24 network interfaces params

func (*PostAPI24NetworkInterfacesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPI24NetworkInterfacesReader

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

PostAPI24NetworkInterfacesReader is a Reader for the PostAPI24NetworkInterfaces structure.

func (*PostAPI24NetworkInterfacesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostApi24NetworkInterfacesBadRequest

type PostApi24NetworkInterfacesBadRequest struct {
	Payload *models.Error
}

PostApi24NetworkInterfacesBadRequest handles this case with default header values.

BadRequest

func NewPostApi24NetworkInterfacesBadRequest

func NewPostApi24NetworkInterfacesBadRequest() *PostApi24NetworkInterfacesBadRequest

NewPostApi24NetworkInterfacesBadRequest creates a PostApi24NetworkInterfacesBadRequest with default headers values

func (*PostApi24NetworkInterfacesBadRequest) Error

func (*PostApi24NetworkInterfacesBadRequest) GetPayload

type PostApi24NetworkInterfacesOK

type PostApi24NetworkInterfacesOK struct {
	Payload *models.NetworkInterfaceResponse
}

PostApi24NetworkInterfacesOK handles this case with default header values.

OK

func NewPostApi24NetworkInterfacesOK

func NewPostApi24NetworkInterfacesOK() *PostApi24NetworkInterfacesOK

NewPostApi24NetworkInterfacesOK creates a PostApi24NetworkInterfacesOK with default headers values

func (*PostApi24NetworkInterfacesOK) Error

func (*PostApi24NetworkInterfacesOK) GetPayload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL