Table of Contents

Class CreateProjectRequest

Namespace
Mailtrap.Projects.Requests
Assembly
Mailtrap.Abstractions.dll

Request object for creating project.

public sealed record CreateProjectRequest : ProjectRequest, IValidatable, IEquatable<ProjectRequest>, IEquatable<CreateProjectRequest>
Inheritance
CreateProjectRequest
Implements
Inherited Members

Constructors

CreateProjectRequest(string)

Primary instance constructor.

public CreateProjectRequest(string name)

Parameters

name string

Name of the project.

Remarks

Project's name must be min 2 characters and max 100 characters long.

Exceptions

ArgumentNullException

When name is null or Empty.