Documentation ¶
Index ¶
- type ContactClient
- func (c ContactClient) CreateContact(ctx context.Context, input beta.Contact, options CreateContactOperationOptions) (result CreateContactOperationResponse, err error)
- func (c ContactClient) DeleteContact(ctx context.Context, id beta.MeContactId, ...) (result DeleteContactOperationResponse, err error)
- func (c ContactClient) GetContact(ctx context.Context, id beta.MeContactId, options GetContactOperationOptions) (result GetContactOperationResponse, err error)
- func (c ContactClient) GetContactsCount(ctx context.Context, options GetContactsCountOperationOptions) (result GetContactsCountOperationResponse, err error)
- func (c ContactClient) ListContacts(ctx context.Context, options ListContactsOperationOptions) (result ListContactsOperationResponse, err error)
- func (c ContactClient) ListContactsComplete(ctx context.Context, options ListContactsOperationOptions) (ListContactsCompleteResult, error)
- func (c ContactClient) ListContactsCompleteMatchingPredicate(ctx context.Context, options ListContactsOperationOptions, ...) (result ListContactsCompleteResult, err error)
- func (c ContactClient) UpdateContact(ctx context.Context, id beta.MeContactId, input beta.Contact, ...) (result UpdateContactOperationResponse, err error)
- type ContactOperationPredicate
- type CreateContactOperationOptions
- type CreateContactOperationResponse
- type DeleteContactOperationOptions
- type DeleteContactOperationResponse
- type GetContactOperationOptions
- type GetContactOperationResponse
- type GetContactsCountOperationOptions
- type GetContactsCountOperationResponse
- type ListContactsCompleteResult
- type ListContactsCustomPager
- type ListContactsOperationOptions
- type ListContactsOperationResponse
- type UpdateContactOperationOptions
- type UpdateContactOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContactClient ¶
func NewContactClientWithBaseURI ¶
func NewContactClientWithBaseURI(sdkApi sdkEnv.Api) (*ContactClient, error)
func (ContactClient) CreateContact ¶
func (c ContactClient) CreateContact(ctx context.Context, input beta.Contact, options CreateContactOperationOptions) (result CreateContactOperationResponse, err error)
CreateContact - Create contact. Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder.
func (ContactClient) DeleteContact ¶
func (c ContactClient) DeleteContact(ctx context.Context, id beta.MeContactId, options DeleteContactOperationOptions) (result DeleteContactOperationResponse, err error)
DeleteContact - Delete contact. Delete contact.
func (ContactClient) GetContact ¶
func (c ContactClient) GetContact(ctx context.Context, id beta.MeContactId, options GetContactOperationOptions) (result GetContactOperationResponse, err error)
GetContact - Get contact. Retrieve the properties and relationships of contact object. There are two scenarios where an app can get a contact in another user's contact folder
func (ContactClient) GetContactsCount ¶
func (c ContactClient) GetContactsCount(ctx context.Context, options GetContactsCountOperationOptions) (result GetContactsCountOperationResponse, err error)
GetContactsCount - Get the number of the resource
func (ContactClient) ListContacts ¶
func (c ContactClient) ListContacts(ctx context.Context, options ListContactsOperationOptions) (result ListContactsOperationResponse, err error)
ListContacts - List contacts. Get contacts in the user's mailbox. There are two scenarios where an app can get contacts in another user's contact folder
func (ContactClient) ListContactsComplete ¶
func (c ContactClient) ListContactsComplete(ctx context.Context, options ListContactsOperationOptions) (ListContactsCompleteResult, error)
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 ¶
func (c ContactClient) UpdateContact(ctx context.Context, id beta.MeContactId, input beta.Contact, options UpdateContactOperationOptions) (result UpdateContactOperationResponse, err error)
UpdateContact - Update contact. Update the properties of contact object.
type ContactOperationPredicate ¶
type ContactOperationPredicate struct { }
type CreateContactOperationOptions ¶
type CreateContactOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateContactOperationOptions ¶
func DefaultCreateContactOperationOptions() CreateContactOperationOptions
func (CreateContactOperationOptions) ToHeaders ¶
func (o CreateContactOperationOptions) ToHeaders() *client.Headers
func (CreateContactOperationOptions) ToOData ¶
func (o CreateContactOperationOptions) ToOData() *odata.Query
func (CreateContactOperationOptions) ToQuery ¶
func (o CreateContactOperationOptions) ToQuery() *client.QueryParams
type DeleteContactOperationOptions ¶
type DeleteContactOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteContactOperationOptions ¶
func DefaultDeleteContactOperationOptions() DeleteContactOperationOptions
func (DeleteContactOperationOptions) ToHeaders ¶
func (o DeleteContactOperationOptions) ToHeaders() *client.Headers
func (DeleteContactOperationOptions) ToOData ¶
func (o DeleteContactOperationOptions) ToOData() *odata.Query
func (DeleteContactOperationOptions) ToQuery ¶
func (o DeleteContactOperationOptions) ToQuery() *client.QueryParams
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 ¶
func (o GetContactOperationOptions) ToQuery() *client.QueryParams
type GetContactsCountOperationOptions ¶
type GetContactsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetContactsCountOperationOptions ¶
func DefaultGetContactsCountOperationOptions() GetContactsCountOperationOptions
func (GetContactsCountOperationOptions) ToHeaders ¶
func (o GetContactsCountOperationOptions) ToHeaders() *client.Headers
func (GetContactsCountOperationOptions) ToOData ¶
func (o GetContactsCountOperationOptions) ToOData() *odata.Query
func (GetContactsCountOperationOptions) ToQuery ¶
func (o GetContactsCountOperationOptions) ToQuery() *client.QueryParams
type ListContactsCustomPager ¶
func (*ListContactsCustomPager) NextPageLink ¶
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 (o ListContactsOperationOptions) ToHeaders() *client.Headers
func (ListContactsOperationOptions) ToOData ¶
func (o ListContactsOperationOptions) ToOData() *odata.Query
func (ListContactsOperationOptions) ToQuery ¶
func (o ListContactsOperationOptions) ToQuery() *client.QueryParams
type UpdateContactOperationOptions ¶
type UpdateContactOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateContactOperationOptions ¶
func DefaultUpdateContactOperationOptions() UpdateContactOperationOptions
func (UpdateContactOperationOptions) ToHeaders ¶
func (o UpdateContactOperationOptions) ToHeaders() *client.Headers
func (UpdateContactOperationOptions) ToOData ¶
func (o UpdateContactOperationOptions) ToOData() *odata.Query
func (UpdateContactOperationOptions) ToQuery ¶
func (o UpdateContactOperationOptions) ToQuery() *client.QueryParams