FindDevicesByOwnerRequest.fromJson constructor

FindDevicesByOwnerRequest.fromJson(
  1. Map json_
)

Implementation

FindDevicesByOwnerRequest.fromJson(core.Map json_)
    : this(
        customerId: json_.containsKey('customerId')
            ? (json_['customerId'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        googleWorkspaceCustomerId:
            json_.containsKey('googleWorkspaceCustomerId')
                ? (json_['googleWorkspaceCustomerId'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
        limit:
            json_.containsKey('limit') ? json_['limit'] as core.String : null,
        pageToken: json_.containsKey('pageToken')
            ? json_['pageToken'] as core.String
            : null,
        sectionType: json_.containsKey('sectionType')
            ? json_['sectionType'] as core.String
            : null,
      );