/*
* 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 apigatewaymanagementapi-2018-11-29.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.ApiGatewayManagementApi.Model
{
///
/// This is the response object from the GetConnection operation.
///
public partial class GetConnectionResponse : AmazonWebServiceResponse
{
private DateTime? _connectedAt;
private Identity _identity;
private DateTime? _lastActiveAt;
///
/// Gets and sets the property ConnectedAt.
///
/// The time in ISO 8601 format for when the connection was established.
///
///
public DateTime ConnectedAt
{
get { return this._connectedAt.GetValueOrDefault(); }
set { this._connectedAt = value; }
}
// Check to see if ConnectedAt property is set
internal bool IsSetConnectedAt()
{
return this._connectedAt.HasValue;
}
///
/// Gets and sets the property Identity.
///
public Identity Identity
{
get { return this._identity; }
set { this._identity = value; }
}
// Check to see if Identity property is set
internal bool IsSetIdentity()
{
return this._identity != null;
}
///
/// Gets and sets the property LastActiveAt.
///
/// The time in ISO 8601 format for when the connection was last active.
///
///
public DateTime LastActiveAt
{
get { return this._lastActiveAt.GetValueOrDefault(); }
set { this._lastActiveAt = value; }
}
// Check to see if LastActiveAt property is set
internal bool IsSetLastActiveAt()
{
return this._lastActiveAt.HasValue;
}
}
}