Class ThrottlePolicyDTO

java.lang.Object
org.wso2.am.integration.clients.admin.api.dto.ThrottlePolicyDTO
Direct Known Subclasses:
AdvancedThrottlePolicyDTO, AdvancedThrottlePolicyInfoDTO, ApplicationThrottlePolicyDTO, CustomRuleDTO, SubscriptionThrottlePolicyDTO

public class ThrottlePolicyDTO extends Object
ThrottlePolicyDTO
  • Field Details

  • Constructor Details

    • ThrottlePolicyDTO

      public ThrottlePolicyDTO()
  • Method Details

    • policyId

      public ThrottlePolicyDTO policyId(String policyId)
    • getPolicyId

      @Nullable public String getPolicyId()
      Id of policy
      Returns:
      policyId
    • setPolicyId

      public void setPolicyId(String policyId)
    • policyName

      public ThrottlePolicyDTO policyName(String policyName)
    • getPolicyName

      public String getPolicyName()
      Name of policy
      Returns:
      policyName
    • setPolicyName

      public void setPolicyName(String policyName)
    • displayName

      public ThrottlePolicyDTO displayName(String displayName)
    • getDisplayName

      @Nullable public String getDisplayName()
      Display name of the policy
      Returns:
      displayName
    • setDisplayName

      public void setDisplayName(String displayName)
    • description

      public ThrottlePolicyDTO description(String description)
    • getDescription

      @Nullable public String getDescription()
      Description of the policy
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • isDeployed

      public ThrottlePolicyDTO isDeployed(Boolean isDeployed)
    • isIsDeployed

      @Nullable public Boolean isIsDeployed()
      Indicates whether the policy is deployed successfully or not.
      Returns:
      isDeployed
    • setIsDeployed

      public void setIsDeployed(Boolean isDeployed)
    • type

      public ThrottlePolicyDTO type(String type)
    • getType

      @Nullable public String getType()
      Indicates the type of throttle policy
      Returns:
      type
    • setType

      public void setType(String type)
    • 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