All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yodlee.api.model.holdings.SecurityHolding Maven / Gradle / Ivy

There is a newer version: 1.1.33
Show newest 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 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({"id", "security"})
public class SecurityHolding extends AbstractModelComponent {

	@ApiModelProperty(readOnly = true)
	@JsonProperty("id")
	private String id;

	@ApiModelProperty(readOnly = true)
	@JsonProperty("security")
	private Security security;

	public String getId() {
		return id;
	}

	public Security getSecurity() {
		return security;
	}

	@Override
	public String toString() {
		return "SecurityHolding [id=" + id + ", security=" + security + "]";
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy