Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.

Commit 51b1e1c

Browse files
author
Caitlin Bales (MSFT)
committed
Update OneNote entities with revised 5/16 metadata
This is in conjuction with pull request #90 in the Generator repo
1 parent b141bf1 commit 51b1e1c

7 files changed

+5
-74
lines changed

graphsdk/src/main/java/com/microsoft/graph/generated/BaseOnenotePageRequestBuilder.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,8 @@ public INotebookRequestBuilder getParentNotebook() {
6262
return new NotebookRequestBuilder(getRequestUrlWithAdditionalSegment("parentNotebook"), getClient(), null);
6363
}
6464

65-
public IOnenotePageStreamRequestBuilder getMsgraph_Content() {
66-
return new OnenotePageStreamRequestBuilder(getRequestUrlWithAdditionalSegment("content"), getClient(), null);
67-
}
68-
6965
public IOnenotePageStreamRequestBuilder getContent() {
70-
return new OnenotePageStreamRequestBuilder(getRequestUrlWithAdditionalSegment("$value"), getClient(), null);
66+
return new OnenotePageStreamRequestBuilder(getRequestUrlWithAdditionalSegment("content"), getClient(), null);
7167
}
7268

7369
public IOnenotePageOnenotePatchContentRequestBuilder getOnenotePatchContent(final java.util.List<OnenotePatchContentCommand> commands) {

graphsdk/src/main/java/com/microsoft/graph/generated/BaseOnenotePageStreamRequestBuilder.java

Lines changed: 2 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
public class BaseOnenotePageStreamRequestBuilder extends BaseRequestBuilder implements IBaseOnenotePageStreamRequestBuilder {
2424

2525
/**
26-
* The request builder for the OnenotePage
26+
* The request builder for the OnenotePageStream
2727
*
2828
* @param requestUrl The request url
2929
* @param client The service client
@@ -41,41 +41,10 @@ public IOnenotePageStreamRequest buildRequest() {
4141
}
4242

4343
/**
44-
* Creates the request with specific options instead of the existing options
44+
* Creates the request with specific requestOptions instead of the existing requestOptions
4545
*/
4646
public IOnenotePageStreamRequest buildRequest(final java.util.List<Option> requestOptions) {
4747
return new OnenotePageStreamRequest(getRequestUrl(), getClient(), requestOptions);
4848
}
4949

50-
/**
51-
* Gets the request builder for OnenoteSection.
52-
*/
53-
public IOnenoteSectionRequestBuilder getParentSection() {
54-
return new OnenoteSectionRequestBuilder(getRequestUrlWithAdditionalSegment("parentSection"), getClient(), null);
55-
}
56-
57-
/**
58-
* Gets the request builder for Notebook.
59-
*/
60-
public INotebookRequestBuilder getParentNotebook() {
61-
return new NotebookRequestBuilder(getRequestUrlWithAdditionalSegment("parentNotebook"), getClient(), null);
62-
}
63-
64-
public IOnenotePageStreamRequestBuilder getContent() {
65-
return new OnenotePageStreamRequestBuilder(getRequestUrlWithAdditionalSegment("content"), getClient(), null);
66-
}
67-
68-
69-
70-
public IOnenotePageOnenotePatchContentRequestBuilder getOnenotePatchContent(final java.util.List<OnenotePatchContentCommand> commands) {
71-
return new OnenotePageOnenotePatchContentRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.onenotePatchContent"), getClient(), null, commands);
72-
}
73-
74-
public IOnenotePageCopyToSectionRequestBuilder getCopyToSection(final String id, final String groupId) {
75-
return new OnenotePageCopyToSectionRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.copyToSection"), getClient(), null, id, groupId);
76-
}
77-
78-
public IOnenotePagePreviewRequestBuilder getPreview() {
79-
return new OnenotePagePreviewRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.preview"), getClient(), null);
80-
}
8150
}

graphsdk/src/main/java/com/microsoft/graph/generated/BaseOnenoteResourceStreamRequestBuilder.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
public class BaseOnenoteResourceStreamRequestBuilder extends BaseRequestBuilder implements IBaseOnenoteResourceStreamRequestBuilder {
2424

2525
/**
26-
* The request builder for the OnenoteResource
26+
* The request builder for the OnenoteResourceStream
2727
*
2828
* @param requestUrl The request url
2929
* @param client The service client
@@ -41,15 +41,10 @@ public IOnenoteResourceStreamRequest buildRequest() {
4141
}
4242

4343
/**
44-
* Creates the request with specific options instead of the existing options
44+
* Creates the request with specific requestOptions instead of the existing requestOptions
4545
*/
4646
public IOnenoteResourceStreamRequest buildRequest(final java.util.List<Option> requestOptions) {
4747
return new OnenoteResourceStreamRequest(getRequestUrl(), getClient(), requestOptions);
4848
}
4949

50-
public IOnenoteResourceStreamRequestBuilder getContent() {
51-
return new OnenoteResourceStreamRequestBuilder(getRequestUrlWithAdditionalSegment("content"), getClient(), null);
52-
}
53-
54-
5550
}

graphsdk/src/main/java/com/microsoft/graph/generated/IBaseOnenotePageRequestBuilder.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ public interface IBaseOnenotePageRequestBuilder extends IRequestBuilder {
4141
*/
4242
INotebookRequestBuilder getParentNotebook();
4343

44-
IOnenotePageStreamRequestBuilder getMsgraph_Content();
45-
4644
IOnenotePageStreamRequestBuilder getContent();
4745
IOnenotePageOnenotePatchContentRequestBuilder getOnenotePatchContent(final java.util.List<OnenotePatchContentCommand> commands);
4846
IOnenotePageCopyToSectionRequestBuilder getCopyToSection(final String id, final String groupId);

graphsdk/src/main/java/com/microsoft/graph/generated/IBaseOnenotePageStreamRequestBuilder.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
* The interface for the Base Onenote Page Stream Request Builder.
2222
*/
2323
public interface IBaseOnenotePageStreamRequestBuilder extends IRequestBuilder {
24-
2524
/**
2625
* Creates the request
2726
*/
@@ -32,22 +31,4 @@ public interface IBaseOnenotePageStreamRequestBuilder extends IRequestBuilder {
3231
*/
3332
IOnenotePageStreamRequest buildRequest(final java.util.List<Option> requestOptions);
3433

35-
/**
36-
* Gets the request builder for OnenoteSection.
37-
*/
38-
IOnenoteSectionRequestBuilder getParentSection();
39-
40-
/**
41-
* Gets the request builder for Notebook.
42-
*/
43-
INotebookRequestBuilder getParentNotebook();
44-
45-
IOnenotePageStreamRequestBuilder getContent();
46-
47-
48-
49-
IOnenotePageOnenotePatchContentRequestBuilder getOnenotePatchContent(final java.util.List<OnenotePatchContentCommand> commands);
50-
IOnenotePageCopyToSectionRequestBuilder getCopyToSection(final String id, final String groupId);
51-
IOnenotePagePreviewRequestBuilder getPreview();
52-
5334
}

graphsdk/src/main/java/com/microsoft/graph/generated/IBaseOnenoteResourceRequestBuilder.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ public interface IBaseOnenoteResourceRequestBuilder extends IRequestBuilder {
3131
*/
3232
IOnenoteResourceRequest buildRequest(final java.util.List<Option> requestOptions);
3333

34-
IOnenoteResourceStreamRequestBuilder getMsgraph_Content();
35-
3634
IOnenoteResourceStreamRequestBuilder getContent();
3735

3836
}

graphsdk/src/main/java/com/microsoft/graph/generated/IBaseOnenoteResourceStreamRequestBuilder.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
* The interface for the Base Onenote Resource Stream Request Builder.
2222
*/
2323
public interface IBaseOnenoteResourceStreamRequestBuilder extends IRequestBuilder {
24-
2524
/**
2625
* Creates the request
2726
*/
@@ -32,9 +31,4 @@ public interface IBaseOnenoteResourceStreamRequestBuilder extends IRequestBuilde
3231
*/
3332
IOnenoteResourceStreamRequest buildRequest(final java.util.List<Option> requestOptions);
3433

35-
IOnenoteResourceStreamRequestBuilder getContent();
36-
37-
38-
39-
4034
}

0 commit comments

Comments
 (0)