/* * 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 workmail-2017-10-01.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.WorkMail.Model { /// /// This is the response object from the DescribeGroup operation. /// public partial class DescribeGroupResponse : AmazonWebServiceResponse { private DateTime? _disabledDate; private string _email; private DateTime? _enabledDate; private string _groupId; private string _name; private EntityState _state; /// /// Gets and sets the property DisabledDate. /// /// The date and time when a user was deregistered from WorkMail, in UNIX epoch time format. /// /// public DateTime DisabledDate { get { return this._disabledDate.GetValueOrDefault(); } set { this._disabledDate = value; } } // Check to see if DisabledDate property is set internal bool IsSetDisabledDate() { return this._disabledDate.HasValue; } /// /// Gets and sets the property Email. /// /// The email of the described group. /// /// [AWSProperty(Min=1, Max=254)] public string Email { get { return this._email; } set { this._email = value; } } // Check to see if Email property is set internal bool IsSetEmail() { return this._email != null; } /// /// Gets and sets the property EnabledDate. /// /// The date and time when a user was registered to WorkMail, in UNIX epoch time format. /// /// public DateTime EnabledDate { get { return this._enabledDate.GetValueOrDefault(); } set { this._enabledDate = value; } } // Check to see if EnabledDate property is set internal bool IsSetEnabledDate() { return this._enabledDate.HasValue; } /// /// Gets and sets the property GroupId. /// /// The identifier of the described group. /// /// [AWSProperty(Min=12, Max=256)] public string GroupId { get { return this._groupId; } set { this._groupId = value; } } // Check to see if GroupId property is set internal bool IsSetGroupId() { return this._groupId != null; } /// /// Gets and sets the property Name. /// /// The name of the described group. /// /// [AWSProperty(Min=1, Max=256)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property State. /// /// The state of the user: enabled (registered to WorkMail) or disabled (deregistered /// or never registered to WorkMail). /// /// public EntityState State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } } }