diff options
author | Christian Pointner <equinox@helsinki.at> | 2015-12-12 04:02:12 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2015-12-12 04:02:12 (GMT) |
commit | 4c00b8293c1e3974d818af8022bc858a48733ec4 (patch) | |
tree | f84b0cd899560e0b7aa3016379a215a4b119bff8 /rdxport_responses.go | |
parent | a2305488a2e14c76665007782db423ef5a7d3e43 (diff) |
importer now knows which information is needed for what operation
uint vs int for some values
Diffstat (limited to 'rdxport_responses.go')
-rw-r--r-- | rdxport_responses.go | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/rdxport_responses.go b/rdxport_responses.go index db309d9..392f58f 100644 --- a/rdxport_responses.go +++ b/rdxport_responses.go @@ -51,7 +51,7 @@ type RDCartAdd struct { } type RDCart struct { - Number int `xml:"number"` + Number uint `xml:"number"` Type string `xml:"type"` GroupName string `xml:"groupName"` Title string `xml:"title"` @@ -64,15 +64,15 @@ type RDCart struct { Publisher string `xml:"publisher"` Composer string `xml:"composer"` UserDefined string `xml:"userDefined"` - UsageCode int `xml:"usageCode"` + UsageCode uint `xml:"usageCode"` ForcedLength string `xml:"forcedLength"` AverageLength string `xml:"averageLength"` LengthDeviation string `xml:"lengthDeviation"` AverageSegueLength string `xml:"averageSegueLenth"` AverageHookLength string `xml:"averageHookLength"` - CutQuantity int `xml:"cutQuantity"` - LastCutPlayer int `xml:"lastCutPlayed"` - Validity int `xml:"validity"` + CutQuantity uint `xml:"cutQuantity"` + LastCutPlayed uint `xml:"lastCutPlayed"` + Validity uint `xml:"validity"` EnforceLength bool `xml:"enforceLength"` Asynchronous bool `xml:"asyncronous"` Owner string `xml:"owner"` @@ -95,8 +95,8 @@ type RDCutAdd struct { type RDCut struct { Name string `xml:"cutName"` - CartNumber int `xml:"cartNumber"` - Number int `xml:"cutNumber"` + CartNumber uint `xml:"cartNumber"` + Number uint `xml:"cutNumber"` EverGreen bool `xml:"evergreen"` Description string `xml:"description"` OutCue string `xml:"outcue"` @@ -118,9 +118,9 @@ type RDCut struct { OriginName string `xml:"originName"` Weight int `xml:"weight"` LastPlayDateTime string `xml:"lastPlayDatetime"` - PlayCounter int `xml:"playCounter"` - LocalCounter int `xml:"localCounter"` - Validiy int `xml:"validity"` + PlayCounter uint `xml:"playCounter"` + LocalCounter uint `xml:"localCounter"` + Validiy uint `xml:"validity"` CondingFormat int `xml:"codingFormat"` SampleRate int `xml:"sampleRate"` BitRate int `xml:"bitRate"` |