Class SoftwarePackage
The details for a software package
Inherited Members
Namespace: Oci.OsmanagementService.Models
Assembly: OCI.DotNetSDK.Osmanagement.dll
Syntax
public class SoftwarePackage
Properties
Architecture
Declaration
[JsonProperty(PropertyName = "architecture")]
public string Architecture { get; set; }
Property Value
Type | Description |
---|---|
string | the architecture for which this software was built |
Checksum
Declaration
[JsonProperty(PropertyName = "checksum")]
public string Checksum { get; set; }
Property Value
Type | Description |
---|---|
string | checksum of the package |
ChecksumType
Declaration
[JsonProperty(PropertyName = "checksumType")]
public string ChecksumType { get; set; }
Property Value
Type | Description |
---|---|
string | type of the checksum |
Dependencies
Declaration
[JsonProperty(PropertyName = "dependencies")]
public List<SoftwarePackageDependency> Dependencies { get; set; }
Property Value
Type | Description |
---|---|
List<SoftwarePackageDependency> | list of dependencies for the software package |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | description of the package |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | Package name |
Remarks
Required
Files
Declaration
[JsonProperty(PropertyName = "files")]
public List<SoftwarePackageFile> Files { get; set; }
Property Value
Type | Description |
---|---|
List<SoftwarePackageFile> | list of files for the software package |
LastModifiedDate
Declaration
[JsonProperty(PropertyName = "lastModifiedDate")]
public string LastModifiedDate { get; set; }
Property Value
Type | Description |
---|---|
string | date of the last update to the package |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier for the package. NOTE - This is not an OCID |
Remarks
Required
SizeInBytes
Declaration
[JsonProperty(PropertyName = "sizeInBytes")]
public long? SizeInBytes { get; set; }
Property Value
Type | Description |
---|---|
long? | size of the package in bytes |
SoftwareSources
Declaration
[JsonProperty(PropertyName = "softwareSources")]
public List<SoftwareSourceId> SoftwareSources { get; set; }
Property Value
Type | Description |
---|---|
List<SoftwareSourceId> | list of software sources that provide the software package |
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
public string Type { get; set; }
Property Value
Type | Description |
---|---|
string | Type of the package |
Remarks
Required
Version
Declaration
[Required(ErrorMessage = "Version is required.")]
[JsonProperty(PropertyName = "version")]
public string Version { get; set; }
Property Value
Type | Description |
---|---|
string | Version of the package |
Remarks
Required