Search Results for

    Show / Hide Table of Contents

    Class GroupDto

    Contact group data

    Inheritance
    object
    GroupDto
    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 = "GroupDto")]
    public class GroupDto : IValidatableObject

    Constructors

    View Source

    GroupDto()

    Initializes a new instance of the GroupDto class.

    Declaration
    [JsonConstructor]
    protected GroupDto()
    View Source

    GroupDto(Guid, string, string, DateTime)

    Initializes a new instance of the GroupDto class.

    Declaration
    public GroupDto(Guid id = default, string name = null, string description = null, DateTime createdAt = default)
    Parameters
    Type Name Description
    Guid id

    id (required).

    string name

    name (required).

    string description

    description.

    DateTime createdAt

    createdAt (required).

    Properties

    View Source

    CreatedAt

    Gets or Sets CreatedAt

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

    Description

    Gets or Sets Description

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

    Id

    Gets or Sets Id

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

    Name

    Gets or Sets Name

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

    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.