Class RequestBase
Base class for request objects used in API calls.
Inheritance
RequestBase
Inherited Members
Namespace: Innovt.Cloud.AWS.Cognito.Model
Assembly: Innovt.Cloud.AWS.Cognito.dll
Syntax
public abstract class RequestBase : IRequestBase, IValidatableObject
Properties
| Edit this page View SourceHttpHeader
Gets or sets the HTTP headers associated with the request.
Declaration
[JsonIgnore]
public Dictionary<string, string> HttpHeader { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> |
IpAddress
Gets or sets the IP address of the requester.
Declaration
[JsonIgnore]
public string IpAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ServerName
Gets or sets the server name for the request.
Declaration
[JsonIgnore]
public string ServerName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ServerPath
Gets or sets the server path for the request.
Declaration
[JsonIgnore]
public string ServerPath { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
| Edit this page View SourceValidate(ValidationContext)
Validates the request object.
Declaration
public abstract IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
Parameters
| Type | Name | Description |
|---|---|---|
| ValidationContext | validationContext | The validation context. |
Returns
| Type | Description |
|---|---|
| IEnumerable<ValidationResult> | A collection of validation results. |