GoogleCloudApihubV1Attribute class
An attribute in the API Hub.
An attribute is a name value pair which can be attached to different resources in the API hub based on the scope of the attribute. Attributes can either be pre-defined by the API Hub or created by users.
Constructors
-
GoogleCloudApihubV1Attribute.new({List<
GoogleCloudApihubV1AllowedValue> ? allowedValues, int? cardinality, String? createTime, String? dataType, String? definitionType, String? description, String? displayName, bool? mandatory, String? name, String? scope, String? updateTime}) - GoogleCloudApihubV1Attribute.fromJson(Map json_)
Properties
-
allowedValues
↔ List<
GoogleCloudApihubV1AllowedValue> ? -
The list of allowed values when the attribute value is of type enum.
getter/setter pair
- cardinality ↔ int?
-
The maximum number of values that the attribute can have when associated
with an API Hub resource.
getter/setter pair
- createTime ↔ String?
-
The time at which the attribute was created.
getter/setter pair
- dataType ↔ String?
-
The type of the data of the attribute.
getter/setter pair
- definitionType ↔ String?
-
The definition type of the attribute.
getter/setter pair
- description ↔ String?
-
The description of the attribute.
getter/setter pair
- displayName ↔ String?
-
The display name of the attribute.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- mandatory ↔ bool?
-
When mandatory is true, the attribute is mandatory for the resource
specified in the scope.
getter/setter pair
- name ↔ String?
-
Identifier.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope ↔ String?
-
The scope of the attribute.
getter/setter pair
- updateTime ↔ String?
-
The time at which the attribute was last updated.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited