io.clarify.api
Class BundleTrack

java.lang.Object
  extended by io.clarify.api.ClarifyModel
      extended by io.clarify.api.BundleTrack

public class BundleTrack
extends ClarifyModel

Represents a specific Track within a media Bundle


Field Summary
 
Fields inherited from class io.clarify.api.ClarifyModel
client, response
 
Constructor Summary
BundleTrack(ClarifyClient client, ClarifyResponse response)
           
 
Method Summary
 String getId()
          Attempts to navigate the parsed JSON and return the field "id" in the payload
 
Methods inherited from class io.clarify.api.ClarifyModel
getClarifyClient, getClarifyResponse, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BundleTrack

public BundleTrack(ClarifyClient client,
                   ClarifyResponse response)
Method Detail

getId

public String getId()
Attempts to navigate the parsed JSON and return the field "id" in the payload

Returns:
return the Bundle ID
Throws:
RuntimeException - containing the nested exception if the lookup failed


Copyright © 2015 Clarify Inc. All Rights Reserved.