Copyright © 2011 Kaltura Inc.
All Rights Reserved. Designated trademarks and brands are the property of their respective owners.
Use of this web site constitutes acceptance of the Terms of Use and Privacy Policy.
EduVideo.org
I'm porting the dot net generator and related classes to Java. Everything's looking pretty good so far but I have a problem with the KalturaPartner type I'm generating. According to (http://www.kaltura.com/api_v3/api_schema.php) the schema looks like this:
It looks like the commercialUse is trying to point to an enum but KalturaCommercialUseType is listed as a class, not an enum:
And if it were an enum, the property should look like this:
Does anyone know what's up?
Jeff
PS. The reason for the port is I'm working on an integration with Alfresco. I've got a very basic integration working with the old API. Please let me know in a separate thread or via email if you have any interest (requirements or dev help) in this integration.
In API v3, which is what I'm working with, I see no classes that only contain constants. They've all been converted to enums. So I think this is definitely a problem with the schema. The KalturaCommercialUseType isn't referenced anywhere by any of the other types or services, so it isn't being used which is maybe why it is hanging around and hasn't been cleaned up.
I'm going to ignore it and hope it goes away. :)
Jeff
Not sure if this helps, but the PHP library defines it as a class:
{
const COMMERCIAL_USE = "commercial_use";
const NON_COMMERCIAL_USE = "non-commercial_use";
}