Class ApiRequest
The recipient details model.
[DataContract]
public class ApiRequest
- Inheritance
-
ApiRequest
- Inherited Members
Constructors
ApiRequest(string, List<KeyValuePair<string, string>>, object, Dictionary<string, string>, Dictionary<string, string>, Dictionary<string, List<IDocumentFile>>, string, Dictionary<string, Uri>)
Initializes a new instance of the ApiRequest class.
public ApiRequest(string localVarPath = null, List<KeyValuePair<string, string>> localVarQueryParams = null, object localVarPostBody = null, Dictionary<string, string> localVarHeaderParams = null, Dictionary<string, string> localVarFormParams = null, Dictionary<string, List<IDocumentFile>> localVarFileParams = null, string localVarHttpContentType = null, Dictionary<string, Uri> localVarFileUrlParams = null)
Parameters
localVarPath
stringThe request path .
localVarQueryParams
List<KeyValuePair<string, string>>The query params .
localVarPostBody
objectThe post body value.
localVarHeaderParams
Dictionary<string, string>The header params.
localVarFormParams
Dictionary<string, string>The form params.
localVarFileParams
Dictionary<string, List<IDocumentFile>>The file params.
localVarHttpContentType
stringThe content type.
localVarFileUrlParams
Dictionary<string, Uri>The file url params.
Properties
LocalVarFileParams
Gets or sets the file params.
[DataMember(Name = "localVarFileParams", EmitDefaultValue = true)]
public Dictionary<string, List<IDocumentFile>> LocalVarFileParams { get; set; }
Property Value
LocalVarFileUrlParams
Gets or sets the file url params.
[DataMember(Name = "localVarFileUrlParams", EmitDefaultValue = true)]
public Dictionary<string, Uri> LocalVarFileUrlParams { get; set; }
Property Value
LocalVarFormParams
Gets or sets the form params .
[DataMember(Name = "localVarFormParams", EmitDefaultValue = true)]
public Dictionary<string, string> LocalVarFormParams { get; set; }
Property Value
- Dictionary<string, string>
Gets the value of form params .
LocalVarHeaderParams
Gets or sets the header params .
[DataMember(Name = "localVarHeaderParams", EmitDefaultValue = true)]
public Dictionary<string, string> LocalVarHeaderParams { get; set; }
Property Value
- Dictionary<string, string>
Gets the value of header params .
LocalVarHttpContentType
Gets or sets the content type.
[DataMember(Name = "localVarHttpContentType", EmitDefaultValue = true)]
public string LocalVarHttpContentType { get; set; }
Property Value
LocalVarPath
Gets or sets the path.
[DataMember(Name = "localVarPath", EmitDefaultValue = true)]
public string LocalVarPath { get; set; }
Property Value
- string
Gets the path.
LocalVarPostBody
Gets or sets the post body .
[DataMember(Name = "localVarPostBody", EmitDefaultValue = true)]
public object LocalVarPostBody { get; set; }
Property Value
- object
Gets the value of post body .
LocalVarQueryParams
Gets or sets the query parameters.
[DataMember(Name = "localVarQueryParams", EmitDefaultValue = true)]
public List<KeyValuePair<string, string>> LocalVarQueryParams { get; set; }
Property Value
- List<KeyValuePair<string, string>>
Gets the query parameters.
Methods
ToJson()
Returns the JSON string presentation of the object.
public virtual string ToJson()
Returns
- string
JSON string presentation of the object.