/* * 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 { /// /// The CVSS score for a finding. /// public partial class CvssScore { private double? _baseScore; private string _scoringVector; private string _source; private string _version; /// /// Gets and sets the property BaseScore. /// /// The base CVSS score used for the finding. /// /// public double BaseScore { get { return this._baseScore.GetValueOrDefault(); } set { this._baseScore = value; } } // Check to see if BaseScore property is set internal bool IsSetBaseScore() { return this._baseScore.HasValue; } /// /// Gets and sets the property ScoringVector. /// /// The vector string of 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 Source. /// /// The source of the CVSS score. /// /// public string Source { get { return this._source; } set { this._source = value; } } // Check to see if Source property is set internal bool IsSetSource() { return this._source != null; } /// /// Gets and sets the property Version. /// /// The version of CVSS used for the score. /// /// 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; } } }