Show / Hide Table of Contents

Class Patch

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

Properties

AvailableActions

Declaration
[JsonProperty(PropertyName = "availableActions", ItemConverterType = typeof(ResponseEnumConverter))]
public List<Patch.AvailableActionsEnum> AvailableActions { get; set; }
Property Value
Type Description
List<Patch.AvailableActionsEnum>

Actions that can possibly be performed using this patch.

Description

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

The text describing this patch package.

Remarks

Required

Id

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

The OCID of the patch.

Remarks

Required

LastAction

Declaration
[JsonProperty(PropertyName = "lastAction")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Patch.LastActionEnum? LastAction { get; set; }
Property Value
Type Description
Patch.LastActionEnum?

Action that is currently being performed or was completed last.

LifecycleDetails

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

A descriptive text associated with the lifecycleState. Typically can contain additional displayable text.

LifecycleState

Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Patch.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
Patch.LifecycleStateEnum?

The current state of the patch as a result of lastAction.

TimeReleased

Declaration
[Required(ErrorMessage = "TimeReleased is required.")]
[JsonProperty(PropertyName = "timeReleased")]
public DateTime? TimeReleased { get; set; }
Property Value
Type Description
DateTime?

The date and time that the patch was released.

Remarks

Required

Version

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

The version of this patch package.

Remarks

Required

In this article
Back to top