| | | 1 | | /* |
| | | 2 | | * WeShare API |
| | | 3 | | * |
| | | 4 | | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) |
| | | 5 | | * |
| | | 6 | | * The version of the OpenAPI document: 1.0 |
| | | 7 | | * Generated by: https://github.com/openapitools/openapi-generator.git |
| | | 8 | | */ |
| | | 9 | | |
| | | 10 | | |
| | | 11 | | using System; |
| | | 12 | | using System.Collections.Generic; |
| | | 13 | | using System.IO; |
| | | 14 | | using System.Net; |
| | | 15 | | |
| | | 16 | | namespace Applications.WeShare.Swagger.Client |
| | | 17 | | { |
| | | 18 | | /// <summary> |
| | | 19 | | /// A container for generalized request inputs. This type allows consumers to extend the request functionality |
| | | 20 | | /// by abstracting away from the default (built-in) request framework (e.g. RestSharp). |
| | | 21 | | /// </summary> |
| | | 22 | | public class RequestOptions |
| | | 23 | | { |
| | | 24 | | /// <summary> |
| | | 25 | | /// Parameters to be bound to path parts of the Request's URL |
| | | 26 | | /// </summary> |
| | 126 | 27 | | public Dictionary<string, string> PathParameters { get; set; } |
| | | 28 | | |
| | | 29 | | /// <summary> |
| | | 30 | | /// Query parameters to be applied to the request. |
| | | 31 | | /// Keys may have 1 or more values associated. |
| | | 32 | | /// </summary> |
| | 102 | 33 | | public Multimap<string, string> QueryParameters { get; set; } |
| | | 34 | | |
| | | 35 | | /// <summary> |
| | | 36 | | /// Header parameters to be applied to to the request. |
| | | 37 | | /// Keys may have 1 or more values associated. |
| | | 38 | | /// </summary> |
| | 155 | 39 | | public Multimap<string, string> HeaderParameters { get; set; } |
| | | 40 | | |
| | | 41 | | /// <summary> |
| | | 42 | | /// Form parameters to be sent along with the request. |
| | | 43 | | /// </summary> |
| | 102 | 44 | | public Dictionary<string, string> FormParameters { get; set; } |
| | | 45 | | |
| | | 46 | | /// <summary> |
| | | 47 | | /// File parameters to be sent along with the request. |
| | | 48 | | /// </summary> |
| | 102 | 49 | | public Multimap<string, Stream> FileParameters { get; set; } |
| | | 50 | | |
| | | 51 | | /// <summary> |
| | | 52 | | /// Cookies to be sent along with the request. |
| | | 53 | | /// </summary> |
| | 102 | 54 | | public List<Cookie> Cookies { get; set; } |
| | | 55 | | |
| | | 56 | | /// <summary> |
| | | 57 | | /// Operation associated with the request path. |
| | | 58 | | /// </summary> |
| | 68 | 59 | | public string Operation { get; set; } |
| | | 60 | | |
| | | 61 | | /// <summary> |
| | | 62 | | /// Index associated with the operation. |
| | | 63 | | /// </summary> |
| | 68 | 64 | | public int OperationIndex { get; set; } |
| | | 65 | | |
| | | 66 | | /// <summary> |
| | | 67 | | /// Any data associated with a request body. |
| | | 68 | | /// </summary> |
| | 55 | 69 | | public Object Data { get; set; } |
| | | 70 | | |
| | | 71 | | /// <summary> |
| | | 72 | | /// Constructs a new instance of <see cref="RequestOptions"/> |
| | | 73 | | /// </summary> |
| | 34 | 74 | | public RequestOptions() |
| | 34 | 75 | | { |
| | 34 | 76 | | PathParameters = new Dictionary<string, string>(); |
| | 34 | 77 | | QueryParameters = new Multimap<string, string>(); |
| | 34 | 78 | | HeaderParameters = new Multimap<string, string>(); |
| | 34 | 79 | | FormParameters = new Dictionary<string, string>(); |
| | 34 | 80 | | FileParameters = new Multimap<string, Stream>(); |
| | 34 | 81 | | Cookies = new List<Cookie>(); |
| | 34 | 82 | | } |
| | | 83 | | } |
| | | 84 | | } |