Table of Contents

Class UpdateProjectRequest

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

Request object for updating project details.

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

Constructors

UpdateProjectRequest(string)

Primary instance constructor.

public UpdateProjectRequest(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.