Show / Hide Table of Contents

Class SoftwarePackage

An object that defines a software package.

Inheritance
object
SoftwarePackage
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.OsmanagementhubService.Models
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
public class SoftwarePackage

Properties

Architecture

Declaration
[JsonProperty(PropertyName = "architecture")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SoftwarePackageArchitecture? Architecture { get; set; }
Property Value
Type Description
SoftwarePackageArchitecture?

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.

IsLatest

Declaration
[JsonProperty(PropertyName = "isLatest")]
public bool? IsLatest { get; set; }
Property Value
Type Description
bool?

Indicates whether this package is the latest version.

LastModifiedDate

Declaration
[JsonProperty(PropertyName = "lastModifiedDate")]
public string LastModifiedDate { get; set; }
Property Value
Type Description
string

The date and time the package was last modified (in RFC 3339 format).

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 that this is not an OCID.

Remarks

Required

OsFamilies

Declaration
[JsonProperty(PropertyName = "osFamilies")]
public List<OsFamily> OsFamilies { get; set; }
Property Value
Type Description
List<OsFamily>

The OS families the package belongs to.

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<SoftwareSourceDetails> SoftwareSources { get; set; }
Property Value
Type Description
List<SoftwareSourceDetails>

List of software sources that provide the software package. This property is deprecated and it will be removed in a future API release.

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

In this article
Back to top