com.yodlee.api.model.providers.AdditionalDataSet 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.providers;
import java.util.Collections;
import java.util.List;
import javax.validation.constraints.NotNull;
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 com.yodlee.api.model.enums.Container;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({"name", "container", "containerAttributes"})
public class AdditionalDataSet extends AbstractModelComponent {
@NotNull(message = "name cannot be null")
@JsonProperty("name")
private String name;
@NotNull(message = "container cannot be null")
@JsonProperty("container")
private List containers;
public String getName() {
return name;
}
@JsonProperty("container")
public List getContainers() {
return containers == null ? null : Collections.unmodifiableList(containers);
}
@Override
public String toString() {
return "Capability [name=" + name + ", containers=" + containers + "]";
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy