Class CopilotPackageDetail

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class CopilotPackageDetail extends CopilotPackage implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • CopilotPackageDetail

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

    • createFromDiscriminatorValue

      @Nonnull public static CopilotPackageDetail 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 CopilotPackageDetail
    • getAcquireUsersAndGroups

      @Nullable public List<PackageAccessEntity> getAcquireUsersAndGroups()
      Gets the acquireUsersAndGroups property value. The acquireUsersAndGroups property
      Returns:
      a List<PackageAccessEntity>
    • getAllowedUsersAndGroups

      @Nullable public List<PackageAccessEntity> getAllowedUsersAndGroups()
      Gets the allowedUsersAndGroups property value. The allowedUsersAndGroups property
      Returns:
      a List<PackageAccessEntity>
    • getCategories

      @Nullable public List<String> getCategories()
      Gets the categories property value. The categories property
      Returns:
      a List<String>
    • getElementDetails

      @Nullable public List<PackageElementDetail> getElementDetails()
      Gets the elementDetails property value. The elementDetails property
      Returns:
      a List<PackageElementDetail>
    • 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
      Overrides:
      getFieldDeserializers in class CopilotPackage
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getLongDescription

      @Nullable public String getLongDescription()
      Gets the longDescription property value. The longDescription property
      Returns:
      a String
    • getSensitivity

      @Nullable public String getSensitivity()
      Gets the sensitivity property value. The sensitivity property
      Returns:
      a String
    • getSharedWithUsersAndGroups

      @Nullable public List<PackageAccessEntity> getSharedWithUsersAndGroups()
      Gets the sharedWithUsersAndGroups property value. The sharedWithUsersAndGroups property
      Returns:
      a List<PackageAccessEntity>
    • 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
      Overrides:
      serialize in class CopilotPackage
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAcquireUsersAndGroups

      public void setAcquireUsersAndGroups(@Nullable List<PackageAccessEntity> value)
      Sets the acquireUsersAndGroups property value. The acquireUsersAndGroups property
      Parameters:
      value - Value to set for the acquireUsersAndGroups property.
    • setAllowedUsersAndGroups

      public void setAllowedUsersAndGroups(@Nullable List<PackageAccessEntity> value)
      Sets the allowedUsersAndGroups property value. The allowedUsersAndGroups property
      Parameters:
      value - Value to set for the allowedUsersAndGroups property.
    • setCategories

      public void setCategories(@Nullable List<String> value)
      Sets the categories property value. The categories property
      Parameters:
      value - Value to set for the categories property.
    • setElementDetails

      public void setElementDetails(@Nullable List<PackageElementDetail> value)
      Sets the elementDetails property value. The elementDetails property
      Parameters:
      value - Value to set for the elementDetails property.
    • setLongDescription

      public void setLongDescription(@Nullable String value)
      Sets the longDescription property value. The longDescription property
      Parameters:
      value - Value to set for the longDescription property.
    • setSensitivity

      public void setSensitivity(@Nullable String value)
      Sets the sensitivity property value. The sensitivity property
      Parameters:
      value - Value to set for the sensitivity property.
    • setSharedWithUsersAndGroups

      public void setSharedWithUsersAndGroups(@Nullable List<PackageAccessEntity> value)
      Sets the sharedWithUsersAndGroups property value. The sharedWithUsersAndGroups property
      Parameters:
      value - Value to set for the sharedWithUsersAndGroups property.