zz_generated.model.go 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. // Licensed under the Apache License, Version 2.0 (the "License");
  2. // you may not use this file except in compliance with the License.
  3. // You may obtain a copy of the License at
  4. //
  5. // http://www.apache.org/licenses/LICENSE-2.0
  6. //
  7. // Unless required by applicable law or agreed to in writing, software
  8. // distributed under the License is distributed on an "AS IS" BASIS,
  9. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. // See the License for the specific language governing permissions and
  11. // limitations under the License.
  12. // Code generated by model-api-gen. DO NOT EDIT.
  13. package cloudevent
  14. import (
  15. time "time"
  16. jsonutils "yunion.io/x/jsonutils"
  17. "yunion.io/x/onecloud/pkg/apis"
  18. )
  19. // SCloudevent is an autogenerated struct via yunion.io/x/onecloud/pkg/cloudevent/models.SCloudevent.
  20. type SCloudevent struct {
  21. apis.SDomainizedResourceBase
  22. EventId int64 `json:"event_id"`
  23. Name string `json:"name"`
  24. Service string `json:"service"`
  25. ResourceType string `json:"resource_type"`
  26. Action string `json:"action"`
  27. RequestId string `json:"request_id"`
  28. Request jsonutils.JSONObject `json:"request"`
  29. Account string `json:"account"`
  30. Success bool `json:"success"`
  31. CreatedAt time.Time `json:"created_at"`
  32. CloudproviderId string `json:"cloudprovider_id"`
  33. Manager string `json:"manager"`
  34. Provider string `json:"provider"`
  35. Brand string `json:"brand"`
  36. }
  37. // SCloudprovider is an autogenerated struct via yunion.io/x/onecloud/pkg/cloudevent/models.SCloudprovider.
  38. type SCloudprovider struct {
  39. apis.SEnabledStatusStandaloneResourceBase
  40. apis.SProjectizedResourceBase
  41. SyncStatus string `json:"sync_status"`
  42. Provider string `json:"provider"`
  43. Brand string `json:"brand"`
  44. }