Class MultiTenantOrganizationJoinRequestRecord

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

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

  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static MultiTenantOrganizationJoinRequestRecord 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 MultiTenantOrganizationJoinRequestRecord
    • getAddedByTenantId

      @Nullable public String getAddedByTenantId()
      Gets the addedByTenantId property value. Tenant ID of the Microsoft Entra tenant that added a tenant to the multitenant organization. To reset a failed join request, set addedByTenantId to 00000000-0000-0000-0000-000000000000. Required.
      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>>
    • getMemberState

      @Nullable public MultiTenantOrganizationMemberState getMemberState()
      Gets the memberState property value. State of the tenant in the multitenant organization. The possible values are: pending, active, removed, unknownFutureValue. Tenants in the pending state must join the multitenant organization to participate in the multitenant organization. Tenants in the active state can participate in the multitenant organization. Tenants in the removed state are in the process of being removed from the multitenant organization. Read-only.
      Returns:
      a MultiTenantOrganizationMemberState
    • getRole

      @Nullable public MultiTenantOrganizationMemberRole getRole()
      Gets the role property value. Role of the tenant in the multitenant organization. The possible values are: owner, member (default), unknownFutureValue. Tenants with the owner role can manage the multitenant organization. There can be multiple tenants with the owner role in a multitenant organization. Tenants with the member role can participate in a multitenant organization.
      Returns:
      a MultiTenantOrganizationMemberRole
    • getTransitionDetails

      @Nullable public MultiTenantOrganizationJoinRequestTransitionDetails getTransitionDetails()
      Gets the transitionDetails property value. Details of the processing status for a tenant joining a multitenant organization. Read-only.
      Returns:
      a MultiTenantOrganizationJoinRequestTransitionDetails
    • 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
    • setAddedByTenantId

      public void setAddedByTenantId(@Nullable String value)
      Sets the addedByTenantId property value. Tenant ID of the Microsoft Entra tenant that added a tenant to the multitenant organization. To reset a failed join request, set addedByTenantId to 00000000-0000-0000-0000-000000000000. Required.
      Parameters:
      value - Value to set for the addedByTenantId property.
    • setMemberState

      public void setMemberState(@Nullable MultiTenantOrganizationMemberState value)
      Sets the memberState property value. State of the tenant in the multitenant organization. The possible values are: pending, active, removed, unknownFutureValue. Tenants in the pending state must join the multitenant organization to participate in the multitenant organization. Tenants in the active state can participate in the multitenant organization. Tenants in the removed state are in the process of being removed from the multitenant organization. Read-only.
      Parameters:
      value - Value to set for the memberState property.
    • setRole

      public void setRole(@Nullable MultiTenantOrganizationMemberRole value)
      Sets the role property value. Role of the tenant in the multitenant organization. The possible values are: owner, member (default), unknownFutureValue. Tenants with the owner role can manage the multitenant organization. There can be multiple tenants with the owner role in a multitenant organization. Tenants with the member role can participate in a multitenant organization.
      Parameters:
      value - Value to set for the role property.
    • setTransitionDetails

      public void setTransitionDetails(@Nullable MultiTenantOrganizationJoinRequestTransitionDetails value)
      Sets the transitionDetails property value. Details of the processing status for a tenant joining a multitenant organization. Read-only.
      Parameters:
      value - Value to set for the transitionDetails property.