Class OrgContactItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.contacts.item.OrgContactItemRequestBuilder
@Generated("com.microsoft.kiota")
public class OrgContactItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the collection of orgContact entities.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classGet the properties and relationships of an organizational contact.classConfiguration for the request such as headers, query parameters, and middleware options.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionOrgContactItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newOrgContactItemRequestBuilderand sets the default values.OrgContactItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newOrgContactItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to call the checkMemberGroups method.Provides operations to call the checkMemberObjects method.voiddelete()Delete entity from contactsvoiddelete(Consumer<OrgContactItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete entity from contactsProvides operations to manage the directReports property of the microsoft.graph.orgContact entity.get()Get the properties and relationships of an organizational contact.get(Consumer<OrgContactItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the properties and relationships of an organizational contact.Provides operations to call the getMemberGroups method.Provides operations to call the getMemberObjects method.manager()Provides operations to manage the manager property of the microsoft.graph.orgContact entity.memberOf()Provides operations to manage the memberOf property of the microsoft.graph.orgContact entity.Provides operations to manage the onPremisesSyncBehavior property of the microsoft.graph.orgContact entity.patch(OrgContact body) Update entity in contactspatch(OrgContact body, Consumer<OrgContactItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update entity in contactsrestore()Provides operations to call the restore method.Provides operations to call the retryServiceProvisioning method.The serviceProvisioningErrors propertycom.microsoft.kiota.RequestInformationDelete entity from contactscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<OrgContactItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete entity from contactscom.microsoft.kiota.RequestInformationGet the properties and relationships of an organizational contact.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<OrgContactItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the properties and relationships of an organizational contact.com.microsoft.kiota.RequestInformationUpdate entity in contactscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(OrgContact body, Consumer<OrgContactItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update entity in contactsProvides operations to manage the transitiveMemberOf property of the microsoft.graph.orgContact entity.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
OrgContactItemRequestBuilder
public OrgContactItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newOrgContactItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
OrgContactItemRequestBuilder
public OrgContactItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newOrgContactItemRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
checkMemberGroups
Provides operations to call the checkMemberGroups method.- Returns:
- a
CheckMemberGroupsRequestBuilder
-
checkMemberObjects
Provides operations to call the checkMemberObjects method.- Returns:
- a
CheckMemberObjectsRequestBuilder
-
directReports
Provides operations to manage the directReports property of the microsoft.graph.orgContact entity.- Returns:
- a
DirectReportsRequestBuilder
-
getMemberGroups
Provides operations to call the getMemberGroups method.- Returns:
- a
GetMemberGroupsRequestBuilder
-
getMemberObjects
Provides operations to call the getMemberObjects method.- Returns:
- a
GetMemberObjectsRequestBuilder
-
manager
Provides operations to manage the manager property of the microsoft.graph.orgContact entity.- Returns:
- a
ManagerRequestBuilder
-
memberOf
Provides operations to manage the memberOf property of the microsoft.graph.orgContact entity.- Returns:
- a
MemberOfRequestBuilder
-
onPremisesSyncBehavior
Provides operations to manage the onPremisesSyncBehavior property of the microsoft.graph.orgContact entity.- Returns:
- a
OnPremisesSyncBehaviorRequestBuilder
-
restore
Provides operations to call the restore method.- Returns:
- a
RestoreRequestBuilder
-
retryServiceProvisioning
Provides operations to call the retryServiceProvisioning method.- Returns:
- a
RetryServiceProvisioningRequestBuilder
-
serviceProvisioningErrors
The serviceProvisioningErrors property- Returns:
- a
ServiceProvisioningErrorsRequestBuilder
-
transitiveMemberOf
Provides operations to manage the transitiveMemberOf property of the microsoft.graph.orgContact entity.- Returns:
- a
TransitiveMemberOfRequestBuilder
-
delete
public void delete()Delete entity from contacts- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<OrgContactItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete entity from contacts- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
Get the properties and relationships of an organizational contact.- Returns:
- a
OrgContact - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public OrgContact get(@Nullable Consumer<OrgContactItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the properties and relationships of an organizational contact.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
OrgContact - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update entity in contacts- Parameters:
body- The request body- Returns:
- a
OrgContact - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public OrgContact patch(@Nonnull OrgContact body, @Nullable Consumer<OrgContactItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update entity in contacts- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
OrgContact - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete entity from contacts- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<OrgContactItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete entity from contacts- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get the properties and relationships of an organizational contact.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<OrgContactItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the properties and relationships of an organizational contact.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull OrgContact body) Update entity in contacts- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull OrgContact body, @Nullable Consumer<OrgContactItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update entity in contacts- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
OrgContactItemRequestBuilder
-