com.smartsheet.api.models.ContactObjectValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smartsheet-sdk-java Show documentation
Show all versions of smartsheet-sdk-java Show documentation
Library for connecting to Smartsheet Services
/*
* Copyright (C) 2023 Smartsheet
*
* 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.
*/
package com.smartsheet.api.models;
import com.smartsheet.api.models.enums.ObjectValueType;
public class ContactObjectValue extends Contact implements ObjectValue {
/**
* Part of the ContactOverlay, if contactReferences is present in the sheet, refIndex will indicate
* the offset into the list containing this Contact
*/
private Integer refIndex;
/**
* ID of contact image
*/
private String imageId;
/**
* Gets the offset in contactReferences for this Contact
* @return the refIndex
*/
public Integer getRefIndex() {
return refIndex;
}
/**
* Sets the offset in contactReferences for this Contact
* @return ContactObjectValue
*/
public ContactObjectValue setRefIndex(Integer refIndex) {
this.refIndex = refIndex;
return this;
}
/**
* Gets the ID for the contact image
* @return the imageId
*/
public String getImageId() {
return imageId;
}
/**
* Sets the contact image for this Contact
* @param imageId the imageId
* @return ContactObjectValue
*/
public ContactObjectValue setImageId(String imageId) {
this.imageId = imageId;
return this;
}
/**
* Gets the objectValueType
*/
@Override
public ObjectValueType getObjectType() {
return ObjectValueType.CONTACT;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy