Documentation ¶
Index ¶
- type Client
- func (a *Client) DeletePersonality(params *DeletePersonalityParams, opts ...ClientOption) (*DeletePersonalityOK, error)
- func (a *Client) GetPersonalities(params *GetPersonalitiesParams, opts ...ClientOption) (*GetPersonalitiesOK, error)
- func (a *Client) GetPersonality(params *GetPersonalityParams, opts ...ClientOption) (*GetPersonalityOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UploadPersonality(params *UploadPersonalityParams, opts ...ClientOption) (*UploadPersonalityOK, *UploadPersonalityAccepted, error)
- type ClientOption
- type ClientService
- type DeletePersonalityInternalServerError
- func (o *DeletePersonalityInternalServerError) Error() string
- func (o *DeletePersonalityInternalServerError) GetPayload() *models.Error
- func (o *DeletePersonalityInternalServerError) IsClientError() bool
- func (o *DeletePersonalityInternalServerError) IsCode(code int) bool
- func (o *DeletePersonalityInternalServerError) IsRedirect() bool
- func (o *DeletePersonalityInternalServerError) IsServerError() bool
- func (o *DeletePersonalityInternalServerError) IsSuccess() bool
- func (o *DeletePersonalityInternalServerError) String() string
- type DeletePersonalityNotFound
- func (o *DeletePersonalityNotFound) Error() string
- func (o *DeletePersonalityNotFound) GetPayload() *models.Error
- func (o *DeletePersonalityNotFound) IsClientError() bool
- func (o *DeletePersonalityNotFound) IsCode(code int) bool
- func (o *DeletePersonalityNotFound) IsRedirect() bool
- func (o *DeletePersonalityNotFound) IsServerError() bool
- func (o *DeletePersonalityNotFound) IsSuccess() bool
- func (o *DeletePersonalityNotFound) String() string
- type DeletePersonalityOK
- func (o *DeletePersonalityOK) Error() string
- func (o *DeletePersonalityOK) IsClientError() bool
- func (o *DeletePersonalityOK) IsCode(code int) bool
- func (o *DeletePersonalityOK) IsRedirect() bool
- func (o *DeletePersonalityOK) IsServerError() bool
- func (o *DeletePersonalityOK) IsSuccess() bool
- func (o *DeletePersonalityOK) String() string
- type DeletePersonalityParams
- func NewDeletePersonalityParams() *DeletePersonalityParams
- func NewDeletePersonalityParamsWithContext(ctx context.Context) *DeletePersonalityParams
- func NewDeletePersonalityParamsWithHTTPClient(client *http.Client) *DeletePersonalityParams
- func NewDeletePersonalityParamsWithTimeout(timeout time.Duration) *DeletePersonalityParams
- func (o *DeletePersonalityParams) SetContext(ctx context.Context)
- func (o *DeletePersonalityParams) SetDefaults()
- func (o *DeletePersonalityParams) SetHTTPClient(client *http.Client)
- func (o *DeletePersonalityParams) SetPersonalityID(personalityID *string)
- func (o *DeletePersonalityParams) SetPersonalityName(personalityName *string)
- func (o *DeletePersonalityParams) SetTimeout(timeout time.Duration)
- func (o *DeletePersonalityParams) WithContext(ctx context.Context) *DeletePersonalityParams
- func (o *DeletePersonalityParams) WithDefaults() *DeletePersonalityParams
- func (o *DeletePersonalityParams) WithHTTPClient(client *http.Client) *DeletePersonalityParams
- func (o *DeletePersonalityParams) WithPersonalityID(personalityID *string) *DeletePersonalityParams
- func (o *DeletePersonalityParams) WithPersonalityName(personalityName *string) *DeletePersonalityParams
- func (o *DeletePersonalityParams) WithTimeout(timeout time.Duration) *DeletePersonalityParams
- func (o *DeletePersonalityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePersonalityReader
- type GetPersonalitiesInternalServerError
- func (o *GetPersonalitiesInternalServerError) Error() string
- func (o *GetPersonalitiesInternalServerError) GetPayload() *models.Error
- func (o *GetPersonalitiesInternalServerError) IsClientError() bool
- func (o *GetPersonalitiesInternalServerError) IsCode(code int) bool
- func (o *GetPersonalitiesInternalServerError) IsRedirect() bool
- func (o *GetPersonalitiesInternalServerError) IsServerError() bool
- func (o *GetPersonalitiesInternalServerError) IsSuccess() bool
- func (o *GetPersonalitiesInternalServerError) String() string
- type GetPersonalitiesOK
- func (o *GetPersonalitiesOK) Error() string
- func (o *GetPersonalitiesOK) GetPayload() *models.PageOfPersonality
- func (o *GetPersonalitiesOK) IsClientError() bool
- func (o *GetPersonalitiesOK) IsCode(code int) bool
- func (o *GetPersonalitiesOK) IsRedirect() bool
- func (o *GetPersonalitiesOK) IsServerError() bool
- func (o *GetPersonalitiesOK) IsSuccess() bool
- func (o *GetPersonalitiesOK) String() string
- type GetPersonalitiesParams
- func NewGetPersonalitiesParams() *GetPersonalitiesParams
- func NewGetPersonalitiesParamsWithContext(ctx context.Context) *GetPersonalitiesParams
- func NewGetPersonalitiesParamsWithHTTPClient(client *http.Client) *GetPersonalitiesParams
- func NewGetPersonalitiesParamsWithTimeout(timeout time.Duration) *GetPersonalitiesParams
- func (o *GetPersonalitiesParams) SetAddOnName(addOnName *string)
- func (o *GetPersonalitiesParams) SetAddOnVendorName(addOnVendorName *string)
- func (o *GetPersonalitiesParams) SetBaseOSVersion(baseOSVersion *string)
- func (o *GetPersonalitiesParams) SetComponentName(componentName *string)
- func (o *GetPersonalitiesParams) SetComponentVendorName(componentVendorName *string)
- func (o *GetPersonalitiesParams) SetContext(ctx context.Context)
- func (o *GetPersonalitiesParams) SetDefaults()
- func (o *GetPersonalitiesParams) SetHTTPClient(client *http.Client)
- func (o *GetPersonalitiesParams) SetPersonalityName(personalityName *string)
- func (o *GetPersonalitiesParams) SetTimeout(timeout time.Duration)
- func (o *GetPersonalitiesParams) WithAddOnName(addOnName *string) *GetPersonalitiesParams
- func (o *GetPersonalitiesParams) WithAddOnVendorName(addOnVendorName *string) *GetPersonalitiesParams
- func (o *GetPersonalitiesParams) WithBaseOSVersion(baseOSVersion *string) *GetPersonalitiesParams
- func (o *GetPersonalitiesParams) WithComponentName(componentName *string) *GetPersonalitiesParams
- func (o *GetPersonalitiesParams) WithComponentVendorName(componentVendorName *string) *GetPersonalitiesParams
- func (o *GetPersonalitiesParams) WithContext(ctx context.Context) *GetPersonalitiesParams
- func (o *GetPersonalitiesParams) WithDefaults() *GetPersonalitiesParams
- func (o *GetPersonalitiesParams) WithHTTPClient(client *http.Client) *GetPersonalitiesParams
- func (o *GetPersonalitiesParams) WithPersonalityName(personalityName *string) *GetPersonalitiesParams
- func (o *GetPersonalitiesParams) WithTimeout(timeout time.Duration) *GetPersonalitiesParams
- func (o *GetPersonalitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPersonalitiesReader
- type GetPersonalityInternalServerError
- func (o *GetPersonalityInternalServerError) Error() string
- func (o *GetPersonalityInternalServerError) GetPayload() *models.Error
- func (o *GetPersonalityInternalServerError) IsClientError() bool
- func (o *GetPersonalityInternalServerError) IsCode(code int) bool
- func (o *GetPersonalityInternalServerError) IsRedirect() bool
- func (o *GetPersonalityInternalServerError) IsServerError() bool
- func (o *GetPersonalityInternalServerError) IsSuccess() bool
- func (o *GetPersonalityInternalServerError) String() string
- type GetPersonalityNotFound
- func (o *GetPersonalityNotFound) Error() string
- func (o *GetPersonalityNotFound) GetPayload() *models.Error
- func (o *GetPersonalityNotFound) IsClientError() bool
- func (o *GetPersonalityNotFound) IsCode(code int) bool
- func (o *GetPersonalityNotFound) IsRedirect() bool
- func (o *GetPersonalityNotFound) IsServerError() bool
- func (o *GetPersonalityNotFound) IsSuccess() bool
- func (o *GetPersonalityNotFound) String() string
- type GetPersonalityOK
- func (o *GetPersonalityOK) Error() string
- func (o *GetPersonalityOK) GetPayload() *models.Personality
- func (o *GetPersonalityOK) IsClientError() bool
- func (o *GetPersonalityOK) IsCode(code int) bool
- func (o *GetPersonalityOK) IsRedirect() bool
- func (o *GetPersonalityOK) IsServerError() bool
- func (o *GetPersonalityOK) IsSuccess() bool
- func (o *GetPersonalityOK) String() string
- type GetPersonalityParams
- func NewGetPersonalityParams() *GetPersonalityParams
- func NewGetPersonalityParamsWithContext(ctx context.Context) *GetPersonalityParams
- func NewGetPersonalityParamsWithHTTPClient(client *http.Client) *GetPersonalityParams
- func NewGetPersonalityParamsWithTimeout(timeout time.Duration) *GetPersonalityParams
- func (o *GetPersonalityParams) SetContext(ctx context.Context)
- func (o *GetPersonalityParams) SetDefaults()
- func (o *GetPersonalityParams) SetHTTPClient(client *http.Client)
- func (o *GetPersonalityParams) SetPersonalityID(personalityID string)
- func (o *GetPersonalityParams) SetTimeout(timeout time.Duration)
- func (o *GetPersonalityParams) WithContext(ctx context.Context) *GetPersonalityParams
- func (o *GetPersonalityParams) WithDefaults() *GetPersonalityParams
- func (o *GetPersonalityParams) WithHTTPClient(client *http.Client) *GetPersonalityParams
- func (o *GetPersonalityParams) WithPersonalityID(personalityID string) *GetPersonalityParams
- func (o *GetPersonalityParams) WithTimeout(timeout time.Duration) *GetPersonalityParams
- func (o *GetPersonalityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPersonalityReader
- type UploadPersonalityAccepted
- func (o *UploadPersonalityAccepted) Error() string
- func (o *UploadPersonalityAccepted) GetPayload() *models.Task
- func (o *UploadPersonalityAccepted) IsClientError() bool
- func (o *UploadPersonalityAccepted) IsCode(code int) bool
- func (o *UploadPersonalityAccepted) IsRedirect() bool
- func (o *UploadPersonalityAccepted) IsServerError() bool
- func (o *UploadPersonalityAccepted) IsSuccess() bool
- func (o *UploadPersonalityAccepted) String() string
- type UploadPersonalityBadRequest
- func (o *UploadPersonalityBadRequest) Error() string
- func (o *UploadPersonalityBadRequest) GetPayload() *models.Error
- func (o *UploadPersonalityBadRequest) IsClientError() bool
- func (o *UploadPersonalityBadRequest) IsCode(code int) bool
- func (o *UploadPersonalityBadRequest) IsRedirect() bool
- func (o *UploadPersonalityBadRequest) IsServerError() bool
- func (o *UploadPersonalityBadRequest) IsSuccess() bool
- func (o *UploadPersonalityBadRequest) String() string
- type UploadPersonalityInternalServerError
- func (o *UploadPersonalityInternalServerError) Error() string
- func (o *UploadPersonalityInternalServerError) GetPayload() *models.Error
- func (o *UploadPersonalityInternalServerError) IsClientError() bool
- func (o *UploadPersonalityInternalServerError) IsCode(code int) bool
- func (o *UploadPersonalityInternalServerError) IsRedirect() bool
- func (o *UploadPersonalityInternalServerError) IsServerError() bool
- func (o *UploadPersonalityInternalServerError) IsSuccess() bool
- func (o *UploadPersonalityInternalServerError) String() string
- type UploadPersonalityOK
- func (o *UploadPersonalityOK) Error() string
- func (o *UploadPersonalityOK) GetPayload() *models.Task
- func (o *UploadPersonalityOK) IsClientError() bool
- func (o *UploadPersonalityOK) IsCode(code int) bool
- func (o *UploadPersonalityOK) IsRedirect() bool
- func (o *UploadPersonalityOK) IsServerError() bool
- func (o *UploadPersonalityOK) IsSuccess() bool
- func (o *UploadPersonalityOK) String() string
- type UploadPersonalityParams
- func NewUploadPersonalityParams() *UploadPersonalityParams
- func NewUploadPersonalityParamsWithContext(ctx context.Context) *UploadPersonalityParams
- func NewUploadPersonalityParamsWithHTTPClient(client *http.Client) *UploadPersonalityParams
- func NewUploadPersonalityParamsWithTimeout(timeout time.Duration) *UploadPersonalityParams
- func (o *UploadPersonalityParams) SetContext(ctx context.Context)
- func (o *UploadPersonalityParams) SetDefaults()
- func (o *UploadPersonalityParams) SetHTTPClient(client *http.Client)
- func (o *UploadPersonalityParams) SetPersonalityUploadSpec(personalityUploadSpec *models.PersonalityUploadSpec)
- func (o *UploadPersonalityParams) SetTimeout(timeout time.Duration)
- func (o *UploadPersonalityParams) WithContext(ctx context.Context) *UploadPersonalityParams
- func (o *UploadPersonalityParams) WithDefaults() *UploadPersonalityParams
- func (o *UploadPersonalityParams) WithHTTPClient(client *http.Client) *UploadPersonalityParams
- func (o *UploadPersonalityParams) WithPersonalityUploadSpec(personalityUploadSpec *models.PersonalityUploadSpec) *UploadPersonalityParams
- func (o *UploadPersonalityParams) WithTimeout(timeout time.Duration) *UploadPersonalityParams
- func (o *UploadPersonalityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadPersonalityReader
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 personalities by Id
Get the Personality for id
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UploadPersonality ¶
func (a *Client) UploadPersonality(params *UploadPersonalityParams, opts ...ClientOption) (*UploadPersonalityOK, *UploadPersonalityAccepted, error)
UploadPersonality uploads a personality
Upload Personality 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) UploadPersonality(params *UploadPersonalityParams, opts ...ClientOption) (*UploadPersonalityOK, *UploadPersonalityAccepted, 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 ¶
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) Error ¶
func (o *DeletePersonalityInternalServerError) Error() string
func (*DeletePersonalityInternalServerError) GetPayload ¶
func (o *DeletePersonalityInternalServerError) GetPayload() *models.Error
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 ¶
func (o *DeletePersonalityInternalServerError) IsCode(code int) bool
IsCode returns true when this delete personality internal server error response a status code equal to that given
func (*DeletePersonalityInternalServerError) IsRedirect ¶
func (o *DeletePersonalityInternalServerError) IsRedirect() bool
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 ¶
func (o *DeletePersonalityInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete personality internal server error response has a 2xx status code
func (*DeletePersonalityInternalServerError) String ¶
func (o *DeletePersonalityInternalServerError) String() string
type DeletePersonalityNotFound ¶
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) 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) 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 ¶
func (o *DeletePersonalityParams) WithContext(ctx context.Context) *DeletePersonalityParams
WithContext adds the context to the delete personality params
func (*DeletePersonalityParams) WithDefaults ¶
func (o *DeletePersonalityParams) WithDefaults() *DeletePersonalityParams
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 ¶
func (o *DeletePersonalityParams) WithTimeout(timeout time.Duration) *DeletePersonalityParams
WithTimeout adds the timeout to the delete personality params
func (*DeletePersonalityParams) WriteToRequest ¶
func (o *DeletePersonalityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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) Error ¶ added in v0.1.1
func (o *GetPersonalitiesInternalServerError) Error() string
func (*GetPersonalitiesInternalServerError) GetPayload ¶ added in v0.1.1
func (o *GetPersonalitiesInternalServerError) GetPayload() *models.Error
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
func (o *GetPersonalitiesInternalServerError) IsCode(code int) bool
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
func (o *GetPersonalitiesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get personalities internal server error response has a 2xx status code
func (*GetPersonalitiesInternalServerError) String ¶ added in v0.1.1
func (o *GetPersonalitiesInternalServerError) String() string
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) 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
func (o *GetPersonalitiesParams) WithContext(ctx context.Context) *GetPersonalitiesParams
WithContext adds the context to the get personalities params
func (*GetPersonalitiesParams) WithDefaults ¶ added in v0.1.1
func (o *GetPersonalitiesParams) WithDefaults() *GetPersonalitiesParams
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
func (o *GetPersonalitiesParams) WithTimeout(timeout time.Duration) *GetPersonalitiesParams
WithTimeout adds the timeout to the get personalities params
func (*GetPersonalitiesParams) WriteToRequest ¶ added in v0.1.1
func (o *GetPersonalitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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) Error ¶ added in v0.1.1
func (o *GetPersonalityInternalServerError) Error() string
func (*GetPersonalityInternalServerError) GetPayload ¶ added in v0.1.1
func (o *GetPersonalityInternalServerError) GetPayload() *models.Error
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
func (o *GetPersonalityInternalServerError) String() string
type GetPersonalityNotFound ¶ added in v0.1.1
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) 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) 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
func (o *GetPersonalityParams) WithContext(ctx context.Context) *GetPersonalityParams
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 UploadPersonalityAccepted ¶
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) 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 ¶
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) Error ¶
func (o *UploadPersonalityBadRequest) Error() string
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 UploadPersonalityInternalServerError ¶
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) Error ¶
func (o *UploadPersonalityInternalServerError) Error() string
func (*UploadPersonalityInternalServerError) GetPayload ¶
func (o *UploadPersonalityInternalServerError) GetPayload() *models.Error
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 ¶
func (o *UploadPersonalityInternalServerError) IsCode(code int) bool
IsCode returns true when this upload personality internal server error response a status code equal to that given
func (*UploadPersonalityInternalServerError) IsRedirect ¶
func (o *UploadPersonalityInternalServerError) IsRedirect() bool
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 ¶
func (o *UploadPersonalityInternalServerError) IsSuccess() bool
IsSuccess returns true when this upload personality internal server error response has a 2xx status code
func (*UploadPersonalityInternalServerError) String ¶
func (o *UploadPersonalityInternalServerError) String() string
type UploadPersonalityOK ¶
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) 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 ¶
func (o *UploadPersonalityParams) WithContext(ctx context.Context) *UploadPersonalityParams
WithContext adds the context to the upload personality params
func (*UploadPersonalityParams) WithDefaults ¶
func (o *UploadPersonalityParams) WithDefaults() *UploadPersonalityParams
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 ¶
func (o *UploadPersonalityParams) WithTimeout(timeout time.Duration) *UploadPersonalityParams
WithTimeout adds the timeout to the upload personality params
func (*UploadPersonalityParams) WriteToRequest ¶
func (o *UploadPersonalityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.