< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_Code()-0%100%
get_Message()-0%100%
get_Target()-0%100%
get_InnerError()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Language.TextAnalytics\src\Generated\TextAnalytics\Models\ErrorResponse.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 ErrorResponse
 17    {
 18        /// <summary>
 19        /// Initializes a new instance of the ErrorResponse class.
 20        /// </summary>
 021        public ErrorResponse()
 22        {
 23            CustomInit();
 024        }
 25
 26        /// <summary>
 27        /// Initializes a new instance of the ErrorResponse class.
 28        /// </summary>
 029        public ErrorResponse(string code = default(string), string message = default(string), string target = default(st
 30        {
 031            Code = code;
 032            Message = message;
 033            Target = target;
 034            InnerError = innerError;
 35            CustomInit();
 036        }
 37
 38        /// <summary>
 39        /// An initialization method that performs custom operations like setting defaults
 40        /// </summary>
 41        partial void CustomInit();
 42
 43        /// <summary>
 44        /// </summary>
 45        [JsonProperty(PropertyName = "code")]
 046        public string Code { get; set; }
 47
 48        /// <summary>
 49        /// </summary>
 50        [JsonProperty(PropertyName = "message")]
 051        public string Message { get; set; }
 52
 53        /// <summary>
 54        /// </summary>
 55        [JsonProperty(PropertyName = "target")]
 056        public string Target { get; set; }
 57
 58        /// <summary>
 59        /// </summary>
 60        [JsonProperty(PropertyName = "innerError")]
 061        public InternalError InnerError { get; set; }
 62
 63    }
 64}