custom_naming

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 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 custom naming API

func (*Client) CreateCustomName

func (a *Client) CreateCustomName(params *CreateCustomNameParams, opts ...ClientOption) (*CreateCustomNameCreated, error)

CreateCustomName creates custom name

Create Custom Name

func (*Client) DeleteCustomname

func (a *Client) DeleteCustomname(params *DeleteCustomnameParams, opts ...ClientOption) (*DeleteCustomnameNoContent, error)

DeleteCustomname deletes custom name

Delete custom name with a given id

func (*Client) GetCustomName

func (a *Client) GetCustomName(params *GetCustomNameParams, opts ...ClientOption) (*GetCustomNameOK, error)

GetCustomName gets custom name by Id

Get Custom Name by Id

func (*Client) GetCustomNameByProjectID

func (a *Client) GetCustomNameByProjectID(params *GetCustomNameByProjectIDParams, opts ...ClientOption) (*GetCustomNameByProjectIDOK, error)

GetCustomNameByProjectID gets custom names for project Id

Get Custom Names For Project Id

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateCustomName

UpdateCustomName updates custom name

Update custom name

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateCustomName(params *CreateCustomNameParams, opts ...ClientOption) (*CreateCustomNameCreated, error)

	DeleteCustomname(params *DeleteCustomnameParams, opts ...ClientOption) (*DeleteCustomnameNoContent, error)

	GetCustomName(params *GetCustomNameParams, opts ...ClientOption) (*GetCustomNameOK, error)

	GetCustomNameByProjectID(params *GetCustomNameByProjectIDParams, opts ...ClientOption) (*GetCustomNameByProjectIDOK, error)

	UpdateCustomName(params *UpdateCustomNameParams, opts ...ClientOption) (*UpdateCustomNameOK, *UpdateCustomNameNoContent, 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 custom naming API client.

type CreateCustomNameBadRequest

type CreateCustomNameBadRequest struct {
	Payload *models.Error
}

CreateCustomNameBadRequest describes a response with status code 400, with default header values.

Invalid Request - bad data

func NewCreateCustomNameBadRequest

func NewCreateCustomNameBadRequest() *CreateCustomNameBadRequest

NewCreateCustomNameBadRequest creates a CreateCustomNameBadRequest with default headers values

func (*CreateCustomNameBadRequest) Error

func (*CreateCustomNameBadRequest) GetPayload

func (o *CreateCustomNameBadRequest) GetPayload() *models.Error

func (*CreateCustomNameBadRequest) IsClientError added in v0.5.0

func (o *CreateCustomNameBadRequest) IsClientError() bool

IsClientError returns true when this create custom name bad request response has a 4xx status code

func (*CreateCustomNameBadRequest) IsCode added in v0.5.0

func (o *CreateCustomNameBadRequest) IsCode(code int) bool

IsCode returns true when this create custom name bad request response a status code equal to that given

func (*CreateCustomNameBadRequest) IsRedirect added in v0.5.0

func (o *CreateCustomNameBadRequest) IsRedirect() bool

IsRedirect returns true when this create custom name bad request response has a 3xx status code

func (*CreateCustomNameBadRequest) IsServerError added in v0.5.0

func (o *CreateCustomNameBadRequest) IsServerError() bool

IsServerError returns true when this create custom name bad request response has a 5xx status code

func (*CreateCustomNameBadRequest) IsSuccess added in v0.5.0

func (o *CreateCustomNameBadRequest) IsSuccess() bool

IsSuccess returns true when this create custom name bad request response has a 2xx status code

func (*CreateCustomNameBadRequest) String added in v0.5.0

func (o *CreateCustomNameBadRequest) String() string

type CreateCustomNameCreated

type CreateCustomNameCreated struct {
	Payload *models.CustomNaming
}

CreateCustomNameCreated describes a response with status code 201, with default header values.

successful operation

func NewCreateCustomNameCreated

func NewCreateCustomNameCreated() *CreateCustomNameCreated

NewCreateCustomNameCreated creates a CreateCustomNameCreated with default headers values

func (*CreateCustomNameCreated) Error

func (o *CreateCustomNameCreated) Error() string

func (*CreateCustomNameCreated) GetPayload

func (o *CreateCustomNameCreated) GetPayload() *models.CustomNaming

func (*CreateCustomNameCreated) IsClientError added in v0.5.0

func (o *CreateCustomNameCreated) IsClientError() bool

IsClientError returns true when this create custom name created response has a 4xx status code

func (*CreateCustomNameCreated) IsCode added in v0.5.0

func (o *CreateCustomNameCreated) IsCode(code int) bool

IsCode returns true when this create custom name created response a status code equal to that given

func (*CreateCustomNameCreated) IsRedirect added in v0.5.0

func (o *CreateCustomNameCreated) IsRedirect() bool

IsRedirect returns true when this create custom name created response has a 3xx status code

func (*CreateCustomNameCreated) IsServerError added in v0.5.0

func (o *CreateCustomNameCreated) IsServerError() bool

IsServerError returns true when this create custom name created response has a 5xx status code

func (*CreateCustomNameCreated) IsSuccess added in v0.5.0

func (o *CreateCustomNameCreated) IsSuccess() bool

IsSuccess returns true when this create custom name created response has a 2xx status code

func (*CreateCustomNameCreated) String added in v0.5.0

func (o *CreateCustomNameCreated) String() string

type CreateCustomNameForbidden

type CreateCustomNameForbidden struct {
	Payload *models.ServiceErrorResponse
}

CreateCustomNameForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateCustomNameForbidden

func NewCreateCustomNameForbidden() *CreateCustomNameForbidden

NewCreateCustomNameForbidden creates a CreateCustomNameForbidden with default headers values

func (*CreateCustomNameForbidden) Error

func (o *CreateCustomNameForbidden) Error() string

func (*CreateCustomNameForbidden) GetPayload

func (*CreateCustomNameForbidden) IsClientError added in v0.5.0

func (o *CreateCustomNameForbidden) IsClientError() bool

IsClientError returns true when this create custom name forbidden response has a 4xx status code

func (*CreateCustomNameForbidden) IsCode added in v0.5.0

func (o *CreateCustomNameForbidden) IsCode(code int) bool

IsCode returns true when this create custom name forbidden response a status code equal to that given

func (*CreateCustomNameForbidden) IsRedirect added in v0.5.0

func (o *CreateCustomNameForbidden) IsRedirect() bool

IsRedirect returns true when this create custom name forbidden response has a 3xx status code

func (*CreateCustomNameForbidden) IsServerError added in v0.5.0

func (o *CreateCustomNameForbidden) IsServerError() bool

IsServerError returns true when this create custom name forbidden response has a 5xx status code

func (*CreateCustomNameForbidden) IsSuccess added in v0.5.0

func (o *CreateCustomNameForbidden) IsSuccess() bool

IsSuccess returns true when this create custom name forbidden response has a 2xx status code

func (*CreateCustomNameForbidden) String added in v0.5.0

func (o *CreateCustomNameForbidden) String() string

type CreateCustomNameNotFound

type CreateCustomNameNotFound struct {
	Payload *models.Error
}

CreateCustomNameNotFound describes a response with status code 404, with default header values.

Not Found

func NewCreateCustomNameNotFound

func NewCreateCustomNameNotFound() *CreateCustomNameNotFound

NewCreateCustomNameNotFound creates a CreateCustomNameNotFound with default headers values

func (*CreateCustomNameNotFound) Error

func (o *CreateCustomNameNotFound) Error() string

func (*CreateCustomNameNotFound) GetPayload

func (o *CreateCustomNameNotFound) GetPayload() *models.Error

func (*CreateCustomNameNotFound) IsClientError added in v0.5.0

func (o *CreateCustomNameNotFound) IsClientError() bool

IsClientError returns true when this create custom name not found response has a 4xx status code

func (*CreateCustomNameNotFound) IsCode added in v0.5.0

func (o *CreateCustomNameNotFound) IsCode(code int) bool

IsCode returns true when this create custom name not found response a status code equal to that given

func (*CreateCustomNameNotFound) IsRedirect added in v0.5.0

func (o *CreateCustomNameNotFound) IsRedirect() bool

IsRedirect returns true when this create custom name not found response has a 3xx status code

func (*CreateCustomNameNotFound) IsServerError added in v0.5.0

func (o *CreateCustomNameNotFound) IsServerError() bool

IsServerError returns true when this create custom name not found response has a 5xx status code

func (*CreateCustomNameNotFound) IsSuccess added in v0.5.0

func (o *CreateCustomNameNotFound) IsSuccess() bool

IsSuccess returns true when this create custom name not found response has a 2xx status code

func (*CreateCustomNameNotFound) String added in v0.5.0

func (o *CreateCustomNameNotFound) String() string

type CreateCustomNameParams

type CreateCustomNameParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion string

	/* Body.

	   Custom naming instance
	*/
	Body *models.CustomNamingModel

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

CreateCustomNameParams contains all the parameters to send to the API endpoint

for the create custom name operation.

Typically these are written to a http.Request.

func NewCreateCustomNameParams

func NewCreateCustomNameParams() *CreateCustomNameParams

NewCreateCustomNameParams creates a new CreateCustomNameParams 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 NewCreateCustomNameParamsWithContext

func NewCreateCustomNameParamsWithContext(ctx context.Context) *CreateCustomNameParams

NewCreateCustomNameParamsWithContext creates a new CreateCustomNameParams object with the ability to set a context for a request.

func NewCreateCustomNameParamsWithHTTPClient

func NewCreateCustomNameParamsWithHTTPClient(client *http.Client) *CreateCustomNameParams

NewCreateCustomNameParamsWithHTTPClient creates a new CreateCustomNameParams object with the ability to set a custom HTTPClient for a request.

func NewCreateCustomNameParamsWithTimeout

func NewCreateCustomNameParamsWithTimeout(timeout time.Duration) *CreateCustomNameParams

NewCreateCustomNameParamsWithTimeout creates a new CreateCustomNameParams object with the ability to set a timeout on a request.

func (*CreateCustomNameParams) SetAPIVersion

func (o *CreateCustomNameParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the create custom name params

func (*CreateCustomNameParams) SetBody

SetBody adds the body to the create custom name params

func (*CreateCustomNameParams) SetContext

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

SetContext adds the context to the create custom name params

func (*CreateCustomNameParams) SetDefaults

func (o *CreateCustomNameParams) SetDefaults()

SetDefaults hydrates default values in the create custom name params (not the query body).

All values with no default are reset to their zero value.

func (*CreateCustomNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create custom name params

func (*CreateCustomNameParams) SetTimeout

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

SetTimeout adds the timeout to the create custom name params

func (*CreateCustomNameParams) WithAPIVersion

func (o *CreateCustomNameParams) WithAPIVersion(aPIVersion string) *CreateCustomNameParams

WithAPIVersion adds the aPIVersion to the create custom name params

func (*CreateCustomNameParams) WithBody

WithBody adds the body to the create custom name params

func (*CreateCustomNameParams) WithContext

WithContext adds the context to the create custom name params

func (*CreateCustomNameParams) WithDefaults

WithDefaults hydrates default values in the create custom name params (not the query body).

All values with no default are reset to their zero value.

func (*CreateCustomNameParams) WithHTTPClient

func (o *CreateCustomNameParams) WithHTTPClient(client *http.Client) *CreateCustomNameParams

WithHTTPClient adds the HTTPClient to the create custom name params

func (*CreateCustomNameParams) WithTimeout

WithTimeout adds the timeout to the create custom name params

func (*CreateCustomNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateCustomNameReader

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

CreateCustomNameReader is a Reader for the CreateCustomName structure.

func (*CreateCustomNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteCustomnameForbidden

type DeleteCustomnameForbidden struct {
	Payload *models.ServiceErrorResponse
}

DeleteCustomnameForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteCustomnameForbidden

func NewDeleteCustomnameForbidden() *DeleteCustomnameForbidden

NewDeleteCustomnameForbidden creates a DeleteCustomnameForbidden with default headers values

func (*DeleteCustomnameForbidden) Error

func (o *DeleteCustomnameForbidden) Error() string

func (*DeleteCustomnameForbidden) GetPayload

func (*DeleteCustomnameForbidden) IsClientError added in v0.5.0

func (o *DeleteCustomnameForbidden) IsClientError() bool

IsClientError returns true when this delete customname forbidden response has a 4xx status code

func (*DeleteCustomnameForbidden) IsCode added in v0.5.0

func (o *DeleteCustomnameForbidden) IsCode(code int) bool

IsCode returns true when this delete customname forbidden response a status code equal to that given

func (*DeleteCustomnameForbidden) IsRedirect added in v0.5.0

func (o *DeleteCustomnameForbidden) IsRedirect() bool

IsRedirect returns true when this delete customname forbidden response has a 3xx status code

func (*DeleteCustomnameForbidden) IsServerError added in v0.5.0

func (o *DeleteCustomnameForbidden) IsServerError() bool

IsServerError returns true when this delete customname forbidden response has a 5xx status code

func (*DeleteCustomnameForbidden) IsSuccess added in v0.5.0

func (o *DeleteCustomnameForbidden) IsSuccess() bool

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

func (*DeleteCustomnameForbidden) String added in v0.5.0

func (o *DeleteCustomnameForbidden) String() string

type DeleteCustomnameNoContent

type DeleteCustomnameNoContent struct {
}

DeleteCustomnameNoContent describes a response with status code 204, with default header values.

No Content

func NewDeleteCustomnameNoContent

func NewDeleteCustomnameNoContent() *DeleteCustomnameNoContent

NewDeleteCustomnameNoContent creates a DeleteCustomnameNoContent with default headers values

func (*DeleteCustomnameNoContent) Error

func (o *DeleteCustomnameNoContent) Error() string

func (*DeleteCustomnameNoContent) IsClientError added in v0.5.0

func (o *DeleteCustomnameNoContent) IsClientError() bool

IsClientError returns true when this delete customname no content response has a 4xx status code

func (*DeleteCustomnameNoContent) IsCode added in v0.5.0

func (o *DeleteCustomnameNoContent) IsCode(code int) bool

IsCode returns true when this delete customname no content response a status code equal to that given

func (*DeleteCustomnameNoContent) IsRedirect added in v0.5.0

func (o *DeleteCustomnameNoContent) IsRedirect() bool

IsRedirect returns true when this delete customname no content response has a 3xx status code

func (*DeleteCustomnameNoContent) IsServerError added in v0.5.0

func (o *DeleteCustomnameNoContent) IsServerError() bool

IsServerError returns true when this delete customname no content response has a 5xx status code

func (*DeleteCustomnameNoContent) IsSuccess added in v0.5.0

func (o *DeleteCustomnameNoContent) IsSuccess() bool

IsSuccess returns true when this delete customname no content response has a 2xx status code

func (*DeleteCustomnameNoContent) String added in v0.5.0

func (o *DeleteCustomnameNoContent) String() string

type DeleteCustomnameNotFound

type DeleteCustomnameNotFound struct {
	Payload *models.Error
}

DeleteCustomnameNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteCustomnameNotFound

func NewDeleteCustomnameNotFound() *DeleteCustomnameNotFound

NewDeleteCustomnameNotFound creates a DeleteCustomnameNotFound with default headers values

func (*DeleteCustomnameNotFound) Error

func (o *DeleteCustomnameNotFound) Error() string

func (*DeleteCustomnameNotFound) GetPayload

func (o *DeleteCustomnameNotFound) GetPayload() *models.Error

func (*DeleteCustomnameNotFound) IsClientError added in v0.5.0

func (o *DeleteCustomnameNotFound) IsClientError() bool

IsClientError returns true when this delete customname not found response has a 4xx status code

func (*DeleteCustomnameNotFound) IsCode added in v0.5.0

func (o *DeleteCustomnameNotFound) IsCode(code int) bool

IsCode returns true when this delete customname not found response a status code equal to that given

func (*DeleteCustomnameNotFound) IsRedirect added in v0.5.0

func (o *DeleteCustomnameNotFound) IsRedirect() bool

IsRedirect returns true when this delete customname not found response has a 3xx status code

func (*DeleteCustomnameNotFound) IsServerError added in v0.5.0

func (o *DeleteCustomnameNotFound) IsServerError() bool

IsServerError returns true when this delete customname not found response has a 5xx status code

func (*DeleteCustomnameNotFound) IsSuccess added in v0.5.0

func (o *DeleteCustomnameNotFound) IsSuccess() bool

IsSuccess returns true when this delete customname not found response has a 2xx status code

func (*DeleteCustomnameNotFound) String added in v0.5.0

func (o *DeleteCustomnameNotFound) String() string

type DeleteCustomnameParams

type DeleteCustomnameParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion string

	/* ID.

	   The ID of the custom name.
	*/
	ID string

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

DeleteCustomnameParams contains all the parameters to send to the API endpoint

for the delete customname operation.

Typically these are written to a http.Request.

func NewDeleteCustomnameParams

func NewDeleteCustomnameParams() *DeleteCustomnameParams

NewDeleteCustomnameParams creates a new DeleteCustomnameParams 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 NewDeleteCustomnameParamsWithContext

func NewDeleteCustomnameParamsWithContext(ctx context.Context) *DeleteCustomnameParams

NewDeleteCustomnameParamsWithContext creates a new DeleteCustomnameParams object with the ability to set a context for a request.

func NewDeleteCustomnameParamsWithHTTPClient

func NewDeleteCustomnameParamsWithHTTPClient(client *http.Client) *DeleteCustomnameParams

NewDeleteCustomnameParamsWithHTTPClient creates a new DeleteCustomnameParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteCustomnameParamsWithTimeout

func NewDeleteCustomnameParamsWithTimeout(timeout time.Duration) *DeleteCustomnameParams

NewDeleteCustomnameParamsWithTimeout creates a new DeleteCustomnameParams object with the ability to set a timeout on a request.

func (*DeleteCustomnameParams) SetAPIVersion

func (o *DeleteCustomnameParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the delete customname params

func (*DeleteCustomnameParams) SetContext

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

SetContext adds the context to the delete customname params

func (*DeleteCustomnameParams) SetDefaults

func (o *DeleteCustomnameParams) SetDefaults()

SetDefaults hydrates default values in the delete customname params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteCustomnameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete customname params

func (*DeleteCustomnameParams) SetID

func (o *DeleteCustomnameParams) SetID(id string)

SetID adds the id to the delete customname params

func (*DeleteCustomnameParams) SetTimeout

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

SetTimeout adds the timeout to the delete customname params

func (*DeleteCustomnameParams) WithAPIVersion

func (o *DeleteCustomnameParams) WithAPIVersion(aPIVersion string) *DeleteCustomnameParams

WithAPIVersion adds the aPIVersion to the delete customname params

func (*DeleteCustomnameParams) WithContext

WithContext adds the context to the delete customname params

func (*DeleteCustomnameParams) WithDefaults

WithDefaults hydrates default values in the delete customname params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteCustomnameParams) WithHTTPClient

func (o *DeleteCustomnameParams) WithHTTPClient(client *http.Client) *DeleteCustomnameParams

WithHTTPClient adds the HTTPClient to the delete customname params

func (*DeleteCustomnameParams) WithID

WithID adds the id to the delete customname params

func (*DeleteCustomnameParams) WithTimeout

WithTimeout adds the timeout to the delete customname params

func (*DeleteCustomnameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCustomnameReader

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

DeleteCustomnameReader is a Reader for the DeleteCustomname structure.

func (*DeleteCustomnameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCustomNameBadRequest

type GetCustomNameBadRequest struct {
	Payload *models.Error
}

GetCustomNameBadRequest describes a response with status code 400, with default header values.

Invalid Request - bad data

func NewGetCustomNameBadRequest

func NewGetCustomNameBadRequest() *GetCustomNameBadRequest

NewGetCustomNameBadRequest creates a GetCustomNameBadRequest with default headers values

func (*GetCustomNameBadRequest) Error

func (o *GetCustomNameBadRequest) Error() string

func (*GetCustomNameBadRequest) GetPayload

func (o *GetCustomNameBadRequest) GetPayload() *models.Error

func (*GetCustomNameBadRequest) IsClientError added in v0.5.0

func (o *GetCustomNameBadRequest) IsClientError() bool

IsClientError returns true when this get custom name bad request response has a 4xx status code

func (*GetCustomNameBadRequest) IsCode added in v0.5.0

func (o *GetCustomNameBadRequest) IsCode(code int) bool

IsCode returns true when this get custom name bad request response a status code equal to that given

func (*GetCustomNameBadRequest) IsRedirect added in v0.5.0

func (o *GetCustomNameBadRequest) IsRedirect() bool

IsRedirect returns true when this get custom name bad request response has a 3xx status code

func (*GetCustomNameBadRequest) IsServerError added in v0.5.0

func (o *GetCustomNameBadRequest) IsServerError() bool

IsServerError returns true when this get custom name bad request response has a 5xx status code

func (*GetCustomNameBadRequest) IsSuccess added in v0.5.0

func (o *GetCustomNameBadRequest) IsSuccess() bool

IsSuccess returns true when this get custom name bad request response has a 2xx status code

func (*GetCustomNameBadRequest) String added in v0.5.0

func (o *GetCustomNameBadRequest) String() string

type GetCustomNameByProjectIDBadRequest

type GetCustomNameByProjectIDBadRequest struct {
	Payload *models.Error
}

GetCustomNameByProjectIDBadRequest describes a response with status code 400, with default header values.

Invalid Request - bad data

func NewGetCustomNameByProjectIDBadRequest

func NewGetCustomNameByProjectIDBadRequest() *GetCustomNameByProjectIDBadRequest

NewGetCustomNameByProjectIDBadRequest creates a GetCustomNameByProjectIDBadRequest with default headers values

func (*GetCustomNameByProjectIDBadRequest) Error

func (*GetCustomNameByProjectIDBadRequest) GetPayload

func (*GetCustomNameByProjectIDBadRequest) IsClientError added in v0.5.0

func (o *GetCustomNameByProjectIDBadRequest) IsClientError() bool

IsClientError returns true when this get custom name by project Id bad request response has a 4xx status code

func (*GetCustomNameByProjectIDBadRequest) IsCode added in v0.5.0

IsCode returns true when this get custom name by project Id bad request response a status code equal to that given

func (*GetCustomNameByProjectIDBadRequest) IsRedirect added in v0.5.0

func (o *GetCustomNameByProjectIDBadRequest) IsRedirect() bool

IsRedirect returns true when this get custom name by project Id bad request response has a 3xx status code

func (*GetCustomNameByProjectIDBadRequest) IsServerError added in v0.5.0

func (o *GetCustomNameByProjectIDBadRequest) IsServerError() bool

IsServerError returns true when this get custom name by project Id bad request response has a 5xx status code

func (*GetCustomNameByProjectIDBadRequest) IsSuccess added in v0.5.0

IsSuccess returns true when this get custom name by project Id bad request response has a 2xx status code

func (*GetCustomNameByProjectIDBadRequest) String added in v0.5.0

type GetCustomNameByProjectIDForbidden

type GetCustomNameByProjectIDForbidden struct {
	Payload *models.ServiceErrorResponse
}

GetCustomNameByProjectIDForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetCustomNameByProjectIDForbidden

func NewGetCustomNameByProjectIDForbidden() *GetCustomNameByProjectIDForbidden

NewGetCustomNameByProjectIDForbidden creates a GetCustomNameByProjectIDForbidden with default headers values

func (*GetCustomNameByProjectIDForbidden) Error

func (*GetCustomNameByProjectIDForbidden) GetPayload

func (*GetCustomNameByProjectIDForbidden) IsClientError added in v0.5.0

func (o *GetCustomNameByProjectIDForbidden) IsClientError() bool

IsClientError returns true when this get custom name by project Id forbidden response has a 4xx status code

func (*GetCustomNameByProjectIDForbidden) IsCode added in v0.5.0

func (o *GetCustomNameByProjectIDForbidden) IsCode(code int) bool

IsCode returns true when this get custom name by project Id forbidden response a status code equal to that given

func (*GetCustomNameByProjectIDForbidden) IsRedirect added in v0.5.0

func (o *GetCustomNameByProjectIDForbidden) IsRedirect() bool

IsRedirect returns true when this get custom name by project Id forbidden response has a 3xx status code

func (*GetCustomNameByProjectIDForbidden) IsServerError added in v0.5.0

func (o *GetCustomNameByProjectIDForbidden) IsServerError() bool

IsServerError returns true when this get custom name by project Id forbidden response has a 5xx status code

func (*GetCustomNameByProjectIDForbidden) IsSuccess added in v0.5.0

func (o *GetCustomNameByProjectIDForbidden) IsSuccess() bool

IsSuccess returns true when this get custom name by project Id forbidden response has a 2xx status code

func (*GetCustomNameByProjectIDForbidden) String added in v0.5.0

type GetCustomNameByProjectIDNotFound

type GetCustomNameByProjectIDNotFound struct {
	Payload *models.Error
}

GetCustomNameByProjectIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetCustomNameByProjectIDNotFound

func NewGetCustomNameByProjectIDNotFound() *GetCustomNameByProjectIDNotFound

NewGetCustomNameByProjectIDNotFound creates a GetCustomNameByProjectIDNotFound with default headers values

func (*GetCustomNameByProjectIDNotFound) Error

func (*GetCustomNameByProjectIDNotFound) GetPayload

func (*GetCustomNameByProjectIDNotFound) IsClientError added in v0.5.0

func (o *GetCustomNameByProjectIDNotFound) IsClientError() bool

IsClientError returns true when this get custom name by project Id not found response has a 4xx status code

func (*GetCustomNameByProjectIDNotFound) IsCode added in v0.5.0

func (o *GetCustomNameByProjectIDNotFound) IsCode(code int) bool

IsCode returns true when this get custom name by project Id not found response a status code equal to that given

func (*GetCustomNameByProjectIDNotFound) IsRedirect added in v0.5.0

func (o *GetCustomNameByProjectIDNotFound) IsRedirect() bool

IsRedirect returns true when this get custom name by project Id not found response has a 3xx status code

func (*GetCustomNameByProjectIDNotFound) IsServerError added in v0.5.0

func (o *GetCustomNameByProjectIDNotFound) IsServerError() bool

IsServerError returns true when this get custom name by project Id not found response has a 5xx status code

func (*GetCustomNameByProjectIDNotFound) IsSuccess added in v0.5.0

func (o *GetCustomNameByProjectIDNotFound) IsSuccess() bool

IsSuccess returns true when this get custom name by project Id not found response has a 2xx status code

func (*GetCustomNameByProjectIDNotFound) String added in v0.5.0

type GetCustomNameByProjectIDOK

type GetCustomNameByProjectIDOK struct {
	Payload *models.CustomNaming
}

GetCustomNameByProjectIDOK describes a response with status code 200, with default header values.

successful operation

func NewGetCustomNameByProjectIDOK

func NewGetCustomNameByProjectIDOK() *GetCustomNameByProjectIDOK

NewGetCustomNameByProjectIDOK creates a GetCustomNameByProjectIDOK with default headers values

func (*GetCustomNameByProjectIDOK) Error

func (*GetCustomNameByProjectIDOK) GetPayload

func (*GetCustomNameByProjectIDOK) IsClientError added in v0.5.0

func (o *GetCustomNameByProjectIDOK) IsClientError() bool

IsClientError returns true when this get custom name by project Id o k response has a 4xx status code

func (*GetCustomNameByProjectIDOK) IsCode added in v0.5.0

func (o *GetCustomNameByProjectIDOK) IsCode(code int) bool

IsCode returns true when this get custom name by project Id o k response a status code equal to that given

func (*GetCustomNameByProjectIDOK) IsRedirect added in v0.5.0

func (o *GetCustomNameByProjectIDOK) IsRedirect() bool

IsRedirect returns true when this get custom name by project Id o k response has a 3xx status code

func (*GetCustomNameByProjectIDOK) IsServerError added in v0.5.0

func (o *GetCustomNameByProjectIDOK) IsServerError() bool

IsServerError returns true when this get custom name by project Id o k response has a 5xx status code

func (*GetCustomNameByProjectIDOK) IsSuccess added in v0.5.0

func (o *GetCustomNameByProjectIDOK) IsSuccess() bool

IsSuccess returns true when this get custom name by project Id o k response has a 2xx status code

func (*GetCustomNameByProjectIDOK) String added in v0.5.0

func (o *GetCustomNameByProjectIDOK) String() string

type GetCustomNameByProjectIDParams

type GetCustomNameByProjectIDParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion string

	/* ID.

	   Project id.
	*/
	ID string

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

GetCustomNameByProjectIDParams contains all the parameters to send to the API endpoint

for the get custom name by project Id operation.

Typically these are written to a http.Request.

func NewGetCustomNameByProjectIDParams

func NewGetCustomNameByProjectIDParams() *GetCustomNameByProjectIDParams

NewGetCustomNameByProjectIDParams creates a new GetCustomNameByProjectIDParams 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 NewGetCustomNameByProjectIDParamsWithContext

func NewGetCustomNameByProjectIDParamsWithContext(ctx context.Context) *GetCustomNameByProjectIDParams

NewGetCustomNameByProjectIDParamsWithContext creates a new GetCustomNameByProjectIDParams object with the ability to set a context for a request.

func NewGetCustomNameByProjectIDParamsWithHTTPClient

func NewGetCustomNameByProjectIDParamsWithHTTPClient(client *http.Client) *GetCustomNameByProjectIDParams

NewGetCustomNameByProjectIDParamsWithHTTPClient creates a new GetCustomNameByProjectIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetCustomNameByProjectIDParamsWithTimeout

func NewGetCustomNameByProjectIDParamsWithTimeout(timeout time.Duration) *GetCustomNameByProjectIDParams

NewGetCustomNameByProjectIDParamsWithTimeout creates a new GetCustomNameByProjectIDParams object with the ability to set a timeout on a request.

func (*GetCustomNameByProjectIDParams) SetAPIVersion

func (o *GetCustomNameByProjectIDParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the get custom name by project Id params

func (*GetCustomNameByProjectIDParams) SetContext

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

SetContext adds the context to the get custom name by project Id params

func (*GetCustomNameByProjectIDParams) SetDefaults

func (o *GetCustomNameByProjectIDParams) SetDefaults()

SetDefaults hydrates default values in the get custom name by project Id params (not the query body).

All values with no default are reset to their zero value.

func (*GetCustomNameByProjectIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get custom name by project Id params

func (*GetCustomNameByProjectIDParams) SetID

SetID adds the id to the get custom name by project Id params

func (*GetCustomNameByProjectIDParams) SetTimeout

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

SetTimeout adds the timeout to the get custom name by project Id params

func (*GetCustomNameByProjectIDParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the get custom name by project Id params

func (*GetCustomNameByProjectIDParams) WithContext

WithContext adds the context to the get custom name by project Id params

func (*GetCustomNameByProjectIDParams) WithDefaults

WithDefaults hydrates default values in the get custom name by project Id params (not the query body).

All values with no default are reset to their zero value.

func (*GetCustomNameByProjectIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get custom name by project Id params

func (*GetCustomNameByProjectIDParams) WithID

WithID adds the id to the get custom name by project Id params

func (*GetCustomNameByProjectIDParams) WithTimeout

WithTimeout adds the timeout to the get custom name by project Id params

func (*GetCustomNameByProjectIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCustomNameByProjectIDReader

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

GetCustomNameByProjectIDReader is a Reader for the GetCustomNameByProjectID structure.

func (*GetCustomNameByProjectIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCustomNameForbidden

type GetCustomNameForbidden struct {
	Payload *models.ServiceErrorResponse
}

GetCustomNameForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetCustomNameForbidden

func NewGetCustomNameForbidden() *GetCustomNameForbidden

NewGetCustomNameForbidden creates a GetCustomNameForbidden with default headers values

func (*GetCustomNameForbidden) Error

func (o *GetCustomNameForbidden) Error() string

func (*GetCustomNameForbidden) GetPayload

func (*GetCustomNameForbidden) IsClientError added in v0.5.0

func (o *GetCustomNameForbidden) IsClientError() bool

IsClientError returns true when this get custom name forbidden response has a 4xx status code

func (*GetCustomNameForbidden) IsCode added in v0.5.0

func (o *GetCustomNameForbidden) IsCode(code int) bool

IsCode returns true when this get custom name forbidden response a status code equal to that given

func (*GetCustomNameForbidden) IsRedirect added in v0.5.0

func (o *GetCustomNameForbidden) IsRedirect() bool

IsRedirect returns true when this get custom name forbidden response has a 3xx status code

func (*GetCustomNameForbidden) IsServerError added in v0.5.0

func (o *GetCustomNameForbidden) IsServerError() bool

IsServerError returns true when this get custom name forbidden response has a 5xx status code

func (*GetCustomNameForbidden) IsSuccess added in v0.5.0

func (o *GetCustomNameForbidden) IsSuccess() bool

IsSuccess returns true when this get custom name forbidden response has a 2xx status code

func (*GetCustomNameForbidden) String added in v0.5.0

func (o *GetCustomNameForbidden) String() string

type GetCustomNameNotFound

type GetCustomNameNotFound struct {
	Payload *models.Error
}

GetCustomNameNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetCustomNameNotFound

func NewGetCustomNameNotFound() *GetCustomNameNotFound

NewGetCustomNameNotFound creates a GetCustomNameNotFound with default headers values

func (*GetCustomNameNotFound) Error

func (o *GetCustomNameNotFound) Error() string

func (*GetCustomNameNotFound) GetPayload

func (o *GetCustomNameNotFound) GetPayload() *models.Error

func (*GetCustomNameNotFound) IsClientError added in v0.5.0

func (o *GetCustomNameNotFound) IsClientError() bool

IsClientError returns true when this get custom name not found response has a 4xx status code

func (*GetCustomNameNotFound) IsCode added in v0.5.0

func (o *GetCustomNameNotFound) IsCode(code int) bool

IsCode returns true when this get custom name not found response a status code equal to that given

func (*GetCustomNameNotFound) IsRedirect added in v0.5.0

func (o *GetCustomNameNotFound) IsRedirect() bool

IsRedirect returns true when this get custom name not found response has a 3xx status code

func (*GetCustomNameNotFound) IsServerError added in v0.5.0

func (o *GetCustomNameNotFound) IsServerError() bool

IsServerError returns true when this get custom name not found response has a 5xx status code

func (*GetCustomNameNotFound) IsSuccess added in v0.5.0

func (o *GetCustomNameNotFound) IsSuccess() bool

IsSuccess returns true when this get custom name not found response has a 2xx status code

func (*GetCustomNameNotFound) String added in v0.5.0

func (o *GetCustomNameNotFound) String() string

type GetCustomNameOK

type GetCustomNameOK struct {
	Payload *models.CustomNaming
}

GetCustomNameOK describes a response with status code 200, with default header values.

successful operation

func NewGetCustomNameOK

func NewGetCustomNameOK() *GetCustomNameOK

NewGetCustomNameOK creates a GetCustomNameOK with default headers values

func (*GetCustomNameOK) Error

func (o *GetCustomNameOK) Error() string

func (*GetCustomNameOK) GetPayload

func (o *GetCustomNameOK) GetPayload() *models.CustomNaming

func (*GetCustomNameOK) IsClientError added in v0.5.0

func (o *GetCustomNameOK) IsClientError() bool

IsClientError returns true when this get custom name o k response has a 4xx status code

func (*GetCustomNameOK) IsCode added in v0.5.0

func (o *GetCustomNameOK) IsCode(code int) bool

IsCode returns true when this get custom name o k response a status code equal to that given

func (*GetCustomNameOK) IsRedirect added in v0.5.0

func (o *GetCustomNameOK) IsRedirect() bool

IsRedirect returns true when this get custom name o k response has a 3xx status code

func (*GetCustomNameOK) IsServerError added in v0.5.0

func (o *GetCustomNameOK) IsServerError() bool

IsServerError returns true when this get custom name o k response has a 5xx status code

func (*GetCustomNameOK) IsSuccess added in v0.5.0

func (o *GetCustomNameOK) IsSuccess() bool

IsSuccess returns true when this get custom name o k response has a 2xx status code

func (*GetCustomNameOK) String added in v0.5.0

func (o *GetCustomNameOK) String() string

type GetCustomNameParams

type GetCustomNameParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion string

	/* ID.

	   The ID of the custom name.
	*/
	ID string

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

GetCustomNameParams contains all the parameters to send to the API endpoint

for the get custom name operation.

Typically these are written to a http.Request.

func NewGetCustomNameParams

func NewGetCustomNameParams() *GetCustomNameParams

NewGetCustomNameParams creates a new GetCustomNameParams 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 NewGetCustomNameParamsWithContext

func NewGetCustomNameParamsWithContext(ctx context.Context) *GetCustomNameParams

NewGetCustomNameParamsWithContext creates a new GetCustomNameParams object with the ability to set a context for a request.

func NewGetCustomNameParamsWithHTTPClient

func NewGetCustomNameParamsWithHTTPClient(client *http.Client) *GetCustomNameParams

NewGetCustomNameParamsWithHTTPClient creates a new GetCustomNameParams object with the ability to set a custom HTTPClient for a request.

func NewGetCustomNameParamsWithTimeout

func NewGetCustomNameParamsWithTimeout(timeout time.Duration) *GetCustomNameParams

NewGetCustomNameParamsWithTimeout creates a new GetCustomNameParams object with the ability to set a timeout on a request.

func (*GetCustomNameParams) SetAPIVersion

func (o *GetCustomNameParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the get custom name params

func (*GetCustomNameParams) SetContext

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

SetContext adds the context to the get custom name params

func (*GetCustomNameParams) SetDefaults

func (o *GetCustomNameParams) SetDefaults()

SetDefaults hydrates default values in the get custom name params (not the query body).

All values with no default are reset to their zero value.

func (*GetCustomNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get custom name params

func (*GetCustomNameParams) SetID

func (o *GetCustomNameParams) SetID(id string)

SetID adds the id to the get custom name params

func (*GetCustomNameParams) SetTimeout

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

SetTimeout adds the timeout to the get custom name params

func (*GetCustomNameParams) WithAPIVersion

func (o *GetCustomNameParams) WithAPIVersion(aPIVersion string) *GetCustomNameParams

WithAPIVersion adds the aPIVersion to the get custom name params

func (*GetCustomNameParams) WithContext

WithContext adds the context to the get custom name params

func (*GetCustomNameParams) WithDefaults

func (o *GetCustomNameParams) WithDefaults() *GetCustomNameParams

WithDefaults hydrates default values in the get custom name params (not the query body).

All values with no default are reset to their zero value.

func (*GetCustomNameParams) WithHTTPClient

func (o *GetCustomNameParams) WithHTTPClient(client *http.Client) *GetCustomNameParams

WithHTTPClient adds the HTTPClient to the get custom name params

func (*GetCustomNameParams) WithID

WithID adds the id to the get custom name params

func (*GetCustomNameParams) WithTimeout

func (o *GetCustomNameParams) WithTimeout(timeout time.Duration) *GetCustomNameParams

WithTimeout adds the timeout to the get custom name params

func (*GetCustomNameParams) WriteToRequest

func (o *GetCustomNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetCustomNameReader

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

GetCustomNameReader is a Reader for the GetCustomName structure.

func (*GetCustomNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCustomNameBadRequest

type UpdateCustomNameBadRequest struct {
	Payload *models.Error
}

UpdateCustomNameBadRequest describes a response with status code 400, with default header values.

Invalid Request - bad data

func NewUpdateCustomNameBadRequest

func NewUpdateCustomNameBadRequest() *UpdateCustomNameBadRequest

NewUpdateCustomNameBadRequest creates a UpdateCustomNameBadRequest with default headers values

func (*UpdateCustomNameBadRequest) Error

func (*UpdateCustomNameBadRequest) GetPayload

func (o *UpdateCustomNameBadRequest) GetPayload() *models.Error

func (*UpdateCustomNameBadRequest) IsClientError added in v0.5.0

func (o *UpdateCustomNameBadRequest) IsClientError() bool

IsClientError returns true when this update custom name bad request response has a 4xx status code

func (*UpdateCustomNameBadRequest) IsCode added in v0.5.0

func (o *UpdateCustomNameBadRequest) IsCode(code int) bool

IsCode returns true when this update custom name bad request response a status code equal to that given

func (*UpdateCustomNameBadRequest) IsRedirect added in v0.5.0

func (o *UpdateCustomNameBadRequest) IsRedirect() bool

IsRedirect returns true when this update custom name bad request response has a 3xx status code

func (*UpdateCustomNameBadRequest) IsServerError added in v0.5.0

func (o *UpdateCustomNameBadRequest) IsServerError() bool

IsServerError returns true when this update custom name bad request response has a 5xx status code

func (*UpdateCustomNameBadRequest) IsSuccess added in v0.5.0

func (o *UpdateCustomNameBadRequest) IsSuccess() bool

IsSuccess returns true when this update custom name bad request response has a 2xx status code

func (*UpdateCustomNameBadRequest) String added in v0.5.0

func (o *UpdateCustomNameBadRequest) String() string

type UpdateCustomNameForbidden

type UpdateCustomNameForbidden struct {
	Payload *models.ServiceErrorResponse
}

UpdateCustomNameForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateCustomNameForbidden

func NewUpdateCustomNameForbidden() *UpdateCustomNameForbidden

NewUpdateCustomNameForbidden creates a UpdateCustomNameForbidden with default headers values

func (*UpdateCustomNameForbidden) Error

func (o *UpdateCustomNameForbidden) Error() string

func (*UpdateCustomNameForbidden) GetPayload

func (*UpdateCustomNameForbidden) IsClientError added in v0.5.0

func (o *UpdateCustomNameForbidden) IsClientError() bool

IsClientError returns true when this update custom name forbidden response has a 4xx status code

func (*UpdateCustomNameForbidden) IsCode added in v0.5.0

func (o *UpdateCustomNameForbidden) IsCode(code int) bool

IsCode returns true when this update custom name forbidden response a status code equal to that given

func (*UpdateCustomNameForbidden) IsRedirect added in v0.5.0

func (o *UpdateCustomNameForbidden) IsRedirect() bool

IsRedirect returns true when this update custom name forbidden response has a 3xx status code

func (*UpdateCustomNameForbidden) IsServerError added in v0.5.0

func (o *UpdateCustomNameForbidden) IsServerError() bool

IsServerError returns true when this update custom name forbidden response has a 5xx status code

func (*UpdateCustomNameForbidden) IsSuccess added in v0.5.0

func (o *UpdateCustomNameForbidden) IsSuccess() bool

IsSuccess returns true when this update custom name forbidden response has a 2xx status code

func (*UpdateCustomNameForbidden) String added in v0.5.0

func (o *UpdateCustomNameForbidden) String() string

type UpdateCustomNameNoContent

type UpdateCustomNameNoContent struct {
}

UpdateCustomNameNoContent describes a response with status code 204, with default header values.

No Content

func NewUpdateCustomNameNoContent

func NewUpdateCustomNameNoContent() *UpdateCustomNameNoContent

NewUpdateCustomNameNoContent creates a UpdateCustomNameNoContent with default headers values

func (*UpdateCustomNameNoContent) Error

func (o *UpdateCustomNameNoContent) Error() string

func (*UpdateCustomNameNoContent) IsClientError added in v0.5.0

func (o *UpdateCustomNameNoContent) IsClientError() bool

IsClientError returns true when this update custom name no content response has a 4xx status code

func (*UpdateCustomNameNoContent) IsCode added in v0.5.0

func (o *UpdateCustomNameNoContent) IsCode(code int) bool

IsCode returns true when this update custom name no content response a status code equal to that given

func (*UpdateCustomNameNoContent) IsRedirect added in v0.5.0

func (o *UpdateCustomNameNoContent) IsRedirect() bool

IsRedirect returns true when this update custom name no content response has a 3xx status code

func (*UpdateCustomNameNoContent) IsServerError added in v0.5.0

func (o *UpdateCustomNameNoContent) IsServerError() bool

IsServerError returns true when this update custom name no content response has a 5xx status code

func (*UpdateCustomNameNoContent) IsSuccess added in v0.5.0

func (o *UpdateCustomNameNoContent) IsSuccess() bool

IsSuccess returns true when this update custom name no content response has a 2xx status code

func (*UpdateCustomNameNoContent) String added in v0.5.0

func (o *UpdateCustomNameNoContent) String() string

type UpdateCustomNameNotFound

type UpdateCustomNameNotFound struct {
	Payload *models.Error
}

UpdateCustomNameNotFound describes a response with status code 404, with default header values.

Not Found

func NewUpdateCustomNameNotFound

func NewUpdateCustomNameNotFound() *UpdateCustomNameNotFound

NewUpdateCustomNameNotFound creates a UpdateCustomNameNotFound with default headers values

func (*UpdateCustomNameNotFound) Error

func (o *UpdateCustomNameNotFound) Error() string

func (*UpdateCustomNameNotFound) GetPayload

func (o *UpdateCustomNameNotFound) GetPayload() *models.Error

func (*UpdateCustomNameNotFound) IsClientError added in v0.5.0

func (o *UpdateCustomNameNotFound) IsClientError() bool

IsClientError returns true when this update custom name not found response has a 4xx status code

func (*UpdateCustomNameNotFound) IsCode added in v0.5.0

func (o *UpdateCustomNameNotFound) IsCode(code int) bool

IsCode returns true when this update custom name not found response a status code equal to that given

func (*UpdateCustomNameNotFound) IsRedirect added in v0.5.0

func (o *UpdateCustomNameNotFound) IsRedirect() bool

IsRedirect returns true when this update custom name not found response has a 3xx status code

func (*UpdateCustomNameNotFound) IsServerError added in v0.5.0

func (o *UpdateCustomNameNotFound) IsServerError() bool

IsServerError returns true when this update custom name not found response has a 5xx status code

func (*UpdateCustomNameNotFound) IsSuccess added in v0.5.0

func (o *UpdateCustomNameNotFound) IsSuccess() bool

IsSuccess returns true when this update custom name not found response has a 2xx status code

func (*UpdateCustomNameNotFound) String added in v0.5.0

func (o *UpdateCustomNameNotFound) String() string

type UpdateCustomNameOK added in v0.5.0

type UpdateCustomNameOK struct {
	Payload *models.CustomNaming
}

UpdateCustomNameOK describes a response with status code 200, with default header values.

successful operation

func NewUpdateCustomNameOK added in v0.5.0

func NewUpdateCustomNameOK() *UpdateCustomNameOK

NewUpdateCustomNameOK creates a UpdateCustomNameOK with default headers values

func (*UpdateCustomNameOK) Error added in v0.5.0

func (o *UpdateCustomNameOK) Error() string

func (*UpdateCustomNameOK) GetPayload added in v0.5.0

func (o *UpdateCustomNameOK) GetPayload() *models.CustomNaming

func (*UpdateCustomNameOK) IsClientError added in v0.5.0

func (o *UpdateCustomNameOK) IsClientError() bool

IsClientError returns true when this update custom name o k response has a 4xx status code

func (*UpdateCustomNameOK) IsCode added in v0.5.0

func (o *UpdateCustomNameOK) IsCode(code int) bool

IsCode returns true when this update custom name o k response a status code equal to that given

func (*UpdateCustomNameOK) IsRedirect added in v0.5.0

func (o *UpdateCustomNameOK) IsRedirect() bool

IsRedirect returns true when this update custom name o k response has a 3xx status code

func (*UpdateCustomNameOK) IsServerError added in v0.5.0

func (o *UpdateCustomNameOK) IsServerError() bool

IsServerError returns true when this update custom name o k response has a 5xx status code

func (*UpdateCustomNameOK) IsSuccess added in v0.5.0

func (o *UpdateCustomNameOK) IsSuccess() bool

IsSuccess returns true when this update custom name o k response has a 2xx status code

func (*UpdateCustomNameOK) String added in v0.5.0

func (o *UpdateCustomNameOK) String() string

type UpdateCustomNameParams

type UpdateCustomNameParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion string

	/* Body.

	   Custom Name specification
	*/
	Body *models.CustomNamingModel

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

UpdateCustomNameParams contains all the parameters to send to the API endpoint

for the update custom name operation.

Typically these are written to a http.Request.

func NewUpdateCustomNameParams

func NewUpdateCustomNameParams() *UpdateCustomNameParams

NewUpdateCustomNameParams creates a new UpdateCustomNameParams 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 NewUpdateCustomNameParamsWithContext

func NewUpdateCustomNameParamsWithContext(ctx context.Context) *UpdateCustomNameParams

NewUpdateCustomNameParamsWithContext creates a new UpdateCustomNameParams object with the ability to set a context for a request.

func NewUpdateCustomNameParamsWithHTTPClient

func NewUpdateCustomNameParamsWithHTTPClient(client *http.Client) *UpdateCustomNameParams

NewUpdateCustomNameParamsWithHTTPClient creates a new UpdateCustomNameParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateCustomNameParamsWithTimeout

func NewUpdateCustomNameParamsWithTimeout(timeout time.Duration) *UpdateCustomNameParams

NewUpdateCustomNameParamsWithTimeout creates a new UpdateCustomNameParams object with the ability to set a timeout on a request.

func (*UpdateCustomNameParams) SetAPIVersion

func (o *UpdateCustomNameParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the update custom name params

func (*UpdateCustomNameParams) SetBody

SetBody adds the body to the update custom name params

func (*UpdateCustomNameParams) SetContext

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

SetContext adds the context to the update custom name params

func (*UpdateCustomNameParams) SetDefaults

func (o *UpdateCustomNameParams) SetDefaults()

SetDefaults hydrates default values in the update custom name params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateCustomNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update custom name params

func (*UpdateCustomNameParams) SetTimeout

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

SetTimeout adds the timeout to the update custom name params

func (*UpdateCustomNameParams) WithAPIVersion

func (o *UpdateCustomNameParams) WithAPIVersion(aPIVersion string) *UpdateCustomNameParams

WithAPIVersion adds the aPIVersion to the update custom name params

func (*UpdateCustomNameParams) WithBody

WithBody adds the body to the update custom name params

func (*UpdateCustomNameParams) WithContext

WithContext adds the context to the update custom name params

func (*UpdateCustomNameParams) WithDefaults

WithDefaults hydrates default values in the update custom name params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateCustomNameParams) WithHTTPClient

func (o *UpdateCustomNameParams) WithHTTPClient(client *http.Client) *UpdateCustomNameParams

WithHTTPClient adds the HTTPClient to the update custom name params

func (*UpdateCustomNameParams) WithTimeout

WithTimeout adds the timeout to the update custom name params

func (*UpdateCustomNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateCustomNameReader

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

UpdateCustomNameReader is a Reader for the UpdateCustomName structure.

func (*UpdateCustomNameReader) ReadResponse

func (o *UpdateCustomNameReader) 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