MicrosoftGraphItemReference Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphItemReference
- com.
Implements
public final class MicrosoftGraphItemReference
implements JsonSerializable<MicrosoftGraphItemReference>
itemReference.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphItemReference() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
driveId()
Get the drive |
String |
driveType()
Get the drive |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
id()
Get the id property: Unique identifier of the item in the drive. |
String |
name()
Get the name property: The name of the item being referenced. |
String |
path()
Get the path property: Path that can be used to navigate to the item. |
String |
shareId()
Get the share |
Microsoft |
sharepointIds()
Get the sharepoint |
String |
siteId()
Get the site |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withDriveId(String driveId)
Set the drive |
Microsoft |
withDriveType(String driveType)
Set the drive |
Microsoft |
withId(String id)
Set the id property: Unique identifier of the item in the drive. |
Microsoft |
withName(String name)
Set the name property: The name of the item being referenced. |
Microsoft |
withPath(String path)
Set the path property: Path that can be used to navigate to the item. |
Microsoft |
withShareId(String shareId)
Set the share |
Microsoft |
withSharepointIds(MicrosoftGraphSharepointIds sharepointIds)
Set the sharepoint |
Microsoft |
withSiteId(String siteId)
Set the site |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphItemReference
public MicrosoftGraphItemReference()
Creates an instance of MicrosoftGraphItemReference class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: itemReference.
Returns:
driveId
public String driveId()
Get the driveId property: Unique identifier of the drive instance that contains the item. Read-only.
Returns:
driveType
public String driveType()
Get the driveType property: Identifies the type of drive. See [drive][] resource for values.
Returns:
fromJson
public static MicrosoftGraphItemReference fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphItemReference from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Unique identifier of the item in the drive. Read-only.
Returns:
name
public String name()
Get the name property: The name of the item being referenced. Read-only.
Returns:
path
public String path()
Get the path property: Path that can be used to navigate to the item. Read-only.
Returns:
shareId
public String shareId()
Get the shareId property: A unique identifier for a shared resource that can be accessed via the [Shares][] API.
Returns:
sharepointIds
public MicrosoftGraphSharepointIds sharepointIds()
Get the sharepointIds property: sharepointIds.
Returns:
siteId
public String siteId()
Get the siteId property: The siteId property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphItemReference withAdditionalProperties(Map
Set the additionalProperties property: itemReference.
Parameters:
Returns:
withDriveId
public MicrosoftGraphItemReference withDriveId(String driveId)
Set the driveId property: Unique identifier of the drive instance that contains the item. Read-only.
Parameters:
Returns:
withDriveType
public MicrosoftGraphItemReference withDriveType(String driveType)
Set the driveType property: Identifies the type of drive. See [drive][] resource for values.
Parameters:
Returns:
withId
public MicrosoftGraphItemReference withId(String id)
Set the id property: Unique identifier of the item in the drive. Read-only.
Parameters:
Returns:
withName
public MicrosoftGraphItemReference withName(String name)
Set the name property: The name of the item being referenced. Read-only.
Parameters:
Returns:
withPath
public MicrosoftGraphItemReference withPath(String path)
Set the path property: Path that can be used to navigate to the item. Read-only.
Parameters:
Returns:
withShareId
public MicrosoftGraphItemReference withShareId(String shareId)
Set the shareId property: A unique identifier for a shared resource that can be accessed via the [Shares][] API.
Parameters:
Returns:
withSharepointIds
public MicrosoftGraphItemReference withSharepointIds(MicrosoftGraphSharepointIds sharepointIds)
Set the sharepointIds property: sharepointIds.
Parameters:
Returns:
withSiteId
public MicrosoftGraphItemReference withSiteId(String siteId)
Set the siteId property: The siteId property.
Parameters:
Returns:
Applies to
Azure SDK for Java