File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ public typealias ResourceType = String
1313/// A ResourceIdentifier uniquely identifies a resource that exists on the server.
1414public struct ResourceIdentifier : Equatable {
1515 /// The resource type.
16- var type : ResourceType
16+ public private ( set ) var type : ResourceType
1717
1818 /// The resource ID.
19- var id : String
19+ public private ( set ) var id : String
2020
2121 /// Constructs a new ResourceIdentifier instance with given `type` and `id`.
2222 init ( type: ResourceType , id: String ) {
@@ -32,7 +32,7 @@ public struct ResourceIdentifier: Equatable {
3232 }
3333
3434 /// Returns a dictionary with "type" and "id" keys containing the type and id.
35- func toDictionary( ) -> NSDictionary {
35+ public func toDictionary( ) -> NSDictionary {
3636 return [ " type " : type, " id " : id]
3737 }
3838}
You can’t perform that action at this time.
0 commit comments