<commit_before>//
//  BodyParameters.swift
//  EsaKit
//
//  Created by pixyzehn on 2016/11/26.
//  Copyright © 2016 pixyzehn. All rights reserved.
//

import Foundation

/// A shorthand for body parameters in POST API.
public struct PostParameters {
    public init(
        name: String,
        bodyMd: String = "",
        tags: [String] = [],
        category: String? = nil,
        wip: Bool = true,
        message: String = ""
    ) {
        self.name = name
        self.bodyMd = bodyMd
        self.tags = tags
        self.category = category
        self.wip = wip
        self.message = message
    }
    public let name: String
    public let bodyMd: String
    public let tags: [String]
    public let category: String?
    public let wip: Bool
    public let message: String
}<commit_msg>Cosmetic change in PostParameters<commit_after>//
//  BodyParameters.swift
//  EsaKit
//
//  Created by pixyzehn on 2016/11/26.
//  Copyright © 2016 pixyzehn. All rights reserved.
//

import Foundation

/// A shorthand for body parameters in POST API.
public struct PostParameters {
    public init(
        name: String,
        bodyMd: String = "",
        tags: [String] = [],
        category: String? = nil,
        wip: Bool = true,
        message: String = "") {

        self.name = name
        self.bodyMd = bodyMd
        self.tags = tags
        self.category = category
        self.wip = wip
        self.message = message
    }

    public let name: String
    public let bodyMd: String
    public let tags: [String]
    public let category: String?
    public let wip: Bool
    public let message: String
}
{'fraction_non_alphanumeric': 0.09821976672805402, 'fraction_numerical': 0.014732965009208104, 'mean_word_length': 1.9798903107861061, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '651484', 'n_tokens_mistral': 512, 'n_tokens_neox': 476, 'n_words': 163}