Class ConnectedOrganization

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

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

    • ConnectedOrganization

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

    • createFromDiscriminatorValue

      @Nonnull public static ConnectedOrganization 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 ConnectedOrganization
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
      Returns:
      a OffsetDateTime
    • getDescription

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

      @Nullable public String getDisplayName()
      Gets the displayName property value. The display name of the connected organization. Supports $filter (eq).
      Returns:
      a String
    • getExternalSponsors

      @Nullable public List<DirectoryObject> getExternalSponsors()
      Gets the externalSponsors property value. The externalSponsors property
      Returns:
      a List<DirectoryObject>
    • 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>>
    • getIdentitySources

      @Nullable public List<IdentitySource> getIdentitySources()
      Gets the identitySources property value. The identity sources in this connected organization, one of azureActiveDirectoryTenant, crossCloudAzureActiveDirectoryTenant, domainIdentitySource, externalDomainFederation, or socialIdentitySource. Nullable.
      Returns:
      a List<IdentitySource>
    • getInternalSponsors

      @Nullable public List<DirectoryObject> getInternalSponsors()
      Gets the internalSponsors property value. The internalSponsors property
      Returns:
      a List<DirectoryObject>
    • getModifiedDateTime

      @Nullable public OffsetDateTime getModifiedDateTime()
      Gets the modifiedDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
      Returns:
      a OffsetDateTime
    • getState

      @Nullable public ConnectedOrganizationState getState()
      Gets the state property value. The state of a connected organization defines whether assignment policies with requestor scope type AllConfiguredConnectedOrganizationSubjects are applicable or not. The possible values are: configured, proposed, unknownFutureValue.
      Returns:
      a ConnectedOrganizationState
    • 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. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setDescription

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

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The display name of the connected organization. Supports $filter (eq).
      Parameters:
      value - Value to set for the displayName property.
    • setExternalSponsors

      public void setExternalSponsors(@Nullable List<DirectoryObject> value)
      Sets the externalSponsors property value. The externalSponsors property
      Parameters:
      value - Value to set for the externalSponsors property.
    • setIdentitySources

      public void setIdentitySources(@Nullable List<IdentitySource> value)
      Sets the identitySources property value. The identity sources in this connected organization, one of azureActiveDirectoryTenant, crossCloudAzureActiveDirectoryTenant, domainIdentitySource, externalDomainFederation, or socialIdentitySource. Nullable.
      Parameters:
      value - Value to set for the identitySources property.
    • setInternalSponsors

      public void setInternalSponsors(@Nullable List<DirectoryObject> value)
      Sets the internalSponsors property value. The internalSponsors property
      Parameters:
      value - Value to set for the internalSponsors property.
    • setModifiedDateTime

      public void setModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the modifiedDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
      Parameters:
      value - Value to set for the modifiedDateTime property.
    • setState

      public void setState(@Nullable ConnectedOrganizationState value)
      Sets the state property value. The state of a connected organization defines whether assignment policies with requestor scope type AllConfiguredConnectedOrganizationSubjects are applicable or not. The possible values are: configured, proposed, unknownFutureValue.
      Parameters:
      value - Value to set for the state property.