forked from twilio/twilio-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Librarian] Regenerated @ 1baa147fbfa3bf2798f86ec43796ef1df42570d4 a3…
…170b07f36450c6d179edf9b044cbf5f6b94e3a
- Loading branch information
Showing
32 changed files
with
4,568 additions
and
642 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
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,47 @@ | ||
/* | ||
* This code was generated by | ||
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ | ||
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ | ||
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ | ||
* | ||
* Twilio - Content | ||
* This is the public Twilio REST API. | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator. | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
import ContentBase from "../ContentBase"; | ||
import Version from "../../base/Version"; | ||
import { ContentListInstance } from "./v2/content"; | ||
import { ContentAndApprovalsListInstance } from "./v2/contentAndApprovals"; | ||
|
||
export default class V2 extends Version { | ||
/** | ||
* Initialize the V2 version of Content | ||
* | ||
* @param domain - The Twilio (Twilio.Content) domain | ||
*/ | ||
constructor(domain: ContentBase) { | ||
super(domain, "v2"); | ||
} | ||
|
||
/** contents - { Twilio.Content.V2.ContentListInstance } resource */ | ||
protected _contents?: ContentListInstance; | ||
/** contentAndApprovals - { Twilio.Content.V2.ContentAndApprovalsListInstance } resource */ | ||
protected _contentAndApprovals?: ContentAndApprovalsListInstance; | ||
|
||
/** Getter for contents resource */ | ||
get contents(): ContentListInstance { | ||
this._contents = this._contents || ContentListInstance(this); | ||
return this._contents; | ||
} | ||
|
||
/** Getter for contentAndApprovals resource */ | ||
get contentAndApprovals(): ContentAndApprovalsListInstance { | ||
this._contentAndApprovals = | ||
this._contentAndApprovals || ContentAndApprovalsListInstance(this); | ||
return this._contentAndApprovals; | ||
} | ||
} |
Oops, something went wrong.