Documentation ¶
Index ¶
- type Client
- func (a *Client) RangeCreate(params *RangeCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RangeCreateCreated, error)
- func (a *Client) RangeCreateNextAvailableIP(params *RangeCreateNextAvailableIPParams, ...) (*RangeCreateNextAvailableIPCreated, error)
- func (a *Client) RangeDelete(params *RangeDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RangeDeleteNoContent, error)
- func (a *Client) RangeList(params *RangeListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RangeListOK, error)
- func (a *Client) RangeListNextAvailableIP(params *RangeListNextAvailableIPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RangeListNextAvailableIPOK, error)
- func (a *Client) RangeRead(params *RangeReadParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RangeReadOK, error)
- func (a *Client) RangeUpdate(params *RangeUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RangeUpdateCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type RangeCreateCreated
- type RangeCreateNextAvailableIPCreated
- type RangeCreateNextAvailableIPParams
- func NewRangeCreateNextAvailableIPParams() *RangeCreateNextAvailableIPParams
- func NewRangeCreateNextAvailableIPParamsWithContext(ctx context.Context) *RangeCreateNextAvailableIPParams
- func NewRangeCreateNextAvailableIPParamsWithHTTPClient(client *http.Client) *RangeCreateNextAvailableIPParams
- func NewRangeCreateNextAvailableIPParamsWithTimeout(timeout time.Duration) *RangeCreateNextAvailableIPParams
- func (o *RangeCreateNextAvailableIPParams) SetContext(ctx context.Context)
- func (o *RangeCreateNextAvailableIPParams) SetDefaults()
- func (o *RangeCreateNextAvailableIPParams) SetHTTPClient(client *http.Client)
- func (o *RangeCreateNextAvailableIPParams) SetID(id string)
- func (o *RangeCreateNextAvailableIPParams) SetTimeout(timeout time.Duration)
- func (o *RangeCreateNextAvailableIPParams) WithContext(ctx context.Context) *RangeCreateNextAvailableIPParams
- func (o *RangeCreateNextAvailableIPParams) WithDefaults() *RangeCreateNextAvailableIPParams
- func (o *RangeCreateNextAvailableIPParams) WithHTTPClient(client *http.Client) *RangeCreateNextAvailableIPParams
- func (o *RangeCreateNextAvailableIPParams) WithID(id string) *RangeCreateNextAvailableIPParams
- func (o *RangeCreateNextAvailableIPParams) WithTimeout(timeout time.Duration) *RangeCreateNextAvailableIPParams
- func (o *RangeCreateNextAvailableIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RangeCreateNextAvailableIPReader
- type RangeCreateParams
- func (o *RangeCreateParams) SetBody(body *models.IpamsvcRange)
- func (o *RangeCreateParams) SetContext(ctx context.Context)
- func (o *RangeCreateParams) SetDefaults()
- func (o *RangeCreateParams) SetHTTPClient(client *http.Client)
- func (o *RangeCreateParams) SetTimeout(timeout time.Duration)
- func (o *RangeCreateParams) WithBody(body *models.IpamsvcRange) *RangeCreateParams
- func (o *RangeCreateParams) WithContext(ctx context.Context) *RangeCreateParams
- func (o *RangeCreateParams) WithDefaults() *RangeCreateParams
- func (o *RangeCreateParams) WithHTTPClient(client *http.Client) *RangeCreateParams
- func (o *RangeCreateParams) WithTimeout(timeout time.Duration) *RangeCreateParams
- func (o *RangeCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RangeCreateReader
- type RangeDeleteNoContent
- type RangeDeleteParams
- func (o *RangeDeleteParams) SetContext(ctx context.Context)
- func (o *RangeDeleteParams) SetDefaults()
- func (o *RangeDeleteParams) SetHTTPClient(client *http.Client)
- func (o *RangeDeleteParams) SetID(id string)
- func (o *RangeDeleteParams) SetTimeout(timeout time.Duration)
- func (o *RangeDeleteParams) WithContext(ctx context.Context) *RangeDeleteParams
- func (o *RangeDeleteParams) WithDefaults() *RangeDeleteParams
- func (o *RangeDeleteParams) WithHTTPClient(client *http.Client) *RangeDeleteParams
- func (o *RangeDeleteParams) WithID(id string) *RangeDeleteParams
- func (o *RangeDeleteParams) WithTimeout(timeout time.Duration) *RangeDeleteParams
- func (o *RangeDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RangeDeleteReader
- type RangeListNextAvailableIPOK
- type RangeListNextAvailableIPParams
- func NewRangeListNextAvailableIPParams() *RangeListNextAvailableIPParams
- func NewRangeListNextAvailableIPParamsWithContext(ctx context.Context) *RangeListNextAvailableIPParams
- func NewRangeListNextAvailableIPParamsWithHTTPClient(client *http.Client) *RangeListNextAvailableIPParams
- func NewRangeListNextAvailableIPParamsWithTimeout(timeout time.Duration) *RangeListNextAvailableIPParams
- func (o *RangeListNextAvailableIPParams) SetContext(ctx context.Context)
- func (o *RangeListNextAvailableIPParams) SetContiguous(contiguous *bool)
- func (o *RangeListNextAvailableIPParams) SetCount(count *int32)
- func (o *RangeListNextAvailableIPParams) SetDefaults()
- func (o *RangeListNextAvailableIPParams) SetHTTPClient(client *http.Client)
- func (o *RangeListNextAvailableIPParams) SetID(id string)
- func (o *RangeListNextAvailableIPParams) SetTimeout(timeout time.Duration)
- func (o *RangeListNextAvailableIPParams) WithContext(ctx context.Context) *RangeListNextAvailableIPParams
- func (o *RangeListNextAvailableIPParams) WithContiguous(contiguous *bool) *RangeListNextAvailableIPParams
- func (o *RangeListNextAvailableIPParams) WithCount(count *int32) *RangeListNextAvailableIPParams
- func (o *RangeListNextAvailableIPParams) WithDefaults() *RangeListNextAvailableIPParams
- func (o *RangeListNextAvailableIPParams) WithHTTPClient(client *http.Client) *RangeListNextAvailableIPParams
- func (o *RangeListNextAvailableIPParams) WithID(id string) *RangeListNextAvailableIPParams
- func (o *RangeListNextAvailableIPParams) WithTimeout(timeout time.Duration) *RangeListNextAvailableIPParams
- func (o *RangeListNextAvailableIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RangeListNextAvailableIPReader
- type RangeListOK
- type RangeListParams
- func (o *RangeListParams) SetContext(ctx context.Context)
- func (o *RangeListParams) SetDefaults()
- func (o *RangeListParams) SetFields(fields *string)
- func (o *RangeListParams) SetFilter(filter *string)
- func (o *RangeListParams) SetHTTPClient(client *http.Client)
- func (o *RangeListParams) SetLimit(limit *int64)
- func (o *RangeListParams) SetOffset(offset *int64)
- func (o *RangeListParams) SetOrderBy(orderBy *string)
- func (o *RangeListParams) SetPageToken(pageToken *string)
- func (o *RangeListParams) SetTfilter(tfilter *string)
- func (o *RangeListParams) SetTimeout(timeout time.Duration)
- func (o *RangeListParams) SetTorderBy(torderBy *string)
- func (o *RangeListParams) WithContext(ctx context.Context) *RangeListParams
- func (o *RangeListParams) WithDefaults() *RangeListParams
- func (o *RangeListParams) WithFields(fields *string) *RangeListParams
- func (o *RangeListParams) WithFilter(filter *string) *RangeListParams
- func (o *RangeListParams) WithHTTPClient(client *http.Client) *RangeListParams
- func (o *RangeListParams) WithLimit(limit *int64) *RangeListParams
- func (o *RangeListParams) WithOffset(offset *int64) *RangeListParams
- func (o *RangeListParams) WithOrderBy(orderBy *string) *RangeListParams
- func (o *RangeListParams) WithPageToken(pageToken *string) *RangeListParams
- func (o *RangeListParams) WithTfilter(tfilter *string) *RangeListParams
- func (o *RangeListParams) WithTimeout(timeout time.Duration) *RangeListParams
- func (o *RangeListParams) WithTorderBy(torderBy *string) *RangeListParams
- func (o *RangeListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RangeListReader
- type RangeReadOK
- type RangeReadParams
- func (o *RangeReadParams) SetContext(ctx context.Context)
- func (o *RangeReadParams) SetDefaults()
- func (o *RangeReadParams) SetFields(fields *string)
- func (o *RangeReadParams) SetHTTPClient(client *http.Client)
- func (o *RangeReadParams) SetID(id string)
- func (o *RangeReadParams) SetTimeout(timeout time.Duration)
- func (o *RangeReadParams) WithContext(ctx context.Context) *RangeReadParams
- func (o *RangeReadParams) WithDefaults() *RangeReadParams
- func (o *RangeReadParams) WithFields(fields *string) *RangeReadParams
- func (o *RangeReadParams) WithHTTPClient(client *http.Client) *RangeReadParams
- func (o *RangeReadParams) WithID(id string) *RangeReadParams
- func (o *RangeReadParams) WithTimeout(timeout time.Duration) *RangeReadParams
- func (o *RangeReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RangeReadReader
- type RangeUpdateCreated
- type RangeUpdateParams
- func (o *RangeUpdateParams) SetBody(body *models.IpamsvcRange)
- func (o *RangeUpdateParams) SetContext(ctx context.Context)
- func (o *RangeUpdateParams) SetDefaults()
- func (o *RangeUpdateParams) SetHTTPClient(client *http.Client)
- func (o *RangeUpdateParams) SetID(id string)
- func (o *RangeUpdateParams) SetTimeout(timeout time.Duration)
- func (o *RangeUpdateParams) WithBody(body *models.IpamsvcRange) *RangeUpdateParams
- func (o *RangeUpdateParams) WithContext(ctx context.Context) *RangeUpdateParams
- func (o *RangeUpdateParams) WithDefaults() *RangeUpdateParams
- func (o *RangeUpdateParams) WithHTTPClient(client *http.Client) *RangeUpdateParams
- func (o *RangeUpdateParams) WithID(id string) *RangeUpdateParams
- func (o *RangeUpdateParams) WithTimeout(timeout time.Duration) *RangeUpdateParams
- func (o *RangeUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RangeUpdateReader
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 range operations API
func (*Client) RangeCreate ¶
func (a *Client) RangeCreate(params *RangeCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeCreateCreated, error)
RangeCreate creates the range Use this method to create a __Range__ object.
A __Range__ object represents a set of contiguous IP addresses in the same IP space with no gap, expressed as a (start, end) pair within a given subnet that are grouped together for administrative purpose and protocol management. The start and end values are not required to align with CIDR boundaries.
func (*Client) RangeCreateNextAvailableIP ¶
func (a *Client) RangeCreateNextAvailableIP(params *RangeCreateNextAvailableIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeCreateNextAvailableIPCreated, error)
RangeCreateNextAvailableIP allocates the next available IP address Use this method to allocate the next available IP address.
This allocates one or more __Address__ (_ipam/address_) resource from available addresses, when the IP address is not known prior to allocation.
func (*Client) RangeDelete ¶
func (a *Client) RangeDelete(params *RangeDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeDeleteNoContent, error)
RangeDelete moves the range to the recycle bin Use this method to move a __Range__ object to the recycle bin.
A __Range__ object represents a set of contiguous IP addresses in the same IP space with no gap, expressed as a (start, end) pair within a given subnet that are grouped together for administrative purpose and protocol management. The start and end values are not required to align with CIDR boundaries.
func (*Client) RangeList ¶
func (a *Client) RangeList(params *RangeListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeListOK, error)
RangeList retrieves ranges Use this method to retrieve __Range__ objects.
A __Range__ object represents a set of contiguous IP addresses in the same IP space with no gap, expressed as a (start, end) pair within a given subnet that are grouped together for administrative purpose and protocol management. The start and end values are not required to align with CIDR boundaries.
func (*Client) RangeListNextAvailableIP ¶
func (a *Client) RangeListNextAvailableIP(params *RangeListNextAvailableIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeListNextAvailableIPOK, error)
RangeListNextAvailableIP retrieves the next available IP address Use this method to retrieve the next available IP address.
This returns one or more __Address__ (_ipam/address_) resource from available addresses, when IP address is not known prior to allocation.
func (*Client) RangeRead ¶
func (a *Client) RangeRead(params *RangeReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeReadOK, error)
RangeRead retrieves the range Use this method to retrieve a __Range__ object.
A __Range__ object represents a set of contiguous IP addresses in the same IP space with no gap, expressed as a (start, end) pair within a given subnet that are grouped together for administrative purpose and protocol management. The start and end values are not required to align with CIDR boundaries.
func (*Client) RangeUpdate ¶
func (a *Client) RangeUpdate(params *RangeUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeUpdateCreated, error)
RangeUpdate updates the range Use this method to update a __Range__ object.
A __Range__ object represents a set of contiguous IP addresses in the same IP space with no gap, expressed as a (start, end) pair within a given subnet that are grouped together for administrative purpose and protocol management. The start and end values are not required to align with CIDR boundaries.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { RangeCreate(params *RangeCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeCreateCreated, error) RangeCreateNextAvailableIP(params *RangeCreateNextAvailableIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeCreateNextAvailableIPCreated, error) RangeDelete(params *RangeDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeDeleteNoContent, error) RangeList(params *RangeListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeListOK, error) RangeListNextAvailableIP(params *RangeListNextAvailableIPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeListNextAvailableIPOK, error) RangeRead(params *RangeReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeReadOK, error) RangeUpdate(params *RangeUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RangeUpdateCreated, 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 range operations API client.
type RangeCreateCreated ¶
type RangeCreateCreated struct {
Payload *models.IpamsvcCreateRangeResponse
}
RangeCreateCreated describes a response with status code 201, with default header values.
POST operation response
func NewRangeCreateCreated ¶
func NewRangeCreateCreated() *RangeCreateCreated
NewRangeCreateCreated creates a RangeCreateCreated with default headers values
func (*RangeCreateCreated) Error ¶
func (o *RangeCreateCreated) Error() string
func (*RangeCreateCreated) GetPayload ¶
func (o *RangeCreateCreated) GetPayload() *models.IpamsvcCreateRangeResponse
type RangeCreateNextAvailableIPCreated ¶
type RangeCreateNextAvailableIPCreated struct {
Payload *models.IpamsvcCreateNextAvailableIPResponse
}
RangeCreateNextAvailableIPCreated describes a response with status code 201, with default header values.
POST operation response
func NewRangeCreateNextAvailableIPCreated ¶
func NewRangeCreateNextAvailableIPCreated() *RangeCreateNextAvailableIPCreated
NewRangeCreateNextAvailableIPCreated creates a RangeCreateNextAvailableIPCreated with default headers values
func (*RangeCreateNextAvailableIPCreated) Error ¶
func (o *RangeCreateNextAvailableIPCreated) Error() string
func (*RangeCreateNextAvailableIPCreated) GetPayload ¶
func (o *RangeCreateNextAvailableIPCreated) GetPayload() *models.IpamsvcCreateNextAvailableIPResponse
type RangeCreateNextAvailableIPParams ¶
type RangeCreateNextAvailableIPParams struct { /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RangeCreateNextAvailableIPParams contains all the parameters to send to the API endpoint
for the range create next available IP operation. Typically these are written to a http.Request.
func NewRangeCreateNextAvailableIPParams ¶
func NewRangeCreateNextAvailableIPParams() *RangeCreateNextAvailableIPParams
NewRangeCreateNextAvailableIPParams creates a new RangeCreateNextAvailableIPParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRangeCreateNextAvailableIPParamsWithContext ¶
func NewRangeCreateNextAvailableIPParamsWithContext(ctx context.Context) *RangeCreateNextAvailableIPParams
NewRangeCreateNextAvailableIPParamsWithContext creates a new RangeCreateNextAvailableIPParams object with the ability to set a context for a request.
func NewRangeCreateNextAvailableIPParamsWithHTTPClient ¶
func NewRangeCreateNextAvailableIPParamsWithHTTPClient(client *http.Client) *RangeCreateNextAvailableIPParams
NewRangeCreateNextAvailableIPParamsWithHTTPClient creates a new RangeCreateNextAvailableIPParams object with the ability to set a custom HTTPClient for a request.
func NewRangeCreateNextAvailableIPParamsWithTimeout ¶
func NewRangeCreateNextAvailableIPParamsWithTimeout(timeout time.Duration) *RangeCreateNextAvailableIPParams
NewRangeCreateNextAvailableIPParamsWithTimeout creates a new RangeCreateNextAvailableIPParams object with the ability to set a timeout on a request.
func (*RangeCreateNextAvailableIPParams) SetContext ¶
func (o *RangeCreateNextAvailableIPParams) SetContext(ctx context.Context)
SetContext adds the context to the range create next available IP params
func (*RangeCreateNextAvailableIPParams) SetDefaults ¶
func (o *RangeCreateNextAvailableIPParams) SetDefaults()
SetDefaults hydrates default values in the range create next available IP params (not the query body).
All values with no default are reset to their zero value.
func (*RangeCreateNextAvailableIPParams) SetHTTPClient ¶
func (o *RangeCreateNextAvailableIPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the range create next available IP params
func (*RangeCreateNextAvailableIPParams) SetID ¶
func (o *RangeCreateNextAvailableIPParams) SetID(id string)
SetID adds the id to the range create next available IP params
func (*RangeCreateNextAvailableIPParams) SetTimeout ¶
func (o *RangeCreateNextAvailableIPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the range create next available IP params
func (*RangeCreateNextAvailableIPParams) WithContext ¶
func (o *RangeCreateNextAvailableIPParams) WithContext(ctx context.Context) *RangeCreateNextAvailableIPParams
WithContext adds the context to the range create next available IP params
func (*RangeCreateNextAvailableIPParams) WithDefaults ¶
func (o *RangeCreateNextAvailableIPParams) WithDefaults() *RangeCreateNextAvailableIPParams
WithDefaults hydrates default values in the range create next available IP params (not the query body).
All values with no default are reset to their zero value.
func (*RangeCreateNextAvailableIPParams) WithHTTPClient ¶
func (o *RangeCreateNextAvailableIPParams) WithHTTPClient(client *http.Client) *RangeCreateNextAvailableIPParams
WithHTTPClient adds the HTTPClient to the range create next available IP params
func (*RangeCreateNextAvailableIPParams) WithID ¶
func (o *RangeCreateNextAvailableIPParams) WithID(id string) *RangeCreateNextAvailableIPParams
WithID adds the id to the range create next available IP params
func (*RangeCreateNextAvailableIPParams) WithTimeout ¶
func (o *RangeCreateNextAvailableIPParams) WithTimeout(timeout time.Duration) *RangeCreateNextAvailableIPParams
WithTimeout adds the timeout to the range create next available IP params
func (*RangeCreateNextAvailableIPParams) WriteToRequest ¶
func (o *RangeCreateNextAvailableIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RangeCreateNextAvailableIPReader ¶
type RangeCreateNextAvailableIPReader struct {
// contains filtered or unexported fields
}
RangeCreateNextAvailableIPReader is a Reader for the RangeCreateNextAvailableIP structure.
func (*RangeCreateNextAvailableIPReader) ReadResponse ¶
func (o *RangeCreateNextAvailableIPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RangeCreateParams ¶
type RangeCreateParams struct { // Body. Body *models.IpamsvcRange Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RangeCreateParams contains all the parameters to send to the API endpoint
for the range create operation. Typically these are written to a http.Request.
func NewRangeCreateParams ¶
func NewRangeCreateParams() *RangeCreateParams
NewRangeCreateParams creates a new RangeCreateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRangeCreateParamsWithContext ¶
func NewRangeCreateParamsWithContext(ctx context.Context) *RangeCreateParams
NewRangeCreateParamsWithContext creates a new RangeCreateParams object with the ability to set a context for a request.
func NewRangeCreateParamsWithHTTPClient ¶
func NewRangeCreateParamsWithHTTPClient(client *http.Client) *RangeCreateParams
NewRangeCreateParamsWithHTTPClient creates a new RangeCreateParams object with the ability to set a custom HTTPClient for a request.
func NewRangeCreateParamsWithTimeout ¶
func NewRangeCreateParamsWithTimeout(timeout time.Duration) *RangeCreateParams
NewRangeCreateParamsWithTimeout creates a new RangeCreateParams object with the ability to set a timeout on a request.
func (*RangeCreateParams) SetBody ¶
func (o *RangeCreateParams) SetBody(body *models.IpamsvcRange)
SetBody adds the body to the range create params
func (*RangeCreateParams) SetContext ¶
func (o *RangeCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the range create params
func (*RangeCreateParams) SetDefaults ¶
func (o *RangeCreateParams) SetDefaults()
SetDefaults hydrates default values in the range create params (not the query body).
All values with no default are reset to their zero value.
func (*RangeCreateParams) SetHTTPClient ¶
func (o *RangeCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the range create params
func (*RangeCreateParams) SetTimeout ¶
func (o *RangeCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the range create params
func (*RangeCreateParams) WithBody ¶
func (o *RangeCreateParams) WithBody(body *models.IpamsvcRange) *RangeCreateParams
WithBody adds the body to the range create params
func (*RangeCreateParams) WithContext ¶
func (o *RangeCreateParams) WithContext(ctx context.Context) *RangeCreateParams
WithContext adds the context to the range create params
func (*RangeCreateParams) WithDefaults ¶
func (o *RangeCreateParams) WithDefaults() *RangeCreateParams
WithDefaults hydrates default values in the range create params (not the query body).
All values with no default are reset to their zero value.
func (*RangeCreateParams) WithHTTPClient ¶
func (o *RangeCreateParams) WithHTTPClient(client *http.Client) *RangeCreateParams
WithHTTPClient adds the HTTPClient to the range create params
func (*RangeCreateParams) WithTimeout ¶
func (o *RangeCreateParams) WithTimeout(timeout time.Duration) *RangeCreateParams
WithTimeout adds the timeout to the range create params
func (*RangeCreateParams) WriteToRequest ¶
func (o *RangeCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RangeCreateReader ¶
type RangeCreateReader struct {
// contains filtered or unexported fields
}
RangeCreateReader is a Reader for the RangeCreate structure.
func (*RangeCreateReader) ReadResponse ¶
func (o *RangeCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RangeDeleteNoContent ¶
type RangeDeleteNoContent struct { }
RangeDeleteNoContent describes a response with status code 204, with default header values.
No Content
func NewRangeDeleteNoContent ¶
func NewRangeDeleteNoContent() *RangeDeleteNoContent
NewRangeDeleteNoContent creates a RangeDeleteNoContent with default headers values
func (*RangeDeleteNoContent) Error ¶
func (o *RangeDeleteNoContent) Error() string
type RangeDeleteParams ¶
type RangeDeleteParams struct { /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RangeDeleteParams contains all the parameters to send to the API endpoint
for the range delete operation. Typically these are written to a http.Request.
func NewRangeDeleteParams ¶
func NewRangeDeleteParams() *RangeDeleteParams
NewRangeDeleteParams creates a new RangeDeleteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRangeDeleteParamsWithContext ¶
func NewRangeDeleteParamsWithContext(ctx context.Context) *RangeDeleteParams
NewRangeDeleteParamsWithContext creates a new RangeDeleteParams object with the ability to set a context for a request.
func NewRangeDeleteParamsWithHTTPClient ¶
func NewRangeDeleteParamsWithHTTPClient(client *http.Client) *RangeDeleteParams
NewRangeDeleteParamsWithHTTPClient creates a new RangeDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewRangeDeleteParamsWithTimeout ¶
func NewRangeDeleteParamsWithTimeout(timeout time.Duration) *RangeDeleteParams
NewRangeDeleteParamsWithTimeout creates a new RangeDeleteParams object with the ability to set a timeout on a request.
func (*RangeDeleteParams) SetContext ¶
func (o *RangeDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the range delete params
func (*RangeDeleteParams) SetDefaults ¶
func (o *RangeDeleteParams) SetDefaults()
SetDefaults hydrates default values in the range delete params (not the query body).
All values with no default are reset to their zero value.
func (*RangeDeleteParams) SetHTTPClient ¶
func (o *RangeDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the range delete params
func (*RangeDeleteParams) SetID ¶
func (o *RangeDeleteParams) SetID(id string)
SetID adds the id to the range delete params
func (*RangeDeleteParams) SetTimeout ¶
func (o *RangeDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the range delete params
func (*RangeDeleteParams) WithContext ¶
func (o *RangeDeleteParams) WithContext(ctx context.Context) *RangeDeleteParams
WithContext adds the context to the range delete params
func (*RangeDeleteParams) WithDefaults ¶
func (o *RangeDeleteParams) WithDefaults() *RangeDeleteParams
WithDefaults hydrates default values in the range delete params (not the query body).
All values with no default are reset to their zero value.
func (*RangeDeleteParams) WithHTTPClient ¶
func (o *RangeDeleteParams) WithHTTPClient(client *http.Client) *RangeDeleteParams
WithHTTPClient adds the HTTPClient to the range delete params
func (*RangeDeleteParams) WithID ¶
func (o *RangeDeleteParams) WithID(id string) *RangeDeleteParams
WithID adds the id to the range delete params
func (*RangeDeleteParams) WithTimeout ¶
func (o *RangeDeleteParams) WithTimeout(timeout time.Duration) *RangeDeleteParams
WithTimeout adds the timeout to the range delete params
func (*RangeDeleteParams) WriteToRequest ¶
func (o *RangeDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RangeDeleteReader ¶
type RangeDeleteReader struct {
// contains filtered or unexported fields
}
RangeDeleteReader is a Reader for the RangeDelete structure.
func (*RangeDeleteReader) ReadResponse ¶
func (o *RangeDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RangeListNextAvailableIPOK ¶
type RangeListNextAvailableIPOK struct {
Payload *models.IpamsvcNextAvailableIPResponse
}
RangeListNextAvailableIPOK describes a response with status code 200, with default header values.
GET operation response
func NewRangeListNextAvailableIPOK ¶
func NewRangeListNextAvailableIPOK() *RangeListNextAvailableIPOK
NewRangeListNextAvailableIPOK creates a RangeListNextAvailableIPOK with default headers values
func (*RangeListNextAvailableIPOK) Error ¶
func (o *RangeListNextAvailableIPOK) Error() string
func (*RangeListNextAvailableIPOK) GetPayload ¶
func (o *RangeListNextAvailableIPOK) GetPayload() *models.IpamsvcNextAvailableIPResponse
type RangeListNextAvailableIPParams ¶
type RangeListNextAvailableIPParams struct { /* Contiguous. Indicates whether the IP addresses should belong to a contiguous block. Defaults to _false_. Format: boolean */ Contiguous *bool /* Count. The number of IP addresses requested. Defaults to 1. Format: int32 */ Count *int32 /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RangeListNextAvailableIPParams contains all the parameters to send to the API endpoint
for the range list next available IP operation. Typically these are written to a http.Request.
func NewRangeListNextAvailableIPParams ¶
func NewRangeListNextAvailableIPParams() *RangeListNextAvailableIPParams
NewRangeListNextAvailableIPParams creates a new RangeListNextAvailableIPParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRangeListNextAvailableIPParamsWithContext ¶
func NewRangeListNextAvailableIPParamsWithContext(ctx context.Context) *RangeListNextAvailableIPParams
NewRangeListNextAvailableIPParamsWithContext creates a new RangeListNextAvailableIPParams object with the ability to set a context for a request.
func NewRangeListNextAvailableIPParamsWithHTTPClient ¶
func NewRangeListNextAvailableIPParamsWithHTTPClient(client *http.Client) *RangeListNextAvailableIPParams
NewRangeListNextAvailableIPParamsWithHTTPClient creates a new RangeListNextAvailableIPParams object with the ability to set a custom HTTPClient for a request.
func NewRangeListNextAvailableIPParamsWithTimeout ¶
func NewRangeListNextAvailableIPParamsWithTimeout(timeout time.Duration) *RangeListNextAvailableIPParams
NewRangeListNextAvailableIPParamsWithTimeout creates a new RangeListNextAvailableIPParams object with the ability to set a timeout on a request.
func (*RangeListNextAvailableIPParams) SetContext ¶
func (o *RangeListNextAvailableIPParams) SetContext(ctx context.Context)
SetContext adds the context to the range list next available IP params
func (*RangeListNextAvailableIPParams) SetContiguous ¶
func (o *RangeListNextAvailableIPParams) SetContiguous(contiguous *bool)
SetContiguous adds the contiguous to the range list next available IP params
func (*RangeListNextAvailableIPParams) SetCount ¶
func (o *RangeListNextAvailableIPParams) SetCount(count *int32)
SetCount adds the count to the range list next available IP params
func (*RangeListNextAvailableIPParams) SetDefaults ¶
func (o *RangeListNextAvailableIPParams) SetDefaults()
SetDefaults hydrates default values in the range list next available IP params (not the query body).
All values with no default are reset to their zero value.
func (*RangeListNextAvailableIPParams) SetHTTPClient ¶
func (o *RangeListNextAvailableIPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the range list next available IP params
func (*RangeListNextAvailableIPParams) SetID ¶
func (o *RangeListNextAvailableIPParams) SetID(id string)
SetID adds the id to the range list next available IP params
func (*RangeListNextAvailableIPParams) SetTimeout ¶
func (o *RangeListNextAvailableIPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the range list next available IP params
func (*RangeListNextAvailableIPParams) WithContext ¶
func (o *RangeListNextAvailableIPParams) WithContext(ctx context.Context) *RangeListNextAvailableIPParams
WithContext adds the context to the range list next available IP params
func (*RangeListNextAvailableIPParams) WithContiguous ¶
func (o *RangeListNextAvailableIPParams) WithContiguous(contiguous *bool) *RangeListNextAvailableIPParams
WithContiguous adds the contiguous to the range list next available IP params
func (*RangeListNextAvailableIPParams) WithCount ¶
func (o *RangeListNextAvailableIPParams) WithCount(count *int32) *RangeListNextAvailableIPParams
WithCount adds the count to the range list next available IP params
func (*RangeListNextAvailableIPParams) WithDefaults ¶
func (o *RangeListNextAvailableIPParams) WithDefaults() *RangeListNextAvailableIPParams
WithDefaults hydrates default values in the range list next available IP params (not the query body).
All values with no default are reset to their zero value.
func (*RangeListNextAvailableIPParams) WithHTTPClient ¶
func (o *RangeListNextAvailableIPParams) WithHTTPClient(client *http.Client) *RangeListNextAvailableIPParams
WithHTTPClient adds the HTTPClient to the range list next available IP params
func (*RangeListNextAvailableIPParams) WithID ¶
func (o *RangeListNextAvailableIPParams) WithID(id string) *RangeListNextAvailableIPParams
WithID adds the id to the range list next available IP params
func (*RangeListNextAvailableIPParams) WithTimeout ¶
func (o *RangeListNextAvailableIPParams) WithTimeout(timeout time.Duration) *RangeListNextAvailableIPParams
WithTimeout adds the timeout to the range list next available IP params
func (*RangeListNextAvailableIPParams) WriteToRequest ¶
func (o *RangeListNextAvailableIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RangeListNextAvailableIPReader ¶
type RangeListNextAvailableIPReader struct {
// contains filtered or unexported fields
}
RangeListNextAvailableIPReader is a Reader for the RangeListNextAvailableIP structure.
func (*RangeListNextAvailableIPReader) ReadResponse ¶
func (o *RangeListNextAvailableIPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RangeListOK ¶
type RangeListOK struct {
Payload *models.IpamsvcListRangeResponse
}
RangeListOK describes a response with status code 200, with default header values.
GET operation response
func NewRangeListOK ¶
func NewRangeListOK() *RangeListOK
NewRangeListOK creates a RangeListOK with default headers values
func (*RangeListOK) Error ¶
func (o *RangeListOK) Error() string
func (*RangeListOK) GetPayload ¶
func (o *RangeListOK) GetPayload() *models.IpamsvcListRangeResponse
type RangeListParams ¶
type RangeListParams struct { /* Fields. A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names. */ Fields *string /* Filter. A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logical operators. If a resource does not have the specified tag, its value is assumed to be null. Literal values include numbers (integer and floating-point), and quoted (both single- or double-quoted) literal strings, and 'null'. The following operators are commonly used in filter expressions: | Op | Description | | -- | ----------- | | == | Equal | | != | Not Equal | | > | Greater Than | | >= | Greater Than or Equal To | | < | Less Than | | <= | Less Than or Equal To | | and | Logical AND | | ~ | Matches Regex | | !~ | Does Not Match Regex | | or | Logical OR | | not | Logical NOT | | () | Groupping Operators | */ Filter *string /* Limit. The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value. */ Limit *int64 /* Offset. The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'. */ Offset *int64 /* OrderBy. A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, its value is assumed to be null.) Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order. */ OrderBy *string /* PageToken. The service-defined string used to identify a page of resources. A null value indicates the first page. */ PageToken *string /* Tfilter. This parameter is used for filtering by tags. */ Tfilter *string /* TorderBy. This parameter is used for sorting by tags. */ TorderBy *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RangeListParams contains all the parameters to send to the API endpoint
for the range list operation. Typically these are written to a http.Request.
func NewRangeListParams ¶
func NewRangeListParams() *RangeListParams
NewRangeListParams creates a new RangeListParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRangeListParamsWithContext ¶
func NewRangeListParamsWithContext(ctx context.Context) *RangeListParams
NewRangeListParamsWithContext creates a new RangeListParams object with the ability to set a context for a request.
func NewRangeListParamsWithHTTPClient ¶
func NewRangeListParamsWithHTTPClient(client *http.Client) *RangeListParams
NewRangeListParamsWithHTTPClient creates a new RangeListParams object with the ability to set a custom HTTPClient for a request.
func NewRangeListParamsWithTimeout ¶
func NewRangeListParamsWithTimeout(timeout time.Duration) *RangeListParams
NewRangeListParamsWithTimeout creates a new RangeListParams object with the ability to set a timeout on a request.
func (*RangeListParams) SetContext ¶
func (o *RangeListParams) SetContext(ctx context.Context)
SetContext adds the context to the range list params
func (*RangeListParams) SetDefaults ¶
func (o *RangeListParams) SetDefaults()
SetDefaults hydrates default values in the range list params (not the query body).
All values with no default are reset to their zero value.
func (*RangeListParams) SetFields ¶
func (o *RangeListParams) SetFields(fields *string)
SetFields adds the fields to the range list params
func (*RangeListParams) SetFilter ¶
func (o *RangeListParams) SetFilter(filter *string)
SetFilter adds the filter to the range list params
func (*RangeListParams) SetHTTPClient ¶
func (o *RangeListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the range list params
func (*RangeListParams) SetLimit ¶
func (o *RangeListParams) SetLimit(limit *int64)
SetLimit adds the limit to the range list params
func (*RangeListParams) SetOffset ¶
func (o *RangeListParams) SetOffset(offset *int64)
SetOffset adds the offset to the range list params
func (*RangeListParams) SetOrderBy ¶
func (o *RangeListParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the range list params
func (*RangeListParams) SetPageToken ¶
func (o *RangeListParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the range list params
func (*RangeListParams) SetTfilter ¶
func (o *RangeListParams) SetTfilter(tfilter *string)
SetTfilter adds the tfilter to the range list params
func (*RangeListParams) SetTimeout ¶
func (o *RangeListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the range list params
func (*RangeListParams) SetTorderBy ¶
func (o *RangeListParams) SetTorderBy(torderBy *string)
SetTorderBy adds the torderBy to the range list params
func (*RangeListParams) WithContext ¶
func (o *RangeListParams) WithContext(ctx context.Context) *RangeListParams
WithContext adds the context to the range list params
func (*RangeListParams) WithDefaults ¶
func (o *RangeListParams) WithDefaults() *RangeListParams
WithDefaults hydrates default values in the range list params (not the query body).
All values with no default are reset to their zero value.
func (*RangeListParams) WithFields ¶
func (o *RangeListParams) WithFields(fields *string) *RangeListParams
WithFields adds the fields to the range list params
func (*RangeListParams) WithFilter ¶
func (o *RangeListParams) WithFilter(filter *string) *RangeListParams
WithFilter adds the filter to the range list params
func (*RangeListParams) WithHTTPClient ¶
func (o *RangeListParams) WithHTTPClient(client *http.Client) *RangeListParams
WithHTTPClient adds the HTTPClient to the range list params
func (*RangeListParams) WithLimit ¶
func (o *RangeListParams) WithLimit(limit *int64) *RangeListParams
WithLimit adds the limit to the range list params
func (*RangeListParams) WithOffset ¶
func (o *RangeListParams) WithOffset(offset *int64) *RangeListParams
WithOffset adds the offset to the range list params
func (*RangeListParams) WithOrderBy ¶
func (o *RangeListParams) WithOrderBy(orderBy *string) *RangeListParams
WithOrderBy adds the orderBy to the range list params
func (*RangeListParams) WithPageToken ¶
func (o *RangeListParams) WithPageToken(pageToken *string) *RangeListParams
WithPageToken adds the pageToken to the range list params
func (*RangeListParams) WithTfilter ¶
func (o *RangeListParams) WithTfilter(tfilter *string) *RangeListParams
WithTfilter adds the tfilter to the range list params
func (*RangeListParams) WithTimeout ¶
func (o *RangeListParams) WithTimeout(timeout time.Duration) *RangeListParams
WithTimeout adds the timeout to the range list params
func (*RangeListParams) WithTorderBy ¶
func (o *RangeListParams) WithTorderBy(torderBy *string) *RangeListParams
WithTorderBy adds the torderBy to the range list params
func (*RangeListParams) WriteToRequest ¶
func (o *RangeListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RangeListReader ¶
type RangeListReader struct {
// contains filtered or unexported fields
}
RangeListReader is a Reader for the RangeList structure.
func (*RangeListReader) ReadResponse ¶
func (o *RangeListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RangeReadOK ¶
type RangeReadOK struct {
Payload *models.IpamsvcReadRangeResponse
}
RangeReadOK describes a response with status code 200, with default header values.
GET operation response
func NewRangeReadOK ¶
func NewRangeReadOK() *RangeReadOK
NewRangeReadOK creates a RangeReadOK with default headers values
func (*RangeReadOK) Error ¶
func (o *RangeReadOK) Error() string
func (*RangeReadOK) GetPayload ¶
func (o *RangeReadOK) GetPayload() *models.IpamsvcReadRangeResponse
type RangeReadParams ¶
type RangeReadParams struct { /* Fields. A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names. */ Fields *string /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RangeReadParams contains all the parameters to send to the API endpoint
for the range read operation. Typically these are written to a http.Request.
func NewRangeReadParams ¶
func NewRangeReadParams() *RangeReadParams
NewRangeReadParams creates a new RangeReadParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRangeReadParamsWithContext ¶
func NewRangeReadParamsWithContext(ctx context.Context) *RangeReadParams
NewRangeReadParamsWithContext creates a new RangeReadParams object with the ability to set a context for a request.
func NewRangeReadParamsWithHTTPClient ¶
func NewRangeReadParamsWithHTTPClient(client *http.Client) *RangeReadParams
NewRangeReadParamsWithHTTPClient creates a new RangeReadParams object with the ability to set a custom HTTPClient for a request.
func NewRangeReadParamsWithTimeout ¶
func NewRangeReadParamsWithTimeout(timeout time.Duration) *RangeReadParams
NewRangeReadParamsWithTimeout creates a new RangeReadParams object with the ability to set a timeout on a request.
func (*RangeReadParams) SetContext ¶
func (o *RangeReadParams) SetContext(ctx context.Context)
SetContext adds the context to the range read params
func (*RangeReadParams) SetDefaults ¶
func (o *RangeReadParams) SetDefaults()
SetDefaults hydrates default values in the range read params (not the query body).
All values with no default are reset to their zero value.
func (*RangeReadParams) SetFields ¶
func (o *RangeReadParams) SetFields(fields *string)
SetFields adds the fields to the range read params
func (*RangeReadParams) SetHTTPClient ¶
func (o *RangeReadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the range read params
func (*RangeReadParams) SetID ¶
func (o *RangeReadParams) SetID(id string)
SetID adds the id to the range read params
func (*RangeReadParams) SetTimeout ¶
func (o *RangeReadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the range read params
func (*RangeReadParams) WithContext ¶
func (o *RangeReadParams) WithContext(ctx context.Context) *RangeReadParams
WithContext adds the context to the range read params
func (*RangeReadParams) WithDefaults ¶
func (o *RangeReadParams) WithDefaults() *RangeReadParams
WithDefaults hydrates default values in the range read params (not the query body).
All values with no default are reset to their zero value.
func (*RangeReadParams) WithFields ¶
func (o *RangeReadParams) WithFields(fields *string) *RangeReadParams
WithFields adds the fields to the range read params
func (*RangeReadParams) WithHTTPClient ¶
func (o *RangeReadParams) WithHTTPClient(client *http.Client) *RangeReadParams
WithHTTPClient adds the HTTPClient to the range read params
func (*RangeReadParams) WithID ¶
func (o *RangeReadParams) WithID(id string) *RangeReadParams
WithID adds the id to the range read params
func (*RangeReadParams) WithTimeout ¶
func (o *RangeReadParams) WithTimeout(timeout time.Duration) *RangeReadParams
WithTimeout adds the timeout to the range read params
func (*RangeReadParams) WriteToRequest ¶
func (o *RangeReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RangeReadReader ¶
type RangeReadReader struct {
// contains filtered or unexported fields
}
RangeReadReader is a Reader for the RangeRead structure.
func (*RangeReadReader) ReadResponse ¶
func (o *RangeReadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RangeUpdateCreated ¶
type RangeUpdateCreated struct {
Payload *models.IpamsvcUpdateRangeResponse
}
RangeUpdateCreated describes a response with status code 201, with default header values.
PATCH operation response
func NewRangeUpdateCreated ¶
func NewRangeUpdateCreated() *RangeUpdateCreated
NewRangeUpdateCreated creates a RangeUpdateCreated with default headers values
func (*RangeUpdateCreated) Error ¶
func (o *RangeUpdateCreated) Error() string
func (*RangeUpdateCreated) GetPayload ¶
func (o *RangeUpdateCreated) GetPayload() *models.IpamsvcUpdateRangeResponse
type RangeUpdateParams ¶
type RangeUpdateParams struct { // Body. Body *models.IpamsvcRange /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RangeUpdateParams contains all the parameters to send to the API endpoint
for the range update operation. Typically these are written to a http.Request.
func NewRangeUpdateParams ¶
func NewRangeUpdateParams() *RangeUpdateParams
NewRangeUpdateParams creates a new RangeUpdateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRangeUpdateParamsWithContext ¶
func NewRangeUpdateParamsWithContext(ctx context.Context) *RangeUpdateParams
NewRangeUpdateParamsWithContext creates a new RangeUpdateParams object with the ability to set a context for a request.
func NewRangeUpdateParamsWithHTTPClient ¶
func NewRangeUpdateParamsWithHTTPClient(client *http.Client) *RangeUpdateParams
NewRangeUpdateParamsWithHTTPClient creates a new RangeUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewRangeUpdateParamsWithTimeout ¶
func NewRangeUpdateParamsWithTimeout(timeout time.Duration) *RangeUpdateParams
NewRangeUpdateParamsWithTimeout creates a new RangeUpdateParams object with the ability to set a timeout on a request.
func (*RangeUpdateParams) SetBody ¶
func (o *RangeUpdateParams) SetBody(body *models.IpamsvcRange)
SetBody adds the body to the range update params
func (*RangeUpdateParams) SetContext ¶
func (o *RangeUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the range update params
func (*RangeUpdateParams) SetDefaults ¶
func (o *RangeUpdateParams) SetDefaults()
SetDefaults hydrates default values in the range update params (not the query body).
All values with no default are reset to their zero value.
func (*RangeUpdateParams) SetHTTPClient ¶
func (o *RangeUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the range update params
func (*RangeUpdateParams) SetID ¶
func (o *RangeUpdateParams) SetID(id string)
SetID adds the id to the range update params
func (*RangeUpdateParams) SetTimeout ¶
func (o *RangeUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the range update params
func (*RangeUpdateParams) WithBody ¶
func (o *RangeUpdateParams) WithBody(body *models.IpamsvcRange) *RangeUpdateParams
WithBody adds the body to the range update params
func (*RangeUpdateParams) WithContext ¶
func (o *RangeUpdateParams) WithContext(ctx context.Context) *RangeUpdateParams
WithContext adds the context to the range update params
func (*RangeUpdateParams) WithDefaults ¶
func (o *RangeUpdateParams) WithDefaults() *RangeUpdateParams
WithDefaults hydrates default values in the range update params (not the query body).
All values with no default are reset to their zero value.
func (*RangeUpdateParams) WithHTTPClient ¶
func (o *RangeUpdateParams) WithHTTPClient(client *http.Client) *RangeUpdateParams
WithHTTPClient adds the HTTPClient to the range update params
func (*RangeUpdateParams) WithID ¶
func (o *RangeUpdateParams) WithID(id string) *RangeUpdateParams
WithID adds the id to the range update params
func (*RangeUpdateParams) WithTimeout ¶
func (o *RangeUpdateParams) WithTimeout(timeout time.Duration) *RangeUpdateParams
WithTimeout adds the timeout to the range update params
func (*RangeUpdateParams) WriteToRequest ¶
func (o *RangeUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RangeUpdateReader ¶
type RangeUpdateReader struct {
// contains filtered or unexported fields
}
RangeUpdateReader is a Reader for the RangeUpdate structure.
func (*RangeUpdateReader) ReadResponse ¶
func (o *RangeUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- range_create_next_available_ip_parameters.go
- range_create_next_available_ip_responses.go
- range_create_parameters.go
- range_create_responses.go
- range_delete_parameters.go
- range_delete_responses.go
- range_list_next_available_ip_parameters.go
- range_list_next_available_ip_responses.go
- range_list_parameters.go
- range_list_responses.go
- range_operations_client.go
- range_read_parameters.go
- range_read_responses.go
- range_update_parameters.go
- range_update_responses.go