com.google.api.services.partners.model.Company Maven / Gradle / Ivy
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://code.google.com/p/google-apis-client-generator/
* (build: 2015-06-30 18:20:40 UTC)
* on 2015-07-16 at 17:24:09 UTC
* Modify at your own risk.
*/
package com.google.api.services.partners.model;
/**
* A company resource in the Google Partners API. Once certified, it qualifies for being searched by
* advertisers.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Google Partners API. For a detailed explanation see:
* http://code.google.com/p/google-http-java-client/wiki/JSON
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class Company extends com.google.api.client.json.GenericJson {
/**
* The list of Google Partners certification statuses for the company.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List certificationStatuses;
/**
* The minimum monthly budget that the company accepts for partner business, converted to the
* requested currency code.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Money convertedMinMonthlyBudget;
/**
* The ID of the company.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String id;
/**
* Industries the company can help with.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List industries;
/**
* The list of localized info for the company.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List localizedInfos;
static {
// hack to force ProGuard to consider LocalizedCompanyInfo used, since otherwise it would be stripped out
// see http://code.google.com/p/google-api-java-client/issues/detail?id=528
com.google.api.client.util.Data.nullOf(LocalizedCompanyInfo.class);
}
/**
* The list of company locations.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List locations;
static {
// hack to force ProGuard to consider Location used, since otherwise it would be stripped out
// see http://code.google.com/p/google-api-java-client/issues/detail?id=528
com.google.api.client.util.Data.nullOf(Location.class);
}
/**
* The name of the company.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
* The unconverted minimum monthly budget that the company accepts for partner business.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Money originalMinMonthlyBudget;
/**
* Basic information from the company's public profile.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private PublicProfile publicProfile;
/**
* Information related to the ranking of the company within the list of companies.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List ranks;
/**
* Services the company can help with.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List services;
/**
* URL of the company's website.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String websiteUrl;
/**
* The list of Google Partners certification statuses for the company.
* @return value or {@code null} for none
*/
public java.util.List getCertificationStatuses() {
return certificationStatuses;
}
/**
* The list of Google Partners certification statuses for the company.
* @param certificationStatuses certificationStatuses or {@code null} for none
*/
public Company setCertificationStatuses(java.util.List certificationStatuses) {
this.certificationStatuses = certificationStatuses;
return this;
}
/**
* The minimum monthly budget that the company accepts for partner business, converted to the
* requested currency code.
* @return value or {@code null} for none
*/
public Money getConvertedMinMonthlyBudget() {
return convertedMinMonthlyBudget;
}
/**
* The minimum monthly budget that the company accepts for partner business, converted to the
* requested currency code.
* @param convertedMinMonthlyBudget convertedMinMonthlyBudget or {@code null} for none
*/
public Company setConvertedMinMonthlyBudget(Money convertedMinMonthlyBudget) {
this.convertedMinMonthlyBudget = convertedMinMonthlyBudget;
return this;
}
/**
* The ID of the company.
* @return value or {@code null} for none
*/
public java.lang.String getId() {
return id;
}
/**
* The ID of the company.
* @param id id or {@code null} for none
*/
public Company setId(java.lang.String id) {
this.id = id;
return this;
}
/**
* Industries the company can help with.
* @return value or {@code null} for none
*/
public java.util.List getIndustries() {
return industries;
}
/**
* Industries the company can help with.
* @param industries industries or {@code null} for none
*/
public Company setIndustries(java.util.List industries) {
this.industries = industries;
return this;
}
/**
* The list of localized info for the company.
* @return value or {@code null} for none
*/
public java.util.List getLocalizedInfos() {
return localizedInfos;
}
/**
* The list of localized info for the company.
* @param localizedInfos localizedInfos or {@code null} for none
*/
public Company setLocalizedInfos(java.util.List localizedInfos) {
this.localizedInfos = localizedInfos;
return this;
}
/**
* The list of company locations.
* @return value or {@code null} for none
*/
public java.util.List getLocations() {
return locations;
}
/**
* The list of company locations.
* @param locations locations or {@code null} for none
*/
public Company setLocations(java.util.List locations) {
this.locations = locations;
return this;
}
/**
* The name of the company.
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}
/**
* The name of the company.
* @param name name or {@code null} for none
*/
public Company setName(java.lang.String name) {
this.name = name;
return this;
}
/**
* The unconverted minimum monthly budget that the company accepts for partner business.
* @return value or {@code null} for none
*/
public Money getOriginalMinMonthlyBudget() {
return originalMinMonthlyBudget;
}
/**
* The unconverted minimum monthly budget that the company accepts for partner business.
* @param originalMinMonthlyBudget originalMinMonthlyBudget or {@code null} for none
*/
public Company setOriginalMinMonthlyBudget(Money originalMinMonthlyBudget) {
this.originalMinMonthlyBudget = originalMinMonthlyBudget;
return this;
}
/**
* Basic information from the company's public profile.
* @return value or {@code null} for none
*/
public PublicProfile getPublicProfile() {
return publicProfile;
}
/**
* Basic information from the company's public profile.
* @param publicProfile publicProfile or {@code null} for none
*/
public Company setPublicProfile(PublicProfile publicProfile) {
this.publicProfile = publicProfile;
return this;
}
/**
* Information related to the ranking of the company within the list of companies.
* @return value or {@code null} for none
*/
public java.util.List getRanks() {
return ranks;
}
/**
* Information related to the ranking of the company within the list of companies.
* @param ranks ranks or {@code null} for none
*/
public Company setRanks(java.util.List ranks) {
this.ranks = ranks;
return this;
}
/**
* Services the company can help with.
* @return value or {@code null} for none
*/
public java.util.List getServices() {
return services;
}
/**
* Services the company can help with.
* @param services services or {@code null} for none
*/
public Company setServices(java.util.List services) {
this.services = services;
return this;
}
/**
* URL of the company's website.
* @return value or {@code null} for none
*/
public java.lang.String getWebsiteUrl() {
return websiteUrl;
}
/**
* URL of the company's website.
* @param websiteUrl websiteUrl or {@code null} for none
*/
public Company setWebsiteUrl(java.lang.String websiteUrl) {
this.websiteUrl = websiteUrl;
return this;
}
@Override
public Company set(String fieldName, Object value) {
return (Company) super.set(fieldName, value);
}
@Override
public Company clone() {
return (Company) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy