Documentation ¶
Index ¶
- type GroupsWithUniqueNameRequestBuilder
- func (m *GroupsWithUniqueNameRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *GroupsWithUniqueNameRequestBuilder) Get(ctx context.Context, ...) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable, ...)
- func (m *GroupsWithUniqueNameRequestBuilder) Patch(ctx context.Context, ...) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable, ...)
- func (m *GroupsWithUniqueNameRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *GroupsWithUniqueNameRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *GroupsWithUniqueNameRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *GroupsWithUniqueNameRequestBuilder) WithUrl(rawUrl string) *GroupsWithUniqueNameRequestBuilder
- type GroupsWithUniqueNameRequestBuilderDeleteRequestConfiguration
- type GroupsWithUniqueNameRequestBuilderGetQueryParameters
- type GroupsWithUniqueNameRequestBuilderGetRequestConfiguration
- type GroupsWithUniqueNameRequestBuilderPatchRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupsWithUniqueNameRequestBuilder ¶
type GroupsWithUniqueNameRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
GroupsWithUniqueNameRequestBuilder provides operations to manage the collection of group entities.
func NewGroupsWithUniqueNameRequestBuilder ¶
func NewGroupsWithUniqueNameRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *GroupsWithUniqueNameRequestBuilder
NewGroupsWithUniqueNameRequestBuilder instantiates a new GroupsWithUniqueNameRequestBuilder and sets the default values.
func NewGroupsWithUniqueNameRequestBuilderInternal ¶
func NewGroupsWithUniqueNameRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, uniqueName *string) *GroupsWithUniqueNameRequestBuilder
NewGroupsWithUniqueNameRequestBuilderInternal instantiates a new GroupsWithUniqueNameRequestBuilder and sets the default values.
func (*GroupsWithUniqueNameRequestBuilder) Delete ¶
func (m *GroupsWithUniqueNameRequestBuilder) Delete(ctx context.Context, requestConfiguration *GroupsWithUniqueNameRequestBuilderDeleteRequestConfiguration) error
Delete delete group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. returns a ODataError error when the service returns a 4XX or 5XX status code Find more info here
func (*GroupsWithUniqueNameRequestBuilder) Get ¶
func (m *GroupsWithUniqueNameRequestBuilder) Get(ctx context.Context, requestConfiguration *GroupsWithUniqueNameRequestBuilderGetRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable, error)
Get get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. returns a Groupable when successful returns a ODataError error when the service returns a 4XX or 5XX status code Find more info here
func (*GroupsWithUniqueNameRequestBuilder) Patch ¶
func (m *GroupsWithUniqueNameRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable, requestConfiguration *GroupsWithUniqueNameRequestBuilderPatchRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable, error)
Patch add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. returns a Groupable when successful returns a ODataError error when the service returns a 4XX or 5XX status code Find more info here
func (*GroupsWithUniqueNameRequestBuilder) ToDeleteRequestInformation ¶
func (m *GroupsWithUniqueNameRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *GroupsWithUniqueNameRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation delete group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. returns a *RequestInformation when successful
func (*GroupsWithUniqueNameRequestBuilder) ToGetRequestInformation ¶
func (m *GroupsWithUniqueNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GroupsWithUniqueNameRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. returns a *RequestInformation when successful
func (*GroupsWithUniqueNameRequestBuilder) ToPatchRequestInformation ¶
func (m *GroupsWithUniqueNameRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable, requestConfiguration *GroupsWithUniqueNameRequestBuilderPatchRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. returns a *RequestInformation when successful
func (*GroupsWithUniqueNameRequestBuilder) WithUrl ¶
func (m *GroupsWithUniqueNameRequestBuilder) WithUrl(rawUrl string) *GroupsWithUniqueNameRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *GroupsWithUniqueNameRequestBuilder when successful
type GroupsWithUniqueNameRequestBuilderDeleteRequestConfiguration ¶
type GroupsWithUniqueNameRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
GroupsWithUniqueNameRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type GroupsWithUniqueNameRequestBuilderGetQueryParameters ¶
type GroupsWithUniqueNameRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` }
GroupsWithUniqueNameRequestBuilderGetQueryParameters get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query.
type GroupsWithUniqueNameRequestBuilderGetRequestConfiguration ¶
type GroupsWithUniqueNameRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *GroupsWithUniqueNameRequestBuilderGetQueryParameters }
GroupsWithUniqueNameRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type GroupsWithUniqueNameRequestBuilderPatchRequestConfiguration ¶
type GroupsWithUniqueNameRequestBuilderPatchRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
GroupsWithUniqueNameRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.