Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Room Park Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav Bogdashkin
Room Park Android
Commits
65538f6a
Commit
65538f6a
authored
Dec 03, 2019
by
Vladislav Bogdashkin
🎣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add getEstate method api declaration
parent
241cf0ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
IRoomParkMobileApi.kt
...ompark/data/repository/api/retrofit/IRoomParkMobileApi.kt
+18
-1
No files found.
app/src/main/java/com/biganto/visual/roompark/data/repository/api/retrofit/IRoomParkMobileApi.kt
View file @
65538f6a
...
@@ -127,6 +127,13 @@ interface IRoomParkMobileApi{
...
@@ -127,6 +127,13 @@ interface IRoomParkMobileApi{
//endregion
//endregion
//region Get Estate
const
val
GET_ESTATE_ID
=
"estates.getEstate"
const
val
ESTATE_BUILDING_NUMBER_PARAM
=
"building "
const
val
ESTATE_FLAT_NUMBER_PARAM
=
"number "
//endregion
}
}
...
@@ -248,6 +255,7 @@ interface IRoomParkMobileApi{
...
@@ -248,6 +255,7 @@ interface IRoomParkMobileApi{
):
Observable
<
Response
<
String
>>
):
Observable
<
Response
<
String
>>
@Deprecated
(
"change to estates.getEstate method as more common"
)
@GET
(
"$API_URL$GET_MULTITOUR_ID$DELIMITER"
)
@GET
(
"$API_URL$GET_MULTITOUR_ID$DELIMITER"
)
fun
getMultiTourId
(
fun
getMultiTourId
(
@Query
(
CLIENT_TYPE_PARAM
)
clientType
:
String
=
DEFAULT_CLIENT_TYPE
,
@Query
(
CLIENT_TYPE_PARAM
)
clientType
:
String
=
DEFAULT_CLIENT_TYPE
,
...
@@ -255,7 +263,16 @@ interface IRoomParkMobileApi{
...
@@ -255,7 +263,16 @@ interface IRoomParkMobileApi{
@Query
(
API_VERSION_PARAM
)
apiVersion
:
String
=
DEFAULT_API_VERSION
,
@Query
(
API_VERSION_PARAM
)
apiVersion
:
String
=
DEFAULT_API_VERSION
,
@Query
(
MULTITOUR_BUILDING_NUMBER_PARAM
)
building
:
Int
,
@Query
(
MULTITOUR_BUILDING_NUMBER_PARAM
)
building
:
Int
,
@Query
(
MULTITOUR_FLAT_NUMBER_PARAM
)
flatNumber
:
Int
@Query
(
MULTITOUR_FLAT_NUMBER_PARAM
)
flatNumber
:
Int
):
Observable
<
Response
<
List
<
PlanRaw
>>>
):
Observable
<
Response
<
Int
>>
@GET
(
"$API_URL$GET_ESTATE_ID$DELIMITER"
)
fun
getEstate
(
@Query
(
CLIENT_TYPE_PARAM
)
clientType
:
String
=
DEFAULT_CLIENT_TYPE
,
@Query
(
CLIENT_VERSION_PARAM
)
clientVersion
:
String
=
DEFAULT_CLIENT_VERSION
,
@Query
(
API_VERSION_PARAM
)
apiVersion
:
String
=
DEFAULT_API_VERSION
,
@Query
(
ESTATE_BUILDING_NUMBER_PARAM
)
building
:
Int
,
@Query
(
ESTATE_FLAT_NUMBER_PARAM
)
flatNumber
:
Int
):
Observable
<
Response
<
EstateRaw
>>
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment