// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: invalid_annotation_target
part of open_a_i_schema;

// ==========================================
// CLASS: ModifyRunRequest
// ==========================================

/// Request object for the Modify run endpoint.
@freezed
class ModifyRunRequest with _$ModifyRunRequest {
  const ModifyRunRequest._();

  /// Factory constructor for ModifyRunRequest
  const factory ModifyRunRequest({
    /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional
    /// information about the object in a structured format. Keys can be a maximum of 64 characters long and values
    /// can be a maximum of 512 characters long.
    @JsonKey(includeIfNull: false) Map<String, dynamic>? metadata,
  }) = _ModifyRunRequest;

  /// Object construction from a JSON representation
  factory ModifyRunRequest.fromJson(Map<String, dynamic> json) =>
      _$ModifyRunRequestFromJson(json);

  /// List of all property names of schema
  static const List<String> propertyNames = ['metadata'];

  /// Perform validations on the schema property values
  String? validateSchema() {
    return null;
  }

  /// Map representation of object (not serialized)
  Map<String, dynamic> toMap() {
    return {
      'metadata': metadata,
    };
  }
}
