Class DomainsApi
Inheritance
System.Object
DomainsApi
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.Player.CustomBuilds.Web.Domains
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class DomainsApi
Constructors
DomainsApi(IBitmovinApiClientFactory)
Declaration
public DomainsApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type | Name | Description |
---|---|---|
IBitmovinApiClientFactory | apiClientFactory |
Properties
Builder
Fluent builder for creating an instance of DomainsApi
Declaration
public static BitmovinApiBuilder<DomainsApi> Builder { get; }
Property Value
Type | Description |
---|---|
BitmovinApiBuilder<DomainsApi> |
Methods
CreateAsync(CustomWebPlayerBuildDomain)
Add Domain
Declaration
public Task<CustomWebPlayerBuildDomain> CreateAsync(CustomWebPlayerBuildDomain customWebPlayerBuildDomain)
Parameters
Type | Name | Description |
---|---|---|
CustomWebPlayerBuildDomain | customWebPlayerBuildDomain | The Domain to be added |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<CustomWebPlayerBuildDomain> |
DeleteAsync(String)
Delete Domain
Declaration
public Task<BitmovinResponse> DeleteAsync(string domainId)
Parameters
Type | Name | Description |
---|---|---|
System.String | domainId | Id of the domain (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<BitmovinResponse> |
GetAsync(String)
Get Domain Details
Declaration
public Task<CustomWebPlayerBuildDomain> GetAsync(string domainId)
Parameters
Type | Name | Description |
---|---|---|
System.String | domainId | Id of the domain (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<CustomWebPlayerBuildDomain> |
ListAsync()
List Domain Details
Declaration
public Task<PaginationResponse<CustomWebPlayerBuildDomain>> ListAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PaginationResponse<CustomWebPlayerBuildDomain>> |