/* * 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 { /// /// Provides information about the results of a request to create or update an endpoint /// that's associated with an event. /// public partial class ItemResponse { private EndpointItemResponse _endpointItemResponse; private Dictionary _eventsItemResponse = new Dictionary(); /// /// Gets and sets the property EndpointItemResponse. /// /// The response that was received after the endpoint data was accepted. /// /// public EndpointItemResponse EndpointItemResponse { get { return this._endpointItemResponse; } set { this._endpointItemResponse = value; } } // Check to see if EndpointItemResponse property is set internal bool IsSetEndpointItemResponse() { return this._endpointItemResponse != null; } /// /// Gets and sets the property EventsItemResponse. /// /// A multipart response object that contains a key and a value for each event in the /// request. In each object, the event ID is the key and an EventItemResponse object is /// the value. /// /// public Dictionary EventsItemResponse { get { return this._eventsItemResponse; } set { this._eventsItemResponse = value; } } // Check to see if EventsItemResponse property is set internal bool IsSetEventsItemResponse() { return this._eventsItemResponse != null && this._eventsItemResponse.Count > 0; } } }