datai/docs/reference-code/force-wsc-57.0.0/com/sforce/bulk/UpdateResult.java

44 lines
810 B
Java
Raw Normal View History

2026-01-22 10:52:30 +08:00
package com.sforce.bulk;
public class UpdateResult {
private String id;
private boolean success;
private boolean created;
private String error;
public UpdateResult(String id, boolean success, boolean created, String error) {
this.id = id;
this.success = success;
this.created = created;
this.error = error;
}
public String getId() {
return this.id;
}
public boolean isSuccess() {
return this.success;
}
public boolean isCreated() {
return this.created;
}
public String getError() {
return this.error;
}
public String toString() {
return "UpdateResult{id='" +
this.id + '\'' +
", success=" + this.success +
", created=" + this.created +
", error='" + this.error + '\'' +
'}';
}
}