Class UserPhoneNumbers
Phone numbers
Inherited Members
Namespace: Oci.IdentitydomainsService.Models
Assembly: OCI.DotNetSDK.Identitydomains.dll
Syntax
public class UserPhoneNumbers
Properties
Display
Declaration
[JsonProperty(PropertyName = "display")]
public string Display { get; set; }
Property Value
Type | Description |
---|---|
string | A human-readable name, primarily used for display purposes. READ ONLY
|
Primary
Declaration
[JsonProperty(PropertyName = "primary")]
public bool? Primary { get; set; }
Property Value
Type | Description |
---|---|
bool? | A Boolean value that indicates the 'primary' or preferred attribute value for this attribute--for example, the preferred phone number or primary phone number. The primary attribute value 'true' MUST appear no more than once.
|
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public UserPhoneNumbers.TypeEnum? Type { get; set; }
Property Value
Type | Description |
---|---|
UserPhoneNumbers.TypeEnum? | A label that indicates the attribute's function- for example, 'work', 'home', or 'mobile'
|
Remarks
Required
Value
Declaration
[Required(ErrorMessage = "Value is required.")]
[JsonProperty(PropertyName = "value")]
public string Value { get; set; }
Property Value
Type | Description |
---|---|
string | User's phone number
|
Remarks
Required
Verified
Declaration
[JsonProperty(PropertyName = "verified")]
public bool? Verified { get; set; }
Property Value
Type | Description |
---|---|
bool? | A Boolean value that indicates if the phone number is verified.
|