Creates a new full 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
Array of labels for categorization
Connection timeout
Simple request timeout
Streaming request timeout
Maximum headers size in bytes
Maximum body size in bytes
Custom main page content
Custom 404 page content
Custom favicon content
Custom robots.txt content
Custom sitemap.xml content
Whether to allow WebSocket connections
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
ReadonlyallowWhether to allow WebSocket connections
ReadonlybodyMaximum body size in bytes
ReadonlycampaignThe ID of the campaign this target belongs to
ReadonlyconnectConnection timeout
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
ReadonlyfaviconCustom favicon content
ReadonlyheadersMaximum headers size in bytes
ReadonlyisWhether the target is currently enabled
ReadonlylabelsArray of labels for categorization
ReadonlymainCustom main page content
ReadonlymessageTotal number of messages processed for this target
ReadonlymirrorThe mirror domain
ReadonlymirrorThe mirror server port
ReadonlymirrorWhether the mirror uses HTTPS
ReadonlymirrorThe mirror subdomain
ReadonlynotCustom 404 page content
ReadonlyrobotsCustom robots.txt content
ReadonlysimpleSimple request timeout
ReadonlysitemapCustom sitemap.xml content
ReadonlystreamStreaming request timeout
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.
Checks if the target has a specific label.
The label to check
true if the label exists, false otherwise
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 full target model.