Package com.microsoft.graph.models
Class AccessPackageResourceScope
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AccessPackageResourceScope
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class AccessPackageResourceScope
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 AccessPackageResourceScopecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the description property value.Gets the displayName property value.The deserialization information for the current modelGets the isRootScope property value.Gets the originId property value.Gets the originSystem property value.Gets the resource property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetDescription(String value) Sets the description property value.voidsetDisplayName(String value) Sets the displayName property value.voidsetIsRootScope(Boolean value) Sets the isRootScope property value.voidsetOriginId(String value) Sets the originId property value.voidsetOriginSystem(String value) Sets the originSystem property value.voidsetResource(AccessPackageResource value) Sets the resource property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
AccessPackageResourceScope
public AccessPackageResourceScope()Instantiates a newAccessPackageResourceScopeand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static AccessPackageResourceScope 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
AccessPackageResourceScope
-
getDescription
Gets the description property value. The description of the scope.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The display name of the scope.- 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>>
-
getIsRootScope
Gets the isRootScope property value. True if the scopes are arranged in a hierarchy and this is the top or root scope of the resource.- Returns:
- a
Boolean
-
getOriginId
Gets the originId property value. The unique identifier for the scope in the resource as defined in the origin system.- Returns:
- a
String
-
getOriginSystem
Gets the originSystem property value. The origin system for the scope.- Returns:
- a
String
-
getResource
Gets the resource property value. The resource property- Returns:
- a
AccessPackageResource
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setDescription
Sets the description property value. The description of the scope.- Parameters:
value- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. The display name of the scope.- Parameters:
value- Value to set for the displayName property.
-
setIsRootScope
Sets the isRootScope property value. True if the scopes are arranged in a hierarchy and this is the top or root scope of the resource.- Parameters:
value- Value to set for the isRootScope property.
-
setOriginId
Sets the originId property value. The unique identifier for the scope in the resource as defined in the origin system.- Parameters:
value- Value to set for the originId property.
-
setOriginSystem
Sets the originSystem property value. The origin system for the scope.- Parameters:
value- Value to set for the originSystem property.
-
setResource
Sets the resource property value. The resource property- Parameters:
value- Value to set for the resource property.
-