-
Notifications
You must be signed in to change notification settings - Fork 520
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1999b3c
commit d485b37
Showing
6 changed files
with
336 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
import IamBase from "./IamBase"; | ||
import {ApiKeyListInstance} from "./iam/v1/apiKey"; | ||
import {GetApiKeysListInstance} from "./iam/v1/getApiKeys"; | ||
import {KeyListInstance} from "./iam/v1/key"; | ||
import { ApiKeyListInstance } from "./iam/v1/apiKey"; | ||
import { GetApiKeysListInstance } from "./iam/v1/getApiKeys"; | ||
import { KeyListInstance } from "./iam/v1/key"; | ||
|
||
class Iam extends IamBase { | ||
/** | ||
* @deprecated - Use v1.apiKey instead | ||
*/ | ||
get apiKey(): ApiKeyListInstance { | ||
console.warn("apiKey is deprecated. Use v1.apiKey instead."); | ||
return this.v1.apiKey; | ||
} | ||
/** | ||
* @deprecated - Use v1.apiKey instead | ||
*/ | ||
get apiKey(): ApiKeyListInstance { | ||
console.warn("apiKey is deprecated. Use v1.apiKey instead."); | ||
return this.v1.apiKey; | ||
} | ||
|
||
/** | ||
* @deprecated - Use v1.getApiKeys instead | ||
*/ | ||
get getApiKeys(): GetApiKeysListInstance { | ||
console.warn("getApiKeys is deprecated. Use v1.getApiKeys instead."); | ||
return this.v1.getApiKeys; | ||
} | ||
/** | ||
* @deprecated - Use v1.getApiKeys instead | ||
*/ | ||
get getApiKeys(): GetApiKeysListInstance { | ||
console.warn("getApiKeys is deprecated. Use v1.getApiKeys instead."); | ||
return this.v1.getApiKeys; | ||
} | ||
|
||
/** | ||
* @deprecated - Use v1.keys instead | ||
*/ | ||
get keys(): KeyListInstance { | ||
console.warn("keys is deprecated. Use v1.keys instead."); | ||
return this.v1.keys; | ||
} | ||
/** | ||
* @deprecated - Use v1.keys instead | ||
*/ | ||
get keys(): KeyListInstance { | ||
console.warn("keys is deprecated. Use v1.keys instead."); | ||
return this.v1.keys; | ||
} | ||
} | ||
|
||
export = Iam; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.