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

smartsheet / smartsheet-java-sdk / #45

29 Aug 2023 04:23PM UTC coverage: 50.55%. Remained the same
#45

push

github-actions

web-flow
Make the license header consistent and add checkstyle rule (#63)

* Make the license header consistent and add checkstyle rule

* Make the file license come before the package

* Remove Smartsheet SDK for Java from every file

3448 of 6821 relevant lines covered (50.55%)

0.51 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/ProfileImage.java
1
/*
2
 * Copyright (C) 2023 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
public class ProfileImage {
×
20

21
    /**
22
     * Image ID
23
     */
24
    private String id;
25

26
    /**
27
     * Original width (in pixels) of the image.
28
     */
29
    private Long width;
30

31
    /**
32
     * Original height (in pixels) of the image.
33
     */
34
    private Long height;
35

36
    /**
37
     * gets the image ID
38
     *
39
     * @return the id
40
     */
41
    public String getImageId() {
42
        return id;
×
43
    }
44

45
    /**
46
     * sets the image ID
47
     *
48
     * @param id the id
49
     */
50
    public ProfileImage setImageId(String id) {
51
        this.id = id;
×
52
        return this;
×
53
    }
54

55
    /**
56
     * gets the width (in pixels) of the image
57
     */
58
    public Long getWidth() {
59
        return width;
×
60
    }
61

62
    /**
63
     * sets the width (in pixels)
64
     */
65
    public ProfileImage setWidth(Long width) {
66
        this.width = width;
×
67
        return this;
×
68
    }
69

70
    /**
71
     * gets the height (in pixels) of the image
72
     *
73
     * @return the height
74
     */
75
    public Long getHeight() {
76
        return height;
×
77
    }
78

79
    /**
80
     * sets the width (in pixels) of the image
81
     */
82
    public ProfileImage setHeight(Long height) {
83
        this.height = height;
×
84
        return this;
×
85
    }
86
}
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