Class: PortfolioManager::Xml::TimeframeType
- Inherits:
-
Object
- Object
- PortfolioManager::Xml::TimeframeType
show all
- Defined in:
- lib/portfolio_manager/xml.rb
Overview
Defined Under Namespace
Classes: BaselinePeriod, CompareBaselinePeriod, CompareCurrentPeriod, CurrentPeriod, CurrentVsBaseline, DateRange, SinglePeriod, TwoPeriods
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize(currentPeriod = nil, baselinePeriod = nil, currentVsBaseline = nil, singlePeriod = nil, compareCurrentPeriod = nil, compareBaselinePeriod = nil, twoPeriods = nil, dateRange = nil) ⇒ TimeframeType
Returns a new instance of TimeframeType.
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
|
# File 'lib/portfolio_manager/xml.rb', line 7982
def initialize(currentPeriod = nil, baselinePeriod = nil, currentVsBaseline = nil, singlePeriod = nil, compareCurrentPeriod = nil, compareBaselinePeriod = nil, twoPeriods = nil, dateRange = nil)
@currentPeriod = currentPeriod
@baselinePeriod = baselinePeriod
@currentVsBaseline = currentVsBaseline
@singlePeriod = singlePeriod
@compareCurrentPeriod = compareCurrentPeriod
@compareBaselinePeriod = compareBaselinePeriod
@twoPeriods = twoPeriods
@dateRange = dateRange
end
|
Instance Attribute Details
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
|
# File 'lib/portfolio_manager/xml.rb', line 7855
class TimeframeType
class CurrentPeriod
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class BaselinePeriod
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class CurrentVsBaseline
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class SinglePeriod
attr_accessor :periodEndingDate
def initialize(periodEndingDate = nil)
@periodEndingDate = periodEndingDate
end
end
class CompareCurrentPeriod
attr_accessor :meterType
attr_accessor :periodEndingDate
def initialize(meterType = nil, periodEndingDate = nil)
@meterType = meterType
@periodEndingDate = periodEndingDate
end
end
class CompareBaselinePeriod
attr_accessor :meterType
attr_accessor :periodEndingDate
def initialize(meterType = nil, periodEndingDate = nil)
@meterType = meterType
@periodEndingDate = periodEndingDate
end
end
class TwoPeriods
attr_accessor :periodEndingDateOne
attr_accessor :periodEndingDateTwo
def initialize(periodEndingDateOne = nil, periodEndingDateTwo = nil)
@periodEndingDateOne = periodEndingDateOne
@periodEndingDateTwo = periodEndingDateTwo
end
end
class DateRange
attr_accessor :fromPeriodEndingDate
attr_accessor :toPeriodEndingDate
attr_accessor :interval
def initialize(fromPeriodEndingDate = nil, toPeriodEndingDate = nil, interval = nil)
@fromPeriodEndingDate = fromPeriodEndingDate
@toPeriodEndingDate = toPeriodEndingDate
@interval = interval
end
end
attr_accessor :currentPeriod
attr_accessor :baselinePeriod
attr_accessor :currentVsBaseline
attr_accessor :singlePeriod
attr_accessor :compareCurrentPeriod
attr_accessor :compareBaselinePeriod
attr_accessor :twoPeriods
attr_accessor :dateRange
def initialize(currentPeriod = nil, baselinePeriod = nil, currentVsBaseline = nil, singlePeriod = nil, compareCurrentPeriod = nil, compareBaselinePeriod = nil, twoPeriods = nil, dateRange = nil)
@currentPeriod = currentPeriod
@baselinePeriod = baselinePeriod
@currentVsBaseline = currentVsBaseline
@singlePeriod = singlePeriod
@compareCurrentPeriod = compareCurrentPeriod
@compareBaselinePeriod = compareBaselinePeriod
@twoPeriods = twoPeriods
@dateRange = dateRange
end
end
|
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
|
# File 'lib/portfolio_manager/xml.rb', line 7855
class TimeframeType
class CurrentPeriod
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class BaselinePeriod
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class CurrentVsBaseline
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class SinglePeriod
attr_accessor :periodEndingDate
def initialize(periodEndingDate = nil)
@periodEndingDate = periodEndingDate
end
end
class CompareCurrentPeriod
attr_accessor :meterType
attr_accessor :periodEndingDate
def initialize(meterType = nil, periodEndingDate = nil)
@meterType = meterType
@periodEndingDate = periodEndingDate
end
end
class CompareBaselinePeriod
attr_accessor :meterType
attr_accessor :periodEndingDate
def initialize(meterType = nil, periodEndingDate = nil)
@meterType = meterType
@periodEndingDate = periodEndingDate
end
end
class TwoPeriods
attr_accessor :periodEndingDateOne
attr_accessor :periodEndingDateTwo
def initialize(periodEndingDateOne = nil, periodEndingDateTwo = nil)
@periodEndingDateOne = periodEndingDateOne
@periodEndingDateTwo = periodEndingDateTwo
end
end
class DateRange
attr_accessor :fromPeriodEndingDate
attr_accessor :toPeriodEndingDate
attr_accessor :interval
def initialize(fromPeriodEndingDate = nil, toPeriodEndingDate = nil, interval = nil)
@fromPeriodEndingDate = fromPeriodEndingDate
@toPeriodEndingDate = toPeriodEndingDate
@interval = interval
end
end
attr_accessor :currentPeriod
attr_accessor :baselinePeriod
attr_accessor :currentVsBaseline
attr_accessor :singlePeriod
attr_accessor :compareCurrentPeriod
attr_accessor :compareBaselinePeriod
attr_accessor :twoPeriods
attr_accessor :dateRange
def initialize(currentPeriod = nil, baselinePeriod = nil, currentVsBaseline = nil, singlePeriod = nil, compareCurrentPeriod = nil, compareBaselinePeriod = nil, twoPeriods = nil, dateRange = nil)
@currentPeriod = currentPeriod
@baselinePeriod = baselinePeriod
@currentVsBaseline = currentVsBaseline
@singlePeriod = singlePeriod
@compareCurrentPeriod = compareCurrentPeriod
@compareBaselinePeriod = compareBaselinePeriod
@twoPeriods = twoPeriods
@dateRange = dateRange
end
end
|
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
|
# File 'lib/portfolio_manager/xml.rb', line 7855
class TimeframeType
class CurrentPeriod
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class BaselinePeriod
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class CurrentVsBaseline
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class SinglePeriod
attr_accessor :periodEndingDate
def initialize(periodEndingDate = nil)
@periodEndingDate = periodEndingDate
end
end
class CompareCurrentPeriod
attr_accessor :meterType
attr_accessor :periodEndingDate
def initialize(meterType = nil, periodEndingDate = nil)
@meterType = meterType
@periodEndingDate = periodEndingDate
end
end
class CompareBaselinePeriod
attr_accessor :meterType
attr_accessor :periodEndingDate
def initialize(meterType = nil, periodEndingDate = nil)
@meterType = meterType
@periodEndingDate = periodEndingDate
end
end
class TwoPeriods
attr_accessor :periodEndingDateOne
attr_accessor :periodEndingDateTwo
def initialize(periodEndingDateOne = nil, periodEndingDateTwo = nil)
@periodEndingDateOne = periodEndingDateOne
@periodEndingDateTwo = periodEndingDateTwo
end
end
class DateRange
attr_accessor :fromPeriodEndingDate
attr_accessor :toPeriodEndingDate
attr_accessor :interval
def initialize(fromPeriodEndingDate = nil, toPeriodEndingDate = nil, interval = nil)
@fromPeriodEndingDate = fromPeriodEndingDate
@toPeriodEndingDate = toPeriodEndingDate
@interval = interval
end
end
attr_accessor :currentPeriod
attr_accessor :baselinePeriod
attr_accessor :currentVsBaseline
attr_accessor :singlePeriod
attr_accessor :compareCurrentPeriod
attr_accessor :compareBaselinePeriod
attr_accessor :twoPeriods
attr_accessor :dateRange
def initialize(currentPeriod = nil, baselinePeriod = nil, currentVsBaseline = nil, singlePeriod = nil, compareCurrentPeriod = nil, compareBaselinePeriod = nil, twoPeriods = nil, dateRange = nil)
@currentPeriod = currentPeriod
@baselinePeriod = baselinePeriod
@currentVsBaseline = currentVsBaseline
@singlePeriod = singlePeriod
@compareCurrentPeriod = compareCurrentPeriod
@compareBaselinePeriod = compareBaselinePeriod
@twoPeriods = twoPeriods
@dateRange = dateRange
end
end
|
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
|
# File 'lib/portfolio_manager/xml.rb', line 7855
class TimeframeType
class CurrentPeriod
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class BaselinePeriod
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class CurrentVsBaseline
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class SinglePeriod
attr_accessor :periodEndingDate
def initialize(periodEndingDate = nil)
@periodEndingDate = periodEndingDate
end
end
class CompareCurrentPeriod
attr_accessor :meterType
attr_accessor :periodEndingDate
def initialize(meterType = nil, periodEndingDate = nil)
@meterType = meterType
@periodEndingDate = periodEndingDate
end
end
class CompareBaselinePeriod
attr_accessor :meterType
attr_accessor :periodEndingDate
def initialize(meterType = nil, periodEndingDate = nil)
@meterType = meterType
@periodEndingDate = periodEndingDate
end
end
class TwoPeriods
attr_accessor :periodEndingDateOne
attr_accessor :periodEndingDateTwo
def initialize(periodEndingDateOne = nil, periodEndingDateTwo = nil)
@periodEndingDateOne = periodEndingDateOne
@periodEndingDateTwo = periodEndingDateTwo
end
end
class DateRange
attr_accessor :fromPeriodEndingDate
attr_accessor :toPeriodEndingDate
attr_accessor :interval
def initialize(fromPeriodEndingDate = nil, toPeriodEndingDate = nil, interval = nil)
@fromPeriodEndingDate = fromPeriodEndingDate
@toPeriodEndingDate = toPeriodEndingDate
@interval = interval
end
end
attr_accessor :currentPeriod
attr_accessor :baselinePeriod
attr_accessor :currentVsBaseline
attr_accessor :singlePeriod
attr_accessor :compareCurrentPeriod
attr_accessor :compareBaselinePeriod
attr_accessor :twoPeriods
attr_accessor :dateRange
def initialize(currentPeriod = nil, baselinePeriod = nil, currentVsBaseline = nil, singlePeriod = nil, compareCurrentPeriod = nil, compareBaselinePeriod = nil, twoPeriods = nil, dateRange = nil)
@currentPeriod = currentPeriod
@baselinePeriod = baselinePeriod
@currentVsBaseline = currentVsBaseline
@singlePeriod = singlePeriod
@compareCurrentPeriod = compareCurrentPeriod
@compareBaselinePeriod = compareBaselinePeriod
@twoPeriods = twoPeriods
@dateRange = dateRange
end
end
|
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
|
# File 'lib/portfolio_manager/xml.rb', line 7855
class TimeframeType
class CurrentPeriod
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class BaselinePeriod
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class CurrentVsBaseline
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class SinglePeriod
attr_accessor :periodEndingDate
def initialize(periodEndingDate = nil)
@periodEndingDate = periodEndingDate
end
end
class CompareCurrentPeriod
attr_accessor :meterType
attr_accessor :periodEndingDate
def initialize(meterType = nil, periodEndingDate = nil)
@meterType = meterType
@periodEndingDate = periodEndingDate
end
end
class CompareBaselinePeriod
attr_accessor :meterType
attr_accessor :periodEndingDate
def initialize(meterType = nil, periodEndingDate = nil)
@meterType = meterType
@periodEndingDate = periodEndingDate
end
end
class TwoPeriods
attr_accessor :periodEndingDateOne
attr_accessor :periodEndingDateTwo
def initialize(periodEndingDateOne = nil, periodEndingDateTwo = nil)
@periodEndingDateOne = periodEndingDateOne
@periodEndingDateTwo = periodEndingDateTwo
end
end
class DateRange
attr_accessor :fromPeriodEndingDate
attr_accessor :toPeriodEndingDate
attr_accessor :interval
def initialize(fromPeriodEndingDate = nil, toPeriodEndingDate = nil, interval = nil)
@fromPeriodEndingDate = fromPeriodEndingDate
@toPeriodEndingDate = toPeriodEndingDate
@interval = interval
end
end
attr_accessor :currentPeriod
attr_accessor :baselinePeriod
attr_accessor :currentVsBaseline
attr_accessor :singlePeriod
attr_accessor :compareCurrentPeriod
attr_accessor :compareBaselinePeriod
attr_accessor :twoPeriods
attr_accessor :dateRange
def initialize(currentPeriod = nil, baselinePeriod = nil, currentVsBaseline = nil, singlePeriod = nil, compareCurrentPeriod = nil, compareBaselinePeriod = nil, twoPeriods = nil, dateRange = nil)
@currentPeriod = currentPeriod
@baselinePeriod = baselinePeriod
@currentVsBaseline = currentVsBaseline
@singlePeriod = singlePeriod
@compareCurrentPeriod = compareCurrentPeriod
@compareBaselinePeriod = compareBaselinePeriod
@twoPeriods = twoPeriods
@dateRange = dateRange
end
end
|
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
|
# File 'lib/portfolio_manager/xml.rb', line 7855
class TimeframeType
class CurrentPeriod
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class BaselinePeriod
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class CurrentVsBaseline
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class SinglePeriod
attr_accessor :periodEndingDate
def initialize(periodEndingDate = nil)
@periodEndingDate = periodEndingDate
end
end
class CompareCurrentPeriod
attr_accessor :meterType
attr_accessor :periodEndingDate
def initialize(meterType = nil, periodEndingDate = nil)
@meterType = meterType
@periodEndingDate = periodEndingDate
end
end
class CompareBaselinePeriod
attr_accessor :meterType
attr_accessor :periodEndingDate
def initialize(meterType = nil, periodEndingDate = nil)
@meterType = meterType
@periodEndingDate = periodEndingDate
end
end
class TwoPeriods
attr_accessor :periodEndingDateOne
attr_accessor :periodEndingDateTwo
def initialize(periodEndingDateOne = nil, periodEndingDateTwo = nil)
@periodEndingDateOne = periodEndingDateOne
@periodEndingDateTwo = periodEndingDateTwo
end
end
class DateRange
attr_accessor :fromPeriodEndingDate
attr_accessor :toPeriodEndingDate
attr_accessor :interval
def initialize(fromPeriodEndingDate = nil, toPeriodEndingDate = nil, interval = nil)
@fromPeriodEndingDate = fromPeriodEndingDate
@toPeriodEndingDate = toPeriodEndingDate
@interval = interval
end
end
attr_accessor :currentPeriod
attr_accessor :baselinePeriod
attr_accessor :currentVsBaseline
attr_accessor :singlePeriod
attr_accessor :compareCurrentPeriod
attr_accessor :compareBaselinePeriod
attr_accessor :twoPeriods
attr_accessor :dateRange
def initialize(currentPeriod = nil, baselinePeriod = nil, currentVsBaseline = nil, singlePeriod = nil, compareCurrentPeriod = nil, compareBaselinePeriod = nil, twoPeriods = nil, dateRange = nil)
@currentPeriod = currentPeriod
@baselinePeriod = baselinePeriod
@currentVsBaseline = currentVsBaseline
@singlePeriod = singlePeriod
@compareCurrentPeriod = compareCurrentPeriod
@compareBaselinePeriod = compareBaselinePeriod
@twoPeriods = twoPeriods
@dateRange = dateRange
end
end
|
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
|
# File 'lib/portfolio_manager/xml.rb', line 7855
class TimeframeType
class CurrentPeriod
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class BaselinePeriod
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class CurrentVsBaseline
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class SinglePeriod
attr_accessor :periodEndingDate
def initialize(periodEndingDate = nil)
@periodEndingDate = periodEndingDate
end
end
class CompareCurrentPeriod
attr_accessor :meterType
attr_accessor :periodEndingDate
def initialize(meterType = nil, periodEndingDate = nil)
@meterType = meterType
@periodEndingDate = periodEndingDate
end
end
class CompareBaselinePeriod
attr_accessor :meterType
attr_accessor :periodEndingDate
def initialize(meterType = nil, periodEndingDate = nil)
@meterType = meterType
@periodEndingDate = periodEndingDate
end
end
class TwoPeriods
attr_accessor :periodEndingDateOne
attr_accessor :periodEndingDateTwo
def initialize(periodEndingDateOne = nil, periodEndingDateTwo = nil)
@periodEndingDateOne = periodEndingDateOne
@periodEndingDateTwo = periodEndingDateTwo
end
end
class DateRange
attr_accessor :fromPeriodEndingDate
attr_accessor :toPeriodEndingDate
attr_accessor :interval
def initialize(fromPeriodEndingDate = nil, toPeriodEndingDate = nil, interval = nil)
@fromPeriodEndingDate = fromPeriodEndingDate
@toPeriodEndingDate = toPeriodEndingDate
@interval = interval
end
end
attr_accessor :currentPeriod
attr_accessor :baselinePeriod
attr_accessor :currentVsBaseline
attr_accessor :singlePeriod
attr_accessor :compareCurrentPeriod
attr_accessor :compareBaselinePeriod
attr_accessor :twoPeriods
attr_accessor :dateRange
def initialize(currentPeriod = nil, baselinePeriod = nil, currentVsBaseline = nil, singlePeriod = nil, compareCurrentPeriod = nil, compareBaselinePeriod = nil, twoPeriods = nil, dateRange = nil)
@currentPeriod = currentPeriod
@baselinePeriod = baselinePeriod
@currentVsBaseline = currentVsBaseline
@singlePeriod = singlePeriod
@compareCurrentPeriod = compareCurrentPeriod
@compareBaselinePeriod = compareBaselinePeriod
@twoPeriods = twoPeriods
@dateRange = dateRange
end
end
|
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
|
# File 'lib/portfolio_manager/xml.rb', line 7855
class TimeframeType
class CurrentPeriod
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class BaselinePeriod
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class CurrentVsBaseline
attr_accessor :meterType
def initialize(meterType = nil)
@meterType = meterType
end
end
class SinglePeriod
attr_accessor :periodEndingDate
def initialize(periodEndingDate = nil)
@periodEndingDate = periodEndingDate
end
end
class CompareCurrentPeriod
attr_accessor :meterType
attr_accessor :periodEndingDate
def initialize(meterType = nil, periodEndingDate = nil)
@meterType = meterType
@periodEndingDate = periodEndingDate
end
end
class CompareBaselinePeriod
attr_accessor :meterType
attr_accessor :periodEndingDate
def initialize(meterType = nil, periodEndingDate = nil)
@meterType = meterType
@periodEndingDate = periodEndingDate
end
end
class TwoPeriods
attr_accessor :periodEndingDateOne
attr_accessor :periodEndingDateTwo
def initialize(periodEndingDateOne = nil, periodEndingDateTwo = nil)
@periodEndingDateOne = periodEndingDateOne
@periodEndingDateTwo = periodEndingDateTwo
end
end
class DateRange
attr_accessor :fromPeriodEndingDate
attr_accessor :toPeriodEndingDate
attr_accessor :interval
def initialize(fromPeriodEndingDate = nil, toPeriodEndingDate = nil, interval = nil)
@fromPeriodEndingDate = fromPeriodEndingDate
@toPeriodEndingDate = toPeriodEndingDate
@interval = interval
end
end
attr_accessor :currentPeriod
attr_accessor :baselinePeriod
attr_accessor :currentVsBaseline
attr_accessor :singlePeriod
attr_accessor :compareCurrentPeriod
attr_accessor :compareBaselinePeriod
attr_accessor :twoPeriods
attr_accessor :dateRange
def initialize(currentPeriod = nil, baselinePeriod = nil, currentVsBaseline = nil, singlePeriod = nil, compareCurrentPeriod = nil, compareBaselinePeriod = nil, twoPeriods = nil, dateRange = nil)
@currentPeriod = currentPeriod
@baselinePeriod = baselinePeriod
@currentVsBaseline = currentVsBaseline
@singlePeriod = singlePeriod
@compareCurrentPeriod = compareCurrentPeriod
@compareBaselinePeriod = compareBaselinePeriod
@twoPeriods = twoPeriods
@dateRange = dateRange
end
end
|