Documentation ¶
Index ¶
- type CreateSettingOperationOptions
- type CreateSettingOperationResponse
- type DeleteSettingOperationOptions
- type DeleteSettingOperationResponse
- type GetSettingOperationOptions
- type GetSettingOperationResponse
- type GetSettingsCountOperationOptions
- type GetSettingsCountOperationResponse
- type GroupSettingOperationPredicate
- type ListSettingsCompleteResult
- type ListSettingsCustomPager
- type ListSettingsOperationOptions
- type ListSettingsOperationResponse
- type SettingClient
- func (c SettingClient) CreateSetting(ctx context.Context, id stable.GroupId, input stable.GroupSetting, ...) (result CreateSettingOperationResponse, err error)
- func (c SettingClient) DeleteSetting(ctx context.Context, id stable.GroupIdSettingId, ...) (result DeleteSettingOperationResponse, err error)
- func (c SettingClient) GetSetting(ctx context.Context, id stable.GroupIdSettingId, ...) (result GetSettingOperationResponse, err error)
- func (c SettingClient) GetSettingsCount(ctx context.Context, id stable.GroupId, ...) (result GetSettingsCountOperationResponse, err error)
- func (c SettingClient) ListSettings(ctx context.Context, id stable.GroupId, options ListSettingsOperationOptions) (result ListSettingsOperationResponse, err error)
- func (c SettingClient) ListSettingsComplete(ctx context.Context, id stable.GroupId, options ListSettingsOperationOptions) (ListSettingsCompleteResult, error)
- func (c SettingClient) ListSettingsCompleteMatchingPredicate(ctx context.Context, id stable.GroupId, options ListSettingsOperationOptions, ...) (result ListSettingsCompleteResult, err error)
- func (c SettingClient) UpdateSetting(ctx context.Context, id stable.GroupIdSettingId, input stable.GroupSetting, ...) (result UpdateSettingOperationResponse, err error)
- type UpdateSettingOperationOptions
- type UpdateSettingOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateSettingOperationOptions ¶
type CreateSettingOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateSettingOperationOptions ¶
func DefaultCreateSettingOperationOptions() CreateSettingOperationOptions
func (CreateSettingOperationOptions) ToHeaders ¶
func (o CreateSettingOperationOptions) ToHeaders() *client.Headers
func (CreateSettingOperationOptions) ToOData ¶
func (o CreateSettingOperationOptions) ToOData() *odata.Query
func (CreateSettingOperationOptions) ToQuery ¶
func (o CreateSettingOperationOptions) ToQuery() *client.QueryParams
type DeleteSettingOperationOptions ¶
type DeleteSettingOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteSettingOperationOptions ¶
func DefaultDeleteSettingOperationOptions() DeleteSettingOperationOptions
func (DeleteSettingOperationOptions) ToHeaders ¶
func (o DeleteSettingOperationOptions) ToHeaders() *client.Headers
func (DeleteSettingOperationOptions) ToOData ¶
func (o DeleteSettingOperationOptions) ToOData() *odata.Query
func (DeleteSettingOperationOptions) ToQuery ¶
func (o DeleteSettingOperationOptions) ToQuery() *client.QueryParams
type GetSettingOperationOptions ¶
type GetSettingOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetSettingOperationOptions ¶
func DefaultGetSettingOperationOptions() GetSettingOperationOptions
func (GetSettingOperationOptions) ToHeaders ¶
func (o GetSettingOperationOptions) ToHeaders() *client.Headers
func (GetSettingOperationOptions) ToOData ¶
func (o GetSettingOperationOptions) ToOData() *odata.Query
func (GetSettingOperationOptions) ToQuery ¶
func (o GetSettingOperationOptions) ToQuery() *client.QueryParams
type GetSettingsCountOperationOptions ¶
type GetSettingsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetSettingsCountOperationOptions ¶
func DefaultGetSettingsCountOperationOptions() GetSettingsCountOperationOptions
func (GetSettingsCountOperationOptions) ToHeaders ¶
func (o GetSettingsCountOperationOptions) ToHeaders() *client.Headers
func (GetSettingsCountOperationOptions) ToOData ¶
func (o GetSettingsCountOperationOptions) ToOData() *odata.Query
func (GetSettingsCountOperationOptions) ToQuery ¶
func (o GetSettingsCountOperationOptions) ToQuery() *client.QueryParams
type GroupSettingOperationPredicate ¶
type GroupSettingOperationPredicate struct { }
func (GroupSettingOperationPredicate) Matches ¶
func (p GroupSettingOperationPredicate) Matches(input stable.GroupSetting) bool
type ListSettingsCompleteResult ¶
type ListSettingsCompleteResult struct { LatestHttpResponse *http.Response Items []stable.GroupSetting }
type ListSettingsCustomPager ¶
func (*ListSettingsCustomPager) NextPageLink ¶
func (p *ListSettingsCustomPager) NextPageLink() *odata.Link
type ListSettingsOperationOptions ¶
type ListSettingsOperationOptions struct { Count *bool Expand *odata.Expand Filter *string Metadata *odata.Metadata OrderBy *odata.OrderBy RetryFunc client.RequestRetryFunc Search *string Select *[]string Skip *int64 Top *int64 }
func DefaultListSettingsOperationOptions ¶
func DefaultListSettingsOperationOptions() ListSettingsOperationOptions
func (ListSettingsOperationOptions) ToHeaders ¶
func (o ListSettingsOperationOptions) ToHeaders() *client.Headers
func (ListSettingsOperationOptions) ToOData ¶
func (o ListSettingsOperationOptions) ToOData() *odata.Query
func (ListSettingsOperationOptions) ToQuery ¶
func (o ListSettingsOperationOptions) ToQuery() *client.QueryParams
type SettingClient ¶
func NewSettingClientWithBaseURI ¶
func NewSettingClientWithBaseURI(sdkApi sdkEnv.Api) (*SettingClient, error)
func (SettingClient) CreateSetting ¶
func (c SettingClient) CreateSetting(ctx context.Context, id stable.GroupId, input stable.GroupSetting, options CreateSettingOperationOptions) (result CreateSettingOperationResponse, err error)
CreateSetting - Create settings. Create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings.
func (SettingClient) DeleteSetting ¶
func (c SettingClient) DeleteSetting(ctx context.Context, id stable.GroupIdSettingId, options DeleteSettingOperationOptions) (result DeleteSettingOperationResponse, err error)
DeleteSetting - Delete navigation property settings for groups
func (SettingClient) GetSetting ¶
func (c SettingClient) GetSetting(ctx context.Context, id stable.GroupIdSettingId, options GetSettingOperationOptions) (result GetSettingOperationResponse, err error)
GetSetting - Get groupSetting. Retrieve the properties of a specific group setting object. The setting can be a tenant-level or group-specific setting.
func (SettingClient) GetSettingsCount ¶
func (c SettingClient) GetSettingsCount(ctx context.Context, id stable.GroupId, options GetSettingsCountOperationOptions) (result GetSettingsCountOperationResponse, err error)
GetSettingsCount - Get the number of the resource
func (SettingClient) ListSettings ¶
func (c SettingClient) ListSettings(ctx context.Context, id stable.GroupId, options ListSettingsOperationOptions) (result ListSettingsOperationResponse, err error)
ListSettings - List settings. Retrieve a list of tenant-level or group-specific group settings objects.
func (SettingClient) ListSettingsComplete ¶
func (c SettingClient) ListSettingsComplete(ctx context.Context, id stable.GroupId, options ListSettingsOperationOptions) (ListSettingsCompleteResult, error)
ListSettingsComplete retrieves all the results into a single object
func (SettingClient) ListSettingsCompleteMatchingPredicate ¶
func (c SettingClient) ListSettingsCompleteMatchingPredicate(ctx context.Context, id stable.GroupId, options ListSettingsOperationOptions, predicate GroupSettingOperationPredicate) (result ListSettingsCompleteResult, err error)
ListSettingsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SettingClient) UpdateSetting ¶
func (c SettingClient) UpdateSetting(ctx context.Context, id stable.GroupIdSettingId, input stable.GroupSetting, options UpdateSettingOperationOptions) (result UpdateSettingOperationResponse, err error)
UpdateSetting - Update groupSetting. Update the properties of a groupSetting object for tenant-wide group settings or a specific group setting.
type UpdateSettingOperationOptions ¶
type UpdateSettingOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateSettingOperationOptions ¶
func DefaultUpdateSettingOperationOptions() UpdateSettingOperationOptions
func (UpdateSettingOperationOptions) ToHeaders ¶
func (o UpdateSettingOperationOptions) ToHeaders() *client.Headers
func (UpdateSettingOperationOptions) ToOData ¶
func (o UpdateSettingOperationOptions) ToOData() *odata.Query
func (UpdateSettingOperationOptions) ToQuery ¶
func (o UpdateSettingOperationOptions) ToQuery() *client.QueryParams