com.yodlee.api.model.AbstractDataset 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 java.util.Objects;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.yodlee.api.model.enums.DatasetNameType;
import io.swagger.annotations.ApiModelProperty;
@JsonInclude(JsonInclude.Include.NON_NULL)
public abstract class AbstractDataset extends AbstractModelComponent {
@ApiModelProperty(value = "The name of the dataset requested from the provider site" + "
"//
+ "Account Type: Manual
"//
+ "Endpoints:"//
+ ""//
+ "- GET accounts
"//
+ "- GET accounts/{accountId}
"//
+ "- GET providerAccounts
"//
+ "- POST providerAccounts
"//
+ "- PUT providerAccounts/{providerAccountId}
"//
+ "- GET providerAccounts/{providerAccountId}
"//
+ "- GET providers/{providerId}
"//
+ "- GET providers
"//
+ "
"//
+ "Applicable Values
"//
)
@JsonProperty("name")
private DatasetNameType name;
/**
* The name of the dataset requested from the provider site
*
* Account Type: Manual
* Endpoints:
*
* - GET accounts
* - GET accounts/{accountId}
* - GET providerAccounts
* - POST providerAccounts
* - PUT providerAccounts/{providerAccountId}
* - GET providerAccounts/{providerAccountId}
* - GET providers/{providerId}
* - GET providers
*
* Applicable Values
*
* @return name
*/
public DatasetNameType getName() {
return name;
}
public void setName(DatasetNameType name) {
this.name = name;
}
@Override
public int hashCode() {
return Objects.hash(name);
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
AbstractDataset other = (AbstractDataset) obj;
return name == other.name;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy