@Generated(value="Autogenerated by Thrift Compiler (0.11.0)",
date="2022-08-29")
public class WebCallRequest
extends java.lang.Object
implements org.apache.thrift.TBase<WebCallRequest,WebCallRequest._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<WebCallRequest>
| Modifier and Type | Class and Description |
|---|---|
static class |
WebCallRequest._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<WebCallRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
WebCallRequest() |
WebCallRequest(long timestamp,
java.lang.String stackUUID,
java.lang.String webCallUUID,
java.lang.String token,
java.lang.String url,
WebCallMethod method,
java.util.Map<java.lang.String,java.lang.String> headers,
java.lang.String body) |
WebCallRequest(WebCallRequest other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(WebCallRequest other) |
WebCallRequest |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(WebCallRequest that) |
WebCallRequest._Fields |
fieldForId(int fieldId) |
java.lang.String |
getBody()
Request body
|
java.lang.Object |
getFieldValue(WebCallRequest._Fields field) |
java.util.Map<java.lang.String,java.lang.String> |
getHeaders()
Request headers
|
int |
getHeadersSize() |
WebCallMethod |
getMethod()
HTTP Method to use for the call
|
java.lang.String |
getStackUUID()
UUID of the stack on which it was issued, this is used
to match it with a StackInteractionReport.
|
long |
getTimestamp()
Timestamp at which the request was created.
|
java.lang.String |
getToken()
Token used to issue the WebCall
|
java.lang.String |
getUrl()
URL to call
|
java.lang.String |
getWebCallUUID()
UUID of the WebCall.
|
int |
hashCode() |
boolean |
isSet(WebCallRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetBody()
Returns true if field body is set (has been assigned a value) and false otherwise
|
boolean |
isSetHeaders()
Returns true if field headers is set (has been assigned a value) and false otherwise
|
boolean |
isSetMethod()
Returns true if field method is set (has been assigned a value) and false otherwise
|
boolean |
isSetStackUUID()
Returns true if field stackUUID is set (has been assigned a value) and false otherwise
|
boolean |
isSetTimestamp()
Returns true if field timestamp is set (has been assigned a value) and false otherwise
|
boolean |
isSetToken()
Returns true if field token is set (has been assigned a value) and false otherwise
|
boolean |
isSetUrl()
Returns true if field url is set (has been assigned a value) and false otherwise
|
boolean |
isSetWebCallUUID()
Returns true if field webCallUUID is set (has been assigned a value) and false otherwise
|
void |
putToHeaders(java.lang.String key,
java.lang.String val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
WebCallRequest |
setBody(java.lang.String body)
Request body
|
void |
setBodyIsSet(boolean value) |
void |
setFieldValue(WebCallRequest._Fields field,
java.lang.Object value) |
WebCallRequest |
setHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
Request headers
|
void |
setHeadersIsSet(boolean value) |
WebCallRequest |
setMethod(WebCallMethod method)
HTTP Method to use for the call
|
void |
setMethodIsSet(boolean value) |
WebCallRequest |
setStackUUID(java.lang.String stackUUID)
UUID of the stack on which it was issued, this is used
to match it with a StackInteractionReport.
|
void |
setStackUUIDIsSet(boolean value) |
WebCallRequest |
setTimestamp(long timestamp)
Timestamp at which the request was created.
|
void |
setTimestampIsSet(boolean value) |
WebCallRequest |
setToken(java.lang.String token)
Token used to issue the WebCall
|
void |
setTokenIsSet(boolean value) |
WebCallRequest |
setUrl(java.lang.String url)
URL to call
|
void |
setUrlIsSet(boolean value) |
WebCallRequest |
setWebCallUUID(java.lang.String webCallUUID)
UUID of the WebCall.
|
void |
setWebCallUUIDIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetBody() |
void |
unsetHeaders() |
void |
unsetMethod() |
void |
unsetStackUUID() |
void |
unsetTimestamp() |
void |
unsetToken() |
void |
unsetUrl() |
void |
unsetWebCallUUID() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<WebCallRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public WebCallRequest()
public WebCallRequest(long timestamp,
java.lang.String stackUUID,
java.lang.String webCallUUID,
java.lang.String token,
java.lang.String url,
WebCallMethod method,
java.util.Map<java.lang.String,java.lang.String> headers,
java.lang.String body)
public WebCallRequest(WebCallRequest other)
public WebCallRequest deepCopy()
deepCopy in interface org.apache.thrift.TBase<WebCallRequest,WebCallRequest._Fields>public void clear()
clear in interface org.apache.thrift.TBase<WebCallRequest,WebCallRequest._Fields>public long getTimestamp()
public WebCallRequest setTimestamp(long timestamp)
public void unsetTimestamp()
public boolean isSetTimestamp()
public void setTimestampIsSet(boolean value)
public java.lang.String getStackUUID()
public WebCallRequest setStackUUID(java.lang.String stackUUID)
public void unsetStackUUID()
public boolean isSetStackUUID()
public void setStackUUIDIsSet(boolean value)
public java.lang.String getWebCallUUID()
public WebCallRequest setWebCallUUID(java.lang.String webCallUUID)
public void unsetWebCallUUID()
public boolean isSetWebCallUUID()
public void setWebCallUUIDIsSet(boolean value)
public java.lang.String getToken()
public WebCallRequest setToken(java.lang.String token)
public void unsetToken()
public boolean isSetToken()
public void setTokenIsSet(boolean value)
public java.lang.String getUrl()
public WebCallRequest setUrl(java.lang.String url)
public void unsetUrl()
public boolean isSetUrl()
public void setUrlIsSet(boolean value)
public WebCallMethod getMethod()
WebCallMethodpublic WebCallRequest setMethod(WebCallMethod method)
WebCallMethodpublic void unsetMethod()
public boolean isSetMethod()
public void setMethodIsSet(boolean value)
public int getHeadersSize()
public void putToHeaders(java.lang.String key,
java.lang.String val)
public java.util.Map<java.lang.String,java.lang.String> getHeaders()
public WebCallRequest setHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
public void unsetHeaders()
public boolean isSetHeaders()
public void setHeadersIsSet(boolean value)
public java.lang.String getBody()
public WebCallRequest setBody(java.lang.String body)
public void unsetBody()
public boolean isSetBody()
public void setBodyIsSet(boolean value)
public void setFieldValue(WebCallRequest._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<WebCallRequest,WebCallRequest._Fields>public java.lang.Object getFieldValue(WebCallRequest._Fields field)
getFieldValue in interface org.apache.thrift.TBase<WebCallRequest,WebCallRequest._Fields>public boolean isSet(WebCallRequest._Fields field)
isSet in interface org.apache.thrift.TBase<WebCallRequest,WebCallRequest._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(WebCallRequest that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(WebCallRequest other)
compareTo in interface java.lang.Comparable<WebCallRequest>public WebCallRequest._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<WebCallRequest,WebCallRequest._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TException