using System.Collections.Generic; using System.Net.Cache; using Kreta.Client.Jira.Model.Request; namespace Kreta.Client.ClientBase.Interface { internal interface IClientBase { void CreateBasicAuthenticator(string username, string password); IRestResult Delete( string relativeUri, Dictionary headers = null, Dictionary parameters = null, Dictionary urlSegments = null, Dictionary queryStrings = null, object body = null, List fileList = null, RequestCacheLevel cachePolicyLevel = RequestCacheLevel.NoCacheNoStore); IRestResult Get( string relativeUri, Dictionary headers = null, Dictionary parameters = null, Dictionary urlSegments = null, Dictionary queryStrings = null, RequestCacheLevel cachePolicyLevel = RequestCacheLevel.NoCacheNoStore, int? requestTimeout = null); IRestResult Get( string relativeUri, Dictionary headers = null, Dictionary parameters = null, Dictionary urlSegments = null, Dictionary queryStrings = null, RequestCacheLevel cachePolicyLevel = RequestCacheLevel.NoCacheNoStore, int? requestTimeout = null) where TResponse : new(); IRestResult Patch( string relativeUri, Dictionary headers = null, Dictionary parameters = null, Dictionary urlSegments = null, Dictionary queryStrings = null, object body = null, RequestCacheLevel cachePolicyLevel = RequestCacheLevel.NoCacheNoStore); IRestResult Post( string relativeUri, Dictionary headers = null, Dictionary parameters = null, Dictionary urlSegments = null, Dictionary queryStrings = null, object body = null, List fileList = null, RequestCacheLevel cachePolicyLevel = RequestCacheLevel.NoCacheNoStore); IRestResult Post( string relativeUri, Dictionary headers = null, Dictionary parameters = null, Dictionary urlSegments = null, Dictionary queryStrings = null, object body = null, List fileList = null, RequestCacheLevel cachePolicyLevel = RequestCacheLevel.NoCacheNoStore) where TResponse : new(); } }