< Summary

Class:Microsoft.Azure.CognitiveServices.ContentModerator.Models.BodyModel
Assembly:Microsoft.Azure.CognitiveServices.Vision.ContentModerator
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.ContentModerator\src\Generated\Models\BodyModel.cs
Covered lines:0
Uncovered lines:8
Coverable lines:8
Total lines:48
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_DataRepresentation()-0%100%
get_Value()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.ContentModerator\src\Generated\Models\BodyModel.cs

#LineLine coverage
 1// <auto-generated>
 2// Code generated by Microsoft (R) AutoRest Code Generator.
 3// Changes may cause incorrect behavior and will be lost if the code is
 4// regenerated.
 5// </auto-generated>
 6
 7namespace Microsoft.Azure.CognitiveServices.ContentModerator.Models
 8{
 9    using Newtonsoft.Json;
 10    using System.Linq;
 11
 12    public partial class BodyModel
 13    {
 14        /// <summary>
 15        /// Initializes a new instance of the BodyModel class.
 16        /// </summary>
 017        public BodyModel()
 18        {
 19            CustomInit();
 020        }
 21
 22        /// <summary>
 23        /// Initializes a new instance of the BodyModel class.
 24        /// </summary>
 025        public BodyModel(string dataRepresentation = default(string), string value = default(string))
 26        {
 027            DataRepresentation = dataRepresentation;
 028            Value = value;
 29            CustomInit();
 030        }
 31
 32        /// <summary>
 33        /// An initialization method that performs custom operations like setting defaults
 34        /// </summary>
 35        partial void CustomInit();
 36
 37        /// <summary>
 38        /// </summary>
 39        [JsonProperty(PropertyName = "DataRepresentation")]
 040        public string DataRepresentation { get; set; }
 41
 42        /// <summary>
 43        /// </summary>
 44        [JsonProperty(PropertyName = "Value")]
 045        public string Value { get; set; }
 46
 47    }
 48}