Skip to content

Commit

Permalink
Merge pull request #33 from smdn/releases/Smdn.TPSmartHomeDevices.Tap…
Browse files Browse the repository at this point in the history
…o-2.0.0-preview5-1705593263

Release main/Smdn.TPSmartHomeDevices.Tapo-2.0.0-preview5
  • Loading branch information
smdn committed Jan 18, 2024
2 parents ea62d4b + edc33ba commit 8352186
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 111 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Smdn.TPSmartHomeDevices.Tapo.dll (Smdn.TPSmartHomeDevices.Tapo-2.0.0-preview4)
// Smdn.TPSmartHomeDevices.Tapo.dll (Smdn.TPSmartHomeDevices.Tapo-2.0.0-preview5)
// Name: Smdn.TPSmartHomeDevices.Tapo
// AssemblyVersion: 2.0.0.0
// InformationalVersion: 2.0.0-preview4+d29dbb7e70fe6953f2864f5a4e35e63cca4b507a
// InformationalVersion: 2.0.0-preview5+841a75d6ea4ddf46fff7f06ee411eda75389c726
// TargetFramework: .NETCoreApp,Version=v6.0
// Configuration: Release
// Referenced assemblies:
Expand Down Expand Up @@ -157,6 +157,7 @@ protected TapoDevice(PhysicalAddress macAddress, string email, string password,
protected TapoDevice(string host, IServiceProvider serviceProvider) {}
protected TapoDevice(string host, string email, string password, IServiceProvider? serviceProvider) {}

public IDeviceEndPoint EndPoint { get; }
[MemberNotNullWhen(false, "deviceEndPoint")]
protected bool IsDisposed { [MemberNotNullWhen(false, "deviceEndPoint")] get; }
public TapoSession? Session { get; }
Expand Down Expand Up @@ -531,13 +532,6 @@ protected TapoSessionProtocolSelector() {}
public long RequestTimeMilliseconds { get; }
}

public readonly struct GetCurrentPowerResponse<TResult> : ITapoPassThroughResponse {
[JsonPropertyName("error_code")]
public int ErrorCode { get; init; }
[JsonPropertyName("result")]
public TResult Result { get; init; }
}

public readonly struct GetDeviceInfoRequest : ITapoPassThroughRequest {
[JsonPropertyName("method")]
[JsonPropertyOrder(0)]
Expand All @@ -546,13 +540,6 @@ protected TapoSessionProtocolSelector() {}
public long RequestTimeMilliseconds { get; }
}

public readonly struct GetDeviceInfoResponse<TResult> : ITapoPassThroughResponse {
[JsonPropertyName("error_code")]
public int ErrorCode { get; init; }
[JsonPropertyName("result")]
public TResult Result { get; init; }
}

public readonly struct GetDeviceUsageRequest : ITapoPassThroughRequest {
[JsonPropertyName("method")]
[JsonPropertyOrder(0)]
Expand All @@ -561,13 +548,6 @@ protected TapoSessionProtocolSelector() {}
public long RequestTimeMilliseconds { get; }
}

public readonly struct GetDeviceUsageResponse<TResult> : ITapoPassThroughResponse {
[JsonPropertyName("error_code")]
public int ErrorCode { get; init; }
[JsonPropertyName("result")]
public TResult Result { get; init; }
}

public readonly struct GetEnergyUsageRequest : ITapoPassThroughRequest {
[JsonPropertyName("method")]
[JsonPropertyOrder(0)]
Expand All @@ -576,13 +556,6 @@ protected TapoSessionProtocolSelector() {}
public long RequestTimeMilliseconds { get; }
}

public readonly struct GetEnergyUsageResponse<TResult> : ITapoPassThroughResponse {
[JsonPropertyName("error_code")]
public int ErrorCode { get; init; }
[JsonPropertyName("result")]
public TResult Result { get; init; }
}

