< Summary

Class:Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models.ErrorRecord
Assembly:Microsoft.Azure.CognitiveServices.Language.TextAnalytics
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Language.TextAnalytics\src\Generated\TextAnalytics\Models\ErrorRecord.cs
Covered lines:0
Uncovered lines:8
Coverable lines:8
Total lines:57
Line coverage:0% (0 of 8)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_Id()-0%100%
get_Message()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Language.TextAnalytics\src\Generated\TextAnalytics\Models\ErrorRecord.cs

#LineLine coverage
 1// <auto-generated>
 2// Copyright (c) Microsoft Corporation. All rights reserved.
 3// Licensed under the MIT License. See License.txt in the project root for
 4// license information.
 5//
 6// Code generated by Microsoft (R) AutoRest Code Generator.
 7// Changes may cause incorrect behavior and will be lost if the code is
 8// regenerated.
 9// </auto-generated>
 10
 11namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Linq;
 15
 16    public partial class ErrorRecord
 17    {
 18        /// <summary>
 19        /// Initializes a new instance of the ErrorRecord class.
 20        /// </summary>
 021        public ErrorRecord()
 22        {
 23            CustomInit();
 024        }
 25
 26        /// <summary>
 27        /// Initializes a new instance of the ErrorRecord class.
 28        /// </summary>
 29        /// <param name="id">Input document unique identifier the error refers
 30        /// to.</param>
 31        /// <param name="message">Error message.</param>
 032        public ErrorRecord(string id = default(string), string message = default(string))
 33        {
 034            Id = id;
 035            Message = message;
 36            CustomInit();
 037        }
 38
 39        /// <summary>
 40        /// An initialization method that performs custom operations like setting defaults
 41        /// </summary>
 42        partial void CustomInit();
 43
 44        /// <summary>
 45        /// Gets or sets input document unique identifier the error refers to.
 46        /// </summary>
 47        [JsonProperty(PropertyName = "id")]
 048        public string Id { get; set; }
 49
 50        /// <summary>
 51        /// Gets or sets error message.
 52        /// </summary>
 53        [JsonProperty(PropertyName = "message")]
 054        public string Message { get; set; }
 55
 56    }
 57}