Class FeedMetadataDelete


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.4.0")
    public class FeedMetadataDelete
    extends Object
    Delete metadata information for a product attribute.
    • Constructor Detail

      • FeedMetadataDelete

        public FeedMetadataDelete()
    • Method Detail

      • getCode

        @Nonnull
        public String getCode()
        Attribute code
        Returns:
        code
      • setCode

        public void setCode​(String code)
      • getSource

        @Nonnull
        public Source getSource()
        Get source
        Returns:
        source
      • setSource

        public void setSource​(Source source)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        IOException - if the JSON Element is invalid with respect to FeedMetadataDelete
      • fromJson

        public static FeedMetadataDelete fromJson​(String jsonString)
                                           throws IOException
        Create an instance of FeedMetadataDelete given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of FeedMetadataDelete
        Throws:
        IOException - if the JSON string is invalid with respect to FeedMetadataDelete
      • toJson

        public String toJson()
        Convert an instance of FeedMetadataDelete to an JSON string
        Returns:
        JSON string