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

com.ellucian.generated.eedm.contributions.v9_0.Allocation Maven / Gradle / Ivy


package com.ellucian.generated.eedm.contributions.v9_0;

import java.util.ArrayList;
import java.util.List;
import javax.annotation.processing.Generated;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
    "donor",
    "constituentTypes",
    "designation",
    "designatedClassYear",
    "donorAssociationType",
    "credits",
    "campaign",
    "appeal"
})
@Generated("jsonschema2pojo")
public class Allocation {

    /**
     * Donor
     * 

* A person or organization associated with the contribution. * (Required) * */ @JsonProperty("donor") @JsonPropertyDescription("A person or organization associated with the contribution.") private Object donor; /** * Constituent Types *

* The types of constituent that the donor represents. * */ @JsonProperty("constituentTypes") @JsonPropertyDescription("The types of constituent that the donor represents.") private List constituentTypes = new ArrayList(); /** * Designation *

* The designated use of the donor's allocation of the contribution. * */ @JsonProperty("designation") @JsonPropertyDescription("The designated use of the donor's allocation of the contribution.") private Object designation; /** * Designated Class Year *

* The class year associated with the donor's allocation of the contribution. * */ @JsonProperty("designatedClassYear") @JsonPropertyDescription("The class year associated with the donor's allocation of the contribution.") private Object designatedClassYear; /** * Donor Association Type *

* The association between the donor and the contribution for the allocation. For example, a donor can be primary or 'in memory of' with regard to the contribution allocation. * (Required) * */ @JsonProperty("donorAssociationType") @JsonPropertyDescription("The association between the donor and the contribution for the allocation. For example, a donor can be primary or 'in memory of' with regard to the contribution allocation.") private DonorAssociationType donorAssociationType; /** * Credits *

* The types and amounts of credit given to the donor for the allocation of the contribution. * (Required) * */ @JsonProperty("credits") @JsonPropertyDescription("The types and amounts of credit given to the donor for the allocation of the contribution.") private List credits = new ArrayList(); /** * Campaign *

* The fund-raising campaign associated with the donor's allocation of the contribution. * */ @JsonProperty("campaign") @JsonPropertyDescription("The fund-raising campaign associated with the donor's allocation of the contribution.") private Object campaign; /** * Appeal *

* The appeal associated with the donor's allocation of the contribution. * */ @JsonProperty("appeal") @JsonPropertyDescription("The appeal associated with the donor's allocation of the contribution.") private Object appeal; /** * Donor *

* A person or organization associated with the contribution. * (Required) * */ @JsonProperty("donor") public Object getDonor() { return donor; } /** * Donor *

* A person or organization associated with the contribution. * (Required) * */ @JsonProperty("donor") public void setDonor(Object donor) { this.donor = donor; } public Allocation withDonor(Object donor) { this.donor = donor; return this; } /** * Constituent Types *

* The types of constituent that the donor represents. * */ @JsonProperty("constituentTypes") public List getConstituentTypes() { return constituentTypes; } /** * Constituent Types *

* The types of constituent that the donor represents. * */ @JsonProperty("constituentTypes") public void setConstituentTypes(List constituentTypes) { this.constituentTypes = constituentTypes; } public Allocation withConstituentTypes(List constituentTypes) { this.constituentTypes = constituentTypes; return this; } /** * Designation *

* The designated use of the donor's allocation of the contribution. * */ @JsonProperty("designation") public Object getDesignation() { return designation; } /** * Designation *

* The designated use of the donor's allocation of the contribution. * */ @JsonProperty("designation") public void setDesignation(Object designation) { this.designation = designation; } public Allocation withDesignation(Object designation) { this.designation = designation; return this; } /** * Designated Class Year *

* The class year associated with the donor's allocation of the contribution. * */ @JsonProperty("designatedClassYear") public Object getDesignatedClassYear() { return designatedClassYear; } /** * Designated Class Year *

* The class year associated with the donor's allocation of the contribution. * */ @JsonProperty("designatedClassYear") public void setDesignatedClassYear(Object designatedClassYear) { this.designatedClassYear = designatedClassYear; } public Allocation withDesignatedClassYear(Object designatedClassYear) { this.designatedClassYear = designatedClassYear; return this; } /** * Donor Association Type *

* The association between the donor and the contribution for the allocation. For example, a donor can be primary or 'in memory of' with regard to the contribution allocation. * (Required) * */ @JsonProperty("donorAssociationType") public DonorAssociationType getDonorAssociationType() { return donorAssociationType; } /** * Donor Association Type *

* The association between the donor and the contribution for the allocation. For example, a donor can be primary or 'in memory of' with regard to the contribution allocation. * (Required) * */ @JsonProperty("donorAssociationType") public void setDonorAssociationType(DonorAssociationType donorAssociationType) { this.donorAssociationType = donorAssociationType; } public Allocation withDonorAssociationType(DonorAssociationType donorAssociationType) { this.donorAssociationType = donorAssociationType; return this; } /** * Credits *

* The types and amounts of credit given to the donor for the allocation of the contribution. * (Required) * */ @JsonProperty("credits") public List getCredits() { return credits; } /** * Credits *

* The types and amounts of credit given to the donor for the allocation of the contribution. * (Required) * */ @JsonProperty("credits") public void setCredits(List credits) { this.credits = credits; } public Allocation withCredits(List credits) { this.credits = credits; return this; } /** * Campaign *

* The fund-raising campaign associated with the donor's allocation of the contribution. * */ @JsonProperty("campaign") public Object getCampaign() { return campaign; } /** * Campaign *

* The fund-raising campaign associated with the donor's allocation of the contribution. * */ @JsonProperty("campaign") public void setCampaign(Object campaign) { this.campaign = campaign; } public Allocation withCampaign(Object campaign) { this.campaign = campaign; return this; } /** * Appeal *

* The appeal associated with the donor's allocation of the contribution. * */ @JsonProperty("appeal") public Object getAppeal() { return appeal; } /** * Appeal *

* The appeal associated with the donor's allocation of the contribution. * */ @JsonProperty("appeal") public void setAppeal(Object appeal) { this.appeal = appeal; } public Allocation withAppeal(Object appeal) { this.appeal = appeal; return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(Allocation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); sb.append("donor"); sb.append('='); sb.append(((this.donor == null)?"":this.donor)); sb.append(','); sb.append("constituentTypes"); sb.append('='); sb.append(((this.constituentTypes == null)?"":this.constituentTypes)); sb.append(','); sb.append("designation"); sb.append('='); sb.append(((this.designation == null)?"":this.designation)); sb.append(','); sb.append("designatedClassYear"); sb.append('='); sb.append(((this.designatedClassYear == null)?"":this.designatedClassYear)); sb.append(','); sb.append("donorAssociationType"); sb.append('='); sb.append(((this.donorAssociationType == null)?"":this.donorAssociationType)); sb.append(','); sb.append("credits"); sb.append('='); sb.append(((this.credits == null)?"":this.credits)); sb.append(','); sb.append("campaign"); sb.append('='); sb.append(((this.campaign == null)?"":this.campaign)); sb.append(','); sb.append("appeal"); sb.append('='); sb.append(((this.appeal == null)?"":this.appeal)); sb.append(','); if (sb.charAt((sb.length()- 1)) == ',') { sb.setCharAt((sb.length()- 1), ']'); } else { sb.append(']'); } return sb.toString(); } @Override public int hashCode() { int result = 1; result = ((result* 31)+((this.donor == null)? 0 :this.donor.hashCode())); result = ((result* 31)+((this.credits == null)? 0 :this.credits.hashCode())); result = ((result* 31)+((this.designatedClassYear == null)? 0 :this.designatedClassYear.hashCode())); result = ((result* 31)+((this.donorAssociationType == null)? 0 :this.donorAssociationType.hashCode())); result = ((result* 31)+((this.constituentTypes == null)? 0 :this.constituentTypes.hashCode())); result = ((result* 31)+((this.campaign == null)? 0 :this.campaign.hashCode())); result = ((result* 31)+((this.designation == null)? 0 :this.designation.hashCode())); result = ((result* 31)+((this.appeal == null)? 0 :this.appeal.hashCode())); return result; } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof Allocation) == false) { return false; } Allocation rhs = ((Allocation) other); return (((((((((this.donor == rhs.donor)||((this.donor!= null)&&this.donor.equals(rhs.donor)))&&((this.credits == rhs.credits)||((this.credits!= null)&&this.credits.equals(rhs.credits))))&&((this.designatedClassYear == rhs.designatedClassYear)||((this.designatedClassYear!= null)&&this.designatedClassYear.equals(rhs.designatedClassYear))))&&((this.donorAssociationType == rhs.donorAssociationType)||((this.donorAssociationType!= null)&&this.donorAssociationType.equals(rhs.donorAssociationType))))&&((this.constituentTypes == rhs.constituentTypes)||((this.constituentTypes!= null)&&this.constituentTypes.equals(rhs.constituentTypes))))&&((this.campaign == rhs.campaign)||((this.campaign!= null)&&this.campaign.equals(rhs.campaign))))&&((this.designation == rhs.designation)||((this.designation!= null)&&this.designation.equals(rhs.designation))))&&((this.appeal == rhs.appeal)||((this.appeal!= null)&&this.appeal.equals(rhs.appeal)))); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy