Skip to content

Commit eb57f03

Browse files
authored
Merge pull request #503 from microsoftgraph/feature/orderby
- updaates generated files for orderby support
2 parents 8771aa5 + 9bf889b commit eb57f03

File tree

1,578 files changed

+6148
-10418
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,578 files changed

+6148
-10418
lines changed

src/main/java/com/microsoft/graph/callrecords/requests/extensions/CallRecordCollectionRequest.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,17 @@ public ICallRecordCollectionRequest filter(final String value) {
9595
return (CallRecordCollectionRequest)this;
9696
}
9797

98+
/**
99+
* Sets the order by clause for the request
100+
*
101+
* @param value the order by clause
102+
* @return the updated request
103+
*/
104+
public ICallRecordCollectionRequest orderBy(final String value) {
105+
addQueryOption(new com.microsoft.graph.options.QueryOption("$orderby", value));
106+
return (CallRecordCollectionRequest)this;
107+
}
108+
98109
/**
99110
* Sets the select clause for the request
100111
*

src/main/java/com/microsoft/graph/callrecords/requests/extensions/CallRecordRequest.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -158,16 +158,5 @@ public ICallRecordRequest expand(final String value) {
158158
return (CallRecordRequest)this;
159159
}
160160

161-
/**
162-
* Sets the filter clause for the request
163-
*
164-
* @param value the filter clause
165-
* @return the updated request
166-
*/
167-
public ICallRecordRequest filter(final String value) {
168-
getQueryOptions().add(new com.microsoft.graph.options.QueryOption("$filter", value));
169-
return (CallRecordRequest)this;
170-
}
171-
172161
}
173162

src/main/java/com/microsoft/graph/callrecords/requests/extensions/ICallRecordCollectionRequest.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ public interface ICallRecordCollectionRequest extends IHttpRequest {
4646
*/
4747
ICallRecordCollectionRequest filter(final String value);
4848

49+
/**
50+
* Sets the order by clause for the request
51+
*
52+
* @param value the order by clause
53+
* @return the updated request
54+
*/
55+
ICallRecordCollectionRequest orderBy(final String value);
56+
4957
/**
5058
* Sets the select clause for the request
5159
*

src/main/java/com/microsoft/graph/callrecords/requests/extensions/ISegmentCollectionRequest.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ public interface ISegmentCollectionRequest extends IHttpRequest {
4646
*/
4747
ISegmentCollectionRequest filter(final String value);
4848

49+
/**
50+
* Sets the order by clause for the request
51+
*
52+
* @param value the order by clause
53+
* @return the updated request
54+
*/
55+
ISegmentCollectionRequest orderBy(final String value);
56+
4957
/**
5058
* Sets the select clause for the request
5159
*

src/main/java/com/microsoft/graph/callrecords/requests/extensions/ISessionCollectionRequest.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ public interface ISessionCollectionRequest extends IHttpRequest {
4646
*/
4747
ISessionCollectionRequest filter(final String value);
4848

49+
/**
50+
* Sets the order by clause for the request
51+
*
52+
* @param value the order by clause
53+
* @return the updated request
54+
*/
55+
ISessionCollectionRequest orderBy(final String value);
56+
4957
/**
5058
* Sets the select clause for the request
5159
*

src/main/java/com/microsoft/graph/callrecords/requests/extensions/SegmentCollectionRequest.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,17 @@ public ISegmentCollectionRequest filter(final String value) {
9595
return (SegmentCollectionRequest)this;
9696
}
9797

98+
/**
99+
* Sets the order by clause for the request
100+
*
101+
* @param value the order by clause
102+
* @return the updated request
103+
*/
104+
public ISegmentCollectionRequest orderBy(final String value) {
105+
addQueryOption(new com.microsoft.graph.options.QueryOption("$orderby", value));
106+
return (SegmentCollectionRequest)this;
107+
}
108+
98109
/**
99110
* Sets the select clause for the request
100111
*

src/main/java/com/microsoft/graph/callrecords/requests/extensions/SegmentRequest.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -154,16 +154,5 @@ public ISegmentRequest expand(final String value) {
154154
return (SegmentRequest)this;
155155
}
156156

157-
/**
158-
* Sets the filter clause for the request
159-
*
160-
* @param value the filter clause
161-
* @return the updated request
162-
*/
163-
public ISegmentRequest filter(final String value) {
164-
getQueryOptions().add(new com.microsoft.graph.options.QueryOption("$filter", value));
165-
return (SegmentRequest)this;
166-
}
167-
168157
}
169158

src/main/java/com/microsoft/graph/callrecords/requests/extensions/SessionCollectionRequest.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,17 @@ public ISessionCollectionRequest filter(final String value) {
9595
return (SessionCollectionRequest)this;
9696
}
9797

98+
/**
99+
* Sets the order by clause for the request
100+
*
101+
* @param value the order by clause
102+
* @return the updated request
103+
*/
104+
public ISessionCollectionRequest orderBy(final String value) {
105+
addQueryOption(new com.microsoft.graph.options.QueryOption("$orderby", value));
106+
return (SessionCollectionRequest)this;
107+
}
108+
98109
/**
99110
* Sets the select clause for the request
100111
*

src/main/java/com/microsoft/graph/callrecords/requests/extensions/SessionRequest.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -158,16 +158,5 @@ public ISessionRequest expand(final String value) {
158158
return (SessionRequest)this;
159159
}
160160

161-
/**
162-
* Sets the filter clause for the request
163-
*
164-
* @param value the filter clause
165-
* @return the updated request
166-
*/
167-
public ISessionRequest filter(final String value) {
168-
getQueryOptions().add(new com.microsoft.graph.options.QueryOption("$filter", value));
169-
return (SessionRequest)this;
170-
}
171-
172161
}
173162

src/main/java/com/microsoft/graph/requests/extensions/AadUserConversationMemberRequest.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -156,16 +156,5 @@ public IAadUserConversationMemberRequest expand(final String value) {
156156
return (AadUserConversationMemberRequest)this;
157157
}
158158

159-
/**
160-
* Sets the filter clause for the request
161-
*
162-
* @param value the filter clause
163-
* @return the updated request
164-
*/
165-
public IAadUserConversationMemberRequest filter(final String value) {
166-
getQueryOptions().add(new com.microsoft.graph.options.QueryOption("$filter", value));
167-
return (AadUserConversationMemberRequest)this;
168-
}
169-
170159
}
171160

0 commit comments

Comments
 (0)