Class GuestPortalUserDto
GuestPortalUserDto
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "GuestPortalUserDto")]
public class GuestPortalUserDto : IValidatableObject
Constructors
View SourceGuestPortalUserDto()
Initializes a new instance of the GuestPortalUserDto class.
Declaration
[JsonConstructor]
protected GuestPortalUserDto()
GuestPortalUserDto(Guid, Guid, Guid, string, string, string, Guid, string, DateTime, DateTime)
Initializes a new instance of the GuestPortalUserDto class.
Declaration
public GuestPortalUserDto(Guid id = default, Guid userId = default, Guid portalId = default, string name = null, string username = null, string emailAddress = null, Guid inboxId = default, string loginUrl = null, DateTime createdAt = default, DateTime updatedAt = default)
Parameters
Type | Name | Description |
---|---|---|
Guid | id | id (required). |
Guid | userId | userId (required). |
Guid | portalId | portalId (required). |
string | name | name. |
string | username | username (required). |
string | emailAddress | emailAddress. |
Guid | inboxId | inboxId. |
string | loginUrl | loginUrl (required). |
DateTime | createdAt | createdAt (required). |
DateTime | updatedAt | updatedAt (required). |
Properties
View SourceCreatedAt
Gets or Sets CreatedAt
Declaration
[DataMember(Name = "createdAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime CreatedAt { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
EmailAddress
Gets or Sets EmailAddress
Declaration
[DataMember(Name = "emailAddress", EmitDefaultValue = false)]
public string EmailAddress { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
Gets or Sets Id
Declaration
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
Guid |
InboxId
Gets or Sets InboxId
Declaration
[DataMember(Name = "inboxId", EmitDefaultValue = false)]
public Guid InboxId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
LoginUrl
Gets or Sets LoginUrl
Declaration
[DataMember(Name = "loginUrl", IsRequired = true, EmitDefaultValue = true)]
public string LoginUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Gets or Sets Name
Declaration
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PortalId
Gets or Sets PortalId
Declaration
[DataMember(Name = "portalId", IsRequired = true, EmitDefaultValue = true)]
public Guid PortalId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
UpdatedAt
Gets or Sets UpdatedAt
Declaration
[DataMember(Name = "updatedAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime UpdatedAt { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
UserId
Gets or Sets UserId
Declaration
[DataMember(Name = "userId", IsRequired = true, EmitDefaultValue = true)]
public Guid UserId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Username
Gets or Sets Username
Declaration
[DataMember(Name = "username", IsRequired = true, EmitDefaultValue = true)]
public string Username { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
string | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | String presentation of the object |