Class PostsResponse


  • public class PostsResponse
    extends org.springframework.hateoas.EntityModel<PostsDto>
    게시글 리스트 응답.
    Version:
    1.0
    Author:
    always0ne
    • Constructor Summary

      Constructors 
      Constructor Description
      PostsResponse​(PostsDto post, org.springframework.hateoas.Link... links)
      게시글 리스트 응답.
    • Method Summary

      • Methods inherited from class org.springframework.hateoas.EntityModel

        equals, getContent, hashCode, toString
      • Methods inherited from class org.springframework.hateoas.RepresentationModel

        add, add, add, addAllIf, addIf, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hasLink, hasLink, hasLinks, removeLinks
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PostsResponse

        public PostsResponse​(PostsDto post,
                             org.springframework.hateoas.Link... links)
        게시글 리스트 응답. self Link, APIDocs Link
        Parameters:
        post - 게시글 데이터
        links - 추가 링크