mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-11 16:13:01 +00:00
#631 - Partial Response : Get video details by id.
This commit is contained in:
1 parent
5828ef9dd1
commit
f38119c565
4 files changed
+99
-1
No files matched your search
@@ -52,4 +52,16 @@ public class Video {
|
||||
this.publisher = publisher;
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Video{" +
|
||||
"id='" + id + '\'' +
|
||||
", title='" + title + '\'' +
|
||||
", length=" + length +
|
||||
", description='" + description + '\'' +
|
||||
", publisher='" + publisher + '\'' +
|
||||
", status='" + status + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user