Client attached to the SimpleUser
Payload for the SimpleUser
Private
Readonly
#clientClient instance attached to the Object
Private
#endpointEndpoint url the object will request to
Private
#payloadThe payload of the object.
Private
#userCached user to prevent multiple API calls
Protected
endpointEndpoint url for requests to update the payload
The unique id of the object
Is the user banned?
Is the user blocked by the Client?
Is the user deleted?
Is the user subcribed to the Client?
Is the Cilent subscribed to the user?
Is the user verified?
User's nick
username
Nums for the user
stats
Original nick for the user
Profile photo for the user
Stats for the user
num
Amount of posts the user has
Amount of subscribers the user has
Amount of subcriptions the user has
User's nick
nick
Protected
_cloneCreates a new instance of the same structure with the same payload.
A clone of the current instance
Fetches the objects data from it's endpoint
The instance of the object
Protected
getGets the value from the payload from its key
The key to get the value of
Generated using TypeDoc
Simple user class, typically found in pagination