// <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_twofactor.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 CTwoFactor_Time_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)]
        public ulong sender_time
        {
            get => __pbn__sender_time.GetValueOrDefault();
            set => __pbn__sender_time = value;
        }
        public bool ShouldSerializesender_time() => __pbn__sender_time != null;
        public void Resetsender_time() => __pbn__sender_time = null;
        private ulong? __pbn__sender_time;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CTwoFactor_Time_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 ulong server_time
        {
            get => __pbn__server_time.GetValueOrDefault();
            set => __pbn__server_time = value;
        }
        public bool ShouldSerializeserver_time() => __pbn__server_time != null;
        public void Resetserver_time() => __pbn__server_time = null;
        private ulong? __pbn__server_time;

        [global::ProtoBuf.ProtoMember(2)]
        public ulong skew_tolerance_seconds
        {
            get => __pbn__skew_tolerance_seconds.GetValueOrDefault();
            set => __pbn__skew_tolerance_seconds = value;
        }
        public bool ShouldSerializeskew_tolerance_seconds() => __pbn__skew_tolerance_seconds != null;
        public void Resetskew_tolerance_seconds() => __pbn__skew_tolerance_seconds = null;
        private ulong? __pbn__skew_tolerance_seconds;

        [global::ProtoBuf.ProtoMember(3)]
        public ulong large_time_jink
        {
            get => __pbn__large_time_jink.GetValueOrDefault();
            set => __pbn__large_time_jink = value;
        }
        public bool ShouldSerializelarge_time_jink() => __pbn__large_time_jink != null;
        public void Resetlarge_time_jink() => __pbn__large_time_jink = null;
        private ulong? __pbn__large_time_jink;

        [global::ProtoBuf.ProtoMember(4)]
        public uint probe_frequency_seconds
        {
            get => __pbn__probe_frequency_seconds.GetValueOrDefault();
            set => __pbn__probe_frequency_seconds = value;
        }
        public bool ShouldSerializeprobe_frequency_seconds() => __pbn__probe_frequency_seconds != null;
        public void Resetprobe_frequency_seconds() => __pbn__probe_frequency_seconds = null;
        private uint? __pbn__probe_frequency_seconds;

        [global::ProtoBuf.ProtoMember(5)]
        public uint adjusted_time_probe_frequency_seconds
        {
            get => __pbn__adjusted_time_probe_frequency_seconds.GetValueOrDefault();
            set => __pbn__adjusted_time_probe_frequency_seconds = value;
        }
        public bool ShouldSerializeadjusted_time_probe_frequency_seconds() => __pbn__adjusted_time_probe_frequency_seconds != null;
        public void Resetadjusted_time_probe_frequency_seconds() => __pbn__adjusted_time_probe_frequency_seconds = null;
        private uint? __pbn__adjusted_time_probe_frequency_seconds;

        [global::ProtoBuf.ProtoMember(6)]
        public uint hint_probe_frequency_seconds
        {
            get => __pbn__hint_probe_frequency_seconds.GetValueOrDefault();
            set => __pbn__hint_probe_frequency_seconds = value;
        }
        public bool ShouldSerializehint_probe_frequency_seconds() => __pbn__hint_probe_frequency_seconds != null;
        public void Resethint_probe_frequency_seconds() => __pbn__hint_probe_frequency_seconds = null;
        private uint? __pbn__hint_probe_frequency_seconds;

        [global::ProtoBuf.ProtoMember(7)]
        public uint sync_timeout
        {
            get => __pbn__sync_timeout.GetValueOrDefault();
            set => __pbn__sync_timeout = value;
        }
        public bool ShouldSerializesync_timeout() => __pbn__sync_timeout != null;
        public void Resetsync_timeout() => __pbn__sync_timeout = null;
        private uint? __pbn__sync_timeout;

        [global::ProtoBuf.ProtoMember(8)]
        public uint try_again_seconds
        {
            get => __pbn__try_again_seconds.GetValueOrDefault();
            set => __pbn__try_again_seconds = value;
        }
        public bool ShouldSerializetry_again_seconds() => __pbn__try_again_seconds != null;
        public void Resettry_again_seconds() => __pbn__try_again_seconds = null;
        private uint? __pbn__try_again_seconds;

        [global::ProtoBuf.ProtoMember(9)]
        public uint max_attempts
        {
            get => __pbn__max_attempts.GetValueOrDefault();
            set => __pbn__max_attempts = value;
        }
        public bool ShouldSerializemax_attempts() => __pbn__max_attempts != null;
        public void Resetmax_attempts() => __pbn__max_attempts = null;
        private uint? __pbn__max_attempts;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CTwoFactor_Status_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 CTwoFactor_Status_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 uint state
        {
            get => __pbn__state.GetValueOrDefault();
            set => __pbn__state = value;
        }
        public bool ShouldSerializestate() => __pbn__state != null;
        public void Resetstate() => __pbn__state = null;
        private uint? __pbn__state;

        [global::ProtoBuf.ProtoMember(2)]
        public uint inactivation_reason
        {
            get => __pbn__inactivation_reason.GetValueOrDefault();
            set => __pbn__inactivation_reason = value;
        }
        public bool ShouldSerializeinactivation_reason() => __pbn__inactivation_reason != null;
        public void Resetinactivation_reason() => __pbn__inactivation_reason = null;
        private uint? __pbn__inactivation_reason;

        [global::ProtoBuf.ProtoMember(3)]
        public uint authenticator_type
        {
            get => __pbn__authenticator_type.GetValueOrDefault();
            set => __pbn__authenticator_type = value;
        }
        public bool ShouldSerializeauthenticator_type() => __pbn__authenticator_type != null;
        public void Resetauthenticator_type() => __pbn__authenticator_type = null;
        private uint? __pbn__authenticator_type;

        [global::ProtoBuf.ProtoMember(4)]
        public bool authenticator_allowed
        {
            get => __pbn__authenticator_allowed.GetValueOrDefault();
            set => __pbn__authenticator_allowed = value;
        }
        public bool ShouldSerializeauthenticator_allowed() => __pbn__authenticator_allowed != null;
        public void Resetauthenticator_allowed() => __pbn__authenticator_allowed = null;
        private bool? __pbn__authenticator_allowed;

        [global::ProtoBuf.ProtoMember(5)]
        public uint steamguard_scheme
        {
            get => __pbn__steamguard_scheme.GetValueOrDefault();
            set => __pbn__steamguard_scheme = value;
        }
        public bool ShouldSerializesteamguard_scheme() => __pbn__steamguard_scheme != null;
        public void Resetsteamguard_scheme() => __pbn__steamguard_scheme = null;
        private uint? __pbn__steamguard_scheme;

        [global::ProtoBuf.ProtoMember(6)]
        [global::System.ComponentModel.DefaultValue("")]
        public string token_gid
        {
            get => __pbn__token_gid ?? "";
            set => __pbn__token_gid = value;
        }
        public bool ShouldSerializetoken_gid() => __pbn__token_gid != null;
        public void Resettoken_gid() => __pbn__token_gid = null;
        private string __pbn__token_gid;

        [global::ProtoBuf.ProtoMember(7)]
        public bool email_validated
        {
            get => __pbn__email_validated.GetValueOrDefault();
            set => __pbn__email_validated = value;
        }
        public bool ShouldSerializeemail_validated() => __pbn__email_validated != null;
        public void Resetemail_validated() => __pbn__email_validated = null;
        private bool? __pbn__email_validated;

        [global::ProtoBuf.ProtoMember(8)]
        [global::System.ComponentModel.DefaultValue("")]
        public string device_identifier
        {
            get => __pbn__device_identifier ?? "";
            set => __pbn__device_identifier = value;
        }
        public bool ShouldSerializedevice_identifier() => __pbn__device_identifier != null;
        public void Resetdevice_identifier() => __pbn__device_identifier = null;
        private string __pbn__device_identifier;

        [global::ProtoBuf.ProtoMember(9)]
        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(10)]
        public uint revocation_attempts_remaining
        {
            get => __pbn__revocation_attempts_remaining.GetValueOrDefault();
            set => __pbn__revocation_attempts_remaining = value;
        }
        public bool ShouldSerializerevocation_attempts_remaining() => __pbn__revocation_attempts_remaining != null;
        public void Resetrevocation_attempts_remaining() => __pbn__revocation_attempts_remaining = null;
        private uint? __pbn__revocation_attempts_remaining;

        [global::ProtoBuf.ProtoMember(11)]
        [global::System.ComponentModel.DefaultValue("")]
        public string classified_agent
        {
            get => __pbn__classified_agent ?? "";
            set => __pbn__classified_agent = value;
        }
        public bool ShouldSerializeclassified_agent() => __pbn__classified_agent != null;
        public void Resetclassified_agent() => __pbn__classified_agent = null;
        private string __pbn__classified_agent;

        [global::ProtoBuf.ProtoMember(12)]
        public bool allow_external_authenticator
        {
            get => __pbn__allow_external_authenticator.GetValueOrDefault();
            set => __pbn__allow_external_authenticator = value;
        }
        public bool ShouldSerializeallow_external_authenticator() => __pbn__allow_external_authenticator != null;
        public void Resetallow_external_authenticator() => __pbn__allow_external_authenticator = null;
        private bool? __pbn__allow_external_authenticator;

        [global::ProtoBuf.ProtoMember(13)]
        public uint time_transferred
        {
            get => __pbn__time_transferred.GetValueOrDefault();
            set => __pbn__time_transferred = value;
        }
        public bool ShouldSerializetime_transferred() => __pbn__time_transferred != null;
        public void Resettime_transferred() => __pbn__time_transferred = null;
        private uint? __pbn__time_transferred;

        [global::ProtoBuf.ProtoMember(14)]
        public uint version
        {
            get => __pbn__version.GetValueOrDefault();
            set => __pbn__version = value;
        }
        public bool ShouldSerializeversion() => __pbn__version != null;
        public void Resetversion() => __pbn__version = null;
        private uint? __pbn__version;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CTwoFactor_AddAuthenticator_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 ulong authenticator_time
        {
            get => __pbn__authenticator_time.GetValueOrDefault();
            set => __pbn__authenticator_time = value;
        }
        public bool ShouldSerializeauthenticator_time() => __pbn__authenticator_time != null;
        public void Resetauthenticator_time() => __pbn__authenticator_time = null;
        private ulong? __pbn__authenticator_time;

        [global::ProtoBuf.ProtoMember(3, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong serial_number
        {
            get => __pbn__serial_number.GetValueOrDefault();
            set => __pbn__serial_number = value;
        }
        public bool ShouldSerializeserial_number() => __pbn__serial_number != null;
        public void Resetserial_number() => __pbn__serial_number = null;
        private ulong? __pbn__serial_number;

        [global::ProtoBuf.ProtoMember(4)]
        public uint authenticator_type
        {
            get => __pbn__authenticator_type.GetValueOrDefault();
            set => __pbn__authenticator_type = value;
        }
        public bool ShouldSerializeauthenticator_type() => __pbn__authenticator_type != null;
        public void Resetauthenticator_type() => __pbn__authenticator_type = null;
        private uint? __pbn__authenticator_type;

        [global::ProtoBuf.ProtoMember(5)]
        [global::System.ComponentModel.DefaultValue("")]
        public string device_identifier
        {
            get => __pbn__device_identifier ?? "";
            set => __pbn__device_identifier = value;
        }
        public bool ShouldSerializedevice_identifier() => __pbn__device_identifier != null;
        public void Resetdevice_identifier() => __pbn__device_identifier = null;
        private string __pbn__device_identifier;

        [global::ProtoBuf.ProtoMember(7)]
        public global::System.Collections.Generic.List<string> http_headers { get; } = new global::System.Collections.Generic.List<string>();

        [global::ProtoBuf.ProtoMember(8)]
        [global::System.ComponentModel.DefaultValue(1u)]
        public uint version
        {
            get => __pbn__version ?? 1u;
            set => __pbn__version = value;
        }
        public bool ShouldSerializeversion() => __pbn__version != null;
        public void Resetversion() => __pbn__version = null;
        private uint? __pbn__version;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CTwoFactor_AddAuthenticator_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 byte[] shared_secret
        {
            get => __pbn__shared_secret;
            set => __pbn__shared_secret = value;
        }
        public bool ShouldSerializeshared_secret() => __pbn__shared_secret != null;
        public void Resetshared_secret() => __pbn__shared_secret = null;
        private byte[] __pbn__shared_secret;

        [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong serial_number
        {
            get => __pbn__serial_number.GetValueOrDefault();
            set => __pbn__serial_number = value;
        }
        public bool ShouldSerializeserial_number() => __pbn__serial_number != null;
        public void Resetserial_number() => __pbn__serial_number = null;
        private ulong? __pbn__serial_number;

        [global::ProtoBuf.ProtoMember(3)]
        [global::System.ComponentModel.DefaultValue("")]
        public string revocation_code
        {
            get => __pbn__revocation_code ?? "";
            set => __pbn__revocation_code = value;
        }
        public bool ShouldSerializerevocation_code() => __pbn__revocation_code != null;
        public void Resetrevocation_code() => __pbn__revocation_code = null;
        private string __pbn__revocation_code;

        [global::ProtoBuf.ProtoMember(4)]
        [global::System.ComponentModel.DefaultValue("")]
        public string uri
        {
            get => __pbn__uri ?? "";
            set => __pbn__uri = value;
        }
        public bool ShouldSerializeuri() => __pbn__uri != null;
        public void Reseturi() => __pbn__uri = null;
        private string __pbn__uri;

        [global::ProtoBuf.ProtoMember(5)]
        public ulong server_time
        {
            get => __pbn__server_time.GetValueOrDefault();
            set => __pbn__server_time = value;
        }
        public bool ShouldSerializeserver_time() => __pbn__server_time != null;
        public void Resetserver_time() => __pbn__server_time = null;
        private ulong? __pbn__server_time;

        [global::ProtoBuf.ProtoMember(6)]
        [global::System.ComponentModel.DefaultValue("")]
        public string account_name
        {
            get => __pbn__account_name ?? "";
            set => __pbn__account_name = value;
        }
        public bool ShouldSerializeaccount_name() => __pbn__account_name != null;
        public void Resetaccount_name() => __pbn__account_name = null;
        private string __pbn__account_name;

        [global::ProtoBuf.ProtoMember(7)]
        [global::System.ComponentModel.DefaultValue("")]
        public string token_gid
        {
            get => __pbn__token_gid ?? "";
            set => __pbn__token_gid = value;
        }
        public bool ShouldSerializetoken_gid() => __pbn__token_gid != null;
        public void Resettoken_gid() => __pbn__token_gid = null;
        private string __pbn__token_gid;

        [global::ProtoBuf.ProtoMember(8)]
        public byte[] identity_secret
        {
            get => __pbn__identity_secret;
            set => __pbn__identity_secret = value;
        }
        public bool ShouldSerializeidentity_secret() => __pbn__identity_secret != null;
        public void Resetidentity_secret() => __pbn__identity_secret = null;
        private byte[] __pbn__identity_secret;

        [global::ProtoBuf.ProtoMember(9)]
        public byte[] secret_1
        {
            get => __pbn__secret_1;
            set => __pbn__secret_1 = value;
        }
        public bool ShouldSerializesecret_1() => __pbn__secret_1 != null;
        public void Resetsecret_1() => __pbn__secret_1 = null;
        private byte[] __pbn__secret_1;

        [global::ProtoBuf.ProtoMember(10)]
        public int status
        {
            get => __pbn__status.GetValueOrDefault();
            set => __pbn__status = value;
        }
        public bool ShouldSerializestatus() => __pbn__status != null;
        public void Resetstatus() => __pbn__status = null;
        private int? __pbn__status;

        [global::ProtoBuf.ProtoMember(11)]
        [global::System.ComponentModel.DefaultValue("")]
        public string phone_number_hint
        {
            get => __pbn__phone_number_hint ?? "";
            set => __pbn__phone_number_hint = value;
        }
        public bool ShouldSerializephone_number_hint() => __pbn__phone_number_hint != null;
        public void Resetphone_number_hint() => __pbn__phone_number_hint = null;
        private string __pbn__phone_number_hint;

        [global::ProtoBuf.ProtoMember(12)]
        public int confirm_type
        {
            get => __pbn__confirm_type.GetValueOrDefault();
            set => __pbn__confirm_type = value;
        }
        public bool ShouldSerializeconfirm_type() => __pbn__confirm_type != null;
        public void Resetconfirm_type() => __pbn__confirm_type = null;
        private int? __pbn__confirm_type;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CTwoFactor_SendEmail_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 email_type
        {
            get => __pbn__email_type.GetValueOrDefault();
            set => __pbn__email_type = value;
        }
        public bool ShouldSerializeemail_type() => __pbn__email_type != null;
        public void Resetemail_type() => __pbn__email_type = null;
        private uint? __pbn__email_type;

        [global::ProtoBuf.ProtoMember(3)]
        public bool include_activation_code
        {
            get => __pbn__include_activation_code.GetValueOrDefault();
            set => __pbn__include_activation_code = value;
        }
        public bool ShouldSerializeinclude_activation_code() => __pbn__include_activation_code != null;
        public void Resetinclude_activation_code() => __pbn__include_activation_code = null;
        private bool? __pbn__include_activation_code;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CTwoFactor_SendEmail_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 CTwoFactor_FinalizeAddAuthenticator_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)]
        [global::System.ComponentModel.DefaultValue("")]
        public string authenticator_code
        {
            get => __pbn__authenticator_code ?? "";
            set => __pbn__authenticator_code = value;
        }
        public bool ShouldSerializeauthenticator_code() => __pbn__authenticator_code != null;
        public void Resetauthenticator_code() => __pbn__authenticator_code = null;
        private string __pbn__authenticator_code;

        [global::ProtoBuf.ProtoMember(3)]
        public ulong authenticator_time
        {
            get => __pbn__authenticator_time.GetValueOrDefault();
            set => __pbn__authenticator_time = value;
        }
        public bool ShouldSerializeauthenticator_time() => __pbn__authenticator_time != null;
        public void Resetauthenticator_time() => __pbn__authenticator_time = null;
        private ulong? __pbn__authenticator_time;

        [global::ProtoBuf.ProtoMember(4)]
        [global::System.ComponentModel.DefaultValue("")]
        public string activation_code
        {
            get => __pbn__activation_code ?? "";
            set => __pbn__activation_code = value;
        }
        public bool ShouldSerializeactivation_code() => __pbn__activation_code != null;
        public void Resetactivation_code() => __pbn__activation_code = null;
        private string __pbn__activation_code;

        [global::ProtoBuf.ProtoMember(5)]
        public global::System.Collections.Generic.List<string> http_headers { get; } = new global::System.Collections.Generic.List<string>();

        [global::ProtoBuf.ProtoMember(6)]
        public bool validate_sms_code
        {
            get => __pbn__validate_sms_code.GetValueOrDefault();
            set => __pbn__validate_sms_code = value;
        }
        public bool ShouldSerializevalidate_sms_code() => __pbn__validate_sms_code != null;
        public void Resetvalidate_sms_code() => __pbn__validate_sms_code = null;
        private bool? __pbn__validate_sms_code;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CTwoFactor_FinalizeAddAuthenticator_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 bool success
        {
            get => __pbn__success.GetValueOrDefault();
            set => __pbn__success = value;
        }
        public bool ShouldSerializesuccess() => __pbn__success != null;
        public void Resetsuccess() => __pbn__success = null;
        private bool? __pbn__success;

        [global::ProtoBuf.ProtoMember(3)]
        public ulong server_time
        {
            get => __pbn__server_time.GetValueOrDefault();
            set => __pbn__server_time = value;
        }
        public bool ShouldSerializeserver_time() => __pbn__server_time != null;
        public void Resetserver_time() => __pbn__server_time = null;
        private ulong? __pbn__server_time;

        [global::ProtoBuf.ProtoMember(4)]
        public int status
        {
            get => __pbn__status.GetValueOrDefault();
            set => __pbn__status = value;
        }
        public bool ShouldSerializestatus() => __pbn__status != null;
        public void Resetstatus() => __pbn__status = null;
        private int? __pbn__status;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CTwoFactor_UpdateTokenVersion_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 version
        {
            get => __pbn__version.GetValueOrDefault();
            set => __pbn__version = value;
        }
        public bool ShouldSerializeversion() => __pbn__version != null;
        public void Resetversion() => __pbn__version = null;
        private uint? __pbn__version;

        [global::ProtoBuf.ProtoMember(3)]
        public byte[] signature
        {
            get => __pbn__signature;
            set => __pbn__signature = value;
        }
        public bool ShouldSerializesignature() => __pbn__signature != null;
        public void Resetsignature() => __pbn__signature = null;
        private byte[] __pbn__signature;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CTwoFactor_UpdateTokenVersion_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 CTwoFactor_RemoveAuthenticator_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(2)]
        [global::System.ComponentModel.DefaultValue("")]
        public string revocation_code
        {
            get => __pbn__revocation_code ?? "";
            set => __pbn__revocation_code = value;
        }
        public bool ShouldSerializerevocation_code() => __pbn__revocation_code != null;
        public void Resetrevocation_code() => __pbn__revocation_code = null;
        private string __pbn__revocation_code;

        [global::ProtoBuf.ProtoMember(5)]
        public uint revocation_reason
        {
            get => __pbn__revocation_reason.GetValueOrDefault();
            set => __pbn__revocation_reason = value;
        }
        public bool ShouldSerializerevocation_reason() => __pbn__revocation_reason != null;
        public void Resetrevocation_reason() => __pbn__revocation_reason = null;
        private uint? __pbn__revocation_reason;

        [global::ProtoBuf.ProtoMember(6)]
        public uint steamguard_scheme
        {
            get => __pbn__steamguard_scheme.GetValueOrDefault();
            set => __pbn__steamguard_scheme = value;
        }
        public bool ShouldSerializesteamguard_scheme() => __pbn__steamguard_scheme != null;
        public void Resetsteamguard_scheme() => __pbn__steamguard_scheme = null;
        private uint? __pbn__steamguard_scheme;

        [global::ProtoBuf.ProtoMember(7)]
        public bool remove_all_steamguard_cookies
        {
            get => __pbn__remove_all_steamguard_cookies.GetValueOrDefault();
            set => __pbn__remove_all_steamguard_cookies = value;
        }
        public bool ShouldSerializeremove_all_steamguard_cookies() => __pbn__remove_all_steamguard_cookies != null;
        public void Resetremove_all_steamguard_cookies() => __pbn__remove_all_steamguard_cookies = null;
        private bool? __pbn__remove_all_steamguard_cookies;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CTwoFactor_RemoveAuthenticator_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 bool success
        {
            get => __pbn__success.GetValueOrDefault();
            set => __pbn__success = value;
        }
        public bool ShouldSerializesuccess() => __pbn__success != null;
        public void Resetsuccess() => __pbn__success = null;
        private bool? __pbn__success;

        [global::ProtoBuf.ProtoMember(3)]
        public ulong server_time
        {
            get => __pbn__server_time.GetValueOrDefault();
            set => __pbn__server_time = value;
        }
        public bool ShouldSerializeserver_time() => __pbn__server_time != null;
        public void Resetserver_time() => __pbn__server_time = null;
        private ulong? __pbn__server_time;

        [global::ProtoBuf.ProtoMember(5)]
        public uint revocation_attempts_remaining
        {
            get => __pbn__revocation_attempts_remaining.GetValueOrDefault();
            set => __pbn__revocation_attempts_remaining = value;
        }
        public bool ShouldSerializerevocation_attempts_remaining() => __pbn__revocation_attempts_remaining != null;
        public void Resetrevocation_attempts_remaining() => __pbn__revocation_attempts_remaining = null;
        private uint? __pbn__revocation_attempts_remaining;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CTwoFactor_RemoveAuthenticatorViaChallengeStart_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.ProtoContract()]
    public partial class CTwoFactor_RemoveAuthenticatorViaChallengeStart_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 bool success
        {
            get => __pbn__success.GetValueOrDefault();
            set => __pbn__success = value;
        }
        public bool ShouldSerializesuccess() => __pbn__success != null;
        public void Resetsuccess() => __pbn__success = null;
        private bool? __pbn__success;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CTwoFactor_RemoveAuthenticatorViaChallengeContinue_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)]
        [global::System.ComponentModel.DefaultValue("")]
        public string sms_code
        {
            get => __pbn__sms_code ?? "";
            set => __pbn__sms_code = value;
        }
        public bool ShouldSerializesms_code() => __pbn__sms_code != null;
        public void Resetsms_code() => __pbn__sms_code = null;
        private string __pbn__sms_code;

        [global::ProtoBuf.ProtoMember(2)]
        public bool generate_new_token
        {
            get => __pbn__generate_new_token.GetValueOrDefault();
            set => __pbn__generate_new_token = value;
        }
        public bool ShouldSerializegenerate_new_token() => __pbn__generate_new_token != null;
        public void Resetgenerate_new_token() => __pbn__generate_new_token = null;
        private bool? __pbn__generate_new_token;

        [global::ProtoBuf.ProtoMember(3)]
        [global::System.ComponentModel.DefaultValue(1u)]
        public uint version
        {
            get => __pbn__version ?? 1u;
            set => __pbn__version = value;
        }
        public bool ShouldSerializeversion() => __pbn__version != null;
        public void Resetversion() => __pbn__version = null;
        private uint? __pbn__version;

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class CRemoveAuthenticatorViaChallengeContinue_Replacement_Token : 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 byte[] shared_secret
        {
            get => __pbn__shared_secret;
            set => __pbn__shared_secret = value;
        }
        public bool ShouldSerializeshared_secret() => __pbn__shared_secret != null;
        public void Resetshared_secret() => __pbn__shared_secret = null;
        private byte[] __pbn__shared_secret;

        [global::ProtoBuf.ProtoMember(2, DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
        public ulong serial_number
        {
            get => __pbn__serial_number.GetValueOrDefault();
            set => __pbn__serial_number = value;
        }
        public bool ShouldSerializeserial_number() => __pbn__serial_number != null;
        public void Resetserial_number() => __pbn__serial_number = null;
        private ulong? __pbn__serial_number;

        [global::ProtoBuf.ProtoMember(3)]
        [global::System.ComponentModel.DefaultValue("")]
        public string revocation_code
        {
            get => __pbn__revocation_code ?? "";
            set => __pbn__revocation_code = value;
        }
        public bool ShouldSerializerevocation_code() => __pbn__revocation_code != null;
        public void Resetrevocation_code() => __pbn__revocation_code = null;
        private string __pbn__revocation_code;

        [global::ProtoBuf.ProtoMember(4)]
        [global::System.ComponentModel.DefaultValue("")]
        public string uri
        {
            get => __pbn__uri ?? "";
            set => __pbn__uri = value;
        }
        public bool ShouldSerializeuri() => __pbn__uri != null;
        public void Reseturi() => __pbn__uri = null;
        private string __pbn__uri;

        [global::ProtoBuf.ProtoMember(5)]
        public ulong server_time
        {
            get => __pbn__server_time.GetValueOrDefault();
            set => __pbn__server_time = value;
        }
        public bool ShouldSerializeserver_time() => __pbn__server_time != null;
        public void Resetserver_time() => __pbn__server_time = null;
        private ulong? __pbn__server_time;

        [global::ProtoBuf.ProtoMember(6)]
        [global::System.ComponentModel.DefaultValue("")]
        public string account_name
        {
            get => __pbn__account_name ?? "";
            set => __pbn__account_name = value;
        }
        public bool ShouldSerializeaccount_name() => __pbn__account_name != null;
        public void Resetaccount_name() => __pbn__account_name = null;
        private string __pbn__account_name;

        [global::ProtoBuf.ProtoMember(7)]
        [global::System.ComponentModel.DefaultValue("")]
        public string token_gid
        {
            get => __pbn__token_gid ?? "";
            set => __pbn__token_gid = value;
        }
        public bool ShouldSerializetoken_gid() => __pbn__token_gid != null;
        public void Resettoken_gid() => __pbn__token_gid = null;
        private string __pbn__token_gid;

        [global::ProtoBuf.ProtoMember(8)]
        public byte[] identity_secret
        {
            get => __pbn__identity_secret;
            set => __pbn__identity_secret = value;
        }
        public bool ShouldSerializeidentity_secret() => __pbn__identity_secret != null;
        public void Resetidentity_secret() => __pbn__identity_secret = null;
        private byte[] __pbn__identity_secret;

        [global::ProtoBuf.ProtoMember(9)]
        public byte[] secret_1
        {
            get => __pbn__secret_1;
            set => __pbn__secret_1 = value;
        }
        public bool ShouldSerializesecret_1() => __pbn__secret_1 != null;
        public void Resetsecret_1() => __pbn__secret_1 = null;
        private byte[] __pbn__secret_1;

        [global::ProtoBuf.ProtoMember(10)]
        public int status
        {
            get => __pbn__status.GetValueOrDefault();
            set => __pbn__status = value;
        }
        public bool ShouldSerializestatus() => __pbn__status != null;
        public void Resetstatus() => __pbn__status = null;
        private int? __pbn__status;

        [global::ProtoBuf.ProtoMember(11)]
        public uint steamguard_scheme
        {
            get => __pbn__steamguard_scheme.GetValueOrDefault();
            set => __pbn__steamguard_scheme = value;
        }
        public bool ShouldSerializesteamguard_scheme() => __pbn__steamguard_scheme != null;
        public void Resetsteamguard_scheme() => __pbn__steamguard_scheme = null;
        private uint? __pbn__steamguard_scheme;

        [global::ProtoBuf.ProtoMember(12, 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 CTwoFactor_RemoveAuthenticatorViaChallengeContinue_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 bool success
        {
            get => __pbn__success.GetValueOrDefault();
            set => __pbn__success = value;
        }
        public bool ShouldSerializesuccess() => __pbn__success != null;
        public void Resetsuccess() => __pbn__success = null;
        private bool? __pbn__success;

        [global::ProtoBuf.ProtoMember(2)]
        public CRemoveAuthenticatorViaChallengeContinue_Replacement_Token replacement_token { get; set; }

    }

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

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CTwoFactor_Time_Response>> QueryTime( CTwoFactor_Time_Request request )
        {
            return UnifiedMessages.SendMessage<CTwoFactor_Time_Request, CTwoFactor_Time_Response>( "TwoFactor.QueryTime#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CTwoFactor_Status_Response>> QueryStatus( CTwoFactor_Status_Request request )
        {
            return UnifiedMessages.SendMessage<CTwoFactor_Status_Request, CTwoFactor_Status_Response>( "TwoFactor.QueryStatus#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CTwoFactor_AddAuthenticator_Response>> AddAuthenticator( CTwoFactor_AddAuthenticator_Request request )
        {
            return UnifiedMessages.SendMessage<CTwoFactor_AddAuthenticator_Request, CTwoFactor_AddAuthenticator_Response>( "TwoFactor.AddAuthenticator#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CTwoFactor_SendEmail_Response>> SendEmail( CTwoFactor_SendEmail_Request request )
        {
            return UnifiedMessages.SendMessage<CTwoFactor_SendEmail_Request, CTwoFactor_SendEmail_Response>( "TwoFactor.SendEmail#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CTwoFactor_FinalizeAddAuthenticator_Response>> FinalizeAddAuthenticator( CTwoFactor_FinalizeAddAuthenticator_Request request )
        {
            return UnifiedMessages.SendMessage<CTwoFactor_FinalizeAddAuthenticator_Request, CTwoFactor_FinalizeAddAuthenticator_Response>( "TwoFactor.FinalizeAddAuthenticator#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CTwoFactor_UpdateTokenVersion_Response>> UpdateTokenVersion( CTwoFactor_UpdateTokenVersion_Request request )
        {
            return UnifiedMessages.SendMessage<CTwoFactor_UpdateTokenVersion_Request, CTwoFactor_UpdateTokenVersion_Response>( "TwoFactor.UpdateTokenVersion#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CTwoFactor_RemoveAuthenticator_Response>> RemoveAuthenticator( CTwoFactor_RemoveAuthenticator_Request request )
        {
            return UnifiedMessages.SendMessage<CTwoFactor_RemoveAuthenticator_Request, CTwoFactor_RemoveAuthenticator_Response>( "TwoFactor.RemoveAuthenticator#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CTwoFactor_RemoveAuthenticatorViaChallengeStart_Response>> RemoveAuthenticatorViaChallengeStart( CTwoFactor_RemoveAuthenticatorViaChallengeStart_Request request )
        {
            return UnifiedMessages.SendMessage<CTwoFactor_RemoveAuthenticatorViaChallengeStart_Request, CTwoFactor_RemoveAuthenticatorViaChallengeStart_Response>( "TwoFactor.RemoveAuthenticatorViaChallengeStart#1", request );
        }

        public AsyncJob<SteamUnifiedMessages.ServiceMethodResponse<CTwoFactor_RemoveAuthenticatorViaChallengeContinue_Response>> RemoveAuthenticatorViaChallengeContinue( CTwoFactor_RemoveAuthenticatorViaChallengeContinue_Request request )
        {
            return UnifiedMessages.SendMessage<CTwoFactor_RemoveAuthenticatorViaChallengeContinue_Request, CTwoFactor_RemoveAuthenticatorViaChallengeContinue_Response>( "TwoFactor.RemoveAuthenticatorViaChallengeContinue#1", request );
        }

        public override void HandleResponseMsg( string methodName, PacketClientMsgProtobuf packetMsg )
        {
            switch ( methodName )
            {
                case "QueryTime":
                    PostResponseMsg<CTwoFactor_Time_Response>( packetMsg );
                    break;
                case "QueryStatus":
                    PostResponseMsg<CTwoFactor_Status_Response>( packetMsg );
                    break;
                case "AddAuthenticator":
                    PostResponseMsg<CTwoFactor_AddAuthenticator_Response>( packetMsg );
                    break;
                case "SendEmail":
                    PostResponseMsg<CTwoFactor_SendEmail_Response>( packetMsg );
                    break;
                case "FinalizeAddAuthenticator":
                    PostResponseMsg<CTwoFactor_FinalizeAddAuthenticator_Response>( packetMsg );
                    break;
                case "UpdateTokenVersion":
                    PostResponseMsg<CTwoFactor_UpdateTokenVersion_Response>( packetMsg );
                    break;
                case "RemoveAuthenticator":
                    PostResponseMsg<CTwoFactor_RemoveAuthenticator_Response>( packetMsg );
                    break;
                case "RemoveAuthenticatorViaChallengeStart":
                    PostResponseMsg<CTwoFactor_RemoveAuthenticatorViaChallengeStart_Response>( packetMsg );
                    break;
                case "RemoveAuthenticatorViaChallengeContinue":
                    PostResponseMsg<CTwoFactor_RemoveAuthenticatorViaChallengeContinue_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
