/* * 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 marketplace-catalog-2018-09-17.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.MarketplaceCatalog.Model { /// /// This object is a container for common summary information about the change. The summary /// doesn't contain the whole change structure. /// public partial class ChangeSummary { private string _changeName; private string _changeType; private string _details; private Entity _entity; private List _errorDetailList = new List(); /// /// Gets and sets the property ChangeName. /// /// Optional name for the change. /// /// [AWSProperty(Min=1, Max=72)] public string ChangeName { get { return this._changeName; } set { this._changeName = value; } } // Check to see if ChangeName property is set internal bool IsSetChangeName() { return this._changeName != null; } /// /// Gets and sets the property ChangeType. /// /// The type of the change. /// /// [AWSProperty(Min=1, Max=255)] public string ChangeType { get { return this._changeType; } set { this._changeType = value; } } // Check to see if ChangeType property is set internal bool IsSetChangeType() { return this._changeType != null; } /// /// Gets and sets the property Details. /// /// This object contains details specific to the change type of the requested change. /// /// [AWSProperty(Min=2, Max=16384)] public string Details { get { return this._details; } set { this._details = value; } } // Check to see if Details property is set internal bool IsSetDetails() { return this._details != null; } /// /// Gets and sets the property Entity. /// /// The entity to be changed. /// /// public Entity Entity { get { return this._entity; } set { this._entity = value; } } // Check to see if Entity property is set internal bool IsSetEntity() { return this._entity != null; } /// /// Gets and sets the property ErrorDetailList. /// /// An array of ErrorDetail objects associated with the change. /// /// public List ErrorDetailList { get { return this._errorDetailList; } set { this._errorDetailList = value; } } // Check to see if ErrorDetailList property is set internal bool IsSetErrorDetailList() { return this._errorDetailList != null && this._errorDetailList.Count > 0; } } }