Class CMASnapshot


  • public class CMASnapshot
    extends CMAResource
    This model represents a snapshot of a specific resource.
    • Constructor Detail

      • CMASnapshot

        public CMASnapshot()
        Create a new snapshot.

        Used for internal testing and json parsing only.

    • Method Detail

      • getSnapshot

        public CMAResource getSnapshot()
        Returns:
        the actual data of the snapshot
      • setSnapshot

        public CMASnapshot setSnapshot​(CMAResource snapshot)
        Update the current snapshot.
        Parameters:
        snapshot - the value to be used.
        Returns:
        the actual CMASnapshot