Class UserDefinedProperty
User Defined Property
Inherited Members
Namespace: Oci.DatabasemigrationService.Models
Assembly: OCI.DotNetSDK.Databasemigration.dll
Syntax
public class UserDefinedProperty
Properties
DefaultValue
Declaration
[JsonProperty(PropertyName = "defaultValue")]
public string DefaultValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The default value of the property. |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information. |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. |
Remarks
Required
IsRequired
Declaration
[JsonProperty(PropertyName = "isRequired")]
public bool? IsRequired { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | True if the property is required, false otherwise |
MaxLength
Declaration
[JsonProperty(PropertyName = "maxLength")]
public int? MaxLength { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | Maximum length of the text |
MinLength
Declaration
[JsonProperty(PropertyName = "minLength")]
public int? MinLength { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | Minimum length of the text |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The property name. |
Remarks
Required
Options
Declaration
[JsonProperty(PropertyName = "options")]
public List<UserDefinedPropertyOption> Options { get; set; }
Property Value
| Type | Description |
|---|---|
| List<UserDefinedPropertyOption> | User defined property options. |
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public UserDefinedProperty.TypeEnum? Type { get; set; }
Property Value
| Type | Description |
|---|---|
| UserDefinedProperty.TypeEnum? | The type of the user defined property. |
Remarks
Required
Value
Declaration
[JsonProperty(PropertyName = "value")]
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The value of the property. |