All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.custom.fuelsdk.ETNotSentEvent Maven / Gradle / Ivy

The newest version!
/*
 * Copyright © 2021 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License 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.
 */
package com.custom.fuelsdk;

import com.exacttarget.fuelsdk.ETSoapObject;
import com.exacttarget.fuelsdk.annotations.ExternalName;
import com.exacttarget.fuelsdk.annotations.InternalName;
import com.exacttarget.fuelsdk.annotations.SoapObject;
import com.exacttarget.fuelsdk.internal.EventType;
import com.exacttarget.fuelsdk.internal.NotSentEvent;

import java.util.Date;

/**
 * An ETNotSentEvent object represents information pertaining to the notsent events
 * of an email message in the Salesforce Marketing Cloud.
 * This object type is currently not supported in FuelSDK and hence the provided here.
 */
@SoapObject(internalType = NotSentEvent.class)
public class ETNotSentEvent extends ETSoapObject {
  @InternalName("objectID")
  private String id;

  @ExternalName("sendID")
  private Integer sendID;

  @ExternalName("subscriberKey")
  private String subscriberKey;

  @ExternalName("eventDate")
  private Date eventDate;

  @ExternalName("eventType")
  private EventType eventType;

  @ExternalName("triggeredSendDefinitionObjectID")
  private String triggeredSendDefinitionObjectID;

  @ExternalName("batchID")
  private Integer batchID;

  /**
   * @return the id
   */
  @Override
  public String getId() {
    return id;
  }

  /**
   * @param id the id to set
   */
  @Override
  public void setId(String id) {
    this.id = id;
  }

  /**
   * @return the sendID
   */
  public Integer getSendID() {
    return sendID;
  }

  /**
   * @param sendID the sendID to set
   */
  public void setSendID(Integer sendID) {
    this.sendID = sendID;
  }

  /**
   * @return the subscriberKey
   */
  public String getSubscriberKey() {
    return subscriberKey;
  }

  /**
   * @param subscriberKey the subscriberKey to set
   */
  public void setSubscriberKey(String subscriberKey) {
    this.subscriberKey = subscriberKey;
  }

  /**
   * @return the eventDate
   */
  public Date getEventDate() {
    return eventDate;
  }

  /**
   * @param eventDate the eventDate to set
   */
  public void setEventDate(Date eventDate) {
    this.eventDate = eventDate;
  }

  /**
   * @return the eventType
   */
  public EventType getEventType() {
    return eventType;
  }

  /**
   * @param eventType the eventType to set
   */
  public void setEventType(EventType eventType) {
    this.eventType = eventType;
  }

  /**
   * @return the triggeredSendDefinitionObjectID
   */
  public String getTriggeredSendDefinitionObjectID() {
    return triggeredSendDefinitionObjectID;
  }

  /**
   * @param triggeredSendDefinitionObjectID the triggeredSendDefinitionObjectID to set
   */
  public void setTriggeredSendDefinitionObjectID(String triggeredSendDefinitionObjectID) {
    this.triggeredSendDefinitionObjectID = triggeredSendDefinitionObjectID;
  }

  /**
   * @return the batchID
   */
  public Integer getBatchID() {
    return batchID;
  }

  /**
   * @param batchID the batchID to set
   */
  public void setBatchID(Integer batchID) {
    this.batchID = batchID;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy