"WeakerAccess" }) public final class GetPhotoList { public static final String method = "GET"; public static final String url = "/photos"; public static final class Param<R> extends AbstractBuilder<R> { public Param(……) { …… } @Nonnull public GetPhotoList.Param<R> q(@Nonnull String value) { …… } @Nonnull public GetPhotoList.Param<R> page(@Nullable Integer value) { …… } } public static final class Response extends AbstractComposite { @Nullable public final List<GetPhotoList.Photo> photos; public final int totalCount; @Keep public Response(@Nonnull AttributeMap map) { …… } } public static final class Photo extends AbstractComposite { public final int id; @Nonnull public final String url; @Keep public Photo(@Nonnull AttributeMap map) { …… } } }
"WeakerAccess" }) public final class GetPhotoList { public static final String method = "GET"; public static final String url = "/photos"; public static final class Param<R> extends AbstractBuilder<R> { public Param(……) { …… } @Nonnull public GetPhotoList.Param<R> q(@Nonnull String value) { …… } @Nonnull public GetPhotoList.Param<R> page(@Nullable Integer value) { …… } } public static final class Response extends AbstractComposite { @Nullable public final List<GetPhotoList.Photo> photos; public final int totalCount; @Keep public Response(@Nonnull AttributeMap map) { …… } } public static final class Photo extends AbstractComposite { public final int id; @Nonnull public final String url; @Keep public Photo(@Nonnull AttributeMap map) { …… } } }
"WeakerAccess" }) public final class GetPhotoList { public static final String method = "GET"; public static final String url = "/photos"; public static final class Param<R> extends AbstractBuilder<R> { public Param(……) { …… } @Nonnull public GetPhotoList.Param<R> q(@Nonnull String value) { …… } @Nonnull public GetPhotoList.Param<R> page(@Nullable Integer value) { …… } } public static final class Response extends AbstractComposite { @Nullable public final List<GetPhotoList.Photo> photos; public final int totalCount; @Keep public Response(@Nonnull AttributeMap map) { …… } } public static final class Photo extends AbstractComposite { public final int id; @Nonnull public final String url; @Keep public Photo(@Nonnull AttributeMap map) { …… } } }