@@ -30,16 +30,16 @@ func ListExamplesPath() string {
3030}
3131
3232// ListExamples provides a list of all the builtin examples
33- func (c * Client ) ListExamples (ctx context.Context , path string , maintainer * string , type1 * string ) (* http.Response , error ) {
34- req , err := c .NewListExamplesRequest (ctx , path , maintainer , type1 )
33+ func (c * Client ) ListExamples (ctx context.Context , path string , maintainer * string , libType * string ) (* http.Response , error ) {
34+ req , err := c .NewListExamplesRequest (ctx , path , maintainer , libType )
3535 if err != nil {
3636 return nil , err
3737 }
3838 return c .Client .Do (ctx , req )
3939}
4040
4141// NewListExamplesRequest create the request corresponding to the list action endpoint of the examples resource.
42- func (c * Client ) NewListExamplesRequest (ctx context.Context , path string , maintainer * string , type1 * string ) (* http.Request , error ) {
42+ func (c * Client ) NewListExamplesRequest (ctx context.Context , path string , maintainer * string , libType * string ) (* http.Request , error ) {
4343 scheme := c .Scheme
4444 if scheme == "" {
4545 scheme = "http"
@@ -49,8 +49,8 @@ func (c *Client) NewListExamplesRequest(ctx context.Context, path string, mainta
4949 if maintainer != nil {
5050 values .Set ("maintainer" , * maintainer )
5151 }
52- if type1 != nil {
53- values .Set ("type" , * type1 )
52+ if libType != nil {
53+ values .Set ("type" , * libType )
5454 }
5555 u .RawQuery = values .Encode ()
5656 req , err := http .NewRequest ("GET" , u .String (), nil )
0 commit comments