-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: handle versionless orgs api for node, ruby, python, php (#624)
- Loading branch information
1 parent
f9896d9
commit c08e45b
Showing
61 changed files
with
2,515 additions
and
151 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 |
---|---|---|
|
@@ -16,4 +16,5 @@ tmp | |
**/execution-result.xml | ||
**/php_coverage.xml | ||
*.iml | ||
generateFiles.py | ||
generateFiles.py | ||
temp_specs/ |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import Domain from "../base/Domain"; | ||
import V1 from "./previewIam/V1"; | ||
|
||
class PreviewIamBase extends Domain { | ||
constructor(twilio: any) { | ||
super(twilio, "https://preview-iam.twilio.com"); | ||
} | ||
|
||
get v1(): V1 { | ||
return new V1(this); | ||
} | ||
} | ||
|
||
export = PreviewIamBase; |
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/* | ||
* This code was generated by | ||
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ | ||
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ | ||
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ | ||
* | ||
* Organization Public API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator. | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
import PreviewIamBase from "../PreviewIamBase"; | ||
import Version from "../../base/Version"; | ||
import { AuthorizeListInstance } from "./v1/authorize"; | ||
import { TokenListInstance } from "./v1/token"; | ||
|
||
export default class V1 extends Version { | ||
/** | ||
* Initialize the V1 version of PreviewIam | ||
* | ||
* @param domain - The Twilio (Twilio.PreviewIam) domain | ||
*/ | ||
constructor(domain: PreviewIamBase) { | ||
super(domain, "v1"); | ||
} | ||
|
||
/** authorize - { Twilio.PreviewIam.V1.AuthorizeListInstance } resource */ | ||
protected _authorize?: AuthorizeListInstance; | ||
/** token - { Twilio.PreviewIam.V1.TokenListInstance } resource */ | ||
protected _token?: TokenListInstance; | ||
|
||
/** Getter for authorize resource */ | ||
get authorize(): AuthorizeListInstance { | ||
this._authorize = this._authorize || AuthorizeListInstance(this); | ||
return this._authorize; | ||
} | ||
|
||
/** Getter for token resource */ | ||
get token(): TokenListInstance { | ||
this._token = this._token || TokenListInstance(this); | ||
return this._token; | ||
} | ||
} |
Oops, something went wrong.