microsoftgraph / msgraph-sdk-android

Microsoft Graph SDK for Android! https://graph.microsoft.io
Other
51 stars 43 forks source link

mobilePhone is single String instead of List #61

Closed iljaX closed 7 years ago

iljaX commented 7 years ago

Hi,

I think the mobilePhone field should also be a List like homePhones/businessPhones.

/**
 * The Home Phones.
 * 
 */
@SerializedName("homePhones")
@Expose
public java.util.List<String> homePhones;

/**
 * The Mobile Phone.
 * 
 */
@SerializedName("mobilePhone")
@Expose
public String mobilePhone;

/**
 * The Business Phones.
 * 
 */
@SerializedName("businessPhones")
@Expose
public java.util.List<String> businessPhones;

Thank you. Best regards Ilja

caitlinrussell commented 7 years ago

This is not defined by the SDK but by the Graph service. Azure AD does not currently store multiple mobile phone numbers. If you would like to see this as a feature, you can submit it to UserVoice