/* * 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 sagemaker-2017-07-24.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.SageMaker.Model { /// /// This is the response object from the DescribeCodeRepository operation. /// public partial class DescribeCodeRepositoryResponse : AmazonWebServiceResponse { private string _codeRepositoryArn; private string _codeRepositoryName; private DateTime? _creationTime; private GitConfig _gitConfig; private DateTime? _lastModifiedTime; /// /// Gets and sets the property CodeRepositoryArn. /// /// The Amazon Resource Name (ARN) of the Git repository. /// /// [AWSProperty(Required=true, Min=1, Max=2048)] public string CodeRepositoryArn { get { return this._codeRepositoryArn; } set { this._codeRepositoryArn = value; } } // Check to see if CodeRepositoryArn property is set internal bool IsSetCodeRepositoryArn() { return this._codeRepositoryArn != null; } /// /// Gets and sets the property CodeRepositoryName. /// /// The name of the Git repository. /// /// [AWSProperty(Required=true, Min=1, Max=63)] public string CodeRepositoryName { get { return this._codeRepositoryName; } set { this._codeRepositoryName = value; } } // Check to see if CodeRepositoryName property is set internal bool IsSetCodeRepositoryName() { return this._codeRepositoryName != null; } /// /// Gets and sets the property CreationTime. /// /// The date and time that the repository was created. /// /// [AWSProperty(Required=true)] public DateTime CreationTime { get { return this._creationTime.GetValueOrDefault(); } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime.HasValue; } /// /// Gets and sets the property GitConfig. /// /// Configuration details about the repository, including the URL where the repository /// is located, the default branch, and the Amazon Resource Name (ARN) of the Amazon Web /// Services Secrets Manager secret that contains the credentials used to access the repository. /// /// public GitConfig GitConfig { get { return this._gitConfig; } set { this._gitConfig = value; } } // Check to see if GitConfig property is set internal bool IsSetGitConfig() { return this._gitConfig != null; } /// /// Gets and sets the property LastModifiedTime. /// /// The date and time that the repository was last changed. /// /// [AWSProperty(Required=true)] public DateTime LastModifiedTime { get { return this._lastModifiedTime.GetValueOrDefault(); } set { this._lastModifiedTime = value; } } // Check to see if LastModifiedTime property is set internal bool IsSetLastModifiedTime() { return this._lastModifiedTime.HasValue; } } }