Class FeedProductDelete


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.4.0")
    public class FeedProductDelete
    extends Object
    FeedProductDelete
    • Constructor Detail

      • FeedProductDelete

        public FeedProductDelete()
    • Method Detail

      • getSku

        @Nonnull
        public String getSku()
        Product unique identifier
        Returns:
        sku
      • setSku

        public void setSku​(String sku)
      • 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 FeedProductDelete
      • fromJson

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

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