Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newMultiTenantOrganizationJoinRequestRecord
and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the addedByTenantId property value.The deserialization information for the current modelGets the memberState property value.getRole()
Gets the role property value.Gets the transitionDetails property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAddedByTenantId
(String value) Sets the addedByTenantId property value.void
Sets the memberState property value.void
Sets the role property value.void
Sets the transitionDetails property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
MultiTenantOrganizationJoinRequestRecord
public MultiTenantOrganizationJoinRequestRecord()Instantiates a newMultiTenantOrganizationJoinRequestRecord
and sets the default values.
-
-
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
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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
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
Gets the transitionDetails property value. Details of the processing status for a tenant joining a multitenant organization. Read-only. -
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAddedByTenantId
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
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
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.
-