<commit_before>/*
 * oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
 *
 * Copyright (c) 2015, Gluu
 */

package org.xdi.oxauth.model.fido.u2f.protocol;

import java.io.Serializable;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * FIDO U2F device data
 *
 * @author <NAME> Date: 02/16/2016
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class DeviceData implements Serializable {

	private static final long serialVersionUID = -8173244116167488365L;

	@JsonProperty(value = "device_uuid")
	private String deviceUuid;

	@JsonProperty(value = "device_token")
	private String deviceToken;

	@JsonProperty(value = "device_type")
	private String deviceType;

	@JsonProperty(value = "device_name")
	private String deviceName;

	@JsonProperty(value = "os_name")
	private String osName;

	@JsonProperty(value = "os_version")
	private String osVersion;

	public DeviceData() {
	}

	public String getDeviceUuid() {
		return deviceUuid;
	}

	public void setDeviceUuid(String deviceUuid) {
		this.deviceUuid = deviceUuid;
	}

	public String getDeviceToken() {
		return deviceToken;
	}

	public void setDeviceToken(String deviceToken) {
		this.deviceToken = deviceToken;
	}

	public String getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}

	public String getDeviceName() {
		return deviceName;
	}

	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}

	public String getOsName() {
		return osName;
	}

	public void setOsName(String osName) {
		this.osName = osName;
	}

	public String getOsVersion() {
		return osVersion;
	}

	public void setOsVersion(String osVersion) {
		this.osVersion = osVersion;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("DeviceData [deviceUuid=").append(deviceUuid).append(", deviceToken=").append(deviceToken).append(", deviceType=").append(deviceType)
				.append(", deviceName=").append(deviceName).append(", osName=").append(osName).append(", osVersion=").append(osVersion).append("]");
		return builder.toString();
	}

}
<commit_msg>Fix import<commit_after>/*
 * oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
 *
 * Copyright (c) 2015, Gluu
 */

package org.xdi.oxauth.model.fido.u2f.protocol;

import java.io.Serializable;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;

/**
 * FIDO U2F device data
 *
 * @author <NAME> Date: 02/16/2016
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class DeviceData implements Serializable {

	private static final long serialVersionUID = -8173244116167488365L;

	@JsonProperty(value = "device_uuid")
	private final String deviceUuid;

	@JsonProperty(value = "device_token")
	private final String deviceToken;

	@JsonProperty(value = "device_type")
	private final String deviceType;

	@JsonProperty(value = "device_name")
	private final String deviceName;

	@JsonProperty(value = "os_name")
	private final String osName;

	@JsonProperty(value = "os_version")
	private final String osVersion;

	public DeviceData(@JsonProperty(value = "device_uuid") String deviceUuid, @JsonProperty(value = "device_token")String deviceToken,
			@JsonProperty(value = "device_type") String deviceType, @JsonProperty(value = "device_name") String deviceName,
			@JsonProperty(value = "os_name") String osName, @JsonProperty(value = "os_version") String osVersion) {
		this.deviceUuid = deviceUuid;
		this.deviceToken = deviceToken;
		this.deviceType = deviceType;
		this.deviceName = deviceName;
		this.osName = osName;
		this.osVersion = osVersion;
	}

	public String getDeviceUuid() {
		return deviceUuid;
	}

	public String getDeviceToken() {
		return deviceToken;
	}

	public String getDeviceType() {
		return deviceType;
	}

	public String getDeviceName() {
		return deviceName;
	}

	public String getOsName() {
		return osName;
	}

	public String getOsVersion() {
		return osVersion;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("DeviceData [deviceUuid=").append(deviceUuid).append(", deviceToken=").append(deviceToken).append(", deviceType=").append(deviceType)
				.append(", deviceName=").append(deviceName).append(", osName=").append(osName).append(", osVersion=").append(osVersion).append("]");
		return builder.toString();
	}

}

{'fraction_non_alphanumeric': 0.11909965034965035, 'fraction_numerical': 0.016171328671328672, 'mean_word_length': 5.160161507402423, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1920617', 'n_tokens_mistral': 1541, 'n_tokens_neox': 1422, 'n_words': 331}