Skip to content

Commit

Permalink
Updates for v1.1.258
Browse files Browse the repository at this point in the history
  • Loading branch information
Concourse committed Nov 4, 2024
1 parent 87469f1 commit 8fe096b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
7 changes: 3 additions & 4 deletions lusid.json
Original file line number Diff line number Diff line change
Expand Up @@ -152154,8 +152154,7 @@
},
"ComparisonAttributeValuePair": {
"required": [
"attributeName",
"value"
"attributeName"
],
"type": "object",
"properties": {
Expand All @@ -152165,9 +152164,9 @@
"description": "Comparison rule attribute name."
},
"value": {
"minLength": 1,
"type": "string",
"description": "Computed value for the comparison rule attribute."
"description": "Computed value for the comparison rule attribute.",
"nullable": true
}
},
"additionalProperties": false
Expand Down
2 changes: 1 addition & 1 deletion sdk/docs/ComparisonAttributeValuePair.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**attribute_name** | **str** | Comparison rule attribute name. |
**value** | **str** | Computed value for the comparison rule attribute. |
**value** | **str** | Computed value for the comparison rule attribute. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
9 changes: 2 additions & 7 deletions sdk/lusid/models/comparison_attribute_value_pair.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ class ComparisonAttributeValuePair(object):

required_map = {
'attribute_name': 'required',
'value': 'required'
'value': 'optional'
}

def __init__(self, attribute_name=None, value=None, local_vars_configuration=None): # noqa: E501
"""ComparisonAttributeValuePair - a model defined in OpenAPI"
:param attribute_name: Comparison rule attribute name. (required)
:type attribute_name: str
:param value: Computed value for the comparison rule attribute. (required)
:param value: Computed value for the comparison rule attribute.
:type value: str
""" # noqa: E501
Expand Down Expand Up @@ -121,11 +121,6 @@ def value(self, value):
:param value: The value of this ComparisonAttributeValuePair. # noqa: E501
:type value: str
"""
if self.local_vars_configuration.client_side_validation and value is None: # noqa: E501
raise ValueError("Invalid value for `value`, must not be `None`") # noqa: E501
if (self.local_vars_configuration.client_side_validation and
value is not None and len(value) < 1):
raise ValueError("Invalid value for `value`, length must be greater than or equal to `1`") # noqa: E501

self._value = value

Expand Down

0 comments on commit 8fe096b

Please sign in to comment.