Class PostResponse


  • public class PostResponse
    extends org.springframework.hateoas.EntityModel<PostDetailDto>
    게시글 상세 응답.
    Version:
    1.0
    Author:
    always0ne
    • Constructor Summary

      Constructors 
      Constructor Description
      PostResponse​(PostDetailDto post, java.lang.Long postId, 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

      • PostResponse

        public PostResponse​(PostDetailDto post,
                            java.lang.Long postId,
                            org.springframework.hateoas.Link... links)
        게시글 상세 응답. self Link, APIDocs Link
        Parameters:
        post - 게시글 데이터
        postId - 게시글 ID
        links - 추가 링크