* the License.
*/
-
package org.onap.nbi.apis.serviceorder.model;
import com.fasterxml.jackson.annotation.JsonProperty;
* A related party defines party which are involved in this order and the role they are playing
*/
@ApiModel(description = "A related party defines party which are involved in this order and the role they are playing")
-@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 RelatedParty {
@JsonProperty("id")
@JsonProperty("id")
@ApiModelProperty(required = true, value = "Unique identifier of a related party")
@NotNull(message = "RelatedParty Id cannot be null")
- @Pattern(regexp="^(?!\\s*$).+", message="RelatedParty Id cannot be empty")
+ @Pattern(regexp = "^(?!\\s*$).+", message = "RelatedParty Id cannot be empty")
public String getId() {
return id;
}
@JsonProperty("role")
@ApiModelProperty(required = true, value = "The role of the related party (e.g. Owner, requester, fullfiller etc)")
@NotNull(message = "RelatedParty role cannot be null")
- @Pattern(regexp="^(?!\\s*$).+", message="RelatedParty role cannot be empty")
+ @Pattern(regexp = "^(?!\\s*$).+", message = "RelatedParty role cannot be empty")
public String getRole() {
return role;
}
this.referredType = referredType;
}
-
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return Objects.hash(id, href, role, name, referredType);
}
-
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
return o.toString().replace("\n", "\n ");
}
}
-