@@ -27,7 +27,7 @@ class ApprovalFetchInstance(InstanceResource):
2727 :ivar url: The URL of the resource, relative to `https://content.twilio.com`.
2828 """
2929
30- def __init__ (self , version : Version , payload : Dict [str , Any ], sid : str ):
30+ def __init__ (self , version : Version , payload : Dict [str , Any ], content_sid : str ):
3131 super ().__init__ (version )
3232
3333 self .sid : Optional [str ] = payload .get ("sid" )
@@ -36,7 +36,7 @@ def __init__(self, version: Version, payload: Dict[str, Any], sid: str):
3636 self .url : Optional [str ] = payload .get ("url" )
3737
3838 self ._solution = {
39- "sid " : sid ,
39+ "content_sid " : content_sid ,
4040 }
4141 self ._context : Optional [ApprovalFetchContext ] = None
4242
@@ -51,7 +51,7 @@ def _proxy(self) -> "ApprovalFetchContext":
5151 if self ._context is None :
5252 self ._context = ApprovalFetchContext (
5353 self ._version ,
54- sid = self ._solution ["sid " ],
54+ content_sid = self ._solution ["content_sid " ],
5555 )
5656 return self ._context
5757
@@ -85,20 +85,20 @@ def __repr__(self) -> str:
8585
8686class ApprovalFetchContext (InstanceContext ):
8787
88- def __init__ (self , version : Version , sid : str ):
88+ def __init__ (self , version : Version , content_sid : str ):
8989 """
9090 Initialize the ApprovalFetchContext
9191
9292 :param version: Version that contains the resource
93- :param sid : The Twilio-provided string that uniquely identifies the Content resource whose approval information to fetch.
93+ :param content_sid : The Twilio-provided string that uniquely identifies the Content resource whose approval information to fetch.
9494 """
9595 super ().__init__ (version )
9696
9797 # Path Solution
9898 self ._solution = {
99- "sid " : sid ,
99+ "content_sid " : content_sid ,
100100 }
101- self ._uri = "/Content/{sid }/ApprovalRequests" .format (** self ._solution )
101+ self ._uri = "/Content/{content_sid }/ApprovalRequests" .format (** self ._solution )
102102
103103 def fetch (self ) -> ApprovalFetchInstance :
104104 """
@@ -116,7 +116,7 @@ def fetch(self) -> ApprovalFetchInstance:
116116 return ApprovalFetchInstance (
117117 self ._version ,
118118 payload ,
119- sid = self ._solution ["sid " ],
119+ content_sid = self ._solution ["content_sid " ],
120120 )
121121
122122 async def fetch_async (self ) -> ApprovalFetchInstance :
@@ -135,7 +135,7 @@ async def fetch_async(self) -> ApprovalFetchInstance:
135135 return ApprovalFetchInstance (
136136 self ._version ,
137137 payload ,
138- sid = self ._solution ["sid " ],
138+ content_sid = self ._solution ["content_sid " ],
139139 )
140140
141141 def __repr__ (self ) -> str :
@@ -150,34 +150,38 @@ def __repr__(self) -> str:
150150
151151class ApprovalFetchList (ListResource ):
152152
153- def __init__ (self , version : Version , sid : str ):
153+ def __init__ (self , version : Version , content_sid : str ):
154154 """
155155 Initialize the ApprovalFetchList
156156
157157 :param version: Version that contains the resource
158- :param sid : The Twilio-provided string that uniquely identifies the Content resource whose approval information to fetch.
158+ :param content_sid : The Twilio-provided string that uniquely identifies the Content resource whose approval information to fetch.
159159
160160 """
161161 super ().__init__ (version )
162162
163163 # Path Solution
164164 self ._solution = {
165- "sid " : sid ,
165+ "content_sid " : content_sid ,
166166 }
167167
168168 def get (self ) -> ApprovalFetchContext :
169169 """
170170 Constructs a ApprovalFetchContext
171171
172172 """
173- return ApprovalFetchContext (self ._version , sid = self ._solution ["sid" ])
173+ return ApprovalFetchContext (
174+ self ._version , content_sid = self ._solution ["content_sid" ]
175+ )
174176
175177 def __call__ (self ) -> ApprovalFetchContext :
176178 """
177179 Constructs a ApprovalFetchContext
178180
179181 """
180- return ApprovalFetchContext (self ._version , sid = self ._solution ["sid" ])
182+ return ApprovalFetchContext (
183+ self ._version , content_sid = self ._solution ["content_sid" ]
184+ )
181185
182186 def __repr__ (self ) -> str :
183187 """
0 commit comments