io.scalecube.services.ServiceMethodDefinition Maven / Gradle / Ivy
package io.scalecube.services;
import java.util.Map;
public class ServiceMethodDefinition {
private String action;
private String contentType;
private Map tags;
/**
* @deprecated exposed only for deserialization purpose.
*/
public ServiceMethodDefinition() {}
public ServiceMethodDefinition(String action, String contentType, Map tags) {
this.action = action;
this.contentType = contentType;
this.tags = tags;
}
public String getAction() {
return action;
}
public ServiceMethodDefinition setAction(String action) {
this.action = action;
return this;
}
public String getContentType() {
return contentType;
}
public ServiceMethodDefinition setContentType(String contentType) {
this.contentType = contentType;
return this;
}
public Map getTags() {
return tags;
}
public ServiceMethodDefinition setTags(Map tags) {
this.tags = tags;
return this;
}
@Override
public String toString() {
return "ServiceMethodDefinition{" +
"action='" + action + '\'' +
", contentType='" + contentType + '\'' +
", tags=" + tags +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy