Documentation ¶
Index ¶
- type AllUserAttributeGroupValuesBadRequest
- type AllUserAttributeGroupValuesNotFound
- type AllUserAttributeGroupValuesOK
- type AllUserAttributeGroupValuesParams
- func NewAllUserAttributeGroupValuesParams() *AllUserAttributeGroupValuesParams
- func NewAllUserAttributeGroupValuesParamsWithContext(ctx context.Context) *AllUserAttributeGroupValuesParams
- func NewAllUserAttributeGroupValuesParamsWithHTTPClient(client *http.Client) *AllUserAttributeGroupValuesParams
- func NewAllUserAttributeGroupValuesParamsWithTimeout(timeout time.Duration) *AllUserAttributeGroupValuesParams
- func (o *AllUserAttributeGroupValuesParams) SetContext(ctx context.Context)
- func (o *AllUserAttributeGroupValuesParams) SetFields(fields *string)
- func (o *AllUserAttributeGroupValuesParams) SetHTTPClient(client *http.Client)
- func (o *AllUserAttributeGroupValuesParams) SetTimeout(timeout time.Duration)
- func (o *AllUserAttributeGroupValuesParams) SetUserAttributeID(userAttributeID int64)
- func (o *AllUserAttributeGroupValuesParams) WithContext(ctx context.Context) *AllUserAttributeGroupValuesParams
- func (o *AllUserAttributeGroupValuesParams) WithFields(fields *string) *AllUserAttributeGroupValuesParams
- func (o *AllUserAttributeGroupValuesParams) WithHTTPClient(client *http.Client) *AllUserAttributeGroupValuesParams
- func (o *AllUserAttributeGroupValuesParams) WithTimeout(timeout time.Duration) *AllUserAttributeGroupValuesParams
- func (o *AllUserAttributeGroupValuesParams) WithUserAttributeID(userAttributeID int64) *AllUserAttributeGroupValuesParams
- func (o *AllUserAttributeGroupValuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllUserAttributeGroupValuesReader
- type AllUserAttributesBadRequest
- type AllUserAttributesNotFound
- type AllUserAttributesOK
- type AllUserAttributesParams
- func NewAllUserAttributesParams() *AllUserAttributesParams
- func NewAllUserAttributesParamsWithContext(ctx context.Context) *AllUserAttributesParams
- func NewAllUserAttributesParamsWithHTTPClient(client *http.Client) *AllUserAttributesParams
- func NewAllUserAttributesParamsWithTimeout(timeout time.Duration) *AllUserAttributesParams
- func (o *AllUserAttributesParams) SetContext(ctx context.Context)
- func (o *AllUserAttributesParams) SetFields(fields *string)
- func (o *AllUserAttributesParams) SetHTTPClient(client *http.Client)
- func (o *AllUserAttributesParams) SetSorts(sorts *string)
- func (o *AllUserAttributesParams) SetTimeout(timeout time.Duration)
- func (o *AllUserAttributesParams) WithContext(ctx context.Context) *AllUserAttributesParams
- func (o *AllUserAttributesParams) WithFields(fields *string) *AllUserAttributesParams
- func (o *AllUserAttributesParams) WithHTTPClient(client *http.Client) *AllUserAttributesParams
- func (o *AllUserAttributesParams) WithSorts(sorts *string) *AllUserAttributesParams
- func (o *AllUserAttributesParams) WithTimeout(timeout time.Duration) *AllUserAttributesParams
- func (o *AllUserAttributesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllUserAttributesReader
- type Client
- func (a *Client) AllUserAttributeGroupValues(params *AllUserAttributeGroupValuesParams) (*AllUserAttributeGroupValuesOK, error)
- func (a *Client) AllUserAttributes(params *AllUserAttributesParams) (*AllUserAttributesOK, error)
- func (a *Client) CreateUserAttribute(params *CreateUserAttributeParams) (*CreateUserAttributeOK, error)
- func (a *Client) DeleteUserAttribute(params *DeleteUserAttributeParams) (*DeleteUserAttributeNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SetUserAttributeGroupValues(params *SetUserAttributeGroupValuesParams) (*SetUserAttributeGroupValuesOK, error)
- func (a *Client) UpdateUserAttribute(params *UpdateUserAttributeParams) (*UpdateUserAttributeOK, error)
- func (a *Client) UserAttribute(params *UserAttributeParams) (*UserAttributeOK, error)
- type CreateUserAttributeBadRequest
- type CreateUserAttributeConflict
- type CreateUserAttributeNotFound
- type CreateUserAttributeOK
- type CreateUserAttributeParams
- func NewCreateUserAttributeParams() *CreateUserAttributeParams
- func NewCreateUserAttributeParamsWithContext(ctx context.Context) *CreateUserAttributeParams
- func NewCreateUserAttributeParamsWithHTTPClient(client *http.Client) *CreateUserAttributeParams
- func NewCreateUserAttributeParamsWithTimeout(timeout time.Duration) *CreateUserAttributeParams
- func (o *CreateUserAttributeParams) SetBody(body *models.UserAttribute)
- func (o *CreateUserAttributeParams) SetContext(ctx context.Context)
- func (o *CreateUserAttributeParams) SetFields(fields *string)
- func (o *CreateUserAttributeParams) SetHTTPClient(client *http.Client)
- func (o *CreateUserAttributeParams) SetTimeout(timeout time.Duration)
- func (o *CreateUserAttributeParams) WithBody(body *models.UserAttribute) *CreateUserAttributeParams
- func (o *CreateUserAttributeParams) WithContext(ctx context.Context) *CreateUserAttributeParams
- func (o *CreateUserAttributeParams) WithFields(fields *string) *CreateUserAttributeParams
- func (o *CreateUserAttributeParams) WithHTTPClient(client *http.Client) *CreateUserAttributeParams
- func (o *CreateUserAttributeParams) WithTimeout(timeout time.Duration) *CreateUserAttributeParams
- func (o *CreateUserAttributeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateUserAttributeReader
- type CreateUserAttributeUnprocessableEntity
- type DeleteUserAttributeBadRequest
- type DeleteUserAttributeNoContent
- type DeleteUserAttributeNotFound
- type DeleteUserAttributeParams
- func NewDeleteUserAttributeParams() *DeleteUserAttributeParams
- func NewDeleteUserAttributeParamsWithContext(ctx context.Context) *DeleteUserAttributeParams
- func NewDeleteUserAttributeParamsWithHTTPClient(client *http.Client) *DeleteUserAttributeParams
- func NewDeleteUserAttributeParamsWithTimeout(timeout time.Duration) *DeleteUserAttributeParams
- func (o *DeleteUserAttributeParams) SetContext(ctx context.Context)
- func (o *DeleteUserAttributeParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserAttributeParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserAttributeParams) SetUserAttributeID(userAttributeID int64)
- func (o *DeleteUserAttributeParams) WithContext(ctx context.Context) *DeleteUserAttributeParams
- func (o *DeleteUserAttributeParams) WithHTTPClient(client *http.Client) *DeleteUserAttributeParams
- func (o *DeleteUserAttributeParams) WithTimeout(timeout time.Duration) *DeleteUserAttributeParams
- func (o *DeleteUserAttributeParams) WithUserAttributeID(userAttributeID int64) *DeleteUserAttributeParams
- func (o *DeleteUserAttributeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserAttributeReader
- type SetUserAttributeGroupValuesBadRequest
- type SetUserAttributeGroupValuesConflict
- type SetUserAttributeGroupValuesNotFound
- type SetUserAttributeGroupValuesOK
- type SetUserAttributeGroupValuesParams
- func NewSetUserAttributeGroupValuesParams() *SetUserAttributeGroupValuesParams
- func NewSetUserAttributeGroupValuesParamsWithContext(ctx context.Context) *SetUserAttributeGroupValuesParams
- func NewSetUserAttributeGroupValuesParamsWithHTTPClient(client *http.Client) *SetUserAttributeGroupValuesParams
- func NewSetUserAttributeGroupValuesParamsWithTimeout(timeout time.Duration) *SetUserAttributeGroupValuesParams
- func (o *SetUserAttributeGroupValuesParams) SetBody(body []*models.UserAttributeGroupValue)
- func (o *SetUserAttributeGroupValuesParams) SetContext(ctx context.Context)
- func (o *SetUserAttributeGroupValuesParams) SetHTTPClient(client *http.Client)
- func (o *SetUserAttributeGroupValuesParams) SetTimeout(timeout time.Duration)
- func (o *SetUserAttributeGroupValuesParams) SetUserAttributeID(userAttributeID int64)
- func (o *SetUserAttributeGroupValuesParams) WithBody(body []*models.UserAttributeGroupValue) *SetUserAttributeGroupValuesParams
- func (o *SetUserAttributeGroupValuesParams) WithContext(ctx context.Context) *SetUserAttributeGroupValuesParams
- func (o *SetUserAttributeGroupValuesParams) WithHTTPClient(client *http.Client) *SetUserAttributeGroupValuesParams
- func (o *SetUserAttributeGroupValuesParams) WithTimeout(timeout time.Duration) *SetUserAttributeGroupValuesParams
- func (o *SetUserAttributeGroupValuesParams) WithUserAttributeID(userAttributeID int64) *SetUserAttributeGroupValuesParams
- func (o *SetUserAttributeGroupValuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetUserAttributeGroupValuesReader
- type SetUserAttributeGroupValuesUnprocessableEntity
- type UpdateUserAttributeBadRequest
- type UpdateUserAttributeNotFound
- type UpdateUserAttributeOK
- type UpdateUserAttributeParams
- func NewUpdateUserAttributeParams() *UpdateUserAttributeParams
- func NewUpdateUserAttributeParamsWithContext(ctx context.Context) *UpdateUserAttributeParams
- func NewUpdateUserAttributeParamsWithHTTPClient(client *http.Client) *UpdateUserAttributeParams
- func NewUpdateUserAttributeParamsWithTimeout(timeout time.Duration) *UpdateUserAttributeParams
- func (o *UpdateUserAttributeParams) SetBody(body *models.UserAttribute)
- func (o *UpdateUserAttributeParams) SetContext(ctx context.Context)
- func (o *UpdateUserAttributeParams) SetFields(fields *string)
- func (o *UpdateUserAttributeParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserAttributeParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserAttributeParams) SetUserAttributeID(userAttributeID int64)
- func (o *UpdateUserAttributeParams) WithBody(body *models.UserAttribute) *UpdateUserAttributeParams
- func (o *UpdateUserAttributeParams) WithContext(ctx context.Context) *UpdateUserAttributeParams
- func (o *UpdateUserAttributeParams) WithFields(fields *string) *UpdateUserAttributeParams
- func (o *UpdateUserAttributeParams) WithHTTPClient(client *http.Client) *UpdateUserAttributeParams
- func (o *UpdateUserAttributeParams) WithTimeout(timeout time.Duration) *UpdateUserAttributeParams
- func (o *UpdateUserAttributeParams) WithUserAttributeID(userAttributeID int64) *UpdateUserAttributeParams
- func (o *UpdateUserAttributeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserAttributeReader
- type UpdateUserAttributeUnprocessableEntity
- type UserAttributeBadRequest
- type UserAttributeNotFound
- type UserAttributeOK
- type UserAttributeParams
- func (o *UserAttributeParams) SetContext(ctx context.Context)
- func (o *UserAttributeParams) SetFields(fields *string)
- func (o *UserAttributeParams) SetHTTPClient(client *http.Client)
- func (o *UserAttributeParams) SetTimeout(timeout time.Duration)
- func (o *UserAttributeParams) SetUserAttributeID(userAttributeID int64)
- func (o *UserAttributeParams) WithContext(ctx context.Context) *UserAttributeParams
- func (o *UserAttributeParams) WithFields(fields *string) *UserAttributeParams
- func (o *UserAttributeParams) WithHTTPClient(client *http.Client) *UserAttributeParams
- func (o *UserAttributeParams) WithTimeout(timeout time.Duration) *UserAttributeParams
- func (o *UserAttributeParams) WithUserAttributeID(userAttributeID int64) *UserAttributeParams
- func (o *UserAttributeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserAttributeReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllUserAttributeGroupValuesBadRequest ¶
AllUserAttributeGroupValuesBadRequest handles this case with default header values.
Bad Request
func NewAllUserAttributeGroupValuesBadRequest ¶
func NewAllUserAttributeGroupValuesBadRequest() *AllUserAttributeGroupValuesBadRequest
NewAllUserAttributeGroupValuesBadRequest creates a AllUserAttributeGroupValuesBadRequest with default headers values
func (*AllUserAttributeGroupValuesBadRequest) Error ¶
func (o *AllUserAttributeGroupValuesBadRequest) Error() string
type AllUserAttributeGroupValuesNotFound ¶
AllUserAttributeGroupValuesNotFound handles this case with default header values.
Not Found
func NewAllUserAttributeGroupValuesNotFound ¶
func NewAllUserAttributeGroupValuesNotFound() *AllUserAttributeGroupValuesNotFound
NewAllUserAttributeGroupValuesNotFound creates a AllUserAttributeGroupValuesNotFound with default headers values
func (*AllUserAttributeGroupValuesNotFound) Error ¶
func (o *AllUserAttributeGroupValuesNotFound) Error() string
type AllUserAttributeGroupValuesOK ¶
type AllUserAttributeGroupValuesOK struct {
Payload []*models.UserAttributeGroupValue
}
AllUserAttributeGroupValuesOK handles this case with default header values.
All group values for attribute.
func NewAllUserAttributeGroupValuesOK ¶
func NewAllUserAttributeGroupValuesOK() *AllUserAttributeGroupValuesOK
NewAllUserAttributeGroupValuesOK creates a AllUserAttributeGroupValuesOK with default headers values
func (*AllUserAttributeGroupValuesOK) Error ¶
func (o *AllUserAttributeGroupValuesOK) Error() string
type AllUserAttributeGroupValuesParams ¶
type AllUserAttributeGroupValuesParams struct { /*Fields Requested fields. */ Fields *string /*UserAttributeID Id of user attribute */ UserAttributeID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AllUserAttributeGroupValuesParams contains all the parameters to send to the API endpoint for the all user attribute group values operation typically these are written to a http.Request
func NewAllUserAttributeGroupValuesParams ¶
func NewAllUserAttributeGroupValuesParams() *AllUserAttributeGroupValuesParams
NewAllUserAttributeGroupValuesParams creates a new AllUserAttributeGroupValuesParams object with the default values initialized.
func NewAllUserAttributeGroupValuesParamsWithContext ¶
func NewAllUserAttributeGroupValuesParamsWithContext(ctx context.Context) *AllUserAttributeGroupValuesParams
NewAllUserAttributeGroupValuesParamsWithContext creates a new AllUserAttributeGroupValuesParams object with the default values initialized, and the ability to set a context for a request
func NewAllUserAttributeGroupValuesParamsWithHTTPClient ¶
func NewAllUserAttributeGroupValuesParamsWithHTTPClient(client *http.Client) *AllUserAttributeGroupValuesParams
NewAllUserAttributeGroupValuesParamsWithHTTPClient creates a new AllUserAttributeGroupValuesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAllUserAttributeGroupValuesParamsWithTimeout ¶
func NewAllUserAttributeGroupValuesParamsWithTimeout(timeout time.Duration) *AllUserAttributeGroupValuesParams
NewAllUserAttributeGroupValuesParamsWithTimeout creates a new AllUserAttributeGroupValuesParams object with the default values initialized, and the ability to set a timeout on a request
func (*AllUserAttributeGroupValuesParams) SetContext ¶
func (o *AllUserAttributeGroupValuesParams) SetContext(ctx context.Context)
SetContext adds the context to the all user attribute group values params
func (*AllUserAttributeGroupValuesParams) SetFields ¶
func (o *AllUserAttributeGroupValuesParams) SetFields(fields *string)
SetFields adds the fields to the all user attribute group values params
func (*AllUserAttributeGroupValuesParams) SetHTTPClient ¶
func (o *AllUserAttributeGroupValuesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the all user attribute group values params
func (*AllUserAttributeGroupValuesParams) SetTimeout ¶
func (o *AllUserAttributeGroupValuesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the all user attribute group values params
func (*AllUserAttributeGroupValuesParams) SetUserAttributeID ¶
func (o *AllUserAttributeGroupValuesParams) SetUserAttributeID(userAttributeID int64)
SetUserAttributeID adds the userAttributeId to the all user attribute group values params
func (*AllUserAttributeGroupValuesParams) WithContext ¶
func (o *AllUserAttributeGroupValuesParams) WithContext(ctx context.Context) *AllUserAttributeGroupValuesParams
WithContext adds the context to the all user attribute group values params
func (*AllUserAttributeGroupValuesParams) WithFields ¶
func (o *AllUserAttributeGroupValuesParams) WithFields(fields *string) *AllUserAttributeGroupValuesParams
WithFields adds the fields to the all user attribute group values params
func (*AllUserAttributeGroupValuesParams) WithHTTPClient ¶
func (o *AllUserAttributeGroupValuesParams) WithHTTPClient(client *http.Client) *AllUserAttributeGroupValuesParams
WithHTTPClient adds the HTTPClient to the all user attribute group values params
func (*AllUserAttributeGroupValuesParams) WithTimeout ¶
func (o *AllUserAttributeGroupValuesParams) WithTimeout(timeout time.Duration) *AllUserAttributeGroupValuesParams
WithTimeout adds the timeout to the all user attribute group values params
func (*AllUserAttributeGroupValuesParams) WithUserAttributeID ¶
func (o *AllUserAttributeGroupValuesParams) WithUserAttributeID(userAttributeID int64) *AllUserAttributeGroupValuesParams
WithUserAttributeID adds the userAttributeID to the all user attribute group values params
func (*AllUserAttributeGroupValuesParams) WriteToRequest ¶
func (o *AllUserAttributeGroupValuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AllUserAttributeGroupValuesReader ¶
type AllUserAttributeGroupValuesReader struct {
// contains filtered or unexported fields
}
AllUserAttributeGroupValuesReader is a Reader for the AllUserAttributeGroupValues structure.
func (*AllUserAttributeGroupValuesReader) ReadResponse ¶
func (o *AllUserAttributeGroupValuesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AllUserAttributesBadRequest ¶
AllUserAttributesBadRequest handles this case with default header values.
Bad Request
func NewAllUserAttributesBadRequest ¶
func NewAllUserAttributesBadRequest() *AllUserAttributesBadRequest
NewAllUserAttributesBadRequest creates a AllUserAttributesBadRequest with default headers values
func (*AllUserAttributesBadRequest) Error ¶
func (o *AllUserAttributesBadRequest) Error() string
type AllUserAttributesNotFound ¶
AllUserAttributesNotFound handles this case with default header values.
Not Found
func NewAllUserAttributesNotFound ¶
func NewAllUserAttributesNotFound() *AllUserAttributesNotFound
NewAllUserAttributesNotFound creates a AllUserAttributesNotFound with default headers values
func (*AllUserAttributesNotFound) Error ¶
func (o *AllUserAttributesNotFound) Error() string
type AllUserAttributesOK ¶
type AllUserAttributesOK struct {
Payload []*models.UserAttribute
}
AllUserAttributesOK handles this case with default header values.
User Attribute
func NewAllUserAttributesOK ¶
func NewAllUserAttributesOK() *AllUserAttributesOK
NewAllUserAttributesOK creates a AllUserAttributesOK with default headers values
func (*AllUserAttributesOK) Error ¶
func (o *AllUserAttributesOK) Error() string
type AllUserAttributesParams ¶
type AllUserAttributesParams struct { /*Fields Requested fields. */ Fields *string /*Sorts Fields to sort by. */ Sorts *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AllUserAttributesParams contains all the parameters to send to the API endpoint for the all user attributes operation typically these are written to a http.Request
func NewAllUserAttributesParams ¶
func NewAllUserAttributesParams() *AllUserAttributesParams
NewAllUserAttributesParams creates a new AllUserAttributesParams object with the default values initialized.
func NewAllUserAttributesParamsWithContext ¶
func NewAllUserAttributesParamsWithContext(ctx context.Context) *AllUserAttributesParams
NewAllUserAttributesParamsWithContext creates a new AllUserAttributesParams object with the default values initialized, and the ability to set a context for a request
func NewAllUserAttributesParamsWithHTTPClient ¶
func NewAllUserAttributesParamsWithHTTPClient(client *http.Client) *AllUserAttributesParams
NewAllUserAttributesParamsWithHTTPClient creates a new AllUserAttributesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAllUserAttributesParamsWithTimeout ¶
func NewAllUserAttributesParamsWithTimeout(timeout time.Duration) *AllUserAttributesParams
NewAllUserAttributesParamsWithTimeout creates a new AllUserAttributesParams object with the default values initialized, and the ability to set a timeout on a request
func (*AllUserAttributesParams) SetContext ¶
func (o *AllUserAttributesParams) SetContext(ctx context.Context)
SetContext adds the context to the all user attributes params
func (*AllUserAttributesParams) SetFields ¶
func (o *AllUserAttributesParams) SetFields(fields *string)
SetFields adds the fields to the all user attributes params
func (*AllUserAttributesParams) SetHTTPClient ¶
func (o *AllUserAttributesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the all user attributes params
func (*AllUserAttributesParams) SetSorts ¶
func (o *AllUserAttributesParams) SetSorts(sorts *string)
SetSorts adds the sorts to the all user attributes params
func (*AllUserAttributesParams) SetTimeout ¶
func (o *AllUserAttributesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the all user attributes params
func (*AllUserAttributesParams) WithContext ¶
func (o *AllUserAttributesParams) WithContext(ctx context.Context) *AllUserAttributesParams
WithContext adds the context to the all user attributes params
func (*AllUserAttributesParams) WithFields ¶
func (o *AllUserAttributesParams) WithFields(fields *string) *AllUserAttributesParams
WithFields adds the fields to the all user attributes params
func (*AllUserAttributesParams) WithHTTPClient ¶
func (o *AllUserAttributesParams) WithHTTPClient(client *http.Client) *AllUserAttributesParams
WithHTTPClient adds the HTTPClient to the all user attributes params
func (*AllUserAttributesParams) WithSorts ¶
func (o *AllUserAttributesParams) WithSorts(sorts *string) *AllUserAttributesParams
WithSorts adds the sorts to the all user attributes params
func (*AllUserAttributesParams) WithTimeout ¶
func (o *AllUserAttributesParams) WithTimeout(timeout time.Duration) *AllUserAttributesParams
WithTimeout adds the timeout to the all user attributes params
func (*AllUserAttributesParams) WriteToRequest ¶
func (o *AllUserAttributesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AllUserAttributesReader ¶
type AllUserAttributesReader struct {
// contains filtered or unexported fields
}
AllUserAttributesReader is a Reader for the AllUserAttributes structure.
func (*AllUserAttributesReader) ReadResponse ¶
func (o *AllUserAttributesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for user attribute API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new user attribute API client.
func (*Client) AllUserAttributeGroupValues ¶
func (a *Client) AllUserAttributeGroupValues(params *AllUserAttributeGroupValuesParams) (*AllUserAttributeGroupValuesOK, error)
AllUserAttributeGroupValues gets user attribute group values
### Returns all values of a user attribute defined by user groups, in precedence order.
A user may be a member of multiple groups which define different values for a given user attribute. The order of group-values in the response determines precedence for selecting which group-value applies to a given user. For more information, see [Set User Attribute Group Values](#!/UserAttribute/set_user_attribute_group_values).
Results will only include groups that the caller's user account has permission to see.
func (*Client) AllUserAttributes ¶
func (a *Client) AllUserAttributes(params *AllUserAttributesParams) (*AllUserAttributesOK, error)
AllUserAttributes gets all user attributes
### Get information about all user attributes.
func (*Client) CreateUserAttribute ¶
func (a *Client) CreateUserAttribute(params *CreateUserAttributeParams) (*CreateUserAttributeOK, error)
CreateUserAttribute creates user attribute
### Create a new user attribute.
func (*Client) DeleteUserAttribute ¶
func (a *Client) DeleteUserAttribute(params *DeleteUserAttributeParams) (*DeleteUserAttributeNoContent, error)
DeleteUserAttribute deletes user attribute
### Delete a user attribute (admin only).
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SetUserAttributeGroupValues ¶
func (a *Client) SetUserAttributeGroupValues(params *SetUserAttributeGroupValuesParams) (*SetUserAttributeGroupValuesOK, error)
SetUserAttributeGroupValues sets user attribute group values
### Define values for a user attribute across a set of groups, in priority order.
This function defines all values for a user attribute defined by user groups. This is a global setting, potentially affecting all users in the system. This function replaces any existing group value definitions for the indicated user attribute.
The value of a user attribute for a given user is determined by searching the following locations, in this order:
1. the user's account settings 2. the groups that the user is a member of 3. the default value of the user attribute, if any
The user may be a member of multiple groups which define different values for that user attribute. The order of items in the group_values parameter determines which group takes priority for that user. Lowest array index wins.
An alternate method to indicate the selection precedence of group-values is to assign numbers to the 'rank' property of each group-value object in the array. Lowest 'rank' value wins. If you use this technique, you must assign a rank value to every group-value object in the array.
To set a user attribute value for a single user, see [Set User Attribute User Value](#!/User/set_user_attribute_user_value). To set a user attribute value for all members of a group, see [Set User Attribute Group Value](#!/Group/update_user_attribute_group_value).
func (*Client) UpdateUserAttribute ¶
func (a *Client) UpdateUserAttribute(params *UpdateUserAttributeParams) (*UpdateUserAttributeOK, error)
UpdateUserAttribute updates user attribute
### Update a user attribute definition.
func (*Client) UserAttribute ¶
func (a *Client) UserAttribute(params *UserAttributeParams) (*UserAttributeOK, error)
UserAttribute gets user attribute
### Get information about a user attribute.
type CreateUserAttributeBadRequest ¶
CreateUserAttributeBadRequest handles this case with default header values.
Bad Request
func NewCreateUserAttributeBadRequest ¶
func NewCreateUserAttributeBadRequest() *CreateUserAttributeBadRequest
NewCreateUserAttributeBadRequest creates a CreateUserAttributeBadRequest with default headers values
func (*CreateUserAttributeBadRequest) Error ¶
func (o *CreateUserAttributeBadRequest) Error() string
type CreateUserAttributeConflict ¶
CreateUserAttributeConflict handles this case with default header values.
Resource Already Exists
func NewCreateUserAttributeConflict ¶
func NewCreateUserAttributeConflict() *CreateUserAttributeConflict
NewCreateUserAttributeConflict creates a CreateUserAttributeConflict with default headers values
func (*CreateUserAttributeConflict) Error ¶
func (o *CreateUserAttributeConflict) Error() string
type CreateUserAttributeNotFound ¶
CreateUserAttributeNotFound handles this case with default header values.
Not Found
func NewCreateUserAttributeNotFound ¶
func NewCreateUserAttributeNotFound() *CreateUserAttributeNotFound
NewCreateUserAttributeNotFound creates a CreateUserAttributeNotFound with default headers values
func (*CreateUserAttributeNotFound) Error ¶
func (o *CreateUserAttributeNotFound) Error() string
type CreateUserAttributeOK ¶
type CreateUserAttributeOK struct {
Payload *models.UserAttribute
}
CreateUserAttributeOK handles this case with default header values.
User Attribute
func NewCreateUserAttributeOK ¶
func NewCreateUserAttributeOK() *CreateUserAttributeOK
NewCreateUserAttributeOK creates a CreateUserAttributeOK with default headers values
func (*CreateUserAttributeOK) Error ¶
func (o *CreateUserAttributeOK) Error() string
type CreateUserAttributeParams ¶
type CreateUserAttributeParams struct { /*Body User Attribute */ Body *models.UserAttribute /*Fields Requested fields. */ Fields *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateUserAttributeParams contains all the parameters to send to the API endpoint for the create user attribute operation typically these are written to a http.Request
func NewCreateUserAttributeParams ¶
func NewCreateUserAttributeParams() *CreateUserAttributeParams
NewCreateUserAttributeParams creates a new CreateUserAttributeParams object with the default values initialized.
func NewCreateUserAttributeParamsWithContext ¶
func NewCreateUserAttributeParamsWithContext(ctx context.Context) *CreateUserAttributeParams
NewCreateUserAttributeParamsWithContext creates a new CreateUserAttributeParams object with the default values initialized, and the ability to set a context for a request
func NewCreateUserAttributeParamsWithHTTPClient ¶
func NewCreateUserAttributeParamsWithHTTPClient(client *http.Client) *CreateUserAttributeParams
NewCreateUserAttributeParamsWithHTTPClient creates a new CreateUserAttributeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateUserAttributeParamsWithTimeout ¶
func NewCreateUserAttributeParamsWithTimeout(timeout time.Duration) *CreateUserAttributeParams
NewCreateUserAttributeParamsWithTimeout creates a new CreateUserAttributeParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateUserAttributeParams) SetBody ¶
func (o *CreateUserAttributeParams) SetBody(body *models.UserAttribute)
SetBody adds the body to the create user attribute params
func (*CreateUserAttributeParams) SetContext ¶
func (o *CreateUserAttributeParams) SetContext(ctx context.Context)
SetContext adds the context to the create user attribute params
func (*CreateUserAttributeParams) SetFields ¶
func (o *CreateUserAttributeParams) SetFields(fields *string)
SetFields adds the fields to the create user attribute params
func (*CreateUserAttributeParams) SetHTTPClient ¶
func (o *CreateUserAttributeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create user attribute params
func (*CreateUserAttributeParams) SetTimeout ¶
func (o *CreateUserAttributeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create user attribute params
func (*CreateUserAttributeParams) WithBody ¶
func (o *CreateUserAttributeParams) WithBody(body *models.UserAttribute) *CreateUserAttributeParams
WithBody adds the body to the create user attribute params
func (*CreateUserAttributeParams) WithContext ¶
func (o *CreateUserAttributeParams) WithContext(ctx context.Context) *CreateUserAttributeParams
WithContext adds the context to the create user attribute params
func (*CreateUserAttributeParams) WithFields ¶
func (o *CreateUserAttributeParams) WithFields(fields *string) *CreateUserAttributeParams
WithFields adds the fields to the create user attribute params
func (*CreateUserAttributeParams) WithHTTPClient ¶
func (o *CreateUserAttributeParams) WithHTTPClient(client *http.Client) *CreateUserAttributeParams
WithHTTPClient adds the HTTPClient to the create user attribute params
func (*CreateUserAttributeParams) WithTimeout ¶
func (o *CreateUserAttributeParams) WithTimeout(timeout time.Duration) *CreateUserAttributeParams
WithTimeout adds the timeout to the create user attribute params
func (*CreateUserAttributeParams) WriteToRequest ¶
func (o *CreateUserAttributeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateUserAttributeReader ¶
type CreateUserAttributeReader struct {
// contains filtered or unexported fields
}
CreateUserAttributeReader is a Reader for the CreateUserAttribute structure.
func (*CreateUserAttributeReader) ReadResponse ¶
func (o *CreateUserAttributeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateUserAttributeUnprocessableEntity ¶
type CreateUserAttributeUnprocessableEntity struct {
Payload *models.ValidationError
}
CreateUserAttributeUnprocessableEntity handles this case with default header values.
Validation Error
func NewCreateUserAttributeUnprocessableEntity ¶
func NewCreateUserAttributeUnprocessableEntity() *CreateUserAttributeUnprocessableEntity
NewCreateUserAttributeUnprocessableEntity creates a CreateUserAttributeUnprocessableEntity with default headers values
func (*CreateUserAttributeUnprocessableEntity) Error ¶
func (o *CreateUserAttributeUnprocessableEntity) Error() string
type DeleteUserAttributeBadRequest ¶
DeleteUserAttributeBadRequest handles this case with default header values.
Bad Request
func NewDeleteUserAttributeBadRequest ¶
func NewDeleteUserAttributeBadRequest() *DeleteUserAttributeBadRequest
NewDeleteUserAttributeBadRequest creates a DeleteUserAttributeBadRequest with default headers values
func (*DeleteUserAttributeBadRequest) Error ¶
func (o *DeleteUserAttributeBadRequest) Error() string
type DeleteUserAttributeNoContent ¶
type DeleteUserAttributeNoContent struct {
Payload string
}
DeleteUserAttributeNoContent handles this case with default header values.
Successfully deleted.
func NewDeleteUserAttributeNoContent ¶
func NewDeleteUserAttributeNoContent() *DeleteUserAttributeNoContent
NewDeleteUserAttributeNoContent creates a DeleteUserAttributeNoContent with default headers values
func (*DeleteUserAttributeNoContent) Error ¶
func (o *DeleteUserAttributeNoContent) Error() string
type DeleteUserAttributeNotFound ¶
DeleteUserAttributeNotFound handles this case with default header values.
Not Found
func NewDeleteUserAttributeNotFound ¶
func NewDeleteUserAttributeNotFound() *DeleteUserAttributeNotFound
NewDeleteUserAttributeNotFound creates a DeleteUserAttributeNotFound with default headers values
func (*DeleteUserAttributeNotFound) Error ¶
func (o *DeleteUserAttributeNotFound) Error() string
type DeleteUserAttributeParams ¶
type DeleteUserAttributeParams struct { /*UserAttributeID Id of user_attribute */ UserAttributeID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteUserAttributeParams contains all the parameters to send to the API endpoint for the delete user attribute operation typically these are written to a http.Request
func NewDeleteUserAttributeParams ¶
func NewDeleteUserAttributeParams() *DeleteUserAttributeParams
NewDeleteUserAttributeParams creates a new DeleteUserAttributeParams object with the default values initialized.
func NewDeleteUserAttributeParamsWithContext ¶
func NewDeleteUserAttributeParamsWithContext(ctx context.Context) *DeleteUserAttributeParams
NewDeleteUserAttributeParamsWithContext creates a new DeleteUserAttributeParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteUserAttributeParamsWithHTTPClient ¶
func NewDeleteUserAttributeParamsWithHTTPClient(client *http.Client) *DeleteUserAttributeParams
NewDeleteUserAttributeParamsWithHTTPClient creates a new DeleteUserAttributeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteUserAttributeParamsWithTimeout ¶
func NewDeleteUserAttributeParamsWithTimeout(timeout time.Duration) *DeleteUserAttributeParams
NewDeleteUserAttributeParamsWithTimeout creates a new DeleteUserAttributeParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteUserAttributeParams) SetContext ¶
func (o *DeleteUserAttributeParams) SetContext(ctx context.Context)
SetContext adds the context to the delete user attribute params
func (*DeleteUserAttributeParams) SetHTTPClient ¶
func (o *DeleteUserAttributeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete user attribute params
func (*DeleteUserAttributeParams) SetTimeout ¶
func (o *DeleteUserAttributeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete user attribute params
func (*DeleteUserAttributeParams) SetUserAttributeID ¶
func (o *DeleteUserAttributeParams) SetUserAttributeID(userAttributeID int64)
SetUserAttributeID adds the userAttributeId to the delete user attribute params
func (*DeleteUserAttributeParams) WithContext ¶
func (o *DeleteUserAttributeParams) WithContext(ctx context.Context) *DeleteUserAttributeParams
WithContext adds the context to the delete user attribute params
func (*DeleteUserAttributeParams) WithHTTPClient ¶
func (o *DeleteUserAttributeParams) WithHTTPClient(client *http.Client) *DeleteUserAttributeParams
WithHTTPClient adds the HTTPClient to the delete user attribute params
func (*DeleteUserAttributeParams) WithTimeout ¶
func (o *DeleteUserAttributeParams) WithTimeout(timeout time.Duration) *DeleteUserAttributeParams
WithTimeout adds the timeout to the delete user attribute params
func (*DeleteUserAttributeParams) WithUserAttributeID ¶
func (o *DeleteUserAttributeParams) WithUserAttributeID(userAttributeID int64) *DeleteUserAttributeParams
WithUserAttributeID adds the userAttributeID to the delete user attribute params
func (*DeleteUserAttributeParams) WriteToRequest ¶
func (o *DeleteUserAttributeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUserAttributeReader ¶
type DeleteUserAttributeReader struct {
// contains filtered or unexported fields
}
DeleteUserAttributeReader is a Reader for the DeleteUserAttribute structure.
func (*DeleteUserAttributeReader) ReadResponse ¶
func (o *DeleteUserAttributeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetUserAttributeGroupValuesBadRequest ¶
SetUserAttributeGroupValuesBadRequest handles this case with default header values.
Bad Request
func NewSetUserAttributeGroupValuesBadRequest ¶
func NewSetUserAttributeGroupValuesBadRequest() *SetUserAttributeGroupValuesBadRequest
NewSetUserAttributeGroupValuesBadRequest creates a SetUserAttributeGroupValuesBadRequest with default headers values
func (*SetUserAttributeGroupValuesBadRequest) Error ¶
func (o *SetUserAttributeGroupValuesBadRequest) Error() string
type SetUserAttributeGroupValuesConflict ¶
SetUserAttributeGroupValuesConflict handles this case with default header values.
Resource Already Exists
func NewSetUserAttributeGroupValuesConflict ¶
func NewSetUserAttributeGroupValuesConflict() *SetUserAttributeGroupValuesConflict
NewSetUserAttributeGroupValuesConflict creates a SetUserAttributeGroupValuesConflict with default headers values
func (*SetUserAttributeGroupValuesConflict) Error ¶
func (o *SetUserAttributeGroupValuesConflict) Error() string
type SetUserAttributeGroupValuesNotFound ¶
SetUserAttributeGroupValuesNotFound handles this case with default header values.
Not Found
func NewSetUserAttributeGroupValuesNotFound ¶
func NewSetUserAttributeGroupValuesNotFound() *SetUserAttributeGroupValuesNotFound
NewSetUserAttributeGroupValuesNotFound creates a SetUserAttributeGroupValuesNotFound with default headers values
func (*SetUserAttributeGroupValuesNotFound) Error ¶
func (o *SetUserAttributeGroupValuesNotFound) Error() string
type SetUserAttributeGroupValuesOK ¶
type SetUserAttributeGroupValuesOK struct {
Payload []*models.UserAttributeGroupValue
}
SetUserAttributeGroupValuesOK handles this case with default header values.
Array of group values.
func NewSetUserAttributeGroupValuesOK ¶
func NewSetUserAttributeGroupValuesOK() *SetUserAttributeGroupValuesOK
NewSetUserAttributeGroupValuesOK creates a SetUserAttributeGroupValuesOK with default headers values
func (*SetUserAttributeGroupValuesOK) Error ¶
func (o *SetUserAttributeGroupValuesOK) Error() string
type SetUserAttributeGroupValuesParams ¶
type SetUserAttributeGroupValuesParams struct { /*Body Array of group values. */ Body []*models.UserAttributeGroupValue /*UserAttributeID Id of user attribute */ UserAttributeID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetUserAttributeGroupValuesParams contains all the parameters to send to the API endpoint for the set user attribute group values operation typically these are written to a http.Request
func NewSetUserAttributeGroupValuesParams ¶
func NewSetUserAttributeGroupValuesParams() *SetUserAttributeGroupValuesParams
NewSetUserAttributeGroupValuesParams creates a new SetUserAttributeGroupValuesParams object with the default values initialized.
func NewSetUserAttributeGroupValuesParamsWithContext ¶
func NewSetUserAttributeGroupValuesParamsWithContext(ctx context.Context) *SetUserAttributeGroupValuesParams
NewSetUserAttributeGroupValuesParamsWithContext creates a new SetUserAttributeGroupValuesParams object with the default values initialized, and the ability to set a context for a request
func NewSetUserAttributeGroupValuesParamsWithHTTPClient ¶
func NewSetUserAttributeGroupValuesParamsWithHTTPClient(client *http.Client) *SetUserAttributeGroupValuesParams
NewSetUserAttributeGroupValuesParamsWithHTTPClient creates a new SetUserAttributeGroupValuesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetUserAttributeGroupValuesParamsWithTimeout ¶
func NewSetUserAttributeGroupValuesParamsWithTimeout(timeout time.Duration) *SetUserAttributeGroupValuesParams
NewSetUserAttributeGroupValuesParamsWithTimeout creates a new SetUserAttributeGroupValuesParams object with the default values initialized, and the ability to set a timeout on a request
func (*SetUserAttributeGroupValuesParams) SetBody ¶
func (o *SetUserAttributeGroupValuesParams) SetBody(body []*models.UserAttributeGroupValue)
SetBody adds the body to the set user attribute group values params
func (*SetUserAttributeGroupValuesParams) SetContext ¶
func (o *SetUserAttributeGroupValuesParams) SetContext(ctx context.Context)
SetContext adds the context to the set user attribute group values params
func (*SetUserAttributeGroupValuesParams) SetHTTPClient ¶
func (o *SetUserAttributeGroupValuesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set user attribute group values params
func (*SetUserAttributeGroupValuesParams) SetTimeout ¶
func (o *SetUserAttributeGroupValuesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set user attribute group values params
func (*SetUserAttributeGroupValuesParams) SetUserAttributeID ¶
func (o *SetUserAttributeGroupValuesParams) SetUserAttributeID(userAttributeID int64)
SetUserAttributeID adds the userAttributeId to the set user attribute group values params
func (*SetUserAttributeGroupValuesParams) WithBody ¶
func (o *SetUserAttributeGroupValuesParams) WithBody(body []*models.UserAttributeGroupValue) *SetUserAttributeGroupValuesParams
WithBody adds the body to the set user attribute group values params
func (*SetUserAttributeGroupValuesParams) WithContext ¶
func (o *SetUserAttributeGroupValuesParams) WithContext(ctx context.Context) *SetUserAttributeGroupValuesParams
WithContext adds the context to the set user attribute group values params
func (*SetUserAttributeGroupValuesParams) WithHTTPClient ¶
func (o *SetUserAttributeGroupValuesParams) WithHTTPClient(client *http.Client) *SetUserAttributeGroupValuesParams
WithHTTPClient adds the HTTPClient to the set user attribute group values params
func (*SetUserAttributeGroupValuesParams) WithTimeout ¶
func (o *SetUserAttributeGroupValuesParams) WithTimeout(timeout time.Duration) *SetUserAttributeGroupValuesParams
WithTimeout adds the timeout to the set user attribute group values params
func (*SetUserAttributeGroupValuesParams) WithUserAttributeID ¶
func (o *SetUserAttributeGroupValuesParams) WithUserAttributeID(userAttributeID int64) *SetUserAttributeGroupValuesParams
WithUserAttributeID adds the userAttributeID to the set user attribute group values params
func (*SetUserAttributeGroupValuesParams) WriteToRequest ¶
func (o *SetUserAttributeGroupValuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetUserAttributeGroupValuesReader ¶
type SetUserAttributeGroupValuesReader struct {
// contains filtered or unexported fields
}
SetUserAttributeGroupValuesReader is a Reader for the SetUserAttributeGroupValues structure.
func (*SetUserAttributeGroupValuesReader) ReadResponse ¶
func (o *SetUserAttributeGroupValuesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetUserAttributeGroupValuesUnprocessableEntity ¶
type SetUserAttributeGroupValuesUnprocessableEntity struct {
Payload *models.ValidationError
}
SetUserAttributeGroupValuesUnprocessableEntity handles this case with default header values.
Validation Error
func NewSetUserAttributeGroupValuesUnprocessableEntity ¶
func NewSetUserAttributeGroupValuesUnprocessableEntity() *SetUserAttributeGroupValuesUnprocessableEntity
NewSetUserAttributeGroupValuesUnprocessableEntity creates a SetUserAttributeGroupValuesUnprocessableEntity with default headers values
func (*SetUserAttributeGroupValuesUnprocessableEntity) Error ¶
func (o *SetUserAttributeGroupValuesUnprocessableEntity) Error() string
type UpdateUserAttributeBadRequest ¶
UpdateUserAttributeBadRequest handles this case with default header values.
Bad Request
func NewUpdateUserAttributeBadRequest ¶
func NewUpdateUserAttributeBadRequest() *UpdateUserAttributeBadRequest
NewUpdateUserAttributeBadRequest creates a UpdateUserAttributeBadRequest with default headers values
func (*UpdateUserAttributeBadRequest) Error ¶
func (o *UpdateUserAttributeBadRequest) Error() string
type UpdateUserAttributeNotFound ¶
UpdateUserAttributeNotFound handles this case with default header values.
Not Found
func NewUpdateUserAttributeNotFound ¶
func NewUpdateUserAttributeNotFound() *UpdateUserAttributeNotFound
NewUpdateUserAttributeNotFound creates a UpdateUserAttributeNotFound with default headers values
func (*UpdateUserAttributeNotFound) Error ¶
func (o *UpdateUserAttributeNotFound) Error() string
type UpdateUserAttributeOK ¶
type UpdateUserAttributeOK struct {
Payload *models.UserAttribute
}
UpdateUserAttributeOK handles this case with default header values.
User Attribute
func NewUpdateUserAttributeOK ¶
func NewUpdateUserAttributeOK() *UpdateUserAttributeOK
NewUpdateUserAttributeOK creates a UpdateUserAttributeOK with default headers values
func (*UpdateUserAttributeOK) Error ¶
func (o *UpdateUserAttributeOK) Error() string
type UpdateUserAttributeParams ¶
type UpdateUserAttributeParams struct { /*Body User Attribute */ Body *models.UserAttribute /*Fields Requested fields. */ Fields *string /*UserAttributeID Id of user attribute */ UserAttributeID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateUserAttributeParams contains all the parameters to send to the API endpoint for the update user attribute operation typically these are written to a http.Request
func NewUpdateUserAttributeParams ¶
func NewUpdateUserAttributeParams() *UpdateUserAttributeParams
NewUpdateUserAttributeParams creates a new UpdateUserAttributeParams object with the default values initialized.
func NewUpdateUserAttributeParamsWithContext ¶
func NewUpdateUserAttributeParamsWithContext(ctx context.Context) *UpdateUserAttributeParams
NewUpdateUserAttributeParamsWithContext creates a new UpdateUserAttributeParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateUserAttributeParamsWithHTTPClient ¶
func NewUpdateUserAttributeParamsWithHTTPClient(client *http.Client) *UpdateUserAttributeParams
NewUpdateUserAttributeParamsWithHTTPClient creates a new UpdateUserAttributeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateUserAttributeParamsWithTimeout ¶
func NewUpdateUserAttributeParamsWithTimeout(timeout time.Duration) *UpdateUserAttributeParams
NewUpdateUserAttributeParamsWithTimeout creates a new UpdateUserAttributeParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateUserAttributeParams) SetBody ¶
func (o *UpdateUserAttributeParams) SetBody(body *models.UserAttribute)
SetBody adds the body to the update user attribute params
func (*UpdateUserAttributeParams) SetContext ¶
func (o *UpdateUserAttributeParams) SetContext(ctx context.Context)
SetContext adds the context to the update user attribute params
func (*UpdateUserAttributeParams) SetFields ¶
func (o *UpdateUserAttributeParams) SetFields(fields *string)
SetFields adds the fields to the update user attribute params
func (*UpdateUserAttributeParams) SetHTTPClient ¶
func (o *UpdateUserAttributeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user attribute params
func (*UpdateUserAttributeParams) SetTimeout ¶
func (o *UpdateUserAttributeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user attribute params
func (*UpdateUserAttributeParams) SetUserAttributeID ¶
func (o *UpdateUserAttributeParams) SetUserAttributeID(userAttributeID int64)
SetUserAttributeID adds the userAttributeId to the update user attribute params
func (*UpdateUserAttributeParams) WithBody ¶
func (o *UpdateUserAttributeParams) WithBody(body *models.UserAttribute) *UpdateUserAttributeParams
WithBody adds the body to the update user attribute params
func (*UpdateUserAttributeParams) WithContext ¶
func (o *UpdateUserAttributeParams) WithContext(ctx context.Context) *UpdateUserAttributeParams
WithContext adds the context to the update user attribute params
func (*UpdateUserAttributeParams) WithFields ¶
func (o *UpdateUserAttributeParams) WithFields(fields *string) *UpdateUserAttributeParams
WithFields adds the fields to the update user attribute params
func (*UpdateUserAttributeParams) WithHTTPClient ¶
func (o *UpdateUserAttributeParams) WithHTTPClient(client *http.Client) *UpdateUserAttributeParams
WithHTTPClient adds the HTTPClient to the update user attribute params
func (*UpdateUserAttributeParams) WithTimeout ¶
func (o *UpdateUserAttributeParams) WithTimeout(timeout time.Duration) *UpdateUserAttributeParams
WithTimeout adds the timeout to the update user attribute params
func (*UpdateUserAttributeParams) WithUserAttributeID ¶
func (o *UpdateUserAttributeParams) WithUserAttributeID(userAttributeID int64) *UpdateUserAttributeParams
WithUserAttributeID adds the userAttributeID to the update user attribute params
func (*UpdateUserAttributeParams) WriteToRequest ¶
func (o *UpdateUserAttributeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserAttributeReader ¶
type UpdateUserAttributeReader struct {
// contains filtered or unexported fields
}
UpdateUserAttributeReader is a Reader for the UpdateUserAttribute structure.
func (*UpdateUserAttributeReader) ReadResponse ¶
func (o *UpdateUserAttributeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserAttributeUnprocessableEntity ¶
type UpdateUserAttributeUnprocessableEntity struct {
Payload *models.ValidationError
}
UpdateUserAttributeUnprocessableEntity handles this case with default header values.
Validation Error
func NewUpdateUserAttributeUnprocessableEntity ¶
func NewUpdateUserAttributeUnprocessableEntity() *UpdateUserAttributeUnprocessableEntity
NewUpdateUserAttributeUnprocessableEntity creates a UpdateUserAttributeUnprocessableEntity with default headers values
func (*UpdateUserAttributeUnprocessableEntity) Error ¶
func (o *UpdateUserAttributeUnprocessableEntity) Error() string
type UserAttributeBadRequest ¶
UserAttributeBadRequest handles this case with default header values.
Bad Request
func NewUserAttributeBadRequest ¶
func NewUserAttributeBadRequest() *UserAttributeBadRequest
NewUserAttributeBadRequest creates a UserAttributeBadRequest with default headers values
func (*UserAttributeBadRequest) Error ¶
func (o *UserAttributeBadRequest) Error() string
type UserAttributeNotFound ¶
UserAttributeNotFound handles this case with default header values.
Not Found
func NewUserAttributeNotFound ¶
func NewUserAttributeNotFound() *UserAttributeNotFound
NewUserAttributeNotFound creates a UserAttributeNotFound with default headers values
func (*UserAttributeNotFound) Error ¶
func (o *UserAttributeNotFound) Error() string
type UserAttributeOK ¶
type UserAttributeOK struct {
Payload *models.UserAttribute
}
UserAttributeOK handles this case with default header values.
User Attribute
func NewUserAttributeOK ¶
func NewUserAttributeOK() *UserAttributeOK
NewUserAttributeOK creates a UserAttributeOK with default headers values
func (*UserAttributeOK) Error ¶
func (o *UserAttributeOK) Error() string
type UserAttributeParams ¶
type UserAttributeParams struct { /*Fields Requested fields. */ Fields *string /*UserAttributeID Id of user attribute */ UserAttributeID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserAttributeParams contains all the parameters to send to the API endpoint for the user attribute operation typically these are written to a http.Request
func NewUserAttributeParams ¶
func NewUserAttributeParams() *UserAttributeParams
NewUserAttributeParams creates a new UserAttributeParams object with the default values initialized.
func NewUserAttributeParamsWithContext ¶
func NewUserAttributeParamsWithContext(ctx context.Context) *UserAttributeParams
NewUserAttributeParamsWithContext creates a new UserAttributeParams object with the default values initialized, and the ability to set a context for a request
func NewUserAttributeParamsWithHTTPClient ¶
func NewUserAttributeParamsWithHTTPClient(client *http.Client) *UserAttributeParams
NewUserAttributeParamsWithHTTPClient creates a new UserAttributeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUserAttributeParamsWithTimeout ¶
func NewUserAttributeParamsWithTimeout(timeout time.Duration) *UserAttributeParams
NewUserAttributeParamsWithTimeout creates a new UserAttributeParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserAttributeParams) SetContext ¶
func (o *UserAttributeParams) SetContext(ctx context.Context)
SetContext adds the context to the user attribute params
func (*UserAttributeParams) SetFields ¶
func (o *UserAttributeParams) SetFields(fields *string)
SetFields adds the fields to the user attribute params
func (*UserAttributeParams) SetHTTPClient ¶
func (o *UserAttributeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user attribute params
func (*UserAttributeParams) SetTimeout ¶
func (o *UserAttributeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user attribute params
func (*UserAttributeParams) SetUserAttributeID ¶
func (o *UserAttributeParams) SetUserAttributeID(userAttributeID int64)
SetUserAttributeID adds the userAttributeId to the user attribute params
func (*UserAttributeParams) WithContext ¶
func (o *UserAttributeParams) WithContext(ctx context.Context) *UserAttributeParams
WithContext adds the context to the user attribute params
func (*UserAttributeParams) WithFields ¶
func (o *UserAttributeParams) WithFields(fields *string) *UserAttributeParams
WithFields adds the fields to the user attribute params
func (*UserAttributeParams) WithHTTPClient ¶
func (o *UserAttributeParams) WithHTTPClient(client *http.Client) *UserAttributeParams
WithHTTPClient adds the HTTPClient to the user attribute params
func (*UserAttributeParams) WithTimeout ¶
func (o *UserAttributeParams) WithTimeout(timeout time.Duration) *UserAttributeParams
WithTimeout adds the timeout to the user attribute params
func (*UserAttributeParams) WithUserAttributeID ¶
func (o *UserAttributeParams) WithUserAttributeID(userAttributeID int64) *UserAttributeParams
WithUserAttributeID adds the userAttributeID to the user attribute params
func (*UserAttributeParams) WriteToRequest ¶
func (o *UserAttributeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserAttributeReader ¶
type UserAttributeReader struct {
// contains filtered or unexported fields
}
UserAttributeReader is a Reader for the UserAttribute structure.
func (*UserAttributeReader) ReadResponse ¶
func (o *UserAttributeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- all_user_attribute_group_values_parameters.go
- all_user_attribute_group_values_responses.go
- all_user_attributes_parameters.go
- all_user_attributes_responses.go
- create_user_attribute_parameters.go
- create_user_attribute_responses.go
- delete_user_attribute_parameters.go
- delete_user_attribute_responses.go
- set_user_attribute_group_values_parameters.go
- set_user_attribute_group_values_responses.go
- update_user_attribute_parameters.go
- update_user_attribute_responses.go
- user_attribute_client.go
- user_attribute_parameters.go
- user_attribute_responses.go