com.podio.app.ApplicationCreate Maven / Gradle / Ivy
package com.podio.app;
import java.util.List;
import org.codehaus.jackson.annotate.JsonProperty;
public class ApplicationCreate {
/**
* The id of the space on which the app is placed
*/
private int spaceId;
/**
* The new configuration of the app
*/
private ApplicationConfigurationCreate configuration;
private List fields;
public ApplicationCreate() {
super();
}
public ApplicationCreate(int spaceId,
ApplicationConfigurationCreate configuration,
List fields) {
this.spaceId = spaceId;
this.configuration = configuration;
this.fields = fields;
}
@JsonProperty("space_id")
public int getSpaceId() {
return spaceId;
}
@JsonProperty("space_id")
public void setSpaceId(int spaceId) {
this.spaceId = spaceId;
}
@JsonProperty("config")
public ApplicationConfigurationCreate getConfiguration() {
return configuration;
}
@JsonProperty("config")
public void setConfiguration(ApplicationConfigurationCreate configuration) {
this.configuration = configuration;
}
public List getFields() {
return fields;
}
public void setFields(List fields) {
this.fields = fields;
}
}