Loading src/main/java/org/etsi/osl/tmf/am651/model/Agreement.java +1 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import org.etsi.osl.tmf.common.model.TimePeriod; import org.etsi.osl.tmf.common.model.service.Characteristic; import org.springframework.validation.annotation.Validated; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.Valid; Loading src/main/java/org/etsi/osl/tmf/am651/model/AgreementCreate.java +1 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import org.etsi.osl.tmf.common.model.TimePeriod; import org.etsi.osl.tmf.common.model.service.Characteristic; import org.springframework.validation.annotation.Validated; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.Valid; Loading src/main/java/org/etsi/osl/tmf/am651/model/AgreementUpdate.java +1 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import org.etsi.osl.tmf.common.model.TimePeriod; import org.etsi.osl.tmf.common.model.service.Characteristic; import org.springframework.validation.annotation.Validated; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.Valid; Loading src/main/java/org/etsi/osl/tmf/am651/model/Characteristic.javadeleted 100644 → 0 +0 −175 Original line number Diff line number Diff line /*- * ========================LICENSE_START================================= * org.etsi.osl.tmf.api * %% * Copyright (C) 2019 openslice.io * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * =========================LICENSE_END================================== */ package org.etsi.osl.tmf.am651.model; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import org.springframework.validation.annotation.Validated; import io.swagger.v3.oas.annotations.media.Schema; /** * Describes a given characteristic of an object or entity through a name/value pair. */ @Schema(description = "Describes a given characteristic of an object or entity through a name/value pair.") @Validated @jakarta.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2019-10-19T23:51:58.660+03:00") public class Characteristic { @JsonProperty("name") private String name = null; @JsonProperty("value") private String value = null; @JsonProperty("@type") private String type = null; @JsonProperty("@schemaLocation") private String schemaLocation = null; public Characteristic name(String name) { this.name = name; return this; } /** * Name of the characteristic * @return name **/ @Schema(description = "Name of the characteristic") public String getName() { return name; } public void setName(String name) { this.name = name; } public Characteristic value(String value) { this.value = value; return this; } /** * Value of the characteristic * @return value **/ @Schema(description = "Value of the characteristic") public String getValue() { return value; } public void setValue(String value) { this.value = value; } public Characteristic type(String type) { this.type = type; return this; } /** * The class type of the actual resource (for type extension). * @return type **/ @Schema(description = "The class type of the actual resource (for type extension).") public String getType() { return type; } public void setType(String type) { this.type = type; } public Characteristic schemaLocation(String schemaLocation) { this.schemaLocation = schemaLocation; return this; } /** * A link to the schema describing a resource (for type extension). * @return schemaLocation **/ @Schema(description = "A link to the schema describing a resource (for type extension).") public String getSchemaLocation() { return schemaLocation; } public void setSchemaLocation(String schemaLocation) { this.schemaLocation = schemaLocation; } @Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Characteristic characteristic = (Characteristic) o; return Objects.equals(this.name, characteristic.name) && Objects.equals(this.value, characteristic.value) && Objects.equals(this.type, characteristic.type) && Objects.equals(this.schemaLocation, characteristic.schemaLocation); } @Override public int hashCode() { return Objects.hash(name, value, type, schemaLocation); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Characteristic {\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n"); sb.append("}"); return sb.toString(); } /** * Convert the given object to string with each line indented by 4 spaces * (except the first line). */ private String toIndentedString(java.lang.Object o) { if (o == null) { return "null"; } return o.toString().replace("\n", "\n "); } } src/main/java/org/etsi/osl/tmf/pim637/model/BillingAccountRef.java 0 → 100644 +229 −0 Original line number Diff line number Diff line package org.etsi.osl.tmf.pim637.model; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import org.springframework.validation.annotation.Validated; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotNull; /** * BillingAccount reference. A BillingAccount is a detailed description of a bill structure. */ @Schema(description = "BillingAccount reference. A BillingAccount is a detailed description of a bill structure.") @Validated @jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2024-08-04T00:27:07.324017400+03:00[Europe/Athens]") public class BillingAccountRef { @JsonProperty("id") private String id = null; @JsonProperty("href") private String href = null; @JsonProperty("name") private String name = null; @JsonProperty("@baseType") private String _atBaseType = null; @JsonProperty("@schemaLocation") private String _atSchemaLocation = null; @JsonProperty("@type") private String _atType = null; @JsonProperty("@referredType") private String _atReferredType = null; public BillingAccountRef id(String id) { this.id = id; return this; } /** * Unique identifier of the billing account * @return id **/ @Schema(required = true, description = "Unique identifier of the billing account") @NotNull public String getId() { return id; } public void setId(String id) { this.id = id; } public BillingAccountRef href(String href) { this.href = href; return this; } /** * Reference of the billing account * @return href **/ @Schema(description = "Reference of the billing account") @NotNull public String getHref() { return href; } public void setHref(String href) { this.href = href; } public BillingAccountRef name(String name) { this.name = name; return this; } /** * Name of the billing account * @return name **/ @Schema(description = "Name of the billing account") @NotNull public String getName() { return name; } public void setName(String name) { this.name = name; } public BillingAccountRef _atBaseType(String _atBaseType) { this._atBaseType = _atBaseType; return this; } /** * When sub-classing, this defines the super-class * @return _atBaseType **/ @Schema(description = "When sub-classing, this defines the super-class") @NotNull public String getAtBaseType() { return _atBaseType; } public void setAtBaseType(String _atBaseType) { this._atBaseType = _atBaseType; } public BillingAccountRef _atSchemaLocation(String _atSchemaLocation) { this._atSchemaLocation = _atSchemaLocation; return this; } /** * A URI to a JSON-Schema file that defines additional attributes and relationships * @return _atSchemaLocation **/ @Schema(description = "A URI to a JSON-Schema file that defines additional attributes and relationships") @NotNull public String getAtSchemaLocation() { return _atSchemaLocation; } public void setAtSchemaLocation(String _atSchemaLocation) { this._atSchemaLocation = _atSchemaLocation; } public BillingAccountRef _atType(String _atType) { this._atType = _atType; return this; } /** * When sub-classing, this defines the sub-class entity name * @return _atType **/ @Schema(description = "When sub-classing, this defines the sub-class entity name") @NotNull public String getAtType() { return _atType; } public void setAtType(String _atType) { this._atType = _atType; } public BillingAccountRef _atReferredType(String _atReferredType) { this._atReferredType = _atReferredType; return this; } /** * The actual type of the target instance when needed for disambiguation. * @return _atReferredType **/ @Schema(description = "The actual type of the target instance when needed for disambiguation.") @NotNull public String getAtReferredType() { return _atReferredType; } public void setAtReferredType(String _atReferredType) { this._atReferredType = _atReferredType; } @Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } BillingAccountRef billingAccountRef = (BillingAccountRef) o; return Objects.equals(this.id, billingAccountRef.id) && Objects.equals(this.href, billingAccountRef.href) && Objects.equals(this.name, billingAccountRef.name) && Objects.equals(this._atBaseType, billingAccountRef._atBaseType) && Objects.equals(this._atSchemaLocation, billingAccountRef._atSchemaLocation) && Objects.equals(this._atType, billingAccountRef._atType) && Objects.equals(this._atReferredType, billingAccountRef._atReferredType); } @Override public int hashCode() { return Objects.hash(id, href, name, _atBaseType, _atSchemaLocation, _atType, _atReferredType); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class BillingAccountRef {\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" _atBaseType: ").append(toIndentedString(_atBaseType)).append("\n"); sb.append(" _atSchemaLocation: ").append(toIndentedString(_atSchemaLocation)).append("\n"); sb.append(" _atType: ").append(toIndentedString(_atType)).append("\n"); sb.append(" _atReferredType: ").append(toIndentedString(_atReferredType)).append("\n"); sb.append("}"); return sb.toString(); } /** * Convert the given object to string with each line indented by 4 spaces * (except the first line). */ private String toIndentedString(java.lang.Object o) { if (o == null) { return "null"; } return o.toString().replace("\n", "\n "); } } Loading
src/main/java/org/etsi/osl/tmf/am651/model/Agreement.java +1 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import org.etsi.osl.tmf.common.model.TimePeriod; import org.etsi.osl.tmf.common.model.service.Characteristic; import org.springframework.validation.annotation.Validated; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.Valid; Loading
src/main/java/org/etsi/osl/tmf/am651/model/AgreementCreate.java +1 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import org.etsi.osl.tmf.common.model.TimePeriod; import org.etsi.osl.tmf.common.model.service.Characteristic; import org.springframework.validation.annotation.Validated; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.Valid; Loading
src/main/java/org/etsi/osl/tmf/am651/model/AgreementUpdate.java +1 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import org.etsi.osl.tmf.common.model.TimePeriod; import org.etsi.osl.tmf.common.model.service.Characteristic; import org.springframework.validation.annotation.Validated; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.Valid; Loading
src/main/java/org/etsi/osl/tmf/am651/model/Characteristic.javadeleted 100644 → 0 +0 −175 Original line number Diff line number Diff line /*- * ========================LICENSE_START================================= * org.etsi.osl.tmf.api * %% * Copyright (C) 2019 openslice.io * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * =========================LICENSE_END================================== */ package org.etsi.osl.tmf.am651.model; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import org.springframework.validation.annotation.Validated; import io.swagger.v3.oas.annotations.media.Schema; /** * Describes a given characteristic of an object or entity through a name/value pair. */ @Schema(description = "Describes a given characteristic of an object or entity through a name/value pair.") @Validated @jakarta.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2019-10-19T23:51:58.660+03:00") public class Characteristic { @JsonProperty("name") private String name = null; @JsonProperty("value") private String value = null; @JsonProperty("@type") private String type = null; @JsonProperty("@schemaLocation") private String schemaLocation = null; public Characteristic name(String name) { this.name = name; return this; } /** * Name of the characteristic * @return name **/ @Schema(description = "Name of the characteristic") public String getName() { return name; } public void setName(String name) { this.name = name; } public Characteristic value(String value) { this.value = value; return this; } /** * Value of the characteristic * @return value **/ @Schema(description = "Value of the characteristic") public String getValue() { return value; } public void setValue(String value) { this.value = value; } public Characteristic type(String type) { this.type = type; return this; } /** * The class type of the actual resource (for type extension). * @return type **/ @Schema(description = "The class type of the actual resource (for type extension).") public String getType() { return type; } public void setType(String type) { this.type = type; } public Characteristic schemaLocation(String schemaLocation) { this.schemaLocation = schemaLocation; return this; } /** * A link to the schema describing a resource (for type extension). * @return schemaLocation **/ @Schema(description = "A link to the schema describing a resource (for type extension).") public String getSchemaLocation() { return schemaLocation; } public void setSchemaLocation(String schemaLocation) { this.schemaLocation = schemaLocation; } @Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Characteristic characteristic = (Characteristic) o; return Objects.equals(this.name, characteristic.name) && Objects.equals(this.value, characteristic.value) && Objects.equals(this.type, characteristic.type) && Objects.equals(this.schemaLocation, characteristic.schemaLocation); } @Override public int hashCode() { return Objects.hash(name, value, type, schemaLocation); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Characteristic {\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" schemaLocation: ").append(toIndentedString(schemaLocation)).append("\n"); sb.append("}"); return sb.toString(); } /** * Convert the given object to string with each line indented by 4 spaces * (except the first line). */ private String toIndentedString(java.lang.Object o) { if (o == null) { return "null"; } return o.toString().replace("\n", "\n "); } }
src/main/java/org/etsi/osl/tmf/pim637/model/BillingAccountRef.java 0 → 100644 +229 −0 Original line number Diff line number Diff line package org.etsi.osl.tmf.pim637.model; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import org.springframework.validation.annotation.Validated; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotNull; /** * BillingAccount reference. A BillingAccount is a detailed description of a bill structure. */ @Schema(description = "BillingAccount reference. A BillingAccount is a detailed description of a bill structure.") @Validated @jakarta.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2024-08-04T00:27:07.324017400+03:00[Europe/Athens]") public class BillingAccountRef { @JsonProperty("id") private String id = null; @JsonProperty("href") private String href = null; @JsonProperty("name") private String name = null; @JsonProperty("@baseType") private String _atBaseType = null; @JsonProperty("@schemaLocation") private String _atSchemaLocation = null; @JsonProperty("@type") private String _atType = null; @JsonProperty("@referredType") private String _atReferredType = null; public BillingAccountRef id(String id) { this.id = id; return this; } /** * Unique identifier of the billing account * @return id **/ @Schema(required = true, description = "Unique identifier of the billing account") @NotNull public String getId() { return id; } public void setId(String id) { this.id = id; } public BillingAccountRef href(String href) { this.href = href; return this; } /** * Reference of the billing account * @return href **/ @Schema(description = "Reference of the billing account") @NotNull public String getHref() { return href; } public void setHref(String href) { this.href = href; } public BillingAccountRef name(String name) { this.name = name; return this; } /** * Name of the billing account * @return name **/ @Schema(description = "Name of the billing account") @NotNull public String getName() { return name; } public void setName(String name) { this.name = name; } public BillingAccountRef _atBaseType(String _atBaseType) { this._atBaseType = _atBaseType; return this; } /** * When sub-classing, this defines the super-class * @return _atBaseType **/ @Schema(description = "When sub-classing, this defines the super-class") @NotNull public String getAtBaseType() { return _atBaseType; } public void setAtBaseType(String _atBaseType) { this._atBaseType = _atBaseType; } public BillingAccountRef _atSchemaLocation(String _atSchemaLocation) { this._atSchemaLocation = _atSchemaLocation; return this; } /** * A URI to a JSON-Schema file that defines additional attributes and relationships * @return _atSchemaLocation **/ @Schema(description = "A URI to a JSON-Schema file that defines additional attributes and relationships") @NotNull public String getAtSchemaLocation() { return _atSchemaLocation; } public void setAtSchemaLocation(String _atSchemaLocation) { this._atSchemaLocation = _atSchemaLocation; } public BillingAccountRef _atType(String _atType) { this._atType = _atType; return this; } /** * When sub-classing, this defines the sub-class entity name * @return _atType **/ @Schema(description = "When sub-classing, this defines the sub-class entity name") @NotNull public String getAtType() { return _atType; } public void setAtType(String _atType) { this._atType = _atType; } public BillingAccountRef _atReferredType(String _atReferredType) { this._atReferredType = _atReferredType; return this; } /** * The actual type of the target instance when needed for disambiguation. * @return _atReferredType **/ @Schema(description = "The actual type of the target instance when needed for disambiguation.") @NotNull public String getAtReferredType() { return _atReferredType; } public void setAtReferredType(String _atReferredType) { this._atReferredType = _atReferredType; } @Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } BillingAccountRef billingAccountRef = (BillingAccountRef) o; return Objects.equals(this.id, billingAccountRef.id) && Objects.equals(this.href, billingAccountRef.href) && Objects.equals(this.name, billingAccountRef.name) && Objects.equals(this._atBaseType, billingAccountRef._atBaseType) && Objects.equals(this._atSchemaLocation, billingAccountRef._atSchemaLocation) && Objects.equals(this._atType, billingAccountRef._atType) && Objects.equals(this._atReferredType, billingAccountRef._atReferredType); } @Override public int hashCode() { return Objects.hash(id, href, name, _atBaseType, _atSchemaLocation, _atType, _atReferredType); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class BillingAccountRef {\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" _atBaseType: ").append(toIndentedString(_atBaseType)).append("\n"); sb.append(" _atSchemaLocation: ").append(toIndentedString(_atSchemaLocation)).append("\n"); sb.append(" _atType: ").append(toIndentedString(_atType)).append("\n"); sb.append(" _atReferredType: ").append(toIndentedString(_atReferredType)).append("\n"); sb.append("}"); return sb.toString(); } /** * Convert the given object to string with each line indented by 4 spaces * (except the first line). */ private String toIndentedString(java.lang.Object o) { if (o == null) { return "null"; } return o.toString().replace("\n", "\n "); } }