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

io.swagger.models.resourcelisting.BasicAuthorization Maven / Gradle / Ivy

There is a newer version: 1.0.71
Show newest version
package io.swagger.models.resourcelisting;

import io.swagger.models.AuthorizationType;

/**
 * Created by ron on 11/04/14.
 */
public class BasicAuthorization extends Authorization {

    public BasicAuthorization() {
        setType(AuthorizationType.BASIC_AUTH);
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class BasicAuthorization {\n");
        sb.append("  type: ").append(getType()).append("\n");
        sb.append("  extraFields: ").append(getExtraFields()).append("\n");
        sb.append("}\n");
        return sb.toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy