Class CostCenterProperties
CostCenterProperties
Inheritance
Implements
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class CostCenterProperties : IEquatable<CostCenterProperties>, IValidatableObject
Constructors
| Improve this Doc View SourceCostCenterProperties(String, List<DatevCostCenterPropertyCharacteristic>, String)
Initializes a new instance of the CostCenterProperties class.
Declaration
public CostCenterProperties(string id = null, List<DatevCostCenterPropertyCharacteristic> characteristics = null, string description = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | ID of the cost center property, numbers from 1 to 9. |
System.Collections.Generic.List<DatevCostCenterPropertyCharacteristic> | characteristics | characteristics. |
System.String | description | (Bezeichnung) Description of the cost center property. |
Properties
| Improve this Doc View SourceCharacteristics
Gets or Sets Characteristics
Declaration
[DataMember(Name = "characteristics", EmitDefaultValue = false)]
public List<DatevCostCenterPropertyCharacteristic> Characteristics { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<DatevCostCenterPropertyCharacteristic> |
Description
(Bezeichnung) Description of the cost center property
Declaration
[DataMember(Name = "description", EmitDefaultValue = false)]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Bezeichnung) Description of the cost center property |
Id
ID of the cost center property, numbers from 1 to 9
Declaration
[DataMember(Name = "id", EmitDefaultValue = false)]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | ID of the cost center property, numbers from 1 to 9 |
Methods
| Improve this Doc View SourceEquals(CostCenterProperties)
Returns true if CostCenterProperties instances are equal
Declaration
public bool Equals(CostCenterProperties input)
Parameters
Type | Name | Description |
---|---|---|
CostCenterProperties | input | Instance of CostCenterProperties 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 |