Class DatevIndividualField
DatevIndividualField
Inheritance
Implements
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class DatevIndividualField : IEquatable<DatevIndividualField>, IValidatableObject
Constructors
| Improve this Doc View SourceDatevIndividualField(String, Nullable<Int32>)
Initializes a new instance of the DatevIndividualField class.
Declaration
public DatevIndividualField(string content = null, int? position = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | content | (Inhalt) Content of the individual field. |
System.Nullable<System.Int32> | position | (Nummer) Number of the individual field (zero-based numbering). |
Properties
| Improve this Doc View SourceContent
(Inhalt) Content of the individual field
Declaration
[DataMember(Name = "content", EmitDefaultValue = false)]
public string Content { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Inhalt) Content of the individual field |
Position
(Nummer) Number of the individual field (zero-based numbering)
Declaration
[DataMember(Name = "position", EmitDefaultValue = false)]
public int? Position { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Nummer) Number of the individual field (zero-based numbering) |
Methods
| Improve this Doc View SourceEquals(DatevIndividualField)
Returns true if DatevIndividualField instances are equal
Declaration
public bool Equals(DatevIndividualField input)
Parameters
Type | Name | Description |
---|---|---|
DatevIndividualField | input | Instance of DatevIndividualField 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 |