Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteConfigurationProperty(params *DeleteConfigurationPropertyParams, opts ...ClientOption) (*DeleteConfigurationPropertyOK, error)
- func (a *Client) GetConfigurationProperties(params *GetConfigurationPropertiesParams, opts ...ClientOption) (*GetConfigurationPropertiesOK, error)
- func (a *Client) GetConfigurationProperty(params *GetConfigurationPropertyParams, opts ...ClientOption) (*GetConfigurationPropertyOK, error)
- func (a *Client) PatchConfigurationProperty(params *PatchConfigurationPropertyParams, opts ...ClientOption) (*PatchConfigurationPropertyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteConfigurationPropertyForbidden
- func (o *DeleteConfigurationPropertyForbidden) Error() string
- func (o *DeleteConfigurationPropertyForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *DeleteConfigurationPropertyForbidden) IsClientError() bool
- func (o *DeleteConfigurationPropertyForbidden) IsCode(code int) bool
- func (o *DeleteConfigurationPropertyForbidden) IsRedirect() bool
- func (o *DeleteConfigurationPropertyForbidden) IsServerError() bool
- func (o *DeleteConfigurationPropertyForbidden) IsSuccess() bool
- func (o *DeleteConfigurationPropertyForbidden) String() string
- type DeleteConfigurationPropertyOK
- func (o *DeleteConfigurationPropertyOK) Error() string
- func (o *DeleteConfigurationPropertyOK) GetPayload() *models.ConfigurationProperty
- func (o *DeleteConfigurationPropertyOK) IsClientError() bool
- func (o *DeleteConfigurationPropertyOK) IsCode(code int) bool
- func (o *DeleteConfigurationPropertyOK) IsRedirect() bool
- func (o *DeleteConfigurationPropertyOK) IsServerError() bool
- func (o *DeleteConfigurationPropertyOK) IsSuccess() bool
- func (o *DeleteConfigurationPropertyOK) String() string
- type DeleteConfigurationPropertyParams
- func NewDeleteConfigurationPropertyParams() *DeleteConfigurationPropertyParams
- func NewDeleteConfigurationPropertyParamsWithContext(ctx context.Context) *DeleteConfigurationPropertyParams
- func NewDeleteConfigurationPropertyParamsWithHTTPClient(client *http.Client) *DeleteConfigurationPropertyParams
- func NewDeleteConfigurationPropertyParamsWithTimeout(timeout time.Duration) *DeleteConfigurationPropertyParams
- func (o *DeleteConfigurationPropertyParams) SetAPIVersion(aPIVersion string)
- func (o *DeleteConfigurationPropertyParams) SetContext(ctx context.Context)
- func (o *DeleteConfigurationPropertyParams) SetDefaults()
- func (o *DeleteConfigurationPropertyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteConfigurationPropertyParams) SetID(id string)
- func (o *DeleteConfigurationPropertyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteConfigurationPropertyParams) WithAPIVersion(aPIVersion string) *DeleteConfigurationPropertyParams
- func (o *DeleteConfigurationPropertyParams) WithContext(ctx context.Context) *DeleteConfigurationPropertyParams
- func (o *DeleteConfigurationPropertyParams) WithDefaults() *DeleteConfigurationPropertyParams
- func (o *DeleteConfigurationPropertyParams) WithHTTPClient(client *http.Client) *DeleteConfigurationPropertyParams
- func (o *DeleteConfigurationPropertyParams) WithID(id string) *DeleteConfigurationPropertyParams
- func (o *DeleteConfigurationPropertyParams) WithTimeout(timeout time.Duration) *DeleteConfigurationPropertyParams
- func (o *DeleteConfigurationPropertyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteConfigurationPropertyReader
- type GetConfigurationPropertiesForbidden
- func (o *GetConfigurationPropertiesForbidden) Error() string
- func (o *GetConfigurationPropertiesForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *GetConfigurationPropertiesForbidden) IsClientError() bool
- func (o *GetConfigurationPropertiesForbidden) IsCode(code int) bool
- func (o *GetConfigurationPropertiesForbidden) IsRedirect() bool
- func (o *GetConfigurationPropertiesForbidden) IsServerError() bool
- func (o *GetConfigurationPropertiesForbidden) IsSuccess() bool
- func (o *GetConfigurationPropertiesForbidden) String() string
- type GetConfigurationPropertiesOK
- func (o *GetConfigurationPropertiesOK) Error() string
- func (o *GetConfigurationPropertiesOK) GetPayload() *models.ConfigurationPropertyResult
- func (o *GetConfigurationPropertiesOK) IsClientError() bool
- func (o *GetConfigurationPropertiesOK) IsCode(code int) bool
- func (o *GetConfigurationPropertiesOK) IsRedirect() bool
- func (o *GetConfigurationPropertiesOK) IsServerError() bool
- func (o *GetConfigurationPropertiesOK) IsSuccess() bool
- func (o *GetConfigurationPropertiesOK) String() string
- type GetConfigurationPropertiesParams
- func NewGetConfigurationPropertiesParams() *GetConfigurationPropertiesParams
- func NewGetConfigurationPropertiesParamsWithContext(ctx context.Context) *GetConfigurationPropertiesParams
- func NewGetConfigurationPropertiesParamsWithHTTPClient(client *http.Client) *GetConfigurationPropertiesParams
- func NewGetConfigurationPropertiesParamsWithTimeout(timeout time.Duration) *GetConfigurationPropertiesParams
- func (o *GetConfigurationPropertiesParams) SetAPIVersion(aPIVersion string)
- func (o *GetConfigurationPropertiesParams) SetContext(ctx context.Context)
- func (o *GetConfigurationPropertiesParams) SetDefaults()
- func (o *GetConfigurationPropertiesParams) SetHTTPClient(client *http.Client)
- func (o *GetConfigurationPropertiesParams) SetTimeout(timeout time.Duration)
- func (o *GetConfigurationPropertiesParams) WithAPIVersion(aPIVersion string) *GetConfigurationPropertiesParams
- func (o *GetConfigurationPropertiesParams) WithContext(ctx context.Context) *GetConfigurationPropertiesParams
- func (o *GetConfigurationPropertiesParams) WithDefaults() *GetConfigurationPropertiesParams
- func (o *GetConfigurationPropertiesParams) WithHTTPClient(client *http.Client) *GetConfigurationPropertiesParams
- func (o *GetConfigurationPropertiesParams) WithTimeout(timeout time.Duration) *GetConfigurationPropertiesParams
- func (o *GetConfigurationPropertiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConfigurationPropertiesReader
- type GetConfigurationPropertyForbidden
- func (o *GetConfigurationPropertyForbidden) Error() string
- func (o *GetConfigurationPropertyForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *GetConfigurationPropertyForbidden) IsClientError() bool
- func (o *GetConfigurationPropertyForbidden) IsCode(code int) bool
- func (o *GetConfigurationPropertyForbidden) IsRedirect() bool
- func (o *GetConfigurationPropertyForbidden) IsServerError() bool
- func (o *GetConfigurationPropertyForbidden) IsSuccess() bool
- func (o *GetConfigurationPropertyForbidden) String() string
- type GetConfigurationPropertyOK
- func (o *GetConfigurationPropertyOK) Error() string
- func (o *GetConfigurationPropertyOK) GetPayload() *models.ConfigurationPropertyResult
- func (o *GetConfigurationPropertyOK) IsClientError() bool
- func (o *GetConfigurationPropertyOK) IsCode(code int) bool
- func (o *GetConfigurationPropertyOK) IsRedirect() bool
- func (o *GetConfigurationPropertyOK) IsServerError() bool
- func (o *GetConfigurationPropertyOK) IsSuccess() bool
- func (o *GetConfigurationPropertyOK) String() string
- type GetConfigurationPropertyParams
- func NewGetConfigurationPropertyParams() *GetConfigurationPropertyParams
- func NewGetConfigurationPropertyParamsWithContext(ctx context.Context) *GetConfigurationPropertyParams
- func NewGetConfigurationPropertyParamsWithHTTPClient(client *http.Client) *GetConfigurationPropertyParams
- func NewGetConfigurationPropertyParamsWithTimeout(timeout time.Duration) *GetConfigurationPropertyParams
- func (o *GetConfigurationPropertyParams) SetAPIVersion(aPIVersion string)
- func (o *GetConfigurationPropertyParams) SetContext(ctx context.Context)
- func (o *GetConfigurationPropertyParams) SetDefaults()
- func (o *GetConfigurationPropertyParams) SetHTTPClient(client *http.Client)
- func (o *GetConfigurationPropertyParams) SetID(id string)
- func (o *GetConfigurationPropertyParams) SetTimeout(timeout time.Duration)
- func (o *GetConfigurationPropertyParams) WithAPIVersion(aPIVersion string) *GetConfigurationPropertyParams
- func (o *GetConfigurationPropertyParams) WithContext(ctx context.Context) *GetConfigurationPropertyParams
- func (o *GetConfigurationPropertyParams) WithDefaults() *GetConfigurationPropertyParams
- func (o *GetConfigurationPropertyParams) WithHTTPClient(client *http.Client) *GetConfigurationPropertyParams
- func (o *GetConfigurationPropertyParams) WithID(id string) *GetConfigurationPropertyParams
- func (o *GetConfigurationPropertyParams) WithTimeout(timeout time.Duration) *GetConfigurationPropertyParams
- func (o *GetConfigurationPropertyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConfigurationPropertyReader
- type PatchConfigurationPropertyForbidden
- func (o *PatchConfigurationPropertyForbidden) Error() string
- func (o *PatchConfigurationPropertyForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *PatchConfigurationPropertyForbidden) IsClientError() bool
- func (o *PatchConfigurationPropertyForbidden) IsCode(code int) bool
- func (o *PatchConfigurationPropertyForbidden) IsRedirect() bool
- func (o *PatchConfigurationPropertyForbidden) IsServerError() bool
- func (o *PatchConfigurationPropertyForbidden) IsSuccess() bool
- func (o *PatchConfigurationPropertyForbidden) String() string
- type PatchConfigurationPropertyNotFound
- func (o *PatchConfigurationPropertyNotFound) Error() string
- func (o *PatchConfigurationPropertyNotFound) GetPayload() *models.Error
- func (o *PatchConfigurationPropertyNotFound) IsClientError() bool
- func (o *PatchConfigurationPropertyNotFound) IsCode(code int) bool
- func (o *PatchConfigurationPropertyNotFound) IsRedirect() bool
- func (o *PatchConfigurationPropertyNotFound) IsServerError() bool
- func (o *PatchConfigurationPropertyNotFound) IsSuccess() bool
- func (o *PatchConfigurationPropertyNotFound) String() string
- type PatchConfigurationPropertyOK
- func (o *PatchConfigurationPropertyOK) Error() string
- func (o *PatchConfigurationPropertyOK) GetPayload() *models.ConfigurationProperty
- func (o *PatchConfigurationPropertyOK) IsClientError() bool
- func (o *PatchConfigurationPropertyOK) IsCode(code int) bool
- func (o *PatchConfigurationPropertyOK) IsRedirect() bool
- func (o *PatchConfigurationPropertyOK) IsServerError() bool
- func (o *PatchConfigurationPropertyOK) IsSuccess() bool
- func (o *PatchConfigurationPropertyOK) String() string
- type PatchConfigurationPropertyParams
- func NewPatchConfigurationPropertyParams() *PatchConfigurationPropertyParams
- func NewPatchConfigurationPropertyParamsWithContext(ctx context.Context) *PatchConfigurationPropertyParams
- func NewPatchConfigurationPropertyParamsWithHTTPClient(client *http.Client) *PatchConfigurationPropertyParams
- func NewPatchConfigurationPropertyParamsWithTimeout(timeout time.Duration) *PatchConfigurationPropertyParams
- func (o *PatchConfigurationPropertyParams) SetAPIVersion(aPIVersion string)
- func (o *PatchConfigurationPropertyParams) SetBody(body *models.ConfigurationProperty)
- func (o *PatchConfigurationPropertyParams) SetContext(ctx context.Context)
- func (o *PatchConfigurationPropertyParams) SetDefaults()
- func (o *PatchConfigurationPropertyParams) SetHTTPClient(client *http.Client)
- func (o *PatchConfigurationPropertyParams) SetTimeout(timeout time.Duration)
- func (o *PatchConfigurationPropertyParams) WithAPIVersion(aPIVersion string) *PatchConfigurationPropertyParams
- func (o *PatchConfigurationPropertyParams) WithBody(body *models.ConfigurationProperty) *PatchConfigurationPropertyParams
- func (o *PatchConfigurationPropertyParams) WithContext(ctx context.Context) *PatchConfigurationPropertyParams
- func (o *PatchConfigurationPropertyParams) WithDefaults() *PatchConfigurationPropertyParams
- func (o *PatchConfigurationPropertyParams) WithHTTPClient(client *http.Client) *PatchConfigurationPropertyParams
- func (o *PatchConfigurationPropertyParams) WithTimeout(timeout time.Duration) *PatchConfigurationPropertyParams
- func (o *PatchConfigurationPropertyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchConfigurationPropertyReader
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 property API
func (*Client) DeleteConfigurationProperty ¶
func (a *Client) DeleteConfigurationProperty(params *DeleteConfigurationPropertyParams, opts ...ClientOption) (*DeleteConfigurationPropertyOK, error)
DeleteConfigurationProperty deletes a configuration property
Delete a configuration property
func (*Client) GetConfigurationProperties ¶
func (a *Client) GetConfigurationProperties(params *GetConfigurationPropertiesParams, opts ...ClientOption) (*GetConfigurationPropertiesOK, error)
GetConfigurationProperties gets configuration properties
Get all configuration properties
func (*Client) GetConfigurationProperty ¶
func (a *Client) GetConfigurationProperty(params *GetConfigurationPropertyParams, opts ...ClientOption) (*GetConfigurationPropertyOK, error)
GetConfigurationProperty gets single configuration property
Get single configuration property
func (*Client) PatchConfigurationProperty ¶
func (a *Client) PatchConfigurationProperty(params *PatchConfigurationPropertyParams, opts ...ClientOption) (*PatchConfigurationPropertyOK, error)
PatchConfigurationProperty updates or create configuration property
Update or create configuration property.
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 { DeleteConfigurationProperty(params *DeleteConfigurationPropertyParams, opts ...ClientOption) (*DeleteConfigurationPropertyOK, error) GetConfigurationProperties(params *GetConfigurationPropertiesParams, opts ...ClientOption) (*GetConfigurationPropertiesOK, error) GetConfigurationProperty(params *GetConfigurationPropertyParams, opts ...ClientOption) (*GetConfigurationPropertyOK, error) PatchConfigurationProperty(params *PatchConfigurationPropertyParams, opts ...ClientOption) (*PatchConfigurationPropertyOK, 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 property API client.
type DeleteConfigurationPropertyForbidden ¶
type DeleteConfigurationPropertyForbidden struct {
Payload *models.ServiceErrorResponse
}
DeleteConfigurationPropertyForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteConfigurationPropertyForbidden ¶
func NewDeleteConfigurationPropertyForbidden() *DeleteConfigurationPropertyForbidden
NewDeleteConfigurationPropertyForbidden creates a DeleteConfigurationPropertyForbidden with default headers values
func (*DeleteConfigurationPropertyForbidden) Error ¶
func (o *DeleteConfigurationPropertyForbidden) Error() string
func (*DeleteConfigurationPropertyForbidden) GetPayload ¶
func (o *DeleteConfigurationPropertyForbidden) GetPayload() *models.ServiceErrorResponse
func (*DeleteConfigurationPropertyForbidden) IsClientError ¶ added in v0.5.0
func (o *DeleteConfigurationPropertyForbidden) IsClientError() bool
IsClientError returns true when this delete configuration property forbidden response has a 4xx status code
func (*DeleteConfigurationPropertyForbidden) IsCode ¶ added in v0.5.0
func (o *DeleteConfigurationPropertyForbidden) IsCode(code int) bool
IsCode returns true when this delete configuration property forbidden response a status code equal to that given
func (*DeleteConfigurationPropertyForbidden) IsRedirect ¶ added in v0.5.0
func (o *DeleteConfigurationPropertyForbidden) IsRedirect() bool
IsRedirect returns true when this delete configuration property forbidden response has a 3xx status code
func (*DeleteConfigurationPropertyForbidden) IsServerError ¶ added in v0.5.0
func (o *DeleteConfigurationPropertyForbidden) IsServerError() bool
IsServerError returns true when this delete configuration property forbidden response has a 5xx status code
func (*DeleteConfigurationPropertyForbidden) IsSuccess ¶ added in v0.5.0
func (o *DeleteConfigurationPropertyForbidden) IsSuccess() bool
IsSuccess returns true when this delete configuration property forbidden response has a 2xx status code
func (*DeleteConfigurationPropertyForbidden) String ¶ added in v0.5.0
func (o *DeleteConfigurationPropertyForbidden) String() string
type DeleteConfigurationPropertyOK ¶
type DeleteConfigurationPropertyOK struct {
Payload *models.ConfigurationProperty
}
DeleteConfigurationPropertyOK describes a response with status code 200, with default header values.
successful operation
func NewDeleteConfigurationPropertyOK ¶
func NewDeleteConfigurationPropertyOK() *DeleteConfigurationPropertyOK
NewDeleteConfigurationPropertyOK creates a DeleteConfigurationPropertyOK with default headers values
func (*DeleteConfigurationPropertyOK) Error ¶
func (o *DeleteConfigurationPropertyOK) Error() string
func (*DeleteConfigurationPropertyOK) GetPayload ¶
func (o *DeleteConfigurationPropertyOK) GetPayload() *models.ConfigurationProperty
func (*DeleteConfigurationPropertyOK) IsClientError ¶ added in v0.5.0
func (o *DeleteConfigurationPropertyOK) IsClientError() bool
IsClientError returns true when this delete configuration property o k response has a 4xx status code
func (*DeleteConfigurationPropertyOK) IsCode ¶ added in v0.5.0
func (o *DeleteConfigurationPropertyOK) IsCode(code int) bool
IsCode returns true when this delete configuration property o k response a status code equal to that given
func (*DeleteConfigurationPropertyOK) IsRedirect ¶ added in v0.5.0
func (o *DeleteConfigurationPropertyOK) IsRedirect() bool
IsRedirect returns true when this delete configuration property o k response has a 3xx status code
func (*DeleteConfigurationPropertyOK) IsServerError ¶ added in v0.5.0
func (o *DeleteConfigurationPropertyOK) IsServerError() bool
IsServerError returns true when this delete configuration property o k response has a 5xx status code
func (*DeleteConfigurationPropertyOK) IsSuccess ¶ added in v0.5.0
func (o *DeleteConfigurationPropertyOK) IsSuccess() bool
IsSuccess returns true when this delete configuration property o k response has a 2xx status code
func (*DeleteConfigurationPropertyOK) String ¶ added in v0.5.0
func (o *DeleteConfigurationPropertyOK) String() string
type DeleteConfigurationPropertyParams ¶
type DeleteConfigurationPropertyParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion string // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteConfigurationPropertyParams contains all the parameters to send to the API endpoint
for the delete configuration property operation. Typically these are written to a http.Request.
func NewDeleteConfigurationPropertyParams ¶
func NewDeleteConfigurationPropertyParams() *DeleteConfigurationPropertyParams
NewDeleteConfigurationPropertyParams creates a new DeleteConfigurationPropertyParams 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 NewDeleteConfigurationPropertyParamsWithContext ¶
func NewDeleteConfigurationPropertyParamsWithContext(ctx context.Context) *DeleteConfigurationPropertyParams
NewDeleteConfigurationPropertyParamsWithContext creates a new DeleteConfigurationPropertyParams object with the ability to set a context for a request.
func NewDeleteConfigurationPropertyParamsWithHTTPClient ¶
func NewDeleteConfigurationPropertyParamsWithHTTPClient(client *http.Client) *DeleteConfigurationPropertyParams
NewDeleteConfigurationPropertyParamsWithHTTPClient creates a new DeleteConfigurationPropertyParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteConfigurationPropertyParamsWithTimeout ¶
func NewDeleteConfigurationPropertyParamsWithTimeout(timeout time.Duration) *DeleteConfigurationPropertyParams
NewDeleteConfigurationPropertyParamsWithTimeout creates a new DeleteConfigurationPropertyParams object with the ability to set a timeout on a request.
func (*DeleteConfigurationPropertyParams) SetAPIVersion ¶
func (o *DeleteConfigurationPropertyParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the delete configuration property params
func (*DeleteConfigurationPropertyParams) SetContext ¶
func (o *DeleteConfigurationPropertyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete configuration property params
func (*DeleteConfigurationPropertyParams) SetDefaults ¶
func (o *DeleteConfigurationPropertyParams) SetDefaults()
SetDefaults hydrates default values in the delete configuration property params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteConfigurationPropertyParams) SetHTTPClient ¶
func (o *DeleteConfigurationPropertyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete configuration property params
func (*DeleteConfigurationPropertyParams) SetID ¶
func (o *DeleteConfigurationPropertyParams) SetID(id string)
SetID adds the id to the delete configuration property params
func (*DeleteConfigurationPropertyParams) SetTimeout ¶
func (o *DeleteConfigurationPropertyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete configuration property params
func (*DeleteConfigurationPropertyParams) WithAPIVersion ¶
func (o *DeleteConfigurationPropertyParams) WithAPIVersion(aPIVersion string) *DeleteConfigurationPropertyParams
WithAPIVersion adds the aPIVersion to the delete configuration property params
func (*DeleteConfigurationPropertyParams) WithContext ¶
func (o *DeleteConfigurationPropertyParams) WithContext(ctx context.Context) *DeleteConfigurationPropertyParams
WithContext adds the context to the delete configuration property params
func (*DeleteConfigurationPropertyParams) WithDefaults ¶
func (o *DeleteConfigurationPropertyParams) WithDefaults() *DeleteConfigurationPropertyParams
WithDefaults hydrates default values in the delete configuration property params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteConfigurationPropertyParams) WithHTTPClient ¶
func (o *DeleteConfigurationPropertyParams) WithHTTPClient(client *http.Client) *DeleteConfigurationPropertyParams
WithHTTPClient adds the HTTPClient to the delete configuration property params
func (*DeleteConfigurationPropertyParams) WithID ¶
func (o *DeleteConfigurationPropertyParams) WithID(id string) *DeleteConfigurationPropertyParams
WithID adds the id to the delete configuration property params
func (*DeleteConfigurationPropertyParams) WithTimeout ¶
func (o *DeleteConfigurationPropertyParams) WithTimeout(timeout time.Duration) *DeleteConfigurationPropertyParams
WithTimeout adds the timeout to the delete configuration property params
func (*DeleteConfigurationPropertyParams) WriteToRequest ¶
func (o *DeleteConfigurationPropertyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteConfigurationPropertyReader ¶
type DeleteConfigurationPropertyReader struct {
// contains filtered or unexported fields
}
DeleteConfigurationPropertyReader is a Reader for the DeleteConfigurationProperty structure.
func (*DeleteConfigurationPropertyReader) ReadResponse ¶
func (o *DeleteConfigurationPropertyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConfigurationPropertiesForbidden ¶
type GetConfigurationPropertiesForbidden struct {
Payload *models.ServiceErrorResponse
}
GetConfigurationPropertiesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetConfigurationPropertiesForbidden ¶
func NewGetConfigurationPropertiesForbidden() *GetConfigurationPropertiesForbidden
NewGetConfigurationPropertiesForbidden creates a GetConfigurationPropertiesForbidden with default headers values
func (*GetConfigurationPropertiesForbidden) Error ¶
func (o *GetConfigurationPropertiesForbidden) Error() string
func (*GetConfigurationPropertiesForbidden) GetPayload ¶
func (o *GetConfigurationPropertiesForbidden) GetPayload() *models.ServiceErrorResponse
func (*GetConfigurationPropertiesForbidden) IsClientError ¶ added in v0.5.0
func (o *GetConfigurationPropertiesForbidden) IsClientError() bool
IsClientError returns true when this get configuration properties forbidden response has a 4xx status code
func (*GetConfigurationPropertiesForbidden) IsCode ¶ added in v0.5.0
func (o *GetConfigurationPropertiesForbidden) IsCode(code int) bool
IsCode returns true when this get configuration properties forbidden response a status code equal to that given
func (*GetConfigurationPropertiesForbidden) IsRedirect ¶ added in v0.5.0
func (o *GetConfigurationPropertiesForbidden) IsRedirect() bool
IsRedirect returns true when this get configuration properties forbidden response has a 3xx status code
func (*GetConfigurationPropertiesForbidden) IsServerError ¶ added in v0.5.0
func (o *GetConfigurationPropertiesForbidden) IsServerError() bool
IsServerError returns true when this get configuration properties forbidden response has a 5xx status code
func (*GetConfigurationPropertiesForbidden) IsSuccess ¶ added in v0.5.0
func (o *GetConfigurationPropertiesForbidden) IsSuccess() bool
IsSuccess returns true when this get configuration properties forbidden response has a 2xx status code
func (*GetConfigurationPropertiesForbidden) String ¶ added in v0.5.0
func (o *GetConfigurationPropertiesForbidden) String() string
type GetConfigurationPropertiesOK ¶
type GetConfigurationPropertiesOK struct {
Payload *models.ConfigurationPropertyResult
}
GetConfigurationPropertiesOK describes a response with status code 200, with default header values.
successful operation
func NewGetConfigurationPropertiesOK ¶
func NewGetConfigurationPropertiesOK() *GetConfigurationPropertiesOK
NewGetConfigurationPropertiesOK creates a GetConfigurationPropertiesOK with default headers values
func (*GetConfigurationPropertiesOK) Error ¶
func (o *GetConfigurationPropertiesOK) Error() string
func (*GetConfigurationPropertiesOK) GetPayload ¶
func (o *GetConfigurationPropertiesOK) GetPayload() *models.ConfigurationPropertyResult
func (*GetConfigurationPropertiesOK) IsClientError ¶ added in v0.5.0
func (o *GetConfigurationPropertiesOK) IsClientError() bool
IsClientError returns true when this get configuration properties o k response has a 4xx status code
func (*GetConfigurationPropertiesOK) IsCode ¶ added in v0.5.0
func (o *GetConfigurationPropertiesOK) IsCode(code int) bool
IsCode returns true when this get configuration properties o k response a status code equal to that given
func (*GetConfigurationPropertiesOK) IsRedirect ¶ added in v0.5.0
func (o *GetConfigurationPropertiesOK) IsRedirect() bool
IsRedirect returns true when this get configuration properties o k response has a 3xx status code
func (*GetConfigurationPropertiesOK) IsServerError ¶ added in v0.5.0
func (o *GetConfigurationPropertiesOK) IsServerError() bool
IsServerError returns true when this get configuration properties o k response has a 5xx status code
func (*GetConfigurationPropertiesOK) IsSuccess ¶ added in v0.5.0
func (o *GetConfigurationPropertiesOK) IsSuccess() bool
IsSuccess returns true when this get configuration properties o k response has a 2xx status code
func (*GetConfigurationPropertiesOK) String ¶ added in v0.5.0
func (o *GetConfigurationPropertiesOK) String() string
type GetConfigurationPropertiesParams ¶
type GetConfigurationPropertiesParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetConfigurationPropertiesParams contains all the parameters to send to the API endpoint
for the get configuration properties operation. Typically these are written to a http.Request.
func NewGetConfigurationPropertiesParams ¶
func NewGetConfigurationPropertiesParams() *GetConfigurationPropertiesParams
NewGetConfigurationPropertiesParams creates a new GetConfigurationPropertiesParams 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 NewGetConfigurationPropertiesParamsWithContext ¶
func NewGetConfigurationPropertiesParamsWithContext(ctx context.Context) *GetConfigurationPropertiesParams
NewGetConfigurationPropertiesParamsWithContext creates a new GetConfigurationPropertiesParams object with the ability to set a context for a request.
func NewGetConfigurationPropertiesParamsWithHTTPClient ¶
func NewGetConfigurationPropertiesParamsWithHTTPClient(client *http.Client) *GetConfigurationPropertiesParams
NewGetConfigurationPropertiesParamsWithHTTPClient creates a new GetConfigurationPropertiesParams object with the ability to set a custom HTTPClient for a request.
func NewGetConfigurationPropertiesParamsWithTimeout ¶
func NewGetConfigurationPropertiesParamsWithTimeout(timeout time.Duration) *GetConfigurationPropertiesParams
NewGetConfigurationPropertiesParamsWithTimeout creates a new GetConfigurationPropertiesParams object with the ability to set a timeout on a request.
func (*GetConfigurationPropertiesParams) SetAPIVersion ¶
func (o *GetConfigurationPropertiesParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the get configuration properties params
func (*GetConfigurationPropertiesParams) SetContext ¶
func (o *GetConfigurationPropertiesParams) SetContext(ctx context.Context)
SetContext adds the context to the get configuration properties params
func (*GetConfigurationPropertiesParams) SetDefaults ¶
func (o *GetConfigurationPropertiesParams) SetDefaults()
SetDefaults hydrates default values in the get configuration properties params (not the query body).
All values with no default are reset to their zero value.
func (*GetConfigurationPropertiesParams) SetHTTPClient ¶
func (o *GetConfigurationPropertiesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get configuration properties params
func (*GetConfigurationPropertiesParams) SetTimeout ¶
func (o *GetConfigurationPropertiesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get configuration properties params
func (*GetConfigurationPropertiesParams) WithAPIVersion ¶
func (o *GetConfigurationPropertiesParams) WithAPIVersion(aPIVersion string) *GetConfigurationPropertiesParams
WithAPIVersion adds the aPIVersion to the get configuration properties params
func (*GetConfigurationPropertiesParams) WithContext ¶
func (o *GetConfigurationPropertiesParams) WithContext(ctx context.Context) *GetConfigurationPropertiesParams
WithContext adds the context to the get configuration properties params
func (*GetConfigurationPropertiesParams) WithDefaults ¶
func (o *GetConfigurationPropertiesParams) WithDefaults() *GetConfigurationPropertiesParams
WithDefaults hydrates default values in the get configuration properties params (not the query body).
All values with no default are reset to their zero value.
func (*GetConfigurationPropertiesParams) WithHTTPClient ¶
func (o *GetConfigurationPropertiesParams) WithHTTPClient(client *http.Client) *GetConfigurationPropertiesParams
WithHTTPClient adds the HTTPClient to the get configuration properties params
func (*GetConfigurationPropertiesParams) WithTimeout ¶
func (o *GetConfigurationPropertiesParams) WithTimeout(timeout time.Duration) *GetConfigurationPropertiesParams
WithTimeout adds the timeout to the get configuration properties params
func (*GetConfigurationPropertiesParams) WriteToRequest ¶
func (o *GetConfigurationPropertiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConfigurationPropertiesReader ¶
type GetConfigurationPropertiesReader struct {
// contains filtered or unexported fields
}
GetConfigurationPropertiesReader is a Reader for the GetConfigurationProperties structure.
func (*GetConfigurationPropertiesReader) ReadResponse ¶
func (o *GetConfigurationPropertiesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConfigurationPropertyForbidden ¶
type GetConfigurationPropertyForbidden struct {
Payload *models.ServiceErrorResponse
}
GetConfigurationPropertyForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetConfigurationPropertyForbidden ¶
func NewGetConfigurationPropertyForbidden() *GetConfigurationPropertyForbidden
NewGetConfigurationPropertyForbidden creates a GetConfigurationPropertyForbidden with default headers values
func (*GetConfigurationPropertyForbidden) Error ¶
func (o *GetConfigurationPropertyForbidden) Error() string
func (*GetConfigurationPropertyForbidden) GetPayload ¶
func (o *GetConfigurationPropertyForbidden) GetPayload() *models.ServiceErrorResponse
func (*GetConfigurationPropertyForbidden) IsClientError ¶ added in v0.5.0
func (o *GetConfigurationPropertyForbidden) IsClientError() bool
IsClientError returns true when this get configuration property forbidden response has a 4xx status code
func (*GetConfigurationPropertyForbidden) IsCode ¶ added in v0.5.0
func (o *GetConfigurationPropertyForbidden) IsCode(code int) bool
IsCode returns true when this get configuration property forbidden response a status code equal to that given
func (*GetConfigurationPropertyForbidden) IsRedirect ¶ added in v0.5.0
func (o *GetConfigurationPropertyForbidden) IsRedirect() bool
IsRedirect returns true when this get configuration property forbidden response has a 3xx status code
func (*GetConfigurationPropertyForbidden) IsServerError ¶ added in v0.5.0
func (o *GetConfigurationPropertyForbidden) IsServerError() bool
IsServerError returns true when this get configuration property forbidden response has a 5xx status code
func (*GetConfigurationPropertyForbidden) IsSuccess ¶ added in v0.5.0
func (o *GetConfigurationPropertyForbidden) IsSuccess() bool
IsSuccess returns true when this get configuration property forbidden response has a 2xx status code
func (*GetConfigurationPropertyForbidden) String ¶ added in v0.5.0
func (o *GetConfigurationPropertyForbidden) String() string
type GetConfigurationPropertyOK ¶
type GetConfigurationPropertyOK struct {
Payload *models.ConfigurationPropertyResult
}
GetConfigurationPropertyOK describes a response with status code 200, with default header values.
successful operation
func NewGetConfigurationPropertyOK ¶
func NewGetConfigurationPropertyOK() *GetConfigurationPropertyOK
NewGetConfigurationPropertyOK creates a GetConfigurationPropertyOK with default headers values
func (*GetConfigurationPropertyOK) Error ¶
func (o *GetConfigurationPropertyOK) Error() string
func (*GetConfigurationPropertyOK) GetPayload ¶
func (o *GetConfigurationPropertyOK) GetPayload() *models.ConfigurationPropertyResult
func (*GetConfigurationPropertyOK) IsClientError ¶ added in v0.5.0
func (o *GetConfigurationPropertyOK) IsClientError() bool
IsClientError returns true when this get configuration property o k response has a 4xx status code
func (*GetConfigurationPropertyOK) IsCode ¶ added in v0.5.0
func (o *GetConfigurationPropertyOK) IsCode(code int) bool
IsCode returns true when this get configuration property o k response a status code equal to that given
func (*GetConfigurationPropertyOK) IsRedirect ¶ added in v0.5.0
func (o *GetConfigurationPropertyOK) IsRedirect() bool
IsRedirect returns true when this get configuration property o k response has a 3xx status code
func (*GetConfigurationPropertyOK) IsServerError ¶ added in v0.5.0
func (o *GetConfigurationPropertyOK) IsServerError() bool
IsServerError returns true when this get configuration property o k response has a 5xx status code
func (*GetConfigurationPropertyOK) IsSuccess ¶ added in v0.5.0
func (o *GetConfigurationPropertyOK) IsSuccess() bool
IsSuccess returns true when this get configuration property o k response has a 2xx status code
func (*GetConfigurationPropertyOK) String ¶ added in v0.5.0
func (o *GetConfigurationPropertyOK) String() string
type GetConfigurationPropertyParams ¶
type GetConfigurationPropertyParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion string // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetConfigurationPropertyParams contains all the parameters to send to the API endpoint
for the get configuration property operation. Typically these are written to a http.Request.
func NewGetConfigurationPropertyParams ¶
func NewGetConfigurationPropertyParams() *GetConfigurationPropertyParams
NewGetConfigurationPropertyParams creates a new GetConfigurationPropertyParams 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 NewGetConfigurationPropertyParamsWithContext ¶
func NewGetConfigurationPropertyParamsWithContext(ctx context.Context) *GetConfigurationPropertyParams
NewGetConfigurationPropertyParamsWithContext creates a new GetConfigurationPropertyParams object with the ability to set a context for a request.
func NewGetConfigurationPropertyParamsWithHTTPClient ¶
func NewGetConfigurationPropertyParamsWithHTTPClient(client *http.Client) *GetConfigurationPropertyParams
NewGetConfigurationPropertyParamsWithHTTPClient creates a new GetConfigurationPropertyParams object with the ability to set a custom HTTPClient for a request.
func NewGetConfigurationPropertyParamsWithTimeout ¶
func NewGetConfigurationPropertyParamsWithTimeout(timeout time.Duration) *GetConfigurationPropertyParams
NewGetConfigurationPropertyParamsWithTimeout creates a new GetConfigurationPropertyParams object with the ability to set a timeout on a request.
func (*GetConfigurationPropertyParams) SetAPIVersion ¶
func (o *GetConfigurationPropertyParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the get configuration property params
func (*GetConfigurationPropertyParams) SetContext ¶
func (o *GetConfigurationPropertyParams) SetContext(ctx context.Context)
SetContext adds the context to the get configuration property params
func (*GetConfigurationPropertyParams) SetDefaults ¶
func (o *GetConfigurationPropertyParams) SetDefaults()
SetDefaults hydrates default values in the get configuration property params (not the query body).
All values with no default are reset to their zero value.
func (*GetConfigurationPropertyParams) SetHTTPClient ¶
func (o *GetConfigurationPropertyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get configuration property params
func (*GetConfigurationPropertyParams) SetID ¶
func (o *GetConfigurationPropertyParams) SetID(id string)
SetID adds the id to the get configuration property params
func (*GetConfigurationPropertyParams) SetTimeout ¶
func (o *GetConfigurationPropertyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get configuration property params
func (*GetConfigurationPropertyParams) WithAPIVersion ¶
func (o *GetConfigurationPropertyParams) WithAPIVersion(aPIVersion string) *GetConfigurationPropertyParams
WithAPIVersion adds the aPIVersion to the get configuration property params
func (*GetConfigurationPropertyParams) WithContext ¶
func (o *GetConfigurationPropertyParams) WithContext(ctx context.Context) *GetConfigurationPropertyParams
WithContext adds the context to the get configuration property params
func (*GetConfigurationPropertyParams) WithDefaults ¶
func (o *GetConfigurationPropertyParams) WithDefaults() *GetConfigurationPropertyParams
WithDefaults hydrates default values in the get configuration property params (not the query body).
All values with no default are reset to their zero value.
func (*GetConfigurationPropertyParams) WithHTTPClient ¶
func (o *GetConfigurationPropertyParams) WithHTTPClient(client *http.Client) *GetConfigurationPropertyParams
WithHTTPClient adds the HTTPClient to the get configuration property params
func (*GetConfigurationPropertyParams) WithID ¶
func (o *GetConfigurationPropertyParams) WithID(id string) *GetConfigurationPropertyParams
WithID adds the id to the get configuration property params
func (*GetConfigurationPropertyParams) WithTimeout ¶
func (o *GetConfigurationPropertyParams) WithTimeout(timeout time.Duration) *GetConfigurationPropertyParams
WithTimeout adds the timeout to the get configuration property params
func (*GetConfigurationPropertyParams) WriteToRequest ¶
func (o *GetConfigurationPropertyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConfigurationPropertyReader ¶
type GetConfigurationPropertyReader struct {
// contains filtered or unexported fields
}
GetConfigurationPropertyReader is a Reader for the GetConfigurationProperty structure.
func (*GetConfigurationPropertyReader) ReadResponse ¶
func (o *GetConfigurationPropertyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchConfigurationPropertyForbidden ¶
type PatchConfigurationPropertyForbidden struct {
Payload *models.ServiceErrorResponse
}
PatchConfigurationPropertyForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPatchConfigurationPropertyForbidden ¶
func NewPatchConfigurationPropertyForbidden() *PatchConfigurationPropertyForbidden
NewPatchConfigurationPropertyForbidden creates a PatchConfigurationPropertyForbidden with default headers values
func (*PatchConfigurationPropertyForbidden) Error ¶
func (o *PatchConfigurationPropertyForbidden) Error() string
func (*PatchConfigurationPropertyForbidden) GetPayload ¶
func (o *PatchConfigurationPropertyForbidden) GetPayload() *models.ServiceErrorResponse
func (*PatchConfigurationPropertyForbidden) IsClientError ¶ added in v0.5.0
func (o *PatchConfigurationPropertyForbidden) IsClientError() bool
IsClientError returns true when this patch configuration property forbidden response has a 4xx status code
func (*PatchConfigurationPropertyForbidden) IsCode ¶ added in v0.5.0
func (o *PatchConfigurationPropertyForbidden) IsCode(code int) bool
IsCode returns true when this patch configuration property forbidden response a status code equal to that given
func (*PatchConfigurationPropertyForbidden) IsRedirect ¶ added in v0.5.0
func (o *PatchConfigurationPropertyForbidden) IsRedirect() bool
IsRedirect returns true when this patch configuration property forbidden response has a 3xx status code
func (*PatchConfigurationPropertyForbidden) IsServerError ¶ added in v0.5.0
func (o *PatchConfigurationPropertyForbidden) IsServerError() bool
IsServerError returns true when this patch configuration property forbidden response has a 5xx status code
func (*PatchConfigurationPropertyForbidden) IsSuccess ¶ added in v0.5.0
func (o *PatchConfigurationPropertyForbidden) IsSuccess() bool
IsSuccess returns true when this patch configuration property forbidden response has a 2xx status code
func (*PatchConfigurationPropertyForbidden) String ¶ added in v0.5.0
func (o *PatchConfigurationPropertyForbidden) String() string
type PatchConfigurationPropertyNotFound ¶
PatchConfigurationPropertyNotFound describes a response with status code 404, with default header values.
Not Found
func NewPatchConfigurationPropertyNotFound ¶
func NewPatchConfigurationPropertyNotFound() *PatchConfigurationPropertyNotFound
NewPatchConfigurationPropertyNotFound creates a PatchConfigurationPropertyNotFound with default headers values
func (*PatchConfigurationPropertyNotFound) Error ¶
func (o *PatchConfigurationPropertyNotFound) Error() string
func (*PatchConfigurationPropertyNotFound) GetPayload ¶
func (o *PatchConfigurationPropertyNotFound) GetPayload() *models.Error
func (*PatchConfigurationPropertyNotFound) IsClientError ¶ added in v0.5.0
func (o *PatchConfigurationPropertyNotFound) IsClientError() bool
IsClientError returns true when this patch configuration property not found response has a 4xx status code
func (*PatchConfigurationPropertyNotFound) IsCode ¶ added in v0.5.0
func (o *PatchConfigurationPropertyNotFound) IsCode(code int) bool
IsCode returns true when this patch configuration property not found response a status code equal to that given
func (*PatchConfigurationPropertyNotFound) IsRedirect ¶ added in v0.5.0
func (o *PatchConfigurationPropertyNotFound) IsRedirect() bool
IsRedirect returns true when this patch configuration property not found response has a 3xx status code
func (*PatchConfigurationPropertyNotFound) IsServerError ¶ added in v0.5.0
func (o *PatchConfigurationPropertyNotFound) IsServerError() bool
IsServerError returns true when this patch configuration property not found response has a 5xx status code
func (*PatchConfigurationPropertyNotFound) IsSuccess ¶ added in v0.5.0
func (o *PatchConfigurationPropertyNotFound) IsSuccess() bool
IsSuccess returns true when this patch configuration property not found response has a 2xx status code
func (*PatchConfigurationPropertyNotFound) String ¶ added in v0.5.0
func (o *PatchConfigurationPropertyNotFound) String() string
type PatchConfigurationPropertyOK ¶
type PatchConfigurationPropertyOK struct {
Payload *models.ConfigurationProperty
}
PatchConfigurationPropertyOK describes a response with status code 200, with default header values.
successful operation
func NewPatchConfigurationPropertyOK ¶
func NewPatchConfigurationPropertyOK() *PatchConfigurationPropertyOK
NewPatchConfigurationPropertyOK creates a PatchConfigurationPropertyOK with default headers values
func (*PatchConfigurationPropertyOK) Error ¶
func (o *PatchConfigurationPropertyOK) Error() string
func (*PatchConfigurationPropertyOK) GetPayload ¶
func (o *PatchConfigurationPropertyOK) GetPayload() *models.ConfigurationProperty
func (*PatchConfigurationPropertyOK) IsClientError ¶ added in v0.5.0
func (o *PatchConfigurationPropertyOK) IsClientError() bool
IsClientError returns true when this patch configuration property o k response has a 4xx status code
func (*PatchConfigurationPropertyOK) IsCode ¶ added in v0.5.0
func (o *PatchConfigurationPropertyOK) IsCode(code int) bool
IsCode returns true when this patch configuration property o k response a status code equal to that given
func (*PatchConfigurationPropertyOK) IsRedirect ¶ added in v0.5.0
func (o *PatchConfigurationPropertyOK) IsRedirect() bool
IsRedirect returns true when this patch configuration property o k response has a 3xx status code
func (*PatchConfigurationPropertyOK) IsServerError ¶ added in v0.5.0
func (o *PatchConfigurationPropertyOK) IsServerError() bool
IsServerError returns true when this patch configuration property o k response has a 5xx status code
func (*PatchConfigurationPropertyOK) IsSuccess ¶ added in v0.5.0
func (o *PatchConfigurationPropertyOK) IsSuccess() bool
IsSuccess returns true when this patch configuration property o k response has a 2xx status code
func (*PatchConfigurationPropertyOK) String ¶ added in v0.5.0
func (o *PatchConfigurationPropertyOK) String() string
type PatchConfigurationPropertyParams ¶
type PatchConfigurationPropertyParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion string /* Body. Property Specification */ Body *models.ConfigurationProperty Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchConfigurationPropertyParams contains all the parameters to send to the API endpoint
for the patch configuration property operation. Typically these are written to a http.Request.
func NewPatchConfigurationPropertyParams ¶
func NewPatchConfigurationPropertyParams() *PatchConfigurationPropertyParams
NewPatchConfigurationPropertyParams creates a new PatchConfigurationPropertyParams 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 NewPatchConfigurationPropertyParamsWithContext ¶
func NewPatchConfigurationPropertyParamsWithContext(ctx context.Context) *PatchConfigurationPropertyParams
NewPatchConfigurationPropertyParamsWithContext creates a new PatchConfigurationPropertyParams object with the ability to set a context for a request.
func NewPatchConfigurationPropertyParamsWithHTTPClient ¶
func NewPatchConfigurationPropertyParamsWithHTTPClient(client *http.Client) *PatchConfigurationPropertyParams
NewPatchConfigurationPropertyParamsWithHTTPClient creates a new PatchConfigurationPropertyParams object with the ability to set a custom HTTPClient for a request.
func NewPatchConfigurationPropertyParamsWithTimeout ¶
func NewPatchConfigurationPropertyParamsWithTimeout(timeout time.Duration) *PatchConfigurationPropertyParams
NewPatchConfigurationPropertyParamsWithTimeout creates a new PatchConfigurationPropertyParams object with the ability to set a timeout on a request.
func (*PatchConfigurationPropertyParams) SetAPIVersion ¶
func (o *PatchConfigurationPropertyParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the patch configuration property params
func (*PatchConfigurationPropertyParams) SetBody ¶
func (o *PatchConfigurationPropertyParams) SetBody(body *models.ConfigurationProperty)
SetBody adds the body to the patch configuration property params
func (*PatchConfigurationPropertyParams) SetContext ¶
func (o *PatchConfigurationPropertyParams) SetContext(ctx context.Context)
SetContext adds the context to the patch configuration property params
func (*PatchConfigurationPropertyParams) SetDefaults ¶
func (o *PatchConfigurationPropertyParams) SetDefaults()
SetDefaults hydrates default values in the patch configuration property params (not the query body).
All values with no default are reset to their zero value.
func (*PatchConfigurationPropertyParams) SetHTTPClient ¶
func (o *PatchConfigurationPropertyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch configuration property params
func (*PatchConfigurationPropertyParams) SetTimeout ¶
func (o *PatchConfigurationPropertyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch configuration property params
func (*PatchConfigurationPropertyParams) WithAPIVersion ¶
func (o *PatchConfigurationPropertyParams) WithAPIVersion(aPIVersion string) *PatchConfigurationPropertyParams
WithAPIVersion adds the aPIVersion to the patch configuration property params
func (*PatchConfigurationPropertyParams) WithBody ¶
func (o *PatchConfigurationPropertyParams) WithBody(body *models.ConfigurationProperty) *PatchConfigurationPropertyParams
WithBody adds the body to the patch configuration property params
func (*PatchConfigurationPropertyParams) WithContext ¶
func (o *PatchConfigurationPropertyParams) WithContext(ctx context.Context) *PatchConfigurationPropertyParams
WithContext adds the context to the patch configuration property params
func (*PatchConfigurationPropertyParams) WithDefaults ¶
func (o *PatchConfigurationPropertyParams) WithDefaults() *PatchConfigurationPropertyParams
WithDefaults hydrates default values in the patch configuration property params (not the query body).
All values with no default are reset to their zero value.
func (*PatchConfigurationPropertyParams) WithHTTPClient ¶
func (o *PatchConfigurationPropertyParams) WithHTTPClient(client *http.Client) *PatchConfigurationPropertyParams
WithHTTPClient adds the HTTPClient to the patch configuration property params
func (*PatchConfigurationPropertyParams) WithTimeout ¶
func (o *PatchConfigurationPropertyParams) WithTimeout(timeout time.Duration) *PatchConfigurationPropertyParams
WithTimeout adds the timeout to the patch configuration property params
func (*PatchConfigurationPropertyParams) WriteToRequest ¶
func (o *PatchConfigurationPropertyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchConfigurationPropertyReader ¶
type PatchConfigurationPropertyReader struct {
// contains filtered or unexported fields
}
PatchConfigurationPropertyReader is a Reader for the PatchConfigurationProperty structure.
func (*PatchConfigurationPropertyReader) ReadResponse ¶
func (o *PatchConfigurationPropertyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- delete_configuration_property_parameters.go
- delete_configuration_property_responses.go
- get_configuration_properties_parameters.go
- get_configuration_properties_responses.go
- get_configuration_property_parameters.go
- get_configuration_property_responses.go
- patch_configuration_property_parameters.go
- patch_configuration_property_responses.go
- property_client.go