personalities

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: BSD-2-Clause Imports: 11 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 personalities API

func (*Client) DeletePersonality

func (a *Client) DeletePersonality(params *DeletePersonalityParams, opts ...ClientOption) (*DeletePersonalityOK, error)

DeletePersonality deletes the personality based on either name or id

Delete the personality based on either name or id

func (*Client) GetPersonalities added in v0.1.1

func (a *Client) GetPersonalities(params *GetPersonalitiesParams, opts ...ClientOption) (*GetPersonalitiesOK, error)

GetPersonalities gets the personalities

Get the Personalities which are available via depot access.

func (*Client) GetPersonality added in v0.1.1

func (a *Client) GetPersonality(params *GetPersonalityParams, opts ...ClientOption) (*GetPersonalityOK, error)

GetPersonality gets a personality by its id

Get the Personality for id

func (*Client) RenamePersonalityByID added in v0.3.0

func (a *Client) RenamePersonalityByID(params *RenamePersonalityByIDParams, opts ...ClientOption) (*RenamePersonalityByIDOK, error)

RenamePersonalityByID renames personality based on ID

Rename personality with the ID passed in the URL

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UploadPersonality

UploadPersonality uploads a personality

Upload Personality to SDDC Manager.

func (*Client) UploadPersonalityFiles added in v0.3.0

func (a *Client) UploadPersonalityFiles(params *UploadPersonalityFilesParams, opts ...ClientOption) (*UploadPersonalityFilesOK, error)

UploadPersonalityFiles uploads personality files to SDDC manager

