Class DatevAdditionalMessage
DatevAdditionalMessage
Inheritance
Implements
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class DatevAdditionalMessage : IEquatable<DatevAdditionalMessage>, IValidatableObject
Constructors
| Improve this Doc View SourceDatevAdditionalMessage(String, String, Nullable<DatevAdditionalMessage.SeverityEnum>)
Initializes a new instance of the DatevAdditionalMessage class.
Declaration
public DatevAdditionalMessage(string id = null, string description = null, DatevAdditionalMessage.SeverityEnum? severity = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | ID of additional message. |
System.String | description | Further information of message. |
System.Nullable<DatevAdditionalMessage.SeverityEnum> | severity | Severity of error (Error, Warning, Information). |
Properties
| Improve this Doc View SourceDescription
Further information of message
Declaration
[DataMember(Name = "description", EmitDefaultValue = false)]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | Further information of message |
Id
ID of additional message
Declaration
[DataMember(Name = "id", EmitDefaultValue = false)]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | ID of additional message |
Severity
Severity of error (Error, Warning, Information)
Declaration
[DataMember(Name = "severity", EmitDefaultValue = false)]
public DatevAdditionalMessage.SeverityEnum? Severity { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DatevAdditionalMessage.SeverityEnum> | Severity of error (Error, Warning, Information) |
Methods
| Improve this Doc View SourceEquals(DatevAdditionalMessage)
Returns true if DatevAdditionalMessage instances are equal
Declaration
public bool Equals(DatevAdditionalMessage input)
Parameters
Type | Name | Description |
---|---|---|
DatevAdditionalMessage | input | Instance of DatevAdditionalMessage 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 |