@@ -11,7 +11,7 @@ import (
1111// MonitorType Attributes from the monitor that triggered the event.
1212type MonitorType struct {
1313 // The POSIX timestamp of the monitor's creation in nanoseconds.
14- CreatedAt * int32 `json:"created_at,omitempty"`
14+ CreatedAt * int64 `json:"created_at,omitempty"`
1515 // Monitor group status used when there is no `result_groups`.
1616 GroupStatus * int32 `json:"group_status,omitempty"`
1717 // Groups to which the monitor belongs.
@@ -55,17 +55,17 @@ func NewMonitorTypeWithDefaults() *MonitorType {
5555}
5656
5757// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
58- func (o * MonitorType ) GetCreatedAt () int32 {
58+ func (o * MonitorType ) GetCreatedAt () int64 {
5959 if o == nil || o .CreatedAt == nil {
60- var ret int32
60+ var ret int64
6161 return ret
6262 }
6363 return * o .CreatedAt
6464}
6565
6666// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise
6767// and a boolean to check if the value has been set.
68- func (o * MonitorType ) GetCreatedAtOk () (* int32 , bool ) {
68+ func (o * MonitorType ) GetCreatedAtOk () (* int64 , bool ) {
6969 if o == nil || o .CreatedAt == nil {
7070 return nil , false
7171 }
@@ -77,8 +77,8 @@ func (o *MonitorType) HasCreatedAt() bool {
7777 return o != nil && o .CreatedAt != nil
7878}
7979
80- // SetCreatedAt gets a reference to the given int32 and assigns it to the CreatedAt field.
81- func (o * MonitorType ) SetCreatedAt (v int32 ) {
80+ // SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
81+ func (o * MonitorType ) SetCreatedAt (v int64 ) {
8282 o .CreatedAt = & v
8383}
8484
@@ -412,7 +412,7 @@ func (o MonitorType) MarshalJSON() ([]byte, error) {
412412func (o * MonitorType ) UnmarshalJSON (bytes []byte ) (err error ) {
413413 raw := map [string ]interface {}{}
414414 all := struct {
415- CreatedAt * int32 `json:"created_at,omitempty"`
415+ CreatedAt * int64 `json:"created_at,omitempty"`
416416 GroupStatus * int32 `json:"group_status,omitempty"`
417417 Groups []string `json:"groups,omitempty"`
418418 Id * int32 `json:"id,omitempty"`
0 commit comments