Class MicrosoftGraphSharingDetail

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphSharingDetail

public final class MicrosoftGraphSharingDetail extends Object
sharingDetail.
  • Constructor Details

    • MicrosoftGraphSharingDetail

      public MicrosoftGraphSharingDetail()
      Creates an instance of MicrosoftGraphSharingDetail class.
  • Method Details

    • sharedBy

      public MicrosoftGraphInsightIdentity sharedBy()
      Get the sharedBy property: insightIdentity.
      Returns:
      the sharedBy value.
    • withSharedBy

      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.