@@ -36,7 +36,7 @@ const (
36
36
prod = true
37
37
)
38
38
39
- // CreateSketches Adds a new sketch.
39
+ // CreateSketches adds a new sketch.
40
40
func (c * Client ) CreateSketches (ctx context.Context , path string , payload * Sketch , authorization string ) (* http.Response , error ) {
41
41
req , err := c .NewCreateSketchesRequest (ctx , path , payload , authorization )
42
42
if err != nil {
@@ -45,7 +45,7 @@ func (c *Client) CreateSketches(ctx context.Context, path string, payload *Sketc
45
45
return c .Client .Do (ctx , req )
46
46
}
47
47
48
- // NewCreateSketchesRequest create the request corresponding to the create action endpoint of the sketches resource.
48
+ // NewCreateSketchesRequest creates the request corresponding to the create action endpoint of the sketches resource.
49
49
func (c * Client ) NewCreateSketchesRequest (ctx context.Context , path string , payload * Sketch , authorization string ) (* http.Request , error ) {
50
50
var body bytes.Buffer
51
51
err := c .Encoder .Encode (payload , & body , "*/*" )
@@ -79,7 +79,7 @@ func DeleteSketchesPath(id string) string {
79
79
return fmt .Sprintf ("/create/v1/sketches/%s" , id )
80
80
}
81
81
82
- // DeleteSketches Removes the sketch identified by the :id param.
82
+ // DeleteSketches removes the sketch identified by the :id param.
83
83
func (c * Client ) DeleteSketches (ctx context.Context , path string , authorization string ) (* http.Response , error ) {
84
84
req , err := c .NewDeleteSketchesRequest (ctx , path , authorization )
85
85
if err != nil {
@@ -88,7 +88,7 @@ func (c *Client) DeleteSketches(ctx context.Context, path string, authorization
88
88
return c .Client .Do (ctx , req )
89
89
}
90
90
91
- // NewDeleteSketchesRequest create the request corresponding to the delete action endpoint of the sketches resource.
91
+ // NewDeleteSketchesRequest creates the request corresponding to the delete action endpoint of the sketches resource.
92
92
func (c * Client ) NewDeleteSketchesRequest (ctx context.Context , path string , authorization string ) (* http.Request , error ) {
93
93
scheme := c .Scheme
94
94
if scheme == "" {
@@ -118,7 +118,7 @@ func EditSketchesPath(id string) string {
118
118
return fmt .Sprintf ("/create/v1/sketches/%s" , param0 )
119
119
}
120
120
121
- // EditSketches Modifies the sketch identified by the :id param.
121
+ // EditSketches modifies the sketch identified by the :id param.
122
122
// If a file has a valid data field, it will be modified too.
123
123
func (c * Client ) EditSketches (ctx context.Context , path string , payload * Sketch , authorization string ) (* http.Response , error ) {
124
124
req , err := c .NewEditSketchesRequest (ctx , path , payload , authorization )
@@ -128,7 +128,7 @@ func (c *Client) EditSketches(ctx context.Context, path string, payload *Sketch,
128
128
return c .Client .Do (ctx , req )
129
129
}
130
130
131
- // NewEditSketchesRequest create the request corresponding to the edit action endpoint of the sketches resource.
131
+ // NewEditSketchesRequest creates the request corresponding to the edit action endpoint of the sketches resource.
132
132
func (c * Client ) NewEditSketchesRequest (ctx context.Context , path string , payload * Sketch , authorization string ) (* http.Request , error ) {
133
133
var body bytes.Buffer
134
134
err := c .Encoder .Encode (payload , & body , "*/*" )
@@ -162,7 +162,7 @@ func SearchSketchesPath() string {
162
162
return fmt .Sprintf ("/create/v1/sketches" )
163
163
}
164
164
165
- // SearchSketches Provides a paginated list of sketches filtered according to the params. The page size is 100 items.
165
+ // SearchSketches provides a paginated list of sketches filtered according to the params. The page size is 100 items.
166
166
func (c * Client ) SearchSketches (ctx context.Context , path string , offset * string , owner * string , authorization * string ) (* http.Response , error ) {
167
167
req , err := c .NewSearchSketchesRequest (ctx , path , offset , owner , authorization )
168
168
if err != nil {
@@ -171,7 +171,7 @@ func (c *Client) SearchSketches(ctx context.Context, path string, offset *string
171
171
return c .Client .Do (ctx , req )
172
172
}
173
173
174
- // NewSearchSketchesRequest create the request corresponding to the search action endpoint of the sketches resource.
174
+ // NewSearchSketchesRequest creates the request corresponding to the search action endpoint of the sketches resource.
175
175
func (c * Client ) NewSearchSketchesRequest (ctx context.Context , path string , offset * string , owner * string , authorization * string ) (* http.Request , error ) {
176
176
scheme := c .Scheme
177
177
if scheme == "" {
@@ -209,7 +209,7 @@ func ShowSketchesPath(id string) string {
209
209
return fmt .Sprintf ("/create/v1/sketches/%s" , param0 )
210
210
}
211
211
212
- // ShowSketches Provides the sketch identified by the :id param.
212
+ // ShowSketches provides the sketch identified by the :id param.
213
213
func (c * Client ) ShowSketches (ctx context.Context , path string , authorization * string ) (* http.Response , error ) {
214
214
req , err := c .NewShowSketchesRequest (ctx , path , authorization )
215
215
if err != nil {
@@ -218,7 +218,7 @@ func (c *Client) ShowSketches(ctx context.Context, path string, authorization *s
218
218
return c .Client .Do (ctx , req )
219
219
}
220
220
221
- // NewShowSketchesRequest create the request corresponding to the show action endpoint of the sketches resource.
221
+ // NewShowSketchesRequest creates the request corresponding to the show action endpoint of the sketches resource.
222
222
func (c * Client ) NewShowSketchesRequest (ctx context.Context , path string , authorization * string ) (* http.Request , error ) {
223
223
scheme := c .Scheme
224
224
if scheme == "" {
0 commit comments