SetMasterAuthRequest.fromJson constructor

SetMasterAuthRequest.fromJson(
  1. Map json_
)

Implementation

SetMasterAuthRequest.fromJson(core.Map json_)
    : this(
        action: json_.containsKey('action')
            ? json_['action'] as core.String
            : null,
        clusterId: json_.containsKey('clusterId')
            ? json_['clusterId'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        projectId: json_.containsKey('projectId')
            ? json_['projectId'] as core.String
            : null,
        update: json_.containsKey('update')
            ? MasterAuth.fromJson(
                json_['update'] as core.Map<core.String, core.dynamic>)
            : null,
        zone: json_.containsKey('zone') ? json_['zone'] as core.String : null,
      );