toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (authorizationPolicy != null)
        'authorizationPolicy': authorizationPolicy!,
      if (clientTlsPolicy != null) 'clientTlsPolicy': clientTlsPolicy!,
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (endpointMatcher != null) 'endpointMatcher': endpointMatcher!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (serverTlsPolicy != null) 'serverTlsPolicy': serverTlsPolicy!,
      if (trafficPortSelector != null)
        'trafficPortSelector': trafficPortSelector!,
      if (type != null) 'type': type!,
      if (updateTime != null) 'updateTime': updateTime!,
    };