Class APIProductInfoDTO

java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.dto.APIProductInfoDTO

public class APIProductInfoDTO extends Object
APIProductInfoDTO
  • Field Details

  • Constructor Details

    • APIProductInfoDTO

      public APIProductInfoDTO()
  • Method Details

    • id

      public APIProductInfoDTO id(String id)
    • getId

      @Nullable public String getId()
      UUID of the api product
      Returns:
      id
    • setId

      public void setId(String id)
    • name

      public APIProductInfoDTO name(String name)
    • getName

      @Nullable public String getName()
      Name of the API Product
      Returns:
      name
    • setName

      public void setName(String name)
    • context

      public APIProductInfoDTO context(String context)
    • getContext

      @Nullable public String getContext()
      Get context
      Returns:
      context
    • setContext

      public void setContext(String context)
    • description

      public APIProductInfoDTO description(String description)
    • getDescription

      @Nullable public String getDescription()
      A brief description about the API
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • provider

      public APIProductInfoDTO provider(String provider)
    • getProvider

      @Nullable public String getProvider()
      If the provider value is not given, the user invoking the API will be used as the provider.
      Returns:
      provider
    • setProvider

      public void setProvider(String provider)
    • hasThumbnail

      public APIProductInfoDTO hasThumbnail(Boolean hasThumbnail)
    • isHasThumbnail

      @Nullable public Boolean isHasThumbnail()
      Get hasThumbnail
      Returns:
      hasThumbnail
    • setHasThumbnail

      public void setHasThumbnail(Boolean hasThumbnail)
    • state

      public APIProductInfoDTO state(String state)
    • getState

      @Nullable public String getState()
      State of the API product. Only published api products are visible on the Developer Portal
      Returns:
      state
    • setState

      public void setState(String state)
    • securityScheme

      public APIProductInfoDTO securityScheme(List<String> securityScheme)
    • getSecurityScheme

      @Nullable public List<String> getSecurityScheme()
      Types of API security, the current API secured with. It can be either OAuth2 or mutual SSL or both. If it is not set OAuth2 will be set as the security for the current API.
      Returns:
      securityScheme
    • setSecurityScheme

      public void setSecurityScheme(List<String> securityScheme)
    • gatewayVendor

      public APIProductInfoDTO gatewayVendor(String gatewayVendor)
    • getGatewayVendor

      @Nullable public String getGatewayVendor()
      Get gatewayVendor
      Returns:
      gatewayVendor
    • setGatewayVendor

      public void setGatewayVendor(String gatewayVendor)
    • audiences

      public APIProductInfoDTO audiences(List<String> audiences)
    • getAudiences

      @Nullable public List<String> getAudiences()
      The audiences of the API product for jwt validation. Accepted values are any String values
      Returns:
      audiences
    • setAudiences

      public void setAudiences(List<String> audiences)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object