abstract class Api[A] extends ApiFieldSetter[A] with DomainElement with NamedDomainElement
Api model class.
- Annotations
- @JSExportAll()
- Alphabetic
- By Inheritance
- Api
- NamedDomainElement
- DomainElement
- CustomizableElement
- PlatformSecrets
- AmfObjectWrapper
- Annotable
- ApiFieldSetter
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Api(_internal: scala.model.domain.api.Api)
Abstract Value Members
-
abstract
def
withAccepts(accepts: ClientList[String]): A
- Definition Classes
- ApiFieldSetter
-
abstract
def
withContentType(contentType: ClientList[String]): A
- Definition Classes
- ApiFieldSetter
-
abstract
def
withDescription(description: String): A
- Definition Classes
- ApiFieldSetter
-
abstract
def
withDocumentation(documentations: ClientList[CreativeWork]): A
- Definition Classes
- ApiFieldSetter
-
abstract
def
withEndPoints(endPoints: ClientList[EndPoint]): A
- Definition Classes
- ApiFieldSetter
-
abstract
def
withIdentifier(identifier: String): A
- Definition Classes
- ApiFieldSetter
-
abstract
def
withLicense(license: License): A
- Definition Classes
- ApiFieldSetter
-
abstract
def
withName(name: String): Api.this.type
- Definition Classes
- NamedDomainElement
-
abstract
def
withProvider(provider: Organization): A
- Definition Classes
- ApiFieldSetter
-
abstract
def
withSchemes(schemes: ClientList[String]): A
- Definition Classes
- ApiFieldSetter
-
abstract
def
withSecurity(security: ClientList[SecurityRequirement]): A
- Definition Classes
- ApiFieldSetter
-
abstract
def
withServers(servers: ClientList[Server]): A
- Definition Classes
- ApiFieldSetter
-
abstract
def
withTags(servers: ClientList[Tag]): A
- Definition Classes
- ApiFieldSetter
-
abstract
def
withTermsOfService(terms: String): A
- Definition Classes
- ApiFieldSetter
-
abstract
def
withVersion(version: String): A
- Definition Classes
- ApiFieldSetter
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Api[A], B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def accepts: ClientList[StrField]
-
def
annotations(): Annotations
- Definition Classes
- AmfObjectWrapper → Annotable
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def contentType: ClientList[StrField]
-
def
customDomainProperties: core.internal.convert.CoreClientConverters.ClientList[DomainExtension]
- Definition Classes
- DomainElement → CustomizableElement
- def description: StrField
- def documentations: ClientList[CreativeWork]
- def endPoints: ClientList[EndPoint]
- def ensuring(cond: (Api[A]) ⇒ Boolean, msg: ⇒ Any): Api[A]
- def ensuring(cond: (Api[A]) ⇒ Boolean): Api[A]
- def ensuring(cond: Boolean, msg: ⇒ Any): Api[A]
- def ensuring(cond: Boolean): Api[A]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
extendsNode: core.internal.convert.CoreClientConverters.ClientList[DomainElement]
- Definition Classes
- DomainElement
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
graph(): Graph
- Definition Classes
- DomainElement
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
id: String
- Definition Classes
- DomainElement
- def identifier: StrField
-
def
isExternalLink: BoolField
- Definition Classes
- DomainElement
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def license: License
-
def
name: StrField
- Definition Classes
- Api → NamedDomainElement
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
platform: Platform
- Definition Classes
- PlatformSecrets
-
def
position: Range
- Definition Classes
- DomainElement
- def provider: Organization
- def schemes: ClientList[StrField]
- def security: ClientList[SecurityRequirement]
- def servers: ClientList[Server]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def tags: ClientList[Tag]
- def termsOfService: StrField
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def version: StrField
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withCustomDomainProperties(extensions: core.internal.convert.CoreClientConverters.ClientList[DomainExtension]): Api.this.type
- Definition Classes
- DomainElement → CustomizableElement
-
def
withDefaultServer(url: String): Server
Adds one Server to the servers property of this WebApi and returns it for population.
Adds one Server to the servers property of this WebApi and returns it for population. url property of the server is required. This method marks this Server as default. When generating this Server in RAML or OAS2, it will generate a 'baseUri', 'host' or 'basePath', instead of a 'servers' annotation.
-
def
withDocumentationTitle(title: String): CreativeWork
Adds one CreativeWork to the documentations property of this WebApi and returns it for population.
Adds one CreativeWork to the documentations property of this WebApi and returns it for population. Path property of the CreativeWork is required.
-
def
withDocumentationUrl(url: String): CreativeWork
Adds one CreativeWork to the documentations property of this WebApi and returns it for population.
Adds one CreativeWork to the documentations property of this WebApi and returns it for population. Path property of the CreativeWork is required.
-
def
withEndPoint(path: String): EndPoint
Adds one EndPoint to the endPoints property of this WebApi and returns it for population.
Adds one EndPoint to the endPoints property of this WebApi and returns it for population. Path property of the endPoint is required.
-
def
withExtendsNode(extension: core.internal.convert.CoreClientConverters.ClientList[ParametrizedDeclaration]): Api.this.type
- Definition Classes
- DomainElement
-
def
withId(id: String): Api.this.type
- Definition Classes
- DomainElement
-
def
withIsExternalLink(isExternalLink: Boolean): DomainElement
- Definition Classes
- DomainElement
-
def
withServer(url: String): Server
Adds one Server to the servers property of this WebApi and returns it for population.
Adds one Server to the servers property of this WebApi and returns it for population. url property of the server is required.
- def →[B](y: B): (Api[A], B)