<commit_before>/*
 * Copyright 2011 Splunk, Inc.
 *
 * 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.splunk;

import java.util.Map;

/**
 * Representation of a collection of license pools.
 */
public class LicensePoolCollection extends EntityCollection<LicensePool> {

    /**
     * Class Constructor.
     *
     * @param service The connected service instance.
     */
    LicensePoolCollection(Service service) {
        super(service, "licenser/pools", LicensePool.class);
    }

    /**
     * Creates a license pool.
     *
     * Quota can be MAX (Only one pool can use MAX size), a number or a number
     * followed by MB or GB.
     *
     * @param name The name of this new license pool.
     * @param quota The quota in bytes of this license pool. This can also be
     *              a literal MAX or number followed by MB or GB. For example
     *              10GB.
     * @param stackId The stack ID corresponding to this license pool.
     * @return The new license pool.
     */
    public LicensePool create(String name, String quota, String stackId) {
        return create(name, quota, stackId, null);
    }

    /**
     * Creates a license pool.
     *
     * Quota can be MAX (Only one pool can use MAX size), a number or a number
     * followed by MB or GB.
     *
     * @param name The name of this new license pool.
     * @param quota The quota in bytes of this license pool.
     * @param stackId The stack ID corresponding to this license pool.
     * @param args Optional arguments.
     * @return The new license pool.
     */
    public LicensePool 
    create(String name, int quota, String stackId, Map args) {
        args = Args.create(args);
        args.put("quota", quota);
        args.put("stack_id", stackId);
        return create(name, args);
    }
}
<commit_msg>finish off last checkin<commit_after>/*
 * Copyright 2011 Splunk, Inc.
 *
 * 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.splunk;

import java.util.Map;

/**
 * Representation of a collection of license pools.
 */
public class LicensePoolCollection extends EntityCollection<LicensePool> {

    /**
     * Class Constructor.
     *
     * @param service The connected service instance.
     */
    LicensePoolCollection(Service service) {
        super(service, "licenser/pools", LicensePool.class);
    }

    /**
     * Creates a license pool.
     *
     * Quota can be MAX (Only one pool can use MAX size), a number or a number
     * followed by MB or GB.
     *
     * @param name The name of this new license pool.
     * @param quota The quota in bytes of this license pool. This can also be
     *              a literal MAX or number followed by MB or GB. For example
     *              10GB.
     * @param stackId The stack ID corresponding to this license pool.
     * @return The new license pool.
     */
    public LicensePool create(String name, String quota, String stackId) {
        return create(name, quota, stackId, null);
    }

    /**
     * Creates a license pool.
     *
     * Quota can be MAX (Only one pool can use MAX size), a number or a number
     * followed by MB or GB.
     *
     * @param name The name of this new license pool.
     * @param quota The quota in bytes of this license pool. This can also be
     *              a literal MAX or number followed by MB or GB. For example
     *              10GB.
     * @param stackId The stack ID corresponding to this license pool.
     * @param args Optional arguments.
     * @return The new license pool.
     */
    public LicensePool 
    create(String name, String quota, String stackId, Map args) {
        args = Args.create(args);
        args.put("quota", quota);
        args.put("stack_id", stackId);
        return create(name, args);
    }
}

{'fraction_non_alphanumeric': 0.07955018742190754, 'fraction_numerical': 0.004581424406497293, 'mean_word_length': 2.4578833693304536, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6097753', 'n_tokens_mistral': 1300, 'n_tokens_neox': 1262, 'n_words': 586}