Skip to content

Commit 334254a

Browse files
committed
fix(Case Management): re-gen service with latest API
1 parent 87ba566 commit 334254a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ibm_platform_services/case_management_v1.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
# IBM OpenAPI SDK Code Generator Version: 99-SNAPSHOT-8d569e8f-20201030-111043
17+
# IBM OpenAPI SDK Code Generator Version: 99-SNAPSHOT-629bbb97-20201207-171303
1818

1919
"""
2020
Case management API for creating cases, getting case statuses, adding comments to a case,
@@ -775,7 +775,7 @@ class Attachment():
775775
:attr str id: (optional) Unique identifier of the attachment in database.
776776
:attr str filename: (optional) Name of the attachment.
777777
:attr int size_in_bytes: (optional) Size of the attachment in bytes.
778-
:attr str created_at: (optional) Date time of uploading.
778+
:attr str created_at: (optional) Date time of uploading in UTC.
779779
:attr str url: (optional) URL of the attachment used to download.
780780
"""
781781

@@ -792,7 +792,7 @@ def __init__(self,
792792
:param str id: (optional) Unique identifier of the attachment in database.
793793
:param str filename: (optional) Name of the attachment.
794794
:param int size_in_bytes: (optional) Size of the attachment in bytes.
795-
:param str created_at: (optional) Date time of uploading.
795+
:param str created_at: (optional) Date time of uploading in UTC.
796796
:param str url: (optional) URL of the attachment used to download.
797797
"""
798798
self.id = id
@@ -1389,7 +1389,7 @@ class Comment():
13891389
A comment in a case.
13901390
13911391
:attr str value: (optional) The comment.
1392-
:attr str added_at: (optional) Timestamp of when comment is added.
1392+
:attr str added_at: (optional) Date time when comment was added in UTC.
13931393
:attr User added_by: (optional) User info in a case.
13941394
"""
13951395

@@ -1402,7 +1402,7 @@ def __init__(self,
14021402
Initialize a Comment object.
14031403
14041404
:param str value: (optional) The comment.
1405-
:param str added_at: (optional) Timestamp of when comment is added.
1405+
:param str added_at: (optional) Date time when comment was added in UTC.
14061406
:param User added_by: (optional) User info in a case.
14071407
"""
14081408
self.value = value

test/unit/test_case_management_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@ def test_attachment_list_serialization(self):
11181118
attachment_model['id'] = 'string'
11191119
attachment_model['filename'] = 'string'
11201120
attachment_model['size_in_bytes'] = 0
1121-
attachment_model['created_at'] = 'string'
1121+
attachment_model['created_at'] = '2019-07-31 07:26:36'
11221122
attachment_model['url'] = 'string'
11231123

11241124
# Construct a json representation of a AttachmentList model

0 commit comments

Comments
 (0)