Skip to content

Commit

Permalink
Updated API at 2023-03-13 (#193)
Browse files Browse the repository at this point in the history
Co-authored-by: Github Actions <[email protected]>
  • Loading branch information
github-actions[bot] and Github Actions authored Mar 13, 2023
1 parent 4d54cad commit c192a78
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 28 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# v0.28.0

- updated to the latest API at 2023-03-13

# v0.28.0

- updated to the latest API at 2023-03-06

# v0.28.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@ class CustomFieldValuePayloadV1RequestBody:
Attributes:
id (Union[Unset, str]): Unique identifier for the custom field value Example: 01FCNDV6P870EA6S7TK1DSYDG0.
value_link (Union[Unset, str]): Link value Example: https://google.com/.
value_numeric (Union[Unset, str]): Numeric value Example: 123.456.
value_link (Union[Unset, str]): If the custom field type is 'link', this will contain the value assigned.
Example: https://google.com/.
value_numeric (Union[Unset, str]): If the custom field type is 'numeric', this will contain the value assigned.
Example: 123.456.
value_option_id (Union[Unset, str]): ID of the custom field option Example: 01FCNDV6P870EA6S7TK1DSYDG0.
value_text (Union[Unset, str]): Text value Example: This is my text field, I hope you like it.
value_text (Union[Unset, str]): If the custom field type is 'text', this will contain the value assigned.
Example: This is my text field, I hope you like it.
value_timestamp (Union[Unset, str]): Deprecated: please use incident timestamp values instead
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@ class CustomFieldValuePayloadV2RequestBody:
Attributes:
id (Union[Unset, str]): Unique identifier for the custom field value Example: 01FCNDV6P870EA6S7TK1DSYDG0.
value_link (Union[Unset, str]): Link value Example: https://google.com/.
value_numeric (Union[Unset, str]): Numeric value Example: 123.456.
value_link (Union[Unset, str]): If the custom field type is 'link', this will contain the value assigned.
Example: https://google.com/.
value_numeric (Union[Unset, str]): If the custom field type is 'numeric', this will contain the value assigned.
Example: 123.456.
value_option_id (Union[Unset, str]): ID of the custom field option Example: 01FCNDV6P870EA6S7TK1DSYDG0.
value_text (Union[Unset, str]): Text value Example: This is my text field, I hope you like it.
value_text (Union[Unset, str]): If the custom field type is 'text', this will contain the value assigned.
Example: This is my text field, I hope you like it.
value_timestamp (Union[Unset, str]): Deprecated: please use incident timestamp values instead
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@ class CustomFieldValueV1ResponseBody:
'value_text': 'This is my text field, I hope you like it'}
Attributes:
value_link (Union[Unset, str]): Link value Example: https://google.com/.
value_numeric (Union[Unset, str]): Numeric value Example: 123.456.
value_link (Union[Unset, str]): If the custom field type is 'link', this will contain the value assigned.
Example: https://google.com/.
value_numeric (Union[Unset, str]): If the custom field type is 'numeric', this will contain the value assigned.
Example: 123.456.
value_option (Union[Unset, CustomFieldOptionV1ResponseBody]): Example: {'custom_field_id':
'01FCNDV6P870EA6S7TK1DSYDG0', 'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'sort_key': 10, 'value': 'Product'}.
value_text (Union[Unset, str]): Text value Example: This is my text field, I hope you like it.
value_text (Union[Unset, str]): If the custom field type is 'text', this will contain the value assigned.
Example: This is my text field, I hope you like it.
"""

value_link: Union[Unset, str] = UNSET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@ class CustomFieldValueV2ResponseBody:
'value_text': 'This is my text field, I hope you like it'}
Attributes:
value_link (Union[Unset, str]): Link value Example: https://google.com/.
value_numeric (Union[Unset, str]): Numeric value Example: 123.456.
value_link (Union[Unset, str]): If the custom field type is 'link', this will contain the value assigned.
Example: https://google.com/.
value_numeric (Union[Unset, str]): If the custom field type is 'numeric', this will contain the value assigned.
Example: 123.456.
value_option (Union[Unset, CustomFieldOptionV2ResponseBody]): Example: {'custom_field_id':
'01FCNDV6P870EA6S7TK1DSYDG0', 'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'sort_key': 10, 'value': 'Product'}.
value_text (Union[Unset, str]): Text value Example: This is my text field, I hope you like it.
value_text (Union[Unset, str]): If the custom field type is 'text', this will contain the value assigned.
Example: This is my text field, I hope you like it.
"""

value_link: Union[Unset, str] = UNSET
Expand Down
3 changes: 2 additions & 1 deletion incident_io_client/models/user_v1_response_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class UserV1ResponseBody:
Attributes:
id (str): Unique identifier of the user Example: 01FCNDV6P870EA6S7TK1DSYDG0.
name (str): Name of the user Example: Lisa Karlin Curtis.
role (UserV1ResponseBodyRole): Role of the user Example: viewer.
role (UserV1ResponseBodyRole): DEPRECATED: Role of the user as of March 9th 2023, this value is no longer
updated. Example: viewer.
email (Union[Unset, str]): Email address of the user. Example: [email protected].
slack_user_id (Union[Unset, str]): Slack ID of the user Example: U02AYNF2XJM.
"""
Expand Down
3 changes: 2 additions & 1 deletion incident_io_client/models/user_v2_response_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class UserV2ResponseBody:
Attributes:
id (str): Unique identifier of the user Example: 01FCNDV6P870EA6S7TK1DSYDG0.
name (str): Name of the user Example: Lisa Karlin Curtis.
role (UserV2ResponseBodyRole): Role of the user Example: viewer.
role (UserV2ResponseBodyRole): DEPRECATED: Role of the user as of March 9th 2023, this value is no longer
updated. Example: viewer.
email (Union[Unset, str]): Email address of the user. Example: [email protected].
slack_user_id (Union[Unset, str]): Slack ID of the user Example: U02AYNF2XJM.
"""
Expand Down
28 changes: 14 additions & 14 deletions incident_io_openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1017,12 +1017,12 @@
"type": "string"
},
"value_link": {
"description": "Link value",
"description": "If the custom field type is 'link', this will contain the value assigned.",
"example": "https://google.com/",
"type": "string"
},
"value_numeric": {
"description": "Numeric value",
"description": "If the custom field type is 'numeric', this will contain the value assigned.",
"example": "123.456",
"type": "string"
},
Expand All @@ -1032,7 +1032,7 @@
"type": "string"
},
"value_text": {
"description": "Text value",
"description": "If the custom field type is 'text', this will contain the value assigned.",
"example": "This is my text field, I hope you like it",
"type": "string"
},
Expand Down Expand Up @@ -1061,12 +1061,12 @@
"type": "string"
},
"value_link": {
"description": "Link value",
"description": "If the custom field type is 'link', this will contain the value assigned.",
"example": "https://google.com/",
"type": "string"
},
"value_numeric": {
"description": "Numeric value",
"description": "If the custom field type is 'numeric', this will contain the value assigned.",
"example": "123.456",
"type": "string"
},
Expand All @@ -1076,7 +1076,7 @@
"type": "string"
},
"value_text": {
"description": "Text value",
"description": "If the custom field type is 'text', this will contain the value assigned.",
"example": "This is my text field, I hope you like it",
"type": "string"
},
Expand All @@ -1103,20 +1103,20 @@
},
"properties": {
"value_link": {
"description": "Link value",
"description": "If the custom field type is 'link', this will contain the value assigned.",
"example": "https://google.com/",
"type": "string"
},
"value_numeric": {
"description": "Numeric value",
"description": "If the custom field type is 'numeric', this will contain the value assigned.",
"example": "123.456",
"type": "string"
},
"value_option": {
"$ref": "#/components/schemas/CustomFieldOptionV1ResponseBody"
},
"value_text": {
"description": "Text value",
"description": "If the custom field type is 'text', this will contain the value assigned.",
"example": "This is my text field, I hope you like it",
"type": "string"
}
Expand All @@ -1138,20 +1138,20 @@
},
"properties": {
"value_link": {
"description": "Link value",
"description": "If the custom field type is 'link', this will contain the value assigned.",
"example": "https://google.com/",
"type": "string"
},
"value_numeric": {
"description": "Numeric value",
"description": "If the custom field type is 'numeric', this will contain the value assigned.",
"example": "123.456",
"type": "string"
},
"value_option": {
"$ref": "#/components/schemas/CustomFieldOptionV2ResponseBody"
},
"value_text": {
"description": "Text value",
"description": "If the custom field type is 'text', this will contain the value assigned.",
"example": "This is my text field, I hope you like it",
"type": "string"
}
Expand Down Expand Up @@ -5581,7 +5581,7 @@
"type": "string"
},
"role": {
"description": "Role of the user",
"description": "DEPRECATED: Role of the user as of March 9th 2023, this value is no longer updated.",
"enum": [
"viewer",
"responder",
Expand Down Expand Up @@ -5630,7 +5630,7 @@
"type": "string"
},
"role": {
"description": "Role of the user",
"description": "DEPRECATED: Role of the user as of March 9th 2023, this value is no longer updated.",
"enum": [
"viewer",
"responder",
Expand Down

0 comments on commit c192a78

Please sign in to comment.