io.github.primelib.jira4j.restv2.model.UserBeanAvatarUrls Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jira4j-rest-v2 Show documentation
Show all versions of jira4j-rest-v2 Show documentation
A Java Wrapper for the Jira REST API
The newest version!
package io.github.primelib.jira4j.restv2.model;
import java.util.function.Consumer;
import org.jetbrains.annotations.ApiStatus;
import javax.annotation.processing.Generated;
import lombok.AccessLevel;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.net.URI;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* UserBeanAvatarUrls
*
*/
@Getter
@Setter
@EqualsAndHashCode
@ToString
@Accessors(fluent = true, chain = true)
@NoArgsConstructor(access = AccessLevel.PROTECTED, force = true)
@Builder
@JsonPropertyOrder({
"16x16",
"24x24",
"32x32",
"48x48"
})
@JsonTypeName("UserBeanAvatarUrls")
@Generated(value = "io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UserBeanAvatarUrls {
/**
* The URL of the user's 16x16 pixel avatar.
*/
@JsonProperty("16x16")
protected URI _16x16;
/**
* The URL of the user's 24x24 pixel avatar.
*/
@JsonProperty("24x24")
protected URI _24x24;
/**
* The URL of the user's 32x32 pixel avatar.
*/
@JsonProperty("32x32")
protected URI _32x32;
/**
* The URL of the user's 48x48 pixel avatar.
*/
@JsonProperty("48x48")
protected URI _48x48;
/**
* Constructs a validated instance of {@link UserBeanAvatarUrls}.
*
* @param spec the specification to process
*/
public UserBeanAvatarUrls(Consumer spec) {
spec.accept(this);
}
/**
* Constructs a validated instance of {@link UserBeanAvatarUrls}.
*
* NOTE: This constructor is not considered stable and may change if the model is updated. Consider using {@link #UserBeanAvatarUrls(Consumer)} instead.
* @param _16x16 The URL of the user's 16x16 pixel avatar.
* @param _24x24 The URL of the user's 24x24 pixel avatar.
* @param _32x32 The URL of the user's 32x32 pixel avatar.
* @param _48x48 The URL of the user's 48x48 pixel avatar.
*/
@ApiStatus.Internal
public UserBeanAvatarUrls(URI _16x16, URI _24x24, URI _32x32, URI _48x48) {
this._16x16 = _16x16;
this._24x24 = _24x24;
this._32x32 = _32x32;
this._48x48 = _48x48;
}
}