Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CopilotPackagecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valuegetAppId()Gets the appId property value.Gets the assetId property value.Gets the availableTo property value.Gets the createdDateTime property value.Gets the deployedTo property value.Gets the displayName property value.Gets the elementTypes property value.The deserialization information for the current modelGets the isBlocked property value.Gets the lastModifiedDateTime property value.Gets the manifestId property value.Gets the manifestVersion property value.Gets the ownerId property value.Gets the platform property value.Gets the publisher property value.Gets the shortDescription property value.Gets the supportedHosts property value.getType()Gets the type property value.Gets the version property value.byte[]Gets the zipFile property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the appId property value.voidsetAssetId(String value) Sets the assetId property value.voidsetAvailableTo(PackageStatus value) Sets the availableTo property value.voidsetCreatedDateTime(OffsetDateTime value) Sets the createdDateTime property value.voidsetDeployedTo(PackageStatus value) Sets the deployedTo property value.voidsetDisplayName(String value) Sets the displayName property value.voidsetElementTypes(List<String> value) Sets the elementTypes property value.voidsetIsBlocked(Boolean value) Sets the isBlocked property value.voidSets the lastModifiedDateTime property value.voidsetManifestId(String value) Sets the manifestId property value.voidsetManifestVersion(String value) Sets the manifestVersion property value.voidsetOwnerId(String value) Sets the ownerId property value.voidsetPlatform(String value) Sets the platform property value.voidsetPublisher(String value) Sets the publisher property value.voidsetShortDescription(String value) Sets the shortDescription property value.voidsetSupportedHosts(List<String> value) Sets the supportedHosts property value.voidsetType(PackageType value) Sets the type property value.voidsetVersion(String value) Sets the version property value.voidsetZipFile(byte[] value) Sets the zipFile property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
CopilotPackage
public CopilotPackage()Instantiates a newCopilotPackageand 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
Gets the appId property value. The appId property- Returns:
- a
String
-
getAssetId
Gets the assetId property value. The assetId property- Returns:
- a
String
-
getAvailableTo
Gets the availableTo property value. The availableTo property- Returns:
- a
PackageStatus
-
getCreatedDateTime
Gets the createdDateTime property value. The createdDateTime property- Returns:
- a
OffsetDateTime
-
getDeployedTo
Gets the deployedTo property value. The deployedTo property- Returns:
- a
PackageStatus
-
getDisplayName
Gets the displayName property value. The displayName property- Returns:
- a
String
-
getElementTypes
Gets the elementTypes property value. The elementTypes property -
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIsBlocked
Gets the isBlocked property value. The isBlocked property- Returns:
- a
Boolean
-
getLastModifiedDateTime
Gets the lastModifiedDateTime property value. The lastModifiedDateTime property- Returns:
- a
OffsetDateTime
-
getManifestId
Gets the manifestId property value. The manifestId property- Returns:
- a
String
-
getManifestVersion
Gets the manifestVersion property value. The manifestVersion property- Returns:
- a
String
-
getOwnerId
Gets the ownerId property value. The ownerId property- Returns:
- a
String
-
getPlatform
Gets the platform property value. The platform property- Returns:
- a
String
-
getPublisher
Gets the publisher property value. The publisher property- Returns:
- a
String
-
getShortDescription
Gets the shortDescription property value. The shortDescription property- Returns:
- a
String
-
getSupportedHosts
Gets the supportedHosts property value. The supportedHosts property -
getType
Gets the type property value. The type property- Returns:
- a
PackageType
-
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 -
setAppId
Sets the appId property value. The appId property- Parameters:
value- Value to set for the appId property.
-
setAssetId
Sets the assetId property value. The assetId property- Parameters:
value- Value to set for the assetId property.
-
setAvailableTo
Sets the availableTo property value. The availableTo property- Parameters:
value- Value to set for the availableTo property.
-
setCreatedDateTime
Sets the createdDateTime property value. The createdDateTime property- Parameters:
value- Value to set for the createdDateTime property.
-
setDeployedTo
Sets the deployedTo property value. The deployedTo property- Parameters:
value- Value to set for the deployedTo property.
-
setDisplayName
Sets the displayName property value. The displayName property- Parameters:
value- Value to set for the displayName property.
-
setElementTypes
Sets the elementTypes property value. The elementTypes property- Parameters:
value- Value to set for the elementTypes property.
-
setIsBlocked
Sets the isBlocked property value. The isBlocked property- Parameters:
value- Value to set for the isBlocked property.
-
setLastModifiedDateTime
Sets the lastModifiedDateTime property value. The lastModifiedDateTime property- Parameters:
value- Value to set for the lastModifiedDateTime property.
-
setManifestId
Sets the manifestId property value. The manifestId property- Parameters:
value- Value to set for the manifestId property.
-
setManifestVersion
Sets the manifestVersion property value. The manifestVersion property- Parameters:
value- Value to set for the manifestVersion property.
-
setOwnerId
Sets the ownerId property value. The ownerId property- Parameters:
value- Value to set for the ownerId property.
-
setPlatform
Sets the platform property value. The platform property- Parameters:
value- Value to set for the platform property.
-
setPublisher
Sets the publisher property value. The publisher property- Parameters:
value- Value to set for the publisher property.
-
setShortDescription
Sets the shortDescription property value. The shortDescription property- Parameters:
value- Value to set for the shortDescription property.
-
setSupportedHosts
Sets the supportedHosts property value. The supportedHosts property- Parameters:
value- Value to set for the supportedHosts property.
-
setType
Sets the type property value. The type property- Parameters:
value- Value to set for the type property.
-
setVersion
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.
-