/* Options: Date: 2025-07-17 23:38:34 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://hcbtas-q-albamfs-api.azurewebsites.net //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: PowensConnectionSyncRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/ext/powens/connection_synced", Verbs="POST") public static class PowensConnectionSyncRequest implements IReturn { public ConnectionRequest connection = null; @DataMember(Name="push_type") @SerializedName("push_type") public String pushType = null; @DataMember(Name="id_webhook_data") @SerializedName("id_webhook_data") public Integer idWebhookData = null; public ConnectionRequest getConnection() { return connection; } public PowensConnectionSyncRequest setConnection(ConnectionRequest value) { this.connection = value; return this; } public String getPushType() { return pushType; } public PowensConnectionSyncRequest setPushType(String value) { this.pushType = value; return this; } public Integer getIdWebhookData() { return idWebhookData; } public PowensConnectionSyncRequest setIdWebhookData(Integer value) { this.idWebhookData = value; return this; } private static Object responseType = HttpResponseMessage.class; public Object getResponseType() { return responseType; } } @DataContract public static class ConnectionRequest { @DataMember(Name="id") @SerializedName("id") public Integer id = null; @DataMember(Name="id_user") @SerializedName("id_user") public Long idUser = null; @DataMember(Name="id_connector") @SerializedName("id_connector") public Integer idConnector = null; @DataMember(Name="last_update") @SerializedName("last_update") public Date lastUpdate = null; @DataMember(Name="created") @SerializedName("created") public Date created = null; @DataMember(Name="active") @SerializedName("active") public Boolean active = null; @DataMember(Name="last_push") @SerializedName("last_push") public Date lastPush = null; @DataMember(Name="next_try") @SerializedName("next_try") public Date nextTry = null; @DataMember(Name="connector") @SerializedName("connector") public ConnectorReq connector = null; @DataMember(Name="accounts") @SerializedName("accounts") public ArrayList accounts = null; @DataMember(Name="state") @SerializedName("state") public String state = null; @DataMember(Name="error") @SerializedName("error") public String error = null; @DataMember(Name="error_message") @SerializedName("error_message") public String errorMessage = null; @DataMember(Name="expire") @SerializedName("expire") public Date expire = null; @DataMember(Name="id_provider") @SerializedName("id_provider") public Integer idProvider = null; @DataMember(Name="id_bank") @SerializedName("id_bank") public Integer idBank = null; @DataMember(Name="bank") @SerializedName("bank") public ConnectorReq bank = null; @DataMember(Name="connector_uuid") @SerializedName("connector_uuid") public String connectorUuid = null; @DataMember(Name="informations") @SerializedName("informations") public Object informations = null; public Integer getId() { return id; } public ConnectionRequest setId(Integer value) { this.id = value; return this; } public Long getIdUser() { return idUser; } public ConnectionRequest setIdUser(Long value) { this.idUser = value; return this; } public Integer getIdConnector() { return idConnector; } public ConnectionRequest setIdConnector(Integer value) { this.idConnector = value; return this; } public Date getLastUpdate() { return lastUpdate; } public ConnectionRequest setLastUpdate(Date value) { this.lastUpdate = value; return this; } public Date getCreated() { return created; } public ConnectionRequest setCreated(Date value) { this.created = value; return this; } public Boolean isActive() { return active; } public ConnectionRequest setActive(Boolean value) { this.active = value; return this; } public Date getLastPush() { return lastPush; } public ConnectionRequest setLastPush(Date value) { this.lastPush = value; return this; } public Date getNextTry() { return nextTry; } public ConnectionRequest setNextTry(Date value) { this.nextTry = value; return this; } public ConnectorReq getConnector() { return connector; } public ConnectionRequest setConnector(ConnectorReq value) { this.connector = value; return this; } public ArrayList getAccounts() { return accounts; } public ConnectionRequest setAccounts(ArrayList value) { this.accounts = value; return this; } public String getState() { return state; } public ConnectionRequest setState(String value) { this.state = value; return this; } public String getError() { return error; } public ConnectionRequest setError(String value) { this.error = value; return this; } public String getErrorMessage() { return errorMessage; } public ConnectionRequest setErrorMessage(String value) { this.errorMessage = value; return this; } public Date getExpire() { return expire; } public ConnectionRequest setExpire(Date value) { this.expire = value; return this; } public Integer getIdProvider() { return idProvider; } public ConnectionRequest setIdProvider(Integer value) { this.idProvider = value; return this; } public Integer getIdBank() { return idBank; } public ConnectionRequest setIdBank(Integer value) { this.idBank = value; return this; } public ConnectorReq getBank() { return bank; } public ConnectionRequest setBank(ConnectorReq value) { this.bank = value; return this; } public String getConnectorUuid() { return connectorUuid; } public ConnectionRequest setConnectorUuid(String value) { this.connectorUuid = value; return this; } public Object getInformations() { return informations; } public ConnectionRequest setInformations(Object value) { this.informations = value; return this; } } @DataContract public static class ConnectorReq { @DataMember(Name="id") @SerializedName("id") public Integer id = null; @DataMember(Name="name") @SerializedName("name") public String name = null; @DataMember(Name="hidden") @SerializedName("hidden") public Boolean hidden = null; @DataMember(Name="charged") @SerializedName("charged") public Boolean charged = null; @DataMember(Name="code") @SerializedName("code") public String code = null; @DataMember(Name="beta") @SerializedName("beta") public Boolean beta = null; @DataMember(Name="color") @SerializedName("color") public String color = null; @DataMember(Name="slug") @SerializedName("slug") public String slug = null; @DataMember(Name="sync_periodicity") @SerializedName("sync_periodicity") public BigDecimal syncPeriodicity = null; @DataMember(Name="months_to_fetch") @SerializedName("months_to_fetch") public Integer monthsToFetch = null; @DataMember(Name="siret") @SerializedName("siret") public String siret = null; @DataMember(Name="uuid") @SerializedName("uuid") public String uuid = null; @DataMember(Name="restricted") @SerializedName("restricted") public Boolean restricted = null; @DataMember(Name="stability") @SerializedName("stability") public Stability stability = null; @DataMember(Name="capabilities") @SerializedName("capabilities") public ArrayList capabilities = null; @DataMember(Name="available_auth_mechanisms") @SerializedName("available_auth_mechanisms") public ArrayList availableAuthMechanisms = null; @DataMember(Name="categories") @SerializedName("categories") public ArrayList categories = null; @DataMember(Name="auth_mechanism") @SerializedName("auth_mechanism") public AuthMechanism authMechanism = null; @DataMember(Name="account_types") @SerializedName("account_types") public ArrayList accountTypes = null; @DataMember(Name="account_usage") @SerializedName("account_usage") public ArrayList accountUsages = null; @DataMember(Name="documents_type") @SerializedName("documents_type") public ArrayList documentsType = null; @DataMember(Name="products") @SerializedName("products") public ArrayList products = null; public Integer getId() { return id; } public ConnectorReq setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public ConnectorReq setName(String value) { this.name = value; return this; } public Boolean isHidden() { return hidden; } public ConnectorReq setHidden(Boolean value) { this.hidden = value; return this; } public Boolean isCharged() { return charged; } public ConnectorReq setCharged(Boolean value) { this.charged = value; return this; } public String getCode() { return code; } public ConnectorReq setCode(String value) { this.code = value; return this; } public Boolean isBeta() { return beta; } public ConnectorReq setBeta(Boolean value) { this.beta = value; return this; } public String getColor() { return color; } public ConnectorReq setColor(String value) { this.color = value; return this; } public String getSlug() { return slug; } public ConnectorReq setSlug(String value) { this.slug = value; return this; } public BigDecimal getSyncPeriodicity() { return syncPeriodicity; } public ConnectorReq setSyncPeriodicity(BigDecimal value) { this.syncPeriodicity = value; return this; } public Integer getMonthsToFetch() { return monthsToFetch; } public ConnectorReq setMonthsToFetch(Integer value) { this.monthsToFetch = value; return this; } public String getSiret() { return siret; } public ConnectorReq setSiret(String value) { this.siret = value; return this; } public String getUuid() { return uuid; } public ConnectorReq setUuid(String value) { this.uuid = value; return this; } public Boolean isRestricted() { return restricted; } public ConnectorReq setRestricted(Boolean value) { this.restricted = value; return this; } public Stability getStability() { return stability; } public ConnectorReq setStability(Stability value) { this.stability = value; return this; } public ArrayList getCapabilities() { return capabilities; } public ConnectorReq setCapabilities(ArrayList value) { this.capabilities = value; return this; } public ArrayList getAvailableAuthMechanisms() { return availableAuthMechanisms; } public ConnectorReq setAvailableAuthMechanisms(ArrayList value) { this.availableAuthMechanisms = value; return this; } public ArrayList getCategories() { return categories; } public ConnectorReq setCategories(ArrayList value) { this.categories = value; return this; } public AuthMechanism getAuthMechanism() { return authMechanism; } public ConnectorReq setAuthMechanism(AuthMechanism value) { this.authMechanism = value; return this; } public ArrayList getAccountTypes() { return accountTypes; } public ConnectorReq setAccountTypes(ArrayList value) { this.accountTypes = value; return this; } public ArrayList getAccountUsages() { return accountUsages; } public ConnectorReq setAccountUsages(ArrayList value) { this.accountUsages = value; return this; } public ArrayList getDocumentsType() { return documentsType; } public ConnectorReq setDocumentsType(ArrayList value) { this.documentsType = value; return this; } public ArrayList getProducts() { return products; } public ConnectorReq setProducts(ArrayList value) { this.products = value; return this; } } public static class Stability { public String status = null; public Date lastUpdate = null; public String getStatus() { return status; } public Stability setStatus(String value) { this.status = value; return this; } public Date getLastUpdate() { return lastUpdate; } public Stability setLastUpdate(Date value) { this.lastUpdate = value; return this; } } public static enum AuthMechanism { Credentials(1), WebAuth(2); private final int value; AuthMechanism(final int intValue) { value = intValue; } public int getValue() { return value; } } }