AuthzPolicyAuthzRuleToRequestOperation.fromJson constructor
AuthzPolicyAuthzRuleToRequestOperation.fromJson(
- Map json_
Implementation
AuthzPolicyAuthzRuleToRequestOperation.fromJson(core.Map json_)
: this(
headerSet:
json_.containsKey('headerSet')
? AuthzPolicyAuthzRuleToRequestOperationHeaderSet.fromJson(
json_['headerSet'] as core.Map<core.String, core.dynamic>,
)
: null,
hosts:
(json_['hosts'] as core.List?)
?.map(
(value) => AuthzPolicyAuthzRuleStringMatch.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
methods:
(json_['methods'] as core.List?)
?.map((value) => value as core.String)
.toList(),
paths:
(json_['paths'] as core.List?)
?.map(
(value) => AuthzPolicyAuthzRuleStringMatch.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
);