GoogleCloudApihubV1Spec class
Represents a spec associated with an API version in the API Hub.
Note that specs of various types can be uploaded, however parsing of details is supported for OpenAPI spec currently.
Constructors
-
GoogleCloudApihubV1Spec.new({Map<
String, GoogleCloudApihubV1AttributeValues> ? attributes, GoogleCloudApihubV1SpecContents? contents, String? createTime, GoogleCloudApihubV1SpecDetails? details, String? displayName, GoogleCloudApihubV1Documentation? documentation, GoogleCloudApihubV1LintResponse? lintResponse, String? name, String? parsingMode, List<GoogleCloudApihubV1SourceMetadata> ? sourceMetadata, String? sourceUri, GoogleCloudApihubV1AttributeValues? specType, String? updateTime}) - GoogleCloudApihubV1Spec.fromJson(Map json_)
Properties
-
attributes
↔ Map<
String, GoogleCloudApihubV1AttributeValues> ? -
The list of user defined attributes associated with the spec.
getter/setter pair
- contents ↔ GoogleCloudApihubV1SpecContents?
-
Input only.
getter/setter pair
- createTime ↔ String?
-
The time at which the spec was created.
getter/setter pair
- details ↔ GoogleCloudApihubV1SpecDetails?
-
Details parsed from the spec.
getter/setter pair
- displayName ↔ String?
-
The display name of the spec.
getter/setter pair
- documentation ↔ GoogleCloudApihubV1Documentation?
-
The documentation of the spec.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- lintResponse ↔ GoogleCloudApihubV1LintResponse?
-
The lint response for the spec.
getter/setter pair
- name ↔ String?
-
Identifier.
getter/setter pair
- parsingMode ↔ String?
-
Input only.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sourceMetadata
↔ List<
GoogleCloudApihubV1SourceMetadata> ? -
The list of sources and metadata from the sources of the spec.
getter/setter pair
- sourceUri ↔ String?
-
The URI of the spec source in case file is uploaded from an external
version control system.
getter/setter pair
- specType ↔ GoogleCloudApihubV1AttributeValues?
-
The type of spec.
getter/setter pair
- updateTime ↔ String?
-
The time at which the spec 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