/* * 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 ecr-2015-09-21.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.ECR.Model { /// /// Information about the CVSS score. /// public partial class CvssScoreDetails { private List _adjustments = new List(); private double? _score; private string _scoreSource; private string _scoringVector; private string _version; /// /// Gets and sets the property Adjustments. /// /// An object that contains details about adjustment Amazon Inspector made to the CVSS /// score. /// /// public List Adjustments { get { return this._adjustments; } set { this._adjustments = value; } } // Check to see if Adjustments property is set internal bool IsSetAdjustments() { return this._adjustments != null && this._adjustments.Count > 0; } /// /// Gets and sets the property Score. /// /// The CVSS score. /// /// public double Score { get { return this._score.GetValueOrDefault(); } set { this._score = value; } } // Check to see if Score property is set internal bool IsSetScore() { return this._score.HasValue; } /// /// Gets and sets the property ScoreSource. /// /// The source for the CVSS score. /// /// public string ScoreSource { get { return this._scoreSource; } set { this._scoreSource = value; } } // Check to see if ScoreSource property is set internal bool IsSetScoreSource() { return this._scoreSource != null; } /// /// Gets and sets the property ScoringVector. /// /// The vector for the CVSS score. /// /// public string ScoringVector { get { return this._scoringVector; } set { this._scoringVector = value; } } // Check to see if ScoringVector property is set internal bool IsSetScoringVector() { return this._scoringVector != null; } /// /// Gets and sets the property Version. /// /// The CVSS version used in scoring. /// /// public string Version { get { return this._version; } set { this._version = value; } } // Check to see if Version property is set internal bool IsSetVersion() { return this._version != null; } } }