Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 807 Bytes

MetadataFieldRequest.md

File metadata and controls

23 lines (18 loc) · 807 Bytes

DocspaceApiSdk::MetadataFieldRequest

Properties

Name Type Description Notes
name String The field name. [optional]
type MetadataFieldType The field type. [optional]
options Array<MetadataFieldOptionRequest> The choice options of the field. [optional]
order Integer The display position of the field inside the template: the fields are shown by it ascending, and equal positions keep the order of creation. [optional]

Example

require 'docspace-api-sdk'

instance = DocspaceApiSdk::MetadataFieldRequest.new(
  name: Contract number,
  type: null,
  options: [{value=Red}, {value=Green}],
  order: 1
)