/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the codeguru-reviewer-2019-09-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CodeGuruReviewer.Model { /// /// Information about the statistics from the code review. /// public partial class Metrics { private long? _findingsCount; private long? _meteredLinesOfCodeCount; private long? _suppressedLinesOfCodeCount; /// /// Gets and sets the property FindingsCount. /// /// Total number of recommendations found in the code review. /// /// public long FindingsCount { get { return this._findingsCount.GetValueOrDefault(); } set { this._findingsCount = value; } } // Check to see if FindingsCount property is set internal bool IsSetFindingsCount() { return this._findingsCount.HasValue; } /// /// Gets and sets the property MeteredLinesOfCodeCount. /// /// MeteredLinesOfCodeCount is the number of lines of code in the repository /// where the code review happened. This does not include non-code lines such as comments /// and blank lines. /// /// public long MeteredLinesOfCodeCount { get { return this._meteredLinesOfCodeCount.GetValueOrDefault(); } set { this._meteredLinesOfCodeCount = value; } } // Check to see if MeteredLinesOfCodeCount property is set internal bool IsSetMeteredLinesOfCodeCount() { return this._meteredLinesOfCodeCount.HasValue; } /// /// Gets and sets the property SuppressedLinesOfCodeCount. /// /// SuppressedLinesOfCodeCount is the number of lines of code in the repository /// where the code review happened that CodeGuru Reviewer did not analyze. The lines suppressed /// in the analysis is based on the excludeFiles variable in the aws-codeguru-reviewer.yml /// file. This number does not include non-code lines such as comments and blank lines. /// /// /// public long SuppressedLinesOfCodeCount { get { return this._suppressedLinesOfCodeCount.GetValueOrDefault(); } set { this._suppressedLinesOfCodeCount = value; } } // Check to see if SuppressedLinesOfCodeCount property is set internal bool IsSetSuppressedLinesOfCodeCount() { return this._suppressedLinesOfCodeCount.HasValue; } } }