Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.73 KB

ScoreRevisionCreation.md

File metadata and controls

33 lines (24 loc) · 1.73 KB

ScoreRevisionCreation

A new created revision

Properties

Name Type Description Notes
data str The data of the score file. It must be a MusicXML 3 file (`vnd.recordare.musicxml` or `vnd.recordare.musicxml+xml`), a MIDI file (`audio/midi`) or a Flat.json (aka Adagio.json) file. Binary payloads (`vnd.recordare.musicxml` and `audio/midi`) can be encoded in Base64, in this case the `dataEncoding` property must match the encoding used for the API request.
data_encoding str The optional encoding of the score data. This property must match the encoding used for the `data` property. [optional]
autosave bool Must be set to `true` if the revision was created automatically. [optional]
description str A description associated to the revision [optional]

Example

from flat_api.models.score_revision_creation import ScoreRevisionCreation

# TODO update the JSON string below
json = "{}"
# create an instance of ScoreRevisionCreation from a JSON string
score_revision_creation_instance = ScoreRevisionCreation.from_json(json)
# print the JSON string representation of the object
print ScoreRevisionCreation.to_json()

# convert the object into a dict
score_revision_creation_dict = score_revision_creation_instance.to_dict()
# create an instance of ScoreRevisionCreation from a dict
score_revision_creation_form_dict = score_revision_creation.from_dict(score_revision_creation_dict)

[Back to Model list] [Back to API list] [Back to README]