Klasse AutomationActionsScriptActionDataReference

java.lang.Object
io.github.primelib.pagerduty4j.rest.model.AutomationActionsScriptActionDataReference

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class AutomationActionsScriptActionDataReference extends Object
AutomationActionsScriptActionDataReference
  • Felddetails

    • script

      protected String script
      Body of the script to be executed on the Runner. To execute it, the Runner will write the content of the property into a temp file, make the file executable and execute it. It is assumed that the Runner has a properly configured environment to run the script as an executable file. This behaviour can be altered by providing the invocation_command property. The maxLength value is specified in bytes.
    • invocationCommand

      protected String invocationCommand
      The command to executed a script with. With the body of the script written into a temp file, the Runner will execute the <invocation_command> <temp_file> command. The maxLength value is specified in bytes.
  • Konstruktordetails

    • AutomationActionsScriptActionDataReference

      public AutomationActionsScriptActionDataReference(Consumer<AutomationActionsScriptActionDataReference> spec)
      Constructs a validated instance of AutomationActionsScriptActionDataReference.
      Parameter:
      spec - the specification to process
    • AutomationActionsScriptActionDataReference

      @Internal public AutomationActionsScriptActionDataReference(String script, String invocationCommand)
      Constructs a validated instance of AutomationActionsScriptActionDataReference.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using AutomationActionsScriptActionDataReference(Consumer) instead.

      Parameter:
      script - Body of the script to be executed on the Runner. To execute it, the Runner will write the content of the property into a temp file, make the file executable and execute it. It is assumed that the Runner has a properly configured environment to run the script as an executable file. This behaviour can be altered by providing the invocation_command property. The maxLength value is specified in bytes.
      invocationCommand - The command to executed a script with. With the body of the script written into a temp file, the Runner will execute the &amp;lt;invocation_command&amp;gt; &amp;lt;temp_file&amp;gt; command. The maxLength value is specified in bytes.
    • AutomationActionsScriptActionDataReference

      protected AutomationActionsScriptActionDataReference()
  • Methodendetails

    • builder

    • script

      public String script()
      Body of the script to be executed on the Runner. To execute it, the Runner will write the content of the property into a temp file, make the file executable and execute it. It is assumed that the Runner has a properly configured environment to run the script as an executable file. This behaviour can be altered by providing the invocation_command property. The maxLength value is specified in bytes.
    • invocationCommand

      public String invocationCommand()
      The command to executed a script with. With the body of the script written into a temp file, the Runner will execute the &amp;lt;invocation_command&amp;gt; &amp;lt;temp_file&amp;gt; command. The maxLength value is specified in bytes.
    • script

      Body of the script to be executed on the Runner. To execute it, the Runner will write the content of the property into a temp file, make the file executable and execute it. It is assumed that the Runner has a properly configured environment to run the script as an executable file. This behaviour can be altered by providing the invocation_command property. The maxLength value is specified in bytes.
      Gibt zurück:
      this.
    • invocationCommand

      public AutomationActionsScriptActionDataReference invocationCommand(String invocationCommand)
      The command to executed a script with. With the body of the script written into a temp file, the Runner will execute the &amp;lt;invocation_command&amp;gt; &amp;lt;temp_file&amp;gt; command. The maxLength value is specified in bytes.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object