Class SharingDetail

java.lang.Object
com.microsoft.graph.models.SharingDetail
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class SharingDetail extends Object implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
  • Field Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • SharingDetail

      public SharingDetail()
      Instantiates a new SharingDetail and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static SharingDetail createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a SharingDetail
    • getAdditionalData

      @Nonnull public Map<String,Object> getAdditionalData()
      Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getBackingStore

      @Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()
      Gets the backingStore property value. Stores model information.
      Specified by:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getOdataType

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getSharedBy

      @Nullable public InsightIdentity getSharedBy()
      Gets the sharedBy property value. The user who shared the document.
      Returns:
      a InsightIdentity
    • getSharedDateTime

      @Nullable public OffsetDateTime getSharedDateTime()
      Gets the sharedDateTime property value. 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 is 2014-01-01T00:00:00Z. Read-only.
      Returns:
      a OffsetDateTime
    • getSharingReference

      @Nullable public ResourceReference getSharingReference()
      Gets the sharingReference property value. Reference properties of the document, such as the URL and type of the document. Read-only
      Returns:
      a ResourceReference
    • getSharingSubject

      @Nullable public String getSharingSubject()
      Gets the sharingSubject property value. The subject with which the document was shared.
      Returns:
      a String
    • getSharingType

      @Nullable public String getSharingType()
      Gets the sharingType property value. Determines the way the document was shared. Can be by a 1Link1, 1Attachment1, 1Group1, 1Site1.
      Returns:
      a String
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Parameters:
      value - Value to set for the AdditionalData property.
    • setBackingStore

      public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value)
      Sets the backingStore property value. Stores model information.
      Parameters:
      value - Value to set for the backingStore property.
    • setOdataType

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setSharedBy

      public void setSharedBy(@Nullable InsightIdentity value)
      Sets the sharedBy property value. The user who shared the document.
      Parameters:
      value - Value to set for the sharedBy property.
    • setSharedDateTime

      public void setSharedDateTime(@Nullable OffsetDateTime value)
      Sets the sharedDateTime property value. 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 is 2014-01-01T00:00:00Z. Read-only.
      Parameters:
      value - Value to set for the sharedDateTime property.
    • setSharingReference

      public void setSharingReference(@Nullable ResourceReference value)
      Sets the sharingReference property value. Reference properties of the document, such as the URL and type of the document. Read-only
      Parameters:
      value - Value to set for the sharingReference property.
    • setSharingSubject

      public void setSharingSubject(@Nullable String value)
      Sets the sharingSubject property value. The subject with which the document was shared.
      Parameters:
      value - Value to set for the sharingSubject property.
    • setSharingType

      public void setSharingType(@Nullable String value)
      Sets the sharingType property value. Determines the way the document was shared. Can be by a 1Link1, 1Attachment1, 1Group1, 1Site1.
      Parameters:
      value - Value to set for the sharingType property.