Class GroupProjection
Data for contact group
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "GroupProjection")]
public class GroupProjection : IValidatableObject
Constructors
View SourceGroupProjection()
Initializes a new instance of the GroupProjection class.
Declaration
[JsonConstructor]
protected GroupProjection()
GroupProjection(DateTime, string, Guid, string)
Initializes a new instance of the GroupProjection class.
Declaration
public GroupProjection(DateTime createdAt = default, string name = null, Guid id = default, string description = null)
Parameters
Type | Name | Description |
---|---|---|
DateTime | createdAt | createdAt (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 = true)]
public string Description { 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 |
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 |