I am creating a QueryDefintionObject that extends the ETObject in the Java FuelSDK. I have been able to successfully create the following fields:
@InternalSoapField(name = "name")
protected String name = null;
@InternalSoapField(name="customerKey")
protected String customerKey = null;
@InternalSoapField(name="createdDate")
protected Date createdDate = null;
@InternalSoapField(name="modifiedDate")
protected Date modifiedDate = null;
@InternalSoapField(name="client")
protected ETClientID clientId = null;
@InternalSoapField(name="queryText")
protected String query = null;
However, I can't seem to be able to create fields for TargetType or TargetUpdateType. I was running into issues with QueryText until I realized that the documentation is UpperCamelCase while the Java implementation is lowerCamelCase. However, I cannot seem to get the InternalSoapField name correct for these two.