Class OrganizationsApi
Inheritance
System.Object
OrganizationsApi
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Bitmovin.Api.Sdk.Account.Organizations
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class OrganizationsApi
Constructors
OrganizationsApi(IBitmovinApiClientFactory)
Declaration
public OrganizationsApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type | Name | Description |
---|---|---|
IBitmovinApiClientFactory | apiClientFactory |
Properties
Builder
Fluent builder for creating an instance of OrganizationsApi
Declaration
public static BitmovinApiBuilder<OrganizationsApi> Builder { get; }
Property Value
Type | Description |
---|---|
BitmovinApiBuilder<OrganizationsApi> |
Groups
Declaration
public GroupsApi Groups { get; }
Property Value
Type | Description |
---|---|
GroupsApi |
SubOrganizations
Declaration
public SubOrganizationsApi SubOrganizations { get; }
Property Value
Type | Description |
---|---|
SubOrganizationsApi |
Methods
CreateAsync(Organization)
Add Organization
Declaration
public Task<Organization> CreateAsync(Organization organization)
Parameters
Type | Name | Description |
---|---|---|
Organization | organization | Organization Details |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Organization> |
GetAsync(String)
Organization Details
Declaration
public Task<Organization> GetAsync(string organizationId)
Parameters
Type | Name | Description |
---|---|---|
System.String | organizationId | ID of the organization (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Organization> |
ListAsync()
List Organizations
Declaration
public Task<PaginationResponse<Organization>> ListAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PaginationResponse<Organization>> |
UpdateAsync(String, UpdateOrganizationRequest)
Update Organization
Declaration
public Task<Organization> UpdateAsync(string organizationId, UpdateOrganizationRequest updateOrganizationRequest)
Parameters
Type | Name | Description |
---|---|---|
System.String | organizationId | ID of the organization (required) |
UpdateOrganizationRequest | updateOrganizationRequest | Organization Details fields to be updated |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Organization> |