
net.accelbyte.sdk.api.social.models.SlotInfo Maven / Gradle / Ivy
/*
* Copyright (c) 2022 AccelByte Inc. All Rights Reserved
* This is licensed software from AccelByte Inc, for limitations
* and restrictions contact your company contract manager.
*
* Code generated. DO NOT EDIT.
*/
package net.accelbyte.sdk.api.social.models;
import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.util.*;
import lombok.*;
import net.accelbyte.sdk.core.Model;
@JsonIgnoreProperties(ignoreUnknown = true)
@Builder
@Getter
@Setter
// @deprecated 2022-08-29 - All args constructor may cause problems. Use builder instead.
@AllArgsConstructor(onConstructor = @__(@Deprecated))
@NoArgsConstructor
public class SlotInfo extends Model {
@JsonProperty("checksum")
@JsonInclude(JsonInclude.Include.NON_NULL)
private String checksum;
@JsonProperty("customAttribute")
@JsonInclude(JsonInclude.Include.NON_NULL)
private String customAttribute;
@JsonProperty("dateAccessed")
@JsonInclude(JsonInclude.Include.NON_NULL)
private String dateAccessed;
@JsonProperty("dateCreated")
@JsonInclude(JsonInclude.Include.NON_NULL)
private String dateCreated;
@JsonProperty("dateModified")
@JsonInclude(JsonInclude.Include.NON_NULL)
private String dateModified;
@JsonProperty("label")
@JsonInclude(JsonInclude.Include.NON_NULL)
private String label;
@JsonProperty("mimeType")
@JsonInclude(JsonInclude.Include.NON_NULL)
private String mimeType;
@JsonProperty("namespace")
@JsonInclude(JsonInclude.Include.NON_NULL)
private String namespace;
@JsonProperty("originalName")
@JsonInclude(JsonInclude.Include.NON_NULL)
private String originalName;
@JsonProperty("size")
@JsonInclude(JsonInclude.Include.NON_NULL)
private Integer size;
@JsonProperty("slotId")
@JsonInclude(JsonInclude.Include.NON_NULL)
private String slotId;
@JsonProperty("storedName")
@JsonInclude(JsonInclude.Include.NON_NULL)
private String storedName;
@JsonProperty("tags")
@JsonInclude(JsonInclude.Include.NON_NULL)
private List tags;
@JsonProperty("userId")
@JsonInclude(JsonInclude.Include.NON_NULL)
private String userId;
@JsonIgnore
public SlotInfo createFromJson(String json) throws JsonProcessingException {
return new ObjectMapper().readValue(json, this.getClass());
}
@JsonIgnore
public List createFromJsonList(String json) throws JsonProcessingException {
return new ObjectMapper().readValue(json, new TypeReference>() {});
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy