Show / Hide Table of Contents

Class ConfigurationPropertySchema

Schema for single configuration property

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

Properties

DefaultValue

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

The default value for the optional configuration property (it must not be specified for mandatory configuration properties)

Description

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

Description of this configuration property

Remarks

Required

IsMandatory

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

If the value is true this configuration property is mandatory and visa versa. If not specified configuration property is optional.

KeyName

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

Name of key (parameter name)

Remarks

Required

SampleValue

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

Sample property value (it must match validationRegexp if it is specified)

Remarks

Required

ValidationRegexp

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

A regular expression will be used for the validation of property value.

ValueType

Declaration
[Required(ErrorMessage = "ValueType is required.")]
[JsonProperty(PropertyName = "valueType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ConfigurationPropertySchema.ValueTypeEnum? ValueType { get; set; }
Property Value
Type Description
ConfigurationPropertySchema.ValueTypeEnum?

Type of value

Remarks

Required

In this article
Back to top