Package com.twitter.clientlib.model
Class VideoAllOfOrganicMetrics
- java.lang.Object
-
- com.twitter.clientlib.model.VideoAllOfOrganicMetrics
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class VideoAllOfOrganicMetrics extends Object
Organic nonpublic engagement metrics for the Media at the time of the request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVideoAllOfOrganicMetrics.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_PLAYBACK0_COUNTstatic StringSERIALIZED_NAME_PLAYBACK100_COUNTstatic StringSERIALIZED_NAME_PLAYBACK25_COUNTstatic StringSERIALIZED_NAME_PLAYBACK50_COUNTstatic StringSERIALIZED_NAME_PLAYBACK75_COUNTstatic StringSERIALIZED_NAME_VIEW_COUNT
-
Constructor Summary
Constructors Constructor Description VideoAllOfOrganicMetrics()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static VideoAllOfOrganicMetricsfromJson(String jsonString)Create an instance of VideoAllOfOrganicMetrics given an JSON stringIntegergetPlayback0Count()Number of users who made it through 0% of the video.IntegergetPlayback100Count()Number of users who made it through 100% of the video.IntegergetPlayback25Count()Number of users who made it through 25% of the video.IntegergetPlayback50Count()Number of users who made it through 50% of the video.IntegergetPlayback75Count()Number of users who made it through 75% of the video.IntegergetViewCount()Number of times this video has been viewed.inthashCode()VideoAllOfOrganicMetricsplayback0Count(Integer playback0Count)VideoAllOfOrganicMetricsplayback100Count(Integer playback100Count)VideoAllOfOrganicMetricsplayback25Count(Integer playback25Count)VideoAllOfOrganicMetricsplayback50Count(Integer playback50Count)VideoAllOfOrganicMetricsplayback75Count(Integer playback75Count)voidsetPlayback0Count(Integer playback0Count)voidsetPlayback100Count(Integer playback100Count)voidsetPlayback25Count(Integer playback25Count)voidsetPlayback50Count(Integer playback50Count)voidsetPlayback75Count(Integer playback75Count)voidsetViewCount(Integer viewCount)StringtoJson()Convert an instance of VideoAllOfOrganicMetrics to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundVideoAllOfOrganicMetricsviewCount(Integer viewCount)
-
-
-
Field Detail
-
SERIALIZED_NAME_PLAYBACK0_COUNT
public static final String SERIALIZED_NAME_PLAYBACK0_COUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PLAYBACK25_COUNT
public static final String SERIALIZED_NAME_PLAYBACK25_COUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PLAYBACK50_COUNT
public static final String SERIALIZED_NAME_PLAYBACK50_COUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PLAYBACK75_COUNT
public static final String SERIALIZED_NAME_PLAYBACK75_COUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PLAYBACK100_COUNT
public static final String SERIALIZED_NAME_PLAYBACK100_COUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VIEW_COUNT
public static final String SERIALIZED_NAME_VIEW_COUNT
- See Also:
- Constant Field Values
-
-
Method Detail
-
playback0Count
public VideoAllOfOrganicMetrics playback0Count(Integer playback0Count)
-
getPlayback0Count
@Nullable public Integer getPlayback0Count()
Number of users who made it through 0% of the video.- Returns:
- playback0Count
-
setPlayback0Count
public void setPlayback0Count(Integer playback0Count)
-
playback25Count
public VideoAllOfOrganicMetrics playback25Count(Integer playback25Count)
-
getPlayback25Count
@Nullable public Integer getPlayback25Count()
Number of users who made it through 25% of the video.- Returns:
- playback25Count
-
setPlayback25Count
public void setPlayback25Count(Integer playback25Count)
-
playback50Count
public VideoAllOfOrganicMetrics playback50Count(Integer playback50Count)
-
getPlayback50Count
@Nullable public Integer getPlayback50Count()
Number of users who made it through 50% of the video.- Returns:
- playback50Count
-
setPlayback50Count
public void setPlayback50Count(Integer playback50Count)
-
playback75Count
public VideoAllOfOrganicMetrics playback75Count(Integer playback75Count)
-
getPlayback75Count
@Nullable public Integer getPlayback75Count()
Number of users who made it through 75% of the video.- Returns:
- playback75Count
-
setPlayback75Count
public void setPlayback75Count(Integer playback75Count)
-
playback100Count
public VideoAllOfOrganicMetrics playback100Count(Integer playback100Count)
-
getPlayback100Count
@Nullable public Integer getPlayback100Count()
Number of users who made it through 100% of the video.- Returns:
- playback100Count
-
setPlayback100Count
public void setPlayback100Count(Integer playback100Count)
-
viewCount
public VideoAllOfOrganicMetrics viewCount(Integer viewCount)
-
getViewCount
@Nullable public Integer getViewCount()
Number of times this video has been viewed.- Returns:
- viewCount
-
setViewCount
public void setViewCount(Integer viewCount)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates 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 VideoAllOfOrganicMetrics
-
fromJson
public static VideoAllOfOrganicMetrics fromJson(String jsonString) throws IOException
Create an instance of VideoAllOfOrganicMetrics given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VideoAllOfOrganicMetrics
- Throws:
IOException- if the JSON string is invalid with respect to VideoAllOfOrganicMetrics
-
toJson
public String toJson()
Convert an instance of VideoAllOfOrganicMetrics to an JSON string- Returns:
- JSON string
-
-