/* * 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 serverlessrepo-2017-09-08.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.ServerlessApplicationRepository.Model { /// /// Summary of details about the application. /// public partial class ApplicationSummary { private string _applicationId; private string _author; private string _creationTime; private string _description; private string _homePageUrl; private List _labels = new List(); private string _name; private string _spdxLicenseId; /// /// Gets and sets the property ApplicationId. /// /// The application Amazon Resource Name (ARN). /// /// [AWSProperty(Required=true)] public string ApplicationId { get { return this._applicationId; } set { this._applicationId = value; } } // Check to see if ApplicationId property is set internal bool IsSetApplicationId() { return this._applicationId != null; } /// /// Gets and sets the property Author. /// /// The name of the author publishing the app. /// /// /// /// Minimum length=1. Maximum length=127. /// /// /// /// Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$"; /// /// [AWSProperty(Required=true)] public string Author { get { return this._author; } set { this._author = value; } } // Check to see if Author property is set internal bool IsSetAuthor() { return this._author != null; } /// /// Gets and sets the property CreationTime. /// /// The date and time this resource was created. /// /// public string CreationTime { get { return this._creationTime; } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime != null; } /// /// Gets and sets the property Description. /// /// The description of the application. /// /// /// /// Minimum length=1. Maximum length=256 /// /// [AWSProperty(Required=true)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property HomePageUrl. /// /// A URL with more information about the application, for example the location of your /// GitHub repository for the application. /// /// public string HomePageUrl { get { return this._homePageUrl; } set { this._homePageUrl = value; } } // Check to see if HomePageUrl property is set internal bool IsSetHomePageUrl() { return this._homePageUrl != null; } /// /// Gets and sets the property Labels. /// /// Labels to improve discovery of apps in search results. /// /// /// /// Minimum length=1. Maximum length=127. Maximum number of labels: 10 /// /// /// /// Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$"; /// /// public List Labels { get { return this._labels; } set { this._labels = value; } } // Check to see if Labels property is set internal bool IsSetLabels() { return this._labels != null && this._labels.Count > 0; } /// /// Gets and sets the property Name. /// /// The name of the application. /// /// /// /// Minimum length=1. Maximum length=140 /// /// /// /// Pattern: "[a-zA-Z0-9\\-]+"; /// /// [AWSProperty(Required=true)] 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 SpdxLicenseId. /// /// A valid identifier from https://spdx.org/licenses/. /// /// public string SpdxLicenseId { get { return this._spdxLicenseId; } set { this._spdxLicenseId = value; } } // Check to see if SpdxLicenseId property is set internal bool IsSetSpdxLicenseId() { return this._spdxLicenseId != null; } } }