Creates a new session model instance.
The ID of the campaign this session belongs to
The unique identifier of the session
The ID of the proxy assigned to this session
The session secret for secure operations
Whether the session has been upgraded
Total number of messages processed in this session
The date and time when the session was created
The date and time when the session was last authorized
ReadonlyauthorizedThe date and time when the session was last authorized
ReadonlycampaignThe ID of the campaign this session belongs to
ReadonlycreatedThe date and time when the session was created
ReadonlyisWhether the session has been upgraded
ReadonlymessageTotal number of messages processed in this session
ReadonlyproxyThe ID of the proxy assigned to this session
ReadonlysecretThe session secret for secure operations
ReadonlysessionThe unique identifier of the session
Indicates whether this session is "new".
true if the session has processed 0 or 1 messages, false otherwise
StaticisType guard to filter out null values in arrays.
The model to check
true if the model is not null, false otherwise
Represents a session model.