Esempio n. 1
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;
        }
Esempio n. 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="RoleBody" /> class.
        /// Initializes a new instance of the <see cref="RoleBody" />class.
        /// </summary>
        /// <param name="Key">Key.</param>
        /// <param name="Document">Document.</param>

        public RoleBody(string Key = null, CloudRole Document = null)
        {
            this.Key      = Key;
            this.Document = Document;
        }