/// <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; }
/// <summary> /// Initializes a new instance of the <see cref="User" /> 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="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="AcdAutoAnswer">acd auto answer.</param> /// <param name="LastTokenIssued">LastTokenIssued.</param> public User(string Name = null, Division Division = null, Chat Chat = null, string Department = null, string Email = 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, bool?AcdAutoAnswer = null, OAuthLastTokenIssued LastTokenIssued = null) { this.Name = Name; this.Division = Division; this.Chat = Chat; this.Department = Department; this.Email = Email; 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.AcdAutoAnswer = AcdAutoAnswer; this.LastTokenIssued = LastTokenIssued; }
/// <summary> /// Initializes a new instance of the <see cref="UpdateUser" /> class. /// </summary> /// <param name="Name">Name.</param> /// <param name="Chat">Chat.</param> /// <param name="Department">Department.</param> /// <param name="Email">Email.</param> /// <param name="Addresses">Email address, phone number, and/or extension for this user. One entry is allowed per media type.</param> /// <param name="Title">Title.</param> /// <param name="Username">Username.</param> /// <param name="Manager">Manager.</param> /// <param name="Images">Images.</param> /// <param name="Version">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="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="State">The state of the user. This property can be used to restore a deleted user or transition between active and inactive. If specified, it is the only modifiable field..</param> /// <param name="AcdAutoAnswer">The value that denotes if acdAutoAnswer is set on the user.</param> /// <param name="Certifications">Certifications.</param> /// <param name="Biography">Biography.</param> /// <param name="EmployerInfo">EmployerInfo.</param> public UpdateUser(string Name = null, Chat Chat = null, string Department = null, string Email = null, List <Contact> Addresses = null, string Title = null, string Username = null, string Manager = null, List <UserImage> Images = null, int?Version = null, List <string> ProfileSkills = null, List <Location> Locations = null, List <Group> Groups = null, StateEnum?State = null, bool?AcdAutoAnswer = null, List <string> Certifications = null, Biography Biography = null, EmployerInfo EmployerInfo = null) { this.Name = Name; this.Chat = Chat; this.Department = Department; this.Email = Email; this.Addresses = Addresses; this.Title = Title; this.Username = Username; this.Manager = Manager; this.Images = Images; this.Version = Version; this.ProfileSkills = ProfileSkills; this.Locations = Locations; this.Groups = Groups; this.State = State; this.AcdAutoAnswer = AcdAutoAnswer; this.Certifications = Certifications; this.Biography = Biography; this.EmployerInfo = EmployerInfo; }
/// <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's organization..</param> /// <param name="Organization">Organization details for this user..</param> /// <param name="PresenceDefinitions">The first 100 presence definitions for user's organization..</param> /// <param name="LocationDefinitions">The first 100 site locations for user's organization.</param> /// <param name="OrgAuthorization">The first 100 organization roles, with applicable permission policies, for user'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's organizations.</param> /// <param name="FieldConfigs">The field config for all entities types of user'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; }
/// <summary> /// Initializes a new instance of the <see cref="PatchUser" /> class. /// </summary> /// <param name="Id">The globally unique identifier for the object..</param> /// <param name="AcdAutoAnswer">The value that denotes if acdAutoAnswer is set on the user.</param> /// <param name="Certifications">Certifications.</param> /// <param name="Biography">Biography.</param> /// <param name="EmployerInfo">EmployerInfo.</param> public PatchUser(string Id = null, bool?AcdAutoAnswer = null, List <string> Certifications = null, Biography Biography = null, EmployerInfo EmployerInfo = null) { this.Id = Id; this.AcdAutoAnswer = AcdAutoAnswer; this.Certifications = Certifications; this.Biography = Biography; this.EmployerInfo = EmployerInfo; }