Class EntityFavouriteItemProjection
EntityFavouriteItemProjection
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "EntityFavouriteItemProjection")]
public class EntityFavouriteItemProjection : IValidatableObject
Constructors
View SourceEntityFavouriteItemProjection()
Initializes a new instance of the EntityFavouriteItemProjection class.
Declaration
[JsonConstructor]
protected EntityFavouriteItemProjection()
EntityFavouriteItemProjection(DateTime, EntityTypeEnum, string, Guid, string)
Initializes a new instance of the EntityFavouriteItemProjection class.
Declaration
public EntityFavouriteItemProjection(DateTime createdAt = default, EntityFavouriteItemProjection.EntityTypeEnum entityType = (EntityFavouriteItemProjection.EntityTypeEnum)0, string name = null, Guid id = default, string description = null)
Parameters
Type | Name | Description |
---|---|---|
DateTime | createdAt | createdAt (required). |
EntityFavouriteItemProjection.EntityTypeEnum | entityType | entityType (required). |
string | name | name (required). |
Guid | id | id (required). |
string | description | description. |
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 |
Description
Gets or Sets Description
Declaration
[DataMember(Name = "description", EmitDefaultValue = false)]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
EntityType
Gets or Sets EntityType
Declaration
[DataMember(Name = "entityType", IsRequired = true, EmitDefaultValue = true)]
public EntityFavouriteItemProjection.EntityTypeEnum EntityType { get; set; }
Property Value
Type | Description |
---|---|
EntityFavouriteItemProjection.EntityTypeEnum |
Id
Gets or Sets Id
Declaration
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
Guid |
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 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 |