property

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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 (*DeleteConfigurationPropertyForbidden) GetPayload

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

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

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

IsSuccess returns true when this delete configuration property forbidden response has a 2xx status code

func (*DeleteConfigurationPropertyForbidden) String added in v0.5.0

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 (*DeleteConfigurationPropertyOK) GetPayload

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

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

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

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

WithAPIVersion adds the aPIVersion to the delete configuration property params

func (*DeleteConfigurationPropertyParams) WithContext

WithContext adds the context to the delete configuration property params

func (*DeleteConfigurationPropertyParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete configuration property params

func (*DeleteConfigurationPropertyParams) WithID

WithID adds the id to the delete configuration property params

func (*DeleteConfigurationPropertyParams) WithTimeout

WithTimeout adds the timeout to the delete configuration property params

func (*DeleteConfigurationPropertyParams) WriteToRequest

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 (*GetConfigurationPropertiesForbidden) GetPayload

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

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

IsSuccess returns true when this get configuration properties forbidden response has a 2xx status code

func (*GetConfigurationPropertiesForbidden) String added in v0.5.0

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 (*GetConfigurationPropertiesOK) GetPayload

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

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

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

WithAPIVersion adds the aPIVersion to the get configuration properties params

func (*GetConfigurationPropertiesParams) WithContext

WithContext adds the context to the get configuration properties params

func (*GetConfigurationPropertiesParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get configuration properties params

func (*GetConfigurationPropertiesParams) WithTimeout

WithTimeout adds the timeout to the get configuration properties params

func (*GetConfigurationPropertiesParams) WriteToRequest

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 (*GetConfigurationPropertyForbidden) GetPayload

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

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 (*GetConfigurationPropertyOK) GetPayload

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

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

WithAPIVersion adds the aPIVersion to the get configuration property params

func (*GetConfigurationPropertyParams) WithContext

WithContext adds the context to the get configuration property params

func (*GetConfigurationPropertyParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get configuration property params

func (*GetConfigurationPropertyParams) WithID

WithID adds the id to the get configuration property params

func (*GetConfigurationPropertyParams) WithTimeout

WithTimeout adds the timeout to the get configuration property params

func (*GetConfigurationPropertyParams) WriteToRequest

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 (*PatchConfigurationPropertyForbidden) GetPayload

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

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

IsSuccess returns true when this patch configuration property forbidden response has a 2xx status code

func (*PatchConfigurationPropertyForbidden) String added in v0.5.0

type PatchConfigurationPropertyNotFound

type PatchConfigurationPropertyNotFound struct {
	Payload *models.Error
}

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 (*PatchConfigurationPropertyNotFound) GetPayload

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

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

IsSuccess returns true when this patch configuration property not found response has a 2xx status code

func (*PatchConfigurationPropertyNotFound) String added in v0.5.0

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 (*PatchConfigurationPropertyOK) GetPayload

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

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

SetBody adds the body to the patch configuration property params

func (*PatchConfigurationPropertyParams) SetContext

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

WithAPIVersion adds the aPIVersion to the patch configuration property params

func (*PatchConfigurationPropertyParams) WithBody

WithBody adds the body to the patch configuration property params

func (*PatchConfigurationPropertyParams) WithContext

WithContext adds the context to the patch configuration property params

func (*PatchConfigurationPropertyParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the patch configuration property params

func (*PatchConfigurationPropertyParams) WithTimeout

WithTimeout adds the timeout to the patch configuration property params

func (*PatchConfigurationPropertyParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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