SnapshotJobRequest.fromJson constructor

SnapshotJobRequest.fromJson(
  1. Map _json
)

Implementation

SnapshotJobRequest.fromJson(core.Map _json)
    : this(
        description: _json.containsKey('description')
            ? _json['description'] as core.String
            : null,
        location: _json.containsKey('location')
            ? _json['location'] as core.String
            : null,
        snapshotSources: _json.containsKey('snapshotSources')
            ? _json['snapshotSources'] as core.bool
            : null,
        ttl: _json.containsKey('ttl') ? _json['ttl'] as core.String : null,
      );