GoogleCloudChannelV1Customer.fromJson constructor

GoogleCloudChannelV1Customer.fromJson(
  1. Map json_
)

Implementation

GoogleCloudChannelV1Customer.fromJson(core.Map json_)
  : this(
      alternateEmail: json_['alternateEmail'] as core.String?,
      channelPartnerId: json_['channelPartnerId'] as core.String?,
      cloudIdentityId: json_['cloudIdentityId'] as core.String?,
      cloudIdentityInfo: json_.containsKey('cloudIdentityInfo')
          ? GoogleCloudChannelV1CloudIdentityInfo.fromJson(
              json_['cloudIdentityInfo']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      correlationId: json_['correlationId'] as core.String?,
      createTime: json_['createTime'] as core.String?,
      customerAttestationState:
          json_['customerAttestationState'] as core.String?,
      domain: json_['domain'] as core.String?,
      languageCode: json_['languageCode'] as core.String?,
      name: json_['name'] as core.String?,
      orgDisplayName: json_['orgDisplayName'] as core.String?,
      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_['updateTime'] as core.String?,
    );