Restructure
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.29424.173
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BetfairApi", "BetfairApi\BetfairApi.csproj", "{AD1B8F57-D311-40AC-B828-BD5A67CFEFCD}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BetfairApi.Tests", "BetfairApi.Tests\BetfairApi.Tests.csproj", "{999FDCEB-F0EF-42CD-8350-3757FD2D9C89}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{AD1B8F57-D311-40AC-B828-BD5A67CFEFCD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{AD1B8F57-D311-40AC-B828-BD5A67CFEFCD}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{AD1B8F57-D311-40AC-B828-BD5A67CFEFCD}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{AD1B8F57-D311-40AC-B828-BD5A67CFEFCD}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{999FDCEB-F0EF-42CD-8350-3757FD2D9C89}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{999FDCEB-F0EF-42CD-8350-3757FD2D9C89}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{999FDCEB-F0EF-42CD-8350-3757FD2D9C89}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{999FDCEB-F0EF-42CD-8350-3757FD2D9C89}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {70D33D7C-F59C-4E96-890D-B95C3E2F2762}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
Vendored
-37
@@ -1,37 +0,0 @@
|
||||
pipeline
|
||||
{
|
||||
agent { dockerfile true }
|
||||
stages
|
||||
{
|
||||
stage('Build')
|
||||
{
|
||||
steps
|
||||
{
|
||||
sh 'dotnet restore -s http://artifacts.successfulcode.com/repository/nuget-group/'
|
||||
sh 'dotnet build -c Release --no-restore'
|
||||
sh "dotnet pack -c Release --no-restore --no-build -p:PackageVersion=1.0.${env.BUILD_NUMBER}"
|
||||
}
|
||||
}
|
||||
|
||||
stage('Archive artifacts')
|
||||
{
|
||||
steps
|
||||
{
|
||||
archiveArtifacts artifacts:'*/bin/Release/**/*.nupkg'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Publish nuget artifacts')
|
||||
{
|
||||
steps
|
||||
{
|
||||
sh "./JenkinsfileScripts/PublishNugetArtifacts.sh ${env.BUILD_NUMBER}"
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
deleteDir() /* clean up our workspace */
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,5 @@
|
||||
echo "Publish version $1 artifacts"
|
||||
BUILD_NUMBER = $1
|
||||
for f in */bin/Release/**/*.nupkg; do
|
||||
mv "$f" "SuccessfulCode$f"
|
||||
dotnet nuget push "$f" -k "8bb434b9-48cb-345d-a089-5216967caac1" -s "http://artifacts.successfulcode.com/repository/nuget-hosted/"
|
||||
done
|
||||
@@ -0,0 +1,89 @@
|
||||
using SuccessfulCode.BetfairApi;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.Tests;
|
||||
using Xunit;
|
||||
using static SuccessfulCode.BetfairApi.Authentication;
|
||||
|
||||
namespace AutoBet.Core.Tests
|
||||
{
|
||||
public class BetfairClientLoginTests
|
||||
{
|
||||
[Theory]
|
||||
[InlineData(TestSettings.Username, TestSettings.Password, TestSettings.AppKey, LoginStatus.Success)]
|
||||
public void TestLogin(string username, string password, string appKey, LoginStatus expectedStatus)
|
||||
{
|
||||
//Arrange
|
||||
var client = new Authentication(username, password, appKey);
|
||||
|
||||
//Act
|
||||
var loginResponse = client.Authenticate().GetAwaiter().GetResult();
|
||||
|
||||
//Assert
|
||||
Assert.NotNull(loginResponse);
|
||||
Assert.Equal(expectedStatus, loginResponse.Status);
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData(TestSettings.Username, TestSettings.Password, TestSettings.AppKey)]
|
||||
public void TestAccountFunds(string username, string password, string appKey)
|
||||
{
|
||||
//Arrange
|
||||
var auth = new Authentication(username, password, appKey);
|
||||
var client = new AccountApiClient(auth);
|
||||
|
||||
//Act
|
||||
var accountFunds = client.GetAccountFunds().GetAwaiter().GetResult();
|
||||
|
||||
//Assert
|
||||
Assert.NotNull(accountFunds);
|
||||
Assert.True(accountFunds.AvailableToBetBalance > 0);
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData(TestSettings.Username, TestSettings.Password, TestSettings.AppKey)]
|
||||
public void TestAccountStatement(string username, string password, string appKey)
|
||||
{
|
||||
//Arrange
|
||||
var auth = new Authentication(username, password, appKey);
|
||||
var client = new AccountApiClient(auth);
|
||||
|
||||
//Act
|
||||
var accountStatement = client.GetAccountStatement().GetAwaiter().GetResult();
|
||||
|
||||
//Assert
|
||||
Assert.NotNull(accountStatement);
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData(TestSettings.Username, TestSettings.Password, TestSettings.AppKey)]
|
||||
public void TestCurrentBets(string username, string password, string appKey)
|
||||
{
|
||||
//Arrange
|
||||
var auth = new Authentication(username, password, appKey);
|
||||
var client = new BettingApiClient(auth);
|
||||
|
||||
//Act
|
||||
var currentOrders = client.ListCurrentOrders().GetAwaiter().GetResult();
|
||||
|
||||
//Assert
|
||||
Assert.NotNull(currentOrders);
|
||||
Assert.True(currentOrders.CurrentOrders.Length > -1);
|
||||
}
|
||||
|
||||
|
||||
[Theory]
|
||||
[InlineData(TestSettings.Username, TestSettings.Password, TestSettings.AppKey)]
|
||||
public void TestPreviousOrders(string username, string password, string appKey)
|
||||
{
|
||||
//Arrange
|
||||
var auth = new Authentication(username, password, appKey);
|
||||
var client = new BettingApiClient(auth);
|
||||
|
||||
//Act
|
||||
var currentOrders = client.ListClearedOrders(BetStatus.Settled).GetAwaiter().GetResult();
|
||||
|
||||
//Assert
|
||||
Assert.NotNull(currentOrders);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
using Xunit;
|
||||
using System.Linq;
|
||||
using SuccessfulCode.BetfairApi.BettingModels;
|
||||
|
||||
namespace SuccessfulCode.BetfairApi.Tests
|
||||
{
|
||||
public class EventsTests
|
||||
{
|
||||
[Theory]
|
||||
[InlineData(TestSettings.Username, TestSettings.Password, TestSettings.AppKey)]
|
||||
public void TestGetEventsTypes(string username, string password, string appKey)
|
||||
{
|
||||
//Arrange
|
||||
var auth = new Authentication(username, password, appKey);
|
||||
var client = new BettingApiClient(auth);
|
||||
|
||||
//Act
|
||||
var eventsTypes = client.ListEventTypes(new BettingModels.MarketFilter()).Result;
|
||||
|
||||
//Assert
|
||||
Assert.True(eventsTypes.Length > 0);
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData(TestSettings.Username, TestSettings.Password, TestSettings.AppKey)]
|
||||
public void TestGetEvents(string username, string password, string appKey)
|
||||
{
|
||||
//Arrange
|
||||
var auth = new Authentication(username, password, appKey);
|
||||
var client = new BettingApiClient(auth);
|
||||
var eventTypes = client.ListEventTypes(new MarketFilter()).Result;
|
||||
var horseRacingEventType = eventTypes.FirstOrDefault(e => e.EventType.Name == "Horse Racing");
|
||||
var filter = new MarketFilter()
|
||||
{
|
||||
EventTypeIds = new[] { horseRacingEventType.EventType.Id },
|
||||
MarketCountries = new[] { "IE", "US" }
|
||||
};
|
||||
|
||||
//Act
|
||||
var horseRacingEvents = client.ListEvents(filter).Result;
|
||||
|
||||
//Assert
|
||||
Assert.True(horseRacingEvents.Length > 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
using SuccessfulCode.BetfairApi.BettingModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Xunit;
|
||||
|
||||
namespace SuccessfulCode.BetfairApi.Tests
|
||||
{
|
||||
public class MarketTests
|
||||
{
|
||||
[Theory]
|
||||
[InlineData(TestSettings.Username, TestSettings.Password, TestSettings.AppKey)]
|
||||
public void ListMarketTypes(string username, string password, string appKey)
|
||||
{
|
||||
//Arrange
|
||||
var auth = new Authentication(username, password, appKey);
|
||||
var client = new BettingApiClient(auth);
|
||||
|
||||
//Act
|
||||
var results = client.ListMarketTypes(new MarketFilter() { EventTypeIds = new[] { "7" } }).Result;
|
||||
|
||||
//Assert
|
||||
Assert.True(results.Length > 0);
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData(TestSettings.Username, TestSettings.Password, TestSettings.AppKey)]
|
||||
public void GetHorseWinMarkets(string username, string password, string appKey)
|
||||
{
|
||||
//Arrange
|
||||
var auth = new Authentication(username, password, appKey);
|
||||
var client = new BettingApiClient(auth);
|
||||
var horseRacingQueries = new BetfairHorseRacingQueries(client);
|
||||
|
||||
//Act
|
||||
var horseWins = horseRacingQueries.GetHorseWinCatalogue(DateTime.UtcNow, DateTime.UtcNow.AddDays(20), "GB").Result;
|
||||
|
||||
//Assert
|
||||
Assert.True(horseWins.Length > 0);
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData(TestSettings.Username, TestSettings.Password, TestSettings.AppKey)]
|
||||
public void GetHorseMarketBook(string username, string password, string appKey)
|
||||
{
|
||||
//Arrange
|
||||
var auth = new Authentication(username, password, appKey);
|
||||
var client = new BettingApiClient(auth);
|
||||
var horseRacingQueries = new BetfairHorseRacingQueries(client);
|
||||
var horseWins = horseRacingQueries.GetHorseWinCatalogue(DateTime.UtcNow, DateTime.UtcNow.AddDays(1), "GB").Result;
|
||||
|
||||
//Act
|
||||
var prices = horseRacingQueries.GetBestPrices(horseWins[0].MarketId).Result;
|
||||
|
||||
//Assert
|
||||
Assert.True(horseWins.Length > 0);
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData(TestSettings.Username, TestSettings.Password, TestSettings.AppKey)]
|
||||
public void GetSpecificBook(string username, string password, string appKey)
|
||||
{
|
||||
//Arrange
|
||||
var auth = new Authentication(username, password, appKey);
|
||||
var client = new BettingApiClient(auth);
|
||||
var horseRacingQueries = new BetfairHorseRacingQueries(client);
|
||||
|
||||
|
||||
//Act
|
||||
var books = client.ListMarketBook(new[] { "1.166887988" }).Result;
|
||||
|
||||
//Assert
|
||||
Assert.True(books.Length > 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
|
||||
<IsPackable>false</IsPackable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
|
||||
<PackageReference Include="xunit" Version="2.4.0" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
|
||||
<PackageReference Include="coverlet.collector" Version="1.0.1" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\SuccessfulCode.BetfairApi\SuccessfulCode.BetfairApi.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace SuccessfulCode.BetfairApi.Tests
|
||||
{
|
||||
public static class TestSettings
|
||||
{
|
||||
public const string Username = "TheRocker1987";
|
||||
public const string Password = "reSharper1036!";
|
||||
public const string AppKey = "H5TT4zKqOlRCpNOr";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.29728.190
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SuccessfulCode.BetfairApi", "SuccessfulCode.BetfairApi\SuccessfulCode.BetfairApi.csproj", "{B0AF2551-6DB0-4241-8751-EEA69534554E}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SuccessfulCode.BetfairApi.Tests", "SuccessfulCode.BetfairApi.Tests\SuccessfulCode.BetfairApi.Tests.csproj", "{3E5407A1-8418-4B17-9FE0-F3171B0BEF0C}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{B0AF2551-6DB0-4241-8751-EEA69534554E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{B0AF2551-6DB0-4241-8751-EEA69534554E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{B0AF2551-6DB0-4241-8751-EEA69534554E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{B0AF2551-6DB0-4241-8751-EEA69534554E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{3E5407A1-8418-4B17-9FE0-F3171B0BEF0C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3E5407A1-8418-4B17-9FE0-F3171B0BEF0C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3E5407A1-8418-4B17-9FE0-F3171B0BEF0C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3E5407A1-8418-4B17-9FE0-F3171B0BEF0C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {276A7F86-3784-4B67-B436-35808F880CCA}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -1,9 +1,9 @@
|
||||
using System.Net.Http;
|
||||
using System.Threading.Tasks;
|
||||
using BetfairApi.AccountModels;
|
||||
using BetfairApi.AccountModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.AccountModels;
|
||||
using SuccessfulCode.BetfairApi.AccountModels.Enums;
|
||||
|
||||
namespace BetfairApi
|
||||
namespace SuccessfulCode.BetfairApi
|
||||
{
|
||||
public class AccountApiClient
|
||||
{
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.AccountModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.AccountModels.Enums;
|
||||
|
||||
namespace BetfairApi.AccountModels
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Response for Account details.
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.AccountModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.AccountModels.Enums;
|
||||
|
||||
namespace BetfairApi.AccountModels
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Response for retrieving available to bet.
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.AccountModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.AccountModels.Enums;
|
||||
|
||||
namespace BetfairApi.AccountModels
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels
|
||||
{
|
||||
/// <summary>
|
||||
/// A container representing search results.
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.AccountModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.AccountModels.Enums;
|
||||
|
||||
namespace BetfairApi.AccountModels
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Application subscription details
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.AccountModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.AccountModels.Enums;
|
||||
|
||||
namespace BetfairApi.AccountModels
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Wrapper object containing affiliate relation details
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.AccountModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.AccountModels.Enums;
|
||||
|
||||
namespace BetfairApi.AccountModels
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Application subscription details
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.AccountModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.AccountModels.Enums;
|
||||
|
||||
namespace BetfairApi.AccountModels
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Wrapper object containing authorisation code and redirect URL for web vendors
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.AccountModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.AccountModels.Enums;
|
||||
|
||||
namespace BetfairApi.AccountModels
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Currency rate
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.AccountModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.AccountModels.Enums;
|
||||
|
||||
namespace BetfairApi.AccountModels
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Describes developer/vendor specific application
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.AccountModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.AccountModels.Enums;
|
||||
|
||||
namespace BetfairApi.AccountModels
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Describes a version of an external application
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.AccountModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels.Enums
|
||||
{
|
||||
public enum AffiliateRelationStatus
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.AccountModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels.Enums
|
||||
{
|
||||
public enum GrantType
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.AccountModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels.Enums
|
||||
{
|
||||
public enum IncludeItem
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.AccountModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels.Enums
|
||||
{
|
||||
public enum ItemClass
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.AccountModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels.Enums
|
||||
{
|
||||
public enum Status
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.AccountModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels.Enums
|
||||
{
|
||||
public enum SubscriptionStatus
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.AccountModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels.Enums
|
||||
{
|
||||
public enum TokenType
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.AccountModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels.Enums
|
||||
{
|
||||
public enum Wallet
|
||||
{
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using BetfairApi.AccountModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.AccountModels.Enums;
|
||||
|
||||
namespace BetfairApi.AccountModels
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary of a cleared order.
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.AccountModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.AccountModels.Enums;
|
||||
|
||||
namespace BetfairApi.AccountModels
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary of a cleared order.
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.AccountModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.AccountModels.Enums;
|
||||
|
||||
namespace BetfairApi.AccountModels
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Application subscription history details
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.AccountModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.AccountModels.Enums;
|
||||
|
||||
namespace BetfairApi.AccountModels
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Wrapper object containing details of how a subscription should be created
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.AccountModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.AccountModels.Enums;
|
||||
|
||||
namespace BetfairApi.AccountModels
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Subscription token information
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.AccountModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels
|
||||
{
|
||||
/// <summary>
|
||||
/// TimeRange
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.AccountModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.AccountModels.Enums;
|
||||
|
||||
namespace BetfairApi.AccountModels
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Transfer operation response
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.AccountModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.AccountModels.Enums;
|
||||
|
||||
namespace BetfairApi.AccountModels
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Wrapper object containing UserVendorSessionToken, RefreshToken and optionally a Subscription Token if one was created
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.AccountModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.AccountModels.Enums;
|
||||
|
||||
namespace BetfairApi.AccountModels
|
||||
namespace SuccessfulCode.BetfairApi.AccountModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Wrapper object containing vendor name and redirect url
|
||||
@@ -8,7 +8,7 @@ using System.Runtime.Serialization;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BetfairApi
|
||||
namespace SuccessfulCode.BetfairApi
|
||||
{
|
||||
public class Authentication
|
||||
{
|
||||
+3
-3
@@ -1,12 +1,12 @@
|
||||
using BetfairApi.BettingModels;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BetfairApi
|
||||
namespace SuccessfulCode.BetfairApi
|
||||
{
|
||||
public class BetfairHorseRacingQueries
|
||||
{
|
||||
@@ -4,10 +4,10 @@ using System.Net.Http;
|
||||
using System.Net.Http.Headers;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using BetfairApi.BettingModels;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi
|
||||
namespace SuccessfulCode.BetfairApi
|
||||
{
|
||||
public class BettingApiClient
|
||||
{
|
||||
+1
-4
@@ -1,7 +1,4 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
public class CancelExecutionReport
|
||||
{
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Instruction to fully or partially cancel an order (only applies to LIMIT orders)
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
public class CancelInstructionReport
|
||||
{
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary of a cleared order.
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// A container representing search results.
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Competition
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Competition Result
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// CountryCode Result
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary of a current order.
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// A container representing search results.
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum BetStatus
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum BetTargetType
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum ExecutionReportErrorCode
|
||||
{
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum ExecutionReportStatus
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum GroupBy
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum InstructionReportErrorCode
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum InstructionReportStatus
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum LimitBreachActionType
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum MarketBettingType
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum MarketGroupType
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum MarketProjection
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum MarketSort
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum MarketStatus
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum MatchProjection
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum OrderBy
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum OrderProjection
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum OrderStatus
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum OrderType
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum PersistenceType
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum PriceData
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum PriceLadderType
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum RollupModel
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum RunnerStatus
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum Side
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum SortDir
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum TimeGranularity
|
||||
{
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace BetfairApi.BettingModels.Enums
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels.Enums
|
||||
{
|
||||
public enum TimeInForce
|
||||
{
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Event
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Event Result
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// EventType
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// EventType Result
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Options to alter the default representation of best offer prices
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
public class ExchangePrices
|
||||
{
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Exposure limit and limit breach action.
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Wrapper type that contains accounts exposure limits for a market group type.
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// This object contains some text which may be useful to render a betting history view. It offers no
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// A list of KeyLineSelection objects describing the key line for the market
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Description of a markets key line selection, comprising the selectionId and handicap of the team it is applied to.
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Action that should be execute when limit is breached
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Place a new LIMIT_ON_CLOSE bet
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Place a new LIMIT order (simple exchange bet for immediate execution)
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// The dynamic data in a market
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Information about a market
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Market definition
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
public class MarketFilter
|
||||
{
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a market group
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Container type for a group exposure limit
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Container type for market group ID
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Market Licence
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using BetfairApi.BettingModels.Enums;
|
||||
using SuccessfulCode.BetfairApi.BettingModels.Enums;
|
||||
|
||||
namespace BetfairApi.BettingModels
|
||||
namespace SuccessfulCode.BetfairApi.BettingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Market Line and Range Info
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user