Upload personality files to SDDC Manager

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeletePersonality(params *DeletePersonalityParams, opts ...ClientOption) (*DeletePersonalityOK, error)

	GetPersonalities(params *GetPersonalitiesParams, opts ...ClientOption) (*GetPersonalitiesOK, error)

	GetPersonality(params *GetPersonalityParams, opts ...ClientOption) (*GetPersonalityOK, error)

	RenamePersonalityByID(params *RenamePersonalityByIDParams, opts ...ClientOption) (*RenamePersonalityByIDOK, error)

	UploadPersonality(params *UploadPersonalityParams, opts ...ClientOption) (*UploadPersonalityOK, *UploadPersonalityAccepted, error)

	UploadPersonalityFiles(params *UploadPersonalityFilesParams, opts ...ClientOption) (*UploadPersonalityFilesOK, 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 personalities API client.

type DeletePersonalityInternalServerError

type DeletePersonalityInternalServerError struct {
	Payload *models.Error
}

DeletePersonalityInternalServerError describes a response with status code 500, with default header values.

Unexpected error

func NewDeletePersonalityInternalServerError

func NewDeletePersonalityInternalServerError() *DeletePersonalityInternalServerError

NewDeletePersonalityInternalServerError creates a DeletePersonalityInternalServerError with default headers values

func (*DeletePersonalityInternalServerError) Code added in v0.3.0

Code gets the status code for the delete personality internal server error response

func (*DeletePersonalityInternalServerError) Error

func (*DeletePersonalityInternalServerError) GetPayload

func (*DeletePersonalityInternalServerError) IsClientError

func (o *DeletePersonalityInternalServerError) IsClientError() bool

IsClientError returns true when this delete personality internal server error response has a 4xx status code

func (*DeletePersonalityInternalServerError) IsCode

IsCode returns true when this delete personality internal server error response a status code equal to that given

func (*DeletePersonalityInternalServerError) IsRedirect

IsRedirect returns true when this delete personality internal server error response has a 3xx status code

func (*DeletePersonalityInternalServerError) IsServerError

func (o *DeletePersonalityInternalServerError) IsServerError() bool

IsServerError returns true when this delete personality internal server error response has a 5xx status code

func (*DeletePersonalityInternalServerError) IsSuccess

IsSuccess returns true when this delete personality internal server error response has a 2xx status code

func (*DeletePersonalityInternalServerError) String

type DeletePersonalityNotFound

type DeletePersonalityNotFound struct {
	Payload *models.Error
}

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

Personality by name or id not found

func NewDeletePersonalityNotFound

func NewDeletePersonalityNotFound() *DeletePersonalityNotFound

NewDeletePersonalityNotFound creates a DeletePersonalityNotFound with default headers values

func (*DeletePersonalityNotFound) Code added in v0.3.0

func (o *DeletePersonalityNotFound) Code() int

Code gets the status code for the delete personality not found response

func (*DeletePersonalityNotFound) Error

func (o *DeletePersonalityNotFound) Error() string

func (*DeletePersonalityNotFound) GetPayload

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

func (*DeletePersonalityNotFound) IsClientError

func (o *DeletePersonalityNotFound) IsClientError() bool

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

func (*DeletePersonalityNotFound) IsCode

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

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

func (*DeletePersonalityNotFound) IsRedirect

func (o *DeletePersonalityNotFound) IsRedirect() bool

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

func (*DeletePersonalityNotFound) IsServerError

func (o *DeletePersonalityNotFound) IsServerError() bool

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

func (*DeletePersonalityNotFound) IsSuccess

func (o *DeletePersonalityNotFound) IsSuccess() bool

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

func (*DeletePersonalityNotFound) String

func (o *DeletePersonalityNotFound) String() string

type DeletePersonalityOK

type DeletePersonalityOK struct {
}

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

OK

func NewDeletePersonalityOK

func NewDeletePersonalityOK() *DeletePersonalityOK

NewDeletePersonalityOK creates a DeletePersonalityOK with default headers values

func (*DeletePersonalityOK) Code added in v0.3.0

func (o *DeletePersonalityOK) Code() int

Code gets the status code for the delete personality o k response

func (*DeletePersonalityOK) Error

func (o *DeletePersonalityOK) Error() string

func (*DeletePersonalityOK) IsClientError

func (o *DeletePersonalityOK) IsClientError() bool

IsClientError returns true when this delete personality o k response has a 4xx status code

func (*DeletePersonalityOK) IsCode

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

IsCode returns true when this delete personality o k response a status code equal to that given

func (*DeletePersonalityOK) IsRedirect

func (o *DeletePersonalityOK) IsRedirect() bool

IsRedirect returns true when this delete personality o k response has a 3xx status code

func (*DeletePersonalityOK) IsServerError

func (o *DeletePersonalityOK) IsServerError() bool

IsServerError returns true when this delete personality o k response has a 5xx status code

func (*DeletePersonalityOK) IsSuccess

func (o *DeletePersonalityOK) IsSuccess() bool

IsSuccess returns true when this delete personality o k response has a 2xx status code

func (*DeletePersonalityOK) String

func (o *DeletePersonalityOK) String() string

type DeletePersonalityParams

type DeletePersonalityParams struct {

	/* PersonalityID.

	   The personality id
	*/
	PersonalityID *string

	/* PersonalityName.

	   The personality name
	*/
	PersonalityName *string

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

DeletePersonalityParams contains all the parameters to send to the API endpoint

for the delete personality operation.

Typically these are written to a http.Request.

func NewDeletePersonalityParams

func NewDeletePersonalityParams() *DeletePersonalityParams

NewDeletePersonalityParams creates a new DeletePersonalityParams 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 NewDeletePersonalityParamsWithContext

func NewDeletePersonalityParamsWithContext(ctx context.Context) *DeletePersonalityParams

NewDeletePersonalityParamsWithContext creates a new DeletePersonalityParams object with the ability to set a context for a request.

func NewDeletePersonalityParamsWithHTTPClient

func NewDeletePersonalityParamsWithHTTPClient(client *http.Client) *DeletePersonalityParams

NewDeletePersonalityParamsWithHTTPClient creates a new DeletePersonalityParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePersonalityParamsWithTimeout

func NewDeletePersonalityParamsWithTimeout(timeout time.Duration) *DeletePersonalityParams

NewDeletePersonalityParamsWithTimeout creates a new DeletePersonalityParams object with the ability to set a timeout on a request.

func (*DeletePersonalityParams) SetContext

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

SetContext adds the context to the delete personality params

func (*DeletePersonalityParams) SetDefaults

func (o *DeletePersonalityParams) SetDefaults()

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

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

func (*DeletePersonalityParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete personality params

func (*DeletePersonalityParams) SetPersonalityID

func (o *DeletePersonalityParams) SetPersonalityID(personalityID *string)

SetPersonalityID adds the personalityId to the delete personality params

func (*DeletePersonalityParams) SetPersonalityName

func (o *DeletePersonalityParams) SetPersonalityName(personalityName *string)

SetPersonalityName adds the personalityName to the delete personality params

func (*DeletePersonalityParams) SetTimeout

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

SetTimeout adds the timeout to the delete personality params

func (*DeletePersonalityParams) WithContext

WithContext adds the context to the delete personality params

func (*DeletePersonalityParams) WithDefaults

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

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

func (*DeletePersonalityParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete personality params

func (*DeletePersonalityParams) WithPersonalityID

func (o *DeletePersonalityParams) WithPersonalityID(personalityID *string) *DeletePersonalityParams

WithPersonalityID adds the personalityID to the delete personality params

func (*DeletePersonalityParams) WithPersonalityName

func (o *DeletePersonalityParams) WithPersonalityName(personalityName *string) *DeletePersonalityParams

WithPersonalityName adds the personalityName to the delete personality params

func (*DeletePersonalityParams) WithTimeout

WithTimeout adds the timeout to the delete personality params

func (*DeletePersonalityParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePersonalityReader

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

DeletePersonalityReader is a Reader for the DeletePersonality structure.

func (*DeletePersonalityReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPersonalitiesInternalServerError added in v0.1.1

type GetPersonalitiesInternalServerError struct {
	Payload *models.Error
}

GetPersonalitiesInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetPersonalitiesInternalServerError added in v0.1.1

func NewGetPersonalitiesInternalServerError() *GetPersonalitiesInternalServerError

NewGetPersonalitiesInternalServerError creates a GetPersonalitiesInternalServerError with default headers values

func (*GetPersonalitiesInternalServerError) Code added in v0.3.0

Code gets the status code for the get personalities internal server error response

func (*GetPersonalitiesInternalServerError) Error added in v0.1.1

func (*GetPersonalitiesInternalServerError) GetPayload added in v0.1.1

func (*GetPersonalitiesInternalServerError) IsClientError added in v0.1.1

func (o *GetPersonalitiesInternalServerError) IsClientError() bool

IsClientError returns true when this get personalities internal server error response has a 4xx status code

func (*GetPersonalitiesInternalServerError) IsCode added in v0.1.1

IsCode returns true when this get personalities internal server error response a status code equal to that given

func (*GetPersonalitiesInternalServerError) IsRedirect added in v0.1.1

func (o *GetPersonalitiesInternalServerError) IsRedirect() bool

IsRedirect returns true when this get personalities internal server error response has a 3xx status code

func (*GetPersonalitiesInternalServerError) IsServerError added in v0.1.1

func (o *GetPersonalitiesInternalServerError) IsServerError() bool

IsServerError returns true when this get personalities internal server error response has a 5xx status code

func (*GetPersonalitiesInternalServerError) IsSuccess added in v0.1.1

IsSuccess returns true when this get personalities internal server error response has a 2xx status code

func (*GetPersonalitiesInternalServerError) String added in v0.1.1

type GetPersonalitiesOK added in v0.1.1

type GetPersonalitiesOK struct {
	Payload *models.PageOfPersonality
}

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

Ok

func NewGetPersonalitiesOK added in v0.1.1

func NewGetPersonalitiesOK() *GetPersonalitiesOK

NewGetPersonalitiesOK creates a GetPersonalitiesOK with default headers values

func (*GetPersonalitiesOK) Code added in v0.3.0

func (o *GetPersonalitiesOK) Code() int

Code gets the status code for the get personalities o k response

func (*GetPersonalitiesOK) Error added in v0.1.1

func (o *GetPersonalitiesOK) Error() string

func (*GetPersonalitiesOK) GetPayload added in v0.1.1

func (o *GetPersonalitiesOK) GetPayload() *models.PageOfPersonality

func (*GetPersonalitiesOK) IsClientError added in v0.1.1

func (o *GetPersonalitiesOK) IsClientError() bool

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

func (*GetPersonalitiesOK) IsCode added in v0.1.1

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

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

func (*GetPersonalitiesOK) IsRedirect added in v0.1.1

func (o *GetPersonalitiesOK) IsRedirect() bool

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

func (*GetPersonalitiesOK) IsServerError added in v0.1.1

func (o *GetPersonalitiesOK) IsServerError() bool

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

func (*GetPersonalitiesOK) IsSuccess added in v0.1.1

func (o *GetPersonalitiesOK) IsSuccess() bool

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

func (*GetPersonalitiesOK) String added in v0.1.1

func (o *GetPersonalitiesOK) String() string

type GetPersonalitiesParams added in v0.1.1

type GetPersonalitiesParams struct {

	/* AddOnName.

	   The add on name
	*/
	AddOnName *string

	/* AddOnVendorName.

	   The add on vendor name
	*/
	AddOnVendorName *string

	/* BaseOSVersion.

	   The base OS version
	*/
	BaseOSVersion *string

	/* ComponentName.

	   The component name
	*/
	ComponentName *string

	/* ComponentVendorName.

	   The component vendor name
	*/
	ComponentVendorName *string

	/* PersonalityName.

	   personalityName
	*/
	PersonalityName *string

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

GetPersonalitiesParams contains all the parameters to send to the API endpoint

for the get personalities operation.

Typically these are written to a http.Request.

func NewGetPersonalitiesParams added in v0.1.1

func NewGetPersonalitiesParams() *GetPersonalitiesParams

NewGetPersonalitiesParams creates a new GetPersonalitiesParams 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 NewGetPersonalitiesParamsWithContext added in v0.1.1

func NewGetPersonalitiesParamsWithContext(ctx context.Context) *GetPersonalitiesParams

NewGetPersonalitiesParamsWithContext creates a new GetPersonalitiesParams object with the ability to set a context for a request.

func NewGetPersonalitiesParamsWithHTTPClient added in v0.1.1

func NewGetPersonalitiesParamsWithHTTPClient(client *http.Client) *GetPersonalitiesParams

NewGetPersonalitiesParamsWithHTTPClient creates a new GetPersonalitiesParams object with the ability to set a custom HTTPClient for a request.

func NewGetPersonalitiesParamsWithTimeout added in v0.1.1

func NewGetPersonalitiesParamsWithTimeout(timeout time.Duration) *GetPersonalitiesParams

NewGetPersonalitiesParamsWithTimeout creates a new GetPersonalitiesParams object with the ability to set a timeout on a request.

func (*GetPersonalitiesParams) SetAddOnName added in v0.1.1

func (o *GetPersonalitiesParams) SetAddOnName(addOnName *string)

SetAddOnName adds the addOnName to the get personalities params

func (*GetPersonalitiesParams) SetAddOnVendorName added in v0.1.1

func (o *GetPersonalitiesParams) SetAddOnVendorName(addOnVendorName *string)

SetAddOnVendorName adds the addOnVendorName to the get personalities params

func (*GetPersonalitiesParams) SetBaseOSVersion added in v0.1.1

func (o *GetPersonalitiesParams) SetBaseOSVersion(baseOSVersion *string)

SetBaseOSVersion adds the baseOSVersion to the get personalities params

func (*GetPersonalitiesParams) SetComponentName added in v0.1.1

func (o *GetPersonalitiesParams) SetComponentName(componentName *string)

SetComponentName adds the componentName to the get personalities params

func (*GetPersonalitiesParams) SetComponentVendorName added in v0.1.1

func (o *GetPersonalitiesParams) SetComponentVendorName(componentVendorName *string)

SetComponentVendorName adds the componentVendorName to the get personalities params

func (*GetPersonalitiesParams) SetContext added in v0.1.1

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

SetContext adds the context to the get personalities params

func (*GetPersonalitiesParams) SetDefaults added in v0.1.1

func (o *GetPersonalitiesParams) SetDefaults()

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

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

func (*GetPersonalitiesParams) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the get personalities params

func (*GetPersonalitiesParams) SetPersonalityName added in v0.1.1

func (o *GetPersonalitiesParams) SetPersonalityName(personalityName *string)

SetPersonalityName adds the personalityName to the get personalities params

func (*GetPersonalitiesParams) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the get personalities params

func (*GetPersonalitiesParams) WithAddOnName added in v0.1.1

func (o *GetPersonalitiesParams) WithAddOnName(addOnName *string) *GetPersonalitiesParams

WithAddOnName adds the addOnName to the get personalities params

func (*GetPersonalitiesParams) WithAddOnVendorName added in v0.1.1

func (o *GetPersonalitiesParams) WithAddOnVendorName(addOnVendorName *string) *GetPersonalitiesParams

WithAddOnVendorName adds the addOnVendorName to the get personalities params

func (*GetPersonalitiesParams) WithBaseOSVersion added in v0.1.1

func (o *GetPersonalitiesParams) WithBaseOSVersion(baseOSVersion *string) *GetPersonalitiesParams

WithBaseOSVersion adds the baseOSVersion to the get personalities params

func (*GetPersonalitiesParams) WithComponentName added in v0.1.1

func (o *GetPersonalitiesParams) WithComponentName(componentName *string) *GetPersonalitiesParams

WithComponentName adds the componentName to the get personalities params

func (*GetPersonalitiesParams) WithComponentVendorName added in v0.1.1

func (o *GetPersonalitiesParams) WithComponentVendorName(componentVendorName *string) *GetPersonalitiesParams

WithComponentVendorName adds the componentVendorName to the get personalities params

func (*GetPersonalitiesParams) WithContext added in v0.1.1

WithContext adds the context to the get personalities params

func (*GetPersonalitiesParams) WithDefaults added in v0.1.1

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

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

func (*GetPersonalitiesParams) WithHTTPClient added in v0.1.1

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

WithHTTPClient adds the HTTPClient to the get personalities params

func (*GetPersonalitiesParams) WithPersonalityName added in v0.1.1

func (o *GetPersonalitiesParams) WithPersonalityName(personalityName *string) *GetPersonalitiesParams

WithPersonalityName adds the personalityName to the get personalities params

func (*GetPersonalitiesParams) WithTimeout added in v0.1.1

WithTimeout adds the timeout to the get personalities params

func (*GetPersonalitiesParams) WriteToRequest added in v0.1.1

WriteToRequest writes these params to a swagger request

type GetPersonalitiesReader added in v0.1.1

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

GetPersonalitiesReader is a Reader for the GetPersonalities structure.

func (*GetPersonalitiesReader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type GetPersonalityInternalServerError added in v0.1.1

type GetPersonalityInternalServerError struct {
	Payload *models.Error
}

GetPersonalityInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetPersonalityInternalServerError added in v0.1.1

func NewGetPersonalityInternalServerError() *GetPersonalityInternalServerError

NewGetPersonalityInternalServerError creates a GetPersonalityInternalServerError with default headers values

func (*GetPersonalityInternalServerError) Code added in v0.3.0

Code gets the status code for the get personality internal server error response

func (*GetPersonalityInternalServerError) Error added in v0.1.1

func (*GetPersonalityInternalServerError) GetPayload added in v0.1.1

func (*GetPersonalityInternalServerError) IsClientError added in v0.1.1

func (o *GetPersonalityInternalServerError) IsClientError() bool

IsClientError returns true when this get personality internal server error response has a 4xx status code

func (*GetPersonalityInternalServerError) IsCode added in v0.1.1

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

IsCode returns true when this get personality internal server error response a status code equal to that given

func (*GetPersonalityInternalServerError) IsRedirect added in v0.1.1

func (o *GetPersonalityInternalServerError) IsRedirect() bool

IsRedirect returns true when this get personality internal server error response has a 3xx status code

func (*GetPersonalityInternalServerError) IsServerError added in v0.1.1

func (o *GetPersonalityInternalServerError) IsServerError() bool

IsServerError returns true when this get personality internal server error response has a 5xx status code

func (*GetPersonalityInternalServerError) IsSuccess added in v0.1.1

func (o *GetPersonalityInternalServerError) IsSuccess() bool

IsSuccess returns true when this get personality internal server error response has a 2xx status code

func (*GetPersonalityInternalServerError) String added in v0.1.1

type GetPersonalityNotFound added in v0.1.1

type GetPersonalityNotFound struct {
	Payload *models.Error
}

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

Personality not found

func NewGetPersonalityNotFound added in v0.1.1

func NewGetPersonalityNotFound() *GetPersonalityNotFound

NewGetPersonalityNotFound creates a GetPersonalityNotFound with default headers values

func (*GetPersonalityNotFound) Code added in v0.3.0

func (o *GetPersonalityNotFound) Code() int

Code gets the status code for the get personality not found response

func (*GetPersonalityNotFound) Error added in v0.1.1

func (o *GetPersonalityNotFound) Error() string

func (*GetPersonalityNotFound) GetPayload added in v0.1.1

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

func (*GetPersonalityNotFound) IsClientError added in v0.1.1

func (o *GetPersonalityNotFound) IsClientError() bool

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

func (*GetPersonalityNotFound) IsCode added in v0.1.1

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

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

func (*GetPersonalityNotFound) IsRedirect added in v0.1.1

func (o *GetPersonalityNotFound) IsRedirect() bool

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

func (*GetPersonalityNotFound) IsServerError added in v0.1.1

func (o *GetPersonalityNotFound) IsServerError() bool

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

func (*GetPersonalityNotFound) IsSuccess added in v0.1.1

func (o *GetPersonalityNotFound) IsSuccess() bool

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

func (*GetPersonalityNotFound) String added in v0.1.1

func (o *GetPersonalityNotFound) String() string

type GetPersonalityOK added in v0.1.1

type GetPersonalityOK struct {
	Payload *models.Personality
}

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

OK

func NewGetPersonalityOK added in v0.1.1

func NewGetPersonalityOK() *GetPersonalityOK

NewGetPersonalityOK creates a GetPersonalityOK with default headers values

func (*GetPersonalityOK) Code added in v0.3.0

func (o *GetPersonalityOK) Code() int

Code gets the status code for the get personality o k response

func (*GetPersonalityOK) Error added in v0.1.1

func (o *GetPersonalityOK) Error() string

func (*GetPersonalityOK) GetPayload added in v0.1.1

func (o *GetPersonalityOK) GetPayload() *models.Personality

func (*GetPersonalityOK) IsClientError added in v0.1.1

func (o *GetPersonalityOK) IsClientError() bool

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

func (*GetPersonalityOK) IsCode added in v0.1.1

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

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

func (*GetPersonalityOK) IsRedirect added in v0.1.1

func (o *GetPersonalityOK) IsRedirect() bool

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

func (*GetPersonalityOK) IsServerError added in v0.1.1

func (o *GetPersonalityOK) IsServerError() bool

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

func (*GetPersonalityOK) IsSuccess added in v0.1.1

func (o *GetPersonalityOK) IsSuccess() bool

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

func (*GetPersonalityOK) String added in v0.1.1

func (o *GetPersonalityOK) String() string

type GetPersonalityParams added in v0.1.1

type GetPersonalityParams struct {

	/* PersonalityID.

	   Personality ID
	*/
	PersonalityID string

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

GetPersonalityParams contains all the parameters to send to the API endpoint

for the get personality operation.

Typically these are written to a http.Request.

func NewGetPersonalityParams added in v0.1.1

func NewGetPersonalityParams() *GetPersonalityParams

NewGetPersonalityParams creates a new GetPersonalityParams 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 NewGetPersonalityParamsWithContext added in v0.1.1

func NewGetPersonalityParamsWithContext(ctx context.Context) *GetPersonalityParams

NewGetPersonalityParamsWithContext creates a new GetPersonalityParams object with the ability to set a context for a request.

func NewGetPersonalityParamsWithHTTPClient added in v0.1.1

func NewGetPersonalityParamsWithHTTPClient(client *http.Client) *GetPersonalityParams

NewGetPersonalityParamsWithHTTPClient creates a new GetPersonalityParams object with the ability to set a custom HTTPClient for a request.

func NewGetPersonalityParamsWithTimeout added in v0.1.1

func NewGetPersonalityParamsWithTimeout(timeout time.Duration) *GetPersonalityParams

NewGetPersonalityParamsWithTimeout creates a new GetPersonalityParams object with the ability to set a timeout on a request.

func (*GetPersonalityParams) SetContext added in v0.1.1

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

SetContext adds the context to the get personality params

func (*GetPersonalityParams) SetDefaults added in v0.1.1

func (o *GetPersonalityParams) SetDefaults()

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

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

func (*GetPersonalityParams) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the get personality params

func (*GetPersonalityParams) SetPersonalityID added in v0.1.1

func (o *GetPersonalityParams) SetPersonalityID(personalityID string)

SetPersonalityID adds the personalityId to the get personality params

func (*GetPersonalityParams) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the get personality params

func (*GetPersonalityParams) WithContext added in v0.1.1

WithContext adds the context to the get personality params

func (*GetPersonalityParams) WithDefaults added in v0.1.1

func (o *GetPersonalityParams) WithDefaults() *GetPersonalityParams

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

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

func (*GetPersonalityParams) WithHTTPClient added in v0.1.1

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

WithHTTPClient adds the HTTPClient to the get personality params

func (*GetPersonalityParams) WithPersonalityID added in v0.1.1

func (o *GetPersonalityParams) WithPersonalityID(personalityID string) *GetPersonalityParams

WithPersonalityID adds the personalityID to the get personality params

func (*GetPersonalityParams) WithTimeout added in v0.1.1

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

WithTimeout adds the timeout to the get personality params

func (*GetPersonalityParams) WriteToRequest added in v0.1.1

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

WriteToRequest writes these params to a swagger request

type GetPersonalityReader added in v0.1.1

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

GetPersonalityReader is a Reader for the GetPersonality structure.

func (*GetPersonalityReader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type RenamePersonalityByIDBadRequest added in v0.3.0

type RenamePersonalityByIDBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewRenamePersonalityByIDBadRequest added in v0.3.0

func NewRenamePersonalityByIDBadRequest() *RenamePersonalityByIDBadRequest

NewRenamePersonalityByIDBadRequest creates a RenamePersonalityByIDBadRequest with default headers values

func (*RenamePersonalityByIDBadRequest) Code added in v0.3.0

Code gets the status code for the rename personality by Id bad request response

func (*RenamePersonalityByIDBadRequest) Error added in v0.3.0

func (*RenamePersonalityByIDBadRequest) GetPayload added in v0.3.0

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

func (*RenamePersonalityByIDBadRequest) IsClientError added in v0.3.0

func (o *RenamePersonalityByIDBadRequest) IsClientError() bool

IsClientError returns true when this rename personality by Id bad request response has a 4xx status code

func (*RenamePersonalityByIDBadRequest) IsCode added in v0.3.0

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

IsCode returns true when this rename personality by Id bad request response a status code equal to that given

func (*RenamePersonalityByIDBadRequest) IsRedirect added in v0.3.0

func (o *RenamePersonalityByIDBadRequest) IsRedirect() bool

IsRedirect returns true when this rename personality by Id bad request response has a 3xx status code

func (*RenamePersonalityByIDBadRequest) IsServerError added in v0.3.0

func (o *RenamePersonalityByIDBadRequest) IsServerError() bool

IsServerError returns true when this rename personality by Id bad request response has a 5xx status code

func (*RenamePersonalityByIDBadRequest) IsSuccess added in v0.3.0

func (o *RenamePersonalityByIDBadRequest) IsSuccess() bool

IsSuccess returns true when this rename personality by Id bad request response has a 2xx status code

func (*RenamePersonalityByIDBadRequest) String added in v0.3.0

type RenamePersonalityByIDInternalServerError added in v0.3.0

type RenamePersonalityByIDInternalServerError struct {
	Payload *models.Error
}

RenamePersonalityByIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewRenamePersonalityByIDInternalServerError added in v0.3.0

func NewRenamePersonalityByIDInternalServerError() *RenamePersonalityByIDInternalServerError

NewRenamePersonalityByIDInternalServerError creates a RenamePersonalityByIDInternalServerError with default headers values

func (*RenamePersonalityByIDInternalServerError) Code added in v0.3.0

Code gets the status code for the rename personality by Id internal server error response

func (*RenamePersonalityByIDInternalServerError) Error added in v0.3.0

func (*RenamePersonalityByIDInternalServerError) GetPayload added in v0.3.0

func (*RenamePersonalityByIDInternalServerError) IsClientError added in v0.3.0

IsClientError returns true when this rename personality by Id internal server error response has a 4xx status code

func (*RenamePersonalityByIDInternalServerError) IsCode added in v0.3.0

IsCode returns true when this rename personality by Id internal server error response a status code equal to that given

func (*RenamePersonalityByIDInternalServerError) IsRedirect added in v0.3.0

IsRedirect returns true when this rename personality by Id internal server error response has a 3xx status code

func (*RenamePersonalityByIDInternalServerError) IsServerError added in v0.3.0

IsServerError returns true when this rename personality by Id internal server error response has a 5xx status code

func (*RenamePersonalityByIDInternalServerError) IsSuccess added in v0.3.0

IsSuccess returns true when this rename personality by Id internal server error response has a 2xx status code

func (*RenamePersonalityByIDInternalServerError) String added in v0.3.0

type RenamePersonalityByIDNotFound added in v0.3.0

type RenamePersonalityByIDNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewRenamePersonalityByIDNotFound added in v0.3.0

func NewRenamePersonalityByIDNotFound() *RenamePersonalityByIDNotFound

NewRenamePersonalityByIDNotFound creates a RenamePersonalityByIDNotFound with default headers values

func (*RenamePersonalityByIDNotFound) Code added in v0.3.0

Code gets the status code for the rename personality by Id not found response

func (*RenamePersonalityByIDNotFound) Error added in v0.3.0

func (*RenamePersonalityByIDNotFound) GetPayload added in v0.3.0

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

func (*RenamePersonalityByIDNotFound) IsClientError added in v0.3.0

func (o *RenamePersonalityByIDNotFound) IsClientError() bool

IsClientError returns true when this rename personality by Id not found response has a 4xx status code

func (*RenamePersonalityByIDNotFound) IsCode added in v0.3.0

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

IsCode returns true when this rename personality by Id not found response a status code equal to that given

func (*RenamePersonalityByIDNotFound) IsRedirect added in v0.3.0

func (o *RenamePersonalityByIDNotFound) IsRedirect() bool

IsRedirect returns true when this rename personality by Id not found response has a 3xx status code

func (*RenamePersonalityByIDNotFound) IsServerError added in v0.3.0

func (o *RenamePersonalityByIDNotFound) IsServerError() bool

IsServerError returns true when this rename personality by Id not found response has a 5xx status code

func (*RenamePersonalityByIDNotFound) IsSuccess added in v0.3.0

func (o *RenamePersonalityByIDNotFound) IsSuccess() bool

IsSuccess returns true when this rename personality by Id not found response has a 2xx status code

func (*RenamePersonalityByIDNotFound) String added in v0.3.0

type RenamePersonalityByIDOK added in v0.3.0

type RenamePersonalityByIDOK struct {
	Payload *models.Personality
}

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

Ok

func NewRenamePersonalityByIDOK added in v0.3.0

func NewRenamePersonalityByIDOK() *RenamePersonalityByIDOK

NewRenamePersonalityByIDOK creates a RenamePersonalityByIDOK with default headers values

func (*RenamePersonalityByIDOK) Code added in v0.3.0

func (o *RenamePersonalityByIDOK) Code() int

Code gets the status code for the rename personality by Id o k response

func (*RenamePersonalityByIDOK) Error added in v0.3.0

func (o *RenamePersonalityByIDOK) Error() string

func (*RenamePersonalityByIDOK) GetPayload added in v0.3.0

func (o *RenamePersonalityByIDOK) GetPayload() *models.Personality

func (*RenamePersonalityByIDOK) IsClientError added in v0.3.0

func (o *RenamePersonalityByIDOK) IsClientError() bool

IsClientError returns true when this rename personality by Id o k response has a 4xx status code

func (*RenamePersonalityByIDOK) IsCode added in v0.3.0

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

IsCode returns true when this rename personality by Id o k response a status code equal to that given

func (*RenamePersonalityByIDOK) IsRedirect added in v0.3.0

func (o *RenamePersonalityByIDOK) IsRedirect() bool

IsRedirect returns true when this rename personality by Id o k response has a 3xx status code

func (*RenamePersonalityByIDOK) IsServerError added in v0.3.0

func (o *RenamePersonalityByIDOK) IsServerError() bool

IsServerError returns true when this rename personality by Id o k response has a 5xx status code

func (*RenamePersonalityByIDOK) IsSuccess added in v0.3.0

func (o *RenamePersonalityByIDOK) IsSuccess() bool

IsSuccess returns true when this rename personality by Id o k response has a 2xx status code

func (*RenamePersonalityByIDOK) String added in v0.3.0

func (o *RenamePersonalityByIDOK) String() string

type RenamePersonalityByIDParams added in v0.3.0

type RenamePersonalityByIDParams struct {

	/* Personality.

	   personality
	*/
	Personality *models.Personality

	/* PersonalityID.

	   The personality id
	*/
	PersonalityID string

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

RenamePersonalityByIDParams contains all the parameters to send to the API endpoint

for the rename personality by Id operation.

Typically these are written to a http.Request.

func NewRenamePersonalityByIDParams added in v0.3.0

func NewRenamePersonalityByIDParams() *RenamePersonalityByIDParams

NewRenamePersonalityByIDParams creates a new RenamePersonalityByIDParams 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 NewRenamePersonalityByIDParamsWithContext added in v0.3.0

func NewRenamePersonalityByIDParamsWithContext(ctx context.Context) *RenamePersonalityByIDParams

NewRenamePersonalityByIDParamsWithContext creates a new RenamePersonalityByIDParams object with the ability to set a context for a request.

func NewRenamePersonalityByIDParamsWithHTTPClient added in v0.3.0

func NewRenamePersonalityByIDParamsWithHTTPClient(client *http.Client) *RenamePersonalityByIDParams

NewRenamePersonalityByIDParamsWithHTTPClient creates a new RenamePersonalityByIDParams object with the ability to set a custom HTTPClient for a request.

func NewRenamePersonalityByIDParamsWithTimeout added in v0.3.0

func NewRenamePersonalityByIDParamsWithTimeout(timeout time.Duration) *RenamePersonalityByIDParams

NewRenamePersonalityByIDParamsWithTimeout creates a new RenamePersonalityByIDParams object with the ability to set a timeout on a request.

func (*RenamePersonalityByIDParams) SetContext added in v0.3.0

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

SetContext adds the context to the rename personality by Id params

func (*RenamePersonalityByIDParams) SetDefaults added in v0.3.0

func (o *RenamePersonalityByIDParams) SetDefaults()

SetDefaults hydrates default values in the rename personality by Id params (not the query body).

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

func (*RenamePersonalityByIDParams) SetHTTPClient added in v0.3.0

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

SetHTTPClient adds the HTTPClient to the rename personality by Id params

func (*RenamePersonalityByIDParams) SetPersonality added in v0.3.0

func (o *RenamePersonalityByIDParams) SetPersonality(personality *models.Personality)

SetPersonality adds the personality to the rename personality by Id params

func (*RenamePersonalityByIDParams) SetPersonalityID added in v0.3.0

func (o *RenamePersonalityByIDParams) SetPersonalityID(personalityID string)

SetPersonalityID adds the personalityId to the rename personality by Id params

func (*RenamePersonalityByIDParams) SetTimeout added in v0.3.0

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

SetTimeout adds the timeout to the rename personality by Id params

func (*RenamePersonalityByIDParams) WithContext added in v0.3.0

WithContext adds the context to the rename personality by Id params

func (*RenamePersonalityByIDParams) WithDefaults added in v0.3.0

WithDefaults hydrates default values in the rename personality by Id params (not the query body).

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

func (*RenamePersonalityByIDParams) WithHTTPClient added in v0.3.0

WithHTTPClient adds the HTTPClient to the rename personality by Id params

func (*RenamePersonalityByIDParams) WithPersonality added in v0.3.0

WithPersonality adds the personality to the rename personality by Id params

func (*RenamePersonalityByIDParams) WithPersonalityID added in v0.3.0

func (o *RenamePersonalityByIDParams) WithPersonalityID(personalityID string) *RenamePersonalityByIDParams

WithPersonalityID adds the personalityID to the rename personality by Id params

func (*RenamePersonalityByIDParams) WithTimeout added in v0.3.0

WithTimeout adds the timeout to the rename personality by Id params

func (*RenamePersonalityByIDParams) WriteToRequest added in v0.3.0

WriteToRequest writes these params to a swagger request

type RenamePersonalityByIDReader added in v0.3.0

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

RenamePersonalityByIDReader is a Reader for the RenamePersonalityByID structure.

func (*RenamePersonalityByIDReader) ReadResponse added in v0.3.0

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

ReadResponse reads a server response into the received o.

type UploadPersonalityAccepted

type UploadPersonalityAccepted struct {
	Payload *models.Task
}

UploadPersonalityAccepted describes a response with status code 202, with default header values.

Accepted

func NewUploadPersonalityAccepted

func NewUploadPersonalityAccepted() *UploadPersonalityAccepted

NewUploadPersonalityAccepted creates a UploadPersonalityAccepted with default headers values

func (*UploadPersonalityAccepted) Code added in v0.3.0

func (o *UploadPersonalityAccepted) Code() int

Code gets the status code for the upload personality accepted response

func (*UploadPersonalityAccepted) Error

func (o *UploadPersonalityAccepted) Error() string

func (*UploadPersonalityAccepted) GetPayload

func (o *UploadPersonalityAccepted) GetPayload() *models.Task

func (*UploadPersonalityAccepted) IsClientError

func (o *UploadPersonalityAccepted) IsClientError() bool

IsClientError returns true when this upload personality accepted response has a 4xx status code

func (*UploadPersonalityAccepted) IsCode

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

IsCode returns true when this upload personality accepted response a status code equal to that given

func (*UploadPersonalityAccepted) IsRedirect

func (o *UploadPersonalityAccepted) IsRedirect() bool

IsRedirect returns true when this upload personality accepted response has a 3xx status code

func (*UploadPersonalityAccepted) IsServerError

func (o *UploadPersonalityAccepted) IsServerError() bool

IsServerError returns true when this upload personality accepted response has a 5xx status code

func (*UploadPersonalityAccepted) IsSuccess

func (o *UploadPersonalityAccepted) IsSuccess() bool

IsSuccess returns true when this upload personality accepted response has a 2xx status code

func (*UploadPersonalityAccepted) String

func (o *UploadPersonalityAccepted) String() string

type UploadPersonalityBadRequest

type UploadPersonalityBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewUploadPersonalityBadRequest

func NewUploadPersonalityBadRequest() *UploadPersonalityBadRequest

NewUploadPersonalityBadRequest creates a UploadPersonalityBadRequest with default headers values

func (*UploadPersonalityBadRequest) Code added in v0.3.0

func (o *UploadPersonalityBadRequest) Code() int

Code gets the status code for the upload personality bad request response

func (*UploadPersonalityBadRequest) Error

func (*UploadPersonalityBadRequest) GetPayload

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

func (*UploadPersonalityBadRequest) IsClientError

func (o *UploadPersonalityBadRequest) IsClientError() bool

IsClientError returns true when this upload personality bad request response has a 4xx status code

func (*UploadPersonalityBadRequest) IsCode

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

IsCode returns true when this upload personality bad request response a status code equal to that given

func (*UploadPersonalityBadRequest) IsRedirect

func (o *UploadPersonalityBadRequest) IsRedirect() bool

IsRedirect returns true when this upload personality bad request response has a 3xx status code

func (*UploadPersonalityBadRequest) IsServerError

func (o *UploadPersonalityBadRequest) IsServerError() bool

IsServerError returns true when this upload personality bad request response has a 5xx status code

func (*UploadPersonalityBadRequest) IsSuccess

func (o *UploadPersonalityBadRequest) IsSuccess() bool

IsSuccess returns true when this upload personality bad request response has a 2xx status code

func (*UploadPersonalityBadRequest) String

func (o *UploadPersonalityBadRequest) String() string

type UploadPersonalityFilesBadRequest added in v0.3.0

type UploadPersonalityFilesBadRequest struct {
	Payload *models.Error
}

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

Bad request.

func NewUploadPersonalityFilesBadRequest added in v0.3.0

func NewUploadPersonalityFilesBadRequest() *UploadPersonalityFilesBadRequest

NewUploadPersonalityFilesBadRequest creates a UploadPersonalityFilesBadRequest with default headers values

func (*UploadPersonalityFilesBadRequest) Code added in v0.3.0

Code gets the status code for the upload personality files bad request response

func (*UploadPersonalityFilesBadRequest) Error added in v0.3.0

func (*UploadPersonalityFilesBadRequest) GetPayload added in v0.3.0

func (*UploadPersonalityFilesBadRequest) IsClientError added in v0.3.0

func (o *UploadPersonalityFilesBadRequest) IsClientError() bool

IsClientError returns true when this upload personality files bad request response has a 4xx status code

func (*UploadPersonalityFilesBadRequest) IsCode added in v0.3.0

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

IsCode returns true when this upload personality files bad request response a status code equal to that given

func (*UploadPersonalityFilesBadRequest) IsRedirect added in v0.3.0

func (o *UploadPersonalityFilesBadRequest) IsRedirect() bool

IsRedirect returns true when this upload personality files bad request response has a 3xx status code

func (*UploadPersonalityFilesBadRequest) IsServerError added in v0.3.0

func (o *UploadPersonalityFilesBadRequest) IsServerError() bool

IsServerError returns true when this upload personality files bad request response has a 5xx status code

func (*UploadPersonalityFilesBadRequest) IsSuccess added in v0.3.0

func (o *UploadPersonalityFilesBadRequest) IsSuccess() bool

IsSuccess returns true when this upload personality files bad request response has a 2xx status code

func (*UploadPersonalityFilesBadRequest) String added in v0.3.0

type UploadPersonalityFilesInternalServerError added in v0.3.0

type UploadPersonalityFilesInternalServerError struct {
	Payload *models.Error
}

UploadPersonalityFilesInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewUploadPersonalityFilesInternalServerError added in v0.3.0

func NewUploadPersonalityFilesInternalServerError() *UploadPersonalityFilesInternalServerError

NewUploadPersonalityFilesInternalServerError creates a UploadPersonalityFilesInternalServerError with default headers values

func (*UploadPersonalityFilesInternalServerError) Code added in v0.3.0

Code gets the status code for the upload personality files internal server error response

func (*UploadPersonalityFilesInternalServerError) Error added in v0.3.0

func (*UploadPersonalityFilesInternalServerError) GetPayload added in v0.3.0

func (*UploadPersonalityFilesInternalServerError) IsClientError added in v0.3.0

IsClientError returns true when this upload personality files internal server error response has a 4xx status code

func (*UploadPersonalityFilesInternalServerError) IsCode added in v0.3.0

IsCode returns true when this upload personality files internal server error response a status code equal to that given

func (*UploadPersonalityFilesInternalServerError) IsRedirect added in v0.3.0

IsRedirect returns true when this upload personality files internal server error response has a 3xx status code

func (*UploadPersonalityFilesInternalServerError) IsServerError added in v0.3.0

IsServerError returns true when this upload personality files internal server error response has a 5xx status code

func (*UploadPersonalityFilesInternalServerError) IsSuccess added in v0.3.0

IsSuccess returns true when this upload personality files internal server error response has a 2xx status code

func (*UploadPersonalityFilesInternalServerError) String added in v0.3.0

type UploadPersonalityFilesNotFound added in v0.3.0

type UploadPersonalityFilesNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewUploadPersonalityFilesNotFound added in v0.3.0

func NewUploadPersonalityFilesNotFound() *UploadPersonalityFilesNotFound

NewUploadPersonalityFilesNotFound creates a UploadPersonalityFilesNotFound with default headers values

func (*UploadPersonalityFilesNotFound) Code added in v0.3.0

Code gets the status code for the upload personality files not found response

func (*UploadPersonalityFilesNotFound) Error added in v0.3.0

func (*UploadPersonalityFilesNotFound) GetPayload added in v0.3.0

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

func (*UploadPersonalityFilesNotFound) IsClientError added in v0.3.0

func (o *UploadPersonalityFilesNotFound) IsClientError() bool

IsClientError returns true when this upload personality files not found response has a 4xx status code

func (*UploadPersonalityFilesNotFound) IsCode added in v0.3.0

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

IsCode returns true when this upload personality files not found response a status code equal to that given

func (*UploadPersonalityFilesNotFound) IsRedirect added in v0.3.0

func (o *UploadPersonalityFilesNotFound) IsRedirect() bool

IsRedirect returns true when this upload personality files not found response has a 3xx status code

func (*UploadPersonalityFilesNotFound) IsServerError added in v0.3.0

func (o *UploadPersonalityFilesNotFound) IsServerError() bool

IsServerError returns true when this upload personality files not found response has a 5xx status code

func (*UploadPersonalityFilesNotFound) IsSuccess added in v0.3.0

func (o *UploadPersonalityFilesNotFound) IsSuccess() bool

IsSuccess returns true when this upload personality files not found response has a 2xx status code

func (*UploadPersonalityFilesNotFound) String added in v0.3.0

type UploadPersonalityFilesOK added in v0.3.0

type UploadPersonalityFilesOK struct {
	Payload string
}

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

OK

func NewUploadPersonalityFilesOK added in v0.3.0

func NewUploadPersonalityFilesOK() *UploadPersonalityFilesOK

NewUploadPersonalityFilesOK creates a UploadPersonalityFilesOK with default headers values

func (*UploadPersonalityFilesOK) Code added in v0.3.0

func (o *UploadPersonalityFilesOK) Code() int

Code gets the status code for the upload personality files o k response

func (*UploadPersonalityFilesOK) Error added in v0.3.0

func (o *UploadPersonalityFilesOK) Error() string

func (*UploadPersonalityFilesOK) GetPayload added in v0.3.0

func (o *UploadPersonalityFilesOK) GetPayload() string

func (*UploadPersonalityFilesOK) IsClientError added in v0.3.0

func (o *UploadPersonalityFilesOK) IsClientError() bool

IsClientError returns true when this upload personality files o k response has a 4xx status code

func (*UploadPersonalityFilesOK) IsCode added in v0.3.0

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

IsCode returns true when this upload personality files o k response a status code equal to that given

func (*UploadPersonalityFilesOK) IsRedirect added in v0.3.0

func (o *UploadPersonalityFilesOK) IsRedirect() bool

IsRedirect returns true when this upload personality files o k response has a 3xx status code

func (*UploadPersonalityFilesOK) IsServerError added in v0.3.0

func (o *UploadPersonalityFilesOK) IsServerError() bool

IsServerError returns true when this upload personality files o k response has a 5xx status code

func (*UploadPersonalityFilesOK) IsSuccess added in v0.3.0

func (o *UploadPersonalityFilesOK) IsSuccess() bool

IsSuccess returns true when this upload personality files o k response has a 2xx status code

func (*UploadPersonalityFilesOK) String added in v0.3.0

func (o *UploadPersonalityFilesOK) String() string

type UploadPersonalityFilesParams added in v0.3.0

type UploadPersonalityFilesParams struct {

	/* Files.

	   files
	*/
	Files []string

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

UploadPersonalityFilesParams contains all the parameters to send to the API endpoint

for the upload personality files operation.

Typically these are written to a http.Request.

func NewUploadPersonalityFilesParams added in v0.3.0

func NewUploadPersonalityFilesParams() *UploadPersonalityFilesParams

NewUploadPersonalityFilesParams creates a new UploadPersonalityFilesParams 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 NewUploadPersonalityFilesParamsWithContext added in v0.3.0

func NewUploadPersonalityFilesParamsWithContext(ctx context.Context) *UploadPersonalityFilesParams

NewUploadPersonalityFilesParamsWithContext creates a new UploadPersonalityFilesParams object with the ability to set a context for a request.

func NewUploadPersonalityFilesParamsWithHTTPClient added in v0.3.0

func NewUploadPersonalityFilesParamsWithHTTPClient(client *http.Client) *UploadPersonalityFilesParams

NewUploadPersonalityFilesParamsWithHTTPClient creates a new UploadPersonalityFilesParams object with the ability to set a custom HTTPClient for a request.

func NewUploadPersonalityFilesParamsWithTimeout added in v0.3.0

func NewUploadPersonalityFilesParamsWithTimeout(timeout time.Duration) *UploadPersonalityFilesParams

NewUploadPersonalityFilesParamsWithTimeout creates a new UploadPersonalityFilesParams object with the ability to set a timeout on a request.

func (*UploadPersonalityFilesParams) SetContext added in v0.3.0

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

SetContext adds the context to the upload personality files params

func (*UploadPersonalityFilesParams) SetDefaults added in v0.3.0

func (o *UploadPersonalityFilesParams) SetDefaults()

SetDefaults hydrates default values in the upload personality files params (not the query body).

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

func (*UploadPersonalityFilesParams) SetFiles added in v0.3.0

func (o *UploadPersonalityFilesParams) SetFiles(files []string)

SetFiles adds the files to the upload personality files params

func (*UploadPersonalityFilesParams) SetHTTPClient added in v0.3.0

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

SetHTTPClient adds the HTTPClient to the upload personality files params

func (*UploadPersonalityFilesParams) SetTimeout added in v0.3.0

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

SetTimeout adds the timeout to the upload personality files params

func (*UploadPersonalityFilesParams) WithContext added in v0.3.0

WithContext adds the context to the upload personality files params

func (*UploadPersonalityFilesParams) WithDefaults added in v0.3.0

WithDefaults hydrates default values in the upload personality files params (not the query body).

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

func (*UploadPersonalityFilesParams) WithFiles added in v0.3.0

WithFiles adds the files to the upload personality files params

func (*UploadPersonalityFilesParams) WithHTTPClient added in v0.3.0

WithHTTPClient adds the HTTPClient to the upload personality files params

func (*UploadPersonalityFilesParams) WithTimeout added in v0.3.0

WithTimeout adds the timeout to the upload personality files params

func (*UploadPersonalityFilesParams) WriteToRequest added in v0.3.0

WriteToRequest writes these params to a swagger request

type UploadPersonalityFilesReader added in v0.3.0

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

UploadPersonalityFilesReader is a Reader for the UploadPersonalityFiles structure.

func (*UploadPersonalityFilesReader) ReadResponse added in v0.3.0

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

ReadResponse reads a server response into the received o.

type UploadPersonalityInternalServerError

type UploadPersonalityInternalServerError struct {
	Payload *models.Error
}

UploadPersonalityInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewUploadPersonalityInternalServerError

func NewUploadPersonalityInternalServerError() *UploadPersonalityInternalServerError

NewUploadPersonalityInternalServerError creates a UploadPersonalityInternalServerError with default headers values

func (*UploadPersonalityInternalServerError) Code added in v0.3.0

Code gets the status code for the upload personality internal server error response

func (*UploadPersonalityInternalServerError) Error

func (*UploadPersonalityInternalServerError) GetPayload

func (*UploadPersonalityInternalServerError) IsClientError

func (o *UploadPersonalityInternalServerError) IsClientError() bool

IsClientError returns true when this upload personality internal server error response has a 4xx status code

func (*UploadPersonalityInternalServerError) IsCode

IsCode returns true when this upload personality internal server error response a status code equal to that given

func (*UploadPersonalityInternalServerError) IsRedirect

IsRedirect returns true when this upload personality internal server error response has a 3xx status code

func (*UploadPersonalityInternalServerError) IsServerError

func (o *UploadPersonalityInternalServerError) IsServerError() bool

IsServerError returns true when this upload personality internal server error response has a 5xx status code

func (*UploadPersonalityInternalServerError) IsSuccess

IsSuccess returns true when this upload personality internal server error response has a 2xx status code

func (*UploadPersonalityInternalServerError) String

type UploadPersonalityOK

type UploadPersonalityOK struct {
	Payload *models.Task
}

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

OK

func NewUploadPersonalityOK

func NewUploadPersonalityOK() *UploadPersonalityOK

NewUploadPersonalityOK creates a UploadPersonalityOK with default headers values

func (*UploadPersonalityOK) Code added in v0.3.0

func (o *UploadPersonalityOK) Code() int

Code gets the status code for the upload personality o k response

func (*UploadPersonalityOK) Error

func (o *UploadPersonalityOK) Error() string

func (*UploadPersonalityOK) GetPayload

func (o *UploadPersonalityOK) GetPayload() *models.Task

func (*UploadPersonalityOK) IsClientError

func (o *UploadPersonalityOK) IsClientError() bool

IsClientError returns true when this upload personality o k response has a 4xx status code

func (*UploadPersonalityOK) IsCode

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

IsCode returns true when this upload personality o k response a status code equal to that given

func (*UploadPersonalityOK) IsRedirect

func (o *UploadPersonalityOK) IsRedirect() bool

IsRedirect returns true when this upload personality o k response has a 3xx status code

func (*UploadPersonalityOK) IsServerError

func (o *UploadPersonalityOK) IsServerError() bool

IsServerError returns true when this upload personality o k response has a 5xx status code

func (*UploadPersonalityOK) IsSuccess

func (o *UploadPersonalityOK) IsSuccess() bool

IsSuccess returns true when this upload personality o k response has a 2xx status code

func (*UploadPersonalityOK) String

func (o *UploadPersonalityOK) String() string

type UploadPersonalityParams

type UploadPersonalityParams struct {

	/* PersonalityUploadSpec.

	   Personality Upload Specification
	*/
	PersonalityUploadSpec *models.PersonalityUploadSpec

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

UploadPersonalityParams contains all the parameters to send to the API endpoint

for the upload personality operation.

Typically these are written to a http.Request.

func NewUploadPersonalityParams

func NewUploadPersonalityParams() *UploadPersonalityParams

NewUploadPersonalityParams creates a new UploadPersonalityParams 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 NewUploadPersonalityParamsWithContext

func NewUploadPersonalityParamsWithContext(ctx context.Context) *UploadPersonalityParams

NewUploadPersonalityParamsWithContext creates a new UploadPersonalityParams object with the ability to set a context for a request.

func NewUploadPersonalityParamsWithHTTPClient

func NewUploadPersonalityParamsWithHTTPClient(client *http.Client) *UploadPersonalityParams

NewUploadPersonalityParamsWithHTTPClient creates a new UploadPersonalityParams object with the ability to set a custom HTTPClient for a request.

func NewUploadPersonalityParamsWithTimeout

func NewUploadPersonalityParamsWithTimeout(timeout time.Duration) *UploadPersonalityParams

NewUploadPersonalityParamsWithTimeout creates a new UploadPersonalityParams object with the ability to set a timeout on a request.

func (*UploadPersonalityParams) SetContext

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

SetContext adds the context to the upload personality params

func (*UploadPersonalityParams) SetDefaults

func (o *UploadPersonalityParams) SetDefaults()

SetDefaults hydrates default values in the upload personality params (not the query body).

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

func (*UploadPersonalityParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload personality params

func (*UploadPersonalityParams) SetPersonalityUploadSpec

func (o *UploadPersonalityParams) SetPersonalityUploadSpec(personalityUploadSpec *models.PersonalityUploadSpec)

SetPersonalityUploadSpec adds the personalityUploadSpec to the upload personality params

func (*UploadPersonalityParams) SetTimeout

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

SetTimeout adds the timeout to the upload personality params

func (*UploadPersonalityParams) WithContext

WithContext adds the context to the upload personality params

func (*UploadPersonalityParams) WithDefaults

WithDefaults hydrates default values in the upload personality params (not the query body).

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

func (*UploadPersonalityParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the upload personality params

func (*UploadPersonalityParams) WithPersonalityUploadSpec

func (o *UploadPersonalityParams) WithPersonalityUploadSpec(personalityUploadSpec *models.PersonalityUploadSpec) *UploadPersonalityParams

WithPersonalityUploadSpec adds the personalityUploadSpec to the upload personality params

func (*UploadPersonalityParams) WithTimeout

WithTimeout adds the timeout to the upload personality params

func (*UploadPersonalityParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UploadPersonalityReader

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

UploadPersonalityReader is a Reader for the UploadPersonality structure.

func (*UploadPersonalityReader) ReadResponse

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