class_docstr: Class representing a model in the model registry.
  
  A Model object is usually obtained from :func:`determined.experimental.client.create_model`
  or :func:`determined.experimental.client.get_model`. It contains methods for model
  versions and metadata.
class_docstr_tok: ["Class","representing","a","model","in","the","model","registry",".","A","Model","object","is","usually","obtained","from",":","func",":","`","determined.experimental.client.create_model","`","or",":","func",":","`","determined.experimental.client.get_model","`",".","It","contains","methods","for","model","versions","and","metadata","."]
code: def get_versions(
      self, order_by: OrderBy = OrderBy.DESC
  ) -> List[ModelVersion]:
      warnings.warn(
          "Model.get_versions() has been deprecated and will be removed in a future version."
          "Please call Model.list_versions() instead.",
          FutureWarning,
          stacklevel=2,
      )
      return list(self.list_versions(order_by=order_by))
  
imports: import datetime
  import enum
  import itertools
  import json
  import warnings
  from typing import Any, Dict, Iterable, List, Optional
  from determined.common import api, util
  from determined.common.api import bindings
  from determined.common.experimental import checkpoint, metrics
  from determined.common.experimental._util import OrderBy
label_desc: Use image node_id 3 for calling the Model obj's underlying member method code with example usage: obj.get_versions(order_by) and returns: list