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
  • Constructor Details

    • MultiTenantOrganization

      public MultiTenantOrganization()
      Instantiates a new MultiTenantOrganization and 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

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. Date when multitenant organization was created. Read-only.
      Returns:
      a OffsetDateTime
    • getDescription

      @Nullable public String getDescription()
      Gets the description property value. Description of the multitenant organization.
      Returns:
      a String
    • getDisplayName

      @Nullable public 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:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getJoinRequest

      @Nullable public MultiTenantOrganizationJoinRequestRecord getJoinRequest()
      Gets the joinRequest property value. Defines the status of a tenant joining a multitenant organization.
      Returns:
      a MultiTenantOrganizationJoinRequestRecord
    • getState

      @Nullable public MultiTenantOrganizationState 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

      @Nullable public List<MultiTenantOrganizationMember> 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
      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
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. Date when multitenant organization was created. Read-only.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. Description of the multitenant organization.
      Parameters:
      value - Value to set for the description property.
    • setDisplayName

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

      public void setJoinRequest(@Nullable MultiTenantOrganizationJoinRequestRecord value)
      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

      public void setState(@Nullable MultiTenantOrganizationState value)
      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

      public void setTenants(@Nullable List<MultiTenantOrganizationMember> value)
      Sets the tenants property value. Defines tenants added to a multitenant organization.
      Parameters:
      value - Value to set for the tenants property.