inboundshareduserprofile

package
v0.20241205.1102105 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: MPL-2.0 Imports: 9 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/directory/beta/inboundshareduserprofile Documentation

The inboundshareduserprofile SDK allows for interaction with Microsoft Graph directory (API Version beta).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/microsoft-graph/directory/beta/inboundshareduserprofile"

Client Initialization

client := inboundshareduserprofile.NewInboundSharedUserProfileClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: InboundSharedUserProfileClient.CreateInboundSharedUserProfile

ctx := context.TODO()

payload := inboundshareduserprofile.InboundSharedUserProfile{
	// ...
}


read, err := client.CreateInboundSharedUserProfile(ctx, payload, inboundshareduserprofile.DefaultCreateInboundSharedUserProfileOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: InboundSharedUserProfileClient.CreateInboundSharedUserProfileExportPersonalData

ctx := context.TODO()
id := inboundshareduserprofile.NewDirectoryInboundSharedUserProfileID("inboundSharedUserProfileUserId")

payload := inboundshareduserprofile.CreateInboundSharedUserProfileExportPersonalDataRequest{
	// ...
}


read, err := client.CreateInboundSharedUserProfileExportPersonalData(ctx, id, payload, inboundshareduserprofile.DefaultCreateInboundSharedUserProfileExportPersonalDataOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: InboundSharedUserProfileClient.DeleteInboundSharedUserProfile

ctx := context.TODO()
id := inboundshareduserprofile.NewDirectoryInboundSharedUserProfileID("inboundSharedUserProfileUserId")

read, err := client.DeleteInboundSharedUserProfile(ctx, id, inboundshareduserprofile.DefaultDeleteInboundSharedUserProfileOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: InboundSharedUserProfileClient.GetInboundSharedUserProfile

ctx := context.TODO()
id := inboundshareduserprofile.NewDirectoryInboundSharedUserProfileID("inboundSharedUserProfileUserId")

read, err := client.GetInboundSharedUserProfile(ctx, id, inboundshareduserprofile.DefaultGetInboundSharedUserProfileOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: InboundSharedUserProfileClient.GetInboundSharedUserProfilesCount

ctx := context.TODO()


read, err := client.GetInboundSharedUserProfilesCount(ctx, inboundshareduserprofile.DefaultGetInboundSharedUserProfilesCountOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: InboundSharedUserProfileClient.ListInboundSharedUserProfiles

ctx := context.TODO()


// alternatively `client.ListInboundSharedUserProfiles(ctx, inboundshareduserprofile.DefaultListInboundSharedUserProfilesOperationOptions())` can be used to do batched pagination
items, err := client.ListInboundSharedUserProfilesComplete(ctx, inboundshareduserprofile.DefaultListInboundSharedUserProfilesOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: InboundSharedUserProfileClient.RemoveInboundSharedUserProfilePersonalData

ctx := context.TODO()
id := inboundshareduserprofile.NewDirectoryInboundSharedUserProfileID("inboundSharedUserProfileUserId")

read, err := client.RemoveInboundSharedUserProfilePersonalData(ctx, id, inboundshareduserprofile.DefaultRemoveInboundSharedUserProfilePersonalDataOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: InboundSharedUserProfileClient.UpdateInboundSharedUserProfile

ctx := context.TODO()
id := inboundshareduserprofile.NewDirectoryInboundSharedUserProfileID("inboundSharedUserProfileUserId")

payload := inboundshareduserprofile.InboundSharedUserProfile{
	// ...
}


read, err := client.UpdateInboundSharedUserProfile(ctx, id, payload, inboundshareduserprofile.DefaultUpdateInboundSharedUserProfileOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateInboundSharedUserProfileExportPersonalDataOperationOptions

type CreateInboundSharedUserProfileExportPersonalDataOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (CreateInboundSharedUserProfileExportPersonalDataOperationOptions) ToHeaders

func (CreateInboundSharedUserProfileExportPersonalDataOperationOptions) ToOData

func (CreateInboundSharedUserProfileExportPersonalDataOperationOptions) ToQuery

type CreateInboundSharedUserProfileExportPersonalDataOperationResponse

type CreateInboundSharedUserProfileExportPersonalDataOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type CreateInboundSharedUserProfileExportPersonalDataRequest

type CreateInboundSharedUserProfileExportPersonalDataRequest struct {
	StorageLocation nullable.Type[string] `json:"storageLocation,omitempty"`
}

type CreateInboundSharedUserProfileOperationOptions

type CreateInboundSharedUserProfileOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultCreateInboundSharedUserProfileOperationOptions

func DefaultCreateInboundSharedUserProfileOperationOptions() CreateInboundSharedUserProfileOperationOptions

func (CreateInboundSharedUserProfileOperationOptions) ToHeaders

func (CreateInboundSharedUserProfileOperationOptions) ToOData

func (CreateInboundSharedUserProfileOperationOptions) ToQuery

type CreateInboundSharedUserProfileOperationResponse

type CreateInboundSharedUserProfileOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.InboundSharedUserProfile
}

type DeleteInboundSharedUserProfileOperationOptions

type DeleteInboundSharedUserProfileOperationOptions struct {
	IfMatch   *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultDeleteInboundSharedUserProfileOperationOptions

func DefaultDeleteInboundSharedUserProfileOperationOptions() DeleteInboundSharedUserProfileOperationOptions

func (DeleteInboundSharedUserProfileOperationOptions) ToHeaders

func (DeleteInboundSharedUserProfileOperationOptions) ToOData

func (DeleteInboundSharedUserProfileOperationOptions) ToQuery

type DeleteInboundSharedUserProfileOperationResponse

type DeleteInboundSharedUserProfileOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type GetInboundSharedUserProfileOperationOptions

type GetInboundSharedUserProfileOperationOptions struct {
	Expand    *odata.Expand
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Select    *[]string
}

func DefaultGetInboundSharedUserProfileOperationOptions

func DefaultGetInboundSharedUserProfileOperationOptions() GetInboundSharedUserProfileOperationOptions

func (GetInboundSharedUserProfileOperationOptions) ToHeaders

func (GetInboundSharedUserProfileOperationOptions) ToOData

func (GetInboundSharedUserProfileOperationOptions) ToQuery

type GetInboundSharedUserProfileOperationResponse

type GetInboundSharedUserProfileOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.InboundSharedUserProfile
}

type GetInboundSharedUserProfilesCountOperationOptions

type GetInboundSharedUserProfilesCountOperationOptions struct {
	Filter    *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Search    *string
}

func DefaultGetInboundSharedUserProfilesCountOperationOptions

func DefaultGetInboundSharedUserProfilesCountOperationOptions() GetInboundSharedUserProfilesCountOperationOptions

func (GetInboundSharedUserProfilesCountOperationOptions) ToHeaders

func (GetInboundSharedUserProfilesCountOperationOptions) ToOData

func (GetInboundSharedUserProfilesCountOperationOptions) ToQuery

type GetInboundSharedUserProfilesCountOperationResponse

type GetInboundSharedUserProfilesCountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]byte
}

type InboundSharedUserProfileClient

type InboundSharedUserProfileClient struct {
	Client *msgraph.Client
}

func NewInboundSharedUserProfileClientWithBaseURI

func NewInboundSharedUserProfileClientWithBaseURI(sdkApi sdkEnv.Api) (*InboundSharedUserProfileClient, error)

func (InboundSharedUserProfileClient) CreateInboundSharedUserProfile

CreateInboundSharedUserProfile - Create new navigation property to inboundSharedUserProfiles for directory

func (InboundSharedUserProfileClient) CreateInboundSharedUserProfileExportPersonalData

CreateInboundSharedUserProfileExportPersonalData - Invoke action exportPersonalData. Create a request to export the personal data for an inboundSharedUserProfile.

func (InboundSharedUserProfileClient) DeleteInboundSharedUserProfile

DeleteInboundSharedUserProfile - Delete navigation property inboundSharedUserProfiles for directory

func (InboundSharedUserProfileClient) GetInboundSharedUserProfile

GetInboundSharedUserProfile - Get inboundSharedUserProfile. Read the properties of an inboundSharedUserProfile.

func (InboundSharedUserProfileClient) GetInboundSharedUserProfilesCount

GetInboundSharedUserProfilesCount - Get the number of the resource

func (InboundSharedUserProfileClient) ListInboundSharedUserProfiles

ListInboundSharedUserProfiles - List inboundSharedUserProfiles. Retrieve the properties of all inboundSharedUserProfiles.

func (InboundSharedUserProfileClient) ListInboundSharedUserProfilesComplete

ListInboundSharedUserProfilesComplete retrieves all the results into a single object

func (InboundSharedUserProfileClient) ListInboundSharedUserProfilesCompleteMatchingPredicate

ListInboundSharedUserProfilesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (InboundSharedUserProfileClient) RemoveInboundSharedUserProfilePersonalData

RemoveInboundSharedUserProfilePersonalData - Invoke action removePersonalData. Create a request to remove the personal data for an inboundSharedUserProfile.

func (InboundSharedUserProfileClient) UpdateInboundSharedUserProfile

UpdateInboundSharedUserProfile - Update the navigation property inboundSharedUserProfiles in directory

type InboundSharedUserProfileOperationPredicate

type InboundSharedUserProfileOperationPredicate struct {
}

func (InboundSharedUserProfileOperationPredicate) Matches

type ListInboundSharedUserProfilesCompleteResult

type ListInboundSharedUserProfilesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.InboundSharedUserProfile
}

type ListInboundSharedUserProfilesCustomPager

type ListInboundSharedUserProfilesCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}

type ListInboundSharedUserProfilesOperationOptions

type ListInboundSharedUserProfilesOperationOptions 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 DefaultListInboundSharedUserProfilesOperationOptions

func DefaultListInboundSharedUserProfilesOperationOptions() ListInboundSharedUserProfilesOperationOptions

func (ListInboundSharedUserProfilesOperationOptions) ToHeaders

func (ListInboundSharedUserProfilesOperationOptions) ToOData

func (ListInboundSharedUserProfilesOperationOptions) ToQuery

type ListInboundSharedUserProfilesOperationResponse

type ListInboundSharedUserProfilesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.InboundSharedUserProfile
}

type RemoveInboundSharedUserProfilePersonalDataOperationOptions

type RemoveInboundSharedUserProfilePersonalDataOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (RemoveInboundSharedUserProfilePersonalDataOperationOptions) ToHeaders

func (RemoveInboundSharedUserProfilePersonalDataOperationOptions) ToOData

func (RemoveInboundSharedUserProfilePersonalDataOperationOptions) ToQuery

type RemoveInboundSharedUserProfilePersonalDataOperationResponse

type RemoveInboundSharedUserProfilePersonalDataOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type UpdateInboundSharedUserProfileOperationOptions

type UpdateInboundSharedUserProfileOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultUpdateInboundSharedUserProfileOperationOptions

func DefaultUpdateInboundSharedUserProfileOperationOptions() UpdateInboundSharedUserProfileOperationOptions

func (UpdateInboundSharedUserProfileOperationOptions) ToHeaders

func (UpdateInboundSharedUserProfileOperationOptions) ToOData

func (UpdateInboundSharedUserProfileOperationOptions) ToQuery

type UpdateInboundSharedUserProfileOperationResponse

type UpdateInboundSharedUserProfileOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL