Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,6 @@ public ICallRecordCollectionRequest expand(final String value) {
return (CallRecordCollectionRequest)this;
}

/**
* Sets the filter clause for the request
*
* @param value the filter clause
* @return the updated request
*/
public ICallRecordCollectionRequest filter(final String value) {
addQueryOption(new com.microsoft.graph.options.QueryOption("$filter", value));
return (CallRecordCollectionRequest)this;
}

/**
* Sets the select clause for the request
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,16 +158,5 @@ public ICallRecordRequest expand(final String value) {
return (CallRecordRequest)this;
}

/**
* Sets the filter clause for the request
*
* @param value the filter clause
* @return the updated request
*/
public ICallRecordRequest filter(final String value) {
getQueryOptions().add(new com.microsoft.graph.options.QueryOption("$filter", value));
return (CallRecordRequest)this;
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@
import java.util.EnumSet;

import com.microsoft.graph.http.IBaseCollectionPage;
import com.microsoft.graph.http.IHttpRequest;

// **NOTE** This file was generated by a tool and any changes will be overwritten.

/**
* The interface for the Call Record Collection Request.
*/
public interface ICallRecordCollectionRequest extends IHttpRequest {
public interface ICallRecordCollectionRequest {

void get(final ICallback<ICallRecordCollectionPage> callback);

Expand All @@ -38,14 +37,6 @@ public interface ICallRecordCollectionRequest extends IHttpRequest {
*/
ICallRecordCollectionRequest expand(final String value);

/**
* Sets the filter clause for the request
*
* @param value the filter clause
* @return the updated request
*/
ICallRecordCollectionRequest filter(final String value);

/**
* Sets the select clause for the request
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@
import java.util.EnumSet;

import com.microsoft.graph.http.IBaseCollectionPage;
import com.microsoft.graph.http.IHttpRequest;

// **NOTE** This file was generated by a tool and any changes will be overwritten.

/**
* The interface for the Segment Collection Request.
*/
public interface ISegmentCollectionRequest extends IHttpRequest {
public interface ISegmentCollectionRequest {

void get(final ICallback<ISegmentCollectionPage> callback);

Expand All @@ -38,14 +37,6 @@ public interface ISegmentCollectionRequest extends IHttpRequest {
*/
ISegmentCollectionRequest expand(final String value);

/**
* Sets the filter clause for the request
*
* @param value the filter clause
* @return the updated request
*/
ISegmentCollectionRequest filter(final String value);

/**
* Sets the select clause for the request
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@
import java.util.EnumSet;

import com.microsoft.graph.http.IBaseCollectionPage;
import com.microsoft.graph.http.IHttpRequest;

// **NOTE** This file was generated by a tool and any changes will be overwritten.

/**
* The interface for the Session Collection Request.
*/
public interface ISessionCollectionRequest extends IHttpRequest {
public interface ISessionCollectionRequest {

void get(final ICallback<ISessionCollectionPage> callback);

Expand All @@ -38,14 +37,6 @@ public interface ISessionCollectionRequest extends IHttpRequest {
*/
ISessionCollectionRequest expand(final String value);

/**
* Sets the filter clause for the request
*
* @param value the filter clause
* @return the updated request
*/
ISessionCollectionRequest filter(final String value);

/**
* Sets the select clause for the request
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,6 @@ public ISegmentCollectionRequest expand(final String value) {
return (SegmentCollectionRequest)this;
}

/**
* Sets the filter clause for the request
*
* @param value the filter clause
* @return the updated request
*/
public ISegmentCollectionRequest filter(final String value) {
addQueryOption(new com.microsoft.graph.options.QueryOption("$filter", value));
return (SegmentCollectionRequest)this;
}

/**
* Sets the select clause for the request
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,16 +154,5 @@ public ISegmentRequest expand(final String value) {
return (SegmentRequest)this;
}

/**
* Sets the filter clause for the request
*
* @param value the filter clause
* @return the updated request
*/
public ISegmentRequest filter(final String value) {
getQueryOptions().add(new com.microsoft.graph.options.QueryOption("$filter", value));
return (SegmentRequest)this;
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,6 @@ public ISessionCollectionRequest expand(final String value) {
return (SessionCollectionRequest)this;
}

/**
* Sets the filter clause for the request
*
* @param value the filter clause
* @return the updated request
*/
public ISessionCollectionRequest filter(final String value) {
addQueryOption(new com.microsoft.graph.options.QueryOption("$filter", value));
return (SessionCollectionRequest)this;
}

/**
* Sets the select clause for the request
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,16 +158,5 @@ public ISessionRequest expand(final String value) {
return (SessionRequest)this;
}

/**
* Sets the filter clause for the request
*
* @param value the filter clause
* @return the updated request
*/
public ISessionRequest filter(final String value) {
getQueryOptions().add(new com.microsoft.graph.options.QueryOption("$filter", value));
return (SessionRequest)this;
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@
import java.util.Arrays;
import java.util.EnumSet;
import com.microsoft.graph.models.extensions.DirectoryObject;
import com.microsoft.graph.models.extensions.ScopedRoleMembership;
import com.microsoft.graph.models.extensions.Extension;
import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionResponse;
import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionPage;
import com.microsoft.graph.requests.extensions.ScopedRoleMembershipCollectionResponse;
import com.microsoft.graph.requests.extensions.ScopedRoleMembershipCollectionPage;
import com.microsoft.graph.requests.extensions.ExtensionCollectionResponse;
import com.microsoft.graph.requests.extensions.ExtensionCollectionPage;


import com.google.gson.JsonObject;
Expand All @@ -26,6 +34,52 @@
public class AdministrativeUnit extends DirectoryObject implements IJsonBackedObject {


/**
* The Description.
*
*/
@SerializedName("description")
@Expose
public String description;

/**
* The Display Name.
*
*/
@SerializedName("displayName")
@Expose
public String displayName;

/**
* The Visibility.
*
*/
@SerializedName("visibility")
@Expose
public String visibility;

/**
* The Members.
*
*/
public DirectoryObjectCollectionPage members;

/**
* The Scoped Role Members.
*
*/
@SerializedName("scopedRoleMembers")
@Expose
public ScopedRoleMembershipCollectionPage scopedRoleMembers;

/**
* The Extensions.
*
*/
@SerializedName("extensions")
@Expose
public ExtensionCollectionPage extensions;


/**
* The raw representation of this class
Expand Down Expand Up @@ -65,5 +119,53 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) {
this.serializer = serializer;
rawObject = json;


if (json.has("members")) {
final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse();
if (json.has("members@odata.nextLink")) {
response.nextLink = json.get("members@odata.nextLink").getAsString();
}

final JsonObject[] sourceArray = serializer.deserializeObject(json.get("members").toString(), JsonObject[].class);
final DirectoryObject[] array = new DirectoryObject[sourceArray.length];
for (int i = 0; i < sourceArray.length; i++) {
array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class);
array[i].setRawObject(serializer, sourceArray[i]);
}
response.value = Arrays.asList(array);
members = new DirectoryObjectCollectionPage(response, null);
}

if (json.has("scopedRoleMembers")) {
final ScopedRoleMembershipCollectionResponse response = new ScopedRoleMembershipCollectionResponse();
if (json.has("scopedRoleMembers@odata.nextLink")) {
response.nextLink = json.get("scopedRoleMembers@odata.nextLink").getAsString();
}

final JsonObject[] sourceArray = serializer.deserializeObject(json.get("scopedRoleMembers").toString(), JsonObject[].class);
final ScopedRoleMembership[] array = new ScopedRoleMembership[sourceArray.length];
for (int i = 0; i < sourceArray.length; i++) {
array[i] = serializer.deserializeObject(sourceArray[i].toString(), ScopedRoleMembership.class);
array[i].setRawObject(serializer, sourceArray[i]);
}
response.value = Arrays.asList(array);
scopedRoleMembers = new ScopedRoleMembershipCollectionPage(response, null);
}

if (json.has("extensions")) {
final ExtensionCollectionResponse response = new ExtensionCollectionResponse();
if (json.has("extensions@odata.nextLink")) {
response.nextLink = json.get("extensions@odata.nextLink").getAsString();
}

final JsonObject[] sourceArray = serializer.deserializeObject(json.get("extensions").toString(), JsonObject[].class);
final Extension[] array = new Extension[sourceArray.length];
for (int i = 0; i < sourceArray.length; i++) {
array[i] = serializer.deserializeObject(sourceArray[i].toString(), Extension.class);
array[i].setRawObject(serializer, sourceArray[i]);
}
response.value = Arrays.asList(array);
extensions = new ExtensionCollectionPage(response, null);
}
}
}
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.