PublicDelegatedPrefixPublicDelegatedSubPrefix.fromJson constructor

PublicDelegatedPrefixPublicDelegatedSubPrefix.fromJson(
  1. Map json_
)

Implementation

PublicDelegatedPrefixPublicDelegatedSubPrefix.fromJson(core.Map json_)
    : this(
        allocatablePrefixLength: json_.containsKey('allocatablePrefixLength')
            ? json_['allocatablePrefixLength'] as core.int
            : null,
        delegateeProject: json_.containsKey('delegateeProject')
            ? json_['delegateeProject'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        ipCidrRange: json_.containsKey('ipCidrRange')
            ? json_['ipCidrRange'] as core.String
            : null,
        isAddress: json_.containsKey('isAddress')
            ? json_['isAddress'] as core.bool
            : null,
        mode: json_.containsKey('mode') ? json_['mode'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        region: json_.containsKey('region')
            ? json_['region'] as core.String
            : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
      );