GoogleCloudChannelV1Customer.fromJson constructor

GoogleCloudChannelV1Customer.fromJson(
  1. Map json_
)

Implementation

GoogleCloudChannelV1Customer.fromJson(core.Map json_)
    : this(
        alternateEmail: json_.containsKey('alternateEmail')
            ? json_['alternateEmail'] as core.String
            : null,
        channelPartnerId: json_.containsKey('channelPartnerId')
            ? json_['channelPartnerId'] as core.String
            : null,
        cloudIdentityId: json_.containsKey('cloudIdentityId')
            ? json_['cloudIdentityId'] as core.String
            : null,
        cloudIdentityInfo: json_.containsKey('cloudIdentityInfo')
            ? GoogleCloudChannelV1CloudIdentityInfo.fromJson(
                json_['cloudIdentityInfo']
                    as core.Map<core.String, core.dynamic>)
            : null,
        correlationId: json_.containsKey('correlationId')
            ? json_['correlationId'] as core.String
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        domain: json_.containsKey('domain')
            ? json_['domain'] as core.String
            : null,
        languageCode: json_.containsKey('languageCode')
            ? json_['languageCode'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        orgDisplayName: json_.containsKey('orgDisplayName')
            ? json_['orgDisplayName'] as core.String
            : null,
        orgPostalAddress: json_.containsKey('orgPostalAddress')
            ? GoogleTypePostalAddress.fromJson(json_['orgPostalAddress']
                as core.Map<core.String, core.dynamic>)
            : null,
        primaryContactInfo: json_.containsKey('primaryContactInfo')
            ? GoogleCloudChannelV1ContactInfo.fromJson(
                json_['primaryContactInfo']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );