Class CreateOAuthExchangeResult
CreateOAuthExchangeResult
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "CreateOAuthExchangeResult")]
public class CreateOAuthExchangeResult : IValidatableObject
Constructors
View SourceCreateOAuthExchangeResult()
Initializes a new instance of the CreateOAuthExchangeResult class.
Declaration
[JsonConstructor]
protected CreateOAuthExchangeResult()
CreateOAuthExchangeResult(bool, Guid, string)
Initializes a new instance of the CreateOAuthExchangeResult class.
Declaration
public CreateOAuthExchangeResult(bool success = false, Guid inboxId = default, string error = null)
Parameters
Type | Name | Description |
---|---|---|
bool | success | success (required). |
Guid | inboxId | inboxId. |
string | error | error. |
Properties
View SourceError
Gets or Sets Error
Declaration
[DataMember(Name = "error", EmitDefaultValue = false)]
public string Error { get; set; }
Property Value
Type | Description |
---|---|
string |
InboxId
Gets or Sets InboxId
Declaration
[DataMember(Name = "inboxId", EmitDefaultValue = false)]
public Guid InboxId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Success
Gets or Sets Success
Declaration
[DataMember(Name = "success", IsRequired = true, EmitDefaultValue = true)]
public bool Success { get; set; }
Property Value
Type | Description |
---|---|
bool |
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 |