abstract class Api[A] extends ApiFieldSetter[A] with DomainElement with NamedDomainElement
Api model class.
- Annotations
- @JSExportAll()
- Alphabetic
- By Inheritance
- Api
- NamedDomainElement
- DomainElement
- PlatformSecrets
- AmfObjectWrapper
- Annotable
- ApiFieldSetter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Api(_internal: plugins.domain.webapi.models.api.Api)
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
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: convert.CoreClientConverters.ClientList[DomainExtension]
- Definition Classes
- DomainElement
- def description: StrField
- def documentations: ClientList[CreativeWork]
- def endPoints: ClientList[EndPoint]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
extendsNode: convert.CoreClientConverters.ClientList[DomainElement]
- Definition Classes
- DomainElement
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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
-
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]
- def sourceVendor: Option[Vendor]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- 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
withAccepts(accepts: ClientList[String]): A
Set accepts property of this WebApi.
Set accepts property of this WebApi.
- Definition Classes
- ApiFieldSetter
-
def
withContentType(contentType: ClientList[String]): A
Set contentType property of this WebApi.
Set contentType property of this WebApi.
- Definition Classes
- ApiFieldSetter
-
def
withCustomDomainProperties(extensions: convert.CoreClientConverters.ClientList[DomainExtension]): Api.this.type
- Definition Classes
- DomainElement
-
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
withDescription(description: String): A
Set description property of this WebApi.
Set description property of this WebApi.
- Definition Classes
- ApiFieldSetter
-
def
withDocumentation(documentations: ClientList[CreativeWork]): A
Set documentation property of this WebApi using a CreativeWork
Set documentation property of this WebApi using a CreativeWork
- Definition Classes
- ApiFieldSetter
-
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
withEndPoints(endPoints: ClientList[EndPoint]): A
Set endPoints property of this WebApi.
Set endPoints property of this WebApi.
- Definition Classes
- ApiFieldSetter
-
def
withExtendsNode(extension: convert.CoreClientConverters.ClientList[ParametrizedDeclaration]): Api.this.type
- Definition Classes
- DomainElement
-
def
withId(id: String): Api.this.type
- Definition Classes
- DomainElement
-
def
withIdentifier(identifier: String): A
Set identifier property of this WebApi.
Set identifier property of this WebApi.
- Definition Classes
- ApiFieldSetter
-
def
withLicense(license: License): A
Set license property of this WebApi using a License
Set license property of this WebApi using a License
- Definition Classes
- ApiFieldSetter
-
def
withProvider(provider: Organization): A
Set provider property of this WebApi using a Organization
Set provider property of this WebApi using a Organization
- Definition Classes
- ApiFieldSetter
-
def
withSchemes(schemes: ClientList[String]): A
Set schemes property of this WebApi.
Set schemes property of this WebApi.
- Definition Classes
- ApiFieldSetter
-
def
withSecurity(security: ClientList[SecurityRequirement]): A
Set security property of this WebApi using a list of SecurityRequirement
Set security property of this WebApi using a list of SecurityRequirement
- Definition Classes
- ApiFieldSetter
-
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
withServers(servers: ClientList[Server]): A
Set servers property of this WebApi using a list of Server objects.
Set servers property of this WebApi using a list of Server objects.
- Definition Classes
- ApiFieldSetter
-
def
withTermsOfService(terms: String): A
Set termsOfService property of this WebApi.
Set termsOfService property of this WebApi.
- Definition Classes
- ApiFieldSetter
-
def
withVersion(version: String): A
Set version property of this WebApi.
Set version property of this WebApi.
- Definition Classes
- ApiFieldSetter