Documentation
¶
Index ¶
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type NullableBool
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableResourceEnumCloud
- func (v NullableResourceEnumCloud) Get() *ResourceEnumCloud
- func (v NullableResourceEnumCloud) IsSet() bool
- func (v NullableResourceEnumCloud) MarshalJSON() ([]byte, error)
- func (v *NullableResourceEnumCloud) Set(val *ResourceEnumCloud)
- func (v *NullableResourceEnumCloud) UnmarshalJSON(src []byte) error
- func (v *NullableResourceEnumCloud) Unset()
- type NullableResourceEnumOSS
- func (v NullableResourceEnumOSS) Get() *ResourceEnumOSS
- func (v NullableResourceEnumOSS) IsSet() bool
- func (v NullableResourceEnumOSS) MarshalJSON() ([]byte, error)
- func (v *NullableResourceEnumOSS) Set(val *ResourceEnumOSS)
- func (v *NullableResourceEnumOSS) UnmarshalJSON(src []byte) error
- func (v *NullableResourceEnumOSS) Unset()
- type NullableString
- type NullableTime
- type ResourceEnumCloud
- type ResourceEnumOSS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableResourceEnumCloud ¶
type NullableResourceEnumCloud struct {
// contains filtered or unexported fields
}
func NewNullableResourceEnumCloud ¶
func NewNullableResourceEnumCloud(val *ResourceEnumCloud) *NullableResourceEnumCloud
func (NullableResourceEnumCloud) Get ¶
func (v NullableResourceEnumCloud) Get() *ResourceEnumCloud
func (NullableResourceEnumCloud) IsSet ¶
func (v NullableResourceEnumCloud) IsSet() bool
func (NullableResourceEnumCloud) MarshalJSON ¶
func (v NullableResourceEnumCloud) MarshalJSON() ([]byte, error)
func (*NullableResourceEnumCloud) Set ¶
func (v *NullableResourceEnumCloud) Set(val *ResourceEnumCloud)
func (*NullableResourceEnumCloud) UnmarshalJSON ¶
func (v *NullableResourceEnumCloud) UnmarshalJSON(src []byte) error
func (*NullableResourceEnumCloud) Unset ¶
func (v *NullableResourceEnumCloud) Unset()
type NullableResourceEnumOSS ¶
type NullableResourceEnumOSS struct {
// contains filtered or unexported fields
}
func NewNullableResourceEnumOSS ¶
func NewNullableResourceEnumOSS(val *ResourceEnumOSS) *NullableResourceEnumOSS
func (NullableResourceEnumOSS) Get ¶
func (v NullableResourceEnumOSS) Get() *ResourceEnumOSS
func (NullableResourceEnumOSS) IsSet ¶
func (v NullableResourceEnumOSS) IsSet() bool
func (NullableResourceEnumOSS) MarshalJSON ¶
func (v NullableResourceEnumOSS) MarshalJSON() ([]byte, error)
func (*NullableResourceEnumOSS) Set ¶
func (v *NullableResourceEnumOSS) Set(val *ResourceEnumOSS)
func (*NullableResourceEnumOSS) UnmarshalJSON ¶
func (v *NullableResourceEnumOSS) UnmarshalJSON(src []byte) error
func (*NullableResourceEnumOSS) Unset ¶
func (v *NullableResourceEnumOSS) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type ResourceEnumCloud ¶
type ResourceEnumCloud string
ResourceEnumCloud The type of resource. In a `permission`, applies the permission to all resources of this type.
const ( RESOURCEENUMCLOUD_AUTHORIZATIONS ResourceEnumCloud = "authorizations" RESOURCEENUMCLOUD_BUCKETS ResourceEnumCloud = "buckets" RESOURCEENUMCLOUD_DASHBOARDS ResourceEnumCloud = "dashboards" RESOURCEENUMCLOUD_ORGS ResourceEnumCloud = "orgs" RESOURCEENUMCLOUD_TASKS ResourceEnumCloud = "tasks" RESOURCEENUMCLOUD_TELEGRAFS ResourceEnumCloud = "telegrafs" RESOURCEENUMCLOUD_USERS ResourceEnumCloud = "users" RESOURCEENUMCLOUD_VARIABLES ResourceEnumCloud = "variables" RESOURCEENUMCLOUD_SECRETS ResourceEnumCloud = "secrets" RESOURCEENUMCLOUD_LABELS ResourceEnumCloud = "labels" RESOURCEENUMCLOUD_VIEWS ResourceEnumCloud = "views" RESOURCEENUMCLOUD_DOCUMENTS ResourceEnumCloud = "documents" RESOURCEENUMCLOUD_NOTIFICATION_RULES ResourceEnumCloud = "notificationRules" RESOURCEENUMCLOUD_NOTIFICATION_ENDPOINTS ResourceEnumCloud = "notificationEndpoints" RESOURCEENUMCLOUD_CHECKS ResourceEnumCloud = "checks" RESOURCEENUMCLOUD_DBRP ResourceEnumCloud = "dbrp" RESOURCEENUMCLOUD_ANNOTATIONS ResourceEnumCloud = "annotations" RESOURCEENUMCLOUD_FLOWS ResourceEnumCloud = "flows" RESOURCEENUMCLOUD_FUNCTIONS ResourceEnumCloud = "functions" RESOURCEENUMCLOUD_SUBSCRIPTIONS ResourceEnumCloud = "subscriptions" )
List of ResourceEnumCloud
func ResourceEnumCloudValues ¶
func ResourceEnumCloudValues() []ResourceEnumCloud
func (ResourceEnumCloud) Ptr ¶
func (v ResourceEnumCloud) Ptr() *ResourceEnumCloud
Ptr returns reference to ResourceEnumCloud value
func (*ResourceEnumCloud) UnmarshalJSON ¶
func (v *ResourceEnumCloud) UnmarshalJSON(src []byte) error
type ResourceEnumOSS ¶
type ResourceEnumOSS string
ResourceEnumOSS The type of resource. In a `permission`, applies the permission to all resources of this type.
const ( RESOURCEENUMOSS_AUTHORIZATIONS ResourceEnumOSS = "authorizations" RESOURCEENUMOSS_BUCKETS ResourceEnumOSS = "buckets" RESOURCEENUMOSS_DASHBOARDS ResourceEnumOSS = "dashboards" RESOURCEENUMOSS_ORGS ResourceEnumOSS = "orgs" RESOURCEENUMOSS_TASKS ResourceEnumOSS = "tasks" RESOURCEENUMOSS_TELEGRAFS ResourceEnumOSS = "telegrafs" RESOURCEENUMOSS_USERS ResourceEnumOSS = "users" RESOURCEENUMOSS_VARIABLES ResourceEnumOSS = "variables" RESOURCEENUMOSS_SECRETS ResourceEnumOSS = "secrets" RESOURCEENUMOSS_LABELS ResourceEnumOSS = "labels" RESOURCEENUMOSS_VIEWS ResourceEnumOSS = "views" RESOURCEENUMOSS_DOCUMENTS ResourceEnumOSS = "documents" RESOURCEENUMOSS_NOTIFICATION_RULES ResourceEnumOSS = "notificationRules" RESOURCEENUMOSS_NOTIFICATION_ENDPOINTS ResourceEnumOSS = "notificationEndpoints" RESOURCEENUMOSS_CHECKS ResourceEnumOSS = "checks" RESOURCEENUMOSS_DBRP ResourceEnumOSS = "dbrp" RESOURCEENUMOSS_ANNOTATIONS ResourceEnumOSS = "annotations" RESOURCEENUMOSS_SOURCES ResourceEnumOSS = "sources" RESOURCEENUMOSS_SCRAPERS ResourceEnumOSS = "scrapers" RESOURCEENUMOSS_NOTEBOOKS ResourceEnumOSS = "notebooks" RESOURCEENUMOSS_REMOTES ResourceEnumOSS = "remotes" RESOURCEENUMOSS_REPLICATIONS ResourceEnumOSS = "replications" RESOURCEENUMOSS_INSTANCE ResourceEnumOSS = "instance" )
List of ResourceEnumOSS
func ResourceEnumOSSValues ¶
func ResourceEnumOSSValues() []ResourceEnumOSS
func (ResourceEnumOSS) Ptr ¶
func (v ResourceEnumOSS) Ptr() *ResourceEnumOSS
Ptr returns reference to ResourceEnumOSS value
func (*ResourceEnumOSS) UnmarshalJSON ¶
func (v *ResourceEnumOSS) UnmarshalJSON(src []byte) error
Click to show internal directories.
Click to hide internal directories.