Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Kleer/Models/Kleer.Models.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5628,9 +5628,30 @@ public bool DimensionEntriesSpecified
}
}

/// <summary>
/// <para>Sets the manager of this payroll user. Skip to leave the current manager as is.
/// The id must reference an existing user in this company; an omitted, null or zero id
/// is rejected. Use remove-manager-user to remove the current manager.</para>
/// </summary>
[System.ComponentModel.DescriptionAttribute(("Sets the manager of this payroll user. Skip to leave the current manager as is. T" +
"he id must reference an existing user in this company; an omitted, null or zero " +
"id is rejected. Use remove-manager-user to remove the current manager."))]
[System.Xml.Serialization.XmlElementAttribute("manager-user", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public UserReference ManagerUser { get; set; }

/// <summary>
/// <para>Set to true to remove the current manager. Mutually exclusive with manager-user.</para>
/// </summary>
[System.ComponentModel.DescriptionAttribute("Set to true to remove the current manager. Mutually exclusive with manager-user.")]
[System.Xml.Serialization.XmlElementAttribute("remove-manager-user", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public bool RemoveManagerUser { get; set; }

/// <summary>
/// <para xml:lang="en">Gets or sets a value indicating whether the RemoveManagerUser property is specified.</para>
/// </summary>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool RemoveManagerUserSpecified { get; set; }

[System.Xml.Serialization.XmlElementAttribute("vacation-entitlement", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public VacationEntitlement VacationEntitlement { get; set; }

Expand Down
18 changes: 16 additions & 2 deletions Kleer/doc.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -2383,8 +2383,22 @@
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- Skip to leave current manager as is -->
<xs:element name="manager-user" type="user-reference" minOccurs="0"/>
<xs:element name="manager-user" type="user-reference" minOccurs="0">
<xs:annotation>
<xs:documentation>
Sets the manager of this payroll user. Skip to leave the current manager as is.
The id must reference an existing user in this company; an omitted, null or zero id
is rejected. Use remove-manager-user to remove the current manager.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="remove-manager-user" type="xs:boolean" minOccurs="0">
<xs:annotation>
<xs:documentation>
Set to true to remove the current manager. Mutually exclusive with manager-user.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vacation-entitlement" type="vacation-entitlement" minOccurs="0"/>
<xs:element name="workplace-number" type="xs:string" minOccurs="0"/>
<xs:element name="workplace-custom-address" type="xs:string" minOccurs="0"/>
Expand Down