Class ResponseMetadata


  • public final class ResponseMetadata
    extends Object
    The ResponseMetadata model.
    • Constructor Detail

      • ResponseMetadata

        public ResponseMetadata()
    • Method Detail

      • dataSource

        public DataSource dataSource()
        Get the dataSource property: Source of the Data.
        Returns:
        the dataSource value.
      • withDataSource

        public ResponseMetadata withDataSource​(DataSource dataSource)
        Set the dataSource property: Source of the Data.
        Parameters:
        dataSource - the dataSource value to set.
        Returns:
        the ResponseMetadata object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.