/*
* 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 workdocs-2016-05-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.WorkDocs.Model
{
///
/// Describes the metadata of the user.
///
public partial class UserMetadata
{
private string _emailAddress;
private string _givenName;
private string _id;
private string _surname;
private string _username;
///
/// Gets and sets the property EmailAddress.
///
/// The email address of the user.
///
///
[AWSProperty(Sensitive=true, Min=1, Max=256)]
public string EmailAddress
{
get { return this._emailAddress; }
set { this._emailAddress = value; }
}
// Check to see if EmailAddress property is set
internal bool IsSetEmailAddress()
{
return this._emailAddress != null;
}
///
/// Gets and sets the property GivenName.
///
/// The given name of the user before a rename operation.
///
///
[AWSProperty(Sensitive=true, Min=1, Max=64)]
public string GivenName
{
get { return this._givenName; }
set { this._givenName = value; }
}
// Check to see if GivenName property is set
internal bool IsSetGivenName()
{
return this._givenName != null;
}
///
/// Gets and sets the property Id.
///
/// The ID of the user.
///
///
[AWSProperty(Min=1, Max=256)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
///
/// Gets and sets the property Surname.
///
/// The surname of the user.
///
///
[AWSProperty(Sensitive=true, Min=1, Max=64)]
public string Surname
{
get { return this._surname; }
set { this._surname = value; }
}
// Check to see if Surname property is set
internal bool IsSetSurname()
{
return this._surname != null;
}
///
/// Gets and sets the property Username.
///
/// The name of the user.
///
///
[AWSProperty(Sensitive=true, Min=1, Max=256)]
public string Username
{
get { return this._username; }
set { this._username = value; }
}
// Check to see if Username property is set
internal bool IsSetUsername()
{
return this._username != null;
}
}
}