Creates a new target model instance.
The ID of the campaign this target belongs to
The unique identifier of the target
The access level
Whether the donor server uses HTTPS
The donor subdomain
The donor domain name
The donor server port
Whether the mirror uses HTTPS
The mirror subdomain
The mirror domain
The mirror server port
Whether the target is currently enabled
Total number of messages processed for this target
The date and time when the target was created
ReadonlyaccessThe access level
ReadonlycampaignThe ID of the campaign this target belongs to
ReadonlycreatedThe date and time when the target was created
ReadonlydonorThe donor domain name
ReadonlydonorThe donor server port
ReadonlydonorWhether the donor server uses HTTPS
ReadonlydonorThe donor subdomain
ReadonlyisWhether the target is currently enabled
ReadonlymessageTotal number of messages processed for this target
ReadonlymirrorThe mirror domain
ReadonlymirrorThe mirror server port
ReadonlymirrorWhether the mirror uses HTTPS
ReadonlymirrorThe mirror subdomain
ReadonlytargetThe unique identifier of the target
Returns the donor host.
Returns the full donor hostname.
Returns the donor protocol.
Returns the full donor URL.
Returns the mirror host.
Returns the full mirror hostname.
Returns the mirror protocol.
Returns the full mirror URL.
StaticisType guard to check if a target is enabled.
The target model to check
true if the target is enabled, 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 target model.