Class StrategyParameter
The metadata associated with the strategy parameter.
Inherited Members
Namespace: Oci.OptimizerService.Models
Assembly: OCI.DotNetSDK.Optimizer.dll
Syntax
public class StrategyParameter
Properties
DefaultValue
Declaration
[JsonProperty(PropertyName = "defaultValue")]
public object DefaultValue { get; set; }
Property Value
Type | Description |
---|---|
object | A default value used for the strategy parameter. |
Description
Declaration
[Required(ErrorMessage = "Description is required.")]
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | Text describing the strategy parameter. |
Remarks
Required
IsRequired
Declaration
[Required(ErrorMessage = "IsRequired is required.")]
[JsonProperty(PropertyName = "isRequired")]
public bool? IsRequired { get; set; }
Property Value
Type | Description |
---|---|
bool? | Whether this parameter is required. |
Remarks
Required
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the strategy parameter. |
Remarks
Required
PossibleValues
Declaration
[JsonProperty(PropertyName = "possibleValues")]
public List<object> PossibleValues { get; set; }
Property Value
Type | Description |
---|---|
List<object> | The list of possible values used for these strategy parameters. |
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public StrategyParameterType? Type { get; set; }
Property Value
Type | Description |
---|---|
StrategyParameterType? | The type of strategy parameter. |
Remarks
Required