Skip to content

Commit 9085378

Browse files
author
Caitlin Bales (MSFT)
authored
Merge pull request #42 from microsoftgraph/id-getters-fix
Renamed id getters to "get"
2 parents bc530be + 5513954 commit 9085378

22 files changed

+44
-44
lines changed

src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public BaseAttachmentRequest(final String requestUrl,
4343
* Gets the Attachment from the service
4444
* @param callback The callback to be called after success or failure.
4545
*/
46-
public void getAttachment(final ICallback<Attachment> callback) {
46+
public void get(final ICallback<Attachment> callback) {
4747
send(HttpMethod.GET, callback, null);
4848
}
4949

@@ -52,7 +52,7 @@ public void getAttachment(final ICallback<Attachment> callback) {
5252
* @return The Attachment from the request.
5353
* @throws ClientException This exception occurs if the request was unable to complete for any reason.
5454
*/
55-
public Attachment getAttachment() throws ClientException {
55+
public Attachment get() throws ClientException {
5656
return send(HttpMethod.GET, null);
5757
}
5858

src/main/java/com/microsoft/graph/requests/generated/BaseBaseItemRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public BaseBaseItemRequest(final String requestUrl,
4343
* Gets the BaseItem from the service
4444
* @param callback The callback to be called after success or failure.
4545
*/
46-
public void getBaseItem(final ICallback<BaseItem> callback) {
46+
public void get(final ICallback<BaseItem> callback) {
4747
send(HttpMethod.GET, callback, null);
4848
}
4949

@@ -52,7 +52,7 @@ public void getBaseItem(final ICallback<BaseItem> callback) {
5252
* @return The BaseItem from the request.
5353
* @throws ClientException This exception occurs if the request was unable to complete for any reason.
5454
*/
55-
public BaseItem getBaseItem() throws ClientException {
55+
public BaseItem get() throws ClientException {
5656
return send(HttpMethod.GET, null);
5757
}
5858

src/main/java/com/microsoft/graph/requests/generated/BaseDirectoryObjectRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public BaseDirectoryObjectRequest(final String requestUrl,
4343
* Gets the DirectoryObject from the service
4444
* @param callback The callback to be called after success or failure.
4545
*/
46-
public void getDirectoryObject(final ICallback<DirectoryObject> callback) {
46+
public void get(final ICallback<DirectoryObject> callback) {
4747
send(HttpMethod.GET, callback, null);
4848
}
4949

@@ -52,7 +52,7 @@ public void getDirectoryObject(final ICallback<DirectoryObject> callback) {
5252
* @return The DirectoryObject from the request.
5353
* @throws ClientException This exception occurs if the request was unable to complete for any reason.
5454
*/
55-
public DirectoryObject getDirectoryObject() throws ClientException {
55+
public DirectoryObject get() throws ClientException {
5656
return send(HttpMethod.GET, null);
5757
}
5858

src/main/java/com/microsoft/graph/requests/generated/BaseDomainDnsRecordRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public BaseDomainDnsRecordRequest(final String requestUrl,
4343
* Gets the DomainDnsRecord from the service
4444
* @param callback The callback to be called after success or failure.
4545
*/
46-
public void getDomainDnsRecord(final ICallback<DomainDnsRecord> callback) {
46+
public void get(final ICallback<DomainDnsRecord> callback) {
4747
send(HttpMethod.GET, callback, null);
4848
}
4949

@@ -52,7 +52,7 @@ public void getDomainDnsRecord(final ICallback<DomainDnsRecord> callback) {
5252
* @return The DomainDnsRecord from the request.
5353
* @throws ClientException This exception occurs if the request was unable to complete for any reason.
5454
*/
55-
public DomainDnsRecord getDomainDnsRecord() throws ClientException {
55+
public DomainDnsRecord get() throws ClientException {
5656
return send(HttpMethod.GET, null);
5757
}
5858

src/main/java/com/microsoft/graph/requests/generated/BaseExtensionRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public BaseExtensionRequest(final String requestUrl,
4343
* Gets the Extension from the service
4444
* @param callback The callback to be called after success or failure.
4545
*/
46-
public void getExtension(final ICallback<Extension> callback) {
46+
public void get(final ICallback<Extension> callback) {
4747
send(HttpMethod.GET, callback, null);
4848
}
4949

@@ -52,7 +52,7 @@ public void getExtension(final ICallback<Extension> callback) {
5252
* @return The Extension from the request.
5353
* @throws ClientException This exception occurs if the request was unable to complete for any reason.
5454
*/
55-
public Extension getExtension() throws ClientException {
55+
public Extension get() throws ClientException {
5656
return send(HttpMethod.GET, null);
5757
}
5858

src/main/java/com/microsoft/graph/requests/generated/BaseMessageRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public BaseMessageRequest(final String requestUrl,
4343
* Gets the Message from the service
4444
* @param callback The callback to be called after success or failure.
4545
*/
46-
public void getMessage(final ICallback<Message> callback) {
46+
public void get(final ICallback<Message> callback) {
4747
send(HttpMethod.GET, callback, null);
4848
}
4949

@@ -52,7 +52,7 @@ public void getMessage(final ICallback<Message> callback) {
5252
* @return The Message from the request.
5353
* @throws ClientException This exception occurs if the request was unable to complete for any reason.
5454
*/
55-
public Message getMessage() throws ClientException {
55+
public Message get() throws ClientException {
5656
return send(HttpMethod.GET, null);
5757
}
5858

src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntityBaseModelRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public BaseOnenoteEntityBaseModelRequest(final String requestUrl,
4343
* Gets the OnenoteEntityBaseModel from the service
4444
* @param callback The callback to be called after success or failure.
4545
*/
46-
public void getOnenoteEntityBaseModel(final ICallback<OnenoteEntityBaseModel> callback) {
46+
public void get(final ICallback<OnenoteEntityBaseModel> callback) {
4747
send(HttpMethod.GET, callback, null);
4848
}
4949

@@ -52,7 +52,7 @@ public void getOnenoteEntityBaseModel(final ICallback<OnenoteEntityBaseModel> ca
5252
* @return The OnenoteEntityBaseModel from the request.
5353
* @throws ClientException This exception occurs if the request was unable to complete for any reason.
5454
*/
55-
public OnenoteEntityBaseModel getOnenoteEntityBaseModel() throws ClientException {
55+
public OnenoteEntityBaseModel get() throws ClientException {
5656
return send(HttpMethod.GET, null);
5757
}
5858

src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntityHierarchyModelRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public BaseOnenoteEntityHierarchyModelRequest(final String requestUrl,
4343
* Gets the OnenoteEntityHierarchyModel from the service
4444
* @param callback The callback to be called after success or failure.
4545
*/
46-
public void getOnenoteEntityHierarchyModel(final ICallback<OnenoteEntityHierarchyModel> callback) {
46+
public void get(final ICallback<OnenoteEntityHierarchyModel> callback) {
4747
send(HttpMethod.GET, callback, null);
4848
}
4949

@@ -52,7 +52,7 @@ public void getOnenoteEntityHierarchyModel(final ICallback<OnenoteEntityHierarch
5252
* @return The OnenoteEntityHierarchyModel from the request.
5353
* @throws ClientException This exception occurs if the request was unable to complete for any reason.
5454
*/
55-
public OnenoteEntityHierarchyModel getOnenoteEntityHierarchyModel() throws ClientException {
55+
public OnenoteEntityHierarchyModel get() throws ClientException {
5656
return send(HttpMethod.GET, null);
5757
}
5858

src/main/java/com/microsoft/graph/requests/generated/BaseOnenoteEntitySchemaObjectModelRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public BaseOnenoteEntitySchemaObjectModelRequest(final String requestUrl,
4343
* Gets the OnenoteEntitySchemaObjectModel from the service
4444
* @param callback The callback to be called after success or failure.
4545
*/
46-
public void getOnenoteEntitySchemaObjectModel(final ICallback<OnenoteEntitySchemaObjectModel> callback) {
46+
public void get(final ICallback<OnenoteEntitySchemaObjectModel> callback) {
4747
send(HttpMethod.GET, callback, null);
4848
}
4949

@@ -52,7 +52,7 @@ public void getOnenoteEntitySchemaObjectModel(final ICallback<OnenoteEntitySchem
5252
* @return The OnenoteEntitySchemaObjectModel from the request.
5353
* @throws ClientException This exception occurs if the request was unable to complete for any reason.
5454
*/
55-
public OnenoteEntitySchemaObjectModel getOnenoteEntitySchemaObjectModel() throws ClientException {
55+
public OnenoteEntitySchemaObjectModel get() throws ClientException {
5656
return send(HttpMethod.GET, null);
5757
}
5858

src/main/java/com/microsoft/graph/requests/generated/BaseOperationRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public BaseOperationRequest(final String requestUrl,
4343
* Gets the Operation from the service
4444
* @param callback The callback to be called after success or failure.
4545
*/
46-
public void getOperation(final ICallback<Operation> callback) {
46+
public void get(final ICallback<Operation> callback) {
4747
send(HttpMethod.GET, callback, null);
4848
}
4949

@@ -52,7 +52,7 @@ public void getOperation(final ICallback<Operation> callback) {
5252
* @return The Operation from the request.
5353
* @throws ClientException This exception occurs if the request was unable to complete for any reason.
5454
*/
55-
public Operation getOperation() throws ClientException {
55+
public Operation get() throws ClientException {
5656
return send(HttpMethod.GET, null);
5757
}
5858

0 commit comments

Comments
 (0)