/*
* 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 ecr-2015-09-21.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.ECR.Model
{
///
/// The image details of the Amazon ECR container image.
///
public partial class AwsEcrContainerImageDetails
{
private string _architecture;
private string _author;
private string _imageHash;
private List _imageTags = new List();
private string _platform;
private DateTime? _pushedAt;
private string _registry;
private string _repositoryName;
///
/// Gets and sets the property Architecture.
///
/// The architecture of the Amazon ECR container image.
///
///
public string Architecture
{
get { return this._architecture; }
set { this._architecture = value; }
}
// Check to see if Architecture property is set
internal bool IsSetArchitecture()
{
return this._architecture != null;
}
///
/// Gets and sets the property Author.
///
/// The image author of the Amazon ECR container image.
///
///
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 ImageHash.
///
/// The image hash of the Amazon ECR container image.
///
///
public string ImageHash
{
get { return this._imageHash; }
set { this._imageHash = value; }
}
// Check to see if ImageHash property is set
internal bool IsSetImageHash()
{
return this._imageHash != null;
}
///
/// Gets and sets the property ImageTags.
///
/// The image tags attached to the Amazon ECR container image.
///
///
public List ImageTags
{
get { return this._imageTags; }
set { this._imageTags = value; }
}
// Check to see if ImageTags property is set
internal bool IsSetImageTags()
{
return this._imageTags != null && this._imageTags.Count > 0;
}
///
/// Gets and sets the property Platform.
///
/// The platform of the Amazon ECR container image.
///
///
public string Platform
{
get { return this._platform; }
set { this._platform = value; }
}
// Check to see if Platform property is set
internal bool IsSetPlatform()
{
return this._platform != null;
}
///
/// Gets and sets the property PushedAt.
///
/// The date and time the Amazon ECR container image was pushed.
///
///
public DateTime PushedAt
{
get { return this._pushedAt.GetValueOrDefault(); }
set { this._pushedAt = value; }
}
// Check to see if PushedAt property is set
internal bool IsSetPushedAt()
{
return this._pushedAt.HasValue;
}
///
/// Gets and sets the property Registry.
///
/// The registry the Amazon ECR container image belongs to.
///
///
public string Registry
{
get { return this._registry; }
set { this._registry = value; }
}
// Check to see if Registry property is set
internal bool IsSetRegistry()
{
return this._registry != null;
}
///
/// Gets and sets the property RepositoryName.
///
/// The name of the repository the Amazon ECR container image resides in.
///
///
[AWSProperty(Min=2, Max=256)]
public string RepositoryName
{
get { return this._repositoryName; }
set { this._repositoryName = value; }
}
// Check to see if RepositoryName property is set
internal bool IsSetRepositoryName()
{
return this._repositoryName != null;
}
}
}