Skip navigation links
A C D F G H I K M P Q R T U V Y 

A

APIConsumer - Interface in com.github.agogs.holidayapi.api
This interface defines methods to consume the Holidays API

C

code() - Method in enum com.github.agogs.holidayapi.model.QueryParams.Country
 
com.github.agogs.holidayapi.api - package com.github.agogs.holidayapi.api
 
com.github.agogs.holidayapi.api.impl - package com.github.agogs.holidayapi.api.impl
 
com.github.agogs.holidayapi.model - package com.github.agogs.holidayapi.model
 
country(QueryParams.Country) - Method in class com.github.agogs.holidayapi.model.QueryParams
 

D

day(int) - Method in class com.github.agogs.holidayapi.model.QueryParams
 

F

format(QueryParams.Format) - Method in class com.github.agogs.holidayapi.model.QueryParams
 
format() - Method in enum com.github.agogs.holidayapi.model.QueryParams.Format
 

G

getHolidays(QueryParams) - Method in interface com.github.agogs.holidayapi.api.APIConsumer
Call the holidays api and send back the response encapsulatd in a HolidayAPIResponse object
getHolidays(QueryParams) - Method in class com.github.agogs.holidayapi.api.impl.HolidayAPIConsumer
Call the holidays api and send back the response encapsulatd in a HolidayAPIResponse object.
getHolidaysAsString(QueryParams) - Method in interface com.github.agogs.holidayapi.api.APIConsumer
Call the holidays api and send back the response as a json string
getHolidaysAsString(QueryParams) - Method in class com.github.agogs.holidayapi.api.impl.HolidayAPIConsumer
Call the holidays api and send back the response as a json string

H

Holiday - Class in com.github.agogs.holidayapi.model
 
Holiday() - Constructor for class com.github.agogs.holidayapi.model.Holiday
 
HolidayAPIConsumer - Class in com.github.agogs.holidayapi.api.impl
This class implements the methods defines in the interface APIConsumer.
HolidayAPIConsumer(String) - Constructor for class com.github.agogs.holidayapi.api.impl.HolidayAPIConsumer
Parameterized constructor
HolidayAPIResponse - Class in com.github.agogs.holidayapi.model
This class represents the complete JSON response of the API /v1/holidays
HolidayAPIResponse() - Constructor for class com.github.agogs.holidayapi.model.HolidayAPIResponse
 

I

isPublic(boolean) - Method in class com.github.agogs.holidayapi.model.QueryParams
 

K

key(String) - Method in class com.github.agogs.holidayapi.model.QueryParams
 

M

month(int) - Method in class com.github.agogs.holidayapi.model.QueryParams
 

P

pretty(boolean) - Method in class com.github.agogs.holidayapi.model.QueryParams
 
previous(boolean) - Method in class com.github.agogs.holidayapi.model.QueryParams
 

Q

QueryParams - Class in com.github.agogs.holidayapi.model
This class is used to encapsulate the query parameters for the API call.
QueryParams() - Constructor for class com.github.agogs.holidayapi.model.QueryParams
 
QueryParams.APIParameter - Enum in com.github.agogs.holidayapi.model
Enumeration of allowed query parameters
QueryParams.Country - Enum in com.github.agogs.holidayapi.model
Enumeration of allowed country codes for the parameter QueryParams.APIParameter.COUNTRY
QueryParams.Format - Enum in com.github.agogs.holidayapi.model
Enumeration for allowed values for the query parameter QueryParams.APIParameter.FORMAT
queryString() - Method in class com.github.agogs.holidayapi.model.QueryParams
Return the query string

R

RemainingRequests - Class in com.github.agogs.holidayapi.model
Model class representing the remaining requests for all Holiday API subscription plans (10k requests per month for the free plan and 1M for the paid plans).
RemainingRequests() - Constructor for class com.github.agogs.holidayapi.model.RemainingRequests
 

T

toString() - Method in class com.github.agogs.holidayapi.model.HolidayAPIResponse
 
toString() - Method in enum com.github.agogs.holidayapi.model.QueryParams.APIParameter
 
toString() - Method in class com.github.agogs.holidayapi.model.QueryParams
 
toString() - Method in class com.github.agogs.holidayapi.model.RemainingRequests
 

U

upcoming(boolean) - Method in class com.github.agogs.holidayapi.model.QueryParams
 

V

valueOf(String) - Static method in enum com.github.agogs.holidayapi.model.QueryParams.APIParameter
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.agogs.holidayapi.model.QueryParams.Country
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.agogs.holidayapi.model.QueryParams.Format
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.agogs.holidayapi.model.QueryParams.APIParameter
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.agogs.holidayapi.model.QueryParams.Country
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.agogs.holidayapi.model.QueryParams.Format
Returns an array containing the constants of this enum type, in the order they are declared.

Y

year(int) - Method in class com.github.agogs.holidayapi.model.QueryParams
 
A C D F G H I K M P Q R T U V Y 
Skip navigation links

Copyright © 2020. All rights reserved.