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

io.fabric8.swagger.model.AuthorizationCode Maven / Gradle / Ivy


package io.fabric8.swagger.model;

import javax.annotation.Generated;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({
    "tokenEndpoint",
    "tokenRequestEndpoint"
})
@ToString
@EqualsAndHashCode
public class AuthorizationCode {

    /**
     * 
     * (Required)
     * 
     */
    @JsonProperty("tokenEndpoint")
    @Valid
    @NotNull
    private TokenEndpoint tokenEndpoint;
    /**
     * 
     * (Required)
     * 
     */
    @JsonProperty("tokenRequestEndpoint")
    @Valid
    @NotNull
    private TokenRequestEndpoint tokenRequestEndpoint;

    /**
     * 
     * (Required)
     * 
     * @return
     *     The tokenEndpoint
     */
    @JsonProperty("tokenEndpoint")
    public TokenEndpoint getTokenEndpoint() {
        return tokenEndpoint;
    }

    /**
     * 
     * (Required)
     * 
     * @param tokenEndpoint
     *     The tokenEndpoint
     */
    @JsonProperty("tokenEndpoint")
    public void setTokenEndpoint(TokenEndpoint tokenEndpoint) {
        this.tokenEndpoint = tokenEndpoint;
    }

    /**
     * 
     * (Required)
     * 
     * @return
     *     The tokenRequestEndpoint
     */
    @JsonProperty("tokenRequestEndpoint")
    public TokenRequestEndpoint getTokenRequestEndpoint() {
        return tokenRequestEndpoint;
    }

    /**
     * 
     * (Required)
     * 
     * @param tokenRequestEndpoint
     *     The tokenRequestEndpoint
     */
    @JsonProperty("tokenRequestEndpoint")
    public void setTokenRequestEndpoint(TokenRequestEndpoint tokenRequestEndpoint) {
        this.tokenRequestEndpoint = tokenRequestEndpoint;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy