Class GenerateDmarcRecordOptions
GenerateDmarcRecordOptions
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "GenerateDmarcRecordOptions")]
public class GenerateDmarcRecordOptions : IValidatableObject
Constructors
View SourceGenerateDmarcRecordOptions()
Initializes a new instance of the GenerateDmarcRecordOptions class.
Declaration
[JsonConstructor]
protected GenerateDmarcRecordOptions()
GenerateDmarcRecordOptions(string, VarVersionEnum, PolicyEnum, SubdomainPolicyEnum?, List<string>, List<string>, int, ReportFormatEnum?, int, AdkimEnum?, AspfEnum?, FoEnum?)
Initializes a new instance of the GenerateDmarcRecordOptions class.
Declaration
public GenerateDmarcRecordOptions(string domain = null, GenerateDmarcRecordOptions.VarVersionEnum varVersion = (GenerateDmarcRecordOptions.VarVersionEnum)0, GenerateDmarcRecordOptions.PolicyEnum policy = (GenerateDmarcRecordOptions.PolicyEnum)0, GenerateDmarcRecordOptions.SubdomainPolicyEnum? subdomainPolicy = null, List<string> reportEmailAddress = null, List<string> forensicEmailAddress = null, int percentage = 0, GenerateDmarcRecordOptions.ReportFormatEnum? reportFormat = null, int secondsBetweenReports = 0, GenerateDmarcRecordOptions.AdkimEnum? adkim = null, GenerateDmarcRecordOptions.AspfEnum? aspf = null, GenerateDmarcRecordOptions.FoEnum? fo = null)
Parameters
Type | Name | Description |
---|---|---|
string | domain | domain (required). |
GenerateDmarcRecordOptions.VarVersionEnum | varVersion | varVersion (required). |
GenerateDmarcRecordOptions.PolicyEnum | policy | policy (required). |
GenerateDmarcRecordOptions.SubdomainPolicyEnum? | subdomainPolicy | subdomainPolicy. |
List<string> | reportEmailAddress | reportEmailAddress. |
List<string> | forensicEmailAddress | forensicEmailAddress. |
int | percentage | percentage. |
GenerateDmarcRecordOptions.ReportFormatEnum? | reportFormat | reportFormat. |
int | secondsBetweenReports | secondsBetweenReports. |
GenerateDmarcRecordOptions.AdkimEnum? | adkim | adkim. |
GenerateDmarcRecordOptions.AspfEnum? | aspf | aspf. |
GenerateDmarcRecordOptions.FoEnum? | fo | fo. |
Properties
View SourceAdkim
Gets or Sets Adkim
Declaration
[DataMember(Name = "adkim", EmitDefaultValue = false)]
public GenerateDmarcRecordOptions.AdkimEnum? Adkim { get; set; }
Property Value
Type | Description |
---|---|
GenerateDmarcRecordOptions.AdkimEnum? |
Aspf
Gets or Sets Aspf
Declaration
[DataMember(Name = "aspf", EmitDefaultValue = false)]
public GenerateDmarcRecordOptions.AspfEnum? Aspf { get; set; }
Property Value
Type | Description |
---|---|
GenerateDmarcRecordOptions.AspfEnum? |
Domain
Gets or Sets Domain
Declaration
[DataMember(Name = "domain", IsRequired = true, EmitDefaultValue = true)]
public string Domain { get; set; }
Property Value
Type | Description |
---|---|
string |
Fo
Gets or Sets Fo
Declaration
[DataMember(Name = "fo", EmitDefaultValue = false)]
public GenerateDmarcRecordOptions.FoEnum? Fo { get; set; }
Property Value
Type | Description |
---|---|
GenerateDmarcRecordOptions.FoEnum? |
ForensicEmailAddress
Gets or Sets ForensicEmailAddress
Declaration
[DataMember(Name = "forensicEmailAddress", EmitDefaultValue = false)]
public List<string> ForensicEmailAddress { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
Percentage
Gets or Sets Percentage
Declaration
[DataMember(Name = "percentage", EmitDefaultValue = false)]
public int Percentage { get; set; }
Property Value
Type | Description |
---|---|
int |
Policy
Gets or Sets Policy
Declaration
[DataMember(Name = "policy", IsRequired = true, EmitDefaultValue = true)]
public GenerateDmarcRecordOptions.PolicyEnum Policy { get; set; }
Property Value
Type | Description |
---|---|
GenerateDmarcRecordOptions.PolicyEnum |
ReportEmailAddress
Gets or Sets ReportEmailAddress
Declaration
[DataMember(Name = "reportEmailAddress", EmitDefaultValue = false)]
public List<string> ReportEmailAddress { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
ReportFormat
Gets or Sets ReportFormat
Declaration
[DataMember(Name = "reportFormat", EmitDefaultValue = false)]
public GenerateDmarcRecordOptions.ReportFormatEnum? ReportFormat { get; set; }
Property Value
Type | Description |
---|---|
GenerateDmarcRecordOptions.ReportFormatEnum? |
SecondsBetweenReports
Gets or Sets SecondsBetweenReports
Declaration
[DataMember(Name = "secondsBetweenReports", EmitDefaultValue = false)]
public int SecondsBetweenReports { get; set; }
Property Value
Type | Description |
---|---|
int |
SubdomainPolicy
Gets or Sets SubdomainPolicy
Declaration
[DataMember(Name = "subdomainPolicy", EmitDefaultValue = false)]
public GenerateDmarcRecordOptions.SubdomainPolicyEnum? SubdomainPolicy { get; set; }
Property Value
Type | Description |
---|---|
GenerateDmarcRecordOptions.SubdomainPolicyEnum? |
VarVersion
Gets or Sets VarVersion
Declaration
[DataMember(Name = "version", IsRequired = true, EmitDefaultValue = true)]
public GenerateDmarcRecordOptions.VarVersionEnum VarVersion { get; set; }
Property Value
Type | Description |
---|---|
GenerateDmarcRecordOptions.VarVersionEnum |
Methods
View SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
string | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | String presentation of the object |