Class DatevDueAsPeriod
DatevDueAsPeriod
Inheritance
Implements
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class DatevDueAsPeriod : IEquatable<DatevDueAsPeriod>, IValidatableObject
Constructors
| Improve this Doc View SourceDatevDueAsPeriod()
Initializes a new instance of the DatevDueAsPeriod class.
Declaration
protected DatevDueAsPeriod()
DatevDueAsPeriod(DatevPeriod, DatevPeriod, DatevPeriod)
Initializes a new instance of the DatevDueAsPeriod class.
Declaration
public DatevDueAsPeriod(DatevPeriod period1 = null, DatevPeriod period2 = null, DatevPeriod period3 = null)
Parameters
Type | Name | Description |
---|---|---|
DatevPeriod | period1 | (Zeitraum 1) Subordinate object period 1 (required). |
DatevPeriod | period2 | (Zeitraum 2) Subordinate object period 2. |
DatevPeriod | period3 | (Zeitraum 3) Subordinate object period 3. |
Properties
| Improve this Doc View SourcePeriod1
(Zeitraum 1) Subordinate object period 1
Declaration
[DataMember(Name = "period1", EmitDefaultValue = false)]
public DatevPeriod Period1 { get; set; }
Property Value
Type | Description |
---|---|
DatevPeriod | (Zeitraum 1) Subordinate object period 1 |
Period2
(Zeitraum 2) Subordinate object period 2
Declaration
[DataMember(Name = "period2", EmitDefaultValue = false)]
public DatevPeriod Period2 { get; set; }
Property Value
Type | Description |
---|---|
DatevPeriod | (Zeitraum 2) Subordinate object period 2 |
Period3
(Zeitraum 3) Subordinate object period 3
Declaration
[DataMember(Name = "period3", EmitDefaultValue = false)]
public DatevPeriod Period3 { get; set; }
Property Value
Type | Description |
---|---|
DatevPeriod | (Zeitraum 3) Subordinate object period 3 |
Methods
| Improve this Doc View SourceEquals(DatevDueAsPeriod)
Returns true if DatevDueAsPeriod instances are equal
Declaration
public bool Equals(DatevDueAsPeriod input)
Parameters
Type | Name | Description |
---|---|---|
DatevDueAsPeriod | input | Instance of DatevDueAsPeriod 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 |