Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
* Get tenantGovernance from directory
* Container for Microsoft Entra Tenant Governance capabilities.
* @return a {@link TenantGovernance}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
Expand All @@ -118,7 +118,7 @@ public TenantGovernance get() {
return get(null);
}
/**
* Get tenantGovernance from directory
* Container for Microsoft Entra Tenant Governance capabilities.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link TenantGovernance}
* @throws ODataError When receiving a 4XX or 5XX status code
Expand Down Expand Up @@ -176,15 +176,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
* Get tenantGovernance from directory
* Container for Microsoft Entra Tenant Governance capabilities.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* Get tenantGovernance from directory
* Container for Microsoft Entra Tenant Governance capabilities.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand Down Expand Up @@ -236,7 +236,7 @@ public TenantGovernanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
* Get tenantGovernance from directory
* Container for Microsoft Entra Tenant Governance capabilities.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,21 @@ public GovernanceInvitationsRequestBuilder(@jakarta.annotation.Nonnull final Str
super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceInvitations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
* Get governanceInvitations from directory
* Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
* @return a {@link GovernanceInvitationCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/tenantgovernanceservices-list-governanceinvitations?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public GovernanceInvitationCollectionResponse get() {
return get(null);
}
/**
* Get governanceInvitations from directory
* Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link GovernanceInvitationCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/tenantgovernanceservices-list-governanceinvitations?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public GovernanceInvitationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
Expand All @@ -82,21 +84,23 @@ public GovernanceInvitationCollectionResponse get(@jakarta.annotation.Nullable f
return this.requestAdapter.send(requestInfo, errorMapping, GovernanceInvitationCollectionResponse::createFromDiscriminatorValue);
}
/**
* Create new navigation property to governanceInvitations for directory
* Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships.
* @param body The request body
* @return a {@link GovernanceInvitation}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/tenantgovernanceservices-post-governanceinvitations?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public GovernanceInvitation post(@jakarta.annotation.Nonnull final GovernanceInvitation body) {
return post(body, null);
}
/**
* Create new navigation property to governanceInvitations for directory
* Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link GovernanceInvitation}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/tenantgovernanceservices-post-governanceinvitations?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public GovernanceInvitation post(@jakarta.annotation.Nonnull final GovernanceInvitation body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
Expand All @@ -107,15 +111,15 @@ public GovernanceInvitation post(@jakarta.annotation.Nonnull final GovernanceInv
return this.requestAdapter.send(requestInfo, errorMapping, GovernanceInvitation::createFromDiscriminatorValue);
}
/**
* Get governanceInvitations from directory
* Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* Get governanceInvitations from directory
* Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand All @@ -127,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
* Create new navigation property to governanceInvitations for directory
* Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships.
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -136,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
* Create new navigation property to governanceInvitations for directory
* Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
Expand All @@ -161,7 +165,7 @@ public GovernanceInvitationsRequestBuilder withUrl(@jakarta.annotation.Nonnull f
return new GovernanceInvitationsRequestBuilder(rawUrl, requestAdapter);
}
/**
* Get governanceInvitations from directory
* Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,18 @@ public GovernanceInvitationItemRequestBuilder(@jakarta.annotation.Nonnull final
super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceInvitations/{governanceInvitation%2Did}{?%24expand,%24select}", rawUrl);
}
/**
* Delete navigation property governanceInvitations for directory
* Delete a governanceInvitation object.
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/tenantgovernanceservices-governanceinvitation-delete?view=graph-rest-1.0">Find more info here</a>
*/
public void delete() {
delete(null);
}
/**
* Delete navigation property governanceInvitations for directory
* Delete a governanceInvitation object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/tenantgovernanceservices-governanceinvitation-delete?view=graph-rest-1.0">Find more info here</a>
*/
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer<DeleteRequestConfiguration> requestConfiguration) {
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
Expand All @@ -55,19 +57,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
* Get governanceInvitations from directory
* Read the properties of a governanceInvitation object.
* @return a {@link GovernanceInvitation}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/tenantgovernanceservices-governanceinvitation-get?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public GovernanceInvitation get() {
return get(null);
}
/**
* Get governanceInvitations from directory
* Read the properties of a governanceInvitation object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link GovernanceInvitation}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/tenantgovernanceservices-governanceinvitation-get?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public GovernanceInvitation get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
Expand Down Expand Up @@ -102,15 +106,15 @@ public GovernanceInvitation patch(@jakarta.annotation.Nonnull final GovernanceIn
return this.requestAdapter.send(requestInfo, errorMapping, GovernanceInvitation::createFromDiscriminatorValue);
}
/**
* Delete navigation property governanceInvitations for directory
* Delete a governanceInvitation object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
* Delete navigation property governanceInvitations for directory
* Delete a governanceInvitation object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand All @@ -122,15 +126,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
* Get governanceInvitations from directory
* Read the properties of a governanceInvitation object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* Get governanceInvitations from directory
* Read the properties of a governanceInvitation object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand Down Expand Up @@ -182,7 +186,7 @@ public GovernanceInvitationItemRequestBuilder withUrl(@jakarta.annotation.Nonnul
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
* Get governanceInvitations from directory
* Read the properties of a governanceInvitation object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
Expand Down
Loading
Loading