diff options
Diffstat (limited to 'vendor/github.com/matterbridge/msgraph.go/beta/GroupLifecyclePolicyAction.go')
-rw-r--r-- | vendor/github.com/matterbridge/msgraph.go/beta/GroupLifecyclePolicyAction.go | 104 |
1 files changed, 0 insertions, 104 deletions
diff --git a/vendor/github.com/matterbridge/msgraph.go/beta/GroupLifecyclePolicyAction.go b/vendor/github.com/matterbridge/msgraph.go/beta/GroupLifecyclePolicyAction.go deleted file mode 100644 index d11dd4f3..00000000 --- a/vendor/github.com/matterbridge/msgraph.go/beta/GroupLifecyclePolicyAction.go +++ /dev/null @@ -1,104 +0,0 @@ -// Code generated by msgraph-generate.go DO NOT EDIT. - -package msgraph - -import "context" - -// GroupLifecyclePolicyCollectionRenewGroupRequestParameter undocumented -type GroupLifecyclePolicyCollectionRenewGroupRequestParameter struct { - // GroupID undocumented - GroupID *string `json:"groupId,omitempty"` -} - -// GroupLifecyclePolicyAddGroupRequestParameter undocumented -type GroupLifecyclePolicyAddGroupRequestParameter struct { - // GroupID undocumented - GroupID *string `json:"groupId,omitempty"` -} - -// GroupLifecyclePolicyRemoveGroupRequestParameter undocumented -type GroupLifecyclePolicyRemoveGroupRequestParameter struct { - // GroupID undocumented - GroupID *string `json:"groupId,omitempty"` -} - -// -type GroupLifecyclePolicyCollectionRenewGroupRequestBuilder struct{ BaseRequestBuilder } - -// RenewGroup action undocumented -func (b *GroupGroupLifecyclePoliciesCollectionRequestBuilder) RenewGroup(reqObj *GroupLifecyclePolicyCollectionRenewGroupRequestParameter) *GroupLifecyclePolicyCollectionRenewGroupRequestBuilder { - bb := &GroupLifecyclePolicyCollectionRenewGroupRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} - bb.BaseRequestBuilder.baseURL += "/renewGroup" - bb.BaseRequestBuilder.requestObject = reqObj - return bb -} - -// -type GroupLifecyclePolicyCollectionRenewGroupRequest struct{ BaseRequest } - -// -func (b *GroupLifecyclePolicyCollectionRenewGroupRequestBuilder) Request() *GroupLifecyclePolicyCollectionRenewGroupRequest { - return &GroupLifecyclePolicyCollectionRenewGroupRequest{ - BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, - } -} - -// -func (r *GroupLifecyclePolicyCollectionRenewGroupRequest) Post(ctx context.Context) (resObj *bool, err error) { - err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) - return -} - -// -type GroupLifecyclePolicyAddGroupRequestBuilder struct{ BaseRequestBuilder } - -// AddGroup action undocumented -func (b *GroupLifecyclePolicyRequestBuilder) AddGroup(reqObj *GroupLifecyclePolicyAddGroupRequestParameter) *GroupLifecyclePolicyAddGroupRequestBuilder { - bb := &GroupLifecyclePolicyAddGroupRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} - bb.BaseRequestBuilder.baseURL += "/addGroup" - bb.BaseRequestBuilder.requestObject = reqObj - return bb -} - -// -type GroupLifecyclePolicyAddGroupRequest struct{ BaseRequest } - -// -func (b *GroupLifecyclePolicyAddGroupRequestBuilder) Request() *GroupLifecyclePolicyAddGroupRequest { - return &GroupLifecyclePolicyAddGroupRequest{ - BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, - } -} - -// -func (r *GroupLifecyclePolicyAddGroupRequest) Post(ctx context.Context) (resObj *bool, err error) { - err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) - return -} - -// -type GroupLifecyclePolicyRemoveGroupRequestBuilder struct{ BaseRequestBuilder } - -// RemoveGroup action undocumented -func (b *GroupLifecyclePolicyRequestBuilder) RemoveGroup(reqObj *GroupLifecyclePolicyRemoveGroupRequestParameter) *GroupLifecyclePolicyRemoveGroupRequestBuilder { - bb := &GroupLifecyclePolicyRemoveGroupRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} - bb.BaseRequestBuilder.baseURL += "/removeGroup" - bb.BaseRequestBuilder.requestObject = reqObj - return bb -} - -// -type GroupLifecyclePolicyRemoveGroupRequest struct{ BaseRequest } - -// -func (b *GroupLifecyclePolicyRemoveGroupRequestBuilder) Request() *GroupLifecyclePolicyRemoveGroupRequest { - return &GroupLifecyclePolicyRemoveGroupRequest{ - BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, - } -} - -// -func (r *GroupLifecyclePolicyRemoveGroupRequest) Post(ctx context.Context) (resObj *bool, err error) { - err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) - return -} |