/// <summary>
        /// Initializes a new instance of the <see cref="UserExpands" /> class.
        /// </summary>


        /// <param name="RoutingStatus">ACD routing status.</param>



        /// <param name="Presence">Active presence.</param>



        /// <param name="ConversationSummary">Summary of conversion statistics for conversation types..</param>



        /// <param name="OutOfOffice">Determine if out of office is enabled.</param>



        /// <param name="Geolocation">Current geolocation position.</param>



        /// <param name="Station">Effective, default, and last station information.</param>



        /// <param name="Authorization">Roles and permissions assigned to the user.</param>


        public UserExpands(RoutingStatus RoutingStatus = null, UserPresence Presence = null, UserConversationSummary ConversationSummary = null, OutOfOffice OutOfOffice = null, Geolocation Geolocation = null, UserStations Station = null, UserAuthorization Authorization = null)
        {
            this.RoutingStatus = RoutingStatus;



            this.Presence = Presence;



            this.ConversationSummary = ConversationSummary;



            this.OutOfOffice = OutOfOffice;



            this.Geolocation = Geolocation;



            this.Station = Station;



            this.Authorization = Authorization;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="OrgUser" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="Division">The division to which this entity belongs..</param>
 /// <param name="Chat">Chat.</param>
 /// <param name="Department">Department.</param>
 /// <param name="Email">Email.</param>
 /// <param name="PrimaryContactInfo">Auto populated from addresses..</param>
 /// <param name="Addresses">Email addresses and phone numbers for this user.</param>
 /// <param name="Title">Title.</param>
 /// <param name="Username">Username.</param>
 /// <param name="Manager">Manager.</param>
 /// <param name="Images">Images.</param>
 /// <param name="Version">Required when updating a user, this value should be the current version of the user.  The current version can be obtained with a GET on the user before doing a PATCH. (required).</param>
 /// <param name="Certifications">Certifications.</param>
 /// <param name="Biography">Biography.</param>
 /// <param name="EmployerInfo">EmployerInfo.</param>
 /// <param name="RoutingStatus">ACD routing status.</param>
 /// <param name="Presence">Active presence.</param>
 /// <param name="ConversationSummary">Summary of conversion statistics for conversation types..</param>
 /// <param name="OutOfOffice">Determine if out of office is enabled.</param>
 /// <param name="Geolocation">Current geolocation position.</param>
 /// <param name="Station">Effective, default, and last station information.</param>
 /// <param name="Authorization">Roles and permissions assigned to the user.</param>
 /// <param name="ProfileSkills">Profile skills possessed by the user.</param>
 /// <param name="Locations">The user placement at each site location..</param>
 /// <param name="Groups">The groups the user is a member of.</param>
 /// <param name="Skills">Routing (ACD) skills possessed by the user.</param>
 /// <param name="Languages">Routing (ACD) languages possessed by the user.</param>
 /// <param name="AcdAutoAnswer">acd auto answer.</param>
 /// <param name="LastTokenIssued">LastTokenIssued.</param>
 /// <param name="Organization">Organization.</param>
 public OrgUser(string Name = null, Division Division = null, Chat Chat = null, string Department = null, string Email = null, List <Contact> PrimaryContactInfo = null, List <Contact> Addresses = null, string Title = null, string Username = null, User Manager = null, List <UserImage> Images = null, int?Version = null, List <string> Certifications = null, Biography Biography = null, EmployerInfo EmployerInfo = null, RoutingStatus RoutingStatus = null, UserPresence Presence = null, UserConversationSummary ConversationSummary = null, OutOfOffice OutOfOffice = null, Geolocation Geolocation = null, UserStations Station = null, UserAuthorization Authorization = null, List <string> ProfileSkills = null, List <Location> Locations = null, List <Group> Groups = null, List <UserRoutingSkill> Skills = null, List <UserRoutingLanguage> Languages = null, bool?AcdAutoAnswer = null, OAuthLastTokenIssued LastTokenIssued = null, Organization Organization = null)
 {
     this.Name                = Name;
     this.Division            = Division;
     this.Chat                = Chat;
     this.Department          = Department;
     this.Email               = Email;
     this.PrimaryContactInfo  = PrimaryContactInfo;
     this.Addresses           = Addresses;
     this.Title               = Title;
     this.Username            = Username;
     this.Manager             = Manager;
     this.Images              = Images;
     this.Version             = Version;
     this.Certifications      = Certifications;
     this.Biography           = Biography;
     this.EmployerInfo        = EmployerInfo;
     this.RoutingStatus       = RoutingStatus;
     this.Presence            = Presence;
     this.ConversationSummary = ConversationSummary;
     this.OutOfOffice         = OutOfOffice;
     this.Geolocation         = Geolocation;
     this.Station             = Station;
     this.Authorization       = Authorization;
     this.ProfileSkills       = ProfileSkills;
     this.Locations           = Locations;
     this.Groups              = Groups;
     this.Skills              = Skills;
     this.Languages           = Languages;
     this.AcdAutoAnswer       = AcdAutoAnswer;
     this.LastTokenIssued     = LastTokenIssued;
     this.Organization        = Organization;
 }
Esempio n. 3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TrustUser" /> class.
        /// </summary>



        /// <param name="Name">Name.</param>



        /// <param name="Chat">Chat.</param>



        /// <param name="Department">Department.</param>



        /// <param name="Email">Email.</param>



        /// <param name="PrimaryContactInfo">Auto populated from addresses..</param>



        /// <param name="Addresses">Email addresses and phone numbers for this user.</param>



        /// <param name="Title">Title.</param>



        /// <param name="Username">Username.</param>



        /// <param name="Manager">Manager.</param>



        /// <param name="Images">Images.</param>



        /// <param name="Version">Required when updating a user, this value should be the current version of the user.  The current version can be obtained with a GET on the user before doing a PATCH. (required).</param>



        /// <param name="RoutingStatus">ACD routing status.</param>



        /// <param name="Presence">Active presence.</param>



        /// <param name="ConversationSummary">Summary of conversion statistics for conversation types..</param>



        /// <param name="OutOfOffice">Determine if out of office is enabled.</param>



        /// <param name="Geolocation">Current geolocation position.</param>



        /// <param name="Station">Effective, default, and last station information.</param>



        /// <param name="Authorization">Roles and permissions assigned to the user.</param>



        /// <param name="ProfileSkills">Skills possessed by the user.</param>



        /// <param name="Locations">The user placement at each site location..</param>



        /// <param name="Groups">The groups the user is a member of.</param>



        /// <param name="AcdAutoAnswer">acd auto answer.</param>



        /// <param name="TrustUserDetails">TrustUserDetails.</param>


        public TrustUser(string Name = null, Chat Chat = null, string Department = null, string Email = null, List <Contact> PrimaryContactInfo = null, List <Contact> Addresses = null, string Title = null, string Username = null, User Manager = null, List <UserImage> Images = null, int?Version = null, RoutingStatus RoutingStatus = null, UserPresence Presence = null, UserConversationSummary ConversationSummary = null, OutOfOffice OutOfOffice = null, Geolocation Geolocation = null, UserStations Station = null, UserAuthorization Authorization = null, List <string> ProfileSkills = null, List <Location> Locations = null, List <Group> Groups = null, bool?AcdAutoAnswer = null, TrustUserDetails TrustUserDetails = null)
        {
            // to ensure "Version" is required (not null)
            if (Version == null)
            {
                throw new InvalidDataException("Version is a required property for TrustUser and cannot be null");
            }
            else
            {
                this.Version = Version;
            }



            this.Name = Name;



            this.Chat = Chat;



            this.Department = Department;



            this.Email = Email;



            this.PrimaryContactInfo = PrimaryContactInfo;



            this.Addresses = Addresses;



            this.Title = Title;



            this.Username = Username;



            this.Manager = Manager;



            this.Images = Images;



            this.RoutingStatus = RoutingStatus;



            this.Presence = Presence;



            this.ConversationSummary = ConversationSummary;



            this.OutOfOffice = OutOfOffice;



            this.Geolocation = Geolocation;



            this.Station = Station;



            this.Authorization = Authorization;



            this.ProfileSkills = ProfileSkills;



            this.Locations = Locations;



            this.Groups = Groups;



            this.AcdAutoAnswer = AcdAutoAnswer;



            this.TrustUserDetails = TrustUserDetails;
        }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserMe" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="Division">The division to which this entity belongs..</param>
 /// <param name="Chat">Chat.</param>
 /// <param name="Department">Department.</param>
 /// <param name="Email">Email.</param>
 /// <param name="PrimaryContactInfo">Auto populated from addresses..</param>
 /// <param name="Addresses">Email addresses and phone numbers for this user.</param>
 /// <param name="Title">Title.</param>
 /// <param name="Username">Username.</param>
 /// <param name="Manager">Manager.</param>
 /// <param name="Images">Images.</param>
 /// <param name="Version">Required when updating a user, this value should be the current version of the user.  The current version can be obtained with a GET on the user before doing a PATCH. (required).</param>
 /// <param name="Certifications">Certifications.</param>
 /// <param name="Biography">Biography.</param>
 /// <param name="EmployerInfo">EmployerInfo.</param>
 /// <param name="RoutingStatus">ACD routing status.</param>
 /// <param name="Presence">Active presence.</param>
 /// <param name="ConversationSummary">Summary of conversion statistics for conversation types..</param>
 /// <param name="OutOfOffice">Determine if out of office is enabled.</param>
 /// <param name="Geolocation">Current geolocation position.</param>
 /// <param name="Station">Effective, default, and last station information.</param>
 /// <param name="Authorization">Roles and permissions assigned to the user.</param>
 /// <param name="ProfileSkills">Profile skills possessed by the user.</param>
 /// <param name="Locations">The user placement at each site location..</param>
 /// <param name="Groups">The groups the user is a member of.</param>
 /// <param name="Skills">Routing (ACD) skills possessed by the user.</param>
 /// <param name="Languages">Routing (ACD) languages possessed by the user.</param>
 /// <param name="AcdAutoAnswer">acd auto answer.</param>
 /// <param name="LastTokenIssued">LastTokenIssued.</param>
 /// <param name="Date">The PureCloud system date time..</param>
 /// <param name="GeolocationSettings">Geolocation settings for user&#39;s organization..</param>
 /// <param name="Organization">Organization details for this user..</param>
 /// <param name="PresenceDefinitions">The first 100 presence definitions for user&#39;s organization..</param>
 /// <param name="LocationDefinitions">The first 100 site locations for user&#39;s organization.</param>
 /// <param name="OrgAuthorization">The first 100 organization roles, with applicable permission policies, for user&#39;s organization..</param>
 /// <param name="Favorites">The first 50 favorited users..</param>
 /// <param name="Superiors">The first 50 superiors of this user..</param>
 /// <param name="DirectReports">The first 50 direct reports to this user..</param>
 /// <param name="Adjacents">The first 50 superiors, direct reports, and siblings of this user. Mutually exclusive with superiors and direct reports expands..</param>
 /// <param name="RoutingSkills">The first 50 routing skills for user&#39;s organizations.</param>
 /// <param name="FieldConfigs">The field config for all entities types of user&#39;s organization.</param>
 /// <param name="Token">Information about the current token.</param>
 /// <param name="Trustors">Organizations having this user as a trustee.</param>
 /// <param name="OrgProducts">Products enabled in this organization.</param>
 public UserMe(string Name = null, Division Division = null, Chat Chat = null, string Department = null, string Email = null, List <Contact> PrimaryContactInfo = null, List <Contact> Addresses = null, string Title = null, string Username = null, User Manager = null, List <UserImage> Images = null, int?Version = null, List <string> Certifications = null, Biography Biography = null, EmployerInfo EmployerInfo = null, RoutingStatus RoutingStatus = null, UserPresence Presence = null, UserConversationSummary ConversationSummary = null, OutOfOffice OutOfOffice = null, Geolocation Geolocation = null, UserStations Station = null, UserAuthorization Authorization = null, List <string> ProfileSkills = null, List <Location> Locations = null, List <Group> Groups = null, List <UserRoutingSkill> Skills = null, List <UserRoutingLanguage> Languages = null, bool?AcdAutoAnswer = null, OAuthLastTokenIssued LastTokenIssued = null, ServerDate Date = null, GeolocationSettings GeolocationSettings = null, Organization Organization = null, List <OrganizationPresence> PresenceDefinitions = null, List <LocationDefinition> LocationDefinitions = null, List <DomainOrganizationRole> OrgAuthorization = null, List <User> Favorites = null, List <User> Superiors = null, List <User> DirectReports = null, Adjacents Adjacents = null, List <RoutingSkill> RoutingSkills = null, FieldConfigs FieldConfigs = null, TokenInfo Token = null, List <Trustor> Trustors = null, List <DomainOrganizationProduct> OrgProducts = null)
 {
     this.Name                = Name;
     this.Division            = Division;
     this.Chat                = Chat;
     this.Department          = Department;
     this.Email               = Email;
     this.PrimaryContactInfo  = PrimaryContactInfo;
     this.Addresses           = Addresses;
     this.Title               = Title;
     this.Username            = Username;
     this.Manager             = Manager;
     this.Images              = Images;
     this.Version             = Version;
     this.Certifications      = Certifications;
     this.Biography           = Biography;
     this.EmployerInfo        = EmployerInfo;
     this.RoutingStatus       = RoutingStatus;
     this.Presence            = Presence;
     this.ConversationSummary = ConversationSummary;
     this.OutOfOffice         = OutOfOffice;
     this.Geolocation         = Geolocation;
     this.Station             = Station;
     this.Authorization       = Authorization;
     this.ProfileSkills       = ProfileSkills;
     this.Locations           = Locations;
     this.Groups              = Groups;
     this.Skills              = Skills;
     this.Languages           = Languages;
     this.AcdAutoAnswer       = AcdAutoAnswer;
     this.LastTokenIssued     = LastTokenIssued;
     this.Date                = Date;
     this.GeolocationSettings = GeolocationSettings;
     this.Organization        = Organization;
     this.PresenceDefinitions = PresenceDefinitions;
     this.LocationDefinitions = LocationDefinitions;
     this.OrgAuthorization    = OrgAuthorization;
     this.Favorites           = Favorites;
     this.Superiors           = Superiors;
     this.DirectReports       = DirectReports;
     this.Adjacents           = Adjacents;
     this.RoutingSkills       = RoutingSkills;
     this.FieldConfigs        = FieldConfigs;
     this.Token               = Token;
     this.Trustors            = Trustors;
     this.OrgProducts         = OrgProducts;
 }
Esempio n. 5
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UserMe" /> class.
        /// </summary>



        /// <param name="Name">Name.</param>



        /// <param name="Chat">Chat.</param>



        /// <param name="Department">Department.</param>



        /// <param name="Email">Email.</param>



        /// <param name="PrimaryContactInfo">Auto populated from addresses..</param>



        /// <param name="Addresses">Email addresses and phone numbers for this user.</param>



        /// <param name="Title">Title.</param>



        /// <param name="Username">Username.</param>



        /// <param name="Manager">Manager.</param>



        /// <param name="Images">Images.</param>



        /// <param name="Version">Required when updating a user, this value should be the current version of the user.  The current version can be obtained with a GET on the user before doing a PATCH. (required).</param>



        /// <param name="RoutingStatus">ACD routing status.</param>



        /// <param name="Presence">Active presence.</param>



        /// <param name="ConversationSummary">Summary of conversion statistics for conversation types..</param>



        /// <param name="OutOfOffice">Determine if out of office is enabled.</param>



        /// <param name="Geolocation">Current geolocation position.</param>



        /// <param name="Station">Effective, default, and last station information.</param>



        /// <param name="Authorization">Roles and permissions assigned to the user.</param>



        /// <param name="ProfileSkills">Skills possessed by the user.</param>



        /// <param name="Locations">The user placement at each site location..</param>



        /// <param name="Groups">The groups the user is a member of.</param>



        /// <param name="Date">The PureCloud system date time..</param>



        /// <param name="GeolocationSettings">Geolocation settings for user&#39;s organization..</param>



        /// <param name="Organization">Organization details for this user..</param>



        /// <param name="PresenceDefinitions">The first 100 presence definitions for user&#39;s organization..</param>



        /// <param name="LocationDefinitions">The first 100 site locations for user&#39;s organization.</param>



        /// <param name="OrgAuthorization">The first 100 organization roles, with applicable permission policies, for user&#39;s organization..</param>



        /// <param name="Favorites">The first 50 favorited users..</param>



        /// <param name="Superiors">The first 50 superiors of this user..</param>



        /// <param name="DirectReports">The first 50 direct reports to this user..</param>



        /// <param name="Adjacents">The first 50 superiors, direct reports, and siblings of this user. Mutually exclusive with superiors and direct reports expands..</param>



        /// <param name="RoutingSkills">The first 50 routing skills for user&#39;s organizations.</param>



        /// <param name="FieldConfigs">The field config for all entities types of user&#39;s organization.</param>



        /// <param name="Token">Information about the current token.</param>



        /// <param name="Trustors">Organizations having this user as a trustee.</param>



        public UserMe(string Name = null, Chat Chat = null, string Department = null, string Email = null, List <Contact> PrimaryContactInfo = null, List <Contact> Addresses = null, string Title = null, string Username = null, User Manager = null, List <UserImage> Images = null, int?Version = null, RoutingStatus RoutingStatus = null, UserPresence Presence = null, UserConversationSummary ConversationSummary = null, OutOfOffice OutOfOffice = null, Geolocation Geolocation = null, UserStations Station = null, UserAuthorization Authorization = null, List <string> ProfileSkills = null, List <Location> Locations = null, List <Group> Groups = null, ServerDate Date = null, GeolocationSettings GeolocationSettings = null, Organization Organization = null, List <OrganizationPresence> PresenceDefinitions = null, List <LocationDefinition> LocationDefinitions = null, List <DomainOrganizationRole> OrgAuthorization = null, List <User> Favorites = null, List <User> Superiors = null, List <User> DirectReports = null, Adjacents Adjacents = null, List <RoutingSkill> RoutingSkills = null, FieldConfigs FieldConfigs = null, TokenInfo Token = null, List <Trustor> Trustors = null)
        {
            // to ensure "Version" is required (not null)
            if (Version == null)
            {
                throw new InvalidDataException("Version is a required property for UserMe and cannot be null");
            }
            else
            {
                this.Version = Version;
            }



            this.Name = Name;



            this.Chat = Chat;



            this.Department = Department;



            this.Email = Email;



            this.PrimaryContactInfo = PrimaryContactInfo;



            this.Addresses = Addresses;



            this.Title = Title;



            this.Username = Username;



            this.Manager = Manager;



            this.Images = Images;



            this.RoutingStatus = RoutingStatus;



            this.Presence = Presence;



            this.ConversationSummary = ConversationSummary;



            this.OutOfOffice = OutOfOffice;



            this.Geolocation = Geolocation;



            this.Station = Station;



            this.Authorization = Authorization;



            this.ProfileSkills = ProfileSkills;



            this.Locations = Locations;



            this.Groups = Groups;



            this.Date = Date;



            this.GeolocationSettings = GeolocationSettings;



            this.Organization = Organization;



            this.PresenceDefinitions = PresenceDefinitions;



            this.LocationDefinitions = LocationDefinitions;



            this.OrgAuthorization = OrgAuthorization;



            this.Favorites = Favorites;



            this.Superiors = Superiors;



            this.DirectReports = DirectReports;



            this.Adjacents = Adjacents;



            this.RoutingSkills = RoutingSkills;



            this.FieldConfigs = FieldConfigs;



            this.Token = Token;



            this.Trustors = Trustors;
        }