// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;

namespace Pulumi.Tctest.Cam
{
    public static class Users
    {
        public static Task<UsersResult> InvokeAsync(UsersArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<UsersResult>("tctest:Cam/users:Users", args ?? new UsersArgs(), options.WithDefaults());

        public static Output<UsersResult> Invoke(UsersInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<UsersResult>("tctest:Cam/users:Users", args ?? new UsersInvokeArgs(), options.WithDefaults());
    }


    public sealed class UsersArgs : Pulumi.InvokeArgs
    {
        [Input("consoleLogin")]
        public bool? ConsoleLogin { get; set; }

        [Input("countryCode")]
        public string? CountryCode { get; set; }

        [Input("email")]
        public string? Email { get; set; }

        [Input("name")]
        public string? Name { get; set; }

        [Input("phoneNum")]
        public string? PhoneNum { get; set; }

        [Input("remark")]
        public string? Remark { get; set; }

        [Input("resultOutputFile")]
        public string? ResultOutputFile { get; set; }

        [Input("uid")]
        public int? Uid { get; set; }

        [Input("uin")]
        public int? Uin { get; set; }

        public UsersArgs()
        {
        }
    }

    public sealed class UsersInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("consoleLogin")]
        public Input<bool>? ConsoleLogin { get; set; }

        [Input("countryCode")]
        public Input<string>? CountryCode { get; set; }

        [Input("email")]
        public Input<string>? Email { get; set; }

        [Input("name")]
        public Input<string>? Name { get; set; }

        [Input("phoneNum")]
        public Input<string>? PhoneNum { get; set; }

        [Input("remark")]
        public Input<string>? Remark { get; set; }

        [Input("resultOutputFile")]
        public Input<string>? ResultOutputFile { get; set; }

        [Input("uid")]
        public Input<int>? Uid { get; set; }

        [Input("uin")]
        public Input<int>? Uin { get; set; }

        public UsersInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class UsersResult
    {
        public readonly bool? ConsoleLogin;
        public readonly string? CountryCode;
        public readonly string? Email;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string? Name;
        public readonly string? PhoneNum;
        public readonly string? Remark;
        public readonly string? ResultOutputFile;
        public readonly int? Uid;
        public readonly int? Uin;
        public readonly ImmutableArray<Outputs.UsersUserListResult> UserLists;

        [OutputConstructor]
        private UsersResult(
            bool? consoleLogin,

            string? countryCode,

            string? email,

            string id,

            string? name,

            string? phoneNum,

            string? remark,

            string? resultOutputFile,

            int? uid,

            int? uin,

            ImmutableArray<Outputs.UsersUserListResult> userLists)
        {
            ConsoleLogin = consoleLogin;
            CountryCode = countryCode;
            Email = email;
            Id = id;
            Name = name;
            PhoneNum = phoneNum;
            Remark = remark;
            ResultOutputFile = resultOutputFile;
            Uid = uid;
            Uin = uin;
            UserLists = userLists;
        }
    }
}
