Skip to content

Commit

Permalink
Merge pull request #938 from microsoftgraph/beta/pipelinebuild/145961
Browse files Browse the repository at this point in the history
Generated beta models and request builders
  • Loading branch information
Ndiritu authored May 2, 2024
2 parents cda75f5 + 6dbd90f commit a81d853
Show file tree
Hide file tree
Showing 98 changed files with 652 additions and 498 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repositories {
dependencies {
// Include the sdk as a dependency
implementation 'com.microsoft.graph:microsoft-graph-beta:6.7.0'
implementation 'com.microsoft.graph:microsoft-graph-beta:6.8.0'
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
implementation 'com.azure:azure-identity:1.11.0'
}
Expand All @@ -36,7 +36,7 @@ Add the dependency in `dependencies` in pom.xml
<!-- Include the sdk as a dependency -->
<groupId>com.microsoft.graph</groupId>
<artifactId>microsoft-graph-beta</artifactId>
<version>6.7.0</version>
<version>6.8.0</version>
</dependency>
<dependency>
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ org.gradle.caching=true
mavenGroupId = com.microsoft.graph
mavenArtifactId = microsoft-graph-beta
mavenMajorVersion = 6
mavenMinorVersion = 7
mavenMinorVersion = 8
mavenPatchVersion = 0
mavenArtifactSuffix =

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,23 @@ public InviteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja
super(requestAdapter, "{+baseurl}/app/calls/{call%2Did}/participants/invite", rawUrl);
}
/**
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @return a {@link InviteParticipantsOperation}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta">Find more info here</a>
*/
@jakarta.annotation.Nullable
public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final InvitePostRequestBody body) {
return post(body, null);
}
/**
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InviteParticipantsOperation}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta">Find more info here</a>
*/
@jakarta.annotation.Nullable
public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final InvitePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
Expand All @@ -63,7 +63,7 @@ public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final Invite
return this.requestAdapter.send(requestInfo, errorMapping, InviteParticipantsOperation::createFromDiscriminatorValue);
}
/**
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,23 @@ public InviteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja
super(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/invite", rawUrl);
}
/**
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @return a {@link InviteParticipantsOperation}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta">Find more info here</a>
*/
@jakarta.annotation.Nullable
public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final InvitePostRequestBody body) {
return post(body, null);
}
/**
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InviteParticipantsOperation}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta">Find more info here</a>
*/
@jakarta.annotation.Nullable
public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final InvitePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
Expand All @@ -63,7 +63,7 @@ public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final Invite
return this.requestAdapter.send(requestInfo, errorMapping, InviteParticipantsOperation::createFromDiscriminatorValue);
}
/**
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU
super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidForWorkApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
* The set of direct relationships for this app.
* List of relationships for this mobile app.
* @return a {@link MobileAppRelationshipCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
Expand All @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() {
return get(null);
}
/**
* The set of direct relationships for this app.
* List of relationships for this mobile app.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MobileAppRelationshipCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
Expand Down Expand Up @@ -107,15 +107,15 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel
return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue);
}
/**
* The set of direct relationships for this app.
* List of relationships for this mobile app.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* The set of direct relationships for this app.
* List of relationships for this mobile app.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand Down Expand Up @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str
return new RelationshipsRequestBuilder(rawUrl, requestAdapter);
}
/**
* The set of direct relationships for this app.
* List of relationships for this mobile app.
*/
@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 @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
* The set of direct relationships for this app.
* List of relationships for this mobile app.
* @return a {@link MobileAppRelationship}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
Expand All @@ -64,7 +64,7 @@ public MobileAppRelationship get() {
return get(null);
}
/**
* The set of direct relationships for this app.
* List of relationships for this mobile app.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MobileAppRelationship}
* @throws ODataError When receiving a 4XX or 5XX status code
Expand Down Expand Up @@ -122,15 +122,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
* The set of direct relationships for this app.
* List of relationships for this mobile app.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* The set of direct relationships for this app.
* List of relationships for this mobile app.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand Down Expand Up @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
* The set of direct relationships for this app.
* List of relationships for this mobile app.
*/
@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,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU
super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
* The set of direct relationships for this app.
* List of relationships for this mobile app.
* @return a {@link MobileAppRelationshipCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
Expand All @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() {
return get(null);
}
/**
* The set of direct relationships for this app.
* List of relationships for this mobile app.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MobileAppRelationshipCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
Expand Down Expand Up @@ -107,15 +107,15 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel
return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue);
}
/**
* The set of direct relationships for this app.
* List of relationships for this mobile app.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* The set of direct relationships for this app.
* List of relationships for this mobile app.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand Down Expand Up @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str
return new RelationshipsRequestBuilder(rawUrl, requestAdapter);
}
/**
* The set of direct relationships for this app.
* List of relationships for this mobile app.
*/
@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 @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
* The set of direct relationships for this app.
* List of relationships for this mobile app.
* @return a {@link MobileAppRelationship}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
Expand All @@ -64,7 +64,7 @@ public MobileAppRelationship get() {
return get(null);
}
/**
* The set of direct relationships for this app.
* List of relationships for this mobile app.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MobileAppRelationship}
* @throws ODataError When receiving a 4XX or 5XX status code
Expand Down Expand Up @@ -122,15 +122,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
* The set of direct relationships for this app.
* List of relationships for this mobile app.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* The set of direct relationships for this app.
* List of relationships for this mobile app.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand Down Expand Up @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
* The set of direct relationships for this app.
* List of relationships for this mobile app.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
Expand Down
Loading

0 comments on commit a81d853

Please sign in to comment.