<commit_before>package com.perimeterx.models.httpmodels;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.perimeterx.models.PXContext;
import com.perimeterx.models.risk.Request;

/**
 * CaptchaRequest model
 * <p>
 * Created by shikloshi on 07/07/2016.
 */
public class CaptchaRequest {

    @JsonProperty("request")
    public Request Request;
    @JsonProperty("vid")
    public String Vid;
    @JsonProperty("pxCaptcha")
    public String PxCaptcha;
    @JsonProperty("hostname")
    public String Hostname;

    public static CaptchaRequest fromContext(PXContext context) {
        CaptchaRequest captchaRequest = new CaptchaRequest();
        captchaRequest.Request = com.perimeterx.models.risk.Request.fromContext(context);
        captchaRequest.PxCaptcha = context.getPxCaptcha();
        captchaRequest.Vid = context.getVid();
        captchaRequest.Hostname = context.getHostname();
        return captchaRequest;
    }

}<commit_msg>EN-2080 - Java Module - add page UUID to the captcha api<commit_after>package com.perimeterx.models.httpmodels;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.perimeterx.models.PXContext;
import com.perimeterx.models.risk.Request;

/**
 * CaptchaRequest model
 * <p>
 * Created by shikloshi on 07/07/2016.
 */
public class CaptchaRequest {

    @JsonProperty("request")
    public Request Request;
    @JsonProperty("vid")
    public String Vid;
    @JsonProperty("uuid")
    public String Uuid;
    @JsonProperty("pxCaptcha")
    public String PxCaptcha;
    @JsonProperty("hostname")
    public String Hostname;


    public static CaptchaRequest fromContext(PXContext context) {
        CaptchaRequest captchaRequest = new CaptchaRequest();
        captchaRequest.Request = com.perimeterx.models.risk.Request.fromContext(context);
        captchaRequest.PxCaptcha = context.getPxCaptcha();
        captchaRequest.Uuid = context.getUuid();
        captchaRequest.Vid = context.getVid();
        captchaRequest.Hostname = context.getHostname();
        return captchaRequest;
    }

}
{'fraction_non_alphanumeric': 0.10121065375302664, 'fraction_numerical': 0.009685230024213076, 'mean_word_length': 3.793503480278422, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '3316008', 'n_tokens_mistral': 636, 'n_tokens_neox': 607, 'n_words': 123}