contact

package
v0.20241111.1164443 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContactClient

type ContactClient struct {
	Client *msgraph.Client
}

func NewContactClientWithBaseURI

func NewContactClientWithBaseURI(sdkApi sdkEnv.Api) (*ContactClient, error)

func (ContactClient) CreateContact

CreateContact - Create contact. Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder.

func (ContactClient) DeleteContact

DeleteContact - Delete contact. Delete a contact.

func (ContactClient) GetContact

GetContact - Get contact. Retrieve the properties and relationships of a contact object. There are two scenarios where an app can get a contact in another user's contact folder

func (ContactClient) GetContactsCount

GetContactsCount - Get the number of the resource

func (ContactClient) ListContacts

ListContacts - List contacts. Get a contact collection from the default contacts folder of the signed-in user. There are two scenarios where an app can get contacts in another user's contact folder

func (ContactClient) ListContactsComplete

ListContactsComplete retrieves all the results into a single object

func (ContactClient) ListContactsCompleteMatchingPredicate

func (c ContactClient) ListContactsCompleteMatchingPredicate(ctx context.Context, options ListContactsOperationOptions, predicate ContactOperationPredicate) (result ListContactsCompleteResult, err error)

ListContactsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ContactClient) UpdateContact

UpdateContact - Update contact. Update the properties of a contact object.

type ContactOperationPredicate

type ContactOperationPredicate struct {
}

func (ContactOperationPredicate) Matches

func (p ContactOperationPredicate) Matches(input stable.Contact) bool

type CreateContactOperationOptions

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

func DefaultCreateContactOperationOptions

func DefaultCreateContactOperationOptions() CreateContactOperationOptions

func (CreateContactOperationOptions) ToHeaders

func (CreateContactOperationOptions) ToOData

func (CreateContactOperationOptions) ToQuery

type CreateContactOperationResponse

type CreateContactOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.Contact
}

type DeleteContactOperationOptions

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

func DefaultDeleteContactOperationOptions

func DefaultDeleteContactOperationOptions() DeleteContactOperationOptions

func (DeleteContactOperationOptions) ToHeaders

func (DeleteContactOperationOptions) ToOData

func (DeleteContactOperationOptions) ToQuery

type DeleteContactOperationResponse

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

type GetContactOperationOptions

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

func DefaultGetContactOperationOptions

func DefaultGetContactOperationOptions() GetContactOperationOptions

func (GetContactOperationOptions) ToHeaders

func (o GetContactOperationOptions) ToHeaders() *client.Headers

func (GetContactOperationOptions) ToOData

func (o GetContactOperationOptions) ToOData() *odata.Query

func (GetContactOperationOptions) ToQuery

type GetContactOperationResponse

type GetContactOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.Contact
}

type GetContactsCountOperationOptions

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

func DefaultGetContactsCountOperationOptions

func DefaultGetContactsCountOperationOptions() GetContactsCountOperationOptions

func (GetContactsCountOperationOptions) ToHeaders

func (GetContactsCountOperationOptions) ToOData

func (GetContactsCountOperationOptions) ToQuery

type GetContactsCountOperationResponse

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

type ListContactsCompleteResult

type ListContactsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []stable.Contact
}

type ListContactsCustomPager

type ListContactsCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}
func (p *ListContactsCustomPager) NextPageLink() *odata.Link

type ListContactsOperationOptions

type ListContactsOperationOptions 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 DefaultListContactsOperationOptions

func DefaultListContactsOperationOptions() ListContactsOperationOptions

func (ListContactsOperationOptions) ToHeaders

func (ListContactsOperationOptions) ToOData

func (ListContactsOperationOptions) ToQuery

type ListContactsOperationResponse

type ListContactsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]stable.Contact
}

type UpdateContactOperationOptions

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

func DefaultUpdateContactOperationOptions

func DefaultUpdateContactOperationOptions() UpdateContactOperationOptions

func (UpdateContactOperationOptions) ToHeaders

func (UpdateContactOperationOptions) ToOData

func (UpdateContactOperationOptions) ToQuery

type UpdateContactOperationResponse

type UpdateContactOperationResponse 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