public class OrganizationsApi extends Object
Constructor and Description |
---|
OrganizationsApi(BitmovinApiClientFactory clientFactory) |
Modifier and Type | Method and Description |
---|---|
static BitmovinApiBuilder<OrganizationsApi> |
builder()
Fluent builder for creating an instance of OrganizationsApi
|
Organization |
create(Organization organization)
Add Organization
|
BitmovinResponse |
delete(String organizationId)
Delete Organization
|
Organization |
get(String organizationId)
Organization Details
|
PaginationResponse<Organization> |
list()
List Organizations
|
public final GroupsApi groups
public OrganizationsApi(BitmovinApiClientFactory clientFactory)
public static BitmovinApiBuilder<OrganizationsApi> builder()
public Organization create(Organization organization) throws BitmovinException
organization
- Orgnaization Details (optional)BitmovinException
- if fails to make API callpublic BitmovinResponse delete(String organizationId) throws BitmovinException
organizationId
- Id of the organization (required)BitmovinException
- if fails to make API callpublic Organization get(String organizationId) throws BitmovinException
organizationId
- Id of the organization (required)BitmovinException
- if fails to make API callpublic PaginationResponse<Organization> list() throws BitmovinException
BitmovinException
- if fails to make API callCopyright © 2019. All rights reserved.