Package com.microsoft.graph.models
Class MultiTenantOrganization
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.MultiTenantOrganization
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class MultiTenantOrganization
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MultiTenantOrganizationcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the createdDateTime property value.Gets the description property value.Gets the displayName property value.The deserialization information for the current modelGets the joinRequest property value.getState()Gets the state property value.Gets the tenants property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetCreatedDateTime(OffsetDateTime value) Sets the createdDateTime property value.voidsetDescription(String value) Sets the description property value.voidsetDisplayName(String value) Sets the displayName property value.voidSets the joinRequest property value.voidSets the state property value.voidSets the tenants property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
MultiTenantOrganization
public MultiTenantOrganization()Instantiates a newMultiTenantOrganizationand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static MultiTenantOrganization 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
MultiTenantOrganization
-
getCreatedDateTime
Gets the createdDateTime property value. Date when multitenant organization was created. Read-only.- Returns:
- a
OffsetDateTime
-
getDescription
Gets the description property value. Description of the multitenant organization.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. Display name of 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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getJoinRequest
Gets the joinRequest property value. Defines the status of a tenant joining a multitenant organization.- Returns:
- a
MultiTenantOrganizationJoinRequestRecord
-
getState
Gets the state property value. State of the multitenant organization. The possible values are: active, inactive, unknownFutureValue. active indicates the multitenant organization is created. inactive indicates the multitenant organization isn't created. Read-only.- Returns:
- a
MultiTenantOrganizationState
-
getTenants
Gets the tenants property value. Defines tenants added to a multitenant organization.- Returns:
- a
List<MultiTenantOrganizationMember>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setCreatedDateTime
Sets the createdDateTime property value. Date when multitenant organization was created. Read-only.- Parameters:
value- Value to set for the createdDateTime property.
-
setDescription
Sets the description property value. Description of the multitenant organization.- Parameters:
value- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. Display name of the multitenant organization.- Parameters:
value- Value to set for the displayName property.
-
setJoinRequest
Sets the joinRequest property value. Defines the status of a tenant joining a multitenant organization.- Parameters:
value- Value to set for the joinRequest property.
-
setState
Sets the state property value. State of the multitenant organization. The possible values are: active, inactive, unknownFutureValue. active indicates the multitenant organization is created. inactive indicates the multitenant organization isn't created. Read-only.- Parameters:
value- Value to set for the state property.
-
setTenants
Sets the tenants property value. Defines tenants added to a multitenant organization.- Parameters:
value- Value to set for the tenants property.
-