afv-library/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DataWeaveResource.json

152 lines
6.8 KiB
JSON
Raw Normal View History

{
"sections": [
"title",
"description",
"fields",
"usage",
"wsdl_segment",
"field_reference"
],
"title": "DataWeaveResource - Data API",
"description": "Represents the DataWeaveScriptResource class that is generated for all DataWeave scripts. This object is available in API version 58.0 and later.",
"fields_columns": [
"type",
"properties",
"description"
],
"fields": {
"ApiVersion": {
"type": "double",
"properties": "Filter, Sort",
"description": "The API version of this component."
},
"BodyLength": {
"type": "int",
"properties": "Filter, Group, Sort",
"description": "Size of the DataWeave script (in bytes)."
},
"ContentType": {
"type": "picklist",
"properties": "Filter, Group, Restricted picklist, Sort",
"description": "Possible value: dwl: The metadata file for the DataWeave scripts that are deployed to an org."
},
"DeveloperName": {
"type": "string",
"properties": "Filter, Group, Sort",
"description": "The unique name of the object in the API."
},
"IsGlobal": {
"type": "boolean",
"properties": "Defaulted on create, Filter, Group, Sort",
"description": "When set to true, the generatedDataWeaveScriptResource class is global. The default value is false."
},
"IsProtected": {
"type": "boolean",
"properties": "Defaulted on create, Filter, Group, Sort",
"description": "Not used"
},
"Language": {
"type": "picklist",
"properties": "Filter, Group, Restricted picklist, Sort",
"description": "The language of the MasterLabel."
},
"MasterLabel": {
"type": "string",
"properties": "Filter, Group, Sort",
"description": "The name of the resource.",
"required": true
},
"NamespacePrefix": {
"type": "string",
"properties": "Filter, Group, Nillable, Sort",
"description": "The namespace prefix that is associated with this object. Each Developer Edition org that creates a managed package has a unique namespace prefix. Limit: 15 characters. You can refer to a component in a managed package by using the namespacePrefix__componentName notation. The namespace prefix can have one of the following values. In Developer Edition orgs, NamespacePrefix is set to the namespace prefix of the org for all objects that support it, unless an object is in an installed managed package. In that case, the object has the namespace prefix of the installed managed package. This fields value is the namespace prefix of the Developer Edition org of the package developer. In orgs that arent Developer Edition orgs, NamespacePrefix is set only for objects that are part of an installed managed package. All other objects have no namespace prefix."
}
},
"usage": "Although the DataWeaveResource object supports the create and update field properties, a runtime exception occurs if you try to create, update, or delete using the API. Instead, use the Salesforce Extensions for Visual Studio Code.",
"wsdl_segment": "```xml\n<complexType name=\"DataWeaveResource\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\n <element name=\"ApiVersion\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:double\"/>\n <element name=\"BodyLength\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:int\"/>\n <element name=\"ContentType\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"CreatedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"CreatedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"CreatedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"DeveloperName\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"IsDeleted\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <element name=\"IsGlobal\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <element name=\"IsProtected\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <element name=\"Language\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"LastModifiedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"LastModifiedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"LastModifiedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"MasterLabel\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"NamespacePrefix\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"SystemModstamp\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n </sequence>\n </extension>\n </complexContent>\n</complexType>\n<simpleType name=\"ID\">\n <restriction base=\"xsd:string\">\n <length value=\"18\"/>\n <pattern value=\"[a-zA-Z0-9]{18}\"/>\n </restriction>\n</simpleType>\n```",
"field_reference": {
"ApiVersion": {
"field_label": "API Version",
"type": "double",
"precision": "18",
"scale": "1"
},
"BodyLength": {
"field_label": "Body Length",
"type": "int",
"digits": "9"
},
"ContentType": {
"field_label": "Content Type",
"type": "picklist",
"length": "255"
},
"CreatedById": {
"field_label": "Created By ID",
"type": "reference",
"length": "18"
},
"CreatedDate": {
"field_label": "Created Date",
"type": "datetime"
},
"DeveloperName": {
"field_label": "Name",
"type": "string",
"length": "80"
},
"Id": {
"field_label": "DataWeave Resource ID",
"type": "id",
"length": "18"
},
"IsDeleted": {
"field_label": "Deleted",
"type": "boolean"
},
"IsGlobal": {
"field_label": "Is Global",
"type": "boolean"
},
"IsProtected": {
"field_label": "Protected Component",
"type": "boolean"
},
"Language": {
"field_label": "Master Language",
"type": "picklist",
"length": "40"
},
"LastModifiedById": {
"field_label": "Last Modified By ID",
"type": "reference",
"length": "18"
},
"LastModifiedDate": {
"field_label": "Last Modified Date",
"type": "datetime"
},
"MasterLabel": {
"field_label": "Label",
"type": "string",
"length": "80"
},
"NamespacePrefix": {
"field_label": "Namespace Prefix",
"type": "string",
"length": "15"
},
"SystemModstamp": {
"field_label": "System Modstamp",
"type": "datetime"
}
},
"field_reference_columns": [
"field_label",
"type",
"precision",
"scale",
"digits",
"length"
]
}