me.figo.internal.StartProviderSyncRequest Maven / Gradle / Ivy
package me.figo.internal;
import java.util.Map;
import com.google.gson.annotations.Expose;
/**
* Helper type for the call to /rest/sync
*/
public class StartProviderSyncRequest {
public StartProviderSyncRequest(String state, String redirect_uri, boolean disable_notifications,
boolean save_secrets, Map credentials) {
super();
this.state = state;
this.redirect_uri = redirect_uri;
this.disable_notifications = disable_notifications;
this.save_secrets = save_secrets;
this.credentials = credentials;
}
/**
* State to return when coming back to the calling application after the synchronization finished
*/
@Expose
public String state;
/**
* URL to redirect to when the synchronization finished
*/
@Expose
public String redirect_uri;
/**
* Indicates whether notifications should be sent to your application
*/
@Expose
public boolean disable_notifications;
@Expose
public boolean save_secrets;
@Expose
public Map credentials;
public String getRedirect_uri() {
return redirect_uri;
}
public void setRedirect_uri(String redirect_uri) {
this.redirect_uri = redirect_uri;
}
public boolean isDisable_notifications() {
return disable_notifications;
}
public void setDisable_notifications(boolean disable_notifications) {
this.disable_notifications = disable_notifications;
}
public Map getCredentials() {
return credentials;
}
public void setCredentials(Map credentials) {
this.credentials = credentials;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public String getRedirectUri() {
return redirect_uri;
}
public void setRedirectUri(String redirect_uri) {
this.redirect_uri = redirect_uri;
}
public boolean isDisableNotifications() {
return disable_notifications;
}
public void setDisableNotifications(boolean disable_notifications) {
this.disable_notifications = disable_notifications;
}
public boolean isSaveSecrets() {
return save_secrets;
}
public void setSaveSecrets(boolean save_secrets) {
this.save_secrets = save_secrets;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy