package com.atlassian.bitbucket.mirroring.mirror;

import javax.annotation.Nonnull;

/**
 * The user account on the upstream associated with the mirror. Only {@link UpstreamServerType#BITBUCKET_CLOUD cloud}
 * upstreams have the mirror associated with a (team) account.
 *
 * @since 4.8
 */
public interface UpstreamAccount {
    /**
     * @return the account's unique identifier
     */
    @Nonnull
    String getId();

    /**
     * @return the account's name
     */
    @Nonnull
    String getName();
}
