/* * 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 apigateway-2015-07-09.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.APIGateway.Model { /// /// Represents a client certificate used to configure client-side SSL authentication while /// sending requests to the integration endpoint. /// public partial class ClientCertificate { private string _clientCertificateId; private DateTime? _createdDate; private string _description; private DateTime? _expirationDate; private string _pemEncodedCertificate; private Dictionary _tags = new Dictionary(); /// /// Gets and sets the property ClientCertificateId. /// /// The identifier of the client certificate. /// /// public string ClientCertificateId { get { return this._clientCertificateId; } set { this._clientCertificateId = value; } } // Check to see if ClientCertificateId property is set internal bool IsSetClientCertificateId() { return this._clientCertificateId != null; } /// /// Gets and sets the property CreatedDate. /// /// The timestamp when the client certificate was created. /// /// public DateTime CreatedDate { get { return this._createdDate.GetValueOrDefault(); } set { this._createdDate = value; } } // Check to see if CreatedDate property is set internal bool IsSetCreatedDate() { return this._createdDate.HasValue; } /// /// Gets and sets the property Description. /// /// The description of the client certificate. /// /// 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 ExpirationDate. /// /// The timestamp when the client certificate will expire. /// /// public DateTime ExpirationDate { get { return this._expirationDate.GetValueOrDefault(); } set { this._expirationDate = value; } } // Check to see if ExpirationDate property is set internal bool IsSetExpirationDate() { return this._expirationDate.HasValue; } /// /// Gets and sets the property PemEncodedCertificate. /// /// The PEM-encoded public key of the client certificate, which can be used to configure /// certificate authentication in the integration endpoint . /// /// public string PemEncodedCertificate { get { return this._pemEncodedCertificate; } set { this._pemEncodedCertificate = value; } } // Check to see if PemEncodedCertificate property is set internal bool IsSetPemEncodedCertificate() { return this._pemEncodedCertificate != null; } /// /// Gets and sets the property Tags. /// /// The collection of tags. Each tag element is associated with a given resource. /// /// public Dictionary Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }