Class MicrosoftGraphItemReference
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphItemReference
itemReference.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphItemReference class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: itemReference.driveId()Get the driveId property: Unique identifier of the drive instance that contains the item.Get the driveType property: Identifies the type of drive.id()Get the id property: Unique identifier of the item in the drive.name()Get the name property: The name of the item being referenced.path()Get the path property: Path that can be used to navigate to the item.shareId()Get the shareId property: A unique identifier for a shared resource that can be accessed via the [Shares][] API.Get the sharepointIds property: sharepointIds.siteId()Get the siteId property: The siteId property.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: itemReference.withDriveId(String driveId) Set the driveId property: Unique identifier of the drive instance that contains the item.withDriveType(String driveType) Set the driveType property: Identifies the type of drive.Set the id property: Unique identifier of the item in the drive.Set the name property: The name of the item being referenced.Set the path property: Path that can be used to navigate to the item.withShareId(String shareId) Set the shareId property: A unique identifier for a shared resource that can be accessed via the [Shares][] API.withSharepointIds(MicrosoftGraphSharepointIds sharepointIds) Set the sharepointIds property: sharepointIds.withSiteId(String siteId) Set the siteId property: The siteId property.
-
Constructor Details
-
MicrosoftGraphItemReference
public MicrosoftGraphItemReference()Creates an instance of MicrosoftGraphItemReference class.
-
-
Method Details
-
driveId
Get the driveId property: Unique identifier of the drive instance that contains the item. Read-only.- Returns:
- the driveId value.
-
withDriveId
Set the driveId property: Unique identifier of the drive instance that contains the item. Read-only.- Parameters:
driveId- the driveId value to set.- Returns:
- the MicrosoftGraphItemReference object itself.
-
driveType
Get the driveType property: Identifies the type of drive. See [drive][] resource for values.- Returns:
- the driveType value.
-
withDriveType
Set the driveType property: Identifies the type of drive. See [drive][] resource for values.- Parameters:
driveType- the driveType value to set.- Returns:
- the MicrosoftGraphItemReference object itself.
-
id
Get the id property: Unique identifier of the item in the drive. Read-only.- Returns:
- the id value.
-
withId
Set the id property: Unique identifier of the item in the drive. Read-only.- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphItemReference object itself.
-
name
Get the name property: The name of the item being referenced. Read-only.- Returns:
- the name value.
-
withName
Set the name property: The name of the item being referenced. Read-only.- Parameters:
name- the name value to set.- Returns:
- the MicrosoftGraphItemReference object itself.
-
path
Get the path property: Path that can be used to navigate to the item. Read-only.- Returns:
- the path value.
-
withPath
Set the path property: Path that can be used to navigate to the item. Read-only.- Parameters:
path- the path value to set.- Returns:
- the MicrosoftGraphItemReference object itself.
-
siteId
Get the siteId property: The siteId property.- Returns:
- the siteId value.
-
withSiteId
Set the siteId property: The siteId property.- Parameters:
siteId- the siteId value to set.- Returns:
- the MicrosoftGraphItemReference object itself.
-
additionalProperties
Get the additionalProperties property: itemReference.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphItemReference withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: itemReference.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphItemReference object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-