/* * 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 inspector2-2020-06-08.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.Inspector2.Model { /// /// The Common Vulnerability Scoring System (CVSS) version 2 details for the vulnerability. /// public partial class Cvss2 { private double? _baseScore; private string _scoringVector; /// /// Gets and sets the property BaseScore. /// /// The CVSS v2 base score for the vulnerability. /// /// 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 scoring vector associated with the CVSS v2 score. /// /// [AWSProperty(Min=0)] 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; } } }