/*
* 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 pinpoint-2016-12-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.Pinpoint.Model
{
///
/// Specifies demographic information about an endpoint, such as the applicable time zone
/// and platform.
///
public partial class EndpointDemographic
{
private string _appVersion;
private string _locale;
private string _make;
private string _model;
private string _modelVersion;
private string _platform;
private string _platformVersion;
private string _timezone;
///
/// Gets and sets the property AppVersion.
///
/// The version of the app that's associated with the endpoint.
///
///
public string AppVersion
{
get { return this._appVersion; }
set { this._appVersion = value; }
}
// Check to see if AppVersion property is set
internal bool IsSetAppVersion()
{
return this._appVersion != null;
}
///
/// Gets and sets the property Locale.
///
/// The locale of the endpoint, in the following format: the ISO 639-1 alpha-2 code, followed
/// by an underscore (_), followed by an ISO 3166-1 alpha-2 value.
///
///
public string Locale
{
get { return this._locale; }
set { this._locale = value; }
}
// Check to see if Locale property is set
internal bool IsSetLocale()
{
return this._locale != null;
}
///
/// Gets and sets the property Make.
///
/// The manufacturer of the endpoint device, such as apple or samsung.
///
///
public string Make
{
get { return this._make; }
set { this._make = value; }
}
// Check to see if Make property is set
internal bool IsSetMake()
{
return this._make != null;
}
///
/// Gets and sets the property Model.
///
/// The model name or number of the endpoint device, such as iPhone or SM-G900F.
///
///
public string Model
{
get { return this._model; }
set { this._model = value; }
}
// Check to see if Model property is set
internal bool IsSetModel()
{
return this._model != null;
}
///
/// Gets and sets the property ModelVersion.
///
/// The model version of the endpoint device.
///
///
public string ModelVersion
{
get { return this._modelVersion; }
set { this._modelVersion = value; }
}
// Check to see if ModelVersion property is set
internal bool IsSetModelVersion()
{
return this._modelVersion != null;
}
///
/// Gets and sets the property Platform.
///
/// The platform of the endpoint device, such as ios.
///
///
public string Platform
{
get { return this._platform; }
set { this._platform = value; }
}
// Check to see if Platform property is set
internal bool IsSetPlatform()
{
return this._platform != null;
}
///
/// Gets and sets the property PlatformVersion.
///
/// The platform version of the endpoint device.
///
///
public string PlatformVersion
{
get { return this._platformVersion; }
set { this._platformVersion = value; }
}
// Check to see if PlatformVersion property is set
internal bool IsSetPlatformVersion()
{
return this._platformVersion != null;
}
///
/// Gets and sets the property Timezone.
///
/// The time zone of the endpoint, specified as a tz database name value, such as America/Los_Angeles.
///
///
public string Timezone
{
get { return this._timezone; }
set { this._timezone = value; }
}
// Check to see if Timezone property is set
internal bool IsSetTimezone()
{
return this._timezone != null;
}
}
}