---
schema_version: "1"
id: 44a8bf03b172f8daace50591c891698ea5f169a8f27c7f6e2829932afe29c772
title: Input Classes
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/insurance_design_advisor_apex_input_classes.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/insurance_design_advisor_apex_input_classes.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: e7741404e45a01368d6ee490554137f9390444b47f28141e03b3d86d2fcc0f02
description: Some ConnectApi methods take arguments that are instances of ConnectApi input classes.
---
# Input Classes

Some ConnectApi methods take arguments that are instances of ConnectApi input classes.

Input classes are concrete unless marked abstract in this documentation. Concrete input classes have public constructors that have no parameters.

Some methods have parameters that are typed with an abstract class. You must pass in an instance of a concrete child class for these parameters.

Most input class properties can be set. Read-only properties are noted in this documentation.

Insurance Design Advisor includes these Apex input classes.

- **[ConnectApi.InsAttributeInputRepresentation](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_input_ins_attribute.htm)**  
    Input representation of one attribute definition to validate. Provide at least one of attribute ID, attribute code, or developer name.
- **[ConnectApi.InsAttributeValidationInputRepresentation](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_input_ins_attribute_validation.htm)**  
    Input representation of the attribute definitions to validate. Each lookup identifies one attribute definition by ID, code, or developer name.
- **[ConnectApi.InsCMLModelValidationInputRepresentation](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_input_ins_cml_model_validation.htm)**  
    Input representation of the insurance products and related records to validate against the active CML model.
- **[ConnectApi.InsGetRatingInputInputRepresentation](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_input_ins_get_rating_input.htm)**  
    Input representation that specifies the product for which to generate a sample rating input payload.
- **[ConnectApi.InsLookupErrorCodeInputRepresentation](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_input_ins_lookup_error_code.htm)**  
    Input representation that specifies the insurance error code to look up.
- **[ConnectApi.InsPricingSetupValidationInputRepresentation](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_input_ins_pricing_setup_validation.htm)**  
    Input representation of the quote, transaction type, and products to validate for pricing setup configuration.
- **[ConnectApi.InsProductDiscoveryValidationInputRepresentation](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_input_ins_product_discovery_validation.htm)**  
    Input representation of the product to validate for discovery setup. Identify the product by ID, product code, or developer name.
- **[ConnectApi.InsProductModelValidationInputRepresentation](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_input_ins_product_model_validation.htm)**  
    Input representation of the details to validate an insurance product model.
- **[ConnectApi.InsRequestValidationInputRepresentation](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_input_ins_request_validation.htm)**  
    Input representation that specifies the insurance Connect API path and serialized JSON request body to validate against the product model.
- **[ConnectApi.InsValidateUserPermissionsInputRepresentation](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_input_ins_validate_user_permissions.htm)**  
    Input representation that specifies the insurance operation and optional user ID for a permissions check.