com.yodlee.api.model.holdings.AssetClassificationList 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.holdings;
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 io.swagger.annotations.ApiModelProperty;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({"classificationType", "classificationValue"})
public class AssetClassificationList extends AbstractModelComponent {
@ApiModelProperty(readOnly = true,
value = "The type of classification to which the investment belongs (assetClass, country, sector, and style)."
+ "
Required Feature Enablement: Asset classification feature"//
+ "
"//
+ "Applicable containers: investment
"//
)
@NotNull(message = "classificationType cannot be null")
@JsonProperty("classificationType")
private String classificationType;
@ApiModelProperty(readOnly = true,
value = "The value for each classificationType."
+ "
Required Feature Enablement: Asset classification feature"//
+ "
"//
+ "Applicable containers: investment
"//
)
@NotNull(message = "classificationValue cannot be null")
@JsonProperty("classificationValue")
private List classificationValues;
/**
* The value for each classificationType.
* Required Feature Enablement: Asset classification feature
*
* Applicable containers: investment
*
* @return classificationValue
*/
public List getClassificationValue() {
return classificationValues == null ? null : Collections.unmodifiableList(classificationValues);
}
/**
* The type of classification to which the investment belongs (assetClass, country, sector, and style).
* Required Feature Enablement: Asset classification feature
*
* Applicable containers: investment
*
* @return classificationType
*/
public String getClassificationType() {
return classificationType;
}
@Override
public String toString() {
return "AssetClassificationList [classificationValue=" + classificationValues + ", classificationType="
+ classificationType + "]";
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy