Class VideoAllOfPromotedMetrics


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class VideoAllOfPromotedMetrics
    extends Object
    Promoted nonpublic engagement metrics for the Media at the time of the request.
    • Constructor Detail

      • VideoAllOfPromotedMetrics

        public VideoAllOfPromotedMetrics()
    • Method Detail

      • getPlayback0Count

        @Nullable
        public Integer getPlayback0Count()
        Number of users who made it through 0% of the video.
        Returns:
        playback0Count
      • setPlayback0Count

        public void setPlayback0Count​(Integer playback0Count)
      • getPlayback100Count

        @Nullable
        public Integer getPlayback100Count()
        Number of users who made it through 100% of the video.
        Returns:
        playback100Count
      • setPlayback100Count

        public void setPlayback100Count​(Integer playback100Count)
      • getPlayback25Count

        @Nullable
        public Integer getPlayback25Count()
        Number of users who made it through 25% of the video.
        Returns:
        playback25Count
      • setPlayback25Count

        public void setPlayback25Count​(Integer playback25Count)
      • getPlayback50Count

        @Nullable
        public Integer getPlayback50Count()
        Number of users who made it through 50% of the video.
        Returns:
        playback50Count
      • setPlayback50Count

        public void setPlayback50Count​(Integer playback50Count)
      • getPlayback75Count

        @Nullable
        public Integer getPlayback75Count()
        Number of users who made it through 75% of the video.
        Returns:
        playback75Count
      • setPlayback75Count

        public void setPlayback75Count​(Integer playback75Count)
      • getViewCount

        @Nullable
        public Integer getViewCount()
        Number of times this video has been viewed.
        Returns:
        viewCount
      • setViewCount

        public void setViewCount​(Integer viewCount)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to VideoAllOfPromotedMetrics
      • fromJson

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

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