com.yodlee.api.model.dataextracts.DataExtractsUserData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yodlee-api-model-beta Show documentation
Show all versions of yodlee-api-model-beta Show documentation
Yodlee API Model Beta is the stage version
/**
* Copyright (c) 2019 Yodlee, Inc. All Rights Reserved.
*
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
package com.yodlee.api.model.dataextracts;
import java.util.Collections;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.yodlee.api.model.AbstractModelComponent;
import io.swagger.annotations.ApiModelProperty;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({"user", "holding", "totalTransactionsCount", "transaction", "account", "providerAccount"})
public class DataExtractsUserData extends AbstractModelComponent {
@ApiModelProperty(readOnly = true)
@JsonProperty("user")
private DataExtractsUser user;
@ApiModelProperty(readOnly = true)
@JsonProperty("holding")
private List holdings;
@ApiModelProperty(readOnly = true)
@JsonProperty("totalTransactionsCount")
private Long totalTransactionsCount;
@ApiModelProperty(readOnly = true)
@JsonProperty("transaction")
private List transactions;
@ApiModelProperty(readOnly = true)
@JsonProperty("account")
private List accounts;
@ApiModelProperty(readOnly = true)
@JsonProperty("providerAccount")
private List providerAccounts;
@JsonProperty("holding")
public List getHoldings() {
return holdings == null ? null : Collections.unmodifiableList(holdings);
}
@JsonProperty("totalTransactionsCount")
public Long getTotalTransactionsCount() {
return totalTransactionsCount;
}
@JsonProperty("transaction")
public List getTransactions() {
return transactions == null ? null : Collections.unmodifiableList(transactions);
}
@JsonProperty("account")
public List getAccounts() {
return accounts == null ? null : Collections.unmodifiableList(accounts);
}
@JsonProperty("providerAccount")
public List getProviderAccounts() {
return providerAccounts == null ? null : Collections.unmodifiableList(providerAccounts);
}
public DataExtractsUser getUser() {
return user;
}
@Override
public String toString() {
return "DataExtractsUserData [holdings=" + holdings + ", totalTransactionsCount=" +
+ totalTransactionsCount + ", transactions=" + transactions + ", accounts="
+ accounts + ", providerAccounts=" + providerAccounts + ", user=" + user + "]";
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy