Android Open Source - nwcloud-androidgcm-app Push Message Response






From Project

Back to project page nwcloud-androidgcm-app.

License

The source code is released under:

Apache License

If you think the Android project nwcloud-androidgcm-app listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package org.sapmentors.nwcloud.gcm.model;
/*from  w w  w.j a  v  a  2  s . c o m*/
import com.google.api.client.util.Key;

/**
 * Represents the PushMessage in external state
 * This represents the JSON/XML payload that must be provided
 * to the REST API
 *  
 * @author dagfinn.parnas
 *
 */
public class PushMessageResponse {
  @Key
  protected String emailFrom; 
  @Key
  protected String[] emailSentTo; 
  @Key
  protected String[] emailFailed; 
  @Key
  protected int messageType;
  
  protected int responseCode;
  protected String responseMessage;
  
  
  public String getEmailFrom() {
    return emailFrom;
  }
  public void setEmailFrom(String emailFrom) {
    this.emailFrom = emailFrom;
  }
  public String[] getEmailSentTo() {
    return emailSentTo;
  }
  public void setEmailSentTo(String[] emailSentTo) {
    this.emailSentTo = emailSentTo;
  }
  public String[] getEmailFailed() {
    return emailFailed;
  }
  public void setEmailFailed(String[] emailFailed) {
    this.emailFailed = emailFailed;
  }
  public int getMessageType() {
    return messageType;
  }
  public void setMessageType(int messageType) {
    this.messageType = messageType;
  }
  public int getResponseCode() {
    return responseCode;
  }
  public void setResponseCode(int responseCode) {
    this.responseCode = responseCode;
  }
  public String getResponseMessage() {
    return responseMessage;
  }
  public void setResponseMessage(String responseMessage) {
    this.responseMessage = responseMessage;
  } 
  
  
}




Java Source Code List

org.sapmentors.nwcloud.gcm.GCMIntentService.java
org.sapmentors.nwcloud.gcm.MainActivity.java
org.sapmentors.nwcloud.gcm.backend.MobileDevice.java
org.sapmentors.nwcloud.gcm.backend.NWCloudBackend.java
org.sapmentors.nwcloud.gcm.backend.PushMessageExternal.java
org.sapmentors.nwcloud.gcm.model.PushMessageResponse.java
org.sapmentors.nwcloud.gcm.util.AndroidUtils.java