/* * 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 inspector-2016-02-16.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.Inspector.Model { /// /// This is the response object from the DescribeAssessmentRuns operation. /// public partial class DescribeAssessmentRunsResponse : AmazonWebServiceResponse { private List _assessmentRuns = new List(); private Dictionary _failedItems = new Dictionary(); /// /// Gets and sets the property AssessmentRuns. /// /// Information about the assessment run. /// /// [AWSProperty(Required=true, Min=0, Max=10)] public List AssessmentRuns { get { return this._assessmentRuns; } set { this._assessmentRuns = value; } } // Check to see if AssessmentRuns property is set internal bool IsSetAssessmentRuns() { return this._assessmentRuns != null && this._assessmentRuns.Count > 0; } /// /// Gets and sets the property FailedItems. /// /// Assessment run details that cannot be described. An error code is provided for each /// failed item. /// /// [AWSProperty(Required=true)] public Dictionary FailedItems { get { return this._failedItems; } set { this._failedItems = value; } } // Check to see if FailedItems property is set internal bool IsSetFailedItems() { return this._failedItems != null && this._failedItems.Count > 0; } } }