* the License.
*/
-
package org.onap.nbi.apis.serviceorder.model;
import com.fasterxml.jackson.annotation.JsonProperty;
* Linked order item to the one containing this attribute
*/
@ApiModel(description = "Linked order item to the one containing this attribute")
-@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaJerseyServerCodegen",
+@javax.annotation.Generated(
+ value = "io.swagger.codegen.languages.JavaJerseyServerCodegen",
date = "2018-02-19T14:00:30.767Z")
public class OrderItemRelationship {
@JsonProperty("type")
* @return type
**/
@JsonProperty("type")
- @ApiModelProperty(required = true,
+ @ApiModelProperty(
+ required = true,
value = "The type of related order item, can be : dependancy if the order item needs to be “not started” until another order item is complete")
@NotNull(message = "RelationshipType type cannot be null")
public RelationshipType getType() {
@JsonProperty("id")
@ApiModelProperty(required = true, value = "Unique identifier of an order item")
@NotNull(message = "RelationshipType id cannot be null")
- @Pattern(regexp="^(?!\\s*$).+", message="RelationshipType id cannot be empty")
+ @Pattern(regexp = "^(?!\\s*$).+", message = "RelationshipType id cannot be empty")
public String getId() {
return id;
}
this.id = id;
}
-
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return Objects.hash(type, id);
}
-
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
return o.toString().replace("\n", "\n ");
}
}
-