com.google.api.services.jobs.v4.model.JobEvent Maven / Gradle / Ivy
/*
* 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://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.jobs.v4.model;
/**
* An event issued when a job seeker interacts with the application that implements Cloud Talent
* Solution.
*
* 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 Cloud Talent Solution API. For a detailed explanation
* see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class JobEvent extends com.google.api.client.json.GenericJson {
/**
* Required. The job name(s) associated with this event. For example, if this is an impression
* event, this field contains the identifiers of all jobs shown to the job seeker. If this was a
* view event, this field contains the identifier of the viewed job. The format is
* "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for example,
* "projects/foo/tenants/bar/jobs/baz".
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List jobs;
/**
* Required. The type of the event (see JobEventType).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String type;
/**
* Required. The job name(s) associated with this event. For example, if this is an impression
* event, this field contains the identifiers of all jobs shown to the job seeker. If this was a
* view event, this field contains the identifier of the viewed job. The format is
* "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for example,
* "projects/foo/tenants/bar/jobs/baz".
* @return value or {@code null} for none
*/
public java.util.List getJobs() {
return jobs;
}
/**
* Required. The job name(s) associated with this event. For example, if this is an impression
* event, this field contains the identifiers of all jobs shown to the job seeker. If this was a
* view event, this field contains the identifier of the viewed job. The format is
* "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for example,
* "projects/foo/tenants/bar/jobs/baz".
* @param jobs jobs or {@code null} for none
*/
public JobEvent setJobs(java.util.List jobs) {
this.jobs = jobs;
return this;
}
/**
* Required. The type of the event (see JobEventType).
* @return value or {@code null} for none
*/
public java.lang.String getType() {
return type;
}
/**
* Required. The type of the event (see JobEventType).
* @param type type or {@code null} for none
*/
public JobEvent setType(java.lang.String type) {
this.type = type;
return this;
}
@Override
public JobEvent set(String fieldName, Object value) {
return (JobEvent) super.set(fieldName, value);
}
@Override
public JobEvent clone() {
return (JobEvent) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy