from typing import List


def AccessToken(name: str, permission: str, scopes: List[str]):
    """Builder of params to create a new Personal AccessToken
    Args:
        :param name: the name of the access token
        :param permission: "ro" or "rw"
        :param scopes: array of scopes for new access token
        """
    obj = {
        "name": name,
        "permission": permission,
        "scopes": scopes}

    return obj