< Summary

Information
Class: /home/wethinkcode/student_work/csharp/GroupProject/super-cool-group/weshare-qa/GeneratedApiCode/src/Applications.WeShare.Swagger/Client/RequestOptions.cs
Assembly: Default
File(s): /home/wethinkcode/student_work/csharp/GroupProject/super-cool-group/weshare-qa/GeneratedApiCode/src/Applications.WeShare.Swagger/Client/RequestOptions.cs
Line coverage
100%
Covered lines: 18
Uncovered lines: 0
Coverable lines: 18
Total lines: 84
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

File(s)

/home/wethinkcode/student_work/csharp/GroupProject/super-cool-group/weshare-qa/GeneratedApiCode/src/Applications.WeShare.Swagger/Client/RequestOptions.cs

#LineLine coverage
 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
 11using System;
 12using System.Collections.Generic;
 13using System.IO;
 14using System.Net;
 15
 16namespace 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>
 12627        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>
 10233        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>
 15539        public Multimap<string, string> HeaderParameters { get; set; }
 40
 41        /// <summary>
 42        /// Form parameters to be sent along with the request.
 43        /// </summary>
 10244        public Dictionary<string, string> FormParameters { get; set; }
 45
 46        /// <summary>
 47        /// File parameters to be sent along with the request.
 48        /// </summary>
 10249        public Multimap<string, Stream> FileParameters { get; set; }
 50
 51        /// <summary>
 52        /// Cookies to be sent along with the request.
 53        /// </summary>
 10254        public List<Cookie> Cookies { get; set; }
 55
 56        /// <summary>
 57        /// Operation associated with the request path.
 58        /// </summary>
 6859        public string Operation { get; set; }
 60
 61        /// <summary>
 62        /// Index associated with the operation.
 63        /// </summary>
 6864        public int OperationIndex { get; set; }
 65
 66        /// <summary>
 67        /// Any data associated with a request body.
 68        /// </summary>
 5569        public Object Data { get; set; }
 70
 71        /// <summary>
 72        /// Constructs a new instance of <see cref="RequestOptions"/>
 73        /// </summary>
 3474        public RequestOptions()
 3475        {
 3476            PathParameters = new Dictionary<string, string>();
 3477            QueryParameters = new Multimap<string, string>();
 3478            HeaderParameters = new Multimap<string, string>();
 3479            FormParameters = new Dictionary<string, string>();
 3480            FileParameters = new Multimap<string, Stream>();
 3481            Cookies = new List<Cookie>();
 3482        }
 83    }
 84}