Class MicrosoftGraphPersonType

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPersonType

public final class MicrosoftGraphPersonType extends Object
personType.
  • Constructor Details

    • MicrosoftGraphPersonType

      public MicrosoftGraphPersonType()
      Creates an instance of MicrosoftGraphPersonType class.
  • Method Details

    • classProperty

      public String classProperty()
      Get the classProperty property: The type of data source, such as Person.
      Returns:
      the classProperty value.
    • withClassProperty

      public MicrosoftGraphPersonType withClassProperty(String classProperty)
      Set the classProperty property: The type of data source, such as Person.
      Parameters:
      classProperty - the classProperty value to set.
      Returns:
      the MicrosoftGraphPersonType object itself.
    • subclass

      public String subclass()
      Get the subclass property: The secondary type of data source, such as OrganizationUser.
      Returns:
      the subclass value.
    • withSubclass

      public MicrosoftGraphPersonType withSubclass(String subclass)
      Set the subclass property: The secondary type of data source, such as OrganizationUser.
      Parameters:
      subclass - the subclass value to set.
      Returns:
      the MicrosoftGraphPersonType object itself.
    • additionalProperties

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

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

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