Class BatchResponseMessage
BatchResponseMessage
Inheritance
Implements
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class BatchResponseMessage : IEquatable<BatchResponseMessage>, IValidatableObject
Constructors
| Improve this Doc View SourceBatchResponseMessage(String, List<DatevSucceeded>, List<DatevFailed>)
Initializes a new instance of the BatchResponseMessage class.
Declaration
public BatchResponseMessage(string id = null, List<DatevSucceeded> succeeded = null, List<DatevFailed> failed = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | ID. |
System.Collections.Generic.List<DatevSucceeded> | succeeded | (Erfolgreich verarbeitete Objekte) List of successfully processed objects. |
System.Collections.Generic.List<DatevFailed> | failed | (Nicht erfolgreich verarbeitete Objekte) List of failed processed objects. |
Properties
| Improve this Doc View SourceFailed
(Nicht erfolgreich verarbeitete Objekte) List of failed processed objects
Declaration
[DataMember(Name = "failed", EmitDefaultValue = false)]
public List<DatevFailed> Failed { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<DatevFailed> | (Nicht erfolgreich verarbeitete Objekte) List of failed processed objects |
Id
ID
Declaration
[DataMember(Name = "id", EmitDefaultValue = false)]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | ID |
Succeeded
(Erfolgreich verarbeitete Objekte) List of successfully processed objects
Declaration
[DataMember(Name = "succeeded", EmitDefaultValue = false)]
public List<DatevSucceeded> Succeeded { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<DatevSucceeded> | (Erfolgreich verarbeitete Objekte) List of successfully processed objects |
Methods
| Improve this Doc View SourceEquals(BatchResponseMessage)
Returns true if BatchResponseMessage instances are equal
Declaration
public bool Equals(BatchResponseMessage input)
Parameters
Type | Name | Description |
---|---|---|
BatchResponseMessage | input | Instance of BatchResponseMessage 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 |