Example #1
0
        /// <summary>
        /// Returns true if DictionaryStringInt64 instances are equal
        /// </summary>
        /// <param name="other">Instance of DictionaryStringInt64 to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(DictionaryStringInt64 other)
        {
            // credit: http://stackoverflow.com/a/10454552/677735
            if (other == null)
            {
                return(false);
            }

            return(false);
        }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DetectInvoiceResponse" /> class.
 /// </summary>
 /// <param name="DocumentResolution">Resolution of the original document in dpi..</param>
 /// <param name="Language">Resolution of the original document in dpi..</param>
 /// <param name="InvoiceDetailTypePredictions">List of Predictions - One for each predicted invoice detail..</param>
 /// <param name="PredictionGroups">List of PredictionGroups - One for each predicted invoice detail&lt;br&gt;e.g. VatGroup, containing predictions for Vat Rate, Net Amount and Vat Amount.</param>
 /// <param name="LineItems">List of predicted line items.</param>
 /// <param name="Sender">The sender of the invoice.</param>
 /// <param name="Receiver">The receiver of the invoice.</param>
 /// <param name="FormattedResult">Special invoice format. (for future use only).</param>
 /// <param name="IsQualityOk">Invoice quality flag. (for future use only).</param>
 /// <param name="OcrWordQuality">Measures ratio of word certainty (certainty vs. uncertainty). The higher the value the better.</param>
 /// <param name="MeanCharacterConfidenceValue">Mean character confidence value. 0 is very confident 100 is very incofident.</param>
 /// <param name="StdDevCharacterConfidenceValue">Standard deviation of character confidence value..</param>
 /// <param name="MaxCharacterConfidenceValue">Max character confidence value. 0 is very confident 100 is very incofident.</param>
 /// <param name="OcrResult">OCR-result as json string.</param>
 /// <param name="ResultPdf">Result pdf-document with marked predictions. (encoded as base64 string).</param>
 /// <param name="InvoiceState">Describes the state of the processed invoice. 0 &#x3D; Ok.</param>
 /// <param name="Measurements">Measurements.</param>
 public DetectInvoiceResponse(int?DocumentResolution = default(int?), string Language = default(string), List <DetectionResponse> InvoiceDetailTypePredictions = default(List <DetectionResponse>), List <DetectionGroupResponse> PredictionGroups = default(List <DetectionGroupResponse>), List <LineItemGroupResponse> LineItems = default(List <LineItemGroupResponse>), ContactResponse Sender = default(ContactResponse), ContactResponse Receiver = default(ContactResponse), string FormattedResult = default(string), bool?IsQualityOk = default(bool?), float?OcrWordQuality = default(float?), float?MeanCharacterConfidenceValue = default(float?), float?StdDevCharacterConfidenceValue = default(float?), int?MaxCharacterConfidenceValue = default(int?), string OcrResult = default(string), string ResultPdf = default(string), int?InvoiceState = default(int?), DictionaryStringInt64 Measurements = default(DictionaryStringInt64))
 {
     this.DocumentResolution           = DocumentResolution;
     this.Language                     = Language;
     this.InvoiceDetailTypePredictions = InvoiceDetailTypePredictions;
     this.PredictionGroups             = PredictionGroups;
     this.LineItems                    = LineItems;
     this.Sender          = Sender;
     this.Receiver        = Receiver;
     this.FormattedResult = FormattedResult;
     this.IsQualityOk     = IsQualityOk;
     this.OcrWordQuality  = OcrWordQuality;
     this.MeanCharacterConfidenceValue   = MeanCharacterConfidenceValue;
     this.StdDevCharacterConfidenceValue = StdDevCharacterConfidenceValue;
     this.MaxCharacterConfidenceValue    = MaxCharacterConfidenceValue;
     this.OcrResult    = OcrResult;
     this.ResultPdf    = ResultPdf;
     this.InvoiceState = InvoiceState;
     this.Measurements = Measurements;
 }