Class Field
Field information
Inherited Members
Namespace: Oci.OspgatewayService.Models
Assembly: OCI.DotNetSDK.Ospgateway.dll
Syntax
public class Field
Properties
Format
Declaration
[JsonProperty(PropertyName = "format")]
public Format Format { get; set; }
Property Value
Type | Description |
---|---|
Format |
IsRequired
Declaration
[Required(ErrorMessage = "IsRequired is required.")]
[JsonProperty(PropertyName = "isRequired")]
public bool? IsRequired { get; set; }
Property Value
Type | Description |
---|---|
bool? | The given field is requeired or not |
Remarks
Required
Label
Declaration
[JsonProperty(PropertyName = "label")]
public Label Label { get; set; }
Property Value
Type | Description |
---|---|
Label |
Language
Declaration
[JsonProperty(PropertyName = "language")]
public string Language { get; set; }
Property Value
Type | Description |
---|---|
string | Locale code (rfc4646 format) of a forced language (e.g.: jp addresses require jp always) |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The field name |
Remarks
Required