package com.linecorp.bot.model.profile;

import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Value;

/*

{
  "requestId": "1231feaadc...",git
  "profiles": [
    {
      "displayName":"BOT API",
      "userId":"U0047556f2e40dba2456887320ba7c76d",
      "pictureUrl":"http://dl.profile.line.naver.jp/abcdefghijklmn",
      "statusMessage":"Hello, LINE!"
    },
    ...
  ]
}

 */
@Value
public class UserProfileResponse {
    private final String requestId;
    private final String displayName;
    private final String userId;
    private final String pictureUrl;
    private final String statusMessage;

    public UserProfileResponse(
            @JsonProperty("requestId") String requestId,
            @JsonProperty("displayName") String displayName,
            @JsonProperty("userId") String userId,
            @JsonProperty("pictureUrl") String pictureUrl,
            @JsonProperty("statusMessage") String statusMessage) {
        this.requestId = requestId;
        this.displayName = displayName;
        this.userId = userId;
        this.pictureUrl = pictureUrl;
        this.statusMessage = statusMessage;
    }
}

@@ -115,286 +115,8 @@
 e;%0A%0A
-/*%0A%0A%7B%0A  %22requestId%22: %221231feaadc...%22,git%0A  %22profiles%22: %5B%0A    %7B%0A      %22displayName%22:%22BOT API%22,%0A      %22userId%22:%22U0047556f2e40dba2456887320ba7c76d%22,%0A      %22pictureUrl%22:%22http://dl.profile.line.naver.jp/abcdefghijklmn%22,%0A      %22statusMessage%22:%22Hello, LINE!%22%0A    %7D,%0A    ...%0A  %5D%0A%7D%0A%0A */%0A
 @Val

remove useless comment