ReplyTypeDataLink
in package
implements
ReplyTypeData
Data associated with replyType value DialogReply::LINK
Table of Contents
Interfaces
- ReplyTypeData
- Data associated with different values of the `replyType` field.
Properties
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : ReplyTypeDataLink
- Deserializes an instance of `ReplyTypeDataLink` from the provided `EoReader`.
- getAction() : int
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- serialize() : void
- Serializes an instance of `ReplyTypeDataLink` to the provided `EoWriter`.
- setAction() : void
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
Properties
$action
private
int
$action
$byteSize
private
int
$byteSize
= 0
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
Deserializes an instance of `ReplyTypeDataLink` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : ReplyTypeDataLink
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
ReplyTypeDataLink —The deserialized data.
getAction()
public
getAction() : int
Return values
intgetByteSize()
Returns the size of the data that this was deserialized from.
public
getByteSize() : int
Return values
int —The size of the data that this was deserialized from.
serialize()
Serializes an instance of `ReplyTypeDataLink` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, ReplyTypeDataLink $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : ReplyTypeDataLink
-
The data to serialize.
setAction()
public
setAction(int $action) : void
Parameters
- $action : int
setByteSize()
Sets the size of the data that this was deserialized from.
public
setByteSize(int $byteSize) : void
Parameters
- $byteSize : int
-
The size of the data that this was deserialized from.