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)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait