GoogleCloudApihubV1AdditionalSpecContent.fromJson constructor

GoogleCloudApihubV1AdditionalSpecContent.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApihubV1AdditionalSpecContent.fromJson(core.Map json_)
  : this(
      createTime: json_['createTime'] as core.String?,
      labels: (json_['labels'] as core.Map<core.String, core.dynamic>?)?.map(
        (key, value) => core.MapEntry(key, value as core.String),
      ),
      specContentType: json_['specContentType'] as core.String?,
      specContents: json_.containsKey('specContents')
          ? GoogleCloudApihubV1SpecContents.fromJson(
              json_['specContents'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      updateTime: json_['updateTime'] as core.String?,
    );