Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2022-07-07 12:46:56 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6dfd7358df552c0ba603337feb7709137682f261
6dfd7358
1 parent
b6b52f13
conform basic models to Codable
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
6dfd735
...
...
@@ -152,7 +152,7 @@ public class swiftApi {
}
public
class
CouponSetItemModel
{
public
class
CouponSetItemModel
:
Codable
{
public
let
uuid
:
String
?
public
let
admin_name
:
String
?
public
let
name
:
String
?
...
...
@@ -263,7 +263,7 @@ public class swiftApi {
}
public
class
CouponItemModel
{
public
class
CouponItemModel
:
Codable
{
public
let
couponset_uuid
:
String
?
public
let
name
:
String
?
public
let
image
:
String
?
...
...
@@ -463,7 +463,7 @@ public class swiftApi {
return
CouponsDataModel
()
.
getOldCoupons
}
public
class
CampaignItemModel
{
public
class
CampaignItemModel
:
Codable
{
public
let
index_url
:
String
?
public
var
logo_url
:
String
?
public
let
offer_category
:
String
?
...
...
@@ -623,7 +623,7 @@ public class swiftApi {
}
public
class
LoyaltyContextualOfferModel
{
public
class
LoyaltyContextualOfferModel
:
Codable
{
private
var
sessionId
:
String
private
var
eligibleAssets
:
Array
<
String
>
private
var
id
:
String
...
...
@@ -2415,7 +2415,7 @@ public class swiftApi {
}
public
class
LoyaltyGiftsForYouPackage
{
public
class
LoyaltyGiftsForYouPackage
:
Codable
{
private
var
title
:
String
private
var
imageUrl
:
String
private
var
loyaltyPackageId
:
String
...
...
Please
register
or
login
to post a comment