Class Format

  • All Implemented Interfaces:
    java.io.Serializable

    public class Format
    extends BaseBid
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Integer h  
      java.lang.Integer w  
    • Constructor Summary

      Constructors 
      Constructor Description
      Format​(int w, int h)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      org.json.JSONObject getJsonObject()  
      int hashCode()  
      • Methods inherited from class org.prebid.mobile.rendering.models.openrtb.bidRequests.BaseBid

        toJSON
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • w

        public java.lang.Integer w
      • h

        public java.lang.Integer h
    • Constructor Detail

      • Format

        public Format​(int w,
                      int h)
    • Method Detail

      • getJsonObject

        public org.json.JSONObject getJsonObject()
                                          throws org.json.JSONException
        Throws:
        org.json.JSONException
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object