com.yodlee.api.model.consent.RenewConsent 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.consent;
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({"consentId", "title", "titleBody", "expirationDate","dataAccessFrequency","consentStatus","providerId", "providerAccountId","scope"})
public class RenewConsent extends AbstractConsent {
@ApiModelProperty(readOnly = true,
value = "Authorization url generated for the request through PUT Consent to reach endsite.
" //
+ "OR during get authorization url call.
" //
+ "This is created during account addition."//
+ "
"//
+ "Endpoints:"//
+ ""//
+ "- GET providerAccounts
"//
+ "
")
@JsonProperty("authorizationUrl")
private String authorizationUrl;
/**
* Authorization url generated for the request through PUT Consent to reach endsite.
* OR during get authorization url call.
*
* Endpoints:
*
* - GET Consent
*
*
* @return authorizationUrl
*/
public String getAuthorizationUrl() {
return authorizationUrl;
}
@ApiModelProperty(readOnly = true,
value = "Unique identifier for the provider account resource.
" //
+ "This is created during account addition."//
+ "
"//
+ "Endpoints:"//
+ ""//
+ "- GET providerAccounts
"//
+ "- GET accounts
"//
+ "- GET consents
"//
+ "
")
@JsonProperty("providerAccountId")
private Long providerAccountId;
/**
* Unique identifier for the provider account resource.
* This is created during account addition.
*
* Endpoints:
*
* - GET providerAccounts
*
*
* @return providerAccountId
*/
public Long getproviderAccountId() {
return providerAccountId;
}
@Override
public String toString() {
return "RenewConsent [authorizationUrl=" + authorizationUrl + ", providerAccountId=" + providerAccountId
+ ", consentId=" + consentId + ", title=" + title + ", titleBody=" + titleBody + ", expirationDate="
+ expirationDate + ", startDate=" + startDate + ", applicationDisplayName=" + applicationDisplayName
+ ", dataAccessFrequency=" + dataAccessFrequency + ", consentStatus=" + consentStatus + ", providerId="
+ providerId + ", renewal=" + renewal + ", scopes=" + scopes + "]";
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy