Class DatevNaturalPerson
DatevNaturalPerson
Inheritance
Implements
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class DatevNaturalPerson : IEquatable<DatevNaturalPerson>, IValidatableObject
Constructors
| Improve this Doc View SourceDatevNaturalPerson(Nullable<DateTime>, String, String, String, String, String)
Initializes a new instance of the DatevNaturalPerson class.
Declaration
public DatevNaturalPerson(DateTime? dateOfBirth = null, string degree = null, string firstname = null, string namePrefix = null, string surname = null, string titleOfNobility = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.DateTime> | dateOfBirth | (Geburtsdatum) Date of birth. |
System.String | degree | (Titel/Akademischer Grad) Title/academic level. |
System.String | firstname | (Vorname) First name. |
System.String | namePrefix | (Namensvorsatz) Name prefix. |
System.String | surname | (Nachname) Last name. |
System.String | titleOfNobility | (Adelstitel) Title of nobility. |
Properties
| Improve this Doc View SourceDateOfBirth
(Geburtsdatum) Date of birth
Declaration
[DataMember(Name = "date_of_birth", EmitDefaultValue = false)]
public DateTime? DateOfBirth { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | (Geburtsdatum) Date of birth |
Degree
(Titel/Akademischer Grad) Title/academic level
Declaration
[DataMember(Name = "degree", EmitDefaultValue = false)]
public string Degree { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Titel/Akademischer Grad) Title/academic level |
Firstname
(Vorname) First name
Declaration
[DataMember(Name = "firstname", EmitDefaultValue = false)]
public string Firstname { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Vorname) First name |
NamePrefix
(Namensvorsatz) Name prefix
Declaration
[DataMember(Name = "name_prefix", EmitDefaultValue = false)]
public string NamePrefix { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Namensvorsatz) Name prefix |
Surname
(Nachname) Last name
Declaration
[DataMember(Name = "surname", EmitDefaultValue = false)]
public string Surname { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Nachname) Last name |
TitleOfNobility
(Adelstitel) Title of nobility
Declaration
[DataMember(Name = "title_of_nobility", EmitDefaultValue = false)]
public string TitleOfNobility { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Adelstitel) Title of nobility |
Methods
| Improve this Doc View SourceEquals(DatevNaturalPerson)
Returns true if DatevNaturalPerson instances are equal
Declaration
public bool Equals(DatevNaturalPerson input)
Parameters
Type | Name | Description |
---|---|---|
DatevNaturalPerson | input | Instance of DatevNaturalPerson to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
System.Object | input | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Explicit Interface Implementations
| Improve this Doc View SourceIValidatableObject.Validate(ValidationContext)
To validate all properties of the instance
Declaration
IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.DataAnnotations.ValidationContext | validationContext | Validation context |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> | Validation Result |