Class VideoAllOfNonPublicMetrics


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

      • VideoAllOfNonPublicMetrics

        public VideoAllOfNonPublicMetrics()
    • 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)
      • 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 VideoAllOfNonPublicMetrics
      • fromJson

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

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