Search Results for

    Show / Hide Table of Contents

    Class GenerateMtaStsRecordOptions

    GenerateMtaStsRecordOptions

    Inheritance
    object
    GenerateMtaStsRecordOptions
    Implements
    IValidatableObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "GenerateMtaStsRecordOptions")]
    public class GenerateMtaStsRecordOptions : IValidatableObject

    Constructors

    View Source

    GenerateMtaStsRecordOptions()

    Initializes a new instance of the GenerateMtaStsRecordOptions class.

    Declaration
    [JsonConstructor]
    protected GenerateMtaStsRecordOptions()
    View Source

    GenerateMtaStsRecordOptions(string, VarVersionEnum, ModeEnum, int, int, List<string>)

    Initializes a new instance of the GenerateMtaStsRecordOptions class.

    Declaration
    public GenerateMtaStsRecordOptions(string host = null, GenerateMtaStsRecordOptions.VarVersionEnum varVersion = (GenerateMtaStsRecordOptions.VarVersionEnum)0, GenerateMtaStsRecordOptions.ModeEnum mode = (GenerateMtaStsRecordOptions.ModeEnum)0, int ttl = 0, int maxAgeSeconds = 0, List<string> mxRecords = null)
    Parameters
    Type Name Description
    string host

    host (required).

    GenerateMtaStsRecordOptions.VarVersionEnum varVersion

    varVersion (required).

    GenerateMtaStsRecordOptions.ModeEnum mode

    mode (required).

    int ttl

    ttl (required).

    int maxAgeSeconds

    maxAgeSeconds (required).

    List<string> mxRecords

    mxRecords (required).

    Properties

    View Source

    Host

    Gets or Sets Host

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

    MaxAgeSeconds

    Gets or Sets MaxAgeSeconds

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

    Mode

    Gets or Sets Mode

    Declaration
    [DataMember(Name = "mode", IsRequired = true, EmitDefaultValue = true)]
    public GenerateMtaStsRecordOptions.ModeEnum Mode { get; set; }
    Property Value
    Type Description
    GenerateMtaStsRecordOptions.ModeEnum
    View Source

    MxRecords

    Gets or Sets MxRecords

    Declaration
    [DataMember(Name = "mxRecords", IsRequired = true, EmitDefaultValue = true)]
    public List<string> MxRecords { get; set; }
    Property Value
    Type Description
    List<string>
    View Source

    Ttl

    Gets or Sets Ttl

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

    VarVersion

    Gets or Sets VarVersion

    Declaration
    [DataMember(Name = "version", IsRequired = true, EmitDefaultValue = true)]
    public GenerateMtaStsRecordOptions.VarVersionEnum VarVersion { get; set; }
    Property Value
    Type Description
    GenerateMtaStsRecordOptions.VarVersionEnum

    Methods

    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()

    Implements

    IValidatableObject
    • View Source
    In this article
    Back to top See MailSlurp website for more information.