< Summary

Class:Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.PredictionQueryToken
Assembly:Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.CustomVision.Training\src\Generated\Models\PredictionQueryToken.cs
Covered lines:5
Uncovered lines:17
Coverable lines:22
Total lines:100
Line coverage:22.7% (5 of 22)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_Session()-100%100%
get_Continuation()-0%100%
get_MaxCount()-100%100%
get_OrderBy()-100%100%
get_Tags()-0%100%
get_IterationId()-0%100%
get_StartTime()-0%100%
get_EndTime()-0%100%
get_Application()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.CustomVision.Training\src\Generated\Models\PredictionQueryToken.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.Vision.CustomVision.Training.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Collections;
 15    using System.Collections.Generic;
 16    using System.Linq;
 17
 18    public partial class PredictionQueryToken
 19    {
 20        /// <summary>
 21        /// Initializes a new instance of the PredictionQueryToken class.
 22        /// </summary>
 823        public PredictionQueryToken()
 24        {
 25            CustomInit();
 826        }
 27
 28        /// <summary>
 29        /// Initializes a new instance of the PredictionQueryToken class.
 30        /// </summary>
 31        /// <param name="orderBy">Possible values include: 'Newest', 'Oldest',
 32        /// 'Suggested'</param>
 033        public PredictionQueryToken(string session = default(string), string continuation = default(string), int maxCoun
 34        {
 035            Session = session;
 036            Continuation = continuation;
 037            MaxCount = maxCount;
 038            OrderBy = orderBy;
 039            Tags = tags;
 040            IterationId = iterationId;
 041            StartTime = startTime;
 042            EndTime = endTime;
 043            Application = application;
 44            CustomInit();
 045        }
 46
 47        /// <summary>
 48        /// An initialization method that performs custom operations like setting defaults
 49        /// </summary>
 50        partial void CustomInit();
 51
 52        /// <summary>
 53        /// </summary>
 54        [JsonProperty(PropertyName = "session")]
 855        public string Session { get; set; }
 56
 57        /// <summary>
 58        /// </summary>
 59        [JsonProperty(PropertyName = "continuation")]
 060        public string Continuation { get; set; }
 61
 62        /// <summary>
 63        /// </summary>
 64        [JsonProperty(PropertyName = "maxCount")]
 865        public int MaxCount { get; set; }
 66
 67        /// <summary>
 68        /// Gets or sets possible values include: 'Newest', 'Oldest',
 69        /// 'Suggested'
 70        /// </summary>
 71        [JsonProperty(PropertyName = "orderBy")]
 1272        public string OrderBy { get; set; }
 73
 74        /// <summary>
 75        /// </summary>
 76        [JsonProperty(PropertyName = "tags")]
 077        public IList<PredictionQueryTag> Tags { get; set; }
 78
 79        /// <summary>
 80        /// </summary>
 81        [JsonProperty(PropertyName = "iterationId")]
 082        public System.Guid? IterationId { get; set; }
 83
 84        /// <summary>
 85        /// </summary>
 86        [JsonProperty(PropertyName = "startTime")]
 087        public System.DateTime? StartTime { get; set; }
 88
 89        /// <summary>
 90        /// </summary>
 91        [JsonProperty(PropertyName = "endTime")]
 092        public System.DateTime? EndTime { get; set; }
 93
 94        /// <summary>
 95        /// </summary>
 96        [JsonProperty(PropertyName = "application")]
 097        public string Application { get; set; }
 98
 99    }
 100}