/*
* 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
{
///
/// An application version summary.
///
public partial class VersionSummary
{
private string _applicationId;
private string _creationTime;
private string _semanticVersion;
private string _sourceCodeUrl;
///
/// 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 CreationTime.
///
/// The date and time this resource was created.
///
///
[AWSProperty(Required=true)]
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 SemanticVersion.
///
/// The semantic version of the application:
///
///
///
/// https://semver.org/
///
///
[AWSProperty(Required=true)]
public string SemanticVersion
{
get { return this._semanticVersion; }
set { this._semanticVersion = value; }
}
// Check to see if SemanticVersion property is set
internal bool IsSetSemanticVersion()
{
return this._semanticVersion != null;
}
///
/// Gets and sets the property SourceCodeUrl.
///
/// A link to a public repository for the source code of your application, for example
/// the URL of a specific GitHub commit.
///
///
public string SourceCodeUrl
{
get { return this._sourceCodeUrl; }
set { this._sourceCodeUrl = value; }
}
// Check to see if SourceCodeUrl property is set
internal bool IsSetSourceCodeUrl()
{
return this._sourceCodeUrl != null;
}
}
}