com.yodlee.api.model.AssetClassification 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;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import io.swagger.annotations.ApiModelProperty;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({"classificationType", "classificationValue", "allocation"})
public class AssetClassification 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
"//
)
@JsonProperty("classificationType")
private String classificationType;
@ApiModelProperty(readOnly = true,
value = "The allocation percentage of the holding.
"
+ "
Required Feature Enablement: Asset classification feature"//
+ "
"//
+ "Applicable containers: investment
"//
)
@JsonProperty("allocation")
private Double allocation;
@ApiModelProperty(readOnly = true,
value = "The value for each classificationType."
+ "
Required Feature Enablement: Asset classification feature"//
+ "
"//
+ "Applicable containers: investment
"//
)
@JsonProperty("classificationValue")
private String classificationValue;
/**
* The value for each classificationType.
* Required Feature Enablement: Asset classification feature
*
* Applicable containers: investment
*
* @return classificationValue
*/
public String getClassificationValue() {
return classificationValue;
}
/**
* The allocation percentage of the holding.
*
* Required Feature Enablement: Asset classification feature
*
* Applicable containers: investment
*
* @return allocation
*/
public Double getAllocation() {
return allocation;
}
/**
* 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 "AssetClassification [classificationType=" + classificationType + ", allocation=" + allocation
+ ", classificationValue=" + classificationValue + "]";
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy