Package com.microsoft.graph.models
Class AccessPackageSubject
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AccessPackageSubject
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class AccessPackageSubject
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 AccessPackageSubject
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the connectedOrganization property value.Gets the displayName property value.getEmail()
Gets the email property value.The deserialization information for the current modelGets the objectId property value.Gets the onPremisesSecurityIdentifier property value.Gets the principalName property value.Gets the subjectType property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the connectedOrganization property value.void
setDisplayName
(String value) Sets the displayName property value.void
Sets the email property value.void
setObjectId
(String value) Sets the objectId property value.void
Sets the onPremisesSecurityIdentifier property value.void
setPrincipalName
(String value) Sets the principalName property value.void
Sets the subjectType property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
AccessPackageSubject
public AccessPackageSubject()Instantiates a newAccessPackageSubject
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static AccessPackageSubject 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
AccessPackageSubject
-
getConnectedOrganization
Gets the connectedOrganization property value. The connected organization of the subject. Read-only. Nullable.- Returns:
- a
ConnectedOrganization
-
getDisplayName
Gets the displayName property value. The display name of the subject.- Returns:
- a
String
-
getEmail
Gets the email property value. The email address of the subject.- 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>>
-
getObjectId
Gets the objectId property value. The object identifier of the subject. null if the subject isn't yet a user in the tenant.- Returns:
- a
String
-
getOnPremisesSecurityIdentifier
Gets the onPremisesSecurityIdentifier property value. A string representation of the principal's security identifier, if known, or null if the subject doesn't have a security identifier.- Returns:
- a
String
-
getPrincipalName
Gets the principalName property value. The principal name, if known, of the subject.- Returns:
- a
String
-
getSubjectType
Gets the subjectType property value. The resource type of the subject. The possible values are: notSpecified, user, servicePrincipal, unknownFutureValue.- Returns:
- a
AccessPackageSubjectType
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setConnectedOrganization
Sets the connectedOrganization property value. The connected organization of the subject. Read-only. Nullable.- Parameters:
value
- Value to set for the connectedOrganization property.
-
setDisplayName
Sets the displayName property value. The display name of the subject.- Parameters:
value
- Value to set for the displayName property.
-
setEmail
Sets the email property value. The email address of the subject.- Parameters:
value
- Value to set for the email property.
-
setObjectId
Sets the objectId property value. The object identifier of the subject. null if the subject isn't yet a user in the tenant.- Parameters:
value
- Value to set for the objectId property.
-
setOnPremisesSecurityIdentifier
Sets the onPremisesSecurityIdentifier property value. A string representation of the principal's security identifier, if known, or null if the subject doesn't have a security identifier.- Parameters:
value
- Value to set for the onPremisesSecurityIdentifier property.
-
setPrincipalName
Sets the principalName property value. The principal name, if known, of the subject.- Parameters:
value
- Value to set for the principalName property.
-
setSubjectType
Sets the subjectType property value. The resource type of the subject. The possible values are: notSpecified, user, servicePrincipal, unknownFutureValue.- Parameters:
value
- Value to set for the subjectType property.
-