Class LookupPtrResults
LookupPtrResults
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "LookupPtrResults")]
public class LookupPtrResults : IValidatableObject
Constructors
View SourceLookupPtrResults()
Initializes a new instance of the LookupPtrResults class.
Declaration
[JsonConstructor]
protected LookupPtrResults()
LookupPtrResults(string, List<string>, bool, List<string>, List<string>, List<string>, List<string>)
Initializes a new instance of the LookupPtrResults class.
Declaration
public LookupPtrResults(string ip = null, List<string> ptrHostnames = null, bool forwardConfirmed = false, List<string> forwardARecords = null, List<string> forwardAaaaRecords = null, List<string> warnings = null, List<string> errors = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | ip | ip (required). |
| List<string> | ptrHostnames | ptrHostnames (required). |
| bool | forwardConfirmed | forwardConfirmed (required). |
| List<string> | forwardARecords | forwardARecords (required). |
| List<string> | forwardAaaaRecords | forwardAaaaRecords (required). |
| List<string> | warnings | warnings (required). |
| List<string> | errors | errors (required). |
Properties
View SourceErrors
Gets or Sets Errors
Declaration
[DataMember(Name = "errors", IsRequired = true, EmitDefaultValue = true)]
public List<string> Errors { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
ForwardARecords
Gets or Sets ForwardARecords
Declaration
[DataMember(Name = "forwardARecords", IsRequired = true, EmitDefaultValue = true)]
public List<string> ForwardARecords { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
ForwardAaaaRecords
Gets or Sets ForwardAaaaRecords
Declaration
[DataMember(Name = "forwardAaaaRecords", IsRequired = true, EmitDefaultValue = true)]
public List<string> ForwardAaaaRecords { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
ForwardConfirmed
Gets or Sets ForwardConfirmed
Declaration
[DataMember(Name = "forwardConfirmed", IsRequired = true, EmitDefaultValue = true)]
public bool ForwardConfirmed { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Ip
Gets or Sets Ip
Declaration
[DataMember(Name = "ip", IsRequired = true, EmitDefaultValue = true)]
public string Ip { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PtrHostnames
Gets or Sets PtrHostnames
Declaration
[DataMember(Name = "ptrHostnames", IsRequired = true, EmitDefaultValue = true)]
public List<string> PtrHostnames { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
Warnings
Gets or Sets Warnings
Declaration
[DataMember(Name = "warnings", IsRequired = true, EmitDefaultValue = true)]
public List<string> Warnings { get; set; }
Property Value
| Type | Description |
|---|---|
| List<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 |