Class MultiTenantOrganizationMember

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

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

    • MultiTenantOrganizationMember

      public MultiTenantOrganizationMember()
      Instantiates a new MultiTenantOrganizationMember and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

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

      @Nullable public UUID getAddedByTenantId()
      Gets the addedByTenantId property value. Tenant ID of the tenant that added the tenant to the multitenant organization. Read-only.
      Returns:
      a UUID
    • getAddedDateTime

      @Nullable public OffsetDateTime getAddedDateTime()
      Gets the addedDateTime property value. Date and time when the tenant was added to the multitenant organization. Read-only.
      Returns:
      a OffsetDateTime
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. Display name of the tenant added to the multitenant organization.
      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 DirectoryObject
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getJoinedDateTime

      @Nullable public OffsetDateTime getJoinedDateTime()
      Gets the joinedDateTime property value. Date and time when the tenant joined the multitenant organization. Read-only.
      Returns:
      a OffsetDateTime
    • 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 but tenants with the member role can only participate in a multitenant organization. There can be multiple tenants with the owner role in a multitenant organization.
      Returns:
      a MultiTenantOrganizationMemberRole
    • getState

      @Nullable public MultiTenantOrganizationMemberState getState()
      Gets the state 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
    • getTenantId

      @Nullable public String getTenantId()
      Gets the tenantId property value. Tenant ID of the Microsoft Entra tenant added to the multitenant organization. Set at the time tenant is added.Supports $filter. Key.
      Returns:
      a String
    • getTransitionDetails

      @Nullable public MultiTenantOrganizationMemberTransitionDetails getTransitionDetails()
      Gets the transitionDetails property value. Details of the processing status for a tenant in a multitenant organization. Read-only. Nullable.
      Returns:
      a MultiTenantOrganizationMemberTransitionDetails
    • 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 DirectoryObject
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAddedByTenantId

      public void setAddedByTenantId(@Nullable UUID value)
      Sets the addedByTenantId property value. Tenant ID of the tenant that added the tenant to the multitenant organization. Read-only.
      Parameters:
      value - Value to set for the addedByTenantId property.
    • setAddedDateTime

      public void setAddedDateTime(@Nullable OffsetDateTime value)
      Sets the addedDateTime property value. Date and time when the tenant was added to the multitenant organization. Read-only.
      Parameters:
      value - Value to set for the addedDateTime property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. Display name of the tenant added to the multitenant organization.
      Parameters:
      value - Value to set for the displayName property.
    • setJoinedDateTime

      public void setJoinedDateTime(@Nullable OffsetDateTime value)
      Sets the joinedDateTime property value. Date and time when the tenant joined the multitenant organization. Read-only.
      Parameters:
      value - Value to set for the joinedDateTime 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 but tenants with the member role can only participate in a multitenant organization. There can be multiple tenants with the owner role in a multitenant organization.
      Parameters:
      value - Value to set for the role property.
    • setState

      public void setState(@Nullable MultiTenantOrganizationMemberState value)
      Sets the state 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 state property.
    • setTenantId

      public void setTenantId(@Nullable String value)
      Sets the tenantId property value. Tenant ID of the Microsoft Entra tenant added to the multitenant organization. Set at the time tenant is added.Supports $filter. Key.
      Parameters:
      value - Value to set for the tenantId property.
    • setTransitionDetails

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