Class IdentityUserFlowAttributeAssignment

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.IdentityUserFlowAttributeAssignment
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class IdentityUserFlowAttributeAssignment extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static IdentityUserFlowAttributeAssignment createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a IdentityUserFlowAttributeAssignment
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The display name of the identityUserFlowAttribute within a user flow.
      Returns:
      a String
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsOptional

      @Nullable public Boolean getIsOptional()
      Gets the isOptional property value. Determines whether the identityUserFlowAttribute is optional. true means the user doesn't have to provide a value. false means the user can't complete sign-up without providing a value.
      Returns:
      a Boolean
    • getRequiresVerification

      @Nullable public Boolean getRequiresVerification()
      Gets the requiresVerification property value. Determines whether the identityUserFlowAttribute requires verification, and is only used for verifying the user's phone number or email address.
      Returns:
      a Boolean
    • getUserAttribute

      @Nullable public IdentityUserFlowAttribute getUserAttribute()
      Gets the userAttribute property value. The user attribute that you want to add to your user flow.
      Returns:
      a IdentityUserFlowAttribute
    • getUserAttributeValues

      @Nullable public List<UserAttributeValuesItem> getUserAttributeValues()
      Gets the userAttributeValues property value. The input options for the user flow attribute. Only applicable when the userInputType is radioSingleSelect, dropdownSingleSelect, or checkboxMultiSelect.
      Returns:
      a List<UserAttributeValuesItem>
    • getUserInputType

      @Nullable public IdentityUserFlowAttributeInputType getUserInputType()
      Gets the userInputType property value. The userInputType property
      Returns:
      a IdentityUserFlowAttributeInputType
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The display name of the identityUserFlowAttribute within a user flow.
      Parameters:
      value - Value to set for the displayName property.
    • setIsOptional

      public void setIsOptional(@Nullable Boolean value)
      Sets the isOptional property value. Determines whether the identityUserFlowAttribute is optional. true means the user doesn't have to provide a value. false means the user can't complete sign-up without providing a value.
      Parameters:
      value - Value to set for the isOptional property.
    • setRequiresVerification

      public void setRequiresVerification(@Nullable Boolean value)
      Sets the requiresVerification property value. Determines whether the identityUserFlowAttribute requires verification, and is only used for verifying the user's phone number or email address.
      Parameters:
      value - Value to set for the requiresVerification property.
    • setUserAttribute

      public void setUserAttribute(@Nullable IdentityUserFlowAttribute value)
      Sets the userAttribute property value. The user attribute that you want to add to your user flow.
      Parameters:
      value - Value to set for the userAttribute property.
    • setUserAttributeValues

      public void setUserAttributeValues(@Nullable List<UserAttributeValuesItem> value)
      Sets the userAttributeValues property value. The input options for the user flow attribute. Only applicable when the userInputType is radioSingleSelect, dropdownSingleSelect, or checkboxMultiSelect.
      Parameters:
      value - Value to set for the userAttributeValues property.
    • setUserInputType

      public void setUserInputType(@Nullable IdentityUserFlowAttributeInputType value)
      Sets the userInputType property value. The userInputType property
      Parameters:
      value - Value to set for the userInputType property.