@@ -31516,178 +31516,6 @@ def from_dict(cls, d):
3151631516 return cls(rate_limit=d.get('rate_limit'), )
3151731517
3151831518
31519- class WorkflowAssignment:
31520- '''
31521- WorkflowAssignment links a Resource to a Workflow. The assigned resources are those that a user can request
31522- access to via the workflow.
31523- '''
31524- __slots__ = [
31525- 'resource_id',
31526- 'workflow_id',
31527- ]
31528-
31529- def __init__(
31530- self,
31531- resource_id=None,
31532- workflow_id=None,
31533- ):
31534- self.resource_id = resource_id if resource_id is not None else ''
31535- '''
31536- The resource id.
31537- '''
31538- self.workflow_id = workflow_id if workflow_id is not None else ''
31539- '''
31540- The workflow id.
31541- '''
31542-
31543- def __repr__(self):
31544- return '<sdm.WorkflowAssignment ' + \
31545- 'resource_id: ' + repr(self.resource_id) + ' ' +\
31546- 'workflow_id: ' + repr(self.workflow_id) + ' ' +\
31547- '>'
31548-
31549- def to_dict(self):
31550- return {
31551- 'resource_id': self.resource_id,
31552- 'workflow_id': self.workflow_id,
31553- }
31554-
31555- @classmethod
31556- def from_dict(cls, d):
31557- return cls(
31558- resource_id=d.get('resource_id'),
31559- workflow_id=d.get('workflow_id'),
31560- )
31561-
31562-
31563- class WorkflowAssignmentHistory:
31564- '''
31565- WorkflowAssignmentsHistory provides records of all changes to the state of a WorkflowAssignment.
31566- '''
31567- __slots__ = [
31568- 'activity_id',
31569- 'deleted_at',
31570- 'timestamp',
31571- 'workflow_assignment',
31572- ]
31573-
31574- def __init__(
31575- self,
31576- activity_id=None,
31577- deleted_at=None,
31578- timestamp=None,
31579- workflow_assignment=None,
31580- ):
31581- self.activity_id = activity_id if activity_id is not None else ''
31582- '''
31583- The unique identifier of the Activity that produced this change to the WorkflowAssignment.
31584- May be empty for some system-initiated updates.
31585- '''
31586- self.deleted_at = deleted_at if deleted_at is not None else None
31587- '''
31588- If this WorkflowAssignment was deleted, the time it was deleted.
31589- '''
31590- self.timestamp = timestamp if timestamp is not None else None
31591- '''
31592- The time at which the WorkflowAssignment state was recorded.
31593- '''
31594- self.workflow_assignment = workflow_assignment if workflow_assignment is not None else None
31595- '''
31596- The complete WorkflowAssignment state at this time.
31597- '''
31598-
31599- def __repr__(self):
31600- return '<sdm.WorkflowAssignmentHistory ' + \
31601- 'activity_id: ' + repr(self.activity_id) + ' ' +\
31602- 'deleted_at: ' + repr(self.deleted_at) + ' ' +\
31603- 'timestamp: ' + repr(self.timestamp) + ' ' +\
31604- 'workflow_assignment: ' + repr(self.workflow_assignment) + ' ' +\
31605- '>'
31606-
31607- def to_dict(self):
31608- return {
31609- 'activity_id': self.activity_id,
31610- 'deleted_at': self.deleted_at,
31611- 'timestamp': self.timestamp,
31612- 'workflow_assignment': self.workflow_assignment,
31613- }
31614-
31615- @classmethod
31616- def from_dict(cls, d):
31617- return cls(
31618- activity_id=d.get('activity_id'),
31619- deleted_at=d.get('deleted_at'),
31620- timestamp=d.get('timestamp'),
31621- workflow_assignment=d.get('workflow_assignment'),
31622- )
31623-
31624-
31625- class WorkflowAssignmentsListRequest:
31626- '''
31627- WorkflowAssignmentsListRequest specifies criteria for retrieving a list of
31628- WorkflowAssignment records
31629- '''
31630- __slots__ = [
31631- 'filter',
31632- ]
31633-
31634- def __init__(
31635- self,
31636- filter=None,
31637- ):
31638- self.filter = filter if filter is not None else ''
31639- '''
31640- A human-readable filter query string.
31641- '''
31642-
31643- def __repr__(self):
31644- return '<sdm.WorkflowAssignmentsListRequest ' + \
31645- 'filter: ' + repr(self.filter) + ' ' +\
31646- '>'
31647-
31648- def to_dict(self):
31649- return {
31650- 'filter': self.filter,
31651- }
31652-
31653- @classmethod
31654- def from_dict(cls, d):
31655- return cls(filter=d.get('filter'), )
31656-
31657-
31658- class WorkflowAssignmentsListResponse:
31659- '''
31660- WorkflowAssignmentsListResponse returns a list of WorkflowAssignment records that meet
31661- the criteria of a WorkflowAssignmentsListRequest.
31662- '''
31663- __slots__ = [
31664- 'rate_limit',
31665- ]
31666-
31667- def __init__(
31668- self,
31669- rate_limit=None,
31670- ):
31671- self.rate_limit = rate_limit if rate_limit is not None else None
31672- '''
31673- Rate limit information.
31674- '''
31675-
31676- def __repr__(self):
31677- return '<sdm.WorkflowAssignmentsListResponse ' + \
31678- 'rate_limit: ' + repr(self.rate_limit) + ' ' +\
31679- '>'
31680-
31681- def to_dict(self):
31682- return {
31683- 'rate_limit': self.rate_limit,
31684- }
31685-
31686- @classmethod
31687- def from_dict(cls, d):
31688- return cls(rate_limit=d.get('rate_limit'), )
31689-
31690-
3169131519class WorkflowCreateResponse:
3169231520 '''
3169331521 WorkflowCreateResponse reports how the Workflow was created in the system.
0 commit comments