Creates a new session model instance.
The ID of the campaign this session belongs to.
The unique identifier for the session.
The ID of the proxy assigned to this session.
The session secret for secure operations.
The flag indicating if the session has been upgraded.
The total number of messages processed through 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.
ReadonlyisThe flag indicating if the session has been upgraded.
ReadonlymessageThe total number of messages processed through this session.
ReadonlyproxyThe ID of the proxy assigned to this session.
ReadonlysecretThe session secret for secure operations.
ReadonlysessionThe unique identifier for the session.
Indicates whether this session is considered 'new'.
true if the session has processed 0 or 1 messages, false otherwise.
StaticisType guard to filter out null models from a list.
The model to check.
true if the model is not null, false otherwise.
Represents the session model.