
com.vmware.connectors.concur.domain.Action Maven / Gradle / Ivy
The newest version!
/*
* Copyright © 2019 VMware, Inc. All Rights Reserved.
* SPDX-License-Identifier: BSD-2-Clause
*/
package com.vmware.connectors.concur.domain;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.springframework.http.HttpMethod;
import java.util.LinkedHashMap;
import java.util.Map;
public class Action {
@JsonProperty("label")
private String label;
@JsonProperty("url")
private String url;
@JsonProperty("type")
private HttpMethod type;
@JsonProperty("action_key")
private String actionKey;
@JsonProperty("request")
private Map request;
public Action() {
this.request = new LinkedHashMap<>();
}
public String getLabel() {
return label;
}
public void setLabel(String label) {
this.label = label;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public HttpMethod getType() {
return type;
}
public void setType(HttpMethod type) {
this.type = type;
}
public String getActionKey() {
return actionKey;
}
public void setActionKey(String actionKey) {
this.actionKey = actionKey;
}
public Map getRequest() {
return request;
}
public void setRequest(Map request) {
this.request = request;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy