• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

smartsheet / smartsheet-java-sdk / #55

02 Oct 2024 07:40PM UTC coverage: 60.548% (+0.7%) from 59.836%
#55

push

github

web-flow
Release prep for 3.2.1 (#103)

4156 of 6864 relevant lines covered (60.55%)

0.61 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/com/smartsheet/api/models/ContactObjectValue.java
1
/*
2
 * Copyright (C) 2024 Smartsheet
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 *      http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16

17
package com.smartsheet.api.models;
18

19
import com.smartsheet.api.models.enums.ObjectValueType;
20

21
public class ContactObjectValue extends Contact implements ObjectValue {
×
22

23
    /**
24
     * Part of the ContactOverlay, if contactReferences is present in the sheet, refIndex will indicate
25
     * the offset into the list containing this Contact
26
     */
27
    private Integer refIndex;
28

29
    /**
30
     * ID of contact image
31
     */
32
    private String imageId;
33

34
    /**
35
     * Gets the offset in contactReferences for this Contact
36
     *
37
     * @return the refIndex
38
     */
39
    public Integer getRefIndex() {
40
        return refIndex;
×
41
    }
42

43
    /**
44
     * Sets the offset in contactReferences for this Contact
45
     *
46
     * @return ContactObjectValue
47
     */
48
    public ContactObjectValue setRefIndex(Integer refIndex) {
49
        this.refIndex = refIndex;
×
50
        return this;
×
51
    }
52

53
    /**
54
     * Gets the ID for the contact image
55
     *
56
     * @return the imageId
57
     */
58
    public String getImageId() {
59
        return imageId;
×
60
    }
61

62
    /**
63
     * Sets the contact image for this Contact
64
     *
65
     * @param imageId the imageId
66
     * @return ContactObjectValue
67
     */
68
    public ContactObjectValue setImageId(String imageId) {
69
        this.imageId = imageId;
×
70
        return this;
×
71
    }
72

73
    /**
74
     * Gets the objectValueType
75
     */
76
    @Override
77
    public ObjectValueType getObjectType() {
78
        return ObjectValueType.CONTACT;
×
79
    }
80
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc