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 @@ -108,6 +108,8 @@ public class CallRecord extends Entity implements IJsonBackedObject {
* The Sessions.
* List of sessions involved in the call. Peer-to-peer calls typically only have one session, whereas group calls typically have at least one session per participant. Read-only. Nullable.
*/
@SerializedName("sessions")
@Expose
public SessionCollectionPage sessions;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ public class Session extends Entity implements IJsonBackedObject {
* The Segments.
* The list of segments involved in the session. Read-only. Nullable.
*/
@SerializedName("segments")
@Expose
public SegmentCollectionPage segments;


Expand Down
2 changes: 2 additions & 0 deletions src/main/java/com/microsoft/graph/core/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@ private Constants() {
public static final String APPID = "app-id";
public static final String USERNAME = "user@email.com";
public static final String PASSWORD = "password";
public static final String TENANTID = "tenantid";
public static final String CLIENTSECRET = "clientsecret";
public static final String VERSION_NAME = "2.0.0";
}
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public void setReadTimeout(int readTimeoutValue) {
* @param maxRedirects Max redirects that a request can take
*/
public void setMaxRedirects(int maxRedirects) {
this.maxRedirects = maxRedirects;
DefaultConnectionConfig.maxRedirects = maxRedirects;
}

/**
Expand All @@ -128,7 +128,7 @@ public int getMaxRedirects() {
* @param shouldRedirect Callback called before doing a redirect
*/
public void setShouldRedirect(IShouldRedirect shouldRedirect) {
this.shouldRedirect = shouldRedirect;
DefaultConnectionConfig.shouldRedirect = shouldRedirect;
}

/**
Expand All @@ -146,7 +146,7 @@ public IShouldRedirect getShouldRedirect() {
* @param shouldretry The callback called before retry
*/
public void setShouldRetry(IShouldRetry shouldretry) {
this.shouldRetry = shouldretry;
DefaultConnectionConfig.shouldRetry = shouldretry;
}

/**
Expand All @@ -164,7 +164,7 @@ public IShouldRetry getShouldRetry() {
* @param maxRetries Max retries for a request
*/
public void setMaxRetries(int maxRetries) {
this.maxRetries = maxRetries;
DefaultConnectionConfig.maxRetries = maxRetries;
}

/**
Expand All @@ -182,7 +182,7 @@ public int getMaxRetries() {
* @param delay Delay in seconds between retries
*/
public void setDelay(long delay) {
this.delay = delay;
DefaultConnectionConfig.delay = delay;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ public class AndroidManagedAppProtection extends TargetedManagedAppProtection im
* The Apps.
* List of apps to which the policy is deployed.
*/
@SerializedName("apps")
@Expose
public ManagedMobileAppCollectionPage apps;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ public class AppCatalogs extends Entity implements IJsonBackedObject {
* The Teams Apps.
*
*/
@SerializedName("teamsApps")
@Expose
public TeamsAppCollectionPage teamsApps;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ public class Application extends DirectoryObject implements IJsonBackedObject {
* The Extension Properties.
* Read-only. Nullable.
*/
@SerializedName("extensionProperties")
@Expose
public ExtensionPropertyCollectionPage extensionProperties;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,24 @@ public class AuditLogRoot extends Entity implements IJsonBackedObject {
* The Directory Audits.
* Read-only. Nullable.
*/
@SerializedName("directoryAudits")
@Expose
public DirectoryAuditCollectionPage directoryAudits;

/**
* The Restricted Sign Ins.
*
*/
@SerializedName("restrictedSignIns")
@Expose
public RestrictedSignInCollectionPage restrictedSignIns;

/**
* The Sign Ins.
* Read-only. Nullable.
*/
@SerializedName("signIns")
@Expose
public SignInCollectionPage signIns;


Expand Down
10 changes: 10 additions & 0 deletions src/main/java/com/microsoft/graph/models/extensions/Calendar.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,30 +133,40 @@ public class Calendar extends Entity implements IJsonBackedObject {
* The Calendar Permissions.
* The permissions of the users with whom the calendar is shared.
*/
@SerializedName("calendarPermissions")
@Expose
public CalendarPermissionCollectionPage calendarPermissions;

/**
* The Calendar View.
* The calendar view for the calendar. Navigation property. Read-only.
*/
@SerializedName("calendarView")
@Expose
public EventCollectionPage calendarView;

/**
* The Events.
* The events in the calendar. Navigation property. Read-only.
*/
@SerializedName("events")
@Expose
public EventCollectionPage events;

/**
* The Multi Value Extended Properties.
* The collection of multi-value extended properties defined for the calendar. Read-only. Nullable.
*/
@SerializedName("multiValueExtendedProperties")
@Expose
public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties;

/**
* The Single Value Extended Properties.
* The collection of single-value extended properties defined for the calendar. Read-only. Nullable.
*/
@SerializedName("singleValueExtendedProperties")
@Expose
public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ public class CalendarGroup extends Entity implements IJsonBackedObject {
* The Calendars.
* The calendars in the calendar group. Navigation property. Read-only. Nullable.
*/
@SerializedName("calendars")
@Expose
public CalendarCollectionPage calendars;


Expand Down
4 changes: 4 additions & 0 deletions src/main/java/com/microsoft/graph/models/extensions/Call.java
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,16 @@ public class Call extends Entity implements IJsonBackedObject {
* The Operations.
* Read-only. Nullable.
*/
@SerializedName("operations")
@Expose
public CommsOperationCollectionPage operations;

/**
* The Participants.
* Read-only. Nullable.
*/
@SerializedName("participants")
@Expose
public ParticipantCollectionPage participants;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,18 +89,24 @@ public class Channel extends Entity implements IJsonBackedObject {
* The Members.
*
*/
@SerializedName("members")
@Expose
public ConversationMemberCollectionPage members;

/**
* The Messages.
* A collection of all the messages in the channel. A navigation property. Nullable.
*/
@SerializedName("messages")
@Expose
public ChatMessageCollectionPage messages;

/**
* The Tabs.
* A collection of all the tabs in the channel. A navigation property.
*/
@SerializedName("tabs")
@Expose
public TeamsTabCollectionPage tabs;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,16 @@ public class ChatMessage extends Entity implements IJsonBackedObject {
* The Hosted Contents.
*
*/
@SerializedName("hostedContents")
@Expose
public ChatMessageHostedContentCollectionPage hostedContents;

/**
* The Replies.
*
*/
@SerializedName("replies")
@Expose
public ChatMessageCollectionPage replies;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,24 @@ public class CloudCommunications extends Entity implements IJsonBackedObject {
* The Calls.
*
*/
@SerializedName("calls")
@Expose
public CallCollectionPage calls;

/**
* The Call Records.
*
*/
@SerializedName("callRecords")
@Expose
public CallRecordCollectionPage callRecords;

/**
* The Online Meetings.
*
*/
@SerializedName("onlineMeetings")
@Expose
public OnlineMeetingCollectionPage onlineMeetings;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,16 @@ public class ConditionalAccessRoot extends Entity implements IJsonBackedObject {
* The Named Locations.
*
*/
@SerializedName("namedLocations")
@Expose
public NamedLocationCollectionPage namedLocations;

/**
* The Policies.
*
*/
@SerializedName("policies")
@Expose
public ConditionalAccessPolicyCollectionPage policies;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,12 +306,16 @@ public class Contact extends OutlookItem implements IJsonBackedObject {
* The Extensions.
* The collection of open extensions defined for the contact. Read-only. Nullable.
*/
@SerializedName("extensions")
@Expose
public ExtensionCollectionPage extensions;

/**
* The Multi Value Extended Properties.
* The collection of multi-value extended properties defined for the contact. Read-only. Nullable.
*/
@SerializedName("multiValueExtendedProperties")
@Expose
public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties;

/**
Expand All @@ -326,6 +330,8 @@ public class Contact extends OutlookItem implements IJsonBackedObject {
* The Single Value Extended Properties.
* The collection of single-value extended properties defined for the contact. Read-only. Nullable.
*/
@SerializedName("singleValueExtendedProperties")
@Expose
public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,24 +58,32 @@ public class ContactFolder extends Entity implements IJsonBackedObject {
* The Child Folders.
* The collection of child folders in the folder. Navigation property. Read-only. Nullable.
*/
@SerializedName("childFolders")
@Expose
public ContactFolderCollectionPage childFolders;

/**
* The Contacts.
* The contacts in the folder. Navigation property. Read-only. Nullable.
*/
@SerializedName("contacts")
@Expose
public ContactCollectionPage contacts;

/**
* The Multi Value Extended Properties.
* The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable.
*/
@SerializedName("multiValueExtendedProperties")
@Expose
public MultiValueLegacyExtendedPropertyCollectionPage multiValueExtendedProperties;

/**
* The Single Value Extended Properties.
* The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable.
*/
@SerializedName("singleValueExtendedProperties")
@Expose
public SingleValueLegacyExtendedPropertyCollectionPage singleValueExtendedProperties;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ public class ContentType extends Entity implements IJsonBackedObject {
* The Column Links.
* The collection of columns that are required by this content type
*/
@SerializedName("columnLinks")
@Expose
public ColumnLinkCollectionPage columnLinks;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ public class Conversation extends Entity implements IJsonBackedObject {
* The Threads.
* A collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable.
*/
@SerializedName("threads")
@Expose
public ConversationThreadCollectionPage threads;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ public class ConversationThread extends Entity implements IJsonBackedObject {
* The Posts.
* Read-only. Nullable.
*/
@SerializedName("posts")
@Expose
public PostCollectionPage posts;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ public class DefaultManagedAppProtection extends ManagedAppProtection implements
* The Apps.
* List of apps to which the policy is deployed.
*/
@SerializedName("apps")
@Expose
public ManagedMobileAppCollectionPage apps;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ public class Device extends DirectoryObject implements IJsonBackedObject {
* The Extensions.
* The collection of open extensions defined for the device. Read-only. Nullable.
*/
@SerializedName("extensions")
@Expose
public ExtensionCollectionPage extensions;


Expand Down
Loading