Show / Hide Table of Contents

Class PackageGroup

Yum or DNF package group, category, or environment.

Inheritance
object
PackageGroup
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 PackageGroup

Properties

Description

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

Description of the package group.

DisplayOrder

Declaration
[JsonProperty(PropertyName = "displayOrder")]
public int? DisplayOrder { get; set; }
Property Value
Type Description
int?

Indicates the order to display category or environment.

GroupType

Declaration
[JsonProperty(PropertyName = "groupType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PackageGroup.GroupTypeEnum? GroupType { get; set; }
Property Value
Type Description
PackageGroup.GroupTypeEnum?

Indicates if this is a group, category, or environment.

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

Package group identifier.

Remarks

Required

IsDefault

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

Indicates if this package group is the default.

IsUserVisible

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

Indicates if this package group is visible to users.

Name

Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type Description
string

Package group name.

Remarks

Required

Packages

Declaration
[Required(ErrorMessage = "Packages is required.")]
[JsonProperty(PropertyName = "packages")]
public List<string> Packages { get; set; }
Property Value
Type Description
List<string>

The list of packages in the package group.

Remarks

Required

Repositories

Declaration
[JsonProperty(PropertyName = "repositories")]
public List<string> Repositories { get; set; }
Property Value
Type Description
List<string>

The repository IDs of the package group's repositories.

In this article
Back to top