public readonly struct HandshakeRequest : ITapoRequest {
public readonly struct RequestParameters {
[JsonPropertyName("key")]
Expand Down Expand Up @@ -636,6 +609,13 @@ public readonly struct ResponseResult {
public LoginDeviceResponse.ResponseResult Result { get; init; }
}

public readonly struct PassThroughResponse<TResult> : ITapoPassThroughResponse {
[JsonPropertyName("error_code")]
public int ErrorCode { get; init; }
[JsonPropertyName("result")]
public TResult Result { get; init; }
}

public readonly struct SecurePassThroughRequest<TPassThroughRequest> : ITapoRequest where TPassThroughRequest : notnull, ITapoPassThroughRequest {
public readonly struct RequestParams where TPassThroughRequest : notnull, ITapoPassThroughRequest {
[JsonPropertyName("request")]
Expand Down Expand Up @@ -678,13 +658,6 @@ public SetDeviceInfoRequest(string terminalUuid, TParameters parameters) {}
[JsonPropertyName("terminalUUID")]
public string TerminalUuid { get; }
}

public readonly struct SetDeviceInfoResponse<TResult> : ITapoPassThroughResponse {
[JsonPropertyName("error_code")]
public int ErrorCode { get; init; }
[JsonPropertyName("result")]
public TResult Result { get; init; }
}
}
// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.3.2.0.
// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.2.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Smdn.TPSmartHomeDevices.Tapo.dll (Smdn.TPSmartHomeDevices.Tapo-2.0.0-preview4)
// Smdn.TPSmartHomeDevices.Tapo.dll (Smdn.TPSmartHomeDevices.Tapo-2.0.0-preview5)
// Name: Smdn.TPSmartHomeDevices.Tapo
// AssemblyVersion: 2.0.0.0
// InformationalVersion: 2.0.0-preview4+d29dbb7e70fe6953f2864f5a4e35e63cca4b507a
// InformationalVersion: 2.0.0-preview5+841a75d6ea4ddf46fff7f06ee411eda75389c726
// TargetFramework: .NETCoreApp,Version=v8.0
// Configuration: Release
// Referenced assemblies:
Expand Down Expand Up @@ -155,6 +155,7 @@ protected TapoDevice(PhysicalAddress macAddress, string email, string password,
protected TapoDevice(string host, IServiceProvider serviceProvider) {}
protected TapoDevice(string host, string email, string password, IServiceProvider? serviceProvider) {}

public IDeviceEndPoint EndPoint { get; }
[MemberNotNullWhen(false, "deviceEndPoint")]
protected bool IsDisposed { [MemberNotNullWhen(false, "deviceEndPoint")] get; }
public TapoSession? Session { get; }
Expand Down Expand Up @@ -529,13 +530,6 @@ protected TapoSessionProtocolSelector() {}
public long RequestTimeMilliseconds { get; }
}

public readonly struct GetCurrentPowerResponse<TResult> : ITapoPassThroughResponse {
[JsonPropertyName("error_code")]
public int ErrorCode { get; init; }
[JsonPropertyName("result")]
public TResult Result { get; init; }
}

public readonly struct GetDeviceInfoRequest : ITapoPassThroughRequest {
[JsonPropertyName("method")]
[JsonPropertyOrder(0)]
Expand All @@ -544,13 +538,6 @@ protected TapoSessionProtocolSelector() {}
public long RequestTimeMilliseconds { get; }
}

public readonly struct GetDeviceInfoResponse<TResult> : ITapoPassThroughResponse {
[JsonPropertyName("error_code")]
public int ErrorCode { get; init; }
[JsonPropertyName("result")]
public TResult Result { get; init; }
}

public readonly struct GetDeviceUsageRequest : ITapoPassThroughRequest {
[JsonPropertyName("method")]
[JsonPropertyOrder(0)]
Expand All @@ -559,13 +546,6 @@ protected TapoSessionProtocolSelector() {}
public long RequestTimeMilliseconds { get; }
}

public readonly struct GetDeviceUsageResponse<TResult> : ITapoPassThroughResponse {
[JsonPropertyName("error_code")]
public int ErrorCode { get; init; }
[JsonPropertyName("result")]
public TResult Result { get; init; }
}

public readonly struct GetEnergyUsageRequest : ITapoPassThroughRequest {
[JsonPropertyName("method")]
[JsonPropertyOrder(0)]
Expand All @@ -574,13 +554,6 @@ protected TapoSessionProtocolSelector() {}
public long RequestTimeMilliseconds { get; }
}

public readonly struct GetEnergyUsageResponse<TResult> : ITapoPassThroughResponse {
[JsonPropertyName("error_code")]
public int ErrorCode { get; init; }
[JsonPropertyName("result")]
public TResult Result { get; init; }
}

public readonly struct HandshakeRequest : ITapoRequest {
public readonly struct RequestParameters {
[JsonPropertyName("key")]
Expand Down Expand Up @@ -634,6 +607,13 @@ public readonly struct ResponseResult {
public LoginDeviceResponse.ResponseResult Result { get; init; }
}

public readonly struct PassThroughResponse<TResult> : ITapoPassThroughResponse {
[JsonPropertyName("error_code")]
public int ErrorCode { get; init; }
[JsonPropertyName("result")]
public TResult Result { get; init; }
}

public readonly struct SecurePassThroughRequest<TPassThroughRequest> : ITapoRequest where TPassThroughRequest : notnull, ITapoPassThroughRequest {
public readonly struct RequestParams where TPassThroughRequest : notnull, ITapoPassThroughRequest {
[JsonPropertyName("request")]
Expand Down Expand Up @@ -676,13 +656,6 @@ public SetDeviceInfoRequest(string terminalUuid, TParameters parameters) {}
[JsonPropertyName("terminalUUID")]
public string TerminalUuid { get; }
}

public readonly struct SetDeviceInfoResponse<TResult> : ITapoPassThroughResponse {
[JsonPropertyName("error_code")]
public int ErrorCode { get; init; }
[JsonPropertyName("result")]
public TResult Result { get; init; }
}
}
// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.3.2.0.
// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.2.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Smdn.TPSmartHomeDevices.Tapo.dll (Smdn.TPSmartHomeDevices.Tapo-2.0.0-preview4)
// Smdn.TPSmartHomeDevices.Tapo.dll (Smdn.TPSmartHomeDevices.Tapo-2.0.0-preview5)
// Name: Smdn.TPSmartHomeDevices.Tapo
// AssemblyVersion: 2.0.0.0
// InformationalVersion: 2.0.0-preview4+d29dbb7e70fe6953f2864f5a4e35e63cca4b507a
// InformationalVersion: 2.0.0-preview5+841a75d6ea4ddf46fff7f06ee411eda75389c726
// TargetFramework: .NETStandard,Version=v2.1
// Configuration: Release
// Referenced assemblies:
Expand Down Expand Up @@ -146,6 +146,7 @@ protected TapoDevice(PhysicalAddress macAddress, string email, string password,
protected TapoDevice(string host, IServiceProvider serviceProvider) {}
protected TapoDevice(string host, string email, string password, IServiceProvider? serviceProvider) {}

public IDeviceEndPoint EndPoint { get; }
protected bool IsDisposed { get; }
public TapoSession? Session { get; }
public string TerminalUuidString { get; }
Expand Down Expand Up @@ -519,13 +520,6 @@ protected TapoSessionProtocolSelector() {}
public long RequestTimeMilliseconds { get; }
}

public readonly struct GetCurrentPowerResponse<TResult> : ITapoPassThroughResponse {
[JsonPropertyName("error_code")]
public int ErrorCode { get; init; }
[JsonPropertyName("result")]
public TResult Result { get; init; }
}

public readonly struct GetDeviceInfoRequest : ITapoPassThroughRequest {
[JsonPropertyName("method")]
[JsonPropertyOrder(0)]
Expand All @@ -534,13 +528,6 @@ protected TapoSessionProtocolSelector() {}
public long RequestTimeMilliseconds { get; }
}

public readonly struct GetDeviceInfoResponse<TResult> : ITapoPassThroughResponse {
[JsonPropertyName("error_code")]
public int ErrorCode { get; init; }
[JsonPropertyName("result")]
public TResult Result { get; init; }
}

public readonly struct GetDeviceUsageRequest : ITapoPassThroughRequest {
[JsonPropertyName("method")]
[JsonPropertyOrder(0)]
Expand All @@ -549,13 +536,6 @@ protected TapoSessionProtocolSelector() {}
public long RequestTimeMilliseconds { get; }
}

public readonly struct GetDeviceUsageResponse<TResult> : ITapoPassThroughResponse {
[JsonPropertyName("error_code")]
public int ErrorCode { get; init; }
[JsonPropertyName("result")]
public TResult Result { get; init; }
}

public readonly struct GetEnergyUsageRequest : ITapoPassThroughRequest {
[JsonPropertyName("method")]
[JsonPropertyOrder(0)]
Expand All @@ -564,13 +544,6 @@ protected TapoSessionProtocolSelector() {}
public long RequestTimeMilliseconds { get; }
}

public readonly struct GetEnergyUsageResponse<TResult> : ITapoPassThroughResponse {
[JsonPropertyName("error_code")]
public int ErrorCode { get; init; }
[JsonPropertyName("result")]
public TResult Result { get; init; }
}

public readonly struct HandshakeRequest : ITapoRequest {
public readonly struct RequestParameters {
[JsonPropertyName("key")]
Expand Down Expand Up @@ -624,6 +597,13 @@ public readonly struct ResponseResult {
public LoginDeviceResponse.ResponseResult Result { get; init; }
}

public readonly struct PassThroughResponse<TResult> : ITapoPassThroughResponse {
[JsonPropertyName("error_code")]
public int ErrorCode { get; init; }
[JsonPropertyName("result")]
public TResult Result { get; init; }
}

public readonly struct SecurePassThroughRequest<TPassThroughRequest> : ITapoRequest where TPassThroughRequest : notnull, ITapoPassThroughRequest {
public readonly struct RequestParams where TPassThroughRequest : notnull, ITapoPassThroughRequest {
[JsonPropertyName("request")]
Expand Down Expand Up @@ -666,13 +646,6 @@ public SetDeviceInfoRequest(string terminalUuid, TParameters parameters) {}
[JsonPropertyName("terminalUUID")]
public string TerminalUuid { get; }
}

public readonly struct SetDeviceInfoResponse<TResult> : ITapoPassThroughResponse {
[JsonPropertyName("error_code")]
public int ErrorCode { get; init; }
[JsonPropertyName("result")]
public TResult Result { get; init; }
}
}
// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.3.2.0.
// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.2.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)

0 comments on commit 8352186

Please sign in to comment.