# Object Definition From Domain

## Object definition from domain

<table>
	<thead>
		<tr>
			<th>Property</th>
			<th>Type</th>
			<th>Description</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td>ID</td>
			<td>Guid</td>
			<td>The ID of the from domain</td>
		</tr>
		<tr>
			<td>AccountID</td>
			<td>Guid</td>
			<td>The accountID of the from domain</td>
		</tr>
		<tr>
			<td>Domain</td>
			<td>String</td>
			<td>The domain, for example myawesomecompany.com</td>
		</tr>
		<tr>
			<td>IsValid</td>
			<td>Bool</td>
			<td>Whether the domain is verified and can be used in from addresses. This is true when all DNS entries are created correctly and have been verified</td>
		</tr>
		<tr>
			<td>DnsEntries</td>
			<td>Array of objects</td>
			<td>Dns entries for this domain, see dns entry object definition</td>
		</tr>
        <tr>
			<td>CreatedOn</td>
			<td>DateTime</td>
			<td>When the from domain was created in CET</td>
		</tr>
		<tr>
			<td>CreatedOnUtc</td>
			<td>DateTime</td>
			<td>When the from domain was created in UTC</td>
		</tr>
		<tr>
			<td>ModifiedOn</td>
			<td>DateTime</td>
			<td>When the from domain was last modified in CET</td>
		</tr>
		<tr>
			<td>ModifiedOnUtc</td>
			<td>DateTime</td>
			<td>When the from domain was last modified in UTC</td>
		</tr>
		<tr>
			<td>DeletedOn</td>
			<td>DateTime</td>
			<td>When the from domain was deleted in CET</td>
		</tr>
		<tr>
			<td>DeletedOnUtc</td>
			<td>DateTime</td>
			<td>When the from domain was deleted in UTC</td>
		</tr>
	</tbody>
</table>

## Object definition DNS entry

<table>
	<thead>
		<tr>
			<th>Property</th>
			<th>Type</th>
			<th>Description</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td>Host</td>
			<td>String</td>
			<td>The host of the DNS entry</td>
		</tr>
		<tr>
			<td>Type</td>
			<td>String</td>
			<td>The type of the DNS entry</td>
		</tr>
		<tr>
			<td>Value</td>
			<td>String</td>
			<td>The value of the DNS entry</td>
		</tr>
		<tr>
			<td>IsValid</td>
			<td>Bool</td>
			<td>Whether this entry has been entered correctly or not. Please note that the verify method should be called first.</td>
		</tr>
	</tbody>
</table>