/** * This code was auto-generated by a Codezu. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.api.contracts.installedapplications; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.joda.time.DateTime; import java.io.IOException; import java.lang.ClassNotFoundException; /** * Mozu.InstalledApplications.Contracts.CredentialStoreEntry ApiType DOCUMENT_HERE */ @JsonIgnoreProperties(ignoreUnknown = true) public class CredentialStoreEntry implements Serializable { // Default Serial Version UID private static final long serialVersionUID = 1L; /** * The full name of the credential store entry. */ protected String fullName; public String getFullName() { return this.fullName; } public void setFullName(String fullName) { this.fullName = fullName; } /** * The value of a property, used by numerous objects within including facets, attributes, products, localized content, metadata, capabilities ( and third-party), location inventory adjustment, and more. The value may be a string, integer, or double. Validation may be run against the entered and saved values depending on the object type. */ protected transient com.fasterxml.jackson.databind.JsonNode value; public com.fasterxml.jackson.databind.JsonNode getValue() { return this.value; } public void setValue(com.fasterxml.jackson.databind.JsonNode value) { this.value = value; } private void writeObject(java.io.ObjectOutputStream out) throws IOException { out.defaultWriteObject(); if(value == null){ out.writeBoolean(false); } else { out.writeBoolean(true); new com.fasterxml.jackson.databind.ObjectMapper().configure(com.fasterxml.jackson.core.JsonGenerator.Feature.AUTO_CLOSE_TARGET, false).writeValue(out, value); } } private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); if(in.readBoolean()){ this.value = new com.fasterxml.jackson.databind.ObjectMapper().configure(com.fasterxml.jackson.core.JsonParser.Feature.AUTO_CLOSE_SOURCE, false).readValue(in, com.fasterxml.jackson.databind.JsonNode.class); } } }