Class ScheduledJob
ScheduledJob
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "ScheduledJob")]
public class ScheduledJob : IValidatableObject
Constructors
View SourceScheduledJob()
Initializes a new instance of the Scheduled
Declaration
[JsonConstructor]
protected ScheduledJob()
ScheduledJob(Guid, Guid, Guid, string, string, string, StatusEnum, DateTime, DateTime, DateTime)
Initializes a new instance of the Scheduled
Declaration
public ScheduledJob(Guid id = default, Guid userId = default, Guid inboxId = default, string jobId = null, string groupId = null, string triggerId = null, ScheduledJob.StatusEnum status = (ScheduledJob.StatusEnum)0, DateTime sendAtTimestamp = default, DateTime createdAt = default, DateTime updatedAt = default)
Parameters
Type | Name | Description |
---|---|---|
Guid | id | id (required). |
Guid | userId | userId (required). |
Guid | inboxId | inboxId (required). |
string | jobId | jobId (required). |
string | groupId | groupId (required). |
string | triggerId | triggerId (required). |
Scheduled |
status | status (required). |
Date |
sendAtTimestamp | sendAtTimestamp (required). |
Date |
createdAt | createdAt (required). |
Date |
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 |
---|---|
Date |
GroupId
Gets or Sets GroupId
Declaration
[DataMember(Name = "groupId", IsRequired = true, EmitDefaultValue = true)]
public string GroupId { 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", IsRequired = true, EmitDefaultValue = true)]
public Guid InboxId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
JobId
Gets or Sets JobId
Declaration
[DataMember(Name = "jobId", IsRequired = true, EmitDefaultValue = true)]
public string JobId { get; set; }
Property Value
Type | Description |
---|---|
string |
SendAtTimestamp
Gets or Sets SendAtTimestamp
Declaration
[DataMember(Name = "sendAtTimestamp", IsRequired = true, EmitDefaultValue = true)]
public DateTime SendAtTimestamp { get; set; }
Property Value
Type | Description |
---|---|
Date |
Status
Gets or Sets Status
Declaration
[DataMember(Name = "status", IsRequired = true, EmitDefaultValue = true)]
public ScheduledJob.StatusEnum Status { get; set; }
Property Value
Type | Description |
---|---|
Scheduled |
TriggerId
Gets or Sets TriggerId
Declaration
[DataMember(Name = "triggerId", IsRequired = true, EmitDefaultValue = true)]
public string TriggerId { get; set; }
Property Value
Type | Description |
---|---|
string |
UpdatedAt
Gets or Sets UpdatedAt
Declaration
[DataMember(Name = "updatedAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime UpdatedAt { get; set; }
Property Value
Type | Description |
---|---|
Date |
UserId
Gets or Sets UserId
Declaration
[DataMember(Name = "userId", IsRequired = true, EmitDefaultValue = true)]
public Guid UserId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
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 |