microsoftgraph / microsoftgraph/msgraph-sdk-java
The "creationOptions" field is missing in the Group class
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Java
- Sterne
- 444
- Forks
- 154
- Ø Merge
- 18 Std. 28 Min.
- Gemergte PRs (30 T.)
- 4
Beschreibung
Issue
I noticed that the com.microsoft.graph.models.Group class doesn't have the creationOptions field. However, this field is available in the HTTP response if I make a HTTP request to the v1.0 endpoint instead of using the Graph Sdk.
The endpoint I am using is /transitiveMemberOf
An example response from HTTP request:
{
"id": "",
"deletedDateTime": null,
"classification": null,
"createdDateTime": "",
"creationOptions": [
"ProvisionGroupHomepage"
],
... (other properties)
}
Expected behavior
The com.microsoft.graph.models.Group class should have a creationOptions field with type List<String>.
Actual behavior
The creationOptions field is not available in the com.microsoft.graph.models.Group class.
Steps to reproduce the behavior
Sdk version: latest sdk
Java code:
Group group = client.me().transitiveMemberOfAsGroup();
List<String> creationOptions = group.creationOptions; // will throw an compile error! The "creationOptions" field does not exist in class Group.
HTTP request:
GET https://graph.microsoft.com/v1.0/me/transitiveMemberOf/microsoft.graph.group
The creationOptions property is available in the HTTP response.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginnen Sie mit der Klasse com.microsoft.graph.models.Group und vergleichen Sie ihre verfügbaren Eigenschaften mit der in diesem Issue beschriebenen Antwort der transitiveMemberOf-Gruppe. Fügen Sie die fehlende Eigenschaft creationOptions mit dem Typ List hinzu; als erledigt gilt die Aufgabe, wenn Java-Aufrufer darauf zugreifen können und das SDK-Modell den zurückgegebenen Wert darstellt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- api
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100