Task <int> IDestiny2Client.SetItemLockStateAsync(Destiny.Requests.Actions.DestinyItemStateRequest destinyItemStateRequest) { string[] pathSegments = new string[] { "Destiny2", "Actions", "Items", "SetLockState" }; Uri uri = GetEndpointUri(pathSegments, true, null); return(PostEntityAsync <Destiny.Requests.Actions.DestinyItemStateRequest, int>(uri, destinyItemStateRequest)); }
int IDestiny2Client.SetItemLockState(Destiny.Requests.Actions.DestinyItemStateRequest destinyItemStateRequest) => Destiny2.SetItemLockStateAsync(destinyItemStateRequest).GetAwaiter().GetResult();