// <auto-generated>
//   This file was generated by a tool; you should avoid making direct changes.
//   Consider using 'partial classes' to extend these types
//   Input: steammessages_deviceauth.steamclient.proto
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace SteamKit2.Internal
{

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_GetOwnAuthorizedDevices_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong steamid
        {
            get => __pbn__steamid.GetValueOrDefault();
            set => __pbn__steamid = value;
        }
        public bool ShouldSerializesteamid() => __pbn__steamid != null;
        public void Resetsteamid() => __pbn__steamid = null;
        private ulong? __pbn__steamid;

        [global::ProtoBuf.ProtoMember(2)]
        public bool include_canceled
        {
            get => __pbn__include_canceled.GetValueOrDefault();
            set => __pbn__include_canceled = value;
        }
        public bool ShouldSerializeinclude_canceled() => __pbn__include_canceled != null;
        public void Resetinclude_canceled() => __pbn__include_canceled = null;
        private bool? __pbn__include_canceled;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_GetOwnAuthorizedDevices_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        public global::System.Collections.Generic.List<Device> devices { get; } = new global::System.Collections.Generic.List<Device>();

        [global::ProtoBuf.ProtoContract()]
        public partial class Device : global::ProtoBuf.IExtensible
        {
            private global::ProtoBuf.IExtension __pbn__extensionData;
            global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
                => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

            [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
            public ulong auth_device_token
            {
                get => __pbn__auth_device_token.GetValueOrDefault();
                set => __pbn__auth_device_token = value;
            }
            public bool ShouldSerializeauth_device_token() => __pbn__auth_device_token != null;
            public void Resetauth_device_token() => __pbn__auth_device_token = null;
            private ulong? __pbn__auth_device_token;

            [global::ProtoBuf.ProtoMember(2)]
            [global::System.ComponentModel.DefaultValue("")]
            public string device_name
            {
                get => __pbn__device_name ?? "";
                set => __pbn__device_name = value;
            }
            public bool ShouldSerializedevice_name() => __pbn__device_name != null;
            public void Resetdevice_name() => __pbn__device_name = null;
            private string __pbn__device_name;

            [global::ProtoBuf.ProtoMember(3)]
            public bool is_pending
            {
                get => __pbn__is_pending.GetValueOrDefault();
                set => __pbn__is_pending = value;
            }
            public bool ShouldSerializeis_pending() => __pbn__is_pending != null;
            public void Resetis_pending() => __pbn__is_pending = null;
            private bool? __pbn__is_pending;

            [global::ProtoBuf.ProtoMember(4)]
            public bool is_canceled
            {
                get => __pbn__is_canceled.GetValueOrDefault();
                set => __pbn__is_canceled = value;
            }
            public bool ShouldSerializeis_canceled() => __pbn__is_canceled != null;
            public void Resetis_canceled() => __pbn__is_canceled = null;
            private bool? __pbn__is_canceled;

            [global::ProtoBuf.ProtoMember(5)]
            public uint last_time_used
            {
                get => __pbn__last_time_used.GetValueOrDefault();
                set => __pbn__last_time_used = value;
            }
            public bool ShouldSerializelast_time_used() => __pbn__last_time_used != null;
            public void Resetlast_time_used() => __pbn__last_time_used = null;
            private uint? __pbn__last_time_used;

            [global::ProtoBuf.ProtoMember(6, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
            public ulong last_borrower_id
            {
                get => __pbn__last_borrower_id.GetValueOrDefault();
                set => __pbn__last_borrower_id = value;
            }
            public bool ShouldSerializelast_borrower_id() => __pbn__last_borrower_id != null;
            public void Resetlast_borrower_id() => __pbn__last_borrower_id = null;
            private ulong? __pbn__last_borrower_id;

            [global::ProtoBuf.ProtoMember(7)]
            public uint last_app_played
            {
                get => __pbn__last_app_played.GetValueOrDefault();
                set => __pbn__last_app_played = value;
            }
            public bool ShouldSerializelast_app_played() => __pbn__last_app_played != null;
            public void Resetlast_app_played() => __pbn__last_app_played = null;
            private uint? __pbn__last_app_played;

            [global::ProtoBuf.ProtoMember(8)]
            public bool is_limited
            {
                get => __pbn__is_limited.GetValueOrDefault();
                set => __pbn__is_limited = value;
            }
            public bool ShouldSerializeis_limited() => __pbn__is_limited != null;
            public void Resetis_limited() => __pbn__is_limited = null;
            private bool? __pbn__is_limited;

        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_AcceptAuthorizationRequest_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong steamid
        {
            get => __pbn__steamid.GetValueOrDefault();
            set => __pbn__steamid = value;
        }
        public bool ShouldSerializesteamid() => __pbn__steamid != null;
        public void Resetsteamid() => __pbn__steamid = null;
        private ulong? __pbn__steamid;

        [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong auth_device_token
        {
            get => __pbn__auth_device_token.GetValueOrDefault();
            set => __pbn__auth_device_token = value;
        }
        public bool ShouldSerializeauth_device_token() => __pbn__auth_device_token != null;
        public void Resetauth_device_token() => __pbn__auth_device_token = null;
        private ulong? __pbn__auth_device_token;

        [global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong auth_code
        {
            get => __pbn__auth_code.GetValueOrDefault();
            set => __pbn__auth_code = value;
        }
        public bool ShouldSerializeauth_code() => __pbn__auth_code != null;
        public void Resetauth_code() => __pbn__auth_code = null;
        private ulong? __pbn__auth_code;

        [global::ProtoBuf.ProtoMember(4, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong from_steamid
        {
            get => __pbn__from_steamid.GetValueOrDefault();
            set => __pbn__from_steamid = value;
        }
        public bool ShouldSerializefrom_steamid() => __pbn__from_steamid != null;
        public void Resetfrom_steamid() => __pbn__from_steamid = null;
        private ulong? __pbn__from_steamid;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_AcceptAuthorizationRequest_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_AuthorizeRemoteDevice_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong steamid
        {
            get => __pbn__steamid.GetValueOrDefault();
            set => __pbn__steamid = value;
        }
        public bool ShouldSerializesteamid() => __pbn__steamid != null;
        public void Resetsteamid() => __pbn__steamid = null;
        private ulong? __pbn__steamid;

        [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong auth_device_token
        {
            get => __pbn__auth_device_token.GetValueOrDefault();
            set => __pbn__auth_device_token = value;
        }
        public bool ShouldSerializeauth_device_token() => __pbn__auth_device_token != null;
        public void Resetauth_device_token() => __pbn__auth_device_token = null;
        private ulong? __pbn__auth_device_token;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_AuthorizeRemoteDevice_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_DeauthorizeRemoteDevice_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong steamid
        {
            get => __pbn__steamid.GetValueOrDefault();
            set => __pbn__steamid = value;
        }
        public bool ShouldSerializesteamid() => __pbn__steamid != null;
        public void Resetsteamid() => __pbn__steamid = null;
        private ulong? __pbn__steamid;

        [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong auth_device_token
        {
            get => __pbn__auth_device_token.GetValueOrDefault();
            set => __pbn__auth_device_token = value;
        }
        public bool ShouldSerializeauth_device_token() => __pbn__auth_device_token != null;
        public void Resetauth_device_token() => __pbn__auth_device_token = null;
        private ulong? __pbn__auth_device_token;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_DeauthorizeRemoteDevice_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_GetUsedAuthorizedDevices_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong steamid
        {
            get => __pbn__steamid.GetValueOrDefault();
            set => __pbn__steamid = value;
        }
        public bool ShouldSerializesteamid() => __pbn__steamid != null;
        public void Resetsteamid() => __pbn__steamid = null;
        private ulong? __pbn__steamid;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_GetUsedAuthorizedDevices_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        public global::System.Collections.Generic.List<Device> devices { get; } = new global::System.Collections.Generic.List<Device>();

        [global::ProtoBuf.ProtoContract()]
        public partial class Device : global::ProtoBuf.IExtensible
        {
            private global::ProtoBuf.IExtension __pbn__extensionData;
            global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
                => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

            [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
            public ulong auth_device_token
            {
                get => __pbn__auth_device_token.GetValueOrDefault();
                set => __pbn__auth_device_token = value;
            }
            public bool ShouldSerializeauth_device_token() => __pbn__auth_device_token != null;
            public void Resetauth_device_token() => __pbn__auth_device_token = null;
            private ulong? __pbn__auth_device_token;

            [global::ProtoBuf.ProtoMember(2)]
            [global::System.ComponentModel.DefaultValue("")]
            public string device_name
            {
                get => __pbn__device_name ?? "";
                set => __pbn__device_name = value;
            }
            public bool ShouldSerializedevice_name() => __pbn__device_name != null;
            public void Resetdevice_name() => __pbn__device_name = null;
            private string __pbn__device_name;

            [global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
            public ulong owner_steamid
            {
                get => __pbn__owner_steamid.GetValueOrDefault();
                set => __pbn__owner_steamid = value;
            }
            public bool ShouldSerializeowner_steamid() => __pbn__owner_steamid != null;
            public void Resetowner_steamid() => __pbn__owner_steamid = null;
            private ulong? __pbn__owner_steamid;

            [global::ProtoBuf.ProtoMember(4)]
            public uint last_time_used
            {
                get => __pbn__last_time_used.GetValueOrDefault();
                set => __pbn__last_time_used = value;
            }
            public bool ShouldSerializelast_time_used() => __pbn__last_time_used != null;
            public void Resetlast_time_used() => __pbn__last_time_used = null;
            private uint? __pbn__last_time_used;

            [global::ProtoBuf.ProtoMember(5)]
            public uint last_app_played
            {
                get => __pbn__last_app_played.GetValueOrDefault();
                set => __pbn__last_app_played = value;
            }
            public bool ShouldSerializelast_app_played() => __pbn__last_app_played != null;
            public void Resetlast_app_played() => __pbn__last_app_played = null;
            private uint? __pbn__last_app_played;

        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_GetAuthorizedBorrowers_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong steamid
        {
            get => __pbn__steamid.GetValueOrDefault();
            set => __pbn__steamid = value;
        }
        public bool ShouldSerializesteamid() => __pbn__steamid != null;
        public void Resetsteamid() => __pbn__steamid = null;
        private ulong? __pbn__steamid;

        [global::ProtoBuf.ProtoMember(2)]
        public bool include_canceled
        {
            get => __pbn__include_canceled.GetValueOrDefault();
            set => __pbn__include_canceled = value;
        }
        public bool ShouldSerializeinclude_canceled() => __pbn__include_canceled != null;
        public void Resetinclude_canceled() => __pbn__include_canceled = null;
        private bool? __pbn__include_canceled;

        [global::ProtoBuf.ProtoMember(3)]
        public bool include_pending
        {
            get => __pbn__include_pending.GetValueOrDefault();
            set => __pbn__include_pending = value;
        }
        public bool ShouldSerializeinclude_pending() => __pbn__include_pending != null;
        public void Resetinclude_pending() => __pbn__include_pending = null;
        private bool? __pbn__include_pending;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_GetAuthorizedBorrowers_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        public global::System.Collections.Generic.List<Borrower> borrowers { get; } = new global::System.Collections.Generic.List<Borrower>();

        [global::ProtoBuf.ProtoContract()]
        public partial class Borrower : global::ProtoBuf.IExtensible
        {
            private global::ProtoBuf.IExtension __pbn__extensionData;
            global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
                => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

            [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
            public ulong steamid
            {
                get => __pbn__steamid.GetValueOrDefault();
                set => __pbn__steamid = value;
            }
            public bool ShouldSerializesteamid() => __pbn__steamid != null;
            public void Resetsteamid() => __pbn__steamid = null;
            private ulong? __pbn__steamid;

            [global::ProtoBuf.ProtoMember(2)]
            public bool is_pending
            {
                get => __pbn__is_pending.GetValueOrDefault();
                set => __pbn__is_pending = value;
            }
            public bool ShouldSerializeis_pending() => __pbn__is_pending != null;
            public void Resetis_pending() => __pbn__is_pending = null;
            private bool? __pbn__is_pending;

            [global::ProtoBuf.ProtoMember(3)]
            public bool is_canceled
            {
                get => __pbn__is_canceled.GetValueOrDefault();
                set => __pbn__is_canceled = value;
            }
            public bool ShouldSerializeis_canceled() => __pbn__is_canceled != null;
            public void Resetis_canceled() => __pbn__is_canceled = null;
            private bool? __pbn__is_canceled;

            [global::ProtoBuf.ProtoMember(4)]
            public uint time_created
            {
                get => __pbn__time_created.GetValueOrDefault();
                set => __pbn__time_created = value;
            }
            public bool ShouldSerializetime_created() => __pbn__time_created != null;
            public void Resettime_created() => __pbn__time_created = null;
            private uint? __pbn__time_created;

        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_AddAuthorizedBorrowers_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong steamid
        {
            get => __pbn__steamid.GetValueOrDefault();
            set => __pbn__steamid = value;
        }
        public bool ShouldSerializesteamid() => __pbn__steamid != null;
        public void Resetsteamid() => __pbn__steamid = null;
        private ulong? __pbn__steamid;

        [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public global::System.Collections.Generic.List<ulong> steamid_borrower { get; } = new global::System.Collections.Generic.List<ulong>();

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_AddAuthorizedBorrowers_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        public int seconds_to_wait
        {
            get => __pbn__seconds_to_wait.GetValueOrDefault();
            set => __pbn__seconds_to_wait = value;
        }
        public bool ShouldSerializeseconds_to_wait() => __pbn__seconds_to_wait != null;
        public void Resetseconds_to_wait() => __pbn__seconds_to_wait = null;
        private int? __pbn__seconds_to_wait;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_RemoveAuthorizedBorrowers_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong steamid
        {
            get => __pbn__steamid.GetValueOrDefault();
            set => __pbn__steamid = value;
        }
        public bool ShouldSerializesteamid() => __pbn__steamid != null;
        public void Resetsteamid() => __pbn__steamid = null;
        private ulong? __pbn__steamid;

        [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public global::System.Collections.Generic.List<ulong> steamid_borrower { get; } = new global::System.Collections.Generic.List<ulong>();

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_RemoveAuthorizedBorrowers_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_GetAuthorizedAsBorrower_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong steamid
        {
            get => __pbn__steamid.GetValueOrDefault();
            set => __pbn__steamid = value;
        }
        public bool ShouldSerializesteamid() => __pbn__steamid != null;
        public void Resetsteamid() => __pbn__steamid = null;
        private ulong? __pbn__steamid;

        [global::ProtoBuf.ProtoMember(2)]
        public bool include_canceled
        {
            get => __pbn__include_canceled.GetValueOrDefault();
            set => __pbn__include_canceled = value;
        }
        public bool ShouldSerializeinclude_canceled() => __pbn__include_canceled != null;
        public void Resetinclude_canceled() => __pbn__include_canceled = null;
        private bool? __pbn__include_canceled;

        [global::ProtoBuf.ProtoMember(3)]
        public bool include_pending
        {
            get => __pbn__include_pending.GetValueOrDefault();
            set => __pbn__include_pending = value;
        }
        public bool ShouldSerializeinclude_pending() => __pbn__include_pending != null;
        public void Resetinclude_pending() => __pbn__include_pending = null;
        private bool? __pbn__include_pending;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_GetAuthorizedAsBorrower_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        public global::System.Collections.Generic.List<Lender> lenders { get; } = new global::System.Collections.Generic.List<Lender>();

        [global::ProtoBuf.ProtoContract()]
        public partial class Lender : global::ProtoBuf.IExtensible
        {
            private global::ProtoBuf.IExtension __pbn__extensionData;
            global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
                => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

            [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
            public ulong steamid
            {
                get => __pbn__steamid.GetValueOrDefault();
                set => __pbn__steamid = value;
            }
            public bool ShouldSerializesteamid() => __pbn__steamid != null;
            public void Resetsteamid() => __pbn__steamid = null;
            private ulong? __pbn__steamid;

            [global::ProtoBuf.ProtoMember(2)]
            public uint time_created
            {
                get => __pbn__time_created.GetValueOrDefault();
                set => __pbn__time_created = value;
            }
            public bool ShouldSerializetime_created() => __pbn__time_created != null;
            public void Resettime_created() => __pbn__time_created = null;
            private uint? __pbn__time_created;

            [global::ProtoBuf.ProtoMember(3)]
            public bool is_pending
            {
                get => __pbn__is_pending.GetValueOrDefault();
                set => __pbn__is_pending = value;
            }
            public bool ShouldSerializeis_pending() => __pbn__is_pending != null;
            public void Resetis_pending() => __pbn__is_pending = null;
            private bool? __pbn__is_pending;

            [global::ProtoBuf.ProtoMember(4)]
            public bool is_canceled
            {
                get => __pbn__is_canceled.GetValueOrDefault();
                set => __pbn__is_canceled = value;
            }
            public bool ShouldSerializeis_canceled() => __pbn__is_canceled != null;
            public void Resetis_canceled() => __pbn__is_canceled = null;
            private bool? __pbn__is_canceled;

            [global::ProtoBuf.ProtoMember(5)]
            public bool is_used
            {
                get => __pbn__is_used.GetValueOrDefault();
                set => __pbn__is_used = value;
            }
            public bool ShouldSerializeis_used() => __pbn__is_used != null;
            public void Resetis_used() => __pbn__is_used = null;
            private bool? __pbn__is_used;

            [global::ProtoBuf.ProtoMember(6)]
            public uint time_removed
            {
                get => __pbn__time_removed.GetValueOrDefault();
                set => __pbn__time_removed = value;
            }
            public bool ShouldSerializetime_removed() => __pbn__time_removed != null;
            public void Resettime_removed() => __pbn__time_removed = null;
            private uint? __pbn__time_removed;

            [global::ProtoBuf.ProtoMember(7)]
            public uint time_first
            {
                get => __pbn__time_first.GetValueOrDefault();
                set => __pbn__time_first = value;
            }
            public bool ShouldSerializetime_first() => __pbn__time_first != null;
            public void Resettime_first() => __pbn__time_first = null;
            private uint? __pbn__time_first;

        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_GetExcludedGamesInLibrary_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong steamid
        {
            get => __pbn__steamid.GetValueOrDefault();
            set => __pbn__steamid = value;
        }
        public bool ShouldSerializesteamid() => __pbn__steamid != null;
        public void Resetsteamid() => __pbn__steamid = null;
        private ulong? __pbn__steamid;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_GetExcludedGamesInLibrary_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        public global::System.Collections.Generic.List<ExcludedGame> excluded_games { get; } = new global::System.Collections.Generic.List<ExcludedGame>();

        [global::ProtoBuf.ProtoContract()]
        public partial class ExcludedGame : global::ProtoBuf.IExtensible
        {
            private global::ProtoBuf.IExtension __pbn__extensionData;
            global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
                => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

            [global::ProtoBuf.ProtoMember(1)]
            public uint appid
            {
                get => __pbn__appid.GetValueOrDefault();
                set => __pbn__appid = value;
            }
            public bool ShouldSerializeappid() => __pbn__appid != null;
            public void Resetappid() => __pbn__appid = null;
            private uint? __pbn__appid;

            [global::ProtoBuf.ProtoMember(2)]
            [global::System.ComponentModel.DefaultValue("")]
            public string game_name
            {
                get => __pbn__game_name ?? "";
                set => __pbn__game_name = value;
            }
            public bool ShouldSerializegame_name() => __pbn__game_name != null;
            public void Resetgame_name() => __pbn__game_name = null;
            private string __pbn__game_name;

            [global::ProtoBuf.ProtoMember(3)]
            public bool vac_banned
            {
                get => __pbn__vac_banned.GetValueOrDefault();
                set => __pbn__vac_banned = value;
            }
            public bool ShouldSerializevac_banned() => __pbn__vac_banned != null;
            public void Resetvac_banned() => __pbn__vac_banned = null;
            private bool? __pbn__vac_banned;

            [global::ProtoBuf.ProtoMember(4)]
            public bool package_excluded
            {
                get => __pbn__package_excluded.GetValueOrDefault();
                set => __pbn__package_excluded = value;
            }
            public bool ShouldSerializepackage_excluded() => __pbn__package_excluded != null;
            public void Resetpackage_excluded() => __pbn__package_excluded = null;
            private bool? __pbn__package_excluded;

        }

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_GetBorrowerPlayHistory_Request : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong steamid
        {
            get => __pbn__steamid.GetValueOrDefault();
            set => __pbn__steamid = value;
        }
        public bool ShouldSerializesteamid() => __pbn__steamid != null;
        public void Resetsteamid() => __pbn__steamid = null;
        private ulong? __pbn__steamid;

        [global::ProtoBuf.ProtoMember(2)]
        public uint appid
        {
            get => __pbn__appid.GetValueOrDefault();
            set => __pbn__appid = value;
        }
        public bool ShouldSerializeappid() => __pbn__appid != null;
        public void Resetappid() => __pbn__appid = null;
        private uint? __pbn__appid;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CDeviceAuth_GetBorrowerPlayHistory_Response : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        public global::System.Collections.Generic.List<LenderHistory> lender_history { get; } = new global::System.Collections.Generic.List<LenderHistory>();

        [global::ProtoBuf.ProtoContract()]
        public partial class GameHistory : global::ProtoBuf.IExtensible
        {
            private global::ProtoBuf.IExtension __pbn__extensionData;
            global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
                => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

            [global::ProtoBuf.ProtoMember(1)]
            public uint appid
            {
                get => __pbn__appid.GetValueOrDefault();
                set => __pbn__appid = value;
            }
            public bool ShouldSerializeappid() => __pbn__appid != null;
            public void Resetappid() => __pbn__appid = null;
            private uint? __pbn__appid;

            [global::ProtoBuf.ProtoMember(2)]
            public uint time_last
            {
                get => __pbn__time_last.GetValueOrDefault();
                set => __pbn__time_last = value;
            }
            public bool ShouldSerializetime_last() => __pbn__time_last != null;
            public void Resettime_last() => __pbn__time_last = null;
            private uint? __pbn__time_last;

            [global::ProtoBuf.ProtoMember(3)]
            public uint time_total
            {
                get => __pbn__time_total.GetValueOrDefault();
                set => __pbn__time_total = value;
            }
            public bool ShouldSerializetime_total() => __pbn__time_total != null;
            public void Resettime_total() => __pbn__time_total = null;
            private uint? __pbn__time_total;

        }

        [global::ProtoBuf.ProtoContract()]
        public partial class LenderHistory : global::ProtoBuf.IExtensible
        {
            private global::ProtoBuf.IExtension __pbn__extensionData;
            global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
                => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

            [global::ProtoBuf.ProtoMember(1, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
            public ulong steamid
            {
                get => __pbn__steamid.GetValueOrDefault();
                set => __pbn__steamid = value;
            }
            public bool ShouldSerializesteamid() => __pbn__steamid != null;
            public void Resetsteamid() => __pbn__steamid = null;
            private ulong? __pbn__steamid;

            [global::ProtoBuf.ProtoMember(2)]
            public global::System.Collections.Generic.List<CDeviceAuth_GetBorrowerPlayHistory_Response.GameHistory> game_history { get; } = new global::System.Collections.Generic.List<CDeviceAuth_GetBorrowerPlayHistory_Response.GameHistory>();

        }

    }

    public class DeviceAuth : SteamUnifiedMessages.UnifiedService
    {
        public override string ServiceName { get; } = "DeviceAuth";

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CDeviceAuth_GetOwnAuthorizedDevices_Response>> GetOwnAuthorizedDevices( CDeviceAuth_GetOwnAuthorizedDevices_Request request )
        {
            return UnifiedMessages.SendMessage<CDeviceAuth_GetOwnAuthorizedDevices_Request, CDeviceAuth_GetOwnAuthorizedDevices_Response>( "DeviceAuth.GetOwnAuthorizedDevices#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CDeviceAuth_AcceptAuthorizationRequest_Response>> AcceptAuthorizationRequest( CDeviceAuth_AcceptAuthorizationRequest_Request request )
        {
            return UnifiedMessages.SendMessage<CDeviceAuth_AcceptAuthorizationRequest_Request, CDeviceAuth_AcceptAuthorizationRequest_Response>( "DeviceAuth.AcceptAuthorizationRequest#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CDeviceAuth_AuthorizeRemoteDevice_Response>> AuthorizeRemoteDevice( CDeviceAuth_AuthorizeRemoteDevice_Request request )
        {
            return UnifiedMessages.SendMessage<CDeviceAuth_AuthorizeRemoteDevice_Request, CDeviceAuth_AuthorizeRemoteDevice_Response>( "DeviceAuth.AuthorizeRemoteDevice#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CDeviceAuth_DeauthorizeRemoteDevice_Response>> DeauthorizeRemoteDevice( CDeviceAuth_DeauthorizeRemoteDevice_Request request )
        {
            return UnifiedMessages.SendMessage<CDeviceAuth_DeauthorizeRemoteDevice_Request, CDeviceAuth_DeauthorizeRemoteDevice_Response>( "DeviceAuth.DeauthorizeRemoteDevice#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CDeviceAuth_GetUsedAuthorizedDevices_Response>> GetUsedAuthorizedDevices( CDeviceAuth_GetUsedAuthorizedDevices_Request request )
        {
            return UnifiedMessages.SendMessage<CDeviceAuth_GetUsedAuthorizedDevices_Request, CDeviceAuth_GetUsedAuthorizedDevices_Response>( "DeviceAuth.GetUsedAuthorizedDevices#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CDeviceAuth_GetAuthorizedBorrowers_Response>> GetAuthorizedBorrowers( CDeviceAuth_GetAuthorizedBorrowers_Request request )
        {
            return UnifiedMessages.SendMessage<CDeviceAuth_GetAuthorizedBorrowers_Request, CDeviceAuth_GetAuthorizedBorrowers_Response>( "DeviceAuth.GetAuthorizedBorrowers#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CDeviceAuth_AddAuthorizedBorrowers_Response>> AddAuthorizedBorrowers( CDeviceAuth_AddAuthorizedBorrowers_Request request )
        {
            return UnifiedMessages.SendMessage<CDeviceAuth_AddAuthorizedBorrowers_Request, CDeviceAuth_AddAuthorizedBorrowers_Response>( "DeviceAuth.AddAuthorizedBorrowers#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CDeviceAuth_RemoveAuthorizedBorrowers_Response>> RemoveAuthorizedBorrowers( CDeviceAuth_RemoveAuthorizedBorrowers_Request request )
        {
            return UnifiedMessages.SendMessage<CDeviceAuth_RemoveAuthorizedBorrowers_Request, CDeviceAuth_RemoveAuthorizedBorrowers_Response>( "DeviceAuth.RemoveAuthorizedBorrowers#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CDeviceAuth_GetAuthorizedAsBorrower_Response>> GetAuthorizedAsBorrower( CDeviceAuth_GetAuthorizedAsBorrower_Request request )
        {
            return UnifiedMessages.SendMessage<CDeviceAuth_GetAuthorizedAsBorrower_Request, CDeviceAuth_GetAuthorizedAsBorrower_Response>( "DeviceAuth.GetAuthorizedAsBorrower#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CDeviceAuth_GetExcludedGamesInLibrary_Response>> GetExcludedGamesInLibrary( CDeviceAuth_GetExcludedGamesInLibrary_Request request )
        {
            return UnifiedMessages.SendMessage<CDeviceAuth_GetExcludedGamesInLibrary_Request, CDeviceAuth_GetExcludedGamesInLibrary_Response>( "DeviceAuth.GetExcludedGamesInLibrary#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CDeviceAuth_GetBorrowerPlayHistory_Response>> GetBorrowerPlayHistory( CDeviceAuth_GetBorrowerPlayHistory_Request request )
        {
            return UnifiedMessages.SendMessage<CDeviceAuth_GetBorrowerPlayHistory_Request, CDeviceAuth_GetBorrowerPlayHistory_Response>( "DeviceAuth.GetBorrowerPlayHistory#1", request );
        }

        public override void HandleResponseMsg( string methodName, PacketClientMsgProtobuf packetMsg )
        {
            switch ( methodName )
            {
                case "GetOwnAuthorizedDevices":
                    PostResponseMsg<CDeviceAuth_GetOwnAuthorizedDevices_Response>( packetMsg );
                    break;
                case "AcceptAuthorizationRequest":
                    PostResponseMsg<CDeviceAuth_AcceptAuthorizationRequest_Response>( packetMsg );
                    break;
                case "AuthorizeRemoteDevice":
                    PostResponseMsg<CDeviceAuth_AuthorizeRemoteDevice_Response>( packetMsg );
                    break;
                case "DeauthorizeRemoteDevice":
                    PostResponseMsg<CDeviceAuth_DeauthorizeRemoteDevice_Response>( packetMsg );
                    break;
                case "GetUsedAuthorizedDevices":
                    PostResponseMsg<CDeviceAuth_GetUsedAuthorizedDevices_Response>( packetMsg );
                    break;
                case "GetAuthorizedBorrowers":
                    PostResponseMsg<CDeviceAuth_GetAuthorizedBorrowers_Response>( packetMsg );
                    break;
                case "AddAuthorizedBorrowers":
                    PostResponseMsg<CDeviceAuth_AddAuthorizedBorrowers_Response>( packetMsg );
                    break;
                case "RemoveAuthorizedBorrowers":
                    PostResponseMsg<CDeviceAuth_RemoveAuthorizedBorrowers_Response>( packetMsg );
                    break;
                case "GetAuthorizedAsBorrower":
                    PostResponseMsg<CDeviceAuth_GetAuthorizedAsBorrower_Response>( packetMsg );
                    break;
                case "GetExcludedGamesInLibrary":
                    PostResponseMsg<CDeviceAuth_GetExcludedGamesInLibrary_Response>( packetMsg );
                    break;
                case "GetBorrowerPlayHistory":
                    PostResponseMsg<CDeviceAuth_GetBorrowerPlayHistory_Response>( packetMsg );
                    break;
            }
        }

        public override void HandleNotificationMsg( string methodName, PacketClientMsgProtobuf packetMsg )
        {
        }
    }

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
