ILIAS  release_7 Revision v7.30-3-g800a261c036
ILIAS\OnScreenChat\DTO\MessageDto Class Reference
+ Collaboration diagram for ILIAS\OnScreenChat\DTO\MessageDto:

Public Member Functions

 __construct (string $id, ConversationDto $conversation)
 MessageDtop constructor. More...
 
 getId ()
 
 setId (string $id)
 
 getConversation ()
 
 setConversation (ConversationDto $conversation)
 
 getAuthorUsrId ()
 
 setAuthorUsrId (int $authorUsrId)
 
 getCreatedTimestamp ()
 
 setCreatedTimestamp (int $createdTimestamp)
 
 getMessage ()
 
 setMessage (string $message)
 

Private Attributes

 $id = ''
 
 $conversation
 
 $authorUsrId
 
 $createdTimestamp
 
 $message
 

Detailed Description

Definition at line 10 of file MessageDto.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\OnScreenChat\DTO\MessageDto::__construct ( string  $id,
ConversationDto  $conversation 
)

MessageDtop constructor.

Parameters
string$id
ConversationDto$conversation

Definition at line 28 of file MessageDto.php.

29 {
30 $this->id = $id;
31 $this->conversation = $conversation;
32 }

References ILIAS\OnScreenChat\DTO\MessageDto\$conversation, and ILIAS\OnScreenChat\DTO\MessageDto\$id.

Member Function Documentation

◆ getAuthorUsrId()

ILIAS\OnScreenChat\DTO\MessageDto::getAuthorUsrId ( )
Returns
int

Definition at line 70 of file MessageDto.php.

70 : int
71 {
72 return $this->authorUsrId;
73 }

References ILIAS\OnScreenChat\DTO\MessageDto\$authorUsrId.

◆ getConversation()

ILIAS\OnScreenChat\DTO\MessageDto::getConversation ( )

◆ getCreatedTimestamp()

ILIAS\OnScreenChat\DTO\MessageDto::getCreatedTimestamp ( )
Returns
int

Definition at line 86 of file MessageDto.php.

86 : int
87 {
89 }

References ILIAS\OnScreenChat\DTO\MessageDto\$createdTimestamp.

◆ getId()

ILIAS\OnScreenChat\DTO\MessageDto::getId ( )
Returns
string

Definition at line 38 of file MessageDto.php.

38 : string
39 {
40 return $this->id;
41 }

References ILIAS\OnScreenChat\DTO\MessageDto\$id.

◆ getMessage()

ILIAS\OnScreenChat\DTO\MessageDto::getMessage ( )
Returns
string

Definition at line 102 of file MessageDto.php.

102 : string
103 {
104 return $this->message;
105 }

References ILIAS\OnScreenChat\DTO\MessageDto\$message.

◆ setAuthorUsrId()

ILIAS\OnScreenChat\DTO\MessageDto::setAuthorUsrId ( int  $authorUsrId)
Parameters
int$authorUsrId

Definition at line 78 of file MessageDto.php.

78 : void
79 {
80 $this->authorUsrId = $authorUsrId;
81 }

References ILIAS\OnScreenChat\DTO\MessageDto\$authorUsrId.

◆ setConversation()

ILIAS\OnScreenChat\DTO\MessageDto::setConversation ( ConversationDto  $conversation)
Parameters
ConversationDto$conversation

Definition at line 62 of file MessageDto.php.

62 : void
63 {
64 $this->conversation = $conversation;
65 }

References ILIAS\OnScreenChat\DTO\MessageDto\$conversation.

◆ setCreatedTimestamp()

ILIAS\OnScreenChat\DTO\MessageDto::setCreatedTimestamp ( int  $createdTimestamp)
Parameters
int$createdTimestamp

Definition at line 94 of file MessageDto.php.

94 : void
95 {
96 $this->createdTimestamp = $createdTimestamp;
97 }

References ILIAS\OnScreenChat\DTO\MessageDto\$createdTimestamp.

◆ setId()

ILIAS\OnScreenChat\DTO\MessageDto::setId ( string  $id)
Parameters
string$id

Definition at line 46 of file MessageDto.php.

46 : void
47 {
48 $this->id = $id;
49 }

References ILIAS\OnScreenChat\DTO\MessageDto\$id.

◆ setMessage()

ILIAS\OnScreenChat\DTO\MessageDto::setMessage ( string  $message)
Parameters
string$message

Definition at line 110 of file MessageDto.php.

110 : void
111 {
112 $this->message = $message;
113 }

References ILIAS\OnScreenChat\DTO\MessageDto\$message.

Field Documentation

◆ $authorUsrId

ILIAS\OnScreenChat\DTO\MessageDto::$authorUsrId
private

◆ $conversation

ILIAS\OnScreenChat\DTO\MessageDto::$conversation
private

◆ $createdTimestamp

ILIAS\OnScreenChat\DTO\MessageDto::$createdTimestamp
private

◆ $id

ILIAS\OnScreenChat\DTO\MessageDto::$id = ''
private

◆ $message

ILIAS\OnScreenChat\DTO\MessageDto::$message
private

The documentation for this class was generated from the following file: