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

com.tinypass.client.id.model.OAuthRequest Maven / Gradle / Ivy

There is a newer version: 16.366.0
Show newest version
package com.tinypass.client.id.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

public class OAuthRequest {

    private String clientId = null;
  

    private String refreshToken = null;
  

    private String grantType = null;
  

    private String code = null;
  

    private String clientSecret = null;
  

    private String redirectUri = null;
  

    private String codeVerifier = null;
  


  public String getClientId() {
    return clientId;
  }
  public void setClientId(String clientId) {
    this.clientId = clientId;
  }


  public String getRefreshToken() {
    return refreshToken;
  }
  public void setRefreshToken(String refreshToken) {
    this.refreshToken = refreshToken;
  }


  public String getGrantType() {
    return grantType;
  }
  public void setGrantType(String grantType) {
    this.grantType = grantType;
  }


  public String getCode() {
    return code;
  }
  public void setCode(String code) {
    this.code = code;
  }


  public String getClientSecret() {
    return clientSecret;
  }
  public void setClientSecret(String clientSecret) {
    this.clientSecret = clientSecret;
  }


  public String getRedirectUri() {
    return redirectUri;
  }
  public void setRedirectUri(String redirectUri) {
    this.redirectUri = redirectUri;
  }


  public String getCodeVerifier() {
    return codeVerifier;
  }
  public void setCodeVerifier(String codeVerifier) {
    this.codeVerifier = codeVerifier;
  }


  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class OAuthRequest {\n");
    sb.append("  clientId: ").append(clientId).append("\n");
    sb.append("  refreshToken: ").append(refreshToken).append("\n");
    sb.append("  grantType: ").append(grantType).append("\n");
    sb.append("  code: ").append(code).append("\n");
    sb.append("  clientSecret: ").append(clientSecret).append("\n");
    sb.append("  redirectUri: ").append(redirectUri).append("\n");
    sb.append("  codeVerifier: ").append(codeVerifier).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy