@acceleratxr/core_sdk / LaunchProfileService
Class: LaunchProfileService#
Hierarchy#
-
↳ LaunchProfileService
Index#
Constructors#
Properties#
Methods#
Constructors#
constructor#
+ new LaunchProfileService(apiClient: ApiClient, config: Configuration): LaunchProfileService
Overrides ServiceBase.constructor
Defined in src/services/LaunchProfileService.ts:10
Parameters:#
Name |
Type |
|---|---|
|
|
|
Returns: LaunchProfileService
Properties#
apiClient#
• Protected apiClient: ApiClient
Inherited from ServiceBase.apiClient
Defined in src/ServiceBase.ts:14
The API Client used when making requests to the API backend server.
config#
• Protected config: Configuration
Inherited from ServiceBase.config
Defined in src/ServiceBase.ts:19
The SDK configuration to use.
uuid#
▪ Static uuid: string = “e6168959-d0c5-497e-ad4d-6a720c86faed”
Defined in src/services/LaunchProfileService.ts:16
Methods#
count#
▸ count(query?: any): Promise<number>
Defined in src/services/LaunchProfileService.ts:57
Returns the count of categories
Parameters:#
Name |
Type |
|---|---|
|
any |
Returns: Promise<number>
create#
▸ create(obj: LaunchProfile): Promise<LaunchProfile | undefined>
Defined in src/services/LaunchProfileService.ts:33
Create a new category
Parameters:#
Name |
Type |
|---|---|
|
Returns: Promise<LaunchProfile | undefined>
delete#
▸ delete(id: string): Promise<void>
Defined in src/services/LaunchProfileService.ts:102
Deletes the category
Parameters:#
Name |
Type |
|---|---|
|
string |
Returns: Promise<void>
findAll#
▸ findAll(query?: any): Promise<LaunchProfile[] | undefined>
Defined in src/services/LaunchProfileService.ts:21
Returns all categories from the system that the user has access to
Parameters:#
Name |
Type |
|---|---|
|
any |
Returns: Promise<LaunchProfile[] | undefined>
findById#
▸ findById(id: string): Promise<LaunchProfile | undefined>
Defined in src/services/LaunchProfileService.ts:76
Returns a single category from the system that the user has access to
Parameters:#
Name |
Type |
|---|---|
|
string |
Returns: Promise<LaunchProfile | undefined>
truncate#
▸ truncate(query?: any): Promise<void>
Defined in src/services/LaunchProfileService.ts:45
Deletes all categories from the service.
Parameters:#
Name |
Type |
|---|---|
|
any |
Returns: Promise<void>
update#
▸ update(id: string, obj: LaunchProfile): Promise<LaunchProfile | undefined>
Defined in src/services/LaunchProfileService.ts:89
Updates a single category
Parameters:#
Name |
Type |
|---|---|
|
string |
|
Returns: Promise<LaunchProfile | undefined>