2021-06-30 23:58:53 +00:00
|
|
|
accessing
|
|
|
|
fromDictionary: aDictionary
|
|
|
|
created := (aDictionary at: 'created_at') asDateAndTime.
|
|
|
|
text := aDictionary at: 'text'.
|
|
|
|
id := aDictionary at: 'id'.
|
|
|
|
authorId := aDictionary at: 'author_id'.
|
2021-07-16 12:00:58 +00:00
|
|
|
username := aDictionary at: 'username' ifAbsent: [''] .
|
|
|
|
conversationId := aDictionary at: 'conversation_id' ifAbsent: [ '' ].
|
2021-06-30 23:58:53 +00:00
|
|
|
^ self
|