< Summary

Class:Microsoft.Azure.Batch.Protocol.Models.JobScheduleListNextOptions
Assembly:Microsoft.Azure.Batch
File(s):C:\Git\azure-sdk-for-net\sdk\batch\Microsoft.Azure.Batch\src\GeneratedProtocol\Models\JobScheduleListNextOptions.cs
Covered lines:2
Uncovered lines:8
Coverable lines:10
Total lines:80
Line coverage:20% (2 of 10)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_ClientRequestId()-0%100%
get_ReturnClientRequestId()-0%100%
get_OcpDate()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\batch\Microsoft.Azure.Batch\src\GeneratedProtocol\Models\JobScheduleListNextOptions.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.Batch.Protocol.Models
 12{
 13    using Microsoft.Rest;
 14    using Microsoft.Rest.Serialization;
 15    using Newtonsoft.Json;
 16    using System.Linq;
 17
 18    /// <summary>
 19    /// Additional parameters for ListNext operation.
 20    /// </summary>
 21    public partial class JobScheduleListNextOptions
 22    {
 23        /// <summary>
 24        /// Initializes a new instance of the JobScheduleListNextOptions class.
 25        /// </summary>
 126        public JobScheduleListNextOptions()
 27        {
 28            CustomInit();
 129        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the JobScheduleListNextOptions class.
 33        /// </summary>
 34        /// <param name="clientRequestId">The caller-generated request
 35        /// identity, in the form of a GUID with no decoration such as curly
 36        /// braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.</param>
 37        /// <param name="returnClientRequestId">Whether the server should
 38        /// return the client-request-id in the response.</param>
 39        /// <param name="ocpDate">The time the request was issued. Client
 40        /// libraries typically set this to the current system clock time; set
 41        /// it explicitly if you are calling the REST API directly.</param>
 042        public JobScheduleListNextOptions(System.Guid? clientRequestId = default(System.Guid?), bool? returnClientReques
 43        {
 044            ClientRequestId = clientRequestId;
 045            ReturnClientRequestId = returnClientRequestId;
 046            OcpDate = ocpDate;
 47            CustomInit();
 048        }
 49
 50        /// <summary>
 51        /// An initialization method that performs custom operations like setting defaults
 52        /// </summary>
 53        partial void CustomInit();
 54
 55        /// <summary>
 56        /// Gets or sets the caller-generated request identity, in the form of
 57        /// a GUID with no decoration such as curly braces, e.g.
 58        /// 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
 59        /// </summary>
 60        [Newtonsoft.Json.JsonIgnore]
 061        public System.Guid? ClientRequestId { get; set; }
 62
 63        /// <summary>
 64        /// Gets or sets whether the server should return the client-request-id
 65        /// in the response.
 66        /// </summary>
 67        [Newtonsoft.Json.JsonIgnore]
 068        public bool? ReturnClientRequestId { get; set; }
 69
 70        /// <summary>
 71        /// Gets or sets the time the request was issued. Client libraries
 72        /// typically set this to the current system clock time; set it
 73        /// explicitly if you are calling the REST API directly.
 74        /// </summary>
 75        [JsonConverter(typeof(DateTimeRfc1123JsonConverter))]
 76        [Newtonsoft.Json.JsonIgnore]
 077        public System.DateTime? OcpDate { get; set; }
 78
 79    }
 80}