Class: UU::OS::UseCase::UseCaseCreate

Inherits:
REST::DTO
  • Object
show all
Defined in:
uu_os_client-0.10.6/lib/uu/os/use_case/use_case_create.rb

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from REST::DTO

#initialize, #to_hash, #to_json

Constructor Details

This class inherits a constructor from UU::OS::REST::DTO

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class UU::OS::REST::DTO

Instance Attribute Details

- (Object) code

The code of the use case. The code must be unique in the given meta artifact, otherwise the create command fails.



14
15
16
# File 'uu_os_client-0.10.6/lib/uu/os/use_case/use_case_create.rb', line 14

def code
  @code
end

- (Object) description

The description of the use case. When null is set, the description will be empty.



17
18
19
# File 'uu_os_client-0.10.6/lib/uu/os/use_case/use_case_create.rb', line 17

def description
  @description
end

- (Object) name

The name of the use case. Cannot be null.



10
11
12
# File 'uu_os_client-0.10.6/lib/uu/os/use_case/use_case_create.rb', line 10

def name
  @name
end

- (Object) options

Options data for use case calling. Accepted format is JSON.



23
24
25
# File 'uu_os_client-0.10.6/lib/uu/os/use_case/use_case_create.rb', line 23

def options
  @options
end

- (Object) use_case_realization_uri

The UESURI of a use case realization. Cannot be null.



20
21
22
# File 'uu_os_client-0.10.6/lib/uu/os/use_case/use_case_create.rb', line 20

def use_case_realization_uri
  @use_case_realization_uri
end