com.cloudbees.api
Class CBAccount
java.lang.Object
com.cloudbees.api.CBAccount
public class CBAccount
- extends Object
Represents an account in the CloudBees platform.m
An account is a unit of billing.
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
subscriptions
public List<CBSubscription> subscriptions
CBAccount
public CBAccount()
addUser
public CBUser addUser(CBUser user)
throws IOException
- Throws:
IOException
addSubscription
public CBSubscription addSubscription(CBSubscription sub)
throws IOException
- Adds the new subscription to the user.
- Throws:
IOException
addSubscription
public CBSubscription addSubscription(String userid,
CBSubscription sub)
throws IOException
- Deprecated. Use
addSubscription(CBSubscription) when it's ready
- Throws:
IOException
getSubscriptions
public List<CBSubscription> getSubscriptions()
throws IOException
- Throws:
IOException
Copyright © 2011-2013. All Rights Reserved.