2 * API ServiceOrder serviceOrder API designed for ONAP Beijing Release. This API is build from TMF
3 * open API16.5 + applied TMF guideline 3.0
5 * OpenAPI spec version: 0.1.1_inProgress
8 * NOTE: This class is auto generated by the swagger code generator program.
9 * https://github.com/swagger-api/swagger-codegen.git Do not edit the class manually.
11 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
12 * in compliance with the License. You may obtain a copy of the License at
14 * http://www.apache.org/licenses/LICENSE-2.0
16 * Unless required by applicable law or agreed to in writing, software distributed under the License
17 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
18 * or implied. See the License for the specific language governing permissions and limitations under
23 package org.onap.nbi.apis.serviceorder.model;
25 import com.fasterxml.jackson.annotation.JsonFormat;
26 import com.fasterxml.jackson.annotation.JsonProperty;
27 import io.swagger.annotations.ApiModel;
28 import io.swagger.annotations.ApiModelProperty;
29 import java.util.Date;
30 import java.util.Objects;
33 * Extra-information about the order (e.g. useful to add extra delivery information that could be
34 * useful for a human process
37 description = "Extra-information about the order (e.g. useful to add extra delivery information that could be useful for a human process")
38 @javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen",
39 date = "2018-02-19T14:00:30.767Z")
42 private Date date = null;
44 @JsonProperty("author")
45 private String author = null;
48 private String text = null;
50 public Note date(Date date) {
61 @ApiModelProperty(value = "Date of the note")
62 @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
63 public Date getDate() {
67 public void setDate(Date date) {
71 public Note author(String author) {
81 @JsonProperty("author")
82 @ApiModelProperty(value = "Author of the note")
83 public String getAuthor() {
87 public void setAuthor(String author) {
91 public Note text(String text) {
101 @JsonProperty("text")
102 @ApiModelProperty(value = "Text of the note")
103 public String getText() {
107 public void setText(String text) {
113 public boolean equals(java.lang.Object o) {
117 if (o == null || getClass() != o.getClass()) {
120 Note note = (Note) o;
121 return Objects.equals(this.date, note.date) && Objects.equals(this.author, note.author)
122 && Objects.equals(this.text, note.text);
126 public int hashCode() {
127 return Objects.hash(date, author, text);
132 public String toString() {
133 StringBuilder sb = new StringBuilder();
134 sb.append("class Note {\n");
136 sb.append(" date: ").append(toIndentedString(date)).append("\n");
137 sb.append(" author: ").append(toIndentedString(author)).append("\n");
138 sb.append(" text: ").append(toIndentedString(text)).append("\n");
140 return sb.toString();
144 * Convert the given object to string with each line indented by 4 spaces (except the first
147 private String toIndentedString(java.lang.Object o) {
151 return o.toString().replace("\n", "\n ");