/* * 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 the times when message are allowed to be sent to endpoints. /// public partial class OpenHours { private Dictionary> _custom = new Dictionary>(); private Dictionary> _email = new Dictionary>(); private Dictionary> _push = new Dictionary>(); private Dictionary> _sms = new Dictionary>(); private Dictionary> _voice = new Dictionary>(); /// /// Gets and sets the property CUSTOM. /// /// Specifies the schedule settings for the custom channel. /// /// public Dictionary> CUSTOM { get { return this._custom; } set { this._custom = value; } } // Check to see if CUSTOM property is set internal bool IsSetCUSTOM() { return this._custom != null && this._custom.Count > 0; } /// /// Gets and sets the property EMAIL. /// /// Specifies the schedule settings for the email channel. /// /// public Dictionary> EMAIL { get { return this._email; } set { this._email = value; } } // Check to see if EMAIL property is set internal bool IsSetEMAIL() { return this._email != null && this._email.Count > 0; } /// /// Gets and sets the property PUSH. /// /// Specifies the schedule settings for the push channel. /// /// public Dictionary> PUSH { get { return this._push; } set { this._push = value; } } // Check to see if PUSH property is set internal bool IsSetPUSH() { return this._push != null && this._push.Count > 0; } /// /// Gets and sets the property SMS. /// /// Specifies the schedule settings for the SMS channel. /// /// public Dictionary> SMS { get { return this._sms; } set { this._sms = value; } } // Check to see if SMS property is set internal bool IsSetSMS() { return this._sms != null && this._sms.Count > 0; } /// /// Gets and sets the property VOICE. /// /// Specifies the schedule settings for the voice channel. /// /// public Dictionary> VOICE { get { return this._voice; } set { this._voice = value; } } // Check to see if VOICE property is set internal bool IsSetVOICE() { return this._voice != null && this._voice.Count > 0; } } }