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

jreleaser / jreleaser / #544

28 Oct 2025 03:56PM UTC coverage: 48.245% (-0.03%) from 48.273%
#544

push

github

web-flow
feat(announce): Add Reddit announcer support

Fixes #1457

188 of 414 new or added lines in 16 files covered. (45.41%)

6 existing lines in 2 files now uncovered.

26009 of 53910 relevant lines covered (48.25%)

0.48 hits per line

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

61.54
/sdks/jreleaser-reddit-java-sdk/src/main/java/org/jreleaser/sdk/reddit/api/AccessTokenResponse.java
1
/*
2
 * SPDX-License-Identifier: Apache-2.0
3
 *
4
 * Copyright 2020-2025 The JReleaser authors.
5
 *
6
 * Licensed under the Apache License, Version 2.0 (the "License");
7
 * you may not use this file except in compliance with the License.
8
 * You may obtain a copy of the License at
9
 *
10
 *     https://www.apache.org/licenses/LICENSE-2.0
11
 *
12
 * Unless required by applicable law or agreed to in writing, software
13
 * distributed under the License is distributed on an "AS IS" BASIS,
14
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
 * See the License for the specific language governing permissions and
16
 * limitations under the License.
17
 */
18
package org.jreleaser.sdk.reddit.api;
19

20
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
21

22
/**
23
 * @author Usman Shaikh
24
 * @since 1.21.0
25
 */
26
@JsonIgnoreProperties(ignoreUnknown = true)
27
public class AccessTokenResponse {
1✔
28
    private String accessToken;
29
    private String tokenType;
30
    private Long expiresIn;
31
    private String scope;
32

33
    public String getAccessToken() {
34
        return accessToken;
1✔
35
    }
36

37
    public void setAccessToken(String accessToken) {
38
        this.accessToken = accessToken;
1✔
39
    }
1✔
40

41
    public String getTokenType() {
NEW
42
        return tokenType;
×
43
    }
44

45
    public void setTokenType(String tokenType) {
46
        this.tokenType = tokenType;
1✔
47
    }
1✔
48

49
    public Long getExpiresIn() {
NEW
50
        return expiresIn;
×
51
    }
52

53
    public void setExpiresIn(Long expiresIn) {
54
        this.expiresIn = expiresIn;
1✔
55
    }
1✔
56

57
    public String getScope() {
NEW
58
        return scope;
×
59
    }
60

61
    public void setScope(String scope) {
NEW
62
        this.scope = scope;
×
NEW
63
    }
×
64
}
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

© 2026 Coveralls, Inc