<commit_before>package com.github.michalboska.vertx3.gcm;

import io.vertx.codegen.annotations.DataObject;
import io.vertx.core.json.JsonObject;
import org.apache.commons.lang3.Validate;

/**
 * @author <NAME>
 */
@DataObject
public class GcmServiceConfig {

    private static String JSON_REGLIMIT = "registrationIdsLimit";
    private static String JSON_MAXSEXONDS = "maxSecondsToLeave";
    private static String JSON_BACKOFF_RETRIES = "backoffRetries";
    private static String JSON_BACKOFF_MAX_SECONDS = "backoffRetries";
    private static String JSON_API_KEY = "apiKey";
    private static String JSON_ADDRESS = "address";
    private static String JSON_LOCAL_ONLY = "localOnly";

    ///MANDATORY FIELDS
    String apiKey;

    ///OPTIONAL FIELDS
    String address = GcmService.class.getName();
    Integer registrationIdsLimit = 1000;
    Integer maxSecondsToLeave = 2419200;
    Integer backoffRetries = 0;
    Integer backoffMaxSeconds = 600;
    Boolean localOnly = false;

    public GcmServiceConfig() {
    }

    public GcmServiceConfig(String apiKey) {
        this.apiKey = apiKey;
    }<commit_msg>Fix duplicate JSON attribute name<commit_after>package com.github.michalboska.vertx3.gcm;

import io.vertx.codegen.annotations.DataObject;
import io.vertx.core.json.JsonObject;
import org.apache.commons.lang3.Validate;

/**
 * @author <NAME>
 */
@DataObject
public class GcmServiceConfig {

    private static String JSON_REGLIMIT = "registrationIdsLimit";
    private static String JSON_MAXSEXONDS = "maxSecondsToLeave";
    private static String JSON_BACKOFF_RETRIES = "backoffRetries";
    private static String JSON_BACKOFF_MAX_SECONDS = "backoffMaxSeconds";
    private static String JSON_API_KEY = "apiKey";
    private static String JSON_ADDRESS = "address";
    private static String JSON_LOCAL_ONLY = "localOnly";

    ///MANDATORY FIELDS
    String apiKey;

    ///OPTIONAL FIELDS
    String address = GcmService.class.getName();
    Integer registrationIdsLimit = 1000;
    Integer maxSecondsToLeave = 2419200;
    Integer backoffRetries = 0;
    Integer backoffMaxSeconds = 600;
    Boolean localOnly = false;

    public GcmServiceConfig() {
    }

    public GcmServiceConfig(String apiKey) {
        this.apiKey = apiKey;
    }
{'fraction_non_alphanumeric': 0.08491817779743477, 'fraction_numerical': 0.015037593984962405, 'mean_word_length': 3.9714285714285715, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '3634413', 'n_tokens_mistral': 715, 'n_tokens_neox': 681, 'n_words': 164}