Class DatevCommunicationUsageType
DatevCommunicationUsageType
Inheritance
Implements
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class DatevCommunicationUsageType : IEquatable<DatevCommunicationUsageType>, IValidatableObject
Constructors
| Improve this Doc View SourceDatevCommunicationUsageType(Nullable<Boolean>, Nullable<Boolean>)
Initializes a new instance of the DatevCommunicationUsageType class.
Declaration
public DatevCommunicationUsageType(bool? isMainCommunicationUsageType = null, bool? isMainManagementPhone = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Boolean> | isMainCommunicationUsageType | (Hauptkommunikationsmittel) Main communication usage type, is not allowed with "communication_type" = other. |
System.Nullable<System.Boolean> | isMainManagementPhone | (Kennzeichen Geschäftsleitungs-Telefon) Management phone indicator. |
Properties
| Improve this Doc View SourceIsMainCommunicationUsageType
(Hauptkommunikationsmittel) Main communication usage type, is not allowed with "communication_type" = other
Declaration
[DataMember(Name = "is_main_communication_usage_type", EmitDefaultValue = false)]
public bool? IsMainCommunicationUsageType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | (Hauptkommunikationsmittel) Main communication usage type, is not allowed with "communication_type" = other |
IsMainManagementPhone
(Kennzeichen Geschäftsleitungs-Telefon) Management phone indicator
Declaration
[DataMember(Name = "is_main_management_phone", EmitDefaultValue = false)]
public bool? IsMainManagementPhone { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | (Kennzeichen Geschäftsleitungs-Telefon) Management phone indicator |
Methods
| Improve this Doc View SourceEquals(DatevCommunicationUsageType)
Returns true if DatevCommunicationUsageType instances are equal
Declaration
public bool Equals(DatevCommunicationUsageType input)
Parameters
Type | Name | Description |
---|---|---|
DatevCommunicationUsageType | input | Instance of DatevCommunicationUsageType 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 |