Class Recommendation
recommendation
Inherited Members
Namespace: Oci.ClusterhealthService.Models
Assembly: OCI.DotNetSDK.Clusterhealth.dll
Syntax
public class Recommendation
Properties
Action
Declaration
[Required(ErrorMessage = "Action is required.")]
[JsonProperty(PropertyName = "action")]
public string Action { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Optional action to take (empty string when no action is required). |
Remarks
Required
FaultCode
Declaration
[JsonProperty(PropertyName = "faultCode")]
public string FaultCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Optional fault code identifier. |
Issue
Declaration
[Required(ErrorMessage = "Issue is required.")]
[JsonProperty(PropertyName = "issue")]
public string Issue { get; set; }
Property Value
| Type | Description |
|---|---|
| string | description of the issue |
Remarks
Required
Suggestion
Declaration
[Required(ErrorMessage = "Suggestion is required.")]
[JsonProperty(PropertyName = "suggestion")]
public string Suggestion { get; set; }
Property Value
| Type | Description |
|---|---|
| string | suggested actions |
Remarks
Required
TestName
Declaration
[Required(ErrorMessage = "TestName is required.")]
[JsonProperty(PropertyName = "testName")]
public string TestName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | name of the test |
Remarks
Required
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Recommendation.TypeEnum? Type { get; set; }
Property Value
| Type | Description |
|---|---|
| Recommendation.TypeEnum? | Severity of the recommendation. |
Remarks
Required