-
Notifications
You must be signed in to change notification settings - Fork 0
/
updateworkspacegroups.go
executable file
·68 lines (58 loc) · 1.65 KB
/
updateworkspacegroups.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
package operations
import (
"github.com/speakeasy-sdks/singlestore-sample-sdk/pkg/models/shared"
"net/http"
)
type UpdateWorkspaceGroupsRequest struct {
// Here's a sample of JSON data sent to the API in the request body.
WorkspaceGroupUpdate shared.WorkspaceGroupUpdate `request:"mediaType=application/json"`
// ID of the workspace group
WorkspaceGroupID string `pathParam:"style=simple,explode=false,name=workspaceGroupID"`
}
func (o *UpdateWorkspaceGroupsRequest) GetWorkspaceGroupUpdate() shared.WorkspaceGroupUpdate {
if o == nil {
return shared.WorkspaceGroupUpdate{}
}
return o.WorkspaceGroupUpdate
}
func (o *UpdateWorkspaceGroupsRequest) GetWorkspaceGroupID() string {
if o == nil {
return ""
}
return o.WorkspaceGroupID
}
type UpdateWorkspaceGroupsResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// OK
UpdateWorkspaceGroups *shared.UpdateWorkspaceGroups
}
func (o *UpdateWorkspaceGroupsResponse) GetContentType() string {
if o == nil {
return ""
}
return o.ContentType
}
func (o *UpdateWorkspaceGroupsResponse) GetStatusCode() int {
if o == nil {
return 0
}
return o.StatusCode
}
func (o *UpdateWorkspaceGroupsResponse) GetRawResponse() *http.Response {
if o == nil {
return nil
}
return o.RawResponse
}
func (o *UpdateWorkspaceGroupsResponse) GetUpdateWorkspaceGroups() *shared.UpdateWorkspaceGroups {
if o == nil {
return nil
}
return o.UpdateWorkspaceGroups
}