contact

package
v0.20241017.1093842 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: MPL-2.0 Imports: 8 Imported by: 1

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 new navigation property to contacts for users

func (ContactClient) DeleteContact

DeleteContact - Delete navigation property contacts for users

func (ContactClient) GetContact

GetContact - Get contacts from users. The user's contacts. Read-only. Nullable.

func (ContactClient) GetContactsCount

GetContactsCount - Get the number of the resource

func (ContactClient) ListContacts

ListContacts - Get contacts from users. The user's contacts. Read-only. Nullable.

func (ContactClient) ListContactsComplete

ListContactsComplete retrieves all the results into a single object

func (ContactClient) ListContactsCompleteMatchingPredicate

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

ListContactsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ContactClient) UpdateContact

UpdateContact - Update the navigation property contacts in users

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