< Summary

Class:Microsoft.Azure.Batch.Protocol.Models.CertificateGetOptions
Assembly:Microsoft.Azure.Batch
File(s):C:\Git\azure-sdk-for-net\sdk\batch\Microsoft.Azure.Batch\src\GeneratedProtocol\Models\CertificateGetOptions.cs
Covered lines:2
Uncovered lines:12
Coverable lines:14
Total lines:99
Line coverage:14.2% (2 of 14)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_Select()-0%100%
get_Timeout()-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\CertificateGetOptions.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 Get operation.
 20    /// </summary>
 21    public partial class CertificateGetOptions
 22    {
 23        /// <summary>
 24        /// Initializes a new instance of the CertificateGetOptions class.
 25        /// </summary>
 326        public CertificateGetOptions()
 27        {
 28            CustomInit();
 329        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the CertificateGetOptions class.
 33        /// </summary>
 34        /// <param name="select">An OData $select clause.</param>
 35        /// <param name="timeout">The maximum time that the server can spend
 36        /// processing the request, in seconds. The default is 30
 37        /// seconds.</param>
 38        /// <param name="clientRequestId">The caller-generated request
 39        /// identity, in the form of a GUID with no decoration such as curly
 40        /// braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.</param>
 41        /// <param name="returnClientRequestId">Whether the server should
 42        /// return the client-request-id in the response.</param>
 43        /// <param name="ocpDate">The time the request was issued. Client
 44        /// libraries typically set this to the current system clock time; set
 45        /// it explicitly if you are calling the REST API directly.</param>
 046        public CertificateGetOptions(string select = default(string), int? timeout = default(int?), System.Guid? clientR
 47        {
 048            Select = select;
 049            Timeout = timeout;
 050            ClientRequestId = clientRequestId;
 051            ReturnClientRequestId = returnClientRequestId;
 052            OcpDate = ocpDate;
 53            CustomInit();
 054        }
 55
 56        /// <summary>
 57        /// An initialization method that performs custom operations like setting defaults
 58        /// </summary>
 59        partial void CustomInit();
 60
 61        /// <summary>
 62        /// Gets or sets an OData $select clause.
 63        /// </summary>
 64        [Newtonsoft.Json.JsonIgnore]
 065        public string Select { get; set; }
 66
 67        /// <summary>
 68        /// Gets or sets the maximum time that the server can spend processing
 69        /// the request, in seconds. The default is 30 seconds.
 70        /// </summary>
 71        [Newtonsoft.Json.JsonIgnore]
 072        public int? Timeout { get; set; }
 73
 74        /// <summary>
 75        /// Gets or sets the caller-generated request identity, in the form of
 76        /// a GUID with no decoration such as curly braces, e.g.
 77        /// 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
 78        /// </summary>
 79        [Newtonsoft.Json.JsonIgnore]
 080        public System.Guid? ClientRequestId { get; set; }
 81
 82        /// <summary>
 83        /// Gets or sets whether the server should return the client-request-id
 84        /// in the response.
 85        /// </summary>
 86        [Newtonsoft.Json.JsonIgnore]
 087        public bool? ReturnClientRequestId { get; set; }
 88
 89        /// <summary>
 90        /// Gets or sets the time the request was issued. Client libraries
 91        /// typically set this to the current system clock time; set it
 92        /// explicitly if you are calling the REST API directly.
 93        /// </summary>
 94        [JsonConverter(typeof(DateTimeRfc1123JsonConverter))]
 95        [Newtonsoft.Json.JsonIgnore]
 096        public System.DateTime? OcpDate { get; set; }
 97
 98    }
 99}