// Validate validates this cluster checkin
Validate validates this cluster checkin
// Validate validates this cluster checkin
func (m *ClusterCheckin) Validate(formats strfmt.Registry) error {
	var res []error
	if err := m.validateCheckins(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateClusterAge(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateClusterID(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateFirstSeen(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateLastCheckin(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateLastSeen(formats); err != nil {
		res = append(res, err)
	}
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
func ( m * ClusterCheckin ) Validate ( formats strfmt . Registry ) error { var res [ ] error if err := m . validateCheckins ( formats ) ; err != nil { res = append ( res , err ) } if err := m . validateClusterAge ( formats ) ; err != nil { res = append ( res , err ) } if err := m . validateClusterID ( formats ) ; err != nil { res = append ( res , err ) } if err := m . validateFirstSeen ( formats ) ; err != nil { res = append ( res , err ) } if err := m . validateLastCheckin ( formats ) ; err != nil { res = append ( res , err ) } if err := m . validateLastSeen ( formats ) ; err != nil { res = append ( res , err ) } if len ( res ) > 0 { return errors . CompositeValidationError ( res ... ) } return nil }
Validate validates this cluster checkin
Validate validates this cluster checkin
// prop // prop // prop // prop // prop // prop