/* * 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 devicefarm-2015-06-23.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.DeviceFarm.Model { /// /// The status of the offering. /// public partial class OfferingStatus { private DateTime? _effectiveOn; private Offering _offering; private int? _quantity; private OfferingTransactionType _type; /// /// Gets and sets the property EffectiveOn. /// /// The date on which the offering is effective. /// /// public DateTime EffectiveOn { get { return this._effectiveOn.GetValueOrDefault(); } set { this._effectiveOn = value; } } // Check to see if EffectiveOn property is set internal bool IsSetEffectiveOn() { return this._effectiveOn.HasValue; } /// /// Gets and sets the property Offering. /// /// Represents the metadata of an offering status. /// /// public Offering Offering { get { return this._offering; } set { this._offering = value; } } // Check to see if Offering property is set internal bool IsSetOffering() { return this._offering != null; } /// /// Gets and sets the property Quantity. /// /// The number of available devices in the offering. /// /// public int Quantity { get { return this._quantity.GetValueOrDefault(); } set { this._quantity = value; } } // Check to see if Quantity property is set internal bool IsSetQuantity() { return this._quantity.HasValue; } /// /// Gets and sets the property Type. /// /// The type specified for the offering status. /// /// public OfferingTransactionType Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }