Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteAPI24Subnets(params *DeleteAPI24SubnetsParams) (*DeleteApi24SubnetsOK, error)
- func (a *Client) GetAPI24Subnets(params *GetAPI24SubnetsParams) (*GetApi24SubnetsOK, error)
- func (a *Client) PatchAPI24Subnets(params *PatchAPI24SubnetsParams) (*PatchApi24SubnetsOK, error)
- func (a *Client) PostAPI24Subnets(params *PostAPI24SubnetsParams) (*PostApi24SubnetsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteAPI24SubnetsParams
- func NewDeleteAPI24SubnetsParams() *DeleteAPI24SubnetsParams
- func NewDeleteAPI24SubnetsParamsWithContext(ctx context.Context) *DeleteAPI24SubnetsParams
- func NewDeleteAPI24SubnetsParamsWithHTTPClient(client *http.Client) *DeleteAPI24SubnetsParams
- func NewDeleteAPI24SubnetsParamsWithTimeout(timeout time.Duration) *DeleteAPI24SubnetsParams
- func (o *DeleteAPI24SubnetsParams) SetAuthorization(authorization *string)
- func (o *DeleteAPI24SubnetsParams) SetContext(ctx context.Context)
- func (o *DeleteAPI24SubnetsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPI24SubnetsParams) SetNames(names []string)
- func (o *DeleteAPI24SubnetsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPI24SubnetsParams) SetXRequestID(xRequestID *string)
- func (o *DeleteAPI24SubnetsParams) WithAuthorization(authorization *string) *DeleteAPI24SubnetsParams
- func (o *DeleteAPI24SubnetsParams) WithContext(ctx context.Context) *DeleteAPI24SubnetsParams
- func (o *DeleteAPI24SubnetsParams) WithHTTPClient(client *http.Client) *DeleteAPI24SubnetsParams
- func (o *DeleteAPI24SubnetsParams) WithNames(names []string) *DeleteAPI24SubnetsParams
- func (o *DeleteAPI24SubnetsParams) WithTimeout(timeout time.Duration) *DeleteAPI24SubnetsParams
- func (o *DeleteAPI24SubnetsParams) WithXRequestID(xRequestID *string) *DeleteAPI24SubnetsParams
- func (o *DeleteAPI24SubnetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPI24SubnetsReader
- type DeleteApi24SubnetsBadRequest
- type DeleteApi24SubnetsOK
- type GetAPI24SubnetsParams
- func NewGetAPI24SubnetsParams() *GetAPI24SubnetsParams
- func NewGetAPI24SubnetsParamsWithContext(ctx context.Context) *GetAPI24SubnetsParams
- func NewGetAPI24SubnetsParamsWithHTTPClient(client *http.Client) *GetAPI24SubnetsParams
- func NewGetAPI24SubnetsParamsWithTimeout(timeout time.Duration) *GetAPI24SubnetsParams
- func (o *GetAPI24SubnetsParams) SetAuthorization(authorization *string)
- func (o *GetAPI24SubnetsParams) SetContext(ctx context.Context)
- func (o *GetAPI24SubnetsParams) SetContinuationToken(continuationToken *string)
- func (o *GetAPI24SubnetsParams) SetFilter(filter *string)
- func (o *GetAPI24SubnetsParams) SetHTTPClient(client *http.Client)
- func (o *GetAPI24SubnetsParams) SetLimit(limit *int32)
- func (o *GetAPI24SubnetsParams) SetNames(names []string)
- func (o *GetAPI24SubnetsParams) SetOffset(offset *int32)
- func (o *GetAPI24SubnetsParams) SetSort(sort []string)
- func (o *GetAPI24SubnetsParams) SetTimeout(timeout time.Duration)
- func (o *GetAPI24SubnetsParams) SetTotalItemCount(totalItemCount *bool)
- func (o *GetAPI24SubnetsParams) SetXRequestID(xRequestID *string)
- func (o *GetAPI24SubnetsParams) WithAuthorization(authorization *string) *GetAPI24SubnetsParams
- func (o *GetAPI24SubnetsParams) WithContext(ctx context.Context) *GetAPI24SubnetsParams
- func (o *GetAPI24SubnetsParams) WithContinuationToken(continuationToken *string) *GetAPI24SubnetsParams
- func (o *GetAPI24SubnetsParams) WithFilter(filter *string) *GetAPI24SubnetsParams
- func (o *GetAPI24SubnetsParams) WithHTTPClient(client *http.Client) *GetAPI24SubnetsParams
- func (o *GetAPI24SubnetsParams) WithLimit(limit *int32) *GetAPI24SubnetsParams
- func (o *GetAPI24SubnetsParams) WithNames(names []string) *GetAPI24SubnetsParams
- func (o *GetAPI24SubnetsParams) WithOffset(offset *int32) *GetAPI24SubnetsParams
- func (o *GetAPI24SubnetsParams) WithSort(sort []string) *GetAPI24SubnetsParams
- func (o *GetAPI24SubnetsParams) WithTimeout(timeout time.Duration) *GetAPI24SubnetsParams
- func (o *GetAPI24SubnetsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24SubnetsParams
- func (o *GetAPI24SubnetsParams) WithXRequestID(xRequestID *string) *GetAPI24SubnetsParams
- func (o *GetAPI24SubnetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPI24SubnetsReader
- type GetApi24SubnetsBadRequest
- type GetApi24SubnetsOK
- type PatchAPI24SubnetsParams
- func NewPatchAPI24SubnetsParams() *PatchAPI24SubnetsParams
- func NewPatchAPI24SubnetsParamsWithContext(ctx context.Context) *PatchAPI24SubnetsParams
- func NewPatchAPI24SubnetsParamsWithHTTPClient(client *http.Client) *PatchAPI24SubnetsParams
- func NewPatchAPI24SubnetsParamsWithTimeout(timeout time.Duration) *PatchAPI24SubnetsParams
- func (o *PatchAPI24SubnetsParams) SetAuthorization(authorization *string)
- func (o *PatchAPI24SubnetsParams) SetContext(ctx context.Context)
- func (o *PatchAPI24SubnetsParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPI24SubnetsParams) SetNames(names []string)
- func (o *PatchAPI24SubnetsParams) SetSubnet(subnet *models.SubnetPatch)
- func (o *PatchAPI24SubnetsParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPI24SubnetsParams) SetXRequestID(xRequestID *string)
- func (o *PatchAPI24SubnetsParams) WithAuthorization(authorization *string) *PatchAPI24SubnetsParams
- func (o *PatchAPI24SubnetsParams) WithContext(ctx context.Context) *PatchAPI24SubnetsParams
- func (o *PatchAPI24SubnetsParams) WithHTTPClient(client *http.Client) *PatchAPI24SubnetsParams
- func (o *PatchAPI24SubnetsParams) WithNames(names []string) *PatchAPI24SubnetsParams
- func (o *PatchAPI24SubnetsParams) WithSubnet(subnet *models.SubnetPatch) *PatchAPI24SubnetsParams
- func (o *PatchAPI24SubnetsParams) WithTimeout(timeout time.Duration) *PatchAPI24SubnetsParams
- func (o *PatchAPI24SubnetsParams) WithXRequestID(xRequestID *string) *PatchAPI24SubnetsParams
- func (o *PatchAPI24SubnetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPI24SubnetsReader
- type PatchApi24SubnetsBadRequest
- type PatchApi24SubnetsOK
- type PostAPI24SubnetsParams
- func NewPostAPI24SubnetsParams() *PostAPI24SubnetsParams
- func NewPostAPI24SubnetsParamsWithContext(ctx context.Context) *PostAPI24SubnetsParams
- func NewPostAPI24SubnetsParamsWithHTTPClient(client *http.Client) *PostAPI24SubnetsParams
- func NewPostAPI24SubnetsParamsWithTimeout(timeout time.Duration) *PostAPI24SubnetsParams
- func (o *PostAPI24SubnetsParams) SetAuthorization(authorization *string)
- func (o *PostAPI24SubnetsParams) SetContext(ctx context.Context)
- func (o *PostAPI24SubnetsParams) SetHTTPClient(client *http.Client)
- func (o *PostAPI24SubnetsParams) SetNames(names []string)
- func (o *PostAPI24SubnetsParams) SetSubnet(subnet *models.SubnetPost)
- func (o *PostAPI24SubnetsParams) SetTimeout(timeout time.Duration)
- func (o *PostAPI24SubnetsParams) SetXRequestID(xRequestID *string)
- func (o *PostAPI24SubnetsParams) WithAuthorization(authorization *string) *PostAPI24SubnetsParams
- func (o *PostAPI24SubnetsParams) WithContext(ctx context.Context) *PostAPI24SubnetsParams
- func (o *PostAPI24SubnetsParams) WithHTTPClient(client *http.Client) *PostAPI24SubnetsParams
- func (o *PostAPI24SubnetsParams) WithNames(names []string) *PostAPI24SubnetsParams
- func (o *PostAPI24SubnetsParams) WithSubnet(subnet *models.SubnetPost) *PostAPI24SubnetsParams
- func (o *PostAPI24SubnetsParams) WithTimeout(timeout time.Duration) *PostAPI24SubnetsParams
- func (o *PostAPI24SubnetsParams) WithXRequestID(xRequestID *string) *PostAPI24SubnetsParams
- func (o *PostAPI24SubnetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPI24SubnetsReader
- type PostApi24SubnetsBadRequest
- type PostApi24SubnetsOK
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 subnets API
func (*Client) DeleteAPI24Subnets ¶
func (a *Client) DeleteAPI24Subnets(params *DeleteAPI24SubnetsParams) (*DeleteApi24SubnetsOK, error)
DeleteAPI24Subnets deletes subnet
Deletes subnets. A subnet can only be deleted if it has no interfaces. Interfaces must be removed by using the `network-interfaces` endpoint.
func (*Client) GetAPI24Subnets ¶
func (a *Client) GetAPI24Subnets(params *GetAPI24SubnetsParams) (*GetApi24SubnetsOK, error)
GetAPI24Subnets lists subnets
Displays a list of subnets with statuses and attributes.
func (*Client) PatchAPI24Subnets ¶
func (a *Client) PatchAPI24Subnets(params *PatchAPI24SubnetsParams) (*PatchApi24SubnetsOK, error)
PatchAPI24Subnets modifies subnet
Modifies one or more specified subnet properties.
func (*Client) PostAPI24Subnets ¶
func (a *Client) PostAPI24Subnets(params *PostAPI24SubnetsParams) (*PostApi24SubnetsOK, error)
PostAPI24Subnets creates subnet
Creates a subnet with the specified parameters.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DeleteAPI24Subnets(params *DeleteAPI24SubnetsParams) (*DeleteApi24SubnetsOK, error) GetAPI24Subnets(params *GetAPI24SubnetsParams) (*GetApi24SubnetsOK, error) PatchAPI24Subnets(params *PatchAPI24SubnetsParams) (*PatchApi24SubnetsOK, error) PostAPI24Subnets(params *PostAPI24SubnetsParams) (*PostApi24SubnetsOK, 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 subnets API client.
type DeleteAPI24SubnetsParams ¶
type DeleteAPI24SubnetsParams 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 }
DeleteAPI24SubnetsParams contains all the parameters to send to the API endpoint for the delete API 24 subnets operation typically these are written to a http.Request
func NewDeleteAPI24SubnetsParams ¶
func NewDeleteAPI24SubnetsParams() *DeleteAPI24SubnetsParams
NewDeleteAPI24SubnetsParams creates a new DeleteAPI24SubnetsParams object with the default values initialized.
func NewDeleteAPI24SubnetsParamsWithContext ¶
func NewDeleteAPI24SubnetsParamsWithContext(ctx context.Context) *DeleteAPI24SubnetsParams
NewDeleteAPI24SubnetsParamsWithContext creates a new DeleteAPI24SubnetsParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteAPI24SubnetsParamsWithHTTPClient ¶
func NewDeleteAPI24SubnetsParamsWithHTTPClient(client *http.Client) *DeleteAPI24SubnetsParams
NewDeleteAPI24SubnetsParamsWithHTTPClient creates a new DeleteAPI24SubnetsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteAPI24SubnetsParamsWithTimeout ¶
func NewDeleteAPI24SubnetsParamsWithTimeout(timeout time.Duration) *DeleteAPI24SubnetsParams
NewDeleteAPI24SubnetsParamsWithTimeout creates a new DeleteAPI24SubnetsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteAPI24SubnetsParams) SetAuthorization ¶
func (o *DeleteAPI24SubnetsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the delete API 24 subnets params
func (*DeleteAPI24SubnetsParams) SetContext ¶
func (o *DeleteAPI24SubnetsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API 24 subnets params
func (*DeleteAPI24SubnetsParams) SetHTTPClient ¶
func (o *DeleteAPI24SubnetsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API 24 subnets params
func (*DeleteAPI24SubnetsParams) SetNames ¶
func (o *DeleteAPI24SubnetsParams) SetNames(names []string)
SetNames adds the names to the delete API 24 subnets params
func (*DeleteAPI24SubnetsParams) SetTimeout ¶
func (o *DeleteAPI24SubnetsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API 24 subnets params
func (*DeleteAPI24SubnetsParams) SetXRequestID ¶
func (o *DeleteAPI24SubnetsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete API 24 subnets params
func (*DeleteAPI24SubnetsParams) WithAuthorization ¶
func (o *DeleteAPI24SubnetsParams) WithAuthorization(authorization *string) *DeleteAPI24SubnetsParams
WithAuthorization adds the authorization to the delete API 24 subnets params
func (*DeleteAPI24SubnetsParams) WithContext ¶
func (o *DeleteAPI24SubnetsParams) WithContext(ctx context.Context) *DeleteAPI24SubnetsParams
WithContext adds the context to the delete API 24 subnets params
func (*DeleteAPI24SubnetsParams) WithHTTPClient ¶
func (o *DeleteAPI24SubnetsParams) WithHTTPClient(client *http.Client) *DeleteAPI24SubnetsParams
WithHTTPClient adds the HTTPClient to the delete API 24 subnets params
func (*DeleteAPI24SubnetsParams) WithNames ¶
func (o *DeleteAPI24SubnetsParams) WithNames(names []string) *DeleteAPI24SubnetsParams
WithNames adds the names to the delete API 24 subnets params
func (*DeleteAPI24SubnetsParams) WithTimeout ¶
func (o *DeleteAPI24SubnetsParams) WithTimeout(timeout time.Duration) *DeleteAPI24SubnetsParams
WithTimeout adds the timeout to the delete API 24 subnets params
func (*DeleteAPI24SubnetsParams) WithXRequestID ¶
func (o *DeleteAPI24SubnetsParams) WithXRequestID(xRequestID *string) *DeleteAPI24SubnetsParams
WithXRequestID adds the xRequestID to the delete API 24 subnets params
func (*DeleteAPI24SubnetsParams) WriteToRequest ¶
func (o *DeleteAPI24SubnetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPI24SubnetsReader ¶
type DeleteAPI24SubnetsReader struct {
// contains filtered or unexported fields
}
DeleteAPI24SubnetsReader is a Reader for the DeleteAPI24Subnets structure.
func (*DeleteAPI24SubnetsReader) ReadResponse ¶
func (o *DeleteAPI24SubnetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteApi24SubnetsBadRequest ¶
DeleteApi24SubnetsBadRequest handles this case with default header values.
BadRequest
func NewDeleteApi24SubnetsBadRequest ¶
func NewDeleteApi24SubnetsBadRequest() *DeleteApi24SubnetsBadRequest
NewDeleteApi24SubnetsBadRequest creates a DeleteApi24SubnetsBadRequest with default headers values
func (*DeleteApi24SubnetsBadRequest) Error ¶
func (o *DeleteApi24SubnetsBadRequest) Error() string
func (*DeleteApi24SubnetsBadRequest) GetPayload ¶
func (o *DeleteApi24SubnetsBadRequest) GetPayload() *models.Error
type DeleteApi24SubnetsOK ¶
type DeleteApi24SubnetsOK struct { }
DeleteApi24SubnetsOK handles this case with default header values.
OK
func NewDeleteApi24SubnetsOK ¶
func NewDeleteApi24SubnetsOK() *DeleteApi24SubnetsOK
NewDeleteApi24SubnetsOK creates a DeleteApi24SubnetsOK with default headers values
func (*DeleteApi24SubnetsOK) Error ¶
func (o *DeleteApi24SubnetsOK) Error() string
type GetAPI24SubnetsParams ¶
type GetAPI24SubnetsParams 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 }
GetAPI24SubnetsParams contains all the parameters to send to the API endpoint for the get API 24 subnets operation typically these are written to a http.Request
func NewGetAPI24SubnetsParams ¶
func NewGetAPI24SubnetsParams() *GetAPI24SubnetsParams
NewGetAPI24SubnetsParams creates a new GetAPI24SubnetsParams object with the default values initialized.
func NewGetAPI24SubnetsParamsWithContext ¶
func NewGetAPI24SubnetsParamsWithContext(ctx context.Context) *GetAPI24SubnetsParams
NewGetAPI24SubnetsParamsWithContext creates a new GetAPI24SubnetsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAPI24SubnetsParamsWithHTTPClient ¶
func NewGetAPI24SubnetsParamsWithHTTPClient(client *http.Client) *GetAPI24SubnetsParams
NewGetAPI24SubnetsParamsWithHTTPClient creates a new GetAPI24SubnetsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAPI24SubnetsParamsWithTimeout ¶
func NewGetAPI24SubnetsParamsWithTimeout(timeout time.Duration) *GetAPI24SubnetsParams
NewGetAPI24SubnetsParamsWithTimeout creates a new GetAPI24SubnetsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAPI24SubnetsParams) SetAuthorization ¶
func (o *GetAPI24SubnetsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get API 24 subnets params
func (*GetAPI24SubnetsParams) SetContext ¶
func (o *GetAPI24SubnetsParams) SetContext(ctx context.Context)
SetContext adds the context to the get API 24 subnets params
func (*GetAPI24SubnetsParams) SetContinuationToken ¶
func (o *GetAPI24SubnetsParams) SetContinuationToken(continuationToken *string)
SetContinuationToken adds the continuationToken to the get API 24 subnets params
func (*GetAPI24SubnetsParams) SetFilter ¶
func (o *GetAPI24SubnetsParams) SetFilter(filter *string)
SetFilter adds the filter to the get API 24 subnets params
func (*GetAPI24SubnetsParams) SetHTTPClient ¶
func (o *GetAPI24SubnetsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API 24 subnets params
func (*GetAPI24SubnetsParams) SetLimit ¶
func (o *GetAPI24SubnetsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get API 24 subnets params
func (*GetAPI24SubnetsParams) SetNames ¶
func (o *GetAPI24SubnetsParams) SetNames(names []string)
SetNames adds the names to the get API 24 subnets params
func (*GetAPI24SubnetsParams) SetOffset ¶
func (o *GetAPI24SubnetsParams) SetOffset(offset *int32)
SetOffset adds the offset to the get API 24 subnets params
func (*GetAPI24SubnetsParams) SetSort ¶
func (o *GetAPI24SubnetsParams) SetSort(sort []string)
SetSort adds the sort to the get API 24 subnets params
func (*GetAPI24SubnetsParams) SetTimeout ¶
func (o *GetAPI24SubnetsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API 24 subnets params
func (*GetAPI24SubnetsParams) SetTotalItemCount ¶
func (o *GetAPI24SubnetsParams) SetTotalItemCount(totalItemCount *bool)
SetTotalItemCount adds the totalItemCount to the get API 24 subnets params
func (*GetAPI24SubnetsParams) SetXRequestID ¶
func (o *GetAPI24SubnetsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get API 24 subnets params
func (*GetAPI24SubnetsParams) WithAuthorization ¶
func (o *GetAPI24SubnetsParams) WithAuthorization(authorization *string) *GetAPI24SubnetsParams
WithAuthorization adds the authorization to the get API 24 subnets params
func (*GetAPI24SubnetsParams) WithContext ¶
func (o *GetAPI24SubnetsParams) WithContext(ctx context.Context) *GetAPI24SubnetsParams
WithContext adds the context to the get API 24 subnets params
func (*GetAPI24SubnetsParams) WithContinuationToken ¶
func (o *GetAPI24SubnetsParams) WithContinuationToken(continuationToken *string) *GetAPI24SubnetsParams
WithContinuationToken adds the continuationToken to the get API 24 subnets params
func (*GetAPI24SubnetsParams) WithFilter ¶
func (o *GetAPI24SubnetsParams) WithFilter(filter *string) *GetAPI24SubnetsParams
WithFilter adds the filter to the get API 24 subnets params
func (*GetAPI24SubnetsParams) WithHTTPClient ¶
func (o *GetAPI24SubnetsParams) WithHTTPClient(client *http.Client) *GetAPI24SubnetsParams
WithHTTPClient adds the HTTPClient to the get API 24 subnets params
func (*GetAPI24SubnetsParams) WithLimit ¶
func (o *GetAPI24SubnetsParams) WithLimit(limit *int32) *GetAPI24SubnetsParams
WithLimit adds the limit to the get API 24 subnets params
func (*GetAPI24SubnetsParams) WithNames ¶
func (o *GetAPI24SubnetsParams) WithNames(names []string) *GetAPI24SubnetsParams
WithNames adds the names to the get API 24 subnets params
func (*GetAPI24SubnetsParams) WithOffset ¶
func (o *GetAPI24SubnetsParams) WithOffset(offset *int32) *GetAPI24SubnetsParams
WithOffset adds the offset to the get API 24 subnets params
func (*GetAPI24SubnetsParams) WithSort ¶
func (o *GetAPI24SubnetsParams) WithSort(sort []string) *GetAPI24SubnetsParams
WithSort adds the sort to the get API 24 subnets params
func (*GetAPI24SubnetsParams) WithTimeout ¶
func (o *GetAPI24SubnetsParams) WithTimeout(timeout time.Duration) *GetAPI24SubnetsParams
WithTimeout adds the timeout to the get API 24 subnets params
func (*GetAPI24SubnetsParams) WithTotalItemCount ¶
func (o *GetAPI24SubnetsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24SubnetsParams
WithTotalItemCount adds the totalItemCount to the get API 24 subnets params
func (*GetAPI24SubnetsParams) WithXRequestID ¶
func (o *GetAPI24SubnetsParams) WithXRequestID(xRequestID *string) *GetAPI24SubnetsParams
WithXRequestID adds the xRequestID to the get API 24 subnets params
func (*GetAPI24SubnetsParams) WriteToRequest ¶
func (o *GetAPI24SubnetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPI24SubnetsReader ¶
type GetAPI24SubnetsReader struct {
// contains filtered or unexported fields
}
GetAPI24SubnetsReader is a Reader for the GetAPI24Subnets structure.
func (*GetAPI24SubnetsReader) ReadResponse ¶
func (o *GetAPI24SubnetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetApi24SubnetsBadRequest ¶
GetApi24SubnetsBadRequest handles this case with default header values.
BadRequest
func NewGetApi24SubnetsBadRequest ¶
func NewGetApi24SubnetsBadRequest() *GetApi24SubnetsBadRequest
NewGetApi24SubnetsBadRequest creates a GetApi24SubnetsBadRequest with default headers values
func (*GetApi24SubnetsBadRequest) Error ¶
func (o *GetApi24SubnetsBadRequest) Error() string
func (*GetApi24SubnetsBadRequest) GetPayload ¶
func (o *GetApi24SubnetsBadRequest) GetPayload() *models.Error
type GetApi24SubnetsOK ¶
type GetApi24SubnetsOK struct {
Payload *models.SubnetGetResponse
}
GetApi24SubnetsOK handles this case with default header values.
OK
func NewGetApi24SubnetsOK ¶
func NewGetApi24SubnetsOK() *GetApi24SubnetsOK
NewGetApi24SubnetsOK creates a GetApi24SubnetsOK with default headers values
func (*GetApi24SubnetsOK) Error ¶
func (o *GetApi24SubnetsOK) Error() string
func (*GetApi24SubnetsOK) GetPayload ¶
func (o *GetApi24SubnetsOK) GetPayload() *models.SubnetGetResponse
type PatchAPI24SubnetsParams ¶
type PatchAPI24SubnetsParams 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 /*Subnet*/ Subnet *models.SubnetPatch Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchAPI24SubnetsParams contains all the parameters to send to the API endpoint for the patch API 24 subnets operation typically these are written to a http.Request
func NewPatchAPI24SubnetsParams ¶
func NewPatchAPI24SubnetsParams() *PatchAPI24SubnetsParams
NewPatchAPI24SubnetsParams creates a new PatchAPI24SubnetsParams object with the default values initialized.
func NewPatchAPI24SubnetsParamsWithContext ¶
func NewPatchAPI24SubnetsParamsWithContext(ctx context.Context) *PatchAPI24SubnetsParams
NewPatchAPI24SubnetsParamsWithContext creates a new PatchAPI24SubnetsParams object with the default values initialized, and the ability to set a context for a request
func NewPatchAPI24SubnetsParamsWithHTTPClient ¶
func NewPatchAPI24SubnetsParamsWithHTTPClient(client *http.Client) *PatchAPI24SubnetsParams
NewPatchAPI24SubnetsParamsWithHTTPClient creates a new PatchAPI24SubnetsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchAPI24SubnetsParamsWithTimeout ¶
func NewPatchAPI24SubnetsParamsWithTimeout(timeout time.Duration) *PatchAPI24SubnetsParams
NewPatchAPI24SubnetsParamsWithTimeout creates a new PatchAPI24SubnetsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchAPI24SubnetsParams) SetAuthorization ¶
func (o *PatchAPI24SubnetsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the patch API 24 subnets params
func (*PatchAPI24SubnetsParams) SetContext ¶
func (o *PatchAPI24SubnetsParams) SetContext(ctx context.Context)
SetContext adds the context to the patch API 24 subnets params
func (*PatchAPI24SubnetsParams) SetHTTPClient ¶
func (o *PatchAPI24SubnetsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch API 24 subnets params
func (*PatchAPI24SubnetsParams) SetNames ¶
func (o *PatchAPI24SubnetsParams) SetNames(names []string)
SetNames adds the names to the patch API 24 subnets params
func (*PatchAPI24SubnetsParams) SetSubnet ¶
func (o *PatchAPI24SubnetsParams) SetSubnet(subnet *models.SubnetPatch)
SetSubnet adds the subnet to the patch API 24 subnets params
func (*PatchAPI24SubnetsParams) SetTimeout ¶
func (o *PatchAPI24SubnetsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch API 24 subnets params
func (*PatchAPI24SubnetsParams) SetXRequestID ¶
func (o *PatchAPI24SubnetsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the patch API 24 subnets params
func (*PatchAPI24SubnetsParams) WithAuthorization ¶
func (o *PatchAPI24SubnetsParams) WithAuthorization(authorization *string) *PatchAPI24SubnetsParams
WithAuthorization adds the authorization to the patch API 24 subnets params
func (*PatchAPI24SubnetsParams) WithContext ¶
func (o *PatchAPI24SubnetsParams) WithContext(ctx context.Context) *PatchAPI24SubnetsParams
WithContext adds the context to the patch API 24 subnets params
func (*PatchAPI24SubnetsParams) WithHTTPClient ¶
func (o *PatchAPI24SubnetsParams) WithHTTPClient(client *http.Client) *PatchAPI24SubnetsParams
WithHTTPClient adds the HTTPClient to the patch API 24 subnets params
func (*PatchAPI24SubnetsParams) WithNames ¶
func (o *PatchAPI24SubnetsParams) WithNames(names []string) *PatchAPI24SubnetsParams
WithNames adds the names to the patch API 24 subnets params
func (*PatchAPI24SubnetsParams) WithSubnet ¶
func (o *PatchAPI24SubnetsParams) WithSubnet(subnet *models.SubnetPatch) *PatchAPI24SubnetsParams
WithSubnet adds the subnet to the patch API 24 subnets params
func (*PatchAPI24SubnetsParams) WithTimeout ¶
func (o *PatchAPI24SubnetsParams) WithTimeout(timeout time.Duration) *PatchAPI24SubnetsParams
WithTimeout adds the timeout to the patch API 24 subnets params
func (*PatchAPI24SubnetsParams) WithXRequestID ¶
func (o *PatchAPI24SubnetsParams) WithXRequestID(xRequestID *string) *PatchAPI24SubnetsParams
WithXRequestID adds the xRequestID to the patch API 24 subnets params
func (*PatchAPI24SubnetsParams) WriteToRequest ¶
func (o *PatchAPI24SubnetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchAPI24SubnetsReader ¶
type PatchAPI24SubnetsReader struct {
// contains filtered or unexported fields
}
PatchAPI24SubnetsReader is a Reader for the PatchAPI24Subnets structure.
func (*PatchAPI24SubnetsReader) ReadResponse ¶
func (o *PatchAPI24SubnetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchApi24SubnetsBadRequest ¶
PatchApi24SubnetsBadRequest handles this case with default header values.
BadRequest
func NewPatchApi24SubnetsBadRequest ¶
func NewPatchApi24SubnetsBadRequest() *PatchApi24SubnetsBadRequest
NewPatchApi24SubnetsBadRequest creates a PatchApi24SubnetsBadRequest with default headers values
func (*PatchApi24SubnetsBadRequest) Error ¶
func (o *PatchApi24SubnetsBadRequest) Error() string
func (*PatchApi24SubnetsBadRequest) GetPayload ¶
func (o *PatchApi24SubnetsBadRequest) GetPayload() *models.Error
type PatchApi24SubnetsOK ¶
type PatchApi24SubnetsOK struct {
Payload *models.SubnetResponse
}
PatchApi24SubnetsOK handles this case with default header values.
Displays the updated subnet.
func NewPatchApi24SubnetsOK ¶
func NewPatchApi24SubnetsOK() *PatchApi24SubnetsOK
NewPatchApi24SubnetsOK creates a PatchApi24SubnetsOK with default headers values
func (*PatchApi24SubnetsOK) Error ¶
func (o *PatchApi24SubnetsOK) Error() string
func (*PatchApi24SubnetsOK) GetPayload ¶
func (o *PatchApi24SubnetsOK) GetPayload() *models.SubnetResponse
type PostAPI24SubnetsParams ¶
type PostAPI24SubnetsParams 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. For example, `name01`. Enter multiple names in comma-separated format. */ Names []string /*Subnet*/ Subnet *models.SubnetPost Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAPI24SubnetsParams contains all the parameters to send to the API endpoint for the post API 24 subnets operation typically these are written to a http.Request
func NewPostAPI24SubnetsParams ¶
func NewPostAPI24SubnetsParams() *PostAPI24SubnetsParams
NewPostAPI24SubnetsParams creates a new PostAPI24SubnetsParams object with the default values initialized.
func NewPostAPI24SubnetsParamsWithContext ¶
func NewPostAPI24SubnetsParamsWithContext(ctx context.Context) *PostAPI24SubnetsParams
NewPostAPI24SubnetsParamsWithContext creates a new PostAPI24SubnetsParams object with the default values initialized, and the ability to set a context for a request
func NewPostAPI24SubnetsParamsWithHTTPClient ¶
func NewPostAPI24SubnetsParamsWithHTTPClient(client *http.Client) *PostAPI24SubnetsParams
NewPostAPI24SubnetsParamsWithHTTPClient creates a new PostAPI24SubnetsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostAPI24SubnetsParamsWithTimeout ¶
func NewPostAPI24SubnetsParamsWithTimeout(timeout time.Duration) *PostAPI24SubnetsParams
NewPostAPI24SubnetsParamsWithTimeout creates a new PostAPI24SubnetsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostAPI24SubnetsParams) SetAuthorization ¶
func (o *PostAPI24SubnetsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the post API 24 subnets params
func (*PostAPI24SubnetsParams) SetContext ¶
func (o *PostAPI24SubnetsParams) SetContext(ctx context.Context)
SetContext adds the context to the post API 24 subnets params
func (*PostAPI24SubnetsParams) SetHTTPClient ¶
func (o *PostAPI24SubnetsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API 24 subnets params
func (*PostAPI24SubnetsParams) SetNames ¶
func (o *PostAPI24SubnetsParams) SetNames(names []string)
SetNames adds the names to the post API 24 subnets params
func (*PostAPI24SubnetsParams) SetSubnet ¶
func (o *PostAPI24SubnetsParams) SetSubnet(subnet *models.SubnetPost)
SetSubnet adds the subnet to the post API 24 subnets params
func (*PostAPI24SubnetsParams) SetTimeout ¶
func (o *PostAPI24SubnetsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API 24 subnets params
func (*PostAPI24SubnetsParams) SetXRequestID ¶
func (o *PostAPI24SubnetsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the post API 24 subnets params
func (*PostAPI24SubnetsParams) WithAuthorization ¶
func (o *PostAPI24SubnetsParams) WithAuthorization(authorization *string) *PostAPI24SubnetsParams
WithAuthorization adds the authorization to the post API 24 subnets params
func (*PostAPI24SubnetsParams) WithContext ¶
func (o *PostAPI24SubnetsParams) WithContext(ctx context.Context) *PostAPI24SubnetsParams
WithContext adds the context to the post API 24 subnets params
func (*PostAPI24SubnetsParams) WithHTTPClient ¶
func (o *PostAPI24SubnetsParams) WithHTTPClient(client *http.Client) *PostAPI24SubnetsParams
WithHTTPClient adds the HTTPClient to the post API 24 subnets params
func (*PostAPI24SubnetsParams) WithNames ¶
func (o *PostAPI24SubnetsParams) WithNames(names []string) *PostAPI24SubnetsParams
WithNames adds the names to the post API 24 subnets params
func (*PostAPI24SubnetsParams) WithSubnet ¶
func (o *PostAPI24SubnetsParams) WithSubnet(subnet *models.SubnetPost) *PostAPI24SubnetsParams
WithSubnet adds the subnet to the post API 24 subnets params
func (*PostAPI24SubnetsParams) WithTimeout ¶
func (o *PostAPI24SubnetsParams) WithTimeout(timeout time.Duration) *PostAPI24SubnetsParams
WithTimeout adds the timeout to the post API 24 subnets params
func (*PostAPI24SubnetsParams) WithXRequestID ¶
func (o *PostAPI24SubnetsParams) WithXRequestID(xRequestID *string) *PostAPI24SubnetsParams
WithXRequestID adds the xRequestID to the post API 24 subnets params
func (*PostAPI24SubnetsParams) WriteToRequest ¶
func (o *PostAPI24SubnetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPI24SubnetsReader ¶
type PostAPI24SubnetsReader struct {
// contains filtered or unexported fields
}
PostAPI24SubnetsReader is a Reader for the PostAPI24Subnets structure.
func (*PostAPI24SubnetsReader) ReadResponse ¶
func (o *PostAPI24SubnetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostApi24SubnetsBadRequest ¶
PostApi24SubnetsBadRequest handles this case with default header values.
BadRequest
func NewPostApi24SubnetsBadRequest ¶
func NewPostApi24SubnetsBadRequest() *PostApi24SubnetsBadRequest
NewPostApi24SubnetsBadRequest creates a PostApi24SubnetsBadRequest with default headers values
func (*PostApi24SubnetsBadRequest) Error ¶
func (o *PostApi24SubnetsBadRequest) Error() string
func (*PostApi24SubnetsBadRequest) GetPayload ¶
func (o *PostApi24SubnetsBadRequest) GetPayload() *models.Error
type PostApi24SubnetsOK ¶
type PostApi24SubnetsOK struct {
Payload *models.SubnetResponse
}
PostApi24SubnetsOK handles this case with default header values.
Displays the newly created subnet.
func NewPostApi24SubnetsOK ¶
func NewPostApi24SubnetsOK() *PostApi24SubnetsOK
NewPostApi24SubnetsOK creates a PostApi24SubnetsOK with default headers values
func (*PostApi24SubnetsOK) Error ¶
func (o *PostApi24SubnetsOK) Error() string
func (*PostApi24SubnetsOK) GetPayload ¶
func (o *PostApi24SubnetsOK) GetPayload() *models.SubnetResponse