Class PersonOrGroupColumn.PersonOrGroupColumnBuilder
java.lang.Object
com.amilesend.onedrive.resource.site.type.PersonOrGroupColumn.PersonOrGroupColumnBuilder
- Enclosing class:
PersonOrGroupColumn
-
Method Summary
Modifier and TypeMethodDescriptionallowMultipleSelection(boolean allowMultipleSelection) Indicates if multiple values can be selected.build()chooseFromType(String chooseFromType) The permitted selection constraint.How the information about the person or group should be shown.toString()
-
Method Details
-
allowMultipleSelection
public PersonOrGroupColumn.PersonOrGroupColumnBuilder allowMultipleSelection(boolean allowMultipleSelection) Indicates if multiple values can be selected.- Returns:
this.
-
displayAs
How the information about the person or group should be shown. Valid values (but not limited to):- account
- department
- firstName
- id
- lastName
- mobilePhone
- name
- nameWithPictureAndDetails
- nameWithPresence
- office
- pictureOnly36x36
- pictureOnly48x48
- pictureOnly72x72
- sipAddress
- title
- userName
- workEmail
- workPhone
- Returns:
this.
-
chooseFromType
The permitted selection constraint. Valid values:- peopleAndGroups
- peopleOnly
- Returns:
this.
-
build
-
toString
-