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

com.kobylynskyi.graphql.codegen.extension.GrowingIOConfig Maven / Gradle / Ivy

The newest version!
package com.kobylynskyi.graphql.codegen.extension;

import java.util.Map;

/**
 * @author [email protected]
 * @version 1.0, 2020/10/22
 */
public class GrowingIOConfig {

    private Integer responseProjectionMaxDepth = 3;
    private String graphQLServerHost;
    private Map headers;

    public GrowingIOConfig(String graphQLServerHost) {
        this.graphQLServerHost = graphQLServerHost;
    }

    public GrowingIOConfig(String graphQLServerHost, Map headers) {
        this.graphQLServerHost = graphQLServerHost;
        this.headers = headers;
    }

    public GrowingIOConfig(String graphQLServerHost, Integer responseProjectionMaxDepth) {
        this.responseProjectionMaxDepth = responseProjectionMaxDepth;
        this.graphQLServerHost = graphQLServerHost;
    }

    public GrowingIOConfig(String graphQLServerHost, Integer responseProjectionMaxDepth, Map headers) {
        this.responseProjectionMaxDepth = responseProjectionMaxDepth;
        this.graphQLServerHost = graphQLServerHost;
        this.headers = headers;
    }


    private GrowingIOConfig() {
    }

    public Integer getResponseProjectionMaxDepth() {
        return responseProjectionMaxDepth;
    }

    public String getGraphQLServerHost() {
        return graphQLServerHost;
    }

    public Map getHeaders() {
        return headers;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy