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

com.yodlee.api.model.Email 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;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.yodlee.api.model.enums.EmailType;
import io.swagger.annotations.ApiModelProperty;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class Email extends AbstractModelComponent {

	@ApiModelProperty(readOnly = true)
	@JsonProperty("type")
	private EmailType type;

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

	public String getValue() {
		return value;
	}

	public EmailType getType() {
		return type;
	}

	@Override
	public String toString() {
		return "Email [type=" + type + ", value=" + value + "]";
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy