syntax = "proto3"; import "google/protobuf/struct.proto"; import "google/protobuf/wrappers.proto"; import "options.proto"; option csharp_namespace = "SquaredUp.Dashboard.Schema"; package squaredup; message CommonTimeframe { // The type of timeframe. 'fixed' or 'inherit' (the latter inherits // from the containing page) string type = 1 [(o).is_constrained_value = true]; // The range of the timeframe // // This is a string literal such as "Last1Hour", "Last12Months" etc. string range = 2 [(o).is_constrained_value = true]; // Custom time range - referenced by the product but cannot actually be set or used // in most instances string timeframe_start = 3 [deprecated=true]; string timeframe_end = 4 [deprecated=true]; }