UserPhotos¶
- class oci.identity_domains.models.UserPhotos(**kwargs)¶
Bases:
objectURLs of photos for the User
Attributes:
A constant which can be used with the type property of a UserPhotos.
A constant which can be used with the type property of a UserPhotos.
Gets the display of this UserPhotos.
Gets the primary of this UserPhotos.
[Required] Gets the type of this UserPhotos.
[Required] Gets the value of this UserPhotos.
Methods:
__init__(**kwargs)Initializes a new UserPhotos object with values from keyword arguments.
- TYPE_PHOTO = 'photo'¶
A constant which can be used with the type property of a UserPhotos. This constant has a value of “photo”
- TYPE_THUMBNAIL = 'thumbnail'¶
A constant which can be used with the type property of a UserPhotos. This constant has a value of “thumbnail”
- __init__(**kwargs)¶
Initializes a new UserPhotos object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
value (str) – The value to assign to the value property of this UserPhotos.
display (str) – The value to assign to the display property of this UserPhotos.
type (str) – The value to assign to the type property of this UserPhotos. Allowed values for this property are: “photo”, “thumbnail”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
primary (bool) – The value to assign to the primary property of this UserPhotos.
- property display¶
Gets the display of this UserPhotos. A human readable name, primarily used for display purposes.
- SCIM++ Properties:
idcsSearchable: false
multiValued: false
mutability: readWrite
required: false
returned: default
type: string
uniqueness: none
- Returns
The display of this UserPhotos.
- Return type
str
- property primary¶
Gets the primary of this UserPhotos. A Boolean value indicating the ‘primary’ or preferred attribute value for this attribute, e.g., the preferred photo or thumbnail. The primary attribute value ‘true’ MUST appear no more than once.
- SCIM++ Properties:
idcsSearchable: false
multiValued: false
mutability: readWrite
required: false
returned: default
type: boolean
uniqueness: none
- Returns
The primary of this UserPhotos.
- Return type
bool
- property type¶
[Required] Gets the type of this UserPhotos. A label indicating the attribute’s function; e.g., ‘photo’ or ‘thumbnail’.
- SCIM++ Properties:
idcsSearchable: false
multiValued: false
mutability: readWrite
required: true
returned: default
type: string
uniqueness: none
Allowed values for this property are: “photo”, “thumbnail”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The type of this UserPhotos.
- Return type
str
- property value¶
[Required] Gets the value of this UserPhotos. URL of a photo for the User
- SCIM++ Properties:
idcsSearchable: false
multiValued: false
mutability: readWrite
required: true
returned: default
type: reference
uniqueness: none
- Returns
The value of this UserPhotos.
- Return type
str