com.fitbit.api.model
Class ApiSubscription

java.lang.Object
  extended by com.fitbit.api.model.ApiSubscription

public class ApiSubscription
extends Object


Constructor Summary
ApiSubscription(org.json.JSONObject json)
           
ApiSubscription(String subscriberId, String subscriptionId, ResourceOwnerType ownerType, String ownerId, APICollectionType collectionType)
           
 
Method Summary
 boolean equals(Object o)
           
 APICollectionType getCollectionType()
           
 String getOwnerId()
           
 ResourceOwnerType getOwnerType()
           
 String getSubscriberId()
           
 String getSubscriptionId()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiSubscription

public ApiSubscription(String subscriberId,
                       String subscriptionId,
                       ResourceOwnerType ownerType,
                       String ownerId,
                       APICollectionType collectionType)

ApiSubscription

public ApiSubscription(org.json.JSONObject json)
Method Detail

getSubscriberId

public String getSubscriberId()

getSubscriptionId

public String getSubscriptionId()

getOwnerId

public String getOwnerId()

getOwnerType

public ResourceOwnerType getOwnerType()

getCollectionType

public APICollectionType getCollectionType()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2012. All Rights Reserved.