package com.atlassian.bitbucket.internal.importer.rest;

import com.atlassian.bitbucket.internal.importer.ExternalRepositorySearchRequest;
import com.atlassian.bitbucket.rest.annotation.JsonSurrogate;
import org.codehaus.jackson.map.annotate.JsonSerialize;

@JsonSerialize
@JsonSurrogate(ExternalRepositorySearchRequest.class)
public class RestExternalRepositorySearchRequest extends RestExternalRequest {

    public static final String FILTER = "filter";
    public static final String OWNER_NAME = "ownerName";

    public String getFilter() {
        return getStringProperty(FILTER);
    }

    public String getOwnerName() {
        return getStringProperty(OWNER_NAME);
    }
}
