Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.67 KB

ScoreCreationBuilderData.md

File metadata and controls

26 lines (20 loc) · 1.67 KB

FlatApi::ScoreCreationBuilderData

Properties

Name Type Description Notes
title String The title of the new score. If the title is too long, the API may trim this one. If this title is not specified, the API will try to (in this order): - Use the title contained in the file (e.g. `movement-title` or `credit-words` for MusicXML files). - Use the name of the file for files from a specified `source` (e.g. Google Drive) or the one in the `filename` property - Set a default title (e.g. "New Music Score")
privacy ScorePrivacy [optional][default to 'private']
collection String Unique identifier of a collection where the score will be created. If no collection identifier is provided, the score will be stored in the `root` directory. [optional]
google_drive_folder String If the user uses Google Drive and this properties is specified, the file will be created in this directory. The currently user creating the file must be granted to write in this directory. [optional]
builder_data ScoreCreationBuilderDataAllOfBuilderData

Example

require 'flat_api'

instance = FlatApi::ScoreCreationBuilderData.new(
  title: null,
  privacy: null,
  collection: null,
  google_drive_folder: null,
  builder_data: null
)