Class DatevCommunication
DatevCommunication
Inheritance
Implements
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class DatevCommunication : IEquatable<DatevCommunication>, IValidatableObject
Constructors
| Improve this Doc View SourceDatevCommunication(String, String, Nullable<DatevCommunication.CommunicationTypeEnum>, String, DatevCommunicationUsageType)
Initializes a new instance of the DatevCommunication class.
Declaration
public DatevCommunication(string id = null, string communicationDataContent = null, DatevCommunication.CommunicationTypeEnum? communicationType = null, string note = null, DatevCommunicationUsageType communicationUsageType = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | ID of the subobject communication. |
System.String | communicationDataContent | (Inhalt der Kommunikationsart) Content of the communication type. |
System.Nullable<DatevCommunication.CommunicationTypeEnum> | communicationType | (Kommunikationstyp) Communication method (not specified, phone, email, url, fax, other). |
System.String | note | (Notiz) Note. |
DatevCommunicationUsageType | communicationUsageType | communicationUsageType. |
Properties
| Improve this Doc View SourceCommunicationDataContent
(Inhalt der Kommunikationsart) Content of the communication type
Declaration
[DataMember(Name = "communication_data_content", EmitDefaultValue = false)]
public string CommunicationDataContent { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Inhalt der Kommunikationsart) Content of the communication type |
CommunicationType
(Kommunikationstyp) Communication method (not specified, phone, email, url, fax, other)
Declaration
[DataMember(Name = "communication_type", EmitDefaultValue = false)]
public DatevCommunication.CommunicationTypeEnum? CommunicationType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DatevCommunication.CommunicationTypeEnum> | (Kommunikationstyp) Communication method (not specified, phone, email, url, fax, other) |
CommunicationUsageType
Gets or Sets CommunicationUsageType
Declaration
[DataMember(Name = "communication_usage_type", EmitDefaultValue = false)]
public DatevCommunicationUsageType CommunicationUsageType { get; set; }
Property Value
Type | Description |
---|---|
DatevCommunicationUsageType |
Id
ID of the subobject communication
Declaration
[DataMember(Name = "id", EmitDefaultValue = false)]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | ID of the subobject communication |
Note
(Notiz) Note
Declaration
[DataMember(Name = "note", EmitDefaultValue = false)]
public string Note { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Notiz) Note |
Methods
| Improve this Doc View SourceEquals(DatevCommunication)
Returns true if DatevCommunication instances are equal
Declaration
public bool Equals(DatevCommunication input)
Parameters
Type | Name | Description |
---|---|---|
DatevCommunication | input | Instance of DatevCommunication 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 |