Class MicrosoftGraphSharingDetail
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphSharingDetail
-
public final class MicrosoftGraphSharingDetail extends Object
sharingDetail.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphSharingDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: sharingDetail.MicrosoftGraphInsightIdentitysharedBy()Get the sharedBy property: insightIdentity.OffsetDateTimesharedDateTime()Get the sharedDateTime property: The date and time the file was last shared.MicrosoftGraphResourceReferencesharingReference()Get the sharingReference property: resourceReference.StringsharingSubject()Get the sharingSubject property: The subject with which the document was shared.StringsharingType()Get the sharingType property: Determines the way the document was shared, can be by a 'Link', 'Attachment', 'Group', 'Site'.voidvalidate()Validates the instance.MicrosoftGraphSharingDetailwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: sharingDetail.MicrosoftGraphSharingDetailwithSharedBy(MicrosoftGraphInsightIdentity sharedBy)Set the sharedBy property: insightIdentity.MicrosoftGraphSharingDetailwithSharedDateTime(OffsetDateTime sharedDateTime)Set the sharedDateTime property: The date and time the file was last shared.MicrosoftGraphSharingDetailwithSharingReference(MicrosoftGraphResourceReference sharingReference)Set the sharingReference property: resourceReference.MicrosoftGraphSharingDetailwithSharingSubject(String sharingSubject)Set the sharingSubject property: The subject with which the document was shared.MicrosoftGraphSharingDetailwithSharingType(String sharingType)Set the sharingType property: Determines the way the document was shared, can be by a 'Link', 'Attachment', 'Group', 'Site'.
-
-
-
Method Detail
-
sharedBy
public MicrosoftGraphInsightIdentity sharedBy()
Get the sharedBy property: insightIdentity.- Returns:
- the sharedBy value.
-
withSharedBy
public MicrosoftGraphSharingDetail withSharedBy(MicrosoftGraphInsightIdentity sharedBy)
Set the sharedBy property: insightIdentity.- Parameters:
sharedBy- the sharedBy value to set.- Returns:
- the MicrosoftGraphSharingDetail object itself.
-
sharedDateTime
public OffsetDateTime sharedDateTime()
Get the sharedDateTime property: The date and time the file was last shared. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: 2014-01-01T00:00:00Z. Read-only.- Returns:
- the sharedDateTime value.
-
withSharedDateTime
public MicrosoftGraphSharingDetail withSharedDateTime(OffsetDateTime sharedDateTime)
Set the sharedDateTime property: The date and time the file was last shared. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: 2014-01-01T00:00:00Z. Read-only.- Parameters:
sharedDateTime- the sharedDateTime value to set.- Returns:
- the MicrosoftGraphSharingDetail object itself.
-
sharingReference
public MicrosoftGraphResourceReference 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
public String sharingSubject()
Get the sharingSubject property: The subject with which the document was shared.- Returns:
- the sharingSubject value.
-
withSharingSubject
public MicrosoftGraphSharingDetail withSharingSubject(String sharingSubject)
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
public String 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
public MicrosoftGraphSharingDetail withSharingType(String sharingType)
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
public Map<String,Object> 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.
-
-