/*
* 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 lightsail-2016-11-28.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.Lightsail.Model
{
///
/// Describes an instance snapshot.
///
public partial class InstanceSnapshotInfo
{
private string _fromBlueprintId;
private string _fromBundleId;
private List _fromDiskInfo = new List();
///
/// Gets and sets the property FromBlueprintId.
///
/// The blueprint ID from which the source instance (e.g., os_debian_8_3
).
///
///
public string FromBlueprintId
{
get { return this._fromBlueprintId; }
set { this._fromBlueprintId = value; }
}
// Check to see if FromBlueprintId property is set
internal bool IsSetFromBlueprintId()
{
return this._fromBlueprintId != null;
}
///
/// Gets and sets the property FromBundleId.
///
/// The bundle ID from which the source instance was created (e.g., micro_1_0
).
///
///
public string FromBundleId
{
get { return this._fromBundleId; }
set { this._fromBundleId = value; }
}
// Check to see if FromBundleId property is set
internal bool IsSetFromBundleId()
{
return this._fromBundleId != null;
}
///
/// Gets and sets the property FromDiskInfo.
///
/// A list of objects describing the disks that were attached to the source instance.
///
///
public List FromDiskInfo
{
get { return this._fromDiskInfo; }
set { this._fromDiskInfo = value; }
}
// Check to see if FromDiskInfo property is set
internal bool IsSetFromDiskInfo()
{
return this._fromDiskInfo != null && this._fromDiskInfo.Count > 0;
}
}
}