com.google.api.services.jobs.v4.model.ClientEvent 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 an end user interacts with the application that implements Cloud Talent
* Solution. Providing this information improves the quality of results for the API clients,
* enabling the service to perform optimally. The number of events sent must be consistent with
* other calls, such as job searches, issued to the service by the client.
*
* 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 ClientEvent extends com.google.api.client.json.GenericJson {
/**
* Required. The timestamp of the event.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String createTime;
/**
* Required. A unique identifier, generated by the client application.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String eventId;
/**
* Notes about the event provided by recruiters or other users, for example, feedback on why a job
* was bookmarked.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String eventNotes;
/**
* An event issued when a job seeker interacts with the application that implements Cloud Talent
* Solution.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private JobEvent jobEvent;
/**
* Strongly recommended for the best service experience. A unique ID generated in the API
* responses. It can be found in ResponseMetadata.request_id.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String requestId;
/**
* Required. The timestamp of the event.
* @return value or {@code null} for none
*/
public String getCreateTime() {
return createTime;
}
/**
* Required. The timestamp of the event.
* @param createTime createTime or {@code null} for none
*/
public ClientEvent setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* Required. A unique identifier, generated by the client application.
* @return value or {@code null} for none
*/
public java.lang.String getEventId() {
return eventId;
}
/**
* Required. A unique identifier, generated by the client application.
* @param eventId eventId or {@code null} for none
*/
public ClientEvent setEventId(java.lang.String eventId) {
this.eventId = eventId;
return this;
}
/**
* Notes about the event provided by recruiters or other users, for example, feedback on why a job
* was bookmarked.
* @return value or {@code null} for none
*/
public java.lang.String getEventNotes() {
return eventNotes;
}
/**
* Notes about the event provided by recruiters or other users, for example, feedback on why a job
* was bookmarked.
* @param eventNotes eventNotes or {@code null} for none
*/
public ClientEvent setEventNotes(java.lang.String eventNotes) {
this.eventNotes = eventNotes;
return this;
}
/**
* An event issued when a job seeker interacts with the application that implements Cloud Talent
* Solution.
* @return value or {@code null} for none
*/
public JobEvent getJobEvent() {
return jobEvent;
}
/**
* An event issued when a job seeker interacts with the application that implements Cloud Talent
* Solution.
* @param jobEvent jobEvent or {@code null} for none
*/
public ClientEvent setJobEvent(JobEvent jobEvent) {
this.jobEvent = jobEvent;
return this;
}
/**
* Strongly recommended for the best service experience. A unique ID generated in the API
* responses. It can be found in ResponseMetadata.request_id.
* @return value or {@code null} for none
*/
public java.lang.String getRequestId() {
return requestId;
}
/**
* Strongly recommended for the best service experience. A unique ID generated in the API
* responses. It can be found in ResponseMetadata.request_id.
* @param requestId requestId or {@code null} for none
*/
public ClientEvent setRequestId(java.lang.String requestId) {
this.requestId = requestId;
return this;
}
@Override
public ClientEvent set(String fieldName, Object value) {
return (ClientEvent) super.set(fieldName, value);
}
@Override
public ClientEvent clone() {
return (ClientEvent) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy