<commit_before>@file:JvmName("PrivacyUtils")

package com.vimeo.networking2

import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
import com.vimeo.networking2.enums.CommentPrivacyType
import com.vimeo.networking2.enums.EmbedPrivacyType
import com.vimeo.networking2.enums.ViewPrivacyType
import com.vimeo.networking2.enums.asEnum
import java.io.Serializable

/**
 * The representation of the user's video privacy settings.
 */
@JsonClass(generateAdapter = true)
data class Privacy(

    /**
     * Whether other users can add the user's videos.
     */
    @Json(name = "add")
    val add: Boolean? = null,

    /**
     * The token used to authenticate in playback scenarios where password entry is impossible, and
     * the user initiating playback has already entered the password.
     */
    @Json(name = "_bypass_token")
    val bypassToken: String? = null,

    /**
     * The user's privacy preference for comments.
     * @see Privacy.commentPrivacyType
     */
    @Json(name = "comments")
    val commentPrivacy: String? = null,

    /**
     * Whether other users can download the user's videos.
     */
    @Json(name = "download")
    val download: Boolean? = null,

    /**
     * The user's privacy preference for embeds.
     * @see Privacy.embedPrivacyType
     */
    @Json(name = "embed")<commit_msg>Adding internal annotation to bypass property<commit_after>@file:JvmName("PrivacyUtils")

package com.vimeo.networking2

import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
import com.vimeo.networking2.annotations.Internal
import com.vimeo.networking2.enums.CommentPrivacyType
import com.vimeo.networking2.enums.EmbedPrivacyType
import com.vimeo.networking2.enums.ViewPrivacyType
import com.vimeo.networking2.enums.asEnum
import java.io.Serializable

/**
 * The representation of the user's video privacy settings.
 */
@JsonClass(generateAdapter = true)
data class Privacy(

    /**
     * Whether other users can add the user's videos.
     */
    @Json(name = "add")
    val add: Boolean? = null,

    /**
     * The token used to authenticate in playback scenarios where password entry is impossible, and
     * the user initiating playback has already entered the password.
     */
    @Internal
    @Json(name = "_bypass_token")
    val bypassToken: String? = null,

    /**
     * The user's privacy preference for comments.
     * @see Privacy.commentPrivacyType
     */
    @Json(name = "comments")
    val commentPrivacy: String? = null,

    /**
     * Whether other users can download the user's videos.
     */
    @Json(name = "download")
    val download: Boolean? = null,

    /**
     * The user's privacy preference for embeds.
     * @see Privacy.embedPrivacyType
     */
    @Json(name = "embed")
{'fraction_non_alphanumeric': 0.10383502170767005, 'fraction_numerical': 0.003979739507959479, 'mean_word_length': 3.2343032159264933, '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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2763544', 'n_tokens_mistral': 854, 'n_tokens_neox': 820, 'n_words': 229}