/*
* 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
{
///
/// This is the response object from the CreateApplication operation.
///
public partial class CreateApplicationResponse : AmazonWebServiceResponse
{
private string _applicationId;
private string _author;
private string _creationTime;
private string _description;
private string _homePageUrl;
private bool? _isVerifiedAuthor;
private List _labels = new List();
private string _licenseUrl;
private string _name;
private string _readmeUrl;
private string _spdxLicenseId;
private string _verifiedAuthorUrl;
private Version _version;
///
/// Gets and sets the property ApplicationId.
///
/// The application Amazon Resource Name (ARN).
///
///
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])?$";
///
///
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
///
///
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 IsVerifiedAuthor.
///
/// Whether the author of this application has been verified. This means means that AWS
/// has made a good faith review, as a reasonable and prudent service provider, of the
/// information provided by the requester and has confirmed that the requester's identity
/// is as claimed.
///
///
public bool IsVerifiedAuthor
{
get { return this._isVerifiedAuthor.GetValueOrDefault(); }
set { this._isVerifiedAuthor = value; }
}
// Check to see if IsVerifiedAuthor property is set
internal bool IsSetIsVerifiedAuthor()
{
return this._isVerifiedAuthor.HasValue;
}
///
/// 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 LicenseUrl.
///
/// A link to a license file of the app that matches the spdxLicenseID value of your application.
///
///
///
/// Maximum size 5 MB
///
///
public string LicenseUrl
{
get { return this._licenseUrl; }
set { this._licenseUrl = value; }
}
// Check to see if LicenseUrl property is set
internal bool IsSetLicenseUrl()
{
return this._licenseUrl != null;
}
///
/// Gets and sets the property Name.
///
/// The name of the application.
///
///
///
/// Minimum length=1. Maximum length=140
///
///
///
/// Pattern: "[a-zA-Z0-9\\-]+";
///
///
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 ReadmeUrl.
///
/// A link to the readme file in Markdown language that contains a more detailed description
/// of the application and how it works.
///
///
///
/// Maximum size 5 MB
///
///
public string ReadmeUrl
{
get { return this._readmeUrl; }
set { this._readmeUrl = value; }
}
// Check to see if ReadmeUrl property is set
internal bool IsSetReadmeUrl()
{
return this._readmeUrl != 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;
}
///
/// Gets and sets the property VerifiedAuthorUrl.
///
/// The URL to the public profile of a verified author. This URL is submitted by the author.
///
///
public string VerifiedAuthorUrl
{
get { return this._verifiedAuthorUrl; }
set { this._verifiedAuthorUrl = value; }
}
// Check to see if VerifiedAuthorUrl property is set
internal bool IsSetVerifiedAuthorUrl()
{
return this._verifiedAuthorUrl != null;
}
///
/// Gets and sets the property Version.
///
/// Version information about the application.
///
///
public Version Version
{
get { return this._version; }
set { this._version = value; }
}
// Check to see if Version property is set
internal bool IsSetVersion()
{
return this._version != null;
}
}
}