• 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/Image.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 Image {
×
20

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

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

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

36
    /**
37
     * Alternate text for the image.
38
     */
39
    private String altText;
40

41
    /**
42
     * Gets the image id.
43
     *
44
     * @return the image id
45
     */
46
    public String getId() {
47
        return id;
×
48
    }
49

50
    /**
51
     * Sets the image id
52
     */
53
    public Image setId(String id) {
54
        this.id = id;
×
55
        return this;
×
56
    }
57

58
    /**
59
     * gets the image ID
60
     *
61
     * @return the id
62
     */
63
    public String getImageId() {
64
        return id;
×
65
    }
66

67
    /**
68
     * sets the image ID
69
     *
70
     * @param id the id
71
     */
72
    public Image setImageId(String id) {
73
        this.id = id;
×
74
        return this;
×
75
    }
76

77
    /**
78
     * gets the width (in pixels) of the uploaded image
79
     */
80
    public Long getWidth() {
81
        return width;
×
82
    }
83

84
    /**
85
     * sets the width (in pixels)
86
     */
87
    public Image setWidth(Long width) {
88
        this.width = width;
×
89
        return this;
×
90
    }
91

92
    /**
93
     * gets the height (in pixels) of the uploaded image
94
     *
95
     * @return the height
96
     */
97
    public Long getHeight() {
98
        return height;
×
99
    }
100

101
    /**
102
     * sets the width (in pixels) of the uploaded image
103
     */
104
    public Image setHeight(Long height) {
105
        this.height = height;
×
106
        return this;
×
107
    }
108

109
    /**
110
     * get the alternate text (altText) for the image.
111
     *
112
     * @return altText
113
     */
114
    public String getAltText() {
115
        return altText;
×
116
    }
117

118
    /**
119
     * set the alternate text (altText) for the image.
120
     */
121
    public Image setAltText(String altText) {
122
        this.altText = altText;
×
123
        return this;
×
124
    }
125
}
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