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

com.palantir.atlasdb.backup.api.DialogueAtlasRestoreClientEndpoints Maven / Gradle / Ivy

There is a newer version: 0.1152.0
Show newest version
package com.palantir.atlasdb.backup.api;

import com.google.common.collect.ListMultimap;
import com.palantir.dialogue.Endpoint;
import com.palantir.dialogue.HttpMethod;
import com.palantir.dialogue.PathTemplate;
import com.palantir.dialogue.UrlBuilder;
import java.lang.Override;
import java.lang.String;
import java.util.Optional;
import javax.annotation.Generated;

@Generated("com.palantir.conjure.java.services.dialogue.DialogueEndpointsGenerator")
enum DialogueAtlasRestoreClientEndpoints implements Endpoint {
    completeRestore {
        private final PathTemplate pathTemplate =
                PathTemplate.builder().fixed("restore").fixed("complete").build();

        @Override
        public void renderPath(ListMultimap params, UrlBuilder url) {
            pathTemplate.fill(params, url);
        }

        @Override
        public HttpMethod httpMethod() {
            return HttpMethod.POST;
        }

        @Override
        public String serviceName() {
            return "AtlasRestoreClient";
        }

        @Override
        public String endpointName() {
            return "completeRestore";
        }

        @Override
        public String version() {
            return VERSION;
        }
    };

    private static final String VERSION = Optional.ofNullable(
                    DialogueAtlasRestoreClientEndpoints.class.getPackage().getImplementationVersion())
            .orElse("0.0.0");
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy