Ejemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UserBody" /> class.
        /// Initializes a new instance of the <see cref="UserBody" />class.
        /// </summary>
        /// <param name="Key">Key.</param>
        /// <param name="Document">Document.</param>

        public UserBody(string Key = null, CloudUser Document = null)
        {
            this.Key      = Key;
            this.Document = Document;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UserRoleBody" /> class.
        /// Initializes a new instance of the <see cref="UserRoleBody" />class.
        /// </summary>
        /// <param name="Key">Key.</param>
        /// <param name="Role">Role.</param>
        /// <param name="User">User.</param>

        public UserRoleBody(string Key = null, CloudRole Role = null, CloudUser User = null)
        {
            this.Key  = Key;
            this.Role = Role;
            this.User = User;
        }