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

me.chanjar.weixin.mp.bean.shake.WxMpDeviceIdentifier Maven / Gradle / Ivy

The newest version!
package me.chanjar.weixin.mp.bean.shake;

import com.google.gson.JsonObject;
import lombok.Data;

import java.io.Serializable;

@Data
public class WxMpDeviceIdentifier implements Serializable {
  private Integer device_id;
  private String uuid;
  private Integer page_id;
  private Integer major;
  private Integer minor;
  public JsonObject toJsonObject(){
    JsonObject jsonObject = new JsonObject();
    jsonObject.addProperty("device_id", device_id);
    jsonObject.addProperty("uuid", uuid);
    jsonObject.addProperty("major", major);
    jsonObject.addProperty("minor", minor);
    return jsonObject;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy