/* * 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 nimble-2020-08-01.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.NimbleStudio.Model { /// /// Represents a EULA resource. /// public partial class Eula { private string _content; private DateTime? _createdAt; private string _eulaId; private string _name; private DateTime? _updatedAt; /// /// Gets and sets the property Content. /// /// The EULA content. /// /// public string Content { get { return this._content; } set { this._content = value; } } // Check to see if Content property is set internal bool IsSetContent() { return this._content != null; } /// /// Gets and sets the property CreatedAt. /// /// The ISO timestamp in seconds for when the resource was created. /// /// public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// /// Gets and sets the property EulaId. /// /// The EULA ID. /// /// [AWSProperty(Min=0, Max=22)] public string EulaId { get { return this._eulaId; } set { this._eulaId = value; } } // Check to see if EulaId property is set internal bool IsSetEulaId() { return this._eulaId != null; } /// /// Gets and sets the property Name. /// /// The name for the EULA. /// /// [AWSProperty(Min=0, Max=64)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property UpdatedAt. /// /// The ISO timestamp in seconds for when the resource was updated. /// /// public DateTime UpdatedAt { get { return this._updatedAt.GetValueOrDefault(); } set { this._updatedAt = value; } } // Check to see if UpdatedAt property is set internal bool IsSetUpdatedAt() { return this._updatedAt.HasValue; } } }