//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.42
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// 
// This source code was auto-generated by xsd, Version=2.0.50727.42.
// 
namespace Betfair.Gamex.API.Entities {
    using System.Xml.Serialization;
    
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="urn:betfair:games:api:v1", IsNullable=false)]
    public partial class api {
        
        private resource[] resourceField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("resource")]
        public resource[] resource {
            get {
                return this.resourceField;
            }
            set {
                this.resourceField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public partial class resource {
        
        private string hrefField;
        
        private string titleField;
        
        private string responseTypeField;
        
        private string postTypeField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string href {
            get {
                return this.hrefField;
            }
            set {
                this.hrefField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string title {
            get {
                return this.titleField;
            }
            set {
                this.titleField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string responseType {
            get {
                return this.responseTypeField;
            }
            set {
                this.responseTypeField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string postType {
            get {
                return this.postTypeField;
            }
            set {
                this.postTypeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public partial class selectionHistory {
        
        private string nameField;
        
        private selectionStatusEnum statusField;
        
        /// <remarks/>
        public string name {
            get {
                return this.nameField;
            }
            set {
                this.nameField = value;
            }
        }
        
        /// <remarks/>
        public selectionStatusEnum status {
            get {
                return this.statusField;
            }
            set {
                this.statusField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public enum selectionStatusEnum {
        
        /// <remarks/>
        IN_PLAY,
        
        /// <remarks/>
        LOSER,
        
        /// <remarks/>
        WINNER,
        
        /// <remarks/>
        TIED_DEAD_HEAT,
        
        /// <remarks/>
        CAN_NOT_WIN,
        
        /// <remarks/>
        CAN_NOT_LOSE,
        
        /// <remarks/>
        REFUND,
        
        /// <remarks/>
        NOT_APPLICABLE,
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public partial class marketHistory {
        
        private marketStatusEnum statusField;
        
        private marketTypeEnum marketTypeField;
        
        private marketHistorySelections selectionsField;
        
        private int idField;
        
        /// <remarks/>
        public marketStatusEnum status {
            get {
                return this.statusField;
            }
            set {
                this.statusField = value;
            }
        }
        
        /// <remarks/>
        public marketTypeEnum marketType {
            get {
                return this.marketTypeField;
            }
            set {
                this.marketTypeField = value;
            }
        }
        
        /// <remarks/>
        public marketHistorySelections selections {
            get {
                return this.selectionsField;
            }
            set {
                this.selectionsField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public enum marketStatusEnum {
        
        /// <remarks/>
        ACTIVE,
        
        /// <remarks/>
        SUSPENDED_GAME_PLAYING,
        
        /// <remarks/>
        SUSPENDED_GAME_SETTLING,
        
        /// <remarks/>
        SUSPENDED_GAME_ROUND_OVER,
        
        /// <remarks/>
        SETTLED,
        
        /// <remarks/>
        VOID,
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public enum marketTypeEnum {
        
        /// <remarks/>
        WIN_ONLY,
        
        /// <remarks/>
        ANY_NUMBER_OF_WINNERS,
        
        /// <remarks/>
        SINGLE_WINNER_OR_TIE,
        
        /// <remarks/>
        VARIABLE_HANDICAP,
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class marketHistorySelections {
        
        private selectionHistory[] selectionField;
        
        private string typeField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("selection")]
        public selectionHistory[] selection {
            get {
                return this.selectionField;
            }
            set {
                this.selectionField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string type {
            get {
                return this.typeField;
            }
            set {
                this.typeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public partial class price {
        
        private double amountUnmatchedField;
        
        private double valueField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public double amountUnmatched {
            get {
                return this.amountUnmatchedField;
            }
            set {
                this.amountUnmatchedField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlTextAttribute()]
        public double Value {
            get {
                return this.valueField;
            }
            set {
                this.valueField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public partial class selectionSnapshot {
        
        private string nameField;
        
        private resource resourceField;
        
        private selectionStatusEnum statusField;
        
        private double amountMatchedField;
        
        private bool amountMatchedFieldSpecified;
        
        private object itemField;
        
        private price[] bestAvailableToBackPricesField;
        
        private price[] bestAvailableToLayPricesField;
        
        private int idField;
        
        /// <remarks/>
        public string name {
            get {
                return this.nameField;
            }
            set {
                this.nameField = value;
            }
        }
        
        /// <remarks/>
        public resource resource {
            get {
                return this.resourceField;
            }
            set {
                this.resourceField = value;
            }
        }
        
        /// <remarks/>
        public selectionStatusEnum status {
            get {
                return this.statusField;
            }
            set {
                this.statusField = value;
            }
        }
        
        /// <remarks/>
        public double amountMatched {
            get {
                return this.amountMatchedField;
            }
            set {
                this.amountMatchedField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool amountMatchedSpecified {
            get {
                return this.amountMatchedFieldSpecified;
            }
            set {
                this.amountMatchedFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("profitAndLoss", typeof(selectionSnapshotProfitAndLoss))]
        [System.Xml.Serialization.XmlElementAttribute("profitLoss", typeof(double))]
        public object Item {
            get {
                return this.itemField;
            }
            set {
                this.itemField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
        public price[] bestAvailableToBackPrices {
            get {
                return this.bestAvailableToBackPricesField;
            }
            set {
                this.bestAvailableToBackPricesField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
        public price[] bestAvailableToLayPrices {
            get {
                return this.bestAvailableToLayPricesField;
            }
            set {
                this.bestAvailableToLayPricesField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class selectionSnapshotProfitAndLoss {
        
        private double selectionWinField;
        
        private double selectionLoseField;
        
        /// <remarks/>
        public double selectionWin {
            get {
                return this.selectionWinField;
            }
            set {
                this.selectionWinField = value;
            }
        }
        
        /// <remarks/>
        public double selectionLose {
            get {
                return this.selectionLoseField;
            }
            set {
                this.selectionLoseField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public partial class marketSnapshot {
        
        private marketStatusEnum statusField;
        
        private double commissionRateField;
        
        private marketTypeEnum marketTypeField;
        
        private marketSnapshotVariableHandicapProfitLoss[] variableHandicapProfitLossField;
        
        private marketSnapshotSelections selectionsField;
        
        private int idField;
        
        private int nextIdField;
        
        /// <remarks/>
        public marketStatusEnum status {
            get {
                return this.statusField;
            }
            set {
                this.statusField = value;
            }
        }
        
        /// <remarks/>
        public double commissionRate {
            get {
                return this.commissionRateField;
            }
            set {
                this.commissionRateField = value;
            }
        }
        
        /// <remarks/>
        public marketTypeEnum marketType {
            get {
                return this.marketTypeField;
            }
            set {
                this.marketTypeField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("variableHandicapProfitLoss")]
        public marketSnapshotVariableHandicapProfitLoss[] variableHandicapProfitLoss {
            get {
                return this.variableHandicapProfitLossField;
            }
            set {
                this.variableHandicapProfitLossField = value;
            }
        }
        
        /// <remarks/>
        public marketSnapshotSelections selections {
            get {
                return this.selectionsField;
            }
            set {
                this.selectionsField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int nextId {
            get {
                return this.nextIdField;
            }
            set {
                this.nextIdField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class marketSnapshotVariableHandicapProfitLoss {
        
        private variableHandicapOutcomeTypeEnum variableHandicapOutcomeTypeField;
        
        private double value1Field;
        
        private double value2Field;
        
        private double profitLossField;
        
        private double worstCaseField;
        
        /// <remarks/>
        public variableHandicapOutcomeTypeEnum variableHandicapOutcomeType {
            get {
                return this.variableHandicapOutcomeTypeField;
            }
            set {
                this.variableHandicapOutcomeTypeField = value;
            }
        }
        
        /// <remarks/>
        public double value1 {
            get {
                return this.value1Field;
            }
            set {
                this.value1Field = value;
            }
        }
        
        /// <remarks/>
        public double value2 {
            get {
                return this.value2Field;
            }
            set {
                this.value2Field = value;
            }
        }
        
        /// <remarks/>
        public double profitLoss {
            get {
                return this.profitLossField;
            }
            set {
                this.profitLossField = value;
            }
        }
        
        /// <remarks/>
        public double worstCase {
            get {
                return this.worstCaseField;
            }
            set {
                this.worstCaseField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public enum variableHandicapOutcomeTypeEnum {
        
        /// <remarks/>
        IF_LESS_THAN_UNITS,
        
        /// <remarks/>
        IF_UNITS,
        
        /// <remarks/>
        IF_BETWEEN_UNITS,
        
        /// <remarks/>
        IF_UNITS_OR_MORE,
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class marketSnapshotSelections {
        
        private selectionSnapshot[] selectionField;
        
        private string typeField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("selection")]
        public selectionSnapshot[] selection {
            get {
                return this.selectionField;
            }
            set {
                this.selectionField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string type {
            get {
                return this.typeField;
            }
            set {
                this.typeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public partial class totalSizeRequestResultType {
        
        private betResultEnum resultCodeField;
        
        /// <remarks/>
        public betResultEnum resultCode {
            get {
                return this.resultCodeField;
            }
            set {
                this.resultCodeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public enum betResultEnum {
        
        /// <remarks/>
        OK,
        
        /// <remarks/>
        UNKNOWN_ERROR,
        
        /// <remarks/>
        REMAINING_CANCELLED,
        
        /// <remarks/>
        SITE_UPGRADE,
        
        /// <remarks/>
        ACCOUNT_CLOSED,
        
        /// <remarks/>
        ACCOUNT_SUSPENDED,
        
        /// <remarks/>
        ACCOUNT_PENDING_AUTHORISATION,
        
        /// <remarks/>
        EVENT_CLOSED,
        
        /// <remarks/>
        SELECTION_ALREADY_LOST,
        
        /// <remarks/>
        SELECTION_ALREADY_WON,
        
        /// <remarks/>
        BETTING_ROUND_STALE,
        
        /// <remarks/>
        INTERNAL_ERROR,
        
        /// <remarks/>
        BET_CANCELLED_REMAINING_UNMATCHED,
        
        /// <remarks/>
        UNMATCHED_BET_NOT_FOUND,
        
        /// <remarks/>
        ERROR_CALCULATING_EXPOSURE,
        
        /// <remarks/>
        REMAINING_SIZE_CANCELLED_BET_NOT_PLACED,
        
        /// <remarks/>
        EXPOSURE_CALCULATION_IN_PROGRESS,
        
        /// <remarks/>
        EXPOSURE_OR_AVAILABLE_BALANCE_EXCEEDED,
        
        /// <remarks/>
        FROM_COUNTRY_ON_EVENT_FORBIDDEN,
        
        /// <remarks/>
        INVALID_ASIAN_LINE_ID,
        
        /// <remarks/>
        INVALID_BET_TYPE,
        
        /// <remarks/>
        INVALID_INCREMENT,
        
        /// <remarks/>
        INVALID_MARKET,
        
        /// <remarks/>
        INVALID_SIZE_OR_PRICE,
        
        /// <remarks/>
        INVALID_SELECTION,
        
        /// <remarks/>
        LOSS_LIMIT_EXCEEDED,
        
        /// <remarks/>
        GAME_DOES_NOT_EXIST_OR_STALE,
        
        /// <remarks/>
        ALREADY_AT_TARGET_SIZE,
        
        /// <remarks/>
        COULD_NOT_REDUCE_TO_TARGET_SIZE_REMAINING_UNMATCHED_EDITED_TO_ZERO,
        
        /// <remarks/>
        NO_UNMATCHED_BETS_TO_REDUCE_TOTAL_SIZE,
        
        /// <remarks/>
        BET_REJECTED_ROUND_STALE,
        
        /// <remarks/>
        BET_REJECTED_EVENT_CLOSED,
        
        /// <remarks/>
        GAMEX_EXCLUSION,
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public partial class betCancelResultType {
        
        private betResultEnum resultCodeField;
        
        /// <remarks/>
        public betResultEnum resultCode {
            get {
                return this.resultCodeField;
            }
            set {
                this.resultCodeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public partial class betEditResultType {
        
        private long betIdField;
        
        private betResultEnum resultCodeField;
        
        /// <remarks/>
        public long betId {
            get {
                return this.betIdField;
            }
            set {
                this.betIdField = value;
            }
        }
        
        /// <remarks/>
        public betResultEnum resultCode {
            get {
                return this.resultCodeField;
            }
            set {
                this.resultCodeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public partial class betPlacementResultType {
        
        private long betIdField;
        
        private bool betIdFieldSpecified;
        
        private betResultEnum resultCodeField;
        
        /// <remarks/>
        public long betId {
            get {
                return this.betIdField;
            }
            set {
                this.betIdField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool betIdSpecified {
            get {
                return this.betIdFieldSpecified;
            }
            set {
                this.betIdFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        public betResultEnum resultCode {
            get {
                return this.resultCodeField;
            }
            set {
                this.resultCodeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public partial class accountStatementGameStateDescription {
        
        private gameStateEnum gameStateField;
        
        /// <remarks/>
        public gameStateEnum gameState {
            get {
                return this.gameStateField;
            }
            set {
                this.gameStateField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public enum gameStateEnum {
        
        /// <remarks/>
        RUNNING,
        
        /// <remarks/>
        ACTIVATED,
        
        /// <remarks/>
        STOPPED,
        
        /// <remarks/>
        WILL_BE_ABANDONED,
        
        /// <remarks/>
        ABANDONED,
        
        /// <remarks/>
        DEACTIVATED,
        
        /// <remarks/>
        VOIDED,
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public partial class accountStatementTransferDescription {
        
        private paymentTypeEnum paymentTypeField;
        
        /// <remarks/>
        public paymentTypeEnum paymentType {
            get {
                return this.paymentTypeField;
            }
            set {
                this.paymentTypeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public enum paymentTypeEnum {
        
        /// <remarks/>
        COMMISSION_CHARGED,
        
        /// <remarks/>
        DEPOSIT,
        
        /// <remarks/>
        WITHDRAWAL,
        
        /// <remarks/>
        UNKNOWN,
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public partial class accountStatementCommissionDescription {
        
        private marketReference marketReferenceField;
        
        private paymentTypeEnum paymentTypeField;
        
        private double commissionRateField;
        
        private double netWinningsField;
        
        /// <remarks/>
        public marketReference marketReference {
            get {
                return this.marketReferenceField;
            }
            set {
                this.marketReferenceField = value;
            }
        }
        
        /// <remarks/>
        public paymentTypeEnum paymentType {
            get {
                return this.paymentTypeField;
            }
            set {
                this.paymentTypeField = value;
            }
        }
        
        /// <remarks/>
        public double commissionRate {
            get {
                return this.commissionRateField;
            }
            set {
                this.commissionRateField = value;
            }
        }
        
        /// <remarks/>
        public double netWinnings {
            get {
                return this.netWinningsField;
            }
            set {
                this.netWinningsField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public partial class marketReference {
        
        private resource resourceField;
        
        private int marketIdField;
        
        private int channelIdField;
        
        private string channelNameField;
        
        private System.DateTime gameStartDateField;
        
        private bool gameStartDateFieldSpecified;
        
        /// <remarks/>
        public resource resource {
            get {
                return this.resourceField;
            }
            set {
                this.resourceField = value;
            }
        }
        
        /// <remarks/>
        public int marketId {
            get {
                return this.marketIdField;
            }
            set {
                this.marketIdField = value;
            }
        }
        
        /// <remarks/>
        public int channelId {
            get {
                return this.channelIdField;
            }
            set {
                this.channelIdField = value;
            }
        }
        
        /// <remarks/>
        public string channelName {
            get {
                return this.channelNameField;
            }
            set {
                this.channelNameField = value;
            }
        }
        
        /// <remarks/>
        public System.DateTime gameStartDate {
            get {
                return this.gameStartDateField;
            }
            set {
                this.gameStartDateField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool gameStartDateSpecified {
            get {
                return this.gameStartDateFieldSpecified;
            }
            set {
                this.gameStartDateFieldSpecified = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public partial class selectionReference {
        
        private marketReference marketReferenceField;
        
        private int selectionIdField;
        
        private string selectionNameField;
        
        /// <remarks/>
        public marketReference marketReference {
            get {
                return this.marketReferenceField;
            }
            set {
                this.marketReferenceField = value;
            }
        }
        
        /// <remarks/>
        public int selectionId {
            get {
                return this.selectionIdField;
            }
            set {
                this.selectionIdField = value;
            }
        }
        
        /// <remarks/>
        public string selectionName {
            get {
                return this.selectionNameField;
            }
            set {
                this.selectionNameField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public partial class accountStatementBetDescription {
        
        private selectionReference selectionReferenceField;
        
        private double sizeField;
        
        private double averagePriceField;
        
        private winLoseTypeEnum winLoseField;
        
        private betBidTypeEnum bidTypeField;
        
        /// <remarks/>
        public selectionReference selectionReference {
            get {
                return this.selectionReferenceField;
            }
            set {
                this.selectionReferenceField = value;
            }
        }
        
        /// <remarks/>
        public double size {
            get {
                return this.sizeField;
            }
            set {
                this.sizeField = value;
            }
        }
        
        /// <remarks/>
        public double averagePrice {
            get {
                return this.averagePriceField;
            }
            set {
                this.averagePriceField = value;
            }
        }
        
        /// <remarks/>
        public winLoseTypeEnum winLose {
            get {
                return this.winLoseField;
            }
            set {
                this.winLoseField = value;
            }
        }
        
        /// <remarks/>
        public betBidTypeEnum bidType {
            get {
                return this.bidTypeField;
            }
            set {
                this.bidTypeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public enum winLoseTypeEnum {
        
        /// <remarks/>
        ERROR,
        
        /// <remarks/>
        FIX,
        
        /// <remarks/>
        LOST,
        
        /// <remarks/>
        WON,
        
        /// <remarks/>
        TIED,
        
        /// <remarks/>
        NOT_APPLICABLE,
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public enum betBidTypeEnum {
        
        /// <remarks/>
        BACK,
        
        /// <remarks/>
        LAY,
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public partial class page {
        
        private resource resourceField;
        
        /// <remarks/>
        public resource resource {
            get {
                return this.resourceField;
            }
            set {
                this.resourceField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="urn:betfair:games:api:v1", IsNullable=false)]
    public partial class ping {
        
        private statusCodeEnum codeField;
        
        private loginCredentialsStatusEnum credentialCheckField;
        
        private userStatusEnum userStatusField;
        
        private bool userStatusFieldSpecified;
        
        private string errorDetailsField;
        
        /// <remarks/>
        public statusCodeEnum code {
            get {
                return this.codeField;
            }
            set {
                this.codeField = value;
            }
        }
        
        /// <remarks/>
        public loginCredentialsStatusEnum credentialCheck {
            get {
                return this.credentialCheckField;
            }
            set {
                this.credentialCheckField = value;
            }
        }
        
        /// <remarks/>
        public userStatusEnum userStatus {
            get {
                return this.userStatusField;
            }
            set {
                this.userStatusField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool userStatusSpecified {
            get {
                return this.userStatusFieldSpecified;
            }
            set {
                this.userStatusFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        public string errorDetails {
            get {
                return this.errorDetailsField;
            }
            set {
                this.errorDetailsField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public enum statusCodeEnum {
        
        /// <remarks/>
        OK,
        
        /// <remarks/>
        FAILED,
        
        /// <remarks/>
        SITE_UPGRADE,
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public enum loginCredentialsStatusEnum {
        
        /// <remarks/>
        CREDENTIALS_NOT_SUBMITTED,
        
        /// <remarks/>
        LOGIN_SUCCESS,
        
        /// <remarks/>
        LOGIN_FAILURE,
        
        /// <remarks/>
        LOGIN_ACCOUNT_NOW_LOCKED,
        
        /// <remarks/>
        LOGIN_ACCOUNT_ALREADY_LOCKED,
        
        /// <remarks/>
        LOGIN_REQUIRE_TERMS_AND_CONDITIONS_ACCEPTANCE,
        
        /// <remarks/>
        LOGIN_REQUIRE_POKER_AND_WEB_TERMS_AND_CONDITIONS_ACCEPTANCE,
        
        /// <remarks/>
        LOGIN_REQUIRE_REFERRAL_BETEX,
        
        /// <remarks/>
        LOGIN_WITH_MESSAGES,
        
        /// <remarks/>
        LOGIN_BANNED_COUNTRY,
        
        /// <remarks/>
        LOGIN_BANNED_TRADING_ACCOUNT,
        
        /// <remarks/>
        LOGIN_BANNED_MARGIN_ACCOUNT,
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public enum userStatusEnum {
        
        /// <remarks/>
        ACTIVE,
        
        /// <remarks/>
        CLOSED,
        
        /// <remarks/>
        DUPLICATE_CARDS,
        
        /// <remarks/>
        LOCKED,
        
        /// <remarks/>
        PENDING_AUTH,
        
        /// <remarks/>
        SUSPENDED,
        
        /// <remarks/>
        TELBET_TCs_NA,
        
        /// <remarks/>
        SEC_QUES_WRONG_3X,
        
        /// <remarks/>
        KYC_SUSPEND,
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="urn:betfair:games:api:v1", IsNullable=false)]
    public partial class error {
        
        private errorCodeEnum errorCodeField;
        
        private loginCredentialsStatusEnum credentialCheckField;
        
        private bool credentialCheckFieldSpecified;
        
        private userStatusEnum userStatusField;
        
        private bool userStatusFieldSpecified;
        
        private string errorDetailsField;
        
        /// <remarks/>
        public errorCodeEnum errorCode {
            get {
                return this.errorCodeField;
            }
            set {
                this.errorCodeField = value;
            }
        }
        
        /// <remarks/>
        public loginCredentialsStatusEnum credentialCheck {
            get {
                return this.credentialCheckField;
            }
            set {
                this.credentialCheckField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool credentialCheckSpecified {
            get {
                return this.credentialCheckFieldSpecified;
            }
            set {
                this.credentialCheckFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        public userStatusEnum userStatus {
            get {
                return this.userStatusField;
            }
            set {
                this.userStatusField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool userStatusSpecified {
            get {
                return this.userStatusFieldSpecified;
            }
            set {
                this.userStatusFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        public string errorDetails {
            get {
                return this.errorDetailsField;
            }
            set {
                this.errorDetailsField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public enum errorCodeEnum {
        
        /// <remarks/>
        LOGIN_ERROR,
        
        /// <remarks/>
        INPUT_CURRENCY_DOES_NOT_MATCH_ACCOUNT_CURRENCY,
        
        /// <remarks/>
        INVALID_OR_MISSING_BET_STATUS_CRITERIA,
        
        /// <remarks/>
        INVALID_GAME_TYPE_CRITERIA,
        
        /// <remarks/>
        INVALID_ACCOUNT_CRITERIA,
        
        /// <remarks/>
        INVALID_TIME_ZONE,
        
        /// <remarks/>
        INVALID_START_DATE,
        
        /// <remarks/>
        INVALID_END_DATE,
        
        /// <remarks/>
        INVALID_START_RECORD,
        
        /// <remarks/>
        INVALID_RECORD_COUNT,
        
        /// <remarks/>
        INVALID_ORDER_BY_CRITERIA,
        
        /// <remarks/>
        INVALID_CHANNEL_ID,
        
        /// <remarks/>
        INVALID_CHANNEL_OR_SELECTIONS_TYPE,
        
        /// <remarks/>
        INVALID_MARKET_ID,
        
        /// <remarks/>
        INVALID_SELECTION_ID,
        
        /// <remarks/>
        INVALID_BET_ORDER,
        
        /// <remarks/>
        INVALID_CHANNEL_SNAPSHOT_CRITERIA,
        
        /// <remarks/>
        EXCEPTION,
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="urn:betfair:games:api:v1", IsNullable=false)]
    public partial class contentLanding {
        
        private resource[] resourceField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("resource")]
        public resource[] resource {
            get {
                return this.resourceField;
            }
            set {
                this.resourceField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="urn:betfair:games:api:v1", IsNullable=false)]
    public partial class accountLanding {
        
        private resource[] resourceField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("resource")]
        public resource[] resource {
            get {
                return this.resourceField;
            }
            set {
                this.resourceField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="urn:betfair:games:api:v1", IsNullable=false)]
    public partial class accountSnapshot {
        
        private double exposureLimitField;
        
        private object[] itemsField;
        
        private ItemsChoiceType[] itemsElementNameField;
        
        private string currencyField;
        
        /// <remarks/>
        public double exposureLimit {
            get {
                return this.exposureLimitField;
            }
            set {
                this.exposureLimitField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("availableToBetBalance", typeof(double))]
        [System.Xml.Serialization.XmlElementAttribute("availableToTransferOut", typeof(double))]
        [System.Xml.Serialization.XmlElementAttribute("betfairGamesBalance", typeof(double))]
        [System.Xml.Serialization.XmlElementAttribute("currentExposure", typeof(double))]
        [System.Xml.Serialization.XmlElementAttribute("message", typeof(string))]
        [System.Xml.Serialization.XmlElementAttribute("retainedCommission", typeof(double))]
        [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")]
        public object[] Items {
            get {
                return this.itemsField;
            }
            set {
                this.itemsField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public ItemsChoiceType[] ItemsElementName {
            get {
                return this.itemsElementNameField;
            }
            set {
                this.itemsElementNameField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string currency {
            get {
                return this.currencyField;
            }
            set {
                this.currencyField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1", IncludeInSchema=false)]
    public enum ItemsChoiceType {
        
        /// <remarks/>
        availableToBetBalance,
        
        /// <remarks/>
        availableToTransferOut,
        
        /// <remarks/>
        betfairGamesBalance,
        
        /// <remarks/>
        currentExposure,
        
        /// <remarks/>
        message,
        
        /// <remarks/>
        retainedCommission,
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    [System.Xml.Serialization.XmlRootAttribute("accountBetfairSnapshot", Namespace="urn:betfair:games:api:v1", IsNullable=false)]
    public partial class betfairAvailableBalance {
        
        private double availableToTransferInField;
        
        private string currencyField;
        
        /// <remarks/>
        public double availableToTransferIn {
            get {
                return this.availableToTransferInField;
            }
            set {
                this.availableToTransferInField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string currency {
            get {
                return this.currencyField;
            }
            set {
                this.currencyField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="urn:betfair:games:api:v1", IsNullable=false)]
    public partial class accountStatement {
        
        private page previousPageField;
        
        private page nextPageField;
        
        private accountStatementItem[] itemField;
        
        private string currencyField;
        
        private int startField;
        
        private int endField;
        
        private int totalField;
        
        /// <remarks/>
        public page previousPage {
            get {
                return this.previousPageField;
            }
            set {
                this.previousPageField = value;
            }
        }
        
        /// <remarks/>
        public page nextPage {
            get {
                return this.nextPageField;
            }
            set {
                this.nextPageField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("item")]
        public accountStatementItem[] item {
            get {
                return this.itemField;
            }
            set {
                this.itemField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string currency {
            get {
                return this.currencyField;
            }
            set {
                this.currencyField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int start {
            get {
                return this.startField;
            }
            set {
                this.startField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int end {
            get {
                return this.endField;
            }
            set {
                this.endField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int total {
            get {
                return this.totalField;
            }
            set {
                this.totalField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class accountStatementItem {
        
        private System.DateTime settledDateField;
        
        private System.DateTime placedDateField;
        
        private accountStatementItemAccountStatementDescription accountStatementDescriptionField;
        
        private double amountField;
        
        private double balanceField;
        
        private long refNoField;
        
        /// <remarks/>
        public System.DateTime settledDate {
            get {
                return this.settledDateField;
            }
            set {
                this.settledDateField = value;
            }
        }
        
        /// <remarks/>
        public System.DateTime placedDate {
            get {
                return this.placedDateField;
            }
            set {
                this.placedDateField = value;
            }
        }
        
        /// <remarks/>
        public accountStatementItemAccountStatementDescription accountStatementDescription {
            get {
                return this.accountStatementDescriptionField;
            }
            set {
                this.accountStatementDescriptionField = value;
            }
        }
        
        /// <remarks/>
        public double amount {
            get {
                return this.amountField;
            }
            set {
                this.amountField = value;
            }
        }
        
        /// <remarks/>
        public double balance {
            get {
                return this.balanceField;
            }
            set {
                this.balanceField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public long refNo {
            get {
                return this.refNoField;
            }
            set {
                this.refNoField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class accountStatementItemAccountStatementDescription {
        
        private object itemField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("accountStatementBetDescription", typeof(accountStatementBetDescription))]
        [System.Xml.Serialization.XmlElementAttribute("accountStatementCommissionDescription", typeof(accountStatementCommissionDescription))]
        [System.Xml.Serialization.XmlElementAttribute("accountStatementGameStateDescription", typeof(accountStatementGameStateDescription))]
        [System.Xml.Serialization.XmlElementAttribute("accountStatementTransferDescription", typeof(accountStatementTransferDescription))]
        public object Item {
            get {
                return this.itemField;
            }
            set {
                this.itemField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="urn:betfair:games:api:v1", IsNullable=false)]
    public partial class postTransferOrder {
        
        private postTransferOrderAmount amountField;
        
        /// <remarks/>
        public postTransferOrderAmount amount {
            get {
                return this.amountField;
            }
            set {
                this.amountField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class postTransferOrderAmount {
        
        private string currencyField;
        
        private balanceActionTypeEnum actionField;
        
        private double valueField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string currency {
            get {
                return this.currencyField;
            }
            set {
                this.currencyField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public balanceActionTypeEnum action {
            get {
                return this.actionField;
            }
            set {
                this.actionField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlTextAttribute()]
        public double Value {
            get {
                return this.valueField;
            }
            set {
                this.valueField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public enum balanceActionTypeEnum {
        
        /// <remarks/>
        TRANSFER,
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="urn:betfair:games:api:v1", IsNullable=false)]
    public partial class responseTransferOrder {
        
        private balanceResponseTypeEnum messageField;
        
        /// <remarks/>
        public balanceResponseTypeEnum message {
            get {
                return this.messageField;
            }
            set {
                this.messageField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public enum balanceResponseTypeEnum {
        
        /// <remarks/>
        SUCCESS,
        
        /// <remarks/>
        INSUFFICIENT_FUNDS,
        
        /// <remarks/>
        FAILED,
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="urn:betfair:games:api:v1", IsNullable=false)]
    public partial class betLanding {
        
        private resource[] resourceField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("resource")]
        public resource[] resource {
            get {
                return this.resourceField;
            }
            set {
                this.resourceField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="urn:betfair:games:api:v1", IsNullable=false)]
    public partial class postBetOrder {
        
        private postBetOrderBetPlace[] betPlaceField;
        
        private postBetOrderBetEdit[] betEditField;
        
        private postBetOrderBetCancel[] betCancelField;
        
        private postBetOrderTotalSizeRequest[] totalSizeRequestField;
        
        private int roundField;
        
        private int marketIdField;
        
        private string currencyField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("betPlace")]
        public postBetOrderBetPlace[] betPlace {
            get {
                return this.betPlaceField;
            }
            set {
                this.betPlaceField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("betEdit")]
        public postBetOrderBetEdit[] betEdit {
            get {
                return this.betEditField;
            }
            set {
                this.betEditField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("betCancel")]
        public postBetOrderBetCancel[] betCancel {
            get {
                return this.betCancelField;
            }
            set {
                this.betCancelField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("totalSizeRequest")]
        public postBetOrderTotalSizeRequest[] totalSizeRequest {
            get {
                return this.totalSizeRequestField;
            }
            set {
                this.totalSizeRequestField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int round {
            get {
                return this.roundField;
            }
            set {
                this.roundField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int marketId {
            get {
                return this.marketIdField;
            }
            set {
                this.marketIdField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string currency {
            get {
                return this.currencyField;
            }
            set {
                this.currencyField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class postBetOrderBetPlace {
        
        private betBidTypeEnum bidTypeField;
        
        private double priceField;
        
        private double sizeField;
        
        private int selectionIdField;
        
        /// <remarks/>
        public betBidTypeEnum bidType {
            get {
                return this.bidTypeField;
            }
            set {
                this.bidTypeField = value;
            }
        }
        
        /// <remarks/>
        public double price {
            get {
                return this.priceField;
            }
            set {
                this.priceField = value;
            }
        }
        
        /// <remarks/>
        public double size {
            get {
                return this.sizeField;
            }
            set {
                this.sizeField = value;
            }
        }
        
        /// <remarks/>
        public int selectionId {
            get {
                return this.selectionIdField;
            }
            set {
                this.selectionIdField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class postBetOrderBetEdit {
        
        private long betIdField;
        
        private betBidTypeEnum bidTypeField;
        
        private double priceField;
        
        private double unmatchedSizeField;
        
        private double newPriceField;
        
        private double newUnmatchedSizeField;
        
        private int selectionIdField;
        
        /// <remarks/>
        public long betId {
            get {
                return this.betIdField;
            }
            set {
                this.betIdField = value;
            }
        }
        
        /// <remarks/>
        public betBidTypeEnum bidType {
            get {
                return this.bidTypeField;
            }
            set {
                this.bidTypeField = value;
            }
        }
        
        /// <remarks/>
        public double price {
            get {
                return this.priceField;
            }
            set {
                this.priceField = value;
            }
        }
        
        /// <remarks/>
        public double unmatchedSize {
            get {
                return this.unmatchedSizeField;
            }
            set {
                this.unmatchedSizeField = value;
            }
        }
        
        /// <remarks/>
        public double newPrice {
            get {
                return this.newPriceField;
            }
            set {
                this.newPriceField = value;
            }
        }
        
        /// <remarks/>
        public double newUnmatchedSize {
            get {
                return this.newUnmatchedSizeField;
            }
            set {
                this.newUnmatchedSizeField = value;
            }
        }
        
        /// <remarks/>
        public int selectionId {
            get {
                return this.selectionIdField;
            }
            set {
                this.selectionIdField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class postBetOrderBetCancel {
        
        private long betIdField;
        
        /// <remarks/>
        public long betId {
            get {
                return this.betIdField;
            }
            set {
                this.betIdField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class postBetOrderTotalSizeRequest {
        
        private betBidTypeEnum bidTypeField;
        
        private double priceField;
        
        private double totalSizeField;
        
        private int selectionIdField;
        
        /// <remarks/>
        public betBidTypeEnum bidType {
            get {
                return this.bidTypeField;
            }
            set {
                this.bidTypeField = value;
            }
        }
        
        /// <remarks/>
        public double price {
            get {
                return this.priceField;
            }
            set {
                this.priceField = value;
            }
        }
        
        /// <remarks/>
        public double totalSize {
            get {
                return this.totalSizeField;
            }
            set {
                this.totalSizeField = value;
            }
        }
        
        /// <remarks/>
        public int selectionId {
            get {
                return this.selectionIdField;
            }
            set {
                this.selectionIdField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="urn:betfair:games:api:v1", IsNullable=false)]
    public partial class responseBetOrder {
        
        private betPlacementResultType[] betPlacementResultField;
        
        private betEditResultType[] betEditResultField;
        
        private betCancelResultType[] betCancelResultField;
        
        private totalSizeRequestResultType[] totalSizeRequestResultField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("betPlacementResult")]
        public betPlacementResultType[] betPlacementResult {
            get {
                return this.betPlacementResultField;
            }
            set {
                this.betPlacementResultField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("betEditResult")]
        public betEditResultType[] betEditResult {
            get {
                return this.betEditResultField;
            }
            set {
                this.betEditResultField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("betCancelResult")]
        public betCancelResultType[] betCancelResult {
            get {
                return this.betCancelResultField;
            }
            set {
                this.betCancelResultField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("totalSizeRequestResult")]
        public totalSizeRequestResultType[] totalSizeRequestResult {
            get {
                return this.totalSizeRequestResultField;
            }
            set {
                this.totalSizeRequestResultField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="urn:betfair:games:api:v1", IsNullable=false)]
    public partial class channelLanding {
        
        private channelLandingChannel[] channelField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("channel")]
        public channelLandingChannel[] channel {
            get {
                return this.channelField;
            }
            set {
                this.channelField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class channelLandingChannel {
        
        private resource[] resourceField;
        
        private int idField;
        
        private string nameField;
        
        private string gameTypeField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("resource")]
        public resource[] resource {
            get {
                return this.resourceField;
            }
            set {
                this.resourceField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string name {
            get {
                return this.nameField;
            }
            set {
                this.nameField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string gameType {
            get {
                return this.gameTypeField;
            }
            set {
                this.gameTypeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="urn:betfair:games:api:v1", IsNullable=false)]
    public partial class channelSnapshot {
        
        private channelSnapshotChannel channelField;
        
        /// <remarks/>
        public channelSnapshotChannel channel {
            get {
                return this.channelField;
            }
            set {
                this.channelField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class channelSnapshotChannel {
        
        private channelStatusEnum statusField;
        
        private bool statusFieldSpecified;
        
        private channelSnapshotChannelGame gameField;
        
        private int idField;
        
        private string nameField;
        
        private string gameTypeField;
        
        /// <remarks/>
        public channelStatusEnum status {
            get {
                return this.statusField;
            }
            set {
                this.statusField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool statusSpecified {
            get {
                return this.statusFieldSpecified;
            }
            set {
                this.statusFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        public channelSnapshotChannelGame game {
            get {
                return this.gameField;
            }
            set {
                this.gameField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string name {
            get {
                return this.nameField;
            }
            set {
                this.nameField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string gameType {
            get {
                return this.gameTypeField;
            }
            set {
                this.gameTypeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:betfair:games:api:v1")]
    public enum channelStatusEnum {
        
        /// <remarks/>
        RUNNING,
        
        /// <remarks/>
        ABANDONED,
        
        /// <remarks/>
        STOPPED,
        
        /// <remarks/>
        PENDING_RUNNING,
        
        /// <remarks/>
        PENDING_ABANDON,
        
        /// <remarks/>
        PENDING_STOP,
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class channelSnapshotChannelGame {
        
        private int roundField;
        
        private bool roundFieldSpecified;
        
        private int bettingWindowTimeField;
        
        private bool bettingWindowTimeFieldSpecified;
        
        private int bettingWindowPercentageCompleteField;
        
        private bool bettingWindowPercentageCompleteFieldSpecified;
        
        private gameDataObject[] gameDataField;
        
        private channelSnapshotChannelGameMarkets marketsField;
        
        private int idField;
        
        /// <remarks/>
        public int round {
            get {
                return this.roundField;
            }
            set {
                this.roundField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool roundSpecified {
            get {
                return this.roundFieldSpecified;
            }
            set {
                this.roundFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        public int bettingWindowTime {
            get {
                return this.bettingWindowTimeField;
            }
            set {
                this.bettingWindowTimeField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool bettingWindowTimeSpecified {
            get {
                return this.bettingWindowTimeFieldSpecified;
            }
            set {
                this.bettingWindowTimeFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        public int bettingWindowPercentageComplete {
            get {
                return this.bettingWindowPercentageCompleteField;
            }
            set {
                this.bettingWindowPercentageCompleteField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool bettingWindowPercentageCompleteSpecified {
            get {
                return this.bettingWindowPercentageCompleteFieldSpecified;
            }
            set {
                this.bettingWindowPercentageCompleteFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlArrayItemAttribute("object", IsNullable=false)]
        public gameDataObject[] gameData {
            get {
                return this.gameDataField;
            }
            set {
                this.gameDataField = value;
            }
        }
        
        /// <remarks/>
        public channelSnapshotChannelGameMarkets markets {
            get {
                return this.marketsField;
            }
            set {
                this.marketsField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class gameDataObject {
        
        private string descriptionField;
        
        private string statusField;
        
        private gameDataObjectProperty[] propertyField;
        
        private string nameField;
        
        /// <remarks/>
        public string description {
            get {
                return this.descriptionField;
            }
            set {
                this.descriptionField = value;
            }
        }
        
        /// <remarks/>
        public string status {
            get {
                return this.statusField;
            }
            set {
                this.statusField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("property")]
        public gameDataObjectProperty[] property {
            get {
                return this.propertyField;
            }
            set {
                this.propertyField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string name {
            get {
                return this.nameField;
            }
            set {
                this.nameField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class gameDataObjectProperty {
        
        private string nameField;
        
        private string valueField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string name {
            get {
                return this.nameField;
            }
            set {
                this.nameField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string value {
            get {
                return this.valueField;
            }
            set {
                this.valueField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class channelSnapshotChannelGameMarkets {
        
        private marketSnapshot[] marketField;
        
        private string currencyField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("market")]
        public marketSnapshot[] market {
            get {
                return this.marketField;
            }
            set {
                this.marketField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string currency {
            get {
                return this.currencyField;
            }
            set {
                this.currencyField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="urn:betfair:games:api:v1", IsNullable=false)]
    public partial class channelHistory {
        
        private channelHistoryChannel channelField;
        
        /// <remarks/>
        public channelHistoryChannel channel {
            get {
                return this.channelField;
            }
            set {
                this.channelField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class channelHistoryChannel {
        
        private channelHistoryChannelGames gamesField;
        
        private int idField;
        
        private string nameField;
        
        private string gameTypeField;
        
        /// <remarks/>
        public channelHistoryChannelGames games {
            get {
                return this.gamesField;
            }
            set {
                this.gamesField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string name {
            get {
                return this.nameField;
            }
            set {
                this.nameField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string gameType {
            get {
                return this.gameTypeField;
            }
            set {
                this.gameTypeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class channelHistoryChannelGames {
        
        private page previousPageField;
        
        private page nextPageField;
        
        private channelHistoryChannelGamesGame[] gameField;
        
        private int totalField;
        
        private bool totalFieldSpecified;
        
        private int startField;
        
        private bool startFieldSpecified;
        
        private int endField;
        
        private bool endFieldSpecified;
        
        /// <remarks/>
        public page previousPage {
            get {
                return this.previousPageField;
            }
            set {
                this.previousPageField = value;
            }
        }
        
        /// <remarks/>
        public page nextPage {
            get {
                return this.nextPageField;
            }
            set {
                this.nextPageField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("game")]
        public channelHistoryChannelGamesGame[] game {
            get {
                return this.gameField;
            }
            set {
                this.gameField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int total {
            get {
                return this.totalField;
            }
            set {
                this.totalField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool totalSpecified {
            get {
                return this.totalFieldSpecified;
            }
            set {
                this.totalFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int start {
            get {
                return this.startField;
            }
            set {
                this.startField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool startSpecified {
            get {
                return this.startFieldSpecified;
            }
            set {
                this.startFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int end {
            get {
                return this.endField;
            }
            set {
                this.endField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool endSpecified {
            get {
                return this.endFieldSpecified;
            }
            set {
                this.endFieldSpecified = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class channelHistoryChannelGamesGame {
        
        private gameDataObject[] gameDataField;
        
        private channelHistoryChannelGamesGameMarkets marketsField;
        
        private System.DateTime gameStartDateField;
        
        private int idField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlArrayItemAttribute("object", IsNullable=false)]
        public gameDataObject[] gameData {
            get {
                return this.gameDataField;
            }
            set {
                this.gameDataField = value;
            }
        }
        
        /// <remarks/>
        public channelHistoryChannelGamesGameMarkets markets {
            get {
                return this.marketsField;
            }
            set {
                this.marketsField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public System.DateTime gameStartDate {
            get {
                return this.gameStartDateField;
            }
            set {
                this.gameStartDateField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class channelHistoryChannelGamesGameMarkets {
        
        private marketHistory[] marketField;
        
        private string currencyField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("market")]
        public marketHistory[] market {
            get {
                return this.marketField;
            }
            set {
                this.marketField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string currency {
            get {
                return this.currencyField;
            }
            set {
                this.currencyField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="urn:betfair:games:api:v1", IsNullable=false)]
    public partial class channelInfo {
        
        private channelInfoRound[] roundField;
        
        private string gameRulesField;
        
        private string gameDataDescriptionField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("round")]
        public channelInfoRound[] round {
            get {
                return this.roundField;
            }
            set {
                this.roundField = value;
            }
        }
        
        /// <remarks/>
        public string gameRules {
            get {
                return this.gameRulesField;
            }
            set {
                this.gameRulesField = value;
            }
        }
        
        /// <remarks/>
        public string gameDataDescription {
            get {
                return this.gameDataDescriptionField;
            }
            set {
                this.gameDataDescriptionField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class channelInfoRound {
        
        private int bettingWindowField;
        
        private int playingWindowField;
        
        private int numberField;
        
        /// <remarks/>
        public int bettingWindow {
            get {
                return this.bettingWindowField;
            }
            set {
                this.bettingWindowField = value;
            }
        }
        
        /// <remarks/>
        public int playingWindow {
            get {
                return this.playingWindowField;
            }
            set {
                this.playingWindowField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int number {
            get {
                return this.numberField;
            }
            set {
                this.numberField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="urn:betfair:games:api:v1", IsNullable=false)]
    public partial class betHistory {
        
        private page previousPageField;
        
        private page nextPageField;
        
        private betHistoryBetHistoryItem[] betHistoryItemField;
        
        private int totalField;
        
        private int startField;
        
        private int endField;
        
        private string currencyField;
        
        /// <remarks/>
        public page previousPage {
            get {
                return this.previousPageField;
            }
            set {
                this.previousPageField = value;
            }
        }
        
        /// <remarks/>
        public page nextPage {
            get {
                return this.nextPageField;
            }
            set {
                this.nextPageField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("betHistoryItem")]
        public betHistoryBetHistoryItem[] betHistoryItem {
            get {
                return this.betHistoryItemField;
            }
            set {
                this.betHistoryItemField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int total {
            get {
                return this.totalField;
            }
            set {
                this.totalField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int start {
            get {
                return this.startField;
            }
            set {
                this.startField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int end {
            get {
                return this.endField;
            }
            set {
                this.endField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string currency {
            get {
                return this.currencyField;
            }
            set {
                this.currencyField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class betHistoryBetHistoryItem {
        
        private long betIdField;
        
        private selectionReference selectionReferenceField;
        
        private betBidTypeEnum bidTypeField;
        
        private System.DateTime placedDateField;
        
        private double priceField;
        
        private double sizeField;
        
        private double averagePriceMatchedField;
        
        private bool averagePriceMatchedFieldSpecified;
        
        private double profitLossField;
        
        private bool profitLossFieldSpecified;
        
        private winLoseTypeEnum winLoseField;
        
        private bool winLoseFieldSpecified;
        
        /// <remarks/>
        public long betId {
            get {
                return this.betIdField;
            }
            set {
                this.betIdField = value;
            }
        }
        
        /// <remarks/>
        public selectionReference selectionReference {
            get {
                return this.selectionReferenceField;
            }
            set {
                this.selectionReferenceField = value;
            }
        }
        
        /// <remarks/>
        public betBidTypeEnum bidType {
            get {
                return this.bidTypeField;
            }
            set {
                this.bidTypeField = value;
            }
        }
        
        /// <remarks/>
        public System.DateTime placedDate {
            get {
                return this.placedDateField;
            }
            set {
                this.placedDateField = value;
            }
        }
        
        /// <remarks/>
        public double price {
            get {
                return this.priceField;
            }
            set {
                this.priceField = value;
            }
        }
        
        /// <remarks/>
        public double size {
            get {
                return this.sizeField;
            }
            set {
                this.sizeField = value;
            }
        }
        
        /// <remarks/>
        public double averagePriceMatched {
            get {
                return this.averagePriceMatchedField;
            }
            set {
                this.averagePriceMatchedField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool averagePriceMatchedSpecified {
            get {
                return this.averagePriceMatchedFieldSpecified;
            }
            set {
                this.averagePriceMatchedFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        public double profitLoss {
            get {
                return this.profitLossField;
            }
            set {
                this.profitLossField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool profitLossSpecified {
            get {
                return this.profitLossFieldSpecified;
            }
            set {
                this.profitLossFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        public winLoseTypeEnum winLose {
            get {
                return this.winLoseField;
            }
            set {
                this.winLoseField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool winLoseSpecified {
            get {
                return this.winLoseFieldSpecified;
            }
            set {
                this.winLoseFieldSpecified = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="urn:betfair:games:api:v1", IsNullable=false)]
    public partial class betSnapshot {
        
        private page previousPageField;
        
        private page nextPageField;
        
        private page nextResultSetField;
        
        private betSnapshotBetSnapshotItem[] betSnapshotItemField;
        
        private int totalField;
        
        private int startField;
        
        private int endField;
        
        private string currencyField;
        
        /// <remarks/>
        public page previousPage {
            get {
                return this.previousPageField;
            }
            set {
                this.previousPageField = value;
            }
        }
        
        /// <remarks/>
        public page nextPage {
            get {
                return this.nextPageField;
            }
            set {
                this.nextPageField = value;
            }
        }
        
        /// <remarks/>
        public page nextResultSet {
            get {
                return this.nextResultSetField;
            }
            set {
                this.nextResultSetField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("betSnapshotItem")]
        public betSnapshotBetSnapshotItem[] betSnapshotItem {
            get {
                return this.betSnapshotItemField;
            }
            set {
                this.betSnapshotItemField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int total {
            get {
                return this.totalField;
            }
            set {
                this.totalField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int start {
            get {
                return this.startField;
            }
            set {
                this.startField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int end {
            get {
                return this.endField;
            }
            set {
                this.endField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string currency {
            get {
                return this.currencyField;
            }
            set {
                this.currencyField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class betSnapshotBetSnapshotItem {
        
        private long betIdField;
        
        private betBidTypeEnum bidTypeField;
        
        private System.DateTime placedDateField;
        
        private System.DateTime cancelledDateField;
        
        private bool cancelledDateFieldSpecified;
        
        private System.DateTime matchedDateField;
        
        private bool matchedDateFieldSpecified;
        
        private double priceField;
        
        private double sizeField;
        
        private selectionReference selectionReferenceField;
        
        private double priceMatchedField;
        
        private bool priceMatchedFieldSpecified;
        
        private long updateStampField;
        
        /// <remarks/>
        public long betId {
            get {
                return this.betIdField;
            }
            set {
                this.betIdField = value;
            }
        }
        
        /// <remarks/>
        public betBidTypeEnum bidType {
            get {
                return this.bidTypeField;
            }
            set {
                this.bidTypeField = value;
            }
        }
        
        /// <remarks/>
        public System.DateTime placedDate {
            get {
                return this.placedDateField;
            }
            set {
                this.placedDateField = value;
            }
        }
        
        /// <remarks/>
        public System.DateTime cancelledDate {
            get {
                return this.cancelledDateField;
            }
            set {
                this.cancelledDateField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool cancelledDateSpecified {
            get {
                return this.cancelledDateFieldSpecified;
            }
            set {
                this.cancelledDateFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        public System.DateTime matchedDate {
            get {
                return this.matchedDateField;
            }
            set {
                this.matchedDateField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool matchedDateSpecified {
            get {
                return this.matchedDateFieldSpecified;
            }
            set {
                this.matchedDateFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        public double price {
            get {
                return this.priceField;
            }
            set {
                this.priceField = value;
            }
        }
        
        /// <remarks/>
        public double size {
            get {
                return this.sizeField;
            }
            set {
                this.sizeField = value;
            }
        }
        
        /// <remarks/>
        public selectionReference selectionReference {
            get {
                return this.selectionReferenceField;
            }
            set {
                this.selectionReferenceField = value;
            }
        }
        
        /// <remarks/>
        public double priceMatched {
            get {
                return this.priceMatchedField;
            }
            set {
                this.priceMatchedField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool priceMatchedSpecified {
            get {
                return this.priceMatchedFieldSpecified;
            }
            set {
                this.priceMatchedFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        public long updateStamp {
            get {
                return this.updateStampField;
            }
            set {
                this.updateStampField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="urn:betfair:games:api:v1", IsNullable=false)]
    public partial class selectionTradeActivity {
        
        private int selectionIdField;
        
        private int marketIdField;
        
        private double volumeField;
        
        private bool volumeFieldSpecified;
        
        private double lastPriceMatchedField;
        
        private bool lastPriceMatchedFieldSpecified;
        
        private selectionTradeActivityPriceStat[] priceStatsField;
        
        private string currencyField;
        
        /// <remarks/>
        public int selectionId {
            get {
                return this.selectionIdField;
            }
            set {
                this.selectionIdField = value;
            }
        }
        
        /// <remarks/>
        public int marketId {
            get {
                return this.marketIdField;
            }
            set {
                this.marketIdField = value;
            }
        }
        
        /// <remarks/>
        public double volume {
            get {
                return this.volumeField;
            }
            set {
                this.volumeField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool volumeSpecified {
            get {
                return this.volumeFieldSpecified;
            }
            set {
                this.volumeFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        public double lastPriceMatched {
            get {
                return this.lastPriceMatchedField;
            }
            set {
                this.lastPriceMatchedField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool lastPriceMatchedSpecified {
            get {
                return this.lastPriceMatchedFieldSpecified;
            }
            set {
                this.lastPriceMatchedFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlArrayItemAttribute("priceStat", IsNullable=false)]
        public selectionTradeActivityPriceStat[] priceStats {
            get {
                return this.priceStatsField;
            }
            set {
                this.priceStatsField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string currency {
            get {
                return this.currencyField;
            }
            set {
                this.currencyField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
    public partial class selectionTradeActivityPriceStat {
        
        private double priceField;
        
        private double availableToBackSizeField;
        
        private double availableToLaySizeField;
        
        private double tradedField;
        
        private bool tradedFieldSpecified;
        
        /// <remarks/>
        public double price {
            get {
                return this.priceField;
            }
            set {
                this.priceField = value;
            }
        }
        
        /// <remarks/>
        public double availableToBackSize {
            get {
                return this.availableToBackSizeField;
            }
            set {
                this.availableToBackSizeField = value;
            }
        }
        
        /// <remarks/>
        public double availableToLaySize {
            get {
                return this.availableToLaySizeField;
            }
            set {
                this.availableToLaySizeField = value;
            }
        }
        
        /// <remarks/>
        public double traded {
            get {
                return this.tradedField;
            }
            set {
                this.tradedField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool tradedSpecified {
            get {
                return this.tradedFieldSpecified;
            }
            set {
                this.tradedFieldSpecified = value;
            }
        }
    }
}
