com.dft.api.shopify.model.ShopifyMetafield Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shopify-admin-rest Show documentation
Show all versions of shopify-admin-rest Show documentation
Shopify Admin REST API using JDK 11 and Reactive Programming
The newest version!
package com.dft.api.shopify.model;
import com.dft.api.shopify.model.adapters.MetafieldValueTypeDeserializer;
import com.dft.api.shopify.model.adapters.MetafieldValueTypeSerializer;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import java.util.Date;
@Data
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@JsonIgnoreProperties(ignoreUnknown = true)
public class ShopifyMetafield {
private String id;
private String key;
private String value;
@JsonDeserialize(converter = MetafieldValueTypeDeserializer.class)
@JsonSerialize(converter = MetafieldValueTypeSerializer.class)
private ShopifyMetafieldValueType valueType;
private String namespace;
private String ownerId;
private String ownerResource;
private Date createdAt;
private Date updatedAt;
}