github.com/newrelic/newrelic-client-go@v1.1.0/pkg/nrtime/types.go (about)

     1  // Code generated by tutone: DO NOT EDIT
     2  package nrtime
     3  
     4  import (
     5  	"github.com/newrelic/newrelic-client-go/internal/serialization"
     6  )
     7  
     8  // TimeWindowInput - Represents a time window input.
     9  type TimeWindowInput struct {
    10  	// The end time of the time window the number of milliseconds since the Unix epoch.
    11  	EndTime EpochMilliseconds `json:"endTime"`
    12  	// The start time of the time window the number of milliseconds since the Unix epoch.
    13  	StartTime EpochMilliseconds `json:"startTime"`
    14  }
    15  
    16  // DateTime - The `DateTime` scalar represents a date and time. The `DateTime` appears as an ISO8601 formatted string.
    17  type DateTime string
    18  
    19  // EpochMilliseconds - The `EpochMilliseconds` scalar represents the number of milliseconds since the Unix epoch
    20  type EpochMilliseconds serialization.EpochTime
    21  
    22  // EpochSeconds - The `EpochSeconds` scalar represents the number of seconds since the Unix epoch
    23  type EpochSeconds serialization.EpochTime
    24  
    25  // Milliseconds - The `Milliseconds` scalar represents a duration in milliseconds
    26  type Milliseconds int
    27  
    28  // Minutes - The `Minutes` scalar represents a duration in minutes
    29  type Minutes int
    30  
    31  // NaiveDateTime - The `NaiveDateTime` scalar represents a date and time without a Time Zone. The `NaiveDateTime` appears as an ISO8601 formatted string.
    32  type NaiveDateTime string
    33  
    34  // Seconds - The `Seconds` scalar represents a duration in seconds
    35  type Seconds string