Package com.weebkun.github
Class Branch.Protection.UpdateAdapter
java.lang.Object
com.weebkun.github.Branch.Protection.UpdateAdapter
- Enclosing class:
- Branch.Protection
public static class Branch.Protection.UpdateAdapter
extends java.lang.Object
moshi adapter to parse a protection object to update
-
Constructor Summary
Constructors Constructor Description UpdateAdapter()
-
Method Summary
Modifier and Type Method Description com.weebkun.github.Branch.Protection.UpdateAdapter.ProtectionJson
toJson(Branch.Protection protection)
com.weebkun.github.Branch.Protection.UpdateAdapter.ProtectionJson.RequiredPullRequestReviews
toJson(Branch.Protection.RequiredPullRequestReviews requiredPullRequestReviews)
-
Constructor Details
-
UpdateAdapter
public UpdateAdapter()
-
-
Method Details
-
toJson
public com.weebkun.github.Branch.Protection.UpdateAdapter.ProtectionJson.RequiredPullRequestReviews toJson(Branch.Protection.RequiredPullRequestReviews requiredPullRequestReviews) -
toJson
public com.weebkun.github.Branch.Protection.UpdateAdapter.ProtectionJson toJson(Branch.Protection protection)
-