io.wisetime.connector.api_client.EndpointPath Maven / Gradle / Ivy
/*
* Copyright (c) 2018 Practice Insight Pty Ltd. All Rights Reserved.
*/
package io.wisetime.connector.api_client;
import io.wisetime.connector.api_client.support.ConnectApiRequest;
/**
* @author [email protected]
*/
public enum EndpointPath {
TagDelete("/tag/:tagName/", ConnectApiRequest.HttpMethod.DELETE),
TagUpsert("/tag/", ConnectApiRequest.HttpMethod.POST),
TagAddKeyword("/tag/:tagName/keyword/", ConnectApiRequest.HttpMethod.POST),
TagDeleteKeyword("/tag/:tagName/keyword/:keyword", ConnectApiRequest.HttpMethod.DELETE),
TeamInfo("/team/info", ConnectApiRequest.HttpMethod.GET),
PostedTimeSubscribe("/postedtime/subscribe", ConnectApiRequest.HttpMethod.POST);
private final String actionPath;
private ConnectApiRequest.HttpMethod httpMethod;
EndpointPath(String actionPath, ConnectApiRequest.HttpMethod httpMethod) {
this.actionPath = actionPath;
this.httpMethod = httpMethod;
}
public String getActionPath() {
return actionPath;
}
public ConnectApiRequest.HttpMethod getHttpMethod() {
return httpMethod;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy