All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.connectors.github.pr.PullRequestId Maven / Gradle / Ivy

There is a newer version: 2.5
Show newest version
/*
 * Copyright © 2018 VMware, Inc. All Rights Reserved.
 * SPDX-License-Identifier: BSD-2-Clause
 */

package com.vmware.connectors.github.pr;

import org.pojomatic.Pojomatic;
import org.pojomatic.annotations.AutoProperty;

/**
 * All Pull Requests and related objects (reviews and comments) have this
 * information as part of their identity.
 */
@AutoProperty
public class PullRequestId {

    private String owner;
    private String repo;
    private String number;

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getRepo() {
        return repo;
    }

    public void setRepo(String repo) {
        this.repo = repo;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    @Override
    public boolean equals(Object obj) {
        return Pojomatic.equals(this, obj);
    }

    @Override
    public int hashCode() {
        return Pojomatic.hashCode(this);
    }

    @Override
    public String toString() {
        return Pojomatic.toString(this);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy