MePhotos

class oci.identity_domains.models.MePhotos(**kwargs)

Bases: object

URLs of photos for the User

Attributes

TYPE_PHOTO A constant which can be used with the type property of a MePhotos.
TYPE_THUMBNAIL A constant which can be used with the type property of a MePhotos.
display Gets the display of this MePhotos.
primary Gets the primary of this MePhotos.
type [Required] Gets the type of this MePhotos.
value [Required] Gets the value of this MePhotos.

Methods

__init__(**kwargs) Initializes a new MePhotos object with values from keyword arguments.
TYPE_PHOTO = 'photo'

A constant which can be used with the type property of a MePhotos. This constant has a value of “photo”

TYPE_THUMBNAIL = 'thumbnail'

A constant which can be used with the type property of a MePhotos. This constant has a value of “thumbnail”

__init__(**kwargs)

Initializes a new MePhotos 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 MePhotos.
  • display (str) – The value to assign to the display property of this MePhotos.
  • type (str) – The value to assign to the type property of this MePhotos. 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 MePhotos.
display

Gets the display of this MePhotos. 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 MePhotos.
Return type:str
primary

Gets the primary of this MePhotos. 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 MePhotos.
Return type:bool
type

[Required] Gets the type of this MePhotos. 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 MePhotos.
Return type:str
value

[Required] Gets the value of this MePhotos. 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 MePhotos.
Return type:str