Class ResthookSubscriptionUpdate


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

      • ResthookSubscriptionUpdate

        public ResthookSubscriptionUpdate()
    • Method Detail

      • getEvent

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

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

        public String getOrganization()
        Get the organization property: Uniquely identify an organization.
        Returns:
        the organization value.
      • setOrganization

        public ResthookSubscriptionUpdate setOrganization​(String organization)
        Set the organization property: Uniquely identify an organization.
        Parameters:
        organization - the organization value to set.
        Returns:
        the ResthookSubscriptionUpdate 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 ResthookSubscriptionUpdate 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 ResthookSubscriptionUpdate object itself.