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

Commit 75085b4

Browse files
author
Caitlin Bales (MSFT)
committed
Remove odata type defaults
1 parent 3d8628f commit 75085b4

File tree

265 files changed

+118
-1810
lines changed

Some content is hidden

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

265 files changed

+118
-1810
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
public class BaseAlternativeSecurityId implements IJsonBackedObject {
3030

3131
@SerializedName("@odata.type")
32-
@Expose(serialize = false)
32+
@Expose
3333
public String oDataType;
3434

3535
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
@@ -39,10 +39,6 @@ public final AdditionalDataManager getAdditionalDataManager() {
3939
return additionalDataManager;
4040
}
4141

42-
public BaseAlternativeSecurityId() {
43-
oDataType = "microsoft.graph.alternativeSecurityId";
44-
}
45-
4642
/**
4743
* The Type.
4844
*

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
public class BaseAssignedLicense implements IJsonBackedObject {
3030

3131
@SerializedName("@odata.type")
32-
@Expose(serialize = false)
32+
@Expose
3333
public String oDataType;
3434

3535
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
@@ -39,10 +39,6 @@ public final AdditionalDataManager getAdditionalDataManager() {
3939
return additionalDataManager;
4040
}
4141

42-
public BaseAssignedLicense() {
43-
oDataType = "microsoft.graph.assignedLicense";
44-
}
45-
4642
/**
4743
* The Disabled Plans.
4844
* A collection of the unique identifiers for plans that have been disabled.

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
public class BaseAssignedPlan implements IJsonBackedObject {
3030

3131
@SerializedName("@odata.type")
32-
@Expose(serialize = false)
32+
@Expose
3333
public String oDataType;
3434

3535
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
@@ -39,10 +39,6 @@ public final AdditionalDataManager getAdditionalDataManager() {
3939
return additionalDataManager;
4040
}
4141

42-
public BaseAssignedPlan() {
43-
oDataType = "microsoft.graph.assignedPlan";
44-
}
45-
4642
/**
4743
* The Assigned Date Time.
4844
* The date and time at which the plan was assigned; for example: 2013-01-02T19:32:30Z. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@
2929
public class BaseAttachment extends Entity implements IJsonBackedObject {
3030

3131

32-
public BaseAttachment() {
33-
oDataType = "microsoft.graph.attachment";
34-
}
35-
3632
/**
3733
* The Last Modified Date Time.
3834
* The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,4 @@ public IAttachmentRequest buildRequest(final java.util.List<Option> requestOptio
4747
return new AttachmentRequest(getRequestUrl(), getClient(), requestOptions);
4848
}
4949

50-
51-
public IFileAttachmentRequestBuilder fileAttachment() {
52-
return new FileAttachmentRequestBuilder(getRequestUrlWithAdditionalSegment("fileAttachment"), getClient(), null);
53-
}
54-
55-
public IItemAttachmentRequestBuilder itemAttachment() {
56-
return new ItemAttachmentRequestBuilder(getRequestUrlWithAdditionalSegment("itemAttachment"), getClient(), null);
57-
}
58-
59-
public IReferenceAttachmentRequestBuilder referenceAttachment() {
60-
return new ReferenceAttachmentRequestBuilder(getRequestUrlWithAdditionalSegment("referenceAttachment"), getClient(), null);
61-
}
6250
}

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@
2929
public class BaseAttendee extends AttendeeBase implements IJsonBackedObject {
3030

3131

32-
public BaseAttendee() {
33-
oDataType = "microsoft.graph.attendee";
34-
}
35-
3632
/**
3733
* The Status.
3834
* The attendee's response (none, accepted, declined, etc.) for the event and date-time that the response was sent.

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
public class BaseAttendeeAvailability implements IJsonBackedObject {
3030

3131
@SerializedName("@odata.type")
32-
@Expose(serialize = false)
32+
@Expose
3333
public String oDataType;
3434

3535
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
@@ -39,10 +39,6 @@ public final AdditionalDataManager getAdditionalDataManager() {
3939
return additionalDataManager;
4040
}
4141

42-
public BaseAttendeeAvailability() {
43-
oDataType = "microsoft.graph.attendeeAvailability";
44-
}
45-
4642
/**
4743
* The Attendee.
4844
* The type of attendee - whether it's a person or a resource, and whether required or optional if it's a person.

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@
2929
public class BaseAttendeeBase extends Recipient implements IJsonBackedObject {
3030

3131

32-
public BaseAttendeeBase() {
33-
oDataType = "microsoft.graph.attendeeBase";
34-
}
35-
3632
/**
3733
* The Type.
3834
* The type of attendee. Possible values are: required, optional, resource. Currently if the attendee is a person, findMeetingTimes always considers the person is of the Required type.

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
public class BaseAudio implements IJsonBackedObject {
3030

3131
@SerializedName("@odata.type")
32-
@Expose(serialize = false)
32+
@Expose
3333
public String oDataType;
3434

3535
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
@@ -39,10 +39,6 @@ public final AdditionalDataManager getAdditionalDataManager() {
3939
return additionalDataManager;
4040
}
4141

42-
public BaseAudio() {
43-
oDataType = "microsoft.graph.audio";
44-
}
45-
4642
/**
4743
* The Album.
4844
* The title of the album for this audio file.

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
public class BaseAutomaticRepliesSetting implements IJsonBackedObject {
3030

3131
@SerializedName("@odata.type")
32-
@Expose(serialize = false)
32+
@Expose
3333
public String oDataType;
3434

3535
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
@@ -39,10 +39,6 @@ public final AdditionalDataManager getAdditionalDataManager() {
3939
return additionalDataManager;
4040
}
4141

42-
public BaseAutomaticRepliesSetting() {
43-
oDataType = "microsoft.graph.automaticRepliesSetting";
44-
}
45-
4642
/**
4743
* The Status.
4844
* Configurations status for automatic replies. Possible values are: disabled, alwaysEnabled, scheduled.

0 commit comments

Comments
 (0)