-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1945 from aml-org/publish-5.4.9
W-14875427 Publish 5.4.9
- Loading branch information
Showing
161 changed files
with
6,389 additions
and
407 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
...icontract/client/platform/model/domain/bindings/anypointmq/AnypointMQChannelBinding.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package amf.apicontract.client.platform.model.domain.bindings.anypointmq | ||
|
||
import amf.apicontract.client.platform.model.domain.bindings.{BindingVersion, ChannelBinding} | ||
import amf.core.client.platform.model | ||
import amf.apicontract.client.scala.model.domain.bindings.anypointmq.{ | ||
AnypointMQChannelBinding => InternalAnypointMQChannelBinding | ||
} | ||
import amf.core.client.platform.model.StrField | ||
import amf.apicontract.internal.convert.ApiClientConverters._ | ||
import scala.scalajs.js.annotation.{JSExportAll, JSExportTopLevel} | ||
|
||
@JSExportAll | ||
case class AnypointMQChannelBinding(override private[amf] val _internal: InternalAnypointMQChannelBinding) | ||
extends ChannelBinding | ||
with BindingVersion { | ||
@JSExportTopLevel("AnypointMQChannelBinding") | ||
def this() = this(InternalAnypointMQChannelBinding()) | ||
|
||
def destination: StrField = _internal.destination | ||
|
||
def withDestination(destination: String): this.type = { | ||
_internal.withDestination(destination) | ||
this | ||
} | ||
|
||
def destinationType: StrField = _internal.destinationType | ||
|
||
def withDestinationType(destinationType: String): this.type = { | ||
_internal.withDestinationType(destinationType) | ||
this | ||
} | ||
|
||
override protected def bindingVersion: model.StrField = _internal.bindingVersion | ||
|
||
override def withBindingVersion(bindingVersion: String): this.type = { | ||
_internal.withBindingVersion(bindingVersion) | ||
this | ||
} | ||
|
||
override def linkCopy(): AnypointMQChannelBinding = _internal.linkCopy() | ||
} |
36 changes: 36 additions & 0 deletions
36
...icontract/client/platform/model/domain/bindings/anypointmq/AnypointMQMessageBinding.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package amf.apicontract.client.platform.model.domain.bindings.anypointmq | ||
|
||
import amf.apicontract.client.platform.model.domain.bindings.{BindingHeaders, BindingVersion, MessageBinding} | ||
import amf.apicontract.client.scala.model.domain.bindings.anypointmq.{ | ||
AnypointMQMessageBinding => InternalAnypointMQMessageBinding | ||
} | ||
import amf.apicontract.internal.convert.ApiClientConverters._ | ||
import amf.core.client.platform.model | ||
import amf.core.client.platform.model.domain.Shape | ||
|
||
import scala.scalajs.js.annotation.{JSExportAll, JSExportTopLevel} | ||
|
||
@JSExportAll | ||
case class AnypointMQMessageBinding(override private[amf] val _internal: InternalAnypointMQMessageBinding) | ||
extends MessageBinding | ||
with BindingVersion | ||
with BindingHeaders { | ||
@JSExportTopLevel("AnypointMQMessageBinding") | ||
def this() = this(InternalAnypointMQMessageBinding()) | ||
|
||
override def headers: Shape = _internal.headers | ||
|
||
override def withHeaders(headers: Shape): this.type = { | ||
_internal.withHeaders(headers) | ||
this | ||
} | ||
|
||
override protected def bindingVersion: model.StrField = _internal.bindingVersion | ||
|
||
override def withBindingVersion(bindingVersion: String): this.type = { | ||
_internal.withBindingVersion(bindingVersion) | ||
this | ||
} | ||
|
||
override def linkCopy(): AnypointMQMessageBinding = _internal.linkCopy() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
132 changes: 132 additions & 0 deletions
132
...ala/amf/apicontract/client/platform/model/domain/bindings/ibmmq/IBMMQChannelBinding.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
package amf.apicontract.client.platform.model.domain.bindings.ibmmq | ||
|
||
import amf.apicontract.client.platform.model.domain.bindings.{BindingVersion, ChannelBinding} | ||
import amf.apicontract.client.scala.model.domain.bindings.ibmmq.{ | ||
IBMMQChannelTopic => InternalIBMMQChannelTopic, | ||
IBMMQChannelBinding => InternalIBMMQChannelBinding, | ||
IBMMQChannelQueue => InternalIBMMQChannelQueue | ||
} | ||
import amf.apicontract.internal.convert.ApiClientConverters._ | ||
import amf.core.client.platform.model | ||
import amf.core.client.platform.model.domain.{DomainElement, NamedDomainElement} | ||
import amf.core.client.platform.model.{BoolField, IntField, StrField} | ||
|
||
import scala.scalajs.js.annotation.{JSExportAll, JSExportTopLevel} | ||
|
||
@JSExportAll | ||
case class IBMMQChannelBinding(override private[amf] val _internal: InternalIBMMQChannelBinding) | ||
extends ChannelBinding | ||
with BindingVersion { | ||
@JSExportTopLevel("IBMMQChannelBinding") | ||
def this() = this(InternalIBMMQChannelBinding()) | ||
|
||
def destinationType: StrField = _internal.destinationType | ||
def queue: IBMMQChannelQueue = _internal.queue | ||
def topic: IBMMQChannelTopic = _internal.topic | ||
def maxMsgLength: IntField = _internal.maxMsgLength | ||
|
||
def withDestinationType(destinationType: String): this.type = { | ||
_internal.withDestinationType(destinationType) | ||
this | ||
} | ||
|
||
def withQueue(queue: IBMMQChannelQueue): this.type = { | ||
_internal.withQueue(queue) | ||
this | ||
} | ||
|
||
def withTopic(topic: IBMMQChannelTopic): this.type = { | ||
_internal.withTopic(topic) | ||
this | ||
} | ||
|
||
def withMaxMsgLength(maxMsgLength: Int): this.type = { | ||
_internal.withMaxMsgLength(maxMsgLength) | ||
this | ||
} | ||
|
||
override protected def bindingVersion: model.StrField = _internal.bindingVersion | ||
|
||
override def withBindingVersion(bindingVersion: String): this.type = { | ||
_internal.withBindingVersion(bindingVersion) | ||
this | ||
} | ||
|
||
override def linkCopy(): IBMMQChannelBinding = _internal.linkCopy() | ||
} | ||
|
||
@JSExportAll | ||
case class IBMMQChannelQueue(override private[amf] val _internal: InternalIBMMQChannelQueue) | ||
extends DomainElement | ||
with NamedDomainElement { | ||
|
||
@JSExportTopLevel("IBMMQChannelQueue") | ||
def this() = this(InternalIBMMQChannelQueue()) | ||
|
||
def objectName: StrField = _internal.objectName | ||
def isPartitioned: BoolField = _internal.isPartitioned | ||
def exclusive: BoolField = _internal.exclusive | ||
|
||
def withObjectName(objectName: Boolean): this.type = { | ||
_internal.withObjectName(objectName) | ||
this | ||
} | ||
|
||
def withIsPartitioned(isPartitioned: Boolean): this.type = { | ||
_internal.withIsPartitioned(isPartitioned) | ||
this | ||
} | ||
|
||
def withExclusive(exclusive: Boolean): this.type = { | ||
_internal.withExclusive(exclusive) | ||
this | ||
} | ||
|
||
override def name: StrField = _internal.name | ||
|
||
override def withName(name: String): this.type = { | ||
_internal.withName(name) | ||
this | ||
} | ||
} | ||
|
||
@JSExportAll | ||
case class IBMMQChannelTopic(override private[amf] val _internal: InternalIBMMQChannelTopic) | ||
extends DomainElement | ||
with NamedDomainElement { | ||
|
||
@JSExportTopLevel("IBMMQChannelTopic") | ||
def this() = this(InternalIBMMQChannelTopic()) | ||
|
||
def string: BoolField = _internal.string | ||
def objectName: StrField = _internal.objectName | ||
def durablePermitted: BoolField = _internal.durablePermitted | ||
def lastMsgRetained: BoolField = _internal.lastMsgRetained | ||
|
||
def withString(string: Boolean): this.type = { | ||
_internal.withString(string) | ||
this | ||
} | ||
|
||
def withObjectName(objectName: Boolean): this.type = { | ||
_internal.withObjectName(objectName) | ||
this | ||
} | ||
|
||
def withDurablePermitted(durablePermitted: Boolean): this.type = { | ||
_internal.withDurablePermitted(durablePermitted) | ||
this | ||
} | ||
|
||
def withLastMsgRetained(lastMsgRetained: Boolean): this.type = { | ||
_internal.withLastMsgRetained(lastMsgRetained) | ||
this | ||
} | ||
|
||
override def name: StrField = _internal.name | ||
|
||
override def withName(name: String): this.type = { | ||
_internal.withName(name) | ||
this | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
...ala/amf/apicontract/client/platform/model/domain/bindings/ibmmq/IBMMQMessageBinding.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
package amf.apicontract.client.platform.model.domain.bindings.ibmmq | ||
|
||
import amf.apicontract.client.platform.model.domain.bindings.{BindingVersion, MessageBinding} | ||
import amf.apicontract.client.scala.model.domain.bindings.ibmmq.{IBMMQMessageBinding => InternalIBMMQMessageBinding} | ||
import amf.apicontract.internal.convert.ApiClientConverters._ | ||
import amf.core.client.platform.model | ||
import amf.core.client.platform.model.{IntField, StrField} | ||
|
||
import scala.scalajs.js.annotation.{JSExportAll, JSExportTopLevel} | ||
|
||
@JSExportAll | ||
case class IBMMQMessageBinding(override private[amf] val _internal: InternalIBMMQMessageBinding) | ||
extends MessageBinding | ||
with BindingVersion { | ||
@JSExportTopLevel("IBMMQMessageBinding") | ||
def this() = this(InternalIBMMQMessageBinding()) | ||
|
||
def messageType: StrField = _internal.messageType | ||
def headers: ClientList[StrField] = _internal.headers.asClient | ||
def description: StrField = _internal.description | ||
def expiry: IntField = _internal.expiry | ||
|
||
def withType(messageType: String): this.type = { | ||
_internal.withMessageType(messageType) | ||
this | ||
} | ||
|
||
def withHeaders(headers: String): this.type = { | ||
_internal.withHeaders(headers) | ||
this | ||
} | ||
|
||
def withDescription(description: String): this.type = { | ||
_internal.withDescription(description) | ||
this | ||
} | ||
|
||
def withExpiry(expiry: Int): this.type = { | ||
_internal.withExpiry(expiry) | ||
this | ||
} | ||
|
||
override protected def bindingVersion: model.StrField = _internal.bindingVersion | ||
|
||
override def withBindingVersion(bindingVersion: String): this.type = { | ||
_internal.withBindingVersion(bindingVersion) | ||
this | ||
} | ||
|
||
override def linkCopy(): IBMMQMessageBinding = _internal.linkCopy() | ||
} |
Oops, something went wrong.