com.custom.fuelsdk.ETClickEvent 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.custom.fuelsdk.internal.ClickEvent;
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 java.util.Date;
/**
* To work around the bug in FuelSDK the class is extended and modified.
* Refer to the below URL
* https://github.com/salesforce-marketingcloud/FuelSDK-Java/pull/98
*/
@SoapObject(internalType = ClickEvent.class)
public class ETClickEvent 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;
@ExternalName("urlid")
private Integer urlid;
@ExternalName("url")
private String url;
/**
* @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;
}
/**
* @return the urlid
*/
public Integer getUrlid() {
return urlid;
}
/**
* @param urlid the urlid to set
*/
public void setUrlid(Integer urlid) {
this.urlid = urlid;
}
/**
* @return the url
*/
public String getUrl() {
return url;
}
/**
* @param url the url to set
*/
public void setUrl(String url) {
this.url = url;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy