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.Analytics.Licenses.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(String, Domain)
Add Domain
Declaration
public Task<Domain> CreateAsync(string licenseId, Domain domain)
Parameters
Type | Name | Description |
---|---|---|
System.String | licenseId | License id (required) |
Domain | domain | The domain to be added |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Domain> |
DeleteAsync(String, String)
Delete Domain
Declaration
public Task<BitmovinResponse> DeleteAsync(string licenseId, string domainId)
Parameters
Type | Name | Description |
---|---|---|
System.String | licenseId | License id (required) |
System.String | domainId | id of domain to delete (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<BitmovinResponse> |
GetAsync(String)
List License Domains
Declaration
public Task<DomainList> GetAsync(string licenseId)
Parameters
Type | Name | Description |
---|---|---|
System.String | licenseId | License id (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DomainList> |