Search Results for

    Show / Hide Table of Contents

    Class GenerateDmarcRecordOptions

    GenerateDmarcRecordOptions

    Inheritance
    object
    GenerateDmarcRecordOptions
    Implements
    IEquatable<GenerateDmarcRecordOptions>
    System.ComponentModel.DataAnnotations.IValidatableObject
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "GenerateDmarcRecordOptions")]
    public class GenerateDmarcRecordOptions : IEquatable<GenerateDmarcRecordOptions>, IValidatableObject

    Constructors

    View Source

    GenerateDmarcRecordOptions()

    Initializes a new instance of the GenerateDmarcRecordOptions class.

    Declaration
    [JsonConstructor]
    protected GenerateDmarcRecordOptions()
    View Source

    GenerateDmarcRecordOptions(string, VersionEnum, 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.VersionEnum version = (GenerateDmarcRecordOptions.VersionEnum)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.VersionEnum version

    version (required).

    GenerateDmarcRecordOptions.PolicyEnum policy

    policy (required).

    GenerateDmarcRecordOptions.SubdomainPolicyEnum? subdomainPolicy

    subdomainPolicy.

    System.Collections.Generic.List<T><string> reportEmailAddress

    reportEmailAddress.

    System.Collections.Generic.List<T><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 Source

    _Version

    Gets or Sets _Version

    Declaration
    [DataMember(Name = "version", IsRequired = true, EmitDefaultValue = true)]
    public GenerateDmarcRecordOptions.VersionEnum _Version { get; set; }
    Property Value
    Type Description
    GenerateDmarcRecordOptions.VersionEnum
    View Source

    Adkim

    Gets or Sets Adkim

    Declaration
    [DataMember(Name = "adkim", EmitDefaultValue = false)]
    public GenerateDmarcRecordOptions.AdkimEnum? Adkim { get; set; }
    Property Value
    Type Description
    GenerateDmarcRecordOptions.AdkimEnum?
    View Source

    Aspf

    Gets or Sets Aspf

    Declaration
    [DataMember(Name = "aspf", EmitDefaultValue = false)]
    public GenerateDmarcRecordOptions.AspfEnum? Aspf { get; set; }
    Property Value
    Type Description
    GenerateDmarcRecordOptions.AspfEnum?
    View Source

    Domain

    Gets or Sets Domain

    Declaration
    [DataMember(Name = "domain", IsRequired = true, EmitDefaultValue = true)]
    public string Domain { get; set; }
    Property Value
    Type Description
    string
    View Source

    Fo

    Gets or Sets Fo

    Declaration
    [DataMember(Name = "fo", EmitDefaultValue = false)]
    public GenerateDmarcRecordOptions.FoEnum? Fo { get; set; }
    Property Value
    Type Description
    GenerateDmarcRecordOptions.FoEnum?
    View Source

    ForensicEmailAddress

    Gets or Sets ForensicEmailAddress

    Declaration
    [DataMember(Name = "forensicEmailAddress", EmitDefaultValue = false)]
    public List<string> ForensicEmailAddress { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<T><string>
    View Source

    Percentage

    Gets or Sets Percentage

    Declaration
    [DataMember(Name = "percentage", EmitDefaultValue = false)]
    public int Percentage { get; set; }
    Property Value
    Type Description
    int
    View Source

    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
    View Source

    ReportEmailAddress

    Gets or Sets ReportEmailAddress

    Declaration
    [DataMember(Name = "reportEmailAddress", EmitDefaultValue = false)]
    public List<string> ReportEmailAddress { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<T><string>
    View Source

    ReportFormat

    Gets or Sets ReportFormat

    Declaration
    [DataMember(Name = "reportFormat", EmitDefaultValue = false)]
    public GenerateDmarcRecordOptions.ReportFormatEnum? ReportFormat { get; set; }
    Property Value
    Type Description
    GenerateDmarcRecordOptions.ReportFormatEnum?
    View Source

    SecondsBetweenReports

    Gets or Sets SecondsBetweenReports

    Declaration
    [DataMember(Name = "secondsBetweenReports", EmitDefaultValue = false)]
    public int SecondsBetweenReports { get; set; }
    Property Value
    Type Description
    int
    View Source

    SubdomainPolicy

    Gets or Sets SubdomainPolicy

    Declaration
    [DataMember(Name = "subdomainPolicy", EmitDefaultValue = false)]
    public GenerateDmarcRecordOptions.SubdomainPolicyEnum? SubdomainPolicy { get; set; }
    Property Value
    Type Description
    GenerateDmarcRecordOptions.SubdomainPolicyEnum?

    Methods

    View Source

    Equals(GenerateDmarcRecordOptions)

    Returns true if GenerateDmarcRecordOptions instances are equal

    Declaration
    public bool Equals(GenerateDmarcRecordOptions input)
    Parameters
    Type Name Description
    GenerateDmarcRecordOptions input

    Instance of GenerateDmarcRecordOptions to be compared

    Returns
    Type Description
    bool

    Boolean

    View Source

    Equals(object)

    Returns true if objects are equal

    Declaration
    public override bool Equals(object input)
    Parameters
    Type Name Description
    object input

    Object to be compared

    Returns
    Type Description
    bool

    Boolean

    Overrides
    Object.Equals(Object)
    View Source

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    Hash code

    Overrides
    Object.GetHashCode()
    View Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    string

    JSON string presentation of the object

    View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    String presentation of the object

    Overrides
    object.ToString()
    View Source

    Validate(ValidationContext)

    To validate all properties of the instance

    Declaration
    public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
    Parameters
    Type Name Description
    ValidationContext validationContext

    Validation context

    Returns
    Type Description
    IEnumerable<ValidationResult>

    Validation Result

    Implements

    System.IEquatable<T>
    System.ComponentModel.DataAnnotations.IValidatableObject
    • View Source
    In This Article
    Back to top See MailSlurp website for more information.