Class CopilotPackage

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.CopilotPackage
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel
Direct Known Subclasses:
CopilotPackageDetail

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

    • CopilotPackage

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

    • createFromDiscriminatorValue

      @Nonnull public static CopilotPackage 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 CopilotPackage
    • getAppId

      @Nullable public String getAppId()
      Gets the appId property value. The appId property
      Returns:
      a String
    • getAssetId

      @Nullable public String getAssetId()
      Gets the assetId property value. The assetId property
      Returns:
      a String
    • getAvailableTo

      @Nullable public PackageStatus getAvailableTo()
      Gets the availableTo property value. The availableTo property
      Returns:
      a PackageStatus
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. The createdDateTime property
      Returns:
      a OffsetDateTime
    • getDeployedTo

      @Nullable public PackageStatus getDeployedTo()
      Gets the deployedTo property value. The deployedTo property
      Returns:
      a PackageStatus
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The displayName property
      Returns:
      a String
    • getElementTypes

      @Nullable public List<String> getElementTypes()
      Gets the elementTypes property value. The elementTypes property
      Returns:
      a List<String>
    • 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 Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsBlocked

      @Nullable public Boolean getIsBlocked()
      Gets the isBlocked property value. The isBlocked property
      Returns:
      a Boolean
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime getLastModifiedDateTime()
      Gets the lastModifiedDateTime property value. The lastModifiedDateTime property
      Returns:
      a OffsetDateTime
    • getManifestId

      @Nullable public String getManifestId()
      Gets the manifestId property value. The manifestId property
      Returns:
      a String
    • getManifestVersion

      @Nullable public String getManifestVersion()
      Gets the manifestVersion property value. The manifestVersion property
      Returns:
      a String
    • getOwnerId

      @Nullable public String getOwnerId()
      Gets the ownerId property value. The ownerId property
      Returns:
      a String
    • getPlatform

      @Nullable public String getPlatform()
      Gets the platform property value. The platform property
      Returns:
      a String
    • getPublisher

      @Nullable public String getPublisher()
      Gets the publisher property value. The publisher property
      Returns:
      a String
    • getShortDescription

      @Nullable public String getShortDescription()
      Gets the shortDescription property value. The shortDescription property
      Returns:
      a String
    • getSupportedHosts

      @Nullable public List<String> getSupportedHosts()
      Gets the supportedHosts property value. The supportedHosts property
      Returns:
      a List<String>
    • getType

      @Nullable public PackageType getType()
      Gets the type property value. The type property
      Returns:
      a PackageType
    • getVersion

      @Nullable public String getVersion()
      Gets the version property value. The version property
      Returns:
      a String
    • getZipFile

      @Nullable public byte[] getZipFile()
      Gets the zipFile property value. The zipFile property
      Returns:
      a
      invalid reference
      byte[]
    • 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 Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAppId

      public void setAppId(@Nullable String value)
      Sets the appId property value. The appId property
      Parameters:
      value - Value to set for the appId property.
    • setAssetId

      public void setAssetId(@Nullable String value)
      Sets the assetId property value. The assetId property
      Parameters:
      value - Value to set for the assetId property.
    • setAvailableTo

      public void setAvailableTo(@Nullable PackageStatus value)
      Sets the availableTo property value. The availableTo property
      Parameters:
      value - Value to set for the availableTo property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. The createdDateTime property
      Parameters:
      value - Value to set for the createdDateTime property.
    • setDeployedTo

      public void setDeployedTo(@Nullable PackageStatus value)
      Sets the deployedTo property value. The deployedTo property
      Parameters:
      value - Value to set for the deployedTo property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The displayName property
      Parameters:
      value - Value to set for the displayName property.
    • setElementTypes

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

      public void setIsBlocked(@Nullable Boolean value)
      Sets the isBlocked property value. The isBlocked property
      Parameters:
      value - Value to set for the isBlocked property.
    • setLastModifiedDateTime

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the lastModifiedDateTime property value. The lastModifiedDateTime property
      Parameters:
      value - Value to set for the lastModifiedDateTime property.
    • setManifestId

      public void setManifestId(@Nullable String value)
      Sets the manifestId property value. The manifestId property
      Parameters:
      value - Value to set for the manifestId property.
    • setManifestVersion

      public void setManifestVersion(@Nullable String value)
      Sets the manifestVersion property value. The manifestVersion property
      Parameters:
      value - Value to set for the manifestVersion property.
    • setOwnerId

      public void setOwnerId(@Nullable String value)
      Sets the ownerId property value. The ownerId property
      Parameters:
      value - Value to set for the ownerId property.
    • setPlatform

      public void setPlatform(@Nullable String value)
      Sets the platform property value. The platform property
      Parameters:
      value - Value to set for the platform property.
    • setPublisher

      public void setPublisher(@Nullable String value)
      Sets the publisher property value. The publisher property
      Parameters:
      value - Value to set for the publisher property.
    • setShortDescription

      public void setShortDescription(@Nullable String value)
      Sets the shortDescription property value. The shortDescription property
      Parameters:
      value - Value to set for the shortDescription property.
    • setSupportedHosts

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

      public void setType(@Nullable PackageType value)
      Sets the type property value. The type property
      Parameters:
      value - Value to set for the type property.
    • setVersion

      public void setVersion(@Nullable String value)
      Sets the version property value. The version property
      Parameters:
      value - Value to set for the version property.
    • setZipFile

      public void setZipFile(@Nullable byte[] value)
      Sets the zipFile property value. The zipFile property
      Parameters:
      value - Value to set for the zipFile property.