Class MicrosoftGraphPersonOrGroupColumn


  • public final class MicrosoftGraphPersonOrGroupColumn
    extends Object
    personOrGroupColumn.
    • Constructor Detail

      • MicrosoftGraphPersonOrGroupColumn

        public MicrosoftGraphPersonOrGroupColumn()
    • Method Detail

      • allowMultipleSelection

        public Boolean allowMultipleSelection()
        Get the allowMultipleSelection property: Indicates whether multiple values can be selected from the source.
        Returns:
        the allowMultipleSelection value.
      • withAllowMultipleSelection

        public MicrosoftGraphPersonOrGroupColumn withAllowMultipleSelection​(Boolean allowMultipleSelection)
        Set the allowMultipleSelection property: Indicates whether multiple values can be selected from the source.
        Parameters:
        allowMultipleSelection - the allowMultipleSelection value to set.
        Returns:
        the MicrosoftGraphPersonOrGroupColumn object itself.
      • chooseFromType

        public String chooseFromType()
        Get the chooseFromType property: Whether to allow selection of people only, or people and groups. Must be one of peopleAndGroups or peopleOnly.
        Returns:
        the chooseFromType value.
      • withChooseFromType

        public MicrosoftGraphPersonOrGroupColumn withChooseFromType​(String chooseFromType)
        Set the chooseFromType property: Whether to allow selection of people only, or people and groups. Must be one of peopleAndGroups or peopleOnly.
        Parameters:
        chooseFromType - the chooseFromType value to set.
        Returns:
        the MicrosoftGraphPersonOrGroupColumn object itself.
      • displayAs

        public String displayAs()
        Get the displayAs property: How to display the information about the person or group chosen. See below.
        Returns:
        the displayAs value.
      • withDisplayAs

        public MicrosoftGraphPersonOrGroupColumn withDisplayAs​(String displayAs)
        Set the displayAs property: How to display the information about the person or group chosen. See below.
        Parameters:
        displayAs - the displayAs value to set.
        Returns:
        the MicrosoftGraphPersonOrGroupColumn object itself.
      • additionalProperties

        public Map<String,​Object> additionalProperties()
        Get the additionalProperties property: personOrGroupColumn.
        Returns:
        the additionalProperties value.
      • withAdditionalProperties

        public MicrosoftGraphPersonOrGroupColumn withAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: personOrGroupColumn.
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the MicrosoftGraphPersonOrGroupColumn object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.