feat: Add enterprise license endpoints by MathewClegg · Pull Request #3755 · google/go-github

gmlewis

gmlewis

@MathewClegg

Add GetConsumedLicenses and GetLicenseSyncStatus methods to
EnterpriseService for retrieving license consumption data and
sync status for Enterprise Server instances.

Fixes google#3754

Signed-off-by: Mathew Clegg <mathew.clegg@live.se>

@MathewClegg

Add nil-safe getter methods for ServerInstanceProperties, ServerInstances,
ServiceInstanceItems, and ServerItemProperties to follow go-github patterns

Signed-off-by: Mathew Clegg <mathew.clegg@live.se>

stevehipwell

alexandear

Use pointer types (*string, *bool) for nullable fields instead of zero
values, add omitempty tags to slices, and remove deprecated field.
Update tests accordingly.

Signed-off-by: Mathew Clegg <mathew.clegg@live.se>

@MathewClegg

alexandear