Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ConnectedOrganization
createFromDiscriminatorValue
(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.Gets the externalSponsors property value.The deserialization information for the current modelGets the identitySources property value.Gets the internalSponsors property value.Gets the modifiedDateTime property value.getState()
Gets the state property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setDescription
(String value) Sets the description property value.void
setDisplayName
(String value) Sets the displayName property value.void
setExternalSponsors
(List<DirectoryObject> value) Sets the externalSponsors property value.void
setIdentitySources
(List<IdentitySource> value) Sets the identitySources property value.void
setInternalSponsors
(List<DirectoryObject> value) Sets the internalSponsors property value.void
Sets the modifiedDateTime property value.void
Sets the state property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ConnectedOrganization
public ConnectedOrganization()Instantiates a newConnectedOrganization
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
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
Gets the description property value. The description of the connected organization.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The display name of the connected organization. Supports $filter (eq).- Returns:
- a
String
-
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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
Gets the internalSponsors property value. The internalSponsors property- Returns:
- a
List<DirectoryObject>
-
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
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 -
setCreatedDateTime
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
Sets the description property value. The description of the connected organization.- Parameters:
value
- Value to set for the description property.
-
setDisplayName
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
Sets the externalSponsors property value. The externalSponsors property- Parameters:
value
- Value to set for the externalSponsors property.
-
setIdentitySources
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
Sets the internalSponsors property value. The internalSponsors property- Parameters:
value
- Value to set for the internalSponsors property.
-
setModifiedDateTime
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
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.
-