/// <summary> /// Creates the specified instance. /// </summary> /// <param name="instance">The instance.</param> /// <param name="userId">The user identifier.</param> /// <returns></returns> internal static SdkUser Create(IOjibweApi instance, Guid userId) { return instance.Execute<SdkUser>(null, HttpMethod.Get, "users/{id}", "id", userId.ToString()); }
/// <summary> /// Creates the specified instance. /// </summary> /// <param name="instance">The instance.</param> /// <param name="transferId">The transfer identifier.</param> /// <returns></returns> internal SdkTransfer Create(IOjibweApi instance, Guid transferId) { return instance.Execute<SdkTransfer>(null, HttpMethod.Get, "transfers/{id}", "id", transferId.ToString()); }
/// <summary> /// Creates the specified instance. /// </summary> /// <param name="instance">The instance.</param> /// <param name="keyId">The key identifier.</param> /// <returns></returns> internal static SdkKey Create(IOjibweApi instance, Guid keyId) { return instance.Execute<SdkKey>(null, HttpMethod.Get, "keys/{id}", "id", keyId.ToString()); }