-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #729 from xlegalles/CleanUpCode1
Reformat Client/API: use file-scope namespace and primary constructor
- Loading branch information
Showing
12 changed files
with
556 additions
and
570 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
namespace Zeebe.Client.Api.Responses | ||
{ | ||
/// <summary> | ||
/// Response for publishing a message. | ||
/// </summary> | ||
public interface IPublishMessageResponse | ||
{ | ||
} | ||
} | ||
namespace Zeebe.Client.Api.Responses; | ||
|
||
/// <summary> | ||
/// Response for publishing a message. | ||
/// </summary> | ||
public interface IPublishMessageResponse; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
namespace Zeebe.Client.Api.Responses | ||
{ | ||
/// <summary> | ||
/// Response for an resolve incident request. | ||
/// </summary> | ||
public interface IResolveIncidentResponse | ||
{ | ||
} | ||
} | ||
namespace Zeebe.Client.Api.Responses; | ||
|
||
/// <summary> | ||
/// Response for an resolve incident request. | ||
/// </summary> | ||
public interface IResolveIncidentResponse; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
namespace Zeebe.Client.Api.Responses | ||
namespace Zeebe.Client.Api.Responses; | ||
|
||
/// <summary> | ||
/// Response for an set variables request. | ||
/// </summary> | ||
public interface ISetVariablesResponse | ||
{ | ||
/// <summary> | ||
/// Response for an set variables request. | ||
/// </summary> | ||
public interface ISetVariablesResponse | ||
{ | ||
/// <returns> The unique key of the command</returns> | ||
long Key { get; } | ||
} | ||
/// <returns> The unique key of the command</returns> | ||
long Key { get; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
namespace Zeebe.Client.Api.Responses | ||
{ | ||
/// <summary> | ||
/// Response for an throw error request. | ||
/// </summary> | ||
public interface IThrowErrorResponse | ||
{ | ||
} | ||
} | ||
namespace Zeebe.Client.Api.Responses; | ||
|
||
/// <summary> | ||
/// Response for an throw error request. | ||
/// </summary> | ||
public interface IThrowErrorResponse; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
namespace Zeebe.Client.Api.Responses | ||
{ | ||
/// <summary> | ||
/// Response for an update job timeout request. | ||
/// </summary> | ||
public interface IUpdateJobTimeoutResponse | ||
{ | ||
} | ||
} | ||
namespace Zeebe.Client.Api.Responses; | ||
|
||
/// <summary> | ||
/// Response for an update job timeout request. | ||
/// </summary> | ||
public interface IUpdateJobTimeoutResponse; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
namespace Zeebe.Client.Api.Responses | ||
namespace Zeebe.Client.Api.Responses; | ||
|
||
/// <summary> | ||
/// Response for an update retries request. | ||
/// </summary> | ||
public interface IUpdateRetriesResponse | ||
{ | ||
/// <summary> | ||
/// Response for an update retries request. | ||
/// </summary> | ||
public interface IUpdateRetriesResponse | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.