Skip to content
This repository was archived by the owner on Feb 1, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/main/java/com/podio/app/ApplicationField.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ public class ApplicationField extends ApplicationFieldCreate {
* The external id of the field
*/
private String externalId;

/**
* Indicates if the field was deleted in Podio - values include "active" and "deleted".
*/
private String status;

@JsonProperty("field_id")
public int getId() {
Expand All @@ -32,4 +37,14 @@ public String getExternalId() {
public void setExternalId(String externalId) {
this.externalId = externalId;
}

@JsonProperty("status")
public String getStatus() {
return status;
}

@JsonProperty("status")
public void setStatus(String status) {
this.status = status;
}
}
15 changes: 15 additions & 0 deletions src/main/java/com/podio/item/ItemUpdate.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ public class ItemUpdate {
*/
private String externalId;

/**
* The internal revision from podio.
*/
private int revision;

/**
* The values for each field
*/
Expand All @@ -36,6 +41,16 @@ public String getExternalId() {
public void setExternalId(String externalId) {
this.externalId = externalId;
}

@JsonProperty("revision")
public int getRevision() {
return revision;
}

@JsonProperty("revision")
public void setRevision(int revision) {
this.revision = revision;
}

public List<FieldValuesUpdate> getFields() {
return fields;
Expand Down