Class ResthookSubscriptionCreate


  • public final class ResthookSubscriptionCreate
    extends Object
    The ResthookSubscriptionCreate model.
    • Constructor Detail

      • ResthookSubscriptionCreate

        public ResthookSubscriptionCreate()
    • Method Detail

      • getTargetUrl

        public String getTargetUrl()
        Get the targetUrl property: URL of the resthook's receiver.
        Returns:
        the targetUrl value.
      • setTargetUrl

        public ResthookSubscriptionCreate setTargetUrl​(String targetUrl)
        Set the targetUrl property: URL of the resthook's receiver.
        Parameters:
        targetUrl - the targetUrl value to set.
        Returns:
        the ResthookSubscriptionCreate object itself.
      • getEvent

        public ResthookEvent getEvent()
        Get the event property: The event name to subscribe to.
        Returns:
        the event value.
      • setEvent

        public ResthookSubscriptionCreate setEvent​(ResthookEvent event)
        Set the event property: The event name to subscribe to.
        Parameters:
        event - the event value to set.
        Returns:
        the ResthookSubscriptionCreate object itself.
      • getOrganization

        public String getOrganization()
        Get the organization property: The organization property.
        Returns:
        the organization value.
      • setOrganization

        public ResthookSubscriptionCreate setOrganization​(String organization)
        Set the organization property: The organization property.
        Parameters:
        organization - the organization value to set.
        Returns:
        the ResthookSubscriptionCreate object itself.
      • getVersion

        public Version getVersion()
        Get the version property: Version of the resthook subscription. Determines the resthook body being fired.
        Returns:
        the version value.
      • setVersion

        public ResthookSubscriptionCreate setVersion​(Version version)
        Set the version property: Version of the resthook subscription. Determines the resthook body being fired.
        Parameters:
        version - the version value to set.
        Returns:
        the ResthookSubscriptionCreate object itself.