Class Sender
The full information representing an approved sender.
Inherited Members
Namespace: Oci.EmailService.Models
Assembly: OCI.DotNetSDK.Email.dll
Syntax
public class Sender
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID for the compartment. |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace.
For more information, see Resource Tags.
|
EmailAddress
Declaration
[Required(ErrorMessage = "EmailAddress is required.")]
[JsonProperty(PropertyName = "emailAddress")]
public string EmailAddress { get; set; }
Property Value
Type | Description |
---|---|
string | Email address of the sender. |
Remarks
Required
EmailDomainId
Declaration
[JsonProperty(PropertyName = "emailDomainId")]
public string EmailDomainId { get; set; }
Property Value
Type | Description |
---|---|
string | The email domain used to assert responsibility for emails sent from this sender. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
For more information, see Resource Tags.
|
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The unique OCID of the sender. |
Remarks
Required
IsSpf
Declaration
[JsonProperty(PropertyName = "isSpf")]
public bool? IsSpf { get; set; }
Property Value
Type | Description |
---|---|
bool? | Value of the SPF field. For more information about SPF, please see SPF Authentication. |
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Sender.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
Sender.LifecycleStateEnum? | The sender's current lifecycle state. |
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the approved sender was added in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339. |