com.reveldigital.api.Beacon Maven / Gradle / Ivy
/*
* Copyright (c) 2016. Catalyst LLC. All right reserved.
*
* 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.reveldigital.api;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
import java.util.List;
/**
* Created by Mike on 6/5/2014.
*/
public class Beacon implements Serializable {
@SerializedName("distance")
private double distance;
@SerializedName("calibration")
private double calibration;
@SerializedName("rating")
private double rating;
private String website;
private String phone;
private String email;
List devices;
private String uuid;
private String major;
private String minor;
@SerializedName("notification_delay")
private int notificationDelay;
@SerializedName("instance_id")
private String instanceId;
private String namespace;
public double getDistance() {
return distance;
}
public double getCalibration() {
return calibration;
}
public double getRating() {
return rating;
}
public String getWebsite() {
return website;
}
public String getPhone() {
return phone;
}
public String getEmail() {
return email;
}
public List getDevices() {
return devices;
}
public String getMinor() {
return minor;
}
public String getMajor() {
return major;
}
public String getUuid() {
return uuid;
}
public int getNotificationDelay() {
return notificationDelay;
}
public String getInstanceId() {
return instanceId;
}
public String getNamespace() {
return namespace;
}
public Beacon setDistance(double distance) {
this.distance = distance;
return this;
}
public Beacon setCalibration(double calibration) {
this.calibration = calibration;
return this;
}
public Beacon setRating(double rating) {
this.rating = rating;
return this;
}
public Beacon setWebsite(String website) {
this.website = website;
return this;
}
public Beacon setPhone(String phone) {
this.phone = phone;
return this;
}
public Beacon setEmail(String email) {
this.email = email;
return this;
}
public Beacon setDevices(List devices) {
this.devices = devices;
return this;
}
public Beacon setUuid(String uuid) {
this.uuid = uuid;
return this;
}
public Beacon setMajor(String major) {
this.major = major;
return this;
}
public Beacon setMinor(String minor) {
this.minor = minor;
return this;
}
public Beacon setNotificationDelay(int notificationDelay) {
this.notificationDelay = notificationDelay;
return this;
}
public Beacon setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public Beacon getNamespace(String namespace) {
this.namespace = namespace;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy