public class Envelope extends java.lang.Object implements IJsonSerializable
Constructor and Description |
---|
Envelope()
Initializes a new instance of the Envelope class.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAppId()
Gets the AppId property.
|
java.lang.String |
getAppVer()
Gets the AppVer property.
|
java.lang.String |
getCV()
Gets the CV property.
|
Base |
getData()
Gets the Data property.
|
java.lang.String |
getEpoch()
Gets the Epoch property.
|
java.util.Map<java.lang.String,Extension> |
getExt()
Gets the Ext property.
|
long |
getFlags()
Gets the Flags property.
|
java.lang.String |
getIKey()
Gets the IKey property.
|
java.lang.String |
getName()
Gets the Name property.
|
java.lang.String |
getOs()
Gets the Os property.
|
java.lang.String |
getOsVer()
Gets the OsVer property.
|
int |
getSampleRate()
Gets the PopSample property.
|
long |
getSeqNum()
Gets the SeqNum property.
|
java.util.Map<java.lang.String,java.lang.String> |
getTags()
Gets the Tags property.
|
java.lang.String |
getTime()
Gets the Time property.
|
int |
getVer()
Gets the Ver property.
|
protected void |
InitializeFields()
Optionally initializes fields for the current context.
|
void |
serialize(java.io.Writer writer)
Serializes the beginning of this object to the passed in writer.
|
protected java.lang.String |
serializeContent(java.io.Writer writer)
Serializes the beginning of this object to the passed in writer.
|
void |
setAppId(java.lang.String value)
Sets the AppId property.
|
void |
setAppVer(java.lang.String value)
Sets the AppVer property.
|
void |
setCV(java.lang.String value)
Sets the CV property.
|
void |
setData(Base value)
Sets the Data property.
|
void |
setEpoch(java.lang.String value)
Sets the Epoch property.
|
void |
setExt(java.util.Map<java.lang.String,Extension> value)
Sets the Ext property.
|
void |
setFlags(long value)
Sets the Flags property.
|
void |
setIKey(java.lang.String value)
Sets the IKey property.
|
void |
setName(java.lang.String value)
Sets the Name property.
|
void |
setOs(java.lang.String value)
Sets the Os property.
|
void |
setOsVer(java.lang.String value)
Sets the OsVer property.
|
void |
setSampleRate(int value)
Sets the PopSample property.
|
void |
setSeqNum(long value)
Sets the SeqNum property.
|
void |
setTags(java.util.Map<java.lang.String,java.lang.String> value)
Sets the Tags property.
|
void |
setTime(java.lang.String value)
Sets the Time property.
|
void |
setVer(int value)
Sets the Ver property.
|
public int getVer()
public void setVer(int value)
public java.lang.String getName()
public void setName(java.lang.String value)
public java.lang.String getTime()
public void setTime(java.lang.String value)
public int getSampleRate()
public void setSampleRate(int value)
public java.lang.String getEpoch()
public void setEpoch(java.lang.String value)
public long getSeqNum()
public void setSeqNum(long value)
public java.lang.String getIKey()
public void setIKey(java.lang.String value)
public long getFlags()
public void setFlags(long value)
public java.lang.String getOs()
public void setOs(java.lang.String value)
public java.lang.String getOsVer()
public void setOsVer(java.lang.String value)
public java.lang.String getAppId()
public void setAppId(java.lang.String value)
public java.lang.String getAppVer()
public void setAppVer(java.lang.String value)
public java.lang.String getCV()
public void setCV(java.lang.String value)
public java.util.Map<java.lang.String,java.lang.String> getTags()
public void setTags(java.util.Map<java.lang.String,java.lang.String> value)
public java.util.Map<java.lang.String,Extension> getExt()
public void setExt(java.util.Map<java.lang.String,Extension> value)
public Base getData()
public void setData(Base value)
public void serialize(java.io.Writer writer) throws java.io.IOException
serialize
in interface IJsonSerializable
writer
- The writer to serialize this object to.java.io.IOException
- will be thrown if something wrong with the output
streamprotected java.lang.String serializeContent(java.io.Writer writer) throws java.io.IOException
writer
- The writer to serialize this object to.java.io.IOException
protected void InitializeFields()