Class MicrosoftGraphSharingDetail
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphSharingDetail
sharingDetail.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphSharingDetail class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: sharingDetail.sharedBy()Get the sharedBy property: insightIdentity.Get the sharedDateTime property: The date and time the file was last shared.Get the sharingReference property: resourceReference.Get the sharingSubject property: The subject with which the document was shared.Get the sharingType property: Determines the way the document was shared, can be by a 'Link', 'Attachment', 'Group', 'Site'.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: sharingDetail.withSharedBy(MicrosoftGraphInsightIdentity sharedBy) Set the sharedBy property: insightIdentity.withSharedDateTime(OffsetDateTime sharedDateTime) Set the sharedDateTime property: The date and time the file was last shared.withSharingReference(MicrosoftGraphResourceReference sharingReference) Set the sharingReference property: resourceReference.withSharingSubject(String sharingSubject) Set the sharingSubject property: The subject with which the document was shared.withSharingType(String sharingType) Set the sharingType property: Determines the way the document was shared, can be by a 'Link', 'Attachment', 'Group', 'Site'.
-
Constructor Details
-
MicrosoftGraphSharingDetail
public MicrosoftGraphSharingDetail()Creates an instance of MicrosoftGraphSharingDetail class.
-
-
Method Details
-
sharingReference
Get the sharingReference property: resourceReference.- Returns:
- the sharingReference value.
-
withSharingReference
public MicrosoftGraphSharingDetail withSharingReference(MicrosoftGraphResourceReference sharingReference) Set the sharingReference property: resourceReference.- Parameters:
sharingReference- the sharingReference value to set.- Returns:
- the MicrosoftGraphSharingDetail object itself.
-
sharingSubject
Get the sharingSubject property: The subject with which the document was shared.- Returns:
- the sharingSubject value.
-
withSharingSubject
Set the sharingSubject property: The subject with which the document was shared.- Parameters:
sharingSubject- the sharingSubject value to set.- Returns:
- the MicrosoftGraphSharingDetail object itself.
-
sharingType
Get the sharingType property: Determines the way the document was shared, can be by a 'Link', 'Attachment', 'Group', 'Site'.- Returns:
- the sharingType value.
-
withSharingType
Set the sharingType property: Determines the way the document was shared, can be by a 'Link', 'Attachment', 'Group', 'Site'.- Parameters:
sharingType- the sharingType value to set.- Returns:
- the MicrosoftGraphSharingDetail object itself.
-
additionalProperties
Get the additionalProperties property: sharingDetail.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphSharingDetail withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: sharingDetail.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphSharingDetail object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.