class Vellum::TestSuiteRunWorkflowReleaseTagExecConfigData
def self.from_json(json_object:)
-
(TestSuiteRunWorkflowReleaseTagExecConfigData)-
Parameters:
-
json_object(JSON) --
def self.from_json(json_object:) struct = JSON.parse(json_object, object_class: OpenStruct) JSON.parse(json_object) workflow_deployment_id = struct.workflow_deployment_id tag = struct.tag new(workflow_deployment_id: workflow_deployment_id, tag: tag, additional_properties: struct) end
def self.validate_raw(obj:)
-
(Void)-
Parameters:
-
obj(Object) --
def self.validate_raw(obj:) obj.workflow_deployment_id.is_a?(String) != false || raise("Passed value for field obj.workflow_deployment_id is not the expected type, validation failed.") obj.tag&.is_a?(String) != false || raise("Passed value for field obj.tag is not the expected type, validation failed.") end
def initialize(workflow_deployment_id:, tag: nil, additional_properties: nil)
-
(TestSuiteRunWorkflowReleaseTagExecConfigData)-
Parameters:
-
additional_properties(OpenStruct) -- Additional properties unmapped to the current class definition -
tag(String) -- A tag identifying which release of the Workflow Deployment to run the Test Suite against. Useful for testing past versions of the Workflow Deployment -
workflow_deployment_id(String) -- The ID of the Workflow Deployment to run the Test Suite against.
def initialize(workflow_deployment_id:, tag: nil, additional_properties: nil) # @type [String] The ID of the Workflow Deployment to run the Test Suite against. @workflow_deployment_id = workflow_deployment_id # @type [String] A tag identifying which release of the Workflow Deployment to run the Test Suite against. Useful for testing past versions of the Workflow Deployment @tag = tag # @type [OpenStruct] Additional properties unmapped to the current class definition @additional_properties = additional_properties end
def to_json(*_args)
-
(JSON)-
def to_json(*_args) { "workflow_deployment_id": @workflow_deployment_id, "tag": @tag }.to_json end