class Ittybit::WorkflowTaskStep
def self.validate_raw(obj:)
-
(Void)
-
Parameters:
-
obj
(Object
) --
def self.validate_raw(obj:) obj.kind.is_a?(Ittybit::WorkflowTaskStepKind) != false || raise("Passed value for field obj.kind is not the expected type, validation failed.") obj.ref&.is_a?(String) != false || raise("Passed value for field obj.ref is not the expected type, validation failed.") obj.format&.is_a?(String) != false || raise("Passed value for field obj.format is not the expected type, validation failed.") obj.start&.is_a?(Float) != false || raise("Passed value for field obj.start is not the expected type, validation failed.") obj.end_&.is_a?(Float) != false || raise("Passed value for field obj.end_ is not the expected type, validation failed.") obj.width&.is_a?(Integer) != false || raise("Passed value for field obj.width is not the expected type, validation failed.") obj.height&.is_a?(Integer) != false || raise("Passed value for field obj.height is not the expected type, validation failed.") obj.fit&.is_a?(String) != false || raise("Passed value for field obj.fit is not the expected type, validation failed.") obj.background&.is_a?(String) != false || raise("Passed value for field obj.background is not the expected type, validation failed.") obj.quality&.is_a?(Integer) != false || raise("Passed value for field obj.quality is not the expected type, validation failed.") obj.next_&.is_a?(Array) != false || raise("Passed value for field obj.next_ is not the expected type, validation failed.